/* ═══════════════════════════════════════════════════════════════
   DematCard — Site vitrine v2  ·  Maximum Style
   ═══════════════════════════════════════════════════════════════ */

/* ── Reset & base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Palette marine */
  --bg0:        #04080F;
  --bg1:        #080F1A;
  --bg2:        #0D1526;
  --bg3:        #111E32;
  --surface:    rgba(255,255,255,.04);
  --surface-h:  rgba(255,255,255,.07);
  --border:     rgba(255,255,255,.07);
  --border-h:   rgba(212,160,48,.35);

  /* Or */
  --gold:       #D4A030;
  --gold-lt:    #F0CC60;
  --gold-dim:   rgba(212,160,48,.15);
  --gold-glow:  rgba(212,160,48,.25);

  /* Texte */
  --text:       #EDE8E0;
  --text-dim:   #8A8070;
  --text-muted: #506070;

  /* Accents */
  --cyan:       #3AB5C8;
  --cyan-dim:   rgba(58,181,200,.12);

  /* Typo */
  --ff-serif:   'Playfair Display', Georgia, serif;
  --ff-sans:    'Inter', system-ui, -apple-system, sans-serif;

  /* Rayons */
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  32px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-in-expo:  cubic-bezier(.7, 0, .84, 0);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  /* Empêche iOS de grossir les textes en mode paysage */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: var(--bg0);
  color: var(--text);
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Supprime le flash bleu au tap sur iOS/Android */
  -webkit-tap-highlight-color: transparent;
}

/* ── Curseur personnalisé ────────────────────────────────────── */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  opacity: 0;
  transition: opacity .2s ease;
}
.cursor-trail {
  position: fixed;
  top: 0; left: 0;
  width: 32px; height: 32px;
  border: 1px solid rgba(212,160,48,.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  will-change: transform;
  opacity: 0;
  transition: opacity .3s ease;
}
body.cursor-visible .cursor,
body.cursor-visible .cursor-trail { opacity: 1; }

/* ── Liens de base ───────────────────────────────────────────── */
a { color: inherit; text-decoration: none; }

/* ── Container ───────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ══════════════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .4s ease, box-shadow .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
/* safe-area uniquement sur mobile iOS/Android, jamais sur macOS */
@supports (padding-top: env(safe-area-inset-top)) {
  @media (max-width: 1024px) {
    .nav { padding-top: env(safe-area-inset-top); }
  }
}
.nav.scrolled {
  background: rgba(4, 8, 15, .9);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 40px rgba(0,0,0,.5);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-family: var(--ff-serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .5px;
}
.brand-logo {
  display: block;
  width: 32px; height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform .4s var(--ease-out-expo);
}
.brand-logo-sm {
  width: 24px; height: 24px;
}
.nav-brand:hover .brand-logo { transform: rotate(15deg) scale(1.08); }
.brand-name {
  color: var(--gold); /* fallback si background-clip échoue */
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.brand-leaf-sm {
  width: 20px; height: 20px;
}

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav-link {
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: .3px;
  position: relative;
  transition: color .2s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease-out-expo);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-btn {
  margin-left: 12px;
  padding: 10px 22px;
  border: 1px solid var(--gold);
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .4px;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.nav-btn:hover {
  background: var(--gold);
  color: var(--bg0);
  box-shadow: 0 0 24px var(--gold-glow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(4, 8, 15, .95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s var(--ease-out-expo);
}
.nav-mobile.open { max-height: 300px; }
.nav-mobile a {
  padding: 16px 32px;
  font-size: .95rem;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  transition: color .2s, background .2s;
}
.nav-mobile a:hover { color: var(--gold); background: var(--gold-dim); }

/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  /* 100vh fallback pour anciens Safari iOS, 100svh évite le bug de la barre d'URL */
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: 72px;
}

/* Fond orbs */
.hero-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  overflow: hidden;
  z-index: 0;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: .3;
  /* PAS de will-change ici : sur Safari, will-change+filter clippe le blur à la box */
  animation: float 9s ease-in-out infinite;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212,160,48,.55) 0%, rgba(212,160,48,0) 70%);
  top: -150px; right: -80px;
  animation-duration: 10s;
}
.orb-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(58,181,200,.45) 0%, rgba(58,181,200,0) 70%);
  bottom: 20px; left: -80px;
  animation-duration: 12s;
  animation-delay: -4s;
}
.orb-3 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(100,80,200,.35) 0%, rgba(100,80,200,0) 70%);
  top: 40%; left: 40%;
  animation-duration: 14s;
  animation-delay: -7s;
}
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%       { transform: translate3d(0, -32px, 0) scale(1.04); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

/* Contenu hero */
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 480px;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px 60px;
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid var(--border-h);
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--gold);
  background: var(--gold-dim);
  letter-spacing: .5px;
  margin-bottom: 24px;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,160,48,.6); }
  50%       { box-shadow: 0 0 0 6px rgba(212,160,48,0); }
}

