/* ===================================================================
   HOLIV — Site vitrine
   Identité : fond #040806, vert signature #3ddc84, ambiance premium
   =================================================================== */

:root {
  --bg: #040806;
  --bg-soft: #07110c;
  --green: #3ddc84;
  --green-soft: #6fe9a6;
  --green-deep: #1f8a52;
  --text: #eaf5ee;
  --text-dim: #9db3a6;
  --text-faint: #61786c;
  --card: rgba(255, 255, 255, 0.035);
  --card-border: rgba(61, 220, 132, 0.14);
  --radius: 22px;
  --maxw: 1180px;
  --font: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-title: 'Marcellus', Georgia, 'Times New Roman', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Halos verts animés en fond ---------- */
.halos { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}
.halo-1 {
  width: 60vw; height: 60vw; max-width: 700px; max-height: 700px;
  top: -10%; left: -10%;
  background: radial-gradient(circle, rgba(61,220,132,0.55), transparent 70%);
  animation: float1 22s ease-in-out infinite;
}
.halo-2 {
  width: 50vw; height: 50vw; max-width: 600px; max-height: 600px;
  top: 30%; right: -15%;
  background: radial-gradient(circle, rgba(31,138,82,0.5), transparent 70%);
  animation: float2 28s ease-in-out infinite;
}
.halo-3 {
  width: 45vw; height: 45vw; max-width: 520px; max-height: 520px;
  bottom: -15%; left: 20%;
  background: radial-gradient(circle, rgba(61,220,132,0.35), transparent 70%);
  animation: float3 26s ease-in-out infinite;
}
/* Halos sur mobile : meme effet, mais rendu FIABLE (blur allege = plus de
   disparition sur GPU mobile/iOS), bien centres, contenus dans le viewport
   (clippes par .halos overflow:hidden -> aucun scroll horizontal). */
@media (max-width: 720px) {
  .halo   { filter: blur(50px); opacity: 0.55; }
  .halo-1 { width: 85vw; height: 85vw; top: -6%;  left: -22%; }
  .halo-2 { width: 80vw; height: 80vw; top: 24%;  right: -32%; }
  .halo-3 { width: 78vw; height: 78vw; bottom: -6%; left: -12%; }
}
@keyframes float1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(8%,12%) scale(1.12)} }
@keyframes float2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-10%,-8%) scale(1.15)} }
@keyframes float3 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(6%,-10%) scale(1.08)} }

/* page content above halos */
.page { position: relative; z-index: 1; }

/* ---------- Header / nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(18px, 5vw, 48px);
  background: transparent;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-wordmark { height: 40px; width: auto; display: block; }
.brand-logo { width: 30px; height: 30px; }
.brand-name { font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand-name span { color: var(--green); }

.nav-right { display: flex; align-items: center; gap: 12px; }
.lang-switch { position: relative; display: inline-flex; }
.lang-cur { display: inline-flex; align-items: center; gap: 5px; background: transparent;
  border: 1px solid var(--card-border); color: var(--text-dim);
  font-family: var(--font); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em;
  padding: 6px 11px; border-radius: 999px; cursor: pointer; transition: color .2s, border-color .2s; }
.lang-cur:hover { color: var(--text); border-color: rgba(255,255,255,0.22); }
.lang-cur .lang-caret { font-size: 0.6rem; opacity: 0.7; transition: transform .2s; }
.lang-cur[aria-expanded="true"] .lang-caret { transform: rotate(180deg); }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 142px;
  background: #08120d; border: 1px solid var(--card-border); border-radius: 14px; padding: 6px;
  display: none; flex-direction: column; gap: 2px; z-index: 70; box-shadow: 0 18px 44px rgba(0,0,0,0.5); }
.lang-menu.open { display: flex; }
.lang-menu button { background: transparent; border: none; color: var(--text-dim); font-family: var(--font);
  font-size: 0.85rem; text-align: left; padding: 9px 12px; border-radius: 9px; cursor: pointer;
  transition: background .2s, color .2s; }
.lang-menu button:hover { background: rgba(61,220,132,0.08); color: var(--text); }
.lang-menu button.active { color: var(--accent); }

.nav-cta {
  display: inline-block; text-decoration: none;
  background: var(--accent); color: #03150b; font-weight: 500; font-size: 0.82rem;
  padding: 8px 16px; border-radius: 999px; transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(61,220,132,0.3); }

/* Menu mobile (hamburger) */
.nav-toggle { display: none; background: transparent; border: 1px solid var(--card-border);
  color: var(--text); font-size: 1.05rem; line-height: 1; width: 38px; height: 34px; border-radius: 12px;
  cursor: pointer; align-items: center; justify-content: center; transition: background 0.2s, border-color 0.2s; }
