/* ==========================================================================
   Fadel Cherkaoui — Maths & Physique
   Landing page 2026 · Design system
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Typography */
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Colors — light */
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --heading: #0b1830;
  --text: #44536e;
  --muted: #6b7a93;
  --line: #e4eaf3;
  --line-strong: #d4ddec;

  /* Colors — brand */
  --brand-700: #1b3fc4;
  --brand-600: #ec7e18;
  --brand-500: #ec7e18;
  --brand-100: #dbe4ff;
  --brand-50: #eff3fe;

  /* Colors — accents */
  --gold-500: #f1a81b;
  --green-700: #157f3d;
  --green-600: #1a9a4c;
  --green-500: #25d366;

  /* Colors — dark sections */
  --ink-950: #060b16;
  --ink-900: #0a1322;
  --ink-800: #101e36;
  --dark-heading: #f4f7fe;
  --dark-text: #b9c4da;
  --dark-muted: #8fa0be;
  --dark-line: rgba(255, 255, 255, 0.12);

  /* Radii */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(11, 24, 48, 0.05), 0 4px 14px rgba(11, 24, 48, 0.06);
  --shadow-md: 0 2px 6px rgba(11, 24, 48, 0.05), 0 14px 32px rgba(11, 24, 48, 0.1);
  --shadow-lg: 0 10px 24px rgba(11, 24, 48, 0.08), 0 30px 70px rgba(11, 24, 48, 0.16);
  --shadow-brand: 0 10px 24px rgba(42, 82, 232, 0.28);
  --shadow-green: 0 10px 24px rgba(26, 154, 76, 0.28);

  /* Layout */
  --container: 1180px;
  --header-h: 78px;
  --section-y: clamp(64px, 8vw, 104px);
  --head-gap: clamp(36px, 4.5vw, 56px);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--heading);
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

ul, ol, dl, dd, figure, blockquote {
  margin: 0;
  padding: 0;
}

ul[role="list"], ol[role="list"] {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--brand-600);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

button {
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(42, 82, 232, 0.45);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: var(--brand-100);
  color: var(--heading);
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--heading);
  color: #fff;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}

.skip-link:focus-visible {
  top: 0;
}

/* ---------- 3. Utilities ---------- */
.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

.section {
  padding-block: var(--section-y);
}

.section-alt {
  background: var(--bg-soft);
}

.section-dark {
  background:
    radial-gradient(52rem 30rem at 85% -10%, rgba(68, 104, 255, 0.13), transparent 60%),
    radial-gradient(40rem 26rem at -10% 110%, rgba(241, 168, 27, 0.06), transparent 55%),
    linear-gradient(180deg, var(--ink-900) 0%, var(--ink-950) 100%);
  color: var(--dark-text);
}

.section-head {
  max-width: 660px;
  margin: 0 auto var(--head-gap);
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
}

.section-lede {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 0;
}

.section-dark .section-lede,
.outcomes-copy .section-lede {
  color: var(--dark-muted);
}

.section-dark h2,
.outcomes-copy h2 {
  color: var(--dark-heading);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-600);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  padding: 7px 16px;
  border-radius: var(--r-full);
  margin-bottom: 18px;
}

.eyebrow--light {
  color: #9db4ff;
  background: rgba(68, 104, 255, 0.14);
  border-color: rgba(124, 154, 255, 0.25);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.btn--sm { padding: 10px 22px; font-size: 0.92rem; }
.btn--lg { padding: 15px 32px; font-size: 1.03rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(42, 82, 232, 0.38);
}

.btn--ghost {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--heading);
  box-shadow: var(--shadow-sm);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: var(--brand-500);
  color: var(--brand-600);
}

.btn--light {
  background: #fff;
  color: var(--brand-700);
}

.btn--light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(6, 11, 22, 0.35);
}

.btn--whatsapp {
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  color: #fff;
  box-shadow: var(--shadow-green);
}

.btn--whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(26, 154, 76, 0.38);
}

