/* ===================== RESET & BASE ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #10192B;
  --navy-deep: #0A1220;
  --navy-soft: #1C2A44;
  --orange: #F4712B;
  --orange-light: #FF9457;
  --cream: #FBF7F1;
  --cream-card: #FFFFFF;
  --ink: #1B2436;
  --ink-muted: #55607A;
  --line: #E7E1D8;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 40px -20px rgba(16, 25, 43, 0.25);
  --container: 1160px;
  font-size: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Fredoka', 'Inter', sans-serif;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 13px 26px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(244, 113, 43, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(244, 113, 43, 0.7); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-large { padding: 15px 30px; font-size: 1rem; }
.btn-small { padding: 10px 20px; font-size: 0.88rem; }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(16, 25, 43, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.logo {
  display: flex; align-items: center; gap: 9px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700; font-size: 1.25rem;
  color: #fff;
}
.logo-mark {
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}
.logo-word {
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.main-nav { display: flex; gap: 30px; }
.main-nav a {
  color: rgba(255,255,255,0.78);
  font-size: 0.94rem; font-weight: 500;
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--orange-light); }

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span {
  width: 22px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  background: radial-gradient(ellipse at top right, var(--navy-soft), var(--navy) 60%, var(--navy-deep));
  color: #fff;
  padding: 84px 0 100px;
  overflow: hidden;
}

/* ===================== WAVE DIVIDERS ===================== */
.wave-divider {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  line-height: 0;
  z-index: 3;
  pointer-events: none;
}
.wave-divider svg { display: block; width: 100%; height: 60px; }
.wave-to-cream { color: var(--cream); }
.wave-to-navy { color: var(--navy-soft); }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  background: rgba(244, 113, 43, 0.14);
  color: var(--orange-light);
  border: 1px solid rgba(244, 113, 43, 0.3);
  font-size: 0.82rem; font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.25); }
.hero .btn-ghost:hover { border-color: var(--orange-light); color: var(--orange-light); }
.hero-note { font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* Illustration hero : famille lovée dans un cocon */
.hero-visual { position: relative; display: flex; justify-content: center; }
.cocoon-illustration {
  position: relative;
  width: min(360px, 84vw);
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.35));
  animation: cocoon-float 6s ease-in-out infinite;
}
@keyframes cocoon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .cocoon-illustration { animation: none; }
}

.blob {
  position: absolute; border-radius: 50%; filter: blur(50px);
  opacity: 0.35; z-index: 1;
}
.blob-1 { width: 260px; height: 260px; background: var(--orange); top: -40px; right: -20px; }
.blob-2 { width: 200px; height: 200px; background: #5B7FFF; bottom: -30px; left: 10px; opacity: 0.2; }

/* ===================== PROBLEM / SOLUTION ===================== */
.problem { padding: 96px 0; }
.problem h2 { text-align: center; margin-bottom: 48px; }
.problem-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
.problem-col {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.problem-col-solution {
  background: var(--navy);
  border-color: var(--navy);
}
.col-label { font-weight: 700; font-size: 0.95rem; margin-bottom: 18px; }
.col-label-muted { color: var(--ink-muted); }
.col-label-accent { color: var(--orange-light); }
.problem-list li {
  padding: 10px 0 10px 26px;
  position: relative;
  color: var(--ink-muted);
  font-size: 0.98rem;
}
.problem-col .problem-list li::before {
  content: "✕"; position: absolute; left: 0; top: 10px;
  color: #C9463A; font-size: 0.8rem; font-weight: 700;
}
.problem-col-solution .problem-list li {
  color: rgba(255,255,255,0.82);
}
.problem-col-solution .problem-list li::before {
  content: "✓"; color: var(--orange-light);
}

/* ===================== FEATURES ===================== */
.features { position: relative; padding: 96px 0; background: var(--cream-card); border-top: 1px solid var(--line); }
.section-eyebrow {
  color: var(--orange);
  font-weight: 700; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.features h2 { max-width: 640px; margin-bottom: 48px; }
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.feature-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--ink-muted); font-size: 0.93rem; }

/* ===================== DIFFERENCE ===================== */
.difference {
  position: relative;
  background: linear-gradient(160deg, var(--navy-soft), var(--navy-deep));
  color: #fff;
  padding: 100px 0;
}
.difference-inner { max-width: 780px; text-align: center; margin: 0 auto; }
.section-eyebrow-light { color: var(--orange-light); }
.difference h2 { margin-bottom: 26px; }
.difference-text {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 18px;
}
.difference-text strong { color: var(--orange-light); }
.difference-text-muted { color: rgba(255,255,255,0.55); font-size: 1rem; }

/* ===================== TESTIMONIALS ===================== */
.testimonials { padding: 96px 0; }
.testimonials h2 { max-width: 600px; margin-bottom: 10px; }
.testimonials-disclaimer {
  color: #B15C00;
  background: #FFF2DF;
  border: 1px solid #F3D9AC;
  display: inline-block;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 40px;
}
.testimonials-track-wrap {
  position: relative;
  overflow: hidden;
  margin: 0 -24px;
  padding: 4px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60px, #000 calc(100% - 60px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 60px, #000 calc(100% - 60px), transparent);
}
.testimonials-track {
  display: flex;
  gap: 22px;
  width: max-content;
  padding: 0 24px;
  animation: testimonials-scroll 32s linear infinite;
}
.testimonials-track-wrap:hover .testimonials-track,
.testimonials-track.is-paused {
  animation-play-state: paused;
}
@keyframes testimonials-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .testimonials-track { animation: none; }
}
.testimonial-card {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
  flex: 0 0 340px;
  width: 340px;
}
.testimonial-tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--orange);
  background: rgba(244,113,43,0.1);
  padding: 4px 10px; border-radius: 999px;
  margin-bottom: 14px;
}
.testimonial-card p:not(.testimonial-tag):not(.testimonial-author) {
  font-size: 1rem; margin-bottom: 16px; color: var(--ink);
}
.testimonial-author { font-size: 0.85rem; color: var(--ink-muted); font-weight: 600; }