.nav-toggle:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.22); }
.nav-menu { display: none; position: absolute; top: calc(100% + 8px); right: clamp(12px, 4vw, 24px);
  min-width: 210px; background: #08120d; border: 1px solid var(--card-border); border-radius: 16px;
  padding: 8px; flex-direction: column; gap: 4px; box-shadow: 0 20px 50px rgba(0,0,0,0.55); z-index: 60; }
.nav-menu.open { display: flex; }
.nav-menu a { text-decoration: none; color: var(--text); font-weight: 500; font-size: 0.92rem;
  padding: 11px 14px; border-radius: 12px; transition: background 0.2s, color 0.2s; }
.nav-menu a:hover { background: rgba(61,220,132,0.1); color: var(--green); }
.nav-menu a.primary { background: var(--green); color: #03150b; text-align: center; }
.nav-menu a.primary:hover { color: #03150b; }

.nav-sub { text-decoration: none; color: var(--text-dim); font-size: 0.8rem; font-weight: 500;
  padding: 7px 15px; border-radius: 999px; border: 1px solid var(--card-border);
  background: transparent; transition: color 0.2s, border-color 0.2s; }
.nav-sub:hover { color: var(--text); border-color: rgba(255,255,255,0.25); }
@media (max-width: 720px) {
  .nav-sub, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (min-width: 721px) {
  .nav-toggle, .nav-menu { display: none !important; }
}

/* secondary button used in final section */
.btn-ghost { display: inline-block; text-decoration: none; color: var(--text); font-weight: 600; font-size: 0.95rem;
  padding: 13px 26px; border-radius: 999px; border: 1px solid var(--card-border); background: rgba(61,220,132,0.06);
  transition: background 0.2s, border-color 0.2s, transform 0.2s; }
.btn-ghost:hover { background: rgba(61,220,132,0.12); border-color: rgba(61,220,132,0.4); transform: translateY(-1px); }

/* ---------- Layout helpers ---------- */
.section { padding: clamp(70px, 11vw, 140px) clamp(18px, 5vw, 48px); }
.container { max-width: var(--maxw); margin: 0 auto; }

.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--green); margin-bottom: 16px;
  padding: 5px 12px; border: 1px solid var(--card-border); border-radius: 999px;
  background: rgba(61,220,132,0.04);
}
h1, h2, h3, .plan-name { font-family: var(--font-title); font-weight: 400; letter-spacing: 0; line-height: 1.14; }
.section h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin-bottom: 18px; }
.lead { font-size: clamp(1rem, 1.6vw, 1.18rem); color: var(--text-dim); max-width: 540px; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 120px clamp(18px, 5vw, 48px) 80px;
}
.hero h1 {
  font-size: clamp(1.95rem, 4.4vw, 3.1rem); max-width: 17ch; margin: 0 auto 16px;
  font-weight: 400; line-height: 1.2; letter-spacing: 0.005em;
  color: var(--text); overflow-wrap: break-word; hyphens: none;
}
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.35rem); max-width: 600px; margin: 0 auto 44px; }
.hero-badges { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
/* Hero : meme marge reguliere sous-titre -> badge App Store -> selecteur Femme/Homme */
.hero .hero-badges { margin: 0 0 44px; }
.scroll-hint {
  margin-top: 70px; color: var(--text-faint); font-size: 0.8rem; letter-spacing: 0.1em;
  text-transform: uppercase; animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 0%,100%{transform:translateY(0); opacity:0.6} 50%{transform:translateY(6px); opacity:1} }

/* ---------- Feature sections (alternating) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.feature.reverse .feature-visual { order: 2; }
.feature.reverse .feature-text { order: 1; }
.feature-text ul { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.feature-text li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-dim); }
.feature-text li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%;
  background: var(--green); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat; }

@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature.reverse .feature-visual { order: 0; }
  .feature.reverse .feature-text { order: 0; }
  .feature-visual { display: flex; justify-content: center; }
}

/* ===================================================================
   PHONE MOCKUPS — mini-aperçus stylisés des écrans de l'app
   =================================================================== */
.phone {
  width: 280px; max-width: 78vw; aspect-ratio: 9 / 18.5;
  margin: 0 auto; border-radius: 40px; padding: 14px;
  background: linear-gradient(160deg, #0c1812, #050a07);
  border: 1px solid rgba(61,220,132,0.18);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.03), inset 0 1px 0 rgba(255,255,255,0.06);
  position: relative;
}
.phone::before { /* notch */
  content: ''; position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 22px; background: #050a07; border-radius: 0 0 14px 14px; z-index: 3;
}
.screen {
  width: 100%; height: 100%; border-radius: 28px; overflow: hidden;
  background: radial-gradient(120% 80% at 50% 0%, #0a160f, #040806);
  padding: 38px 16px 18px; display: flex; flex-direction: column; gap: 14px;
}
.screen-head { display: flex; align-items: center; justify-content: space-between; }
.screen-hello { font-size: 0.92rem; font-weight: 700; }
.screen-hello small { display: block; font-size: 0.65rem; color: var(--text-faint); font-weight: 500; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--green-deep)); display:flex; align-items:center; justify-content:center; font-size:0.75rem; font-weight:700; color:#03150b; }

/* macro rings */
.rings { display: flex; justify-content: space-around; padding: 6px 0; }
.ring { --p: 70; --c: var(--green); width: 62px; height: 62px; border-radius: 50%;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), rgba(255,255,255,0.07) 0);
  display: flex; align-items: center; justify-content: center; position: relative; }