.icon-wa {
  width: 21px !important;
  height: 21px !important;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Stars */
.stars {
  display: inline-flex;
  gap: 3px;
  color: var(--gold-500);
}

.stars svg {
  width: 17px;
  height: 17px;
}

/* ---------- 4. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-color: var(--line);
  box-shadow: 0 6px 24px rgba(11, 24, 48, 0.06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 8px rgba(42, 82, 232, 0.25));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--heading);
}

.brand-text small {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  margin-inline: auto;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}



.nav-link {
  display: block;
  padding: 9px 12px;
  border-radius: var(--r-full);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--heading);
}

.nav-link:hover {
  color: var(--brand-600);
  background: var(--brand-50);
}

.nav-link.is-active {
  color: var(--brand-600);
  background: var(--brand-50);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}

.header-phone svg {
  width: 17px;
  height: 17px;
  color: var(--brand-600);
}

.header-phone:hover {
  color: var(--brand-600);
}

.header-cta.btn--sm {
  box-shadow: none;
}

.nav-mobile-cta {
  display: none;
}

/* Burger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--heading);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

body.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(40px, 5.5vw, 76px));
  padding-bottom: clamp(48px, 6vw, 80px);
  overflow: hidden;
  background:
    radial-gradient(46rem 30rem at 110% 8%, rgba(68, 104, 255, 0.09), transparent 60%),
    radial-gradient(34rem 24rem at -8% 90%, rgba(241, 168, 27, 0.07), transparent 55%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--brand-600);
  margin-bottom: 22px;
}

.eyebrow-badge svg {
  width: 16px;
  height: 16px;
  color: var(--gold-500);
}

.hero-title {
  font-size: clamp(2.35rem, 4.3vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.hero-title .accent {
  background: linear-gradient(120deg, var(--brand-500), var(--brand-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  max-width: 33em;
  margin-bottom: 24px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-full);
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--heading);
}

.chip svg {
  width: 14px;
  height: 14px;
  color: var(--green-600);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-cta .btn--ghost {
  padding: 13px 26px;
  background: transparent;
  border-color: var(--line-strong);
  box-shadow: none;
}

.hero-cta .btn--ghost:hover {
  background: var(--brand-50);
  border-color: var(--brand-100);
}

.hero-cta .btn--ghost .icon-wa {
  width: 19px;
  height: 19px;
}

.hero-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0;
}

.hero-trust strong {
  color: var(--heading);
}

/* Hero visual */
.hero-visual {
  position: relative;
}

.board {
  position: relative;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(30rem 20rem at 80% 0%, rgba(68, 104, 255, 0.22), transparent 65%),
    linear-gradient(160deg, #131f3d 0%, #0a1322 70%);
  background-size: 34px 34px, 34px 34px, auto, auto;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 24px 24px 12px;
}

.board-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.board-dots {
  display: inline-flex;
  gap: 6px;
}

.board-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.board-dots i:first-child { background: #ff5f57; }
.board-dots i:nth-child(2) { background: #febc2e; }
.board-dots i:last-child { background: #28c840; }

.board-title {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
}

.board-chart {
  width: 100%;
  height: auto;
  font-family: var(--font-display);
}

.formula-chip {
  position: absolute;
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: #eaf0ff;
  box-shadow: 0 6px 16px rgba(6, 11, 22, 0.28);
}

.fc-1 { bottom: 38px; left: 28px; }
.fc-2 { bottom: 38px; right: 28px; }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 17px;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  animation: floaty 6s ease-in-out infinite;
}

.fa-1 { top: -18px; right: -10px; }
.fa-2 { bottom: -18px; left: -10px; animation-delay: -3s; }

.float-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  flex-shrink: 0;
}

.float-icon svg {
  width: 19px;
  height: 19px;
}

.float-icon--gold { background: #fdf3df; color: var(--gold-500); }
.float-icon--blue { background: var(--brand-50); color: var(--brand-600); }

.float-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.float-text strong {
  font-family: var(--font-display);
  font-size: 0.94rem;
  color: var(--heading);
}

.float-text small {
  font-size: 0.78rem;
  color: var(--muted);
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* Stats band */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: clamp(44px, 5.5vw, 68px);
  padding: clamp(24px, 3vw, 34px) 0 0;
  border-top: 1px solid var(--line);
}

.stat {
  display: flex;
  flex-direction: column;
  text-align: center;
  padding-inline: 20px;
}

.stat + .stat {
  border-left: 1px solid var(--line);
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--heading);
  line-height: 1.1;
}

.stat-value em {
  display: block;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 4px;
}

.stat-label {
  order: 2;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

.stat dd { margin: 0; }

/* ---------- 6. Features (Pourquoi nous) ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 36px;
  overflow: visible;
}

.feature-card {
  position: relative;
  padding: 24px 20px 20px;
  border-top: 1px solid var(--line);
  border-radius: var(--r-md);
  transform-origin: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 12px;
  width: 44px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-500), var(--brand-700));
  transition: width 0.3s var(--ease);
}

.feature-card:hover::before {
  width: 76px;
}

@media (hover: hover) and (pointer: fine) {
  .feature-card:hover {
    transform: translateY(-8px) scale(1.018);
    background: var(--bg-soft);
    box-shadow:
      0 0 0 1px rgba(68, 104, 255, 0.14),
      0 10px 28px rgba(11, 24, 48, 0.12);
    z-index: 2;
  }
}

.feature-card h3 {
  font-size: 1.16rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  background: var(--brand-50);
  border-radius: 50%;
  color: var(--brand-600);
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.feature-icon svg {
  width: 21px;
  height: 21px;
}

@media (hover: hover) and (pointer: fine) {
  .feature-card:hover .feature-icon {
    background: var(--brand-100);
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-card,
  .feature-icon {
    transition: none;
  }

  .feature-card:hover,
  .feature-card:hover .feature-icon {
    transform: none;
  }
}

.cta-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 4px;
  background:
    radial-gradient(22rem 14rem at 110% -20%, rgba(68, 104, 255, 0.24), transparent 60%),
    linear-gradient(150deg, var(--ink-800), var(--ink-950));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  box-shadow: none;
}

.cta-card h3 {
  color: var(--dark-heading);
  font-size: 1.16rem;
  margin-bottom: 6px;
}

.cta-card p {
  color: var(--dark-muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

/* ---------- 7. Outcomes (Ce que vous obtenez) ---------- */
#avantages.section-dark {
  padding-block: clamp(56px, 7vw, 88px);
}

.outcomes-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.outcomes-copy {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.outcomes-copy h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
}

.outcomes-copy .btn {
  margin-top: 24px;
}

.outcomes-copy .btn--whatsapp {
  box-shadow: none;
}

.outcomes-copy .btn--whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(26, 154, 76, 0.25);
}

.outcomes-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 48px;
}

.outcome-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.outcome-item--wide {
  grid-column: 1 / -1;
}

.outcome-item h3 {
  color: var(--dark-heading);
  font-size: 1rem;
  margin-bottom: 3px;
}

.outcome-item p {
  font-size: 0.88rem;
  color: var(--dark-muted);
  margin-bottom: 0;
}

.check-dot {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  flex-shrink: 0;
  margin-top: 1px;
  background: rgba(68, 104, 255, 0.16);
  border: 1px solid rgba(124, 154, 255, 0.38);
  border-radius: 50%;
  color: #9db4ff;
}

.check-dot svg {
  width: 12px;
  height: 12px;
}

.about-list .check-dot {
  background: var(--brand-50);
  border-color: var(--brand-100);
  color: var(--brand-600);
}

/* ---------- 8. Method steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
  counter-reset: step;
}

.step-card {
  position: relative;
}

.step-card::after {
  content: "";
  position: absolute;
  top: 23px;
  left: 58px;
  right: -26px;
  height: 1px;
  background: var(--line-strong);
}

.step-card:nth-child(3n)::after {
  display: none;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-600);
  background: #fff;
  border: 1.5px solid var(--brand-100);
  border-radius: 50%;
  margin-bottom: 18px;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.step-card:hover .step-num {
  background: var(--brand-600);
  border-color: transparent;
  color: #fff;
}

.step-card h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.step-card h3 small {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-600);
}

.step-card p {
  font-size: 0.93rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* ---------- 9. Testimonials ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testi-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.testi-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.testi-card .stars {
  margin-bottom: 16px;
}

.testi-quote {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 20px;
  flex-grow: 1;
}

.testi-person {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}

.avatar--blue { background: linear-gradient(135deg, #4468ff, #1b3fc4); }
.avatar--gold { background: linear-gradient(135deg, #f6c355, #e08c0b); }
.avatar--green { background: linear-gradient(135deg, #2bc06a, #15803d); }

.testi-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.testi-meta strong {
  font-family: var(--font-display);
  color: var(--heading);
  font-size: 1rem;
}

.testi-meta small {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--brand-600);
}

/* ---------- 10. About ---------- */
.about-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.portrait-frame {
  position: relative;
  max-width: 380px;
  margin-inline: auto;
}

.portrait {
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

.exp-badge {
  position: absolute;
  right: -18px;
  bottom: 34px;
  display: flex;
  flex-direction: column;
  padding: 16px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  line-height: 1.2;
  animation: floaty 6s ease-in-out infinite;
}

.exp-badge strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.exp-badge small {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.about-content h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
}

.about-content > p {
  max-width: 56ch;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-block: 24px 28px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--heading);
  font-size: 0.98rem;
}

.signature {
  display: flex;
  flex-direction: column;
  padding-left: 20px;
  border-left: 3px solid var(--brand-500);
  line-height: 1.4;
  margin-bottom: 0;
}

.signature strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--heading);
}