.hero-title {
  font-family: var(--ff-serif);
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.5px;
  margin-bottom: 24px;
}
.title-gold {
  display: block;
  font-style: italic;
  color: var(--gold-lt); /* fallback */
  background: linear-gradient(135deg, var(--gold-lt) 0%, var(--gold) 50%, #B8841C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .3px;
  transition: transform .25s var(--ease-out-expo), box-shadow .25s ease, background .2s ease;
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  color: #1a0e00;
  box-shadow: 0 4px 24px var(--gold-glow);
}
.btn-gold:hover {
  box-shadow: 0 8px 40px rgba(212,160,48,.4);
}

.btn-outline {
  border: 1px solid var(--border-h);
  color: var(--text-dim);
  background: var(--surface);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--text);
  background: var(--gold-dim);
}

.btn-xl {
  padding: 18px 42px;
  font-size: 1.05rem;
}

.hero-trust {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.trust-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: var(--text-muted);
  letter-spacing: .4px;
}
.trust-pill svg { width: 7px; height: 7px; fill: var(--gold); opacity: .7; }

/* ── Maquette téléphone ───────────────────────────────────────── */
.hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}

.phone-glow {
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(212,160,48,.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 4s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.2); opacity: .6; }
}

.phone-ring {
  position: absolute;
  width: 340px; height: 340px;
  border: 1px solid rgba(212,160,48,.1);
  border-radius: 50%;
  animation: spin-slow 20s linear infinite;
}
@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

.phone-frame {
  position: relative;
  width: 240px;
  background: linear-gradient(160deg, #1A2540, #0D1526);
  border-radius: 36px;
  border: 1.5px solid rgba(255,255,255,.12);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.5),
    0 32px 64px rgba(0,0,0,.6),
    0 0 60px rgba(212,160,48,.07),
    inset 0 1px 0 rgba(255,255,255,.1);
  transform: rotateY(-8deg) rotateX(2deg) translateZ(0);
  /* pas de will-change : perd la perspective parent sur Safari */
  animation: phone-float 6s ease-in-out infinite;
}
.hero-phone { perspective: 1000px; }
@keyframes phone-float {
  0%, 100% { transform: rotateY(-8deg) rotateX(2deg) translate3d(0, 0, 0); }
  50%       { transform: rotateY(-8deg) rotateX(2deg) translate3d(0, -14px, 0); }
}

.phone-notch {
  width: 80px; height: 22px;
  background: #04080F;
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
}

.phone-screen {
  padding: 10px 14px 16px;
  min-height: 360px;
}

.ps-name {
  font-family: var(--ff-serif);
  font-size: .85rem;
  font-weight: 700;
  color: var(--gold-lt);
  text-align: center;
  letter-spacing: .5px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(212,160,48,.2);
}

.ps-section {
  font-size: .6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin: 8px 0 4px;
}