.ring::after { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: #060d09; }
.ring span { position: relative; z-index: 1; font-size: 0.6rem; font-weight: 700; text-align: center; line-height: 1.1; }
.ring span small { display:block; font-size:0.5rem; color: var(--text-faint); font-weight:500; }
.mini-card { background: var(--card); border: 1px solid rgba(255,255,255,0.05); border-radius: 14px; padding: 12px; }
.mini-card .lbl { font-size: 0.62rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.06em; }
.mini-card .val { font-size: 1.1rem; font-weight: 700; margin-top: 2px; }
.mini-card .val span { font-size: 0.7rem; color: var(--green); font-weight: 600; }
.bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,0.08); margin-top: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--green-deep), var(--green)); border-radius: 99px; }

/* cycle wheel */
.cycle-wheel { width: 130px; height: 130px; border-radius: 50%; margin: 4px auto;
  background: conic-gradient(#ff8fb1 0 28%, var(--green) 28% 50%, #ffd479 50% 72%, #7fb4ff 72% 100%);
  display: flex; align-items: center; justify-content: center; position: relative; }
.cycle-wheel::after { content: ''; position: absolute; inset: 16px; border-radius: 50%; background: #060d09; }
.cycle-center { position: relative; z-index: 1; text-align: center; }
.cycle-center b { font-size: 1.3rem; font-weight: 800; display: block; }
.cycle-center small { font-size: 0.55rem; color: var(--text-faint); }
.pills { display: flex; gap: 6px; flex-wrap: wrap; justify-content:center; }
.pill { font-size: 0.6rem; padding: 4px 9px; border-radius: 99px; background: rgba(61,220,132,0.1); color: var(--green-soft); border:1px solid rgba(61,220,132,0.18); }

/* energy bars (rythme hommes) */
.energy { display: flex; align-items: flex-end; gap: 8px; height: 70px; padding: 4px 2px; }
.energy i { flex: 1; background: linear-gradient(180deg, var(--green), var(--green-deep)); border-radius: 6px 6px 3px 3px; opacity: 0.85; }

/* scan card */
.scan-shot { background: var(--card); border:1px solid rgba(255,255,255,0.06); border-radius: 16px; padding: 14px; text-align:center; }
.scan-score { width: 72px; height: 72px; margin: 4px auto 10px; border-radius: 50%;
  border: 4px solid var(--green); display:flex; align-items:center; justify-content:center; font-size:1.5rem; font-weight:800; color: var(--green); }
.scan-line { display:flex; justify-content:space-between; font-size:0.68rem; padding: 6px 0; border-bottom:1px solid rgba(255,255,255,0.05); }
.scan-line:last-child { border:none; }
.scan-line b { color: var(--green-soft); }
.scan-frame { position: relative; height: 100px; border:1px dashed rgba(61,220,132,0.4); border-radius:16px; display:flex; align-items:center; justify-content:center; }
.scan-frame span { font-size: 2rem; }
.scan-frame::before, .scan-frame::after { content:''; position:absolute; width:18px; height:18px; border:2px solid var(--green); }
.scan-frame::before { top:8px; left:8px; border-right:none; border-bottom:none; border-radius: 6px 0 0 0; }
.scan-frame::after { bottom:8px; right:8px; border-left:none; border-top:none; border-radius: 0 0 6px 0; }

/* healing / body */
.body-map { display:flex; flex-direction:column; align-items:center; gap:10px; padding: 6px 0; }
.body-fig { width: 56px; height: 130px; position: relative; }
.body-fig svg { width:100%; height:100%; }
.body-dot { position:absolute; width:14px; height:14px; border-radius:50%; background:var(--green); box-shadow:0 0 0 4px rgba(61,220,132,0.25); animation: ping 2s ease-in-out infinite; }
@keyframes ping { 0%,100%{box-shadow:0 0 0 4px rgba(61,220,132,0.25)} 50%{box-shadow:0 0 0 8px rgba(61,220,132,0.08)} }

/* recipe */
.recipe-img { height: 96px; border-radius: 16px; background: linear-gradient(135deg, #163d28, #0a1f14); position: relative; overflow:hidden; display:flex; align-items:center; justify-content:center; font-size:2.4rem; }
.recipe-img .tag { position:absolute; top:8px; right:8px; font-size:0.58rem; background:var(--green); color:#03150b; font-weight:700; padding:3px 8px; border-radius:99px; }
.recipe-meta { display:flex; gap:14px; font-size:0.64rem; color:var(--text-dim); margin-top:8px; }
.recipe-meta b { color: var(--text); }

/* privacy lock */
.lock-screen { align-items:center; justify-content:center; text-align:center; gap:18px; }
.lock-ico { width: 72px; height:72px; border-radius:20px; background:rgba(61,220,132,0.1); border:1px solid var(--card-border); display:flex; align-items:center; justify-content:center; font-size:2rem; }

/* ---------- Generic card grid (privacy bullet cards) ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 42px; }
.card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 26px; transition: transform 0.3s, border-color 0.3s, background 0.3s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(61,220,132,0.35); background: rgba(61,220,132,0.04); }
.card .ico { width: 46px; height:46px; border-radius:13px; background:rgba(61,220,132,0.1); display:flex; align-items:center; justify-content:center; font-size:1.4rem; margin-bottom:16px; }
.card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: 0.94rem; }

/* ---------- Final CTA ---------- */
.final { text-align: center; }
.final h2 { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 720px; margin: 0 auto 18px; }
.store-badges { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 36px; }
.store-badge {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  background: #fff; color: #000; padding: 11px 20px 11px 18px; border-radius: 14px;
  transition: transform 0.2s, box-shadow 0.2s; min-width: 200px;
}
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0,0,0,0.5); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge .sb-text { text-align: left; line-height: 1.15; }
.store-badge .sb-text small { font-size: 0.62rem; display: block; opacity: 0.7; }
.store-badge .sb-text b { font-size: 1.02rem; font-weight: 600; }
.store-note { margin-top: 18px; font-size: 0.8rem; color: var(--text-faint); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid rgba(255,255,255,0.05); padding: 50px clamp(18px,5vw,48px) 40px;
  position: relative; z-index: 1;
}
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-start; }
.footer .brand-name { font-size: 1.1rem; }
.footer-tag { color: var(--text-faint); font-size: 0.85rem; margin-top: 10px; max-width: 280px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-col h4 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); margin-bottom: 12px; }
.footer-col a { display: block; color: var(--text-dim); text-decoration: none; font-size: 0.9rem; margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: var(--green); }
.footer-bottom { max-width: var(--maxw); margin: 36px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.04);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--text-faint); font-size: 0.82rem; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.45s ease-out, transform 0.45s ease-out; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.06s; }
.reveal.d2 { transition-delay: 0.12s; }
.reveal.d3 { transition-delay: 0.18s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .halo { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===================================================================
   LEGAL PAGES
   =================================================================== */
.legal { max-width: 820px; margin: 0 auto; padding: 130px clamp(18px,5vw,48px) 90px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 8px; }
.legal .updated { color: var(--text-faint); font-size: 0.85rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.3rem; margin: 36px 0 12px; color: var(--green-soft); }
.legal h3 { font-size: 1.05rem; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--text-dim); margin-bottom: 12px; }
.legal ul, .legal ol { padding-left: 22px; margin-bottom: 16px; }
.legal a { color: var(--green); }
.back-link { display:inline-flex; align-items:center; gap:6px; color: var(--green); text-decoration:none; font-size:0.9rem; margin-bottom: 30px; }
.back-link:hover { text-decoration: underline; }
.contact-box { background: var(--card); border:1px solid var(--card-border); border-radius: var(--radius); padding: 28px; margin-top: 24px; }
.contact-box a { font-size: 1.15rem; font-weight: 600; }

/* ===================================================================
   PRICING / ABONNEMENT
   =================================================================== */
.pricing { padding-top: clamp(110px, 14vw, 160px); }
.pricing-head { text-align: center; max-width: 640px; margin: 0 auto; }
.pricing-head h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 16px;
  background: linear-gradient(180deg, #ffffff 30%, #b9d8c7 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pricing-head .lead { margin: 0 auto; }

/* Billing toggle */
.billing-toggle { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 34px auto 0; }
.toggle-track { display: flex; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.07); border-radius: 999px; padding: 4px; position: relative; }
.toggle-opt { border: none; background: transparent; color: var(--text-dim); font-family: var(--font);
  font-size: 0.9rem; font-weight: 600; padding: 9px 20px; border-radius: 999px; cursor: pointer; transition: color 0.25s; position: relative; z-index: 1; }
.toggle-opt.active { color: #03150b; }
.toggle-glow { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  background: var(--green); border-radius: 999px; transition: transform 0.3s cubic-bezier(.3,.7,.2,1); }
.pricing-wrap.annual .toggle-glow { transform: translateX(100%); }
.save-badge { background: rgba(61,220,132,0.12); color: var(--green-soft); border: 1px solid var(--card-border);
  font-size: 0.78rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 880px; margin: 48px auto 0; align-items: stretch; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; max-width: 440px; } }

.plan { position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 30px 26px; transition: transform 0.3s, border-color 0.3s; }
.plan:hover { transform: translateY(-4px); }
.plan.featured { border-color: rgba(61,220,132,0.5); background: linear-gradient(180deg, rgba(61,220,132,0.07), rgba(61,220,132,0.02));
  box-shadow: 0 24px 60px rgba(61,220,132,0.08); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: var(--green); color: #03150b; font-size: 0.74rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; box-shadow: 0 8px 22px rgba(61,220,132,0.3); }
.plan-name { font-size: 1.4rem; font-weight: 800; }
.plan-tagline { color: var(--text-dim); font-size: 0.92rem; margin-top: 6px; min-height: 2.6em; }

.plan-features { list-style: none; margin: 22px 0 26px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.plan-features .allof { color: var(--green-soft); font-weight: 600; font-size: 0.88rem; margin-bottom: 2px; }
.plan-features li:not(.allof) { display: flex; align-items: flex-start; gap: 10px; color: var(--text); font-size: 0.93rem; }
.plan-features li:not(.allof)::before { content: ''; flex: none; width: 17px; height: 17px; margin-top: 3px; border-radius: 50%;
  background: var(--green); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat; }

.plan-price { margin-bottom: 8px; }
.plan-price .amt { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; }
.plan-price .per { color: var(--text-dim); font-size: 0.95rem; font-weight: 500; }
.plan-save { color: var(--green-soft); font-size: 0.82rem; margin-top: 6px; min-height: 1.2em; }
/* show monthly by default, annual when wrapper has .annual */
.pp-annual { display: none; }
.pricing-wrap.annual .pp-monthly { display: none; }
.pricing-wrap.annual .pp-annual { display: block; }

.plan-cta { display: block; text-align: center; text-decoration: none; margin-top: 22px;
  padding: 14px 20px; border-radius: 13px; font-weight: 700; font-size: 0.96rem; transition: transform 0.2s, box-shadow 0.2s; }
.plan .plan-cta { background: rgba(255,255,255,0.06); color: var(--text); border: 1px solid var(--card-border); }
.plan.featured .plan-cta { background: var(--green); color: #03150b; }
.plan-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(61,220,132,0.22); }
.plan-trial { text-align: center; color: var(--text-faint); font-size: 0.78rem; margin-top: 12px; }

.pricing-soon { text-align: center; color: var(--text-faint); font-size: 0.85rem; margin: 30px auto 0; }

/* privacy reassurance block on pricing page */
.price-privacy { max-width: 720px; margin: 56px auto 0; display: flex; gap: 18px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 26px; }
.price-privacy .ico { flex: none; width: 46px; height: 46px; border-radius: 13px; background: rgba(61,220,132,0.1);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.price-privacy h3 { font-size: 1.08rem; margin-bottom: 6px; }
.price-privacy p { color: var(--text-dim); font-size: 0.92rem; }

/* Auth modal (connexion par lien magique) */
.auth-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center;
  background: rgba(2,5,4,0.74); backdrop-filter: blur(6px); padding: 20px; }
.auth-modal.open { display: flex; }
.auth-card { width: 100%; max-width: 380px; background: #08120d; border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 30px 26px; position: relative; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.auth-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.auth-card > p { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 18px; }
.auth-input { width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 13px 15px; color: var(--text); font-family: var(--font); font-size: 0.95rem; margin-bottom: 12px; }
.auth-input:focus { outline: none; border-color: var(--green); }
.auth-send { width: 100%; background: var(--green); color: #03150b; border: none; border-radius: 12px;
  padding: 13px; font-family: var(--font); font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: transform 0.2s; }
.auth-send:hover { transform: translateY(-1px); }
.auth-send:disabled { opacity: 0.6; cursor: default; transform: none; }
.auth-status { margin-top: 14px; font-size: 0.88rem; color: var(--green-soft); min-height: 1.2em; text-align: center; }
.auth-close { position: absolute; top: 10px; right: 14px; background: none; border: none; color: var(--text-faint);
  font-size: 1.7rem; line-height: 1; cursor: pointer; }
.auth-close:hover { color: var(--text); }

/* Labels du formulaire de la page Merci */
.merci-label { display: block; font-size: 0.82rem; color: var(--text-dim); font-weight: 600; margin: 4px 0 7px; }

/* Page Merci — guide d'accès (3 étapes + badges stores) */
.merci-badge-emoji { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%;
  background: rgba(61,220,132,0.12); border: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: center; font-size: 2.2rem; }
.merci-how { color: var(--text-dim); font-size: 1rem; margin: 18px auto 0; }
.merci-steps { display: flex; flex-direction: column; gap: 14px; text-align: left; margin: 24px auto 0; max-width: 440px; }
.merci-step { display: flex; gap: 14px; align-items: flex-start; background: var(--card);
  border: 1px solid var(--card-border); border-radius: 16px; padding: 16px 18px; }
.merci-step-num { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--accent);
  color: #03150b; font-weight: 700; font-size: 0.95rem; display: flex; align-items: center; justify-content: center; }
.merci-step-body h3 { font-family: var(--font); font-size: 1.02rem; font-weight: 600; letter-spacing: 0; margin: 3px 0 5px; }
.merci-step-body p { color: var(--text-dim); font-size: 0.9rem; line-height: 1.5; }
.merci-foot { color: var(--text-faint); font-size: 0.85rem; font-style: italic; margin-top: 22px; }

/* Badges officiels App Store / Google Play */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 30px auto 0; }
.store-badge { display: inline-flex; align-items: center; gap: 11px; background: #000; color: #fff;
  border: 1px solid rgba(255,255,255,0.28); border-radius: 12px; padding: 9px 16px; text-decoration: none;
  min-width: 172px; transition: border-color .2s, transform .2s; }
.store-badge:hover { border-color: rgba(255,255,255,0.6); transform: translateY(-1px); }
.store-ico { width: 26px; height: 26px; flex: none; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.12; text-align: left; }
.store-badge small { font-size: 0.6rem; letter-spacing: 0.02em; text-transform: uppercase; opacity: 0.92; font-weight: 400; }
.store-badge b { font-size: 1.08rem; font-weight: 600; letter-spacing: -0.01em; }

/* ===================================================================
   TUNNEL (onboarding) — slides + thème selon le genre
   =================================================================== */
body { --accent: #3ddc84; --accent-deep: #1f8a52; }
body[data-gender="male"] { --accent: #3dc8e0; --accent-deep: #1f7a8a; }

.tunnel-top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center;
  justify-content: space-between; padding: 16px clamp(16px,5vw,40px); }
.tunnel-top .have-account { color: var(--text-dim); text-decoration: none; font-size: 0.85rem; }
.tunnel-top .have-account:hover { color: var(--accent); }

.tunnel { position: relative; z-index: 1; }
[data-step] { display: none; }
[data-step].active { display: block; }
[data-step].active.tunnel-placeholder { display: flex; }

/* Carrousel de slides (fondu) */
.slides { position: relative; min-height: 100vh; }
.slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 96px clamp(20px,6vw,40px) 170px; opacity: 0; pointer-events: none;
  transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.slide.active { opacity: 1; pointer-events: auto; transform: none; }
.slide-inner { max-width: 540px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.slide-visual { transform: scale(0.9); }
.slide-title { font-size: clamp(1.7rem,5vw,2.6rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.slide-sub { color: var(--text-dim); font-size: clamp(1rem,2vw,1.15rem); max-width: 470px; }

.slide-brand .brand-logo-xl { width: 92px; height: 92px; }
.slide-brand .slide-title { font-size: clamp(2rem,6vw,3.3rem);
  background: linear-gradient(180deg,#ffffff 30%,#b9d8c7 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Contrôles (bas) */
.slides-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; display: flex; flex-direction: column;
  align-items: center; gap: 14px; padding: 24px 20px clamp(22px,5vw,34px);
  background: linear-gradient(to top, var(--bg) 45%, transparent); }
.slides-dots { display: flex; gap: 8px; }
.slides-dots button { width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(255,255,255,0.2);
  cursor: pointer; padding: 0; transition: all .25s; }
.slides-dots button.on { background: var(--accent); width: 24px; border-radius: 99px; }
.slides-cta { background: var(--accent); color: #03150b; border: none; font-family: var(--font); font-weight: 700;
  font-size: 1rem; padding: 15px 44px; border-radius: 999px; cursor: pointer; min-width: 230px;
  transition: transform .2s, box-shadow .2s; }
.slides-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(61,220,132,0.28); }
.slides-skip { background: none; border: none; color: var(--text-faint); font-family: var(--font);
  font-size: 0.84rem; cursor: pointer; }
.slides-skip:hover { color: var(--text-dim); }
.slides-legal { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 2px; }
.slides-legal a { color: var(--text-faint); text-decoration: none; font-size: 0.74rem; }
.slides-legal a:hover { color: var(--accent); }

.tunnel-placeholder { min-height: 100vh; align-items: center; justify-content: center;
  text-align: center; padding: 100px 30px; }

/* Questionnaire */
.q-wrap { max-width: 560px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; padding: 108px 20px 48px; }
.q-progress { height: 6px; background: rgba(255,255,255,0.08); border-radius: 99px; overflow: hidden; margin-bottom: 0; flex: none; }
.q-progress i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 99px; transition: width .3s ease; }
.q-mid { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 36px; }
.q-body { width: 100%; }
.q-title { font-size: clamp(1.4rem,4.4vw,2rem); font-weight: 400; letter-spacing: 0; margin-bottom: 8px; line-height: 1.18; text-align: center; }
.q-hint { color: var(--text-faint); font-size: 0.9rem; margin-bottom: 26px; text-align: center; }
.q-section { margin-bottom: 26px; }
.q-section > .q-sub { font-size: 0.95rem; font-weight: 600; color: var(--text); margin-bottom: 10px; text-align: center; }
.q-options { display: flex; flex-direction: column; gap: 10px; }
.q-card { display: flex; flex-direction: column; gap: 2px; text-align: left; width: 100%; background: var(--card);
  border: 1px solid var(--card-border); border-radius: 14px; padding: 15px 17px; cursor: pointer; color: var(--text);
  font-family: var(--font); font-size: 1rem; transition: border-color .2s, background .2s; }
.q-card:hover { border-color: rgba(255,255,255,0.22); }
.q-card.sel { border-color: var(--accent); background: rgba(61,220,132,0.08); }
body[data-gender="male"] .q-card.sel { background: rgba(61,200,224,0.10); }
.q-card .q-card-sub { font-size: 0.82rem; color: var(--text-dim); }
.q-chips { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }
.q-chip { background: var(--card); border: 1px solid var(--card-border); border-radius: 999px; padding: 10px 16px;
  cursor: pointer; color: var(--text); font-family: var(--font); font-size: 0.92rem; transition: border-color .2s, background .2s; }
.q-chip.sel { border-color: var(--accent); background: rgba(61,220,132,0.10); color: var(--accent); }
.q-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.q-field { margin-bottom: 16px; }
.q-field label { display: block; font-size: 0.85rem; color: var(--text-dim); font-weight: 600; margin-bottom: 7px; }
.q-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--card);
  border: 1px solid var(--card-border); border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; cursor: pointer; }
.q-toggle .q-toggle-label { font-size: 0.95rem; }
.q-switch { width: 44px; height: 26px; border-radius: 99px; background: rgba(255,255,255,0.14); position: relative; flex: none; transition: background .2s; }
.q-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.q-toggle.on .q-switch { background: var(--accent); }
.q-toggle.on .q-switch::after { transform: translateX(18px); }
.q-link { display: block; margin: 10px auto 0; background: none; border: none; color: var(--accent); font-family: var(--font); font-size: 0.88rem; cursor: pointer; padding: 6px 0; text-decoration: underline; text-align: center; }
.q-note { color: var(--accent); font-size: 0.9rem; text-align: center; margin: 8px auto 0; line-height: 1.45; max-width: 36ch; }
.q-nav { display: flex; gap: 12px; align-items: center; justify-content: center; margin-top: 34px; }
.q-back { background: none; border: 1px solid var(--card-border); color: var(--text-dim); border-radius: 999px;
  padding: 13px 22px; font-family: var(--font); font-weight: 600; cursor: pointer; }
.q-back[hidden] { display: none; }
.q-next { flex: 1; max-width: 320px; background: var(--accent); color: #03150b; border: none; border-radius: 999px;
  padding: 14px; font-family: var(--font); font-weight: 700; font-size: 1rem; cursor: pointer; transition: opacity .2s; }
.q-next:disabled { opacity: .4; cursor: default; }
.q-dump { text-align: left; background: #0a140e; border: 1px solid var(--card-border); border-radius: 12px; padding: 16px;
  font-size: 0.72rem; color: var(--text-dim); max-height: 320px; overflow: auto; white-space: pre-wrap; word-break: break-word; }

/* ===================================================================
   REFONTE LANDING — logo image, bouton principal, captures, mode homme
   =================================================================== */
.brand-logo-img { height: 38px; width: auto; display: block; }
.hero-logo { width: clamp(300px, 64vw, 560px); height: auto; margin: 0 auto -62px; display: block;
  filter: drop-shadow(0 14px 40px rgba(61,220,132,0.20)); }

.btn-primary { display: inline-block; background: var(--accent); color: #03150b; font-family: var(--font);
  font-weight: 600; font-size: 1.02rem; letter-spacing: 0.01em; padding: 16px 46px; border: none; border-radius: 999px;
  cursor: pointer; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(61,220,132,0.28); }

/* Cadre téléphone pour les VRAIES captures (placeholder élégant si absente) */
.shot { width: 270px; max-width: 74vw; aspect-ratio: 9 / 19; margin: 0 auto; border-radius: 38px; padding: 11px;
  background: linear-gradient(160deg, #0c1812, #050a07); border: 1px solid var(--card-border);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.05); }
.shot-screen { position: relative; width: 100%; height: 100%; border-radius: 28px; overflow: hidden;
  background: radial-gradient(120% 80% at 50% 0%, #0a160f, #040806); }
.shot-img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; display: block; }
.shot-ph { position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 12px; color: var(--text-faint); text-align: center; padding: 20px; }
.shot-ph .leaf { font-size: 2rem; opacity: 0.55; }
.shot-ph small { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* Mode HOMME : la page entière se teinte en bleu (halos + accents) */
body[data-gender="male"] .halo-1 { background: radial-gradient(circle, rgba(61,200,224,0.5), transparent 70%); }
body[data-gender="male"] .halo-2 { background: radial-gradient(circle, rgba(31,122,138,0.5), transparent 70%); }
body[data-gender="male"] .halo-3 { background: radial-gradient(circle, rgba(61,200,224,0.32), transparent 70%); }

/* Transitions douces lors de la bascule de couleur */
.halo { transition: background .6s ease; }
.btn-primary { transition: transform .25s ease, box-shadow .25s ease, background .4s ease; }

/* Toggle Women / Men (landing) */
.gtoggle { display: inline-flex; position: relative; background: rgba(255,255,255,0.05); border: 1px solid var(--card-border);
  border-radius: 999px; padding: 4px; margin: 0 auto 26px; }
.gtoggle-glow { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: var(--accent);
  border-radius: 999px; transition: transform .4s cubic-bezier(.3,.7,.2,1), background .4s ease; }
body[data-gender="male"] .gtoggle-glow { transform: translateX(100%); }
.gtoggle-opt { position: relative; z-index: 1; border: none; background: transparent; color: var(--text-dim);
  font-family: var(--font); font-weight: 600; font-size: 0.9rem; padding: 9px 24px; border-radius: 999px; cursor: pointer; transition: color .3s ease; }
body:not([data-gender="male"]) .gtoggle-opt[data-g="female"] { color: #03150b; }
body[data-gender="male"] .gtoggle-opt[data-g="male"] { color: #03150b; }

/* Capture du hero + cross-fade des captures qui changent selon le genre */
.hero-shot { margin-top: 44px; display: flex; justify-content: center; }
.shot-screen.swap .shot-img { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity .55s ease; }
.shot-screen.swap .shot-women { opacity: 1; }
body[data-gender="male"] .shot-screen.swap .shot-women { opacity: 0; }
body[data-gender="male"] .shot-screen.swap .shot-men { opacity: 1; }

/* Invitation à scroller (hero) */
.scroll-cue { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 40px;
  color: var(--text-faint); text-decoration: none; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; }
.scroll-cue:hover { color: var(--accent); }
.scroll-cue .scroll-arrow { font-size: 1.2rem; animation: bob 2s ease-in-out infinite; }

/* Lien discret : sauter directement au "Get started" en bas */
.hero-skip { margin-top: 16px; color: var(--text-faint); text-decoration: none;
  font-size: 0.78rem; letter-spacing: 0.04em; opacity: 0.7; transition: color .2s, opacity .2s; }
.hero-skip:hover { color: var(--accent); opacity: 1; }

/* Hero (refonte) : plus d'air */
.hero { gap: 6px; }
.hero .gtoggle { margin-top: 0; }