.signature small {
  color: var(--muted);
  font-size: 0.88rem;
}

/* ---------- 11. Reservation ---------- */
.reserve-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.reserve-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.info-steps {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.info-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-step-num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.info-step h3 {
  font-size: 1.05rem;
  margin-bottom: 3px;
}

.info-step p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0;
}

.contact-mini {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.contact-mini-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 10px;
}

.contact-mini-text {
  font-size: 0.93rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.wa-reassurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--green-700);
  margin: 14px 0 0;
}

.wa-reassurance svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.contact-mini-divider {
  height: 1px;
  background: var(--line);
  margin: 20px 0 8px;
}

.contact-mini-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 0;
  font-weight: 500;
  color: var(--text);
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.contact-mini-row svg {
  width: 18px;
  height: 18px;
  color: var(--brand-600);
  flex-shrink: 0;
}

.contact-mini-row:hover {
  color: var(--brand-600);
}

.contact-mini .btn {
  margin-top: 16px;
}

/* Form card */
.form-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3.4vw, 44px);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 20px;
  margin-bottom: 28px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.89rem;
  font-weight: 600;
  color: var(--heading);
}

.req { color: #dc2626; }
.opt { color: var(--muted); font-weight: 500; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  font: inherit;
  font-size: 0.96rem;
  color: var(--heading);
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background-color 0.2s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aa8bf;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(68, 104, 255, 0.14);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7a93' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

.field select:invalid {
  color: #9aa8bf;
}

.field.has-error input,
.field.has-error select {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.field-error {
  font-size: 0.82rem;
  font-weight: 500;
  color: #dc2626;
  margin: 0;
}

.form-note {
  font-size: 0.83rem;
  color: var(--muted);
  text-align: center;
  margin: 16px 0 0;
}

.form-submit {
  margin-top: 4px;
}

/* Success state */
.form-success {
  text-align: center;
  padding: clamp(20px, 4vw, 44px) 8px;
}

.form-success:focus {
  outline: none;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  border-radius: 50%;
  color: #fff;
  box-shadow: var(--shadow-green);
}

.success-icon svg {
  width: 34px;
  height: 34px;
}

.form-success h3 {
  font-size: 1.4rem;
}

.form-success p {
  max-width: 44ch;
  margin-inline: auto;
  color: var(--muted);
}

.form-success .btn {
  margin-top: 10px;
}

/* ---------- 12. Footer ---------- */
.site-footer {
  background:
    radial-gradient(44rem 26rem at 90% -10%, rgba(68, 104, 255, 0.16), transparent 60%),
    var(--ink-950);
  color: var(--dark-muted);
  padding-top: clamp(48px, 6vw, 72px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.1fr;
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(36px, 4.5vw, 56px);
  border-bottom: 1px solid var(--dark-line);
}

.brand--footer .brand-text strong { color: var(--dark-heading); }
.brand--footer .brand-text small { color: var(--dark-muted); }

.footer-tagline {
  font-size: 0.94rem;
  max-width: 34ch;
  margin: 20px 0 24px;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--dark-line);
  border-radius: var(--r-sm);
  color: var(--dark-text);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.socials a:hover {
  background: var(--brand-600);
  border-color: var(--brand-600);
  color: #fff;
  transform: translateY(-3px);
}

.socials svg {
  width: 19px;
  height: 19px;
}

.footer-col h3 {
  color: var(--dark-heading);
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: var(--dark-muted);
  font-size: 0.94rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.94rem;
}

.footer-contact a {
  overflow-wrap: anywhere;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--brand-500);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 26px;
  font-size: 0.86rem;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: var(--dark-muted);
}

.footer-legal a:hover {
  color: #fff;
}

/* ---------- 13. Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  border-radius: var(--r-full);
  color: #fff;
  box-shadow: var(--shadow-green);
  overflow: hidden;
  transition: width 0.3s var(--ease), transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: pulse-ring 2.4s var(--ease) infinite;
}

.wa-float svg {
  width: 27px;
  height: 27px;
  flex-shrink: 0;
  margin-left: 15px;
}

.wa-float-label {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  padding-right: 0;
  transition: opacity 0.25s var(--ease), padding 0.3s var(--ease);
}

.wa-float:hover,
.wa-float:focus-visible {
  width: 262px;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(26, 154, 76, 0.42);
}

.wa-float:hover .wa-float-label,
.wa-float:focus-visible .wa-float-label {
  opacity: 1;
  padding-right: 20px;
  padding-left: 12px;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.8; }
  70%, 100% { transform: scale(1.35); opacity: 0; }
}

/* ---------- 14. Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero-visual {
    max-width: 620px;
    margin-inline: auto;
    width: 100%;
  }

  .fa-1 { right: 6px; }
  .fa-2 { left: 6px; }

  .outcomes-layout,
  .about-layout,
  .reserve-layout {
    grid-template-columns: 1fr;
  }

  .outcomes-copy {
    position: static;
    max-width: 640px;
  }

  .about-visual {
    order: -1;
  }

  .portrait-frame {
    max-width: 320px;
  }

  .features-grid,
  .steps-grid,
  .testi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-card:nth-child(3n)::after {
    display: block;
  }

  .step-card:nth-child(even)::after {
    display: none;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 70px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 99;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(11, 24, 48, 0.12);
    padding: 18px 24px 24px;
    display: none;
  }

  body.nav-open .site-nav {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-link {
    padding: 13px 16px;
    font-size: 1rem;
  }

  .nav-mobile-cta {
    display: inline-flex;
    width: 100%;
    margin-top: 14px;
  }

  .header-phone span {
    display: none;
  }

  .header-phone {
    width: 42px;
    height: 42px;
    justify-content: center;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
  }

  .stats-band {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 8px;
  }

  .stat + .stat {
    border-left: none;
  }

  .stat:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--container), 100% - 40px);
  }

  .hero-cta .btn {
    flex: 1 1 100%;
  }

  .features-grid,
  .steps-grid,
  .testi-grid,
  .outcomes-list,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    gap: 32px;
  }

  .outcome-item--wide {
    grid-column: auto;
  }

  .step-card::after {
    display: none;
  }

  .float-card {
    padding: 10px 14px;
  }

  .fa-1 { top: -16px; }
  .fa-2 { bottom: -14px; }

  .formula-chip {
    font-size: 0.8rem;
    padding: 7px 12px;
  }

  .fc-1 { left: 16px; bottom: 34px; }
  .fc-2 { right: 16px; bottom: 34px; }

  .exp-badge {
    right: 8px;
    bottom: -18px;
  }

  .about-list li {
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .stats-band {
    grid-template-columns: 1fr 1fr;
    padding-top: 24px;
  }

  .stat {
    padding-inline: 8px;
  }

  .header-cta {
    display: none;
  }

  .wa-float {
    right: 16px;
    bottom: 16px;
  }

  .wa-float:hover,
  .wa-float:focus-visible {
    width: 58px;
  }

  .wa-float-label {
    display: none;
  }
}

/* ---------- 15. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
.brand-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 20px;
}
/* OpenCode write test */