.ps-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: .72rem;
  color: rgba(237,232,224,.85);
  padding: 3px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.ps-price {
  font-family: var(--ff-serif);
  font-weight: 700;
  color: var(--gold);
  font-size: .7rem;
  white-space: nowrap;
  margin-left: 8px;
}

.ps-sep { height: 1px; background: rgba(255,255,255,.06); margin: 6px 0; }

.ps-daily {
  background: rgba(212,160,48,.08);
  border: 1px solid rgba(212,160,48,.2);
  border-radius: 6px;
  padding: 6px 8px;
  margin: 4px 0;
}
.ps-daily-tag {
  font-size: .55rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}
.ps-daily-name {
  font-size: .7rem;
  color: var(--text);
  margin: 2px 0;
  line-height: 1.3;
}
.ps-daily-price {
  font-family: var(--ff-serif);
  font-size: .72rem;
  font-weight: 700;
  color: var(--gold);
  text-align: right;
}

.ps-formula {
  display: flex;
  justify-content: space-between;
  font-size: .7rem;
  color: rgba(237,232,224,.7);
  padding: 3px 0;
}

.phone-home-bar {
  width: 80px; height: 4px;
  background: rgba(255,255,255,.2);
  border-radius: 2px;
  margin: 10px auto 14px;
}

/* Badges flottants */
.phone-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(13,21,38,.9);
  border: 1px solid var(--border-h);
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.phone-badge svg { width: 14px; height: 14px; }

.phone-badge-1 {
  top: 30%;
  right: -40px;
  animation: badge-float 5s ease-in-out infinite;
}
.phone-badge-2 {
  bottom: 25%;
  left: -50px;
  animation: badge-float 5s ease-in-out infinite;
  animation-delay: -2.5s;
}
@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* Indicateur scroll */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.scroll-line {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  /* transform-origin ne s'anime pas dans keyframes — on anime juste l'opacité */
  opacity: 0;
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%   { opacity: 0; }
  40%  { opacity: 1; }
  100% { opacity: 0; }
}

/* ══════════════════════════════════════════════════════════════
   MARQUEE
══════════════════════════════════════════════════════════════ */
.marquee-strip {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, var(--bg1), var(--bg2), var(--bg1));
  padding: 16px 0;
}
.marquee-strip::before,
.marquee-strip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 1;
}
.marquee-strip::before {
  left: 0;
  background: linear-gradient(to right, var(--bg1), transparent);
}
.marquee-strip::after {
  right: 0;
  background: linear-gradient(to left, var(--bg1), transparent);
}

.marquee-track { display: flex; }
.marquee-inner {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: .5px;
  padding: 0 28px;
}
.marquee-dot {
  color: var(--gold);
  font-size: .65rem;
  opacity: .6;
}

/* ══════════════════════════════════════════════════════════════
   SECTIONS COMMUNES
══════════════════════════════════════════════════════════════ */
.section { padding: 120px 0; }

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.3px;
}
.section-title em {
  font-style: italic;
  color: var(--gold-lt); /* fallback */
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  margin-top: 16px;
  color: var(--text-dim);
  font-size: 1rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Animations de révélation ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--ease-out-expo), transform .7s var(--ease-out-expo);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

/* ══════════════════════════════════════════════════════════════
   FONCTIONNALITÉS
══════════════════════════════════════════════════════════════ */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
}

.feat-card {
  position: relative;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .35s var(--ease-out-expo), border-color .3s ease, box-shadow .3s ease;
}
.feat-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-h);
  box-shadow: 0 24px 60px rgba(0,0,0,.4), 0 0 0 1px rgba(212,160,48,.1);
}

.feat-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(212,160,48,.07) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .4s ease;
}
.feat-card:hover .feat-card-glow { opacity: 1; }

