html {
  scroll-behavior: smooth;
}

main section[id] {
  scroll-margin-top: 7rem;
}

body {
  background: #ffffff;
}

.site-shell {
  background-image:
    linear-gradient(rgba(16, 23, 30, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 23, 30, 0.025) 1px, transparent 1px);
  background-size: 120px 120px;
}

.section-band {
  background:
    linear-gradient(180deg, rgba(236, 253, 245, 0.7) 0%, rgba(255, 255, 255, 1) 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(28px);
  opacity: 0.55;
  pointer-events: none;
}

.hero-orb-left {
  top: 4rem;
  left: -6rem;
  width: 20rem;
  height: 20rem;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.22), transparent 70%);
}

.hero-orb-right {
  right: -2rem;
  bottom: 2rem;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(255, 169, 13, 0.16), transparent 70%);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #047857;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 1));
}

.section-title {
  margin-top: 1.2rem;
  max-width: 52rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  font-weight: 600;
  color: #10171e;
}

.section-text {
  margin-top: 1.25rem;
  max-width: 45rem;
  color: #526177;
  font-size: 1rem;
  line-height: 1.9;
}

.info-card,
.hero-card,
.data-card,
.problem-card,
.feature-card,
.metric-card,
.gallery-card,
.placeholder-card,
.genesis-frame,
.slider-button {
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 280ms ease,
    box-shadow 280ms ease,
    background-color 280ms ease;
}

.info-card,
.hero-card,
.problem-card,
.feature-card,
.metric-card,
.gallery-card,
.placeholder-card {
  border: 1px solid #eceef2;
  background: #ffffff;
}

.data-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.data-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(110, 231, 183, 0.35);
}

.info-card:hover,
.problem-card:hover,
.feature-card:hover,
.metric-card:hover,
.gallery-card:hover,
.hero-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 185, 129, 0.32);
  box-shadow: 0 22px 50px rgba(6, 78, 59, 0.12);
}

.feature-icon {
  display: inline-flex;
  height: 3.6rem;
  width: 3.6rem;
  align-items: center;
  justify-content: center;
  border-radius: 1.2rem;
  border: 1px solid rgba(16, 185, 129, 0.18);
  background: linear-gradient(135deg, rgba(236, 253, 245, 1), rgba(167, 243, 208, 0.7));
  color: #047857;
  font-size: 1.2rem;
}

.feature-card-lg {
  position: relative;
  overflow: hidden;
}

.feature-card-lg::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto auto;
  width: 50%;
  height: 0.4rem;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0));
  transition: background 320ms ease;
}

.feature-card-lg:hover::before {
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.5));
}

.metric-card {
  box-shadow: 0 18px 45px rgba(16, 23, 30, 0.05);
}

.metric-value {
  color: #047857;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
}

.metric-label {
  margin-top: 0.7rem;
  color: #526177;
  font-size: 0.85rem;
  line-height: 1.6;
}

.gallery-card {
  overflow: hidden;
  border-radius: 1.75rem;
}

.gallery-card img {
  width: 100%;
  height: 26rem;
  object-fit: cover;
  transition: transform 600ms ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-card figcaption {
  padding: 1.25rem 1.35rem 1.4rem;
  color: #1b2733;
  font-size: 0.95rem;
  line-height: 1.6;
}

.genesis-frame {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(255, 169, 13, 0.12));
  border: 1px solid rgba(16, 185, 129, 0.18);
}

.genesis-frame img {
  height: 28rem;
}

.placeholder-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  height: 11rem;
  border: 1.5px dashed rgba(16, 185, 129, 0.35);
  background:
    repeating-linear-gradient(
      135deg,
      rgba(236, 253, 245, 0.5) 0,
      rgba(236, 253, 245, 0.5) 12px,
      rgba(255, 255, 255, 0.9) 12px,
      rgba(255, 255, 255, 0.9) 24px
    );
  color: #526177;
  text-align: center;
  font-size: 0.9rem;
}

.placeholder-card i {
  font-size: 1.6rem;
  color: #10b981;
}

.placeholder-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.7);
  background: linear-gradient(135deg, #ecfdf5, #ffffff);
}

.slider-button {
  display: inline-flex;
  height: 3rem;
  width: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid #d5d9e2;
  background: #ffffff;
  color: #1b2733;
}

.slider-button:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, 0.45);
  background: #ecfdf5;
  color: #047857;
}

.swiper-pagination-bullet {
  width: 0.7rem;
  height: 0.7rem;
  background: #d5d9e2;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #10b981;
}

.nav-link.is-active {
  color: #047857;
}

/* Comparaison Standards vs Notre solution */
.comparison-card {
  position: relative;
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 280ms ease;
}

.comparison-card:hover {
  transform: translateY(-6px);
}

.comparison-standard {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(16, 23, 30, 0.04);
}

.comparison-standard:hover {
  box-shadow: 0 22px 50px rgba(16, 23, 30, 0.07);
  border-color: #d1d5db;
}

.comparison-frogg {
  border: 1px solid rgba(16, 185, 129, 0.5);
  background:
    radial-gradient(circle at 0% 0%, rgba(16, 185, 129, 0.18), transparent 55%),
    linear-gradient(135deg, #064e3b 0%, #022c22 100%);
  color: #ffffff;
  box-shadow: 0 22px 60px rgba(6, 78, 59, 0.35);
}

.comparison-frogg:hover {
  box-shadow: 0 28px 70px rgba(6, 78, 59, 0.45);
  border-color: rgba(16, 185, 129, 0.85);
}

.comparison-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.comparison-badge-standard {
  background: #f3f4f6;
  color: #6b7280;
  border: 1px solid #e5e7eb;
}

.comparison-badge-frogg {
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
  border: 1px solid rgba(110, 231, 183, 0.4);
}

.comparison-row {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.comparison-icon {
  flex-shrink: 0;
  margin-top: 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 9999px;
  font-size: 0.7rem;
}

.comparison-icon-no {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
}

.comparison-icon-yes {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

/* Différenciateurs clés (numérotés) */
.diff-card {
  position: relative;
  border: 1px solid #eceef2;
  background: #ffffff;
  overflow: hidden;
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 280ms ease,
    box-shadow 280ms ease;
}

.diff-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #10b981, transparent);
  opacity: 0.7;
}

.diff-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 185, 129, 0.32);
  box-shadow: 0 22px 50px rgba(6, 78, 59, 0.12);
}

.diff-number {
  display: inline-block;
  font-size: 2.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, #10b981, #047857);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  letter-spacing: -0.04em;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 768px) {
  .gallery-card img {
    height: 18rem;
  }
  .genesis-frame img {
    height: 20rem;
  }
}