/* ===================== PRICING TEASER ===================== */
.pricing { padding: 90px 0; background: var(--cream-card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pricing-inner { max-width: 640px; text-align: center; margin: 0 auto; }
.pricing h2 { margin-bottom: 16px; }
.pricing-text { color: var(--ink-muted); margin-bottom: 30px; font-size: 1.02rem; }

/* ===================== TELECHARGEMENT / QR CODE ===================== */
.download { position: relative; padding: 90px 0; background: var(--cream-card); border-top: 1px solid var(--line); text-align: center; }
.download-inner { max-width: 560px; margin: 0 auto; }
.download h2 { margin-bottom: 14px; }
.download-text { color: var(--ink-muted); margin-bottom: 34px; }
.qr-box {
  display: inline-flex; flex-direction: column; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 32px; box-shadow: var(--shadow);
}
.qr-canvas svg, .qr-canvas img { display: block; width: 160px; height: 160px; }
.qr-caption { font-size: 0.85rem; color: var(--ink-muted); font-weight: 600; }
.download-note { margin-top: 22px; font-size: 0.82rem; color: var(--ink-muted); }
.download-panel-mobile { display: none; }

@media (max-width: 760px) {
  .download-panel-desktop { display: none; }
  .download-panel-mobile { display: block; }
}

/* ===================== WAITLIST / CTA FINAL ===================== */
.waitlist {
  background: radial-gradient(ellipse at bottom left, var(--navy-soft), var(--navy) 55%, var(--navy-deep));
  color: #fff;
  padding: 100px 0;
  text-align: center;
}
.waitlist-inner { max-width: 560px; margin: 0 auto; }
.waitlist h2 { margin-bottom: 14px; }
.waitlist p { color: rgba(255,255,255,0.72); margin-bottom: 30px; }
.waitlist-form {
  display: flex; gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 6px;
  border-radius: 999px;
}
.waitlist-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.95rem;
  padding: 10px 16px;
}
.waitlist-form input::placeholder { color: rgba(255,255,255,0.4); }
.hp-field {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
.waitlist-feedback {
  min-height: 24px;
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--orange-light);
  font-weight: 600;
}
.waitlist-privacy { font-size: 0.78rem; color: rgba(255,255,255,0.4); margin-top: 18px; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.65); padding: 64px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.5); max-width: 260px; }
.footer-heading { color: #fff; font-weight: 600; font-size: 0.88rem; margin-bottom: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 0.88rem; }
.footer-col a { color: rgba(255,255,255,0.6); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--orange-light); }
.footer-social { display: flex; flex-direction: column; gap: 10px; }
.footer-bottom { padding: 22px 0; font-size: 0.8rem; color: rgba(255,255,255,0.4); }

/* ===================== SCROLL REVEAL ===================== */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 10px; }
  .problem-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-small { display: none; }

  .main-nav.is-open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy); padding: 20px 24px 26px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .main-nav.is-open a { font-size: 1rem; }

  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .waitlist-form { flex-direction: column; border-radius: 20px; }
  .waitlist-form .btn { width: 100%; }
  .testimonial-card { flex-basis: 260px; width: 260px; }
}