.feat-icon-wrap {
  width: 52px; height: 52px;
  background: var(--gold-dim);
  border: 1px solid rgba(212,160,48,.2);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feat-icon-wrap svg {
  width: 26px; height: 26px;
  color: var(--gold);
}

.feat-card h3 {
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}
.feat-card p {
  font-size: .88rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 16px;
}

.feat-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--gold-dim);
  border: 1px solid rgba(212,160,48,.2);
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .4px;
}

/* ══════════════════════════════════════════════════════════════
   STATISTIQUES
══════════════════════════════════════════════════════════════ */
.stats-section {
  padding: 80px 0;
  background: linear-gradient(180deg, transparent, rgba(212,160,48,.04), transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 40px;
}

.stat-number {
  display: inline-block;
  font-family: var(--ff-serif);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--gold-lt); /* fallback */
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-suffix {
  display: inline-block;
  font-family: var(--ff-serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--gold);
  opacity: .7;
  vertical-align: bottom;
  padding-bottom: .12em;
}

.stat-label {
  margin-top: 8px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.stat-divider {
  width: 1px;
  height: 80px;
  background: var(--border);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════
   ÉTAPES
══════════════════════════════════════════════════════════════ */
.steps-section { background: var(--bg1); }

.steps-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.steps-line {
  position: absolute;
  left: 28px;
  top: 28px;
  bottom: 28px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border) 10%, var(--border) 90%, transparent);
}

.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.step-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 32px;
  align-items: start;
}
.step-item-alt .step-card { background: var(--surface); }

.step-num-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px var(--bg1), 0 0 0 5px rgba(212,160,48,.3), 0 8px 24px var(--gold-glow);
}
.step-num {
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a0e00;
}

.step-card {
  position: relative;
  padding: 32px 36px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .3s ease;
}
.step-card:hover { border-color: var(--border-h); }

.step-deco {
  position: absolute;
  bottom: -10px; right: 20px;
  font-family: var(--ff-serif);
  font-size: 6rem;
  font-weight: 800;
  color: rgba(212,160,48,.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.step-card h3 {
  font-family: var(--ff-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}
.step-card p {
  font-size: .9rem;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 16px;
}
.step-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.step-card li {
  font-size: .82rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.step-card li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  opacity: .6;
}

/* ══════════════════════════════════════════════════════════════
   TYPES DE PRÉSENTATION
══════════════════════════════════════════════════════════════ */
.types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.type-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .35s var(--ease-out-expo), border-color .3s ease;
}
.type-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-h);
}

.tc-label {
  padding: 10px 16px;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  background: var(--gold-dim);
  border-bottom: 1px solid rgba(212,160,48,.15);
}

.tc-body { padding: 16px; }

.tc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.tc-price {
  font-family: var(--ff-serif);
  font-weight: 700;
  color: var(--gold);
  font-size: .82rem;
  white-space: nowrap;
  margin-left: 8px;
}

.tc-desc {
  font-size: .78rem;
  color: var(--text-dim);
  font-style: italic;
}

.tc-tags {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.tc-tags span {
  font-size: .68rem;
  padding: 2px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-dim);
}

/* Plat du jour */
.tc-body-daily {
  padding: 0;
}
.tc-daily-banner {
  text-align: center;
  padding: 10px;
  background: linear-gradient(135deg, rgba(212,160,48,.15), rgba(212,160,48,.08));
  border-bottom: 1px solid rgba(212,160,48,.15);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold);
}
.tc-center {
  text-align: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 16px 4px;
}

/* Formule */
.tc-formula-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  color: var(--text);
  margin-bottom: 10px;
}
.tc-formula-row em { font-style: italic; color: var(--text-dim); }

.tc-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tc-chips span {
  font-size: .7rem;
  font-weight: 600;
  padding: 3px 10px;
  background: var(--cyan-dim);
  border: 1px solid rgba(58,181,200,.2);
  border-radius: 100px;
  color: var(--cyan);
  letter-spacing: .4px;
}
.tc-chips-v { flex-direction: column; }
.tc-chips-v span { width: fit-content; }

