/* ============================================================
   OMNIA GENESIS — CSS Statique Complet
   Toutes les classes Tailwind remplacées par CSS custom
   ============================================================ */

/* ── Polices Google Fonts (doit être en tête absolue du fichier) ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Inter:wght@300..700&display=swap');

/* ── Design Tokens ── */
:root {
  --radius: 1rem;

  /* Palette marine */
  --c-deep:    #04162e;
  --c-night:   #051940;
  --c-royal:   #060f50;
  --c-ocean:   #09274a;
  --c-deepblue:#1b3549;
  --c-mid:     #143d63;
  --c-steel:   #2d5a7e;
  --c-soft:    #58819d;
  --c-mist:    #97b6c7;

  --ink: var(--c-deep);
  --background: #04162e;
  --foreground: #eaf2f8;
  --card: #08203f;
  --card-foreground: #eaf2f8;
  --popover: #061a36;
  --popover-foreground: #eaf2f8;
  --primary: #97b6c7;
  --primary-foreground: #04162e;
  --steel: #2d5a7e;
  --mist: #97b6c7;
  --secondary: #1b3549;
  --secondary-foreground: #eaf2f8;
  --muted: #143d63;
  --muted-foreground: #97b6c7;
  --accent: #58819d;
  --accent-foreground: #04162e;
  --border: rgba(151, 182, 199, 0.14);
  --input: rgba(151, 182, 199, 0.18);
  --ring: rgba(151, 182, 199, 0.5);

  --font-display: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;

  --gradient-shine: linear-gradient(135deg, #97b6c7 0%, #ffffff 45%, #58819d 100%);
  --gradient-bg:
    radial-gradient(ellipse at 25% 15%, rgba(45, 90, 126, 0.45), transparent 55%),
    radial-gradient(ellipse at 80% 85%, rgba(151, 182, 199, 0.18), transparent 55%),
    linear-gradient(180deg, #04162e 0%, #051940 50%, #04162e 100%);
  --shadow-elev: 0 30px 80px -30px rgba(0,0,0,0.7), 0 0 0 1px rgba(151,182,199,0.06) inset;
  --shadow-glow: 0 14px 50px -10px rgba(151,182,199,0.45), 0 0 0 1px rgba(151,182,199,0.4) inset;
}

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

html, body {
  background: var(--background);
  color: var(--foreground);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  /* Identique au React source : ss01 = alt a, cv11 = alt g — donné le rendu éditorial exact */
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: var(--c-mist);
  color: var(--c-deep);
}

img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography — Instrument Serif pour display, DM Sans pour body ── */

/* Classe universelle display unifiée et stricte */
.font-display,
h1, h2, h3, h4,
.hero-h1, .section-h2, .cta-h2,
.modal-title, .success-title,
.offer-price-num, .offer-price-currency,
.stat-num, .method-num, .step-num-bg,
.story-photo-name, .story-photo-title,
.method-card-title, .step-title,
.offer-card-title, .footer-name {
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif !important;
  font-weight: 600 !important; /* Légèrement en gras partout (ex. questions, sections, cartes, etc.) */
  font-style: normal;
  letter-spacing: -0.015em;
  -webkit-font-smoothing: antialiased;
}

/* Italic dans Instrument Serif : beau, prononcé */
em, i,
.italic,
[style*="font-style: italic"],
[style*="font-style:italic"] {
  font-style: italic;
}

.font-body {
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
}

blockquote {
  font-size: 1.25rem;
  font-weight: 300; /* Citation non-grasse, élégante */
  line-height: 1.6;
  border-left: 3px solid var(--c-mist);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: #eaf2f8;
  font-style: italic;
}

/* ── Text Shine ── */
.text-shine {
  background-image: var(--gradient-shine) !important;
  background-size: 200% 100% !important;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  animation: shimmer 6s linear infinite;
}

/* ── Backgrounds ── */
.bg-hero { background: var(--gradient-bg); }
.bg-grain {
  background-image: radial-gradient(rgba(151,182,199,0.05) 1px, transparent 1px);
  background-size: 4px 4px;
}

/* ── Glass Effects ── */
.glass {
  background: linear-gradient(180deg, rgba(151,182,199,0.06), rgba(151,182,199,0.02));
  border: 1px solid rgba(151,182,199,0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.glass-strong {
  background: linear-gradient(180deg, rgba(8,32,63,0.85), rgba(4,22,46,0.85));
  border: 1px solid rgba(151,182,199,0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ── Buttons ── */
.btn-shine {
  position: relative;
  overflow: hidden;
  background-color: #c4d6e0 !important;
  background-image: linear-gradient(135deg, #c4d6e0 0%, #ffffff 50%, #97b6c7 100%) !important;
  background-size: 200% 200% !important;
  color: var(--c-deep) !important;
  font-weight: 600;
  box-shadow: var(--shadow-glow);
  transition: transform 0.35s cubic-bezier(0.2,0.8,0.2,1), box-shadow 0.35s;
  isolation: isolate;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-shine::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 10;
  background-image: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.7) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shine 3.2s ease-in-out infinite;
  pointer-events: none;
}
.btn-shine:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 22px 60px -10px rgba(151,182,199,0.65);
}
.btn-shine:active {
  transform: translateY(0) scale(0.99);
}

.btn-ghost {
  border: 1px solid rgba(151,182,199,0.4);
  color: #c8dce5 !important;
  background-color: rgba(151,182,199,0.04) !important;
  background-image: none !important;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}
.btn-ghost:hover {
  background: rgba(151,182,199,0.1);
  border-color: rgba(151,182,199,0.8);
}

/* ── Cards ── */
.card-premium {
  background: linear-gradient(180deg, #0a2848 0%, #061a36 100%);
  border: 1px solid rgba(151,182,199,0.1);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-elev);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.2,0.8,0.2,1),
              box-shadow 0.5s cubic-bezier(0.2,0.8,0.2,1),
              border-color 0.5s;
}
.card-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(151,182,199,0.08), transparent 50%);
  pointer-events: none;
  transition: opacity 0.5s;
}
.card-premium::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(196,214,224,0.4), transparent 40%, rgba(151,182,199,0.3) 100%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  z-index: -1;
  filter: blur(8px);
}
.card-premium:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(151,182,199,0.35);
  box-shadow:
    0 40px 100px -25px rgba(0,0,0,0.85),
    0 0 0 1px rgba(151,182,199,0.25) inset,
    0 0 60px -10px rgba(151,182,199,0.35);
}
.card-premium:hover::before { opacity: 1.4; }
.card-premium:hover::after { opacity: 1; }