/* Composée */
.tc-body-composed {
  padding: 12px 16px;
  text-align: center;
}
.tc-comp-title {
  font-family: var(--ff-serif);
  font-size: .8rem;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 10px;
  opacity: .85;
}
.tc-comp-line {
  font-family: var(--ff-serif);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.tc-comp-plus {
  color: var(--gold);
  font-size: .75rem;
  font-weight: 700;
  opacity: .65;
  line-height: 1;
  padding: 2px 0;
}
.tc-comp-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* Texte libre */
.tc-desc-center { text-align: center; }

.tc-freetext {
  font-size: .82rem;
  font-style: italic;
  color: var(--text-dim);
  line-height: 1.75;
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════
   SÉCURITÉ
══════════════════════════════════════════════════════════════ */
.sec-section { background: var(--bg1); }

.sec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
}

.sec-card {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform .35s var(--ease-out-expo), border-color .3s ease;
}
.sec-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-h);
}

.sec-icon-wrap {
  width: 44px; height: 44px;
  background: rgba(58,181,200,.08);
  border: 1px solid rgba(58,181,200,.15);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.sec-icon-wrap svg {
  width: 22px; height: 22px;
  color: var(--cyan);
}

.sec-card h3 {
  font-family: var(--ff-serif);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.sec-card p {
  font-size: .83rem;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════════
   CTA
══════════════════════════════════════════════════════════════ */
/* ── Section démo ─────────────────────────────────────────── */
.demo-section { background: var(--bg1); }

.demo-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px 36px;
  text-align: center;
}

.demo-os {
  font-size: .92rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 20px;
  min-height: 1.2em;
}

.demo-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.demo-dl-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 200px;
  padding: 22px 16px;
  background: var(--bg3);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text);
  cursor: pointer;
  transition: border-color .25s ease, transform .25s var(--ease-out-expo), background .25s ease;
  font-family: inherit;
}
.demo-dl-btn:hover {
  border-color: var(--gold);
  background: var(--gold-dim);
  transform: translateY(-3px);
}
.demo-dl-btn svg { color: var(--gold); margin-bottom: 4px; }
.demo-dl-os {
  font-size: 1.05rem;
  font-weight: 700;
}
.demo-dl-sub {
  font-size: .74rem;
  color: var(--text-dim);
}
.demo-dl-btn.is-recommended {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

.demo-status {
  min-height: 1.4em;
  margin: 8px 0 20px;
  font-size: .9rem;
  font-weight: 500;
  white-space: pre-line;
}
.demo-status.is-error   { color: #E0696B; }
.demo-status.is-info    { color: var(--gold); }
.demo-status.is-loading { color: var(--text-dim); }
.demo-status.is-ok      { color: #4FB477; }

.demo-notes {
  list-style: none;
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  margin-top: 8px;
}
.demo-notes li {
  position: relative;
  padding-left: 24px;
  font-size: .82rem;
  color: var(--text-dim);
}
.demo-notes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ── Aide première ouverture (macOS / Windows) ─────────────── */
.demo-help {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: left;
}
.demo-help-intro {
  font-size: .84rem;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.demo-help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.demo-help-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 20px;
}
.demo-help-os {
  font-size: .95rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}
.demo-help-card ol {
  margin: 0 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.demo-help-card li {
  font-size: .83rem;
  color: var(--text);
}
.demo-help-card strong { color: var(--text); font-weight: 600; }
.demo-help-note {
  margin-top: 12px;
  font-size: .76rem;
  color: var(--text-muted);
  font-style: italic;
}

@media (max-width: 560px) {
  .demo-help-grid { grid-template-columns: 1fr; }
}

.cta-section {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
}
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.cta-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212,160,48,.18) 0%, transparent 70%);
  top: -200px; left: -100px;
}
.cta-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(58,181,200,.12) 0%, transparent 70%);
  bottom: -150px; right: -50px;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-logo {
  display: block;
  width: 56px; height: 56px;
  object-fit: contain;
  margin: 0 auto 32px;
}

.cta-title {
  font-family: var(--ff-serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
}

.cta-sub {
  font-size: 1rem;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

.cta-note {
  margin-top: 20px;
  font-size: .78rem;
  color: var(--text-muted);
  letter-spacing: .3px;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg1);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}
/* safe area bas pour iPhone avec Home Bar */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  @media (max-width: 1024px) {
    .footer { padding-bottom: max(48px, calc(32px + env(safe-area-inset-bottom))); }
  }
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  font-weight: 600;
}
.footer-brand span:last-child {
  color: var(--gold-lt); /* fallback */
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  font-size: .83rem;
  color: var(--text-muted);
  letter-spacing: .3px;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s;
}
.footer-social:hover { color: var(--gold); }

.footer-nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  font-size: .82rem;
  color: var(--text-muted);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--gold); }

.footer-legal {
  font-size: .75rem;
  color: rgba(80,96,112,.6);
  letter-spacing: .3px;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — 320px → 1400px
══════════════════════════════════════════════════════════════ */

/* ── Tablette large (≤1100px) ─────────────────────────────── */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr 400px; gap: 48px; }
  .nav-container { padding: 0 24px; }
}

/* ── Tablette / paysage mobile (≤1024px) ──────────────────── */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 48px 24px 40px;
  }
  .hero-sub { margin: 0 auto 36px; max-width: 480px; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-phone { max-width: 300px; margin: 0 auto; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .types-grid { grid-template-columns: repeat(2, 1fr); }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { gap: 0; }
}

/* ── Mobile (≤768px) ──────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links, .nav-btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile { display: flex; }

  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .section-header { margin-bottom: 48px; }

  .hero-inner {
    gap: 32px;
    padding: 36px 16px;
  }
  .hero-badge { font-size: .75rem; }
  .hero-phone { max-width: 260px; }

  .feat-grid { grid-template-columns: 1fr; gap: 16px; }
  .types-grid { grid-template-columns: 1fr; gap: 14px; }
  .sec-grid { grid-template-columns: 1fr; gap: 16px; }

  .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 0;
  }
  .stat-divider { display: none; }
  .stat-item { padding: 0 16px; }

  .steps-line { display: none; }
  .step-item { grid-template-columns: 1fr; gap: 12px; }
  .step-card { padding: 24px 20px; }
  .step-num-wrap { width: 44px; height: 44px; }

  .phone-badge { display: none; }
  .phone-ring { display: none; }
  .phone-glow { display: none; }

  .cta-section { padding: 96px 0; }
  .marquee-item { padding: 0 20px; }
}

/* ── Petit mobile (≤480px) ────────────────────────────────── */
@media (max-width: 480px) {
  .section { padding: 60px 0; }
  .section-title { font-size: 1.75rem; }
  .hero-title { font-size: clamp(1.9rem, 8.5vw, 2.4rem); }
  .hero-sub { font-size: .95rem; }

  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; justify-content: center; max-width: 320px; margin: 0 auto; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 0 12px; }

  .feat-card { padding: 24px 20px; }
  .feat-icon-wrap { width: 44px; height: 44px; }
  .feat-icon-wrap svg { width: 22px; height: 22px; }

  .nav-mobile a { padding: 14px 20px; font-size: .9rem; }
}

/* ── Très petit écran (≤375px — iPhone SE, Galaxy A…) ─────── */
@media (max-width: 375px) {
  .container { padding: 0 14px; }
  .hero-title { font-size: 1.75rem; letter-spacing: -.3px; }
  .section-title { font-size: 1.6rem; }
  .hero-sub { font-size: .9rem; }
  .hero-phone { max-width: 230px; }
  .phone-frame { width: 210px; }
  .phone-screen { padding: 8px 12px 12px; min-height: 300px; }

  .step-card { padding: 20px 16px; }
  .step-card h3 { font-size: 1.1rem; }

  .stat-number { font-size: 2.2rem; }
  .stat-suffix { font-size: 1.2rem; }

  .cta-title { font-size: 1.8rem; }
  .cta-section { padding: 80px 0; }

  .hero-badge { font-size: .7rem; padding: 6px 12px; }
  .trust-pill { font-size: .72rem; }
}