/* ── Hero Eyebrow ── */
.hero-eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.6rem 1.4rem;
  border-radius: 9999px;
  background: linear-gradient(180deg, rgba(8,32,63,0.7), rgba(4,22,46,0.7));
  border: 1px solid rgba(151,182,199,0.28);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 12px 40px -12px rgba(151,182,199,0.4),
    0 0 0 1px rgba(151,182,199,0.08) inset;
  overflow: hidden;
}
.hero-eyebrow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(196,214,224,0.25) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shine 4.5s ease-in-out infinite;
  pointer-events: none;
}

/* ── Dividers ── */
.divider-gold {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(151,182,199,0.6), transparent);
}

/* ── Glow Orb ── */
.glow-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(90px);
  pointer-events: none;
}

/* ── Floating Logo ── */
.floating-logo {
  pointer-events: none;
  position: absolute;
  user-select: none;
}
.floating-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ── Section Eyebrow ── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.section-eyebrow-inner {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  background: linear-gradient(180deg, rgba(8,32,63,0.85), rgba(4,22,46,0.85));
  border: 1px solid rgba(151,182,199,0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 30px -12px rgba(151,182,199,0.35);
}
.section-eyebrow-text {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #c8dce5;
  font-weight: 500;
}
@media (min-width: 640px) {
  .section-eyebrow-text { font-size: 11px; }
}

/* ── Ping animation dot ── */
.ping-dot {
  position: relative;
  display: flex;
  width: 0.375rem;
  height: 0.375rem;
  flex-shrink: 0;
}
.ping-dot-outer {
  position: absolute;
  display: inline-flex;
  height: 100%;
  width: 100%;
  border-radius: 9999px;
  background: #c4d6e0;
  opacity: 0.7;
  animation: ping 1.5s cubic-bezier(0,0,0.2,1) infinite;
}
.ping-dot-inner {
  position: relative;
  display: inline-flex;
  border-radius: 9999px;
  height: 0.375rem;
  width: 0.375rem;
  background: #c4d6e0;
}

/* ── Animations ── */
@keyframes shine {
  0% { transform: translateX(-120%); }
  60%, 100% { transform: translateX(120%); }
}
@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@keyframes float-slow {
  0%   { transform: rotate(0deg) translateX(12px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(12px) rotate(360deg); }
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 0.75; transform: scale(1.06); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
@keyframes toast-in {
  0% { opacity: 0; transform: translateY(20px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fade-in-up {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes scale-in {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes slide-in-left {
  0% { opacity: 0; transform: translateX(-30px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes slide-in-right {
  0% { opacity: 0; transform: translateX(30px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes slide-up {
  0% { opacity: 0; transform: translateY(100px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes word-drop {
  /* Reproduction EXACTE du React source :
     hidden: { opacity:0, y:-80, filter:'blur(20px)', rotateX:90, scale:1.4 }
     visible: { opacity:1, y:0, filter:'blur(0px)', rotateX:0, scale:1 } */
  0% {
    opacity: 0;
    transform: perspective(1500px) rotateX(90deg) translateY(-80px) scale(1.4);
    filter: blur(20px);
  }
  100% {
    opacity: 1;
    transform: perspective(1500px) rotateX(0deg) translateY(0) scale(1);
    filter: blur(0);
  }
}
@keyframes char-flip {
  /* Reproduction EXACTE du React source :
     hidden: { opacity:0, y:30, rotateY:-90, filter:'blur(8px)' }
     visible: { opacity:1, y:0, rotateY:0, filter:'blur(0px)' } */
  0% {
    opacity: 0;
    transform: perspective(800px) rotateY(-90deg) translateY(30px);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: perspective(800px) rotateY(0deg) translateY(0);
    filter: blur(0);
  }
}
@keyframes halo-pulse {
  0% { opacity: 0; transform: scale(0.6); }
  40% { opacity: 0.7; transform: scale(1.15); }
  100% { opacity: 0.4; transform: scale(1); }
}
@keyframes scan-light {
  /* Reproduction fidèle de opacity: [0, 1, 1, 0] sur 1.8s avec x: -110% à 110% */
  0%   { transform: translateX(-110%); opacity: 0; }
  25%  { opacity: 1; }
  75%  { opacity: 1; }
  100% { transform: translateX(110%); opacity: 0; }
}
@keyframes line-expand {
  0% { transform: scaleX(0); opacity: 0; }
  100% { transform: scaleX(1); opacity: 0.6; }
}
@keyframes social-in {
  0% { opacity: 0; transform: translateY(20px) translateX(-10px); }
  100% { opacity: 1; transform: translateY(0) translateX(0); }
}
@keyframes social-out {
  0% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(10px) scale(0.95); }
}
@keyframes sticky-in {
  0% { transform: translateY(100px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes sticky-out {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(100px); opacity: 0; }
}
@keyframes badge-pop {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes logo-center {
  0% { opacity: 0; transform: translate(-50%,-50%) scale(0.8) rotate(-8deg); }
  100% { opacity: 0.07; transform: translate(-50%,-50%) scale(1) rotate(0deg); }
}

.animate-float { animation: float-slow 20s linear infinite; }
.animate-pulse-glow { animation: pulse-glow 5s ease-in-out infinite; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4,0,0.6,1) infinite; }
.animate-toast-in { animation: toast-in 0.5s cubic-bezier(0.2,0.8,0.2,1); }
.animate-ping { animation: ping 1.5s cubic-bezier(0,0,0.2,1) infinite; }

/* ═══════════════════════════════════════════════
   LAYOUT SECTIONS
═══════════════════════════════════════════════ */

/* ── Main ── */
main {
  position: relative;
  background: var(--background);
  color: var(--foreground);
  overflow-x: hidden;
}

/* ── Hero Section ── */
#hero {
  position: relative;
  min-height: 100svh;     /* EXACT : min-h-[100svh] */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible; /* GARANTIT QUE RIEN N'EST COUPÉ */
  padding: 6rem 1.25rem;  /* EXACT : pt-24 pb-24 px-5 */
  background: var(--gradient-bg);
}
@media (min-width: 640px) {
  #hero { padding: 6rem 1.5rem; } /* sm:px-6 */
}

/* Wrapper dédié aux orbes : SEUL lui a overflow hidden */
.hero-orbs-clip {
  position: absolute;
  inset: 0;
  overflow: hidden; /* contient les orbes sans affecter les enfants du h1 */
  pointer-events: none;
  z-index: 0;
}

.hero-logo-bg {
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 420px;
  animation: logo-center 2.4s cubic-bezier(0.2,0.8,0.2,1) forwards;
}
@media (min-width: 640px) { .hero-logo-bg { width: 620px; } }
@media (min-width: 768px) { .hero-logo-bg { width: 760px; } }

.hero-center {
  position: relative;
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
  animation: hero-float-vertical 6s ease-in-out infinite;
}

@keyframes hero-float-vertical {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-eyebrow-wrap {
  margin-bottom: 2.25rem;
  display: flex;
  justify-content: center;
  opacity: 0;
  animation: fade-in-up 0.9s cubic-bezier(0.2,0.8,0.2,1) 0.2s forwards;
}

.hero-h1 {
  position: relative;
  z-index: 1;
  /* Nouvelle typo display = Inter */
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.03em;  /* EXACT : tracking-[-0.02em] */
  line-height: 1.05;         /* EXACT : leading-[1.05] */
  font-weight: 800; /* imposant et gras */
  font-style: normal;
  /* Tailles réduites pour s'assurer que ça tienne sur max 3 lignes */
  font-size: 2.2rem;
  /* perspective inline dans le HTML (style="perspective:1500px") — on laisse */
  overflow: visible; /* ne JAMAIS rogner les serifs italiques */
}
@media (min-width: 480px)  { .hero-h1 { font-size: 2.5rem; } }
@media (min-width: 640px)  { .hero-h1 { font-size: 3.2rem; } }
@media (min-width: 768px)  { .hero-h1 { font-size: 3.8rem; } }
@media (min-width: 1024px) { .hero-h1 { font-size: 4.5rem; } }

.hero-line {
  display: block;
  transform-style: preserve-3d; /* EXACT : style={{ transformStyle: "preserve-3d" }} */
  overflow: visible;
}
.hero-word {
  display: inline-block;
  margin-right: 0.22em; /* EXACT : className="inline-block mr-[0.22em] last:mr-0" */
  opacity: 0;
  animation: word-drop 1.1s cubic-bezier(0.16,1,0.3,1) forwards;
  transform-origin: 50% 0%;    /* EXACT : transformOrigin: "50% 0%" */
  transform-style: preserve-3d; /* EXACT : transformStyle: "preserve-3d" */
}
.hero-word:last-child { margin-right: 0; }

/* Ligne finale — ANIMATION EXACTE (italique conforme à la référence sans rognage) */
.hero-line-final {
  display: inline-block;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-style: normal;
  margin-top: 0.25rem;
  transform-style: preserve-3d;
  overflow: visible;
  position: relative;
  z-index: 2;
}

/* Brillance stricte appliquée UNIQUEMENT à l'intérieur du texte */
.hero-line-final .hero-char {
  background: linear-gradient(110deg, #c4d6e0 35%, #ffffff 50%, #c4d6e0 65%) !important;
  background-size: 250% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  text-shadow: none !important;
  
  /* On combine l'apparition de base (char-flip) avec le rayon continu (shimmer) */
  animation-name: char-flip, shimmer !important;
  animation-duration: 0.8s, 4s !important;
  animation-timing-function: cubic-bezier(0.16,1,0.3,1), linear !important;
  animation-iteration-count: 1, infinite !important;
  animation-fill-mode: forwards, none !important;
}

.hero-char {
  display: inline-block;
  opacity: 0;
  animation: char-flip 0.8s cubic-bezier(0.16,1,0.3,1) forwards;
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-style: normal;
}

/* ── HIGHLIGHTER UNDERLINE (Surlignage rectiligne) ── */
.hero-zigzag {
  position: absolute;
  left: 50%;
  bottom: -0.4rem; /* À ras du texte */
  transform: translateX(-50%);
  width: 140px;
  height: 12px;
  overflow: visible;
  z-index: -1; /* Derrière le texte pour l'effet surlignage */
  opacity: 0.6; /* Assouplir l'intensité */
  mix-blend-mode: screen; 
}
@media (min-width: 640px) { .hero-zigzag { width: 170px; height: 16px; bottom: -0.5rem; } }
@media (min-width: 768px) { .hero-zigzag { width: 200px; height: 20px; bottom: -0.6rem; } }

.hero-zigzag-path {
  stroke-dasharray: 250;
  stroke-dashoffset: 250;
  animation: draw-zigzag 1s ease-out 2.4s forwards;
}

@keyframes draw-zigzag {
  from { stroke-dashoffset: 250; }
  to { stroke-dashoffset: 0; }
}

.hero-halo {
  pointer-events: none;
  position: absolute;
  inset: 0;
  margin: -4rem -8rem;
  filter: blur(60px);
  background: radial-gradient(ellipse at center,rgba(151,182,199,0.4),transparent 60%);
  opacity: 0;
  animation: halo-pulse 2.5s ease forwards 0.4s;
}

.hero-scan {
  pointer-events: none;
  position: absolute;
  inset-block: 0;
  left: 0;
  width: 40%;
  background: linear-gradient(to right, transparent, rgba(196,214,224,0.55), transparent);
  mix-blend-mode: screen;
  filter: blur(10px);
  animation: scan-light 1.8s cubic-bezier(0.4,0,0.2,1) 2.4s forwards;
  opacity: 0;
  z-index: 10; /* Lumière au-dessus de tout */
}

.hero-separator {
  width: 10rem;
  height: 1px;
  margin: 1.75rem auto 0;
  background: linear-gradient(to right, transparent, #c4d6e0, transparent);
  transform-origin: center;
  transform: scaleX(0);
  opacity: 0;
  animation: line-expand 1.4s ease 3s forwards;
}
@media (min-width: 640px) { .hero-separator { width: 14rem; } }

.hero-subtitle {
  margin-top: 1.75rem;
  font-size: 1rem;
  color: #a8c4d3;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.625;
  font-weight: 300;
  opacity: 0;
  animation: fade-in-up 0.9s ease 2.8s forwards;
}
@media (min-width: 640px) { .hero-subtitle { margin-top: 2.25rem; font-size: 1.125rem; } }
@media (min-width: 768px) { .hero-subtitle { font-size: 1.25rem; } }

.hero-cta-wrap {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  align-items: stretch;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: fade-in-up 0.7s ease 3.1s forwards;
}
@media (min-width: 640px) {
  .hero-cta-wrap {
    flex-direction: row;
    gap: 1rem;
    max-width: none;
    align-items: center;
  }
}

.hero-cta-wrap .btn-shine,
.hero-cta-wrap .btn-ghost {
  padding: 1rem 1.75rem;
  border-radius: 9999px;
  font-size: 0.9375rem;
  gap: 0.5rem;
  text-align: center;
}

.hero-badges {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 0.5rem;
  font-size: 0.75rem;
  color: #97b6c7;
  opacity: 0;
  animation: fade-in 0.9s ease 3.4s forwards;
}
@media (min-width: 640px) { .hero-badges { font-size: 0.875rem; } }

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ── Common Section ── */
section {
  position: relative;
  padding: 6rem 1.25rem;
  overflow: hidden;
}
@media (min-width: 640px) {
  section { padding: 8rem 1.5rem; }
}

.section-inner {
  max-width: 64rem;
  margin: 0 auto;
  position: relative;
}

.section-header {
  text-align: center;
  opacity: 0;
  animation: fade-in-up 0.8s ease forwards;
}
.section-header.animated { opacity: 1; }

.section-h2 {
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif !important;
  font-size: clamp(1.75rem, 4vw, 2.75rem); /* Plus harmonieux et moins imposant avec Inter */
  line-height: 1.04;
  margin-top: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ── Story Section ── */
#story .story-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  #story .story-grid {
    grid-template-columns: minmax(0,420px) 1fr;
    gap: 4rem;
  }
}

.story-photo-wrap {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 380px;
  opacity: 0;
  animation: slide-in-left 1s cubic-bezier(0.2,0.8,0.2,1) forwards;
}
.story-photo-halo {
  position: absolute;
  inset: -1.5rem;
  background: linear-gradient(135deg, rgba(88,129,157,0.4), rgba(151,182,199,0.2), transparent);
  filter: blur(3rem);
  border-radius: 9999px;
}
.story-photo-frame {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid rgba(151,182,199,0.25);
  box-shadow:
    0 40px 100px -20px rgba(0,0,0,0.7),
    0 0 0 1px rgba(151,182,199,0.15) inset,
    0 20px 60px -10px rgba(151,182,199,0.25);
  /* 3D uniquement sur desktop */
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
}
/* Mobile : pas de 3D pour éviter les arêtes qui dépassent */
@media (max-width: 639px) {
  .story-photo-frame { transform: none; }
}
.story-photo-frame img { width: 100%; height: auto; }
.story-photo-overlay-top {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(255,255,255,0.08));
  pointer-events: none;
}
/* Gradient bas PLUS OPAQUE pour garantir lisibilité de la signature */
.story-photo-overlay-bottom {
  position: absolute;
  inset: 0;
  /* démarre la couverture à 50% de hauteur, très opaque au bas */
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 40%,
    rgba(4,22,46,0.55) 65%,
    rgba(4,22,46,0.88) 85%,
    rgba(4,22,46,0.95) 100%
  );
  pointer-events: none;
}
.story-photo-signature {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.5rem 1.75rem;
  /* Toujours au-dessus des overlays */
  z-index: 2;
}
.story-photo-name {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.625rem;
  color: #ffffff;
  line-height: 1.15;
  font-weight: 400;
  /* Text shadow pour lisibilité garantie quelle que soit l'image en fond */
  text-shadow: 0 2px 12px rgba(0,0,0,0.6), 0 1px 3px rgba(0,0,0,0.4);
}
@media (min-width: 640px) { .story-photo-name { font-size: 2rem; } }
.story-photo-title {
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #c4d6e0;
  margin-top: 0.3rem;
  font-weight: 500;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
@media (min-width: 640px) { .story-photo-title { font-size: 0.75rem; } }

.story-badge {
  position: absolute;
  bottom: -1rem;
  right: -0.5rem; /* Mobile : réduit pour rester dans le viewport */
  background: linear-gradient(180deg, rgba(8,32,63,0.85), rgba(4,22,46,0.85));
  border: 1px solid rgba(151,182,199,0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  opacity: 0;
  animation: badge-pop 0.6s cubic-bezier(0.2,0.8,0.2,1) 0.5s forwards;
  /* Empêche le badge de sortir du wrapper sur mobile */
  max-width: calc(100% - 1rem);
}
@media (min-width: 640px) {
  .story-badge { right: -1.5rem; max-width: none; }
}

/* Espace pour le badge qui déborde en bas */
.story-photo-wrap {
  padding-bottom: 1.5rem;
}
.story-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: #9be3a4;
  animation: pulse 2s cubic-bezier(0.4,0,0.6,1) infinite;
  flex-shrink: 0;
}
.story-badge-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #97b6c7;
}
.story-badge-value {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--foreground);
}

.story-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 1rem;
  color: #c8dce5;
  line-height: 1.625;
  font-weight: 300;
  opacity: 0;
  animation: fade-in-up 0.9s ease 0.15s forwards;
}
@media (min-width: 640px) { .story-text { font-size: 1.125rem; } }

.story-text blockquote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.35;
  border-left: 2px solid rgba(151,182,199,0.5);
  padding-left: 1.25rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
@media (min-width: 640px) { .story-text blockquote { font-size: 1.5rem; } }
@media (min-width: 768px) { .story-text blockquote { font-size: 1.65rem; } }

/* ── Problem Section ── */
.pain-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 1rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 640px) {
  .pain-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}

.pain-card {
  opacity: 0;
  animation: fade-in-up 0.6s ease forwards;
}
.pain-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(255,90,90,0.08);
  border: 1px solid rgba(255,120,120,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.pain-icon svg { color: #ff8a8a; }

/* ── Method Section ── */
.method-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) { .method-steps { gap: 1.25rem; } }

.method-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem;
  opacity: 0;
  animation: fade-in-up 0.6s ease forwards;
}
@media (min-width: 640px) {
  .method-card { gap: 1.5rem; padding: 1.75rem; }
}

.method-num {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #c4d6e0, #58819d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1rem;
  color: #04162e;
  font-weight: 400;
  letter-spacing: 0;
  box-shadow: 0 10px 30px -12px rgba(151,182,199,0.55);
}
@media (min-width: 640px) {
  .method-num { width: 3.5rem; height: 3.5rem; font-size: 1.25rem; }
}
.method-card-body { flex: 1; min-width: 0; }
.method-card-title {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.3rem;
  margin-bottom: 0.375rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
@media (min-width: 640px) { .method-card-title { font-size: 1.55rem; } }
.method-card-desc {
  font-size: 0.875rem;
  color: #a8c4d3;
  line-height: 1.625;
}
@media (min-width: 640px) { .method-card-desc { font-size: 0.9375rem; } }

/* ── Results Section ── */
.results-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .results-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.results-left {
  opacity: 0;
  animation: slide-in-left 0.8s ease forwards;
}
.results-left .section-h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
}

.results-card {
  padding: 2rem 2.5rem;
  opacity: 0;
  animation: fade-in-up 0.8s ease forwards;
}
.results-list { display: flex; flex-direction: column; gap: 1rem; }
.results-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.check-circle {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #c4d6e0, #58819d);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.125rem;
}
.check-circle svg { color: #04162e; }
.results-list-item span { color: rgba(234,242,248,0.95); }

.results-bonus-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #97b6c7;
  margin-bottom: 0.75rem;
}
.results-bonus-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: #a8c4d3;
}

/* ── Offers Section ── */
.offers-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .offers-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

.offer-card {
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  opacity: 0;
  animation: fade-in-up 0.7s ease forwards;
}

.offer-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.offer-card-title {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 2rem;
  letter-spacing: -0.01em;
  font-weight: 400;
}
.offer-card-tag {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #97b6c7;
}
.offer-card-desc {
  color: #a8c4d3;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.offer-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 2rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.offer-price-num {
  /* taille ajustée via clamp pour tenir sur une seule ligne sur mobile (Inter est plus large) */
  font-size: clamp(2.25rem, 8vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}
.offer-price-currency {
  font-size: clamp(1.15rem, 4vw, 1.75rem);
  letter-spacing: -0.01em;
}
.offer-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex: 1;
}
.offer-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #c8dce5;
}
.offer-btn {
  padding: 0.875rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  text-align: center;
  width: 100%;
  font-size: 0.9375rem;
}

/* PRO card wrapper with badge */
.offer-pro-wrap {
  position: relative;
  margin-top: 3rem;
  opacity: 0;
  animation: fade-in-up 0.7s ease 0.1s forwards;
}
@media (min-width: 1024px) { .offer-pro-wrap { margin-top: 0; } }

.offer-recommended-badge {
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  white-space: nowrap;
}
.offer-recommended-badge .badge-inner {
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  box-shadow: 0 20px 50px -10px rgba(151,182,199,0.6);
  opacity: 0;
  animation: badge-pop 0.6s cubic-bezier(0.2,0.8,0.2,1) 0.4s forwards;
}

.offer-pro-card {
  padding: 2rem 2.5rem 2rem;
  padding-top: 3rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(180deg, #0d3057 0%, #07203f 100%) !important;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.7), 0 0 0 1px rgba(151,182,199,0.4) inset, 0 0 60px -10px rgba(151,182,199,0.3) !important;
}

.offers-note {
  text-align: center;
  font-size: 0.875rem;
  color: #a8c4d3;
  margin-top: 2.5rem;
}

/* ── Scarcity Section ── */
.scarcity-card {
  padding: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fade-in-up 0.8s ease forwards;
}
@media (min-width: 768px) { .scarcity-card { padding: 4rem; } }

.scarcity-stats {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr; /* MOBILE FIRST : stack vertical */
  gap: 1rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 640px) {
  .scarcity-stats {
    grid-template-columns: repeat(3, 1fr); /* DESKTOP : 3 colonnes comme la ref Tailwind (sm:grid-cols-3) */
  }
}
.stat-glass {
  background: linear-gradient(180deg, rgba(151,182,199,0.06), rgba(151,182,199,0.02));
  border: 1px solid rgba(151,182,199,0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 1rem;
  padding: 1.25rem;
}
.stat-num {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 2.25rem;
  letter-spacing: -0.02em;
  font-weight: 400;
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #97b6c7;
  margin-top: 0.25rem;
}

/* ── Steps Section ── */
.steps-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}

.step-card {
  padding: 1.5rem;
  position: relative;
  opacity: 0;
  animation: fade-in-up 0.6s ease forwards;
}
@media (min-width: 640px) { .step-card { padding: 1.75rem; } }
.step-num-bg {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 5rem;
  color: rgba(151,182,199,0.13);
  position: absolute;
  top: 0.5rem;
  right: 1.25rem;
  line-height: 1;
  user-select: none;
  letter-spacing: -0.03em;
}
@media (min-width: 640px) { .step-num-bg { font-size: 6rem; } }
.step-title {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
  position: relative;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
@media (min-width: 640px) { .step-title { font-size: 1.55rem; } }
.step-desc {
  font-size: 0.875rem;
  color: #a8c4d3;
  line-height: 1.625;
  position: relative;
}
@media (min-width: 640px) { .step-desc { font-size: 0.9375rem; } }

/* ── CTA Section ── */
#contact {
  padding: 8rem 1.5rem;
}

.cta-inner {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
  opacity: 0;
  animation: fade-in-up 1s ease forwards;
}
.cta-logo {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 2rem;
  filter: drop-shadow(0 0 40px rgba(151,182,199,0.55));
}
.cta-h2 {
  font-size: clamp(2rem, 5vw, 3.5rem); /* Taille réduite pour être en harmonie avec Inter */
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.cta-sub {
  margin-top: 2rem;
  font-size: 1.125rem;
  color: #a8c4d3;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) { .cta-sub { font-size: 1.25rem; } }
.cta-btns {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
@media (min-width: 640px) { .cta-btns { flex-direction: row; } }
.cta-btns .btn-shine { padding: 1.25rem 2.5rem; border-radius: 9999px; font-size: 1.125rem; gap: 0.75rem; }
.cta-btns .btn-ghost { padding: 1.25rem 2rem; border-radius: 9999px; font-size: 1rem; gap: 0.5rem; }
.cta-scarcity {
  margin-top: 2.5rem;
  font-size: 0.875rem;
  color: #97b6c7;
}

/* ── Footer ── */
footer {
  position: relative;
  max-width: 80rem;
  margin: 8rem auto 0;
  padding: 2.5rem 1.5rem 3rem;
  border-top: 1px solid rgba(151,182,199,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #7a99ad;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.footer-logo { width: 1.5rem; height: 1.5rem; }
.footer-name {
  font-family: "Instrument Serif", Georgia, serif;
  letter-spacing: 0.03em;
  font-size: 0.9rem;
  color: #c4d6e0;
  font-weight: 400;
}
.footer-disclaimer {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(151,182,199,0.06);
  max-width: 62rem;
  font-size: 0.7rem;
  color: #5a7a8d;
  line-height: 1.55;
  text-align: center;
}

/* ── Sticky CTA Bar ── */
#sticky-cta {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 40;
  display: none;
}
@media (min-width: 640px) {
  #sticky-cta {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 1.5rem;
    width: min(640px, calc(100vw - 2rem));
  }
}
#sticky-cta.visible { display: block; }

.sticky-cta-inner {
  background: linear-gradient(180deg, rgba(8,32,63,0.85), rgba(4,22,46,0.85));
  border: 1px solid rgba(151,182,199,0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 9999px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between; /* Force l'espacement aux extrêmes */
  gap: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  animation: sticky-in 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
@media (min-width: 640px) {
  .sticky-cta-inner { padding: 0.75rem 1.25rem; gap: 1rem; }
}
#sticky-cta.hiding .sticky-cta-inner {
  animation: sticky-out 0.3s ease forwards;
}

.sticky-orb {
  display: flex; /* Visible sur mobile et desktop */
  width: 2.25rem;
  height: 2.25rem;
  min-width: 2.25rem;
  border-radius: 9999px;
  background-color: #c4d6e0 !important;
  background-image: linear-gradient(135deg, #c4d6e0, #58819d) !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sticky-orb-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: #04162e;
  animation: pulse 2s cubic-bezier(0.4,0,0.6,1) infinite;
}

.sticky-text { flex: 1; min-width: 0; }
.sticky-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #97b6c7;
  line-height: 1.2;
}
@media (min-width: 640px) { .sticky-label { font-size: 0.75rem; } }
.sticky-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 640px) { .sticky-value { font-size: 1rem; } }

.sticky-btn {
  flex-shrink: 0;
  margin-left: auto; /* Force impérativement le bouton collé à droite */
  padding: 0.625rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  gap: 0.375rem;
}
@media (min-width: 640px) {
  .sticky-btn { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
}

/* ── Social Proof Toast ── */
#social-proof {
  position: fixed;
  left: 0.75rem;
  bottom: 5rem;
  z-index: 30;
  pointer-events: none;
  max-width: 280px;
}
@media (min-width: 640px) {
  #social-proof { left: 1.25rem; bottom: 6rem; max-width: 300px; }
}

.social-proof-toast {
  background: linear-gradient(180deg, rgba(8,32,63,0.85), rgba(4,22,46,0.85));
  border: 1px solid rgba(151,182,199,0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 1rem;
  padding: 0.875rem 1rem 0.875rem 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.5);
  pointer-events: auto;
  animation: social-in 0.5s cubic-bezier(0.2,0.8,0.2,1) forwards;
}
.social-proof-toast.hiding {
  animation: social-out 0.4s ease forwards;
}
.social-avatar {
  position: relative;
  flex-shrink: 0;
}
.social-avatar-circle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #58819d, #143d63);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--foreground);
}
.social-avatar-status {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 9999px;
  background: #9be3a4;
  border: 2px solid #04162e;
}
.social-info { min-width: 0; }
.social-name-row {
  font-size: 0.875rem;
  line-height: 1.3;
}
.social-name { font-weight: 500; color: var(--foreground); }
.social-action { color: #a8c4d3; }
.social-meta {
  font-size: 11px;
  color: #7a99ad;
  margin-top: 0.125rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.social-dot-sep {
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 9999px;
  background: #7a99ad;
}

/* ── Modal / Dialog ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4,22,46,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}
.modal-overlay.open { display: flex; }

.modal-box {
  position: relative;
  width: 100%;
  max-width: 32rem;
  max-height: 92vh;
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(8,32,63,0.92), rgba(4,22,46,0.92));
  border: 1px solid rgba(151,182,199,0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 1.5rem;
  color: var(--foreground);
  animation: scale-in 0.3s cubic-bezier(0.2,0.8,0.2,1);
}
.modal-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(151,182,199,0.05) 1px, transparent 1px);
  background-size: 4px 4px;
  opacity: 0.3;
  pointer-events: none;
  border-radius: inherit;
}
.modal-glow {
  position: absolute;
  top: -5rem;
  right: -5rem;
  width: 16rem;
  height: 16rem;
  border-radius: 9999px;
  background: rgba(151,182,199,0.2);
  filter: blur(3rem);
  pointer-events: none;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  border: 1px solid rgba(151,182,199,0.2);
  background: rgba(151,182,199,0.06);
  color: #97b6c7;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
}
.modal-close:hover { background: rgba(151,182,199,0.15); color: #eaf2f8; }

.modal-form-wrap { padding: 1.25rem; }
@media (min-width: 640px) { .modal-form-wrap { padding: 1.75rem; } }

.modal-eyebrow {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #97b6c7;
  margin-bottom: 0.5rem;
}
.modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
@media (min-width: 640px) { .modal-title { font-size: 1.875rem; } }
.modal-desc {
  color: #a8c4d3;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.form { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.875rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; }
.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: #c8dce5;
  margin-bottom: 0.375rem;
  margin-left: 0.125rem;
}
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: rgba(151,182,199,0.06);
  border: 1px solid rgba(151,182,199,0.18);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-input::placeholder { color: #7a99ad; }
.form-input:focus { border-color: #97b6c7; }

.form-error {
  font-size: 0.75rem;
  color: #fca5a5;
  margin-top: 0.25rem;
  margin-left: 0.25rem;
  display: none;
}
.form-error.visible { display: block; }
.form-input.invalid { border-color: rgba(252,165,165,0.6); }

/* Radio-style plan buttons */
.plan-options { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.25rem; }
.plan-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  border: 1px solid rgba(151,182,199,0.18);
  background: rgba(151,182,199,0.04);
  color: #a8c4d3;
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  transition: all 0.2s;
  font-family: var(--font-body);
  cursor: pointer;
}
.plan-btn:hover { border-color: rgba(151,182,199,0.4); }
.plan-btn.active {
  background: rgba(151,182,199,0.18);
  border-color: #97b6c7;
  color: var(--foreground);
}
.plan-dot {
  margin-top: 0.125rem;
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 9999px;
  border: 1px solid rgba(151,182,199,0.5);
  flex-shrink: 0;
  transition: all 0.2s;
}
.plan-btn.active .plan-dot {
  background: #97b6c7;
  border-color: #97b6c7;
}

/* Ready buttons */
.ready-options { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 0.25rem; }
@media (max-width: 360px) { .ready-options { grid-template-columns: 1fr; } }
.ready-btn {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  border: 1px solid rgba(151,182,199,0.18);
  background: rgba(151,182,199,0.04);
  color: #a8c4d3;
  text-align: left;
  transition: all 0.2s;
  font-family: var(--font-body);
  cursor: pointer;
  display: flex;
  align-items: center;
}
.ready-btn:hover { border-color: rgba(151,182,199,0.4); }
.ready-btn.active {
  background: rgba(151,182,199,0.18);
  border-color: #97b6c7;
  color: var(--foreground);
}
.ready-dot {
  display: inline-block;
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 9999px;
  border: 1px solid rgba(151,182,199,0.5);
  margin-right: 0.5rem;
  vertical-align: middle;
  flex-shrink: 0;
  transition: all 0.2s;
}
.ready-btn.active .ready-dot {
  background: #97b6c7;
  border-color: #97b6c7;
}

.form-submit {
  padding: 1rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
}
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-privacy {
  font-size: 11px;
  text-align: center;
  color: #7a99ad;
  padding-top: 0.25rem;
}

/* Success state */
.modal-success {
  padding: 1.75rem 2rem;
  text-align: center;
  display: none;
}
.modal-success.visible { display: block; animation: scale-in 0.35s cubic-bezier(0.2,0.8,0.2,1); }
.success-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #c4d6e0, #58819d);
  display: flex;
  align-items: center;
  justify-content: center;
}
.success-title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  margin-bottom: 0.75rem;
}
.success-desc {
  color: #a8c4d3;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}
@media (min-width: 640px) { .success-desc { font-size: 1rem; } }
.success-btns {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 24rem;
  margin: 0 auto;
}
.success-wa-btn {
  padding: 1rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  gap: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.success-copy-btn {
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 0.875rem;
  gap: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.success-note {
  font-size: 11px;
  color: #7a99ad;
  margin-top: 1.5rem;
}

/* ── Scroll-triggered animations ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — ajustements déclaratifs sans conflit
   (les tailles hero-h1 sont déjà gérées par breakpoints plus haut)
═══════════════════════════════════════════════════════════ */

/* ── Mobile (< 640px) ── */
@media (max-width: 639px) {

  /* Sections : padding réduit */
  section { padding: 4rem 1rem; }
  #hero    { padding-top: 5rem; padding-bottom: 5rem; }
  #contact { padding: 5rem 1rem; }

  /* Hero subsections */
  .hero-subtitle { font-size: 0.95rem; }
  .hero-logo-bg  { width: 280px; }

  /* Story */
  .story-photo-wrap { max-width: 320px; padding-bottom: 2rem; }
  .story-photo-frame { transform: none; } /* pas de 3D sur mobile */
  .story-text { font-size: 0.95rem; gap: 1rem; }
  .story-text blockquote { font-size: 1.1rem; }
  .story-badge { right: 0; bottom: 0.25rem; }

  /* Section h2 légèrement réduit */
  .section-h2 { font-size: clamp(1.75rem, 7vw, 2.5rem); }

  /* Pain grid */
  .pain-grid { gap: 0.75rem; }

  /* Method */
  .method-card { padding: 1rem 1.25rem; gap: 1rem; }
  .method-num  { width: 2.5rem; height: 2.5rem; font-size: 0.85rem; }

  /* Offers */
  .offer-card { padding: 1.5rem; }
  .offer-pro-wrap { margin-top: 3rem; }

  /* Scarcity */
  .scarcity-card { padding: 2rem 1.25rem; }
  .stat-glass    { padding: 0.875rem 0.5rem; }
  .stat-num      { font-size: 1.5rem; }

  /* Steps */
  .step-card  { padding: 1.25rem; }
  .step-title { font-size: 1.1rem; }
  .step-num-bg { font-size: 3.5rem; }

  /* CTA buttons : pleine largeur */
  .cta-btns { flex-direction: column; align-items: stretch; }
  .cta-btns .btn-shine,
  .cta-btns .btn-ghost { width: 100%; text-align: center; justify-content: center; }

  /* Modal */
  .modal-box { border-radius: 1rem; padding: 1.5rem; }
  .form-row  { grid-template-columns: 1fr; }

  /* Sticky CTA */
  #sticky-cta { left: 0.75rem; right: 0.75rem; }
  .sticky-cta-inner { padding: 0.625rem 0.875rem; gap: 0.5rem; }
  .sticky-text { display: none; } /* masqué sur très petit écran pour laisser bouton */
}

/* ── Très petit écran (< 375px) ── */
@media (max-width: 374px) {
  .hero-badges { font-size: 0.7rem; }
}

/* ── Tablet (640–1023px) : uniquement les ajustements nécessaires ── */
@media (min-width: 640px) and (max-width: 1023px) {
  .story-photo-wrap { max-width: 360px; }
}

/* ── Large desktop (≥ 1280px) ── */
@media (min-width: 1280px) {
  .section-inner { max-width: 64rem; } /* EXACT: max-w-5xl = 64rem */
  .hero-center   { max-width: 64rem; } /* EXACT: max-w-5xl = 64rem */
}

/* ── Fallback image : fond placeholder si tony.png non chargé ── */
.story-photo-frame {
  min-height: 280px;
  background: linear-gradient(145deg, #0a2848, #061a36);
}
@media (min-width: 640px) { .story-photo-frame { min-height: 420px; } }