/* ── iPhone SE 1ère génération (≤320px) ───────────────────── */
@media (max-width: 320px) {
  .container { padding: 0 12px; }
  .hero-title { font-size: 1.55rem; }
  .section-title { font-size: 1.45rem; }
  .nav-container { padding: 0 12px; }
  .nav-brand { font-size: 1rem; }
  .brand-leaf { width: 22px; height: 22px; }
  .hero-phone { max-width: 200px; }
  .phone-frame { width: 190px; border-radius: 28px; }
  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
  .stat-divider { display: block; width: 60px; height: 1px; margin: 0 auto; }
}

/* ── Mode paysage sur mobile ──────────────────────────────── */
@media (max-width: 900px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-top: 64px;
  }
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    text-align: left;
    padding: 32px 24px;
  }
  .hero-ctas { justify-content: flex-start; }
  .hero-trust { justify-content: flex-start; }
  .hero-phone { max-width: 220px; }
  .scroll-indicator { display: none; }
}

/* ── Safe-area insets — iOS uniquement, jamais sur macOS ──── */
@supports (padding-left: env(safe-area-inset-left)) {
  @media (max-width: 1024px) {
    .hero-inner {
      padding-left: max(24px, env(safe-area-inset-left));
      padding-right: max(24px, env(safe-area-inset-right));
    }
  }
  @media (max-width: 768px) {
    .hero-inner {
      padding-left: max(16px, env(safe-area-inset-left));
      padding-right: max(16px, env(safe-area-inset-right));
    }
  }
  @media (max-width: 900px) and (orientation: landscape) {
    .hero-inner {
      padding-left: max(24px, env(safe-area-inset-left));
      padding-right: max(24px, env(safe-area-inset-right));
    }
  }
}

/* ── Formulaire de contact ─────────────────────────────────── */
.contact-section { background: var(--bg1); }

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.cf-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-dim);
}
.cf-label i {
  color: var(--gold);
  font-style: normal;
}

.cf-input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text);
  font-family: inherit;
  font-size: .95rem;
  transition: border-color .2s ease, background .2s ease;
}
.cf-input::placeholder { color: var(--text-muted); }
.cf-input:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--bg3);
}
select.cf-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='%23D4A030'><path d='M2 4l4 4 4-4z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
textarea.cf-input { resize: vertical; min-height: 96px; }

.cf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* Honeypot : invisible pour l'humain, présent pour les bots */
.cf-hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

.cf-submit {
  margin-top: 6px;
  border: none;
  cursor: pointer;
  align-self: flex-start;
}
.cf-submit:disabled { opacity: .6; cursor: default; }

.cf-status {
  min-height: 1.3em;
  font-size: .9rem;
  font-weight: 500;
  white-space: pre-line;
}
.cf-status.is-error   { color: #E0696B; }
.cf-status.is-loading { color: var(--text-dim); }
.cf-status.is-ok      { color: #4FB477; }

.cf-note {
  font-size: .76rem;
  color: var(--text-muted);
}
.cf-note i { color: var(--gold); font-style: normal; }

@media (max-width: 560px) {
  .cf-grid { grid-template-columns: 1fr; }
  .cf-submit { align-self: stretch; text-align: center; justify-content: center; }
}

/* ── Masquer curseur sur écrans tactiles ───────────────────── */
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-trail { display: none !important; }
}

/* ── Préférence de mouvement réduit ───────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .cursor, .cursor-trail { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition-duration: .01ms !important; }
}
