/* Le Grand Oui : l'univers du faire-part. Encre, ivoire et doré, une arche de cérémonie pour encadrer l'application.
   Mise en page : grandes bandes alternées ivoire / encre, titres fins en Cormorant avec une partie en italique dorée,
   écrans de l'application posés dans des arches. Un seul visuel assumé (clair avec bandes sombres), couleurs toutes explicites. */
:root {
  --ivory: #faf7f2;
  --paper: #ffffff;
  --sand: #f2ebe0;
  --ink: #1c1814;
  --ink-2: #2a2521;
  --ink-soft: #6b6159;
  --ink-muted: #9d9389;
  --line: #e6ddcf;
  --gold: #b08d57;
  --gold-deep: #8a6a3a;
  --champagne: #dcc59c;
  --gold-soft: #ece0c8;
  --sage: #7f9179;
  --sage-soft: #e3e9df;
  --on-dark: #f6efe3;
  --on-dark-soft: rgba(246, 239, 227, 0.68);
  --on-dark-line: rgba(220, 197, 156, 0.22);
  --serif: 'Cormorant Garamond', 'Cormorant', Garamond, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max: 1180px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold-soft); color: var(--ink); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

mark.todo { background: #fff1b8; color: #2a2521; border-radius: 4px; padding: 0 4px; box-shadow: inset 0 -1px 0 #e5c95a; }

/* ---------- typographie ---------- */
h1, h2, h3 { font-family: var(--serif); color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-weight: 300; font-size: clamp(48px, 7.4vw, 92px); line-height: 0.98; letter-spacing: -0.02em; }
h2 { font-weight: 300; font-size: clamp(38px, 5vw, 62px); line-height: 1.02; letter-spacing: -0.015em; }
h3 { font-weight: 500; font-size: 27px; line-height: 1.15; }
h1 em, h2 em { font-style: italic; font-weight: 300; color: var(--gold-deep); }
p { margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.lead { font-size: 19px; line-height: 1.7; color: var(--ink-soft); max-width: 34em; }
.muted { color: var(--ink-soft); }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px; border-radius: 999px;
  font: 500 15px/1 var(--sans); letter-spacing: 0.02em; text-decoration: none;
  border: 1px solid var(--ink); background: var(--ink); color: var(--on-dark); cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(28, 24, 20, 0.16); }
.btn.small { height: 42px; padding: 0 20px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--gold); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn.gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); box-shadow: 0 12px 28px rgba(138, 106, 58, 0.3); }

/* ---------- en-tête ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
  background: rgba(250, 247, 242, 0.86);
  backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s;
}
body::before { content: ''; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 31; background: var(--ivory); }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header > .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { width: 76px; height: 64px; object-fit: contain; }
.brand .logo-dark { display: none; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav-link { position: relative; color: var(--ink-soft); text-decoration: none; font-size: 14.5px; font-weight: 500; letter-spacing: 0.01em; padding: 6px 0; }
.nav-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { transform: scaleX(1); }
.pro-login svg { width: 15px; height: 15px; fill: currentColor; flex: none; }

/* En-tête posé sur un héros sombre, tant qu'on n'a pas fait défiler */
.has-dark-hero::before { background: var(--ink); }
.has-dark-hero .site-header:not(.scrolled):not(.menu-open) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-dark-hero .site-header:not(.scrolled):not(.menu-open) .logo-light { display: none; }
.has-dark-hero .site-header:not(.scrolled):not(.menu-open) .logo-dark { display: block; }
.has-dark-hero .site-header:not(.scrolled):not(.menu-open) .nav-link { color: var(--on-dark-soft); }
.has-dark-hero .site-header:not(.scrolled):not(.menu-open) .nav-link:hover { color: var(--on-dark); }
.has-dark-hero .site-header:not(.scrolled):not(.menu-open) .btn.ghost { color: var(--on-dark); border-color: var(--on-dark-line); }
.has-dark-hero .site-header:not(.scrolled):not(.menu-open) .menu-btn span { background: var(--on-dark); }
.has-dark-hero main { margin-top: -77px; }

/* Menu sur téléphone */
.menu-btn { display: none; width: 46px; height: 46px; border: 0; background: transparent; border-radius: 50%; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 27px; }
.menu-open .menu-btn span:first-child { top: 22.5px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 22.5px; transform: rotate(-45deg); }
.menu { border-top: 1px solid var(--line); background: var(--ivory); }
.menu .wrap { display: flex; flex-direction: column; padding-block: 8px 24px; }
.menu a:not(.btn) { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 28px; font-weight: 400; color: var(--ink); text-decoration: none; }
.menu a small { display: block; font-family: var(--sans); font-size: 13px; color: var(--ink-muted); margin-top: 2px; }
.menu .btn { margin-top: 22px; }
@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: block; }
}
@media (min-width: 901px) { .menu { display: none !important; } }

/* ---------- boutons des stores ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-width: 196px;
  padding: 11px 22px 11px 16px; border-radius: 14px; text-decoration: none;
  background: var(--ink); color: var(--on-dark); border: 1px solid var(--ink);
  transition: transform 0.25s var(--ease), border-color 0.25s;
}
.store:hover { transform: translateY(-2px); }
.store svg { width: 24px; height: 24px; flex: none; fill: currentColor; opacity: 0.9; }
.store small { display: block; font-size: 10.5px; opacity: 0.7; letter-spacing: 0.06em; text-transform: uppercase; }
.store strong { display: block; font-size: 17px; font-weight: 500; line-height: 1.25; }
.store.soon { background: transparent; color: var(--ink); border-color: var(--line); cursor: default; }
.store.soon:hover { transform: none; }
.reassure { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 26px; font-size: 13.5px; color: var(--ink-soft); }
.reassure span { display: inline-flex; align-items: center; gap: 8px; }
.reassure span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* ---------- héros (bande encre) ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(60% 70% at 78% 42%, rgba(176, 141, 87, 0.30), rgba(176, 141, 87, 0) 70%),
    radial-gradient(40% 50% at 8% 100%, rgba(127, 145, 121, 0.16), rgba(127, 145, 121, 0) 70%),
    var(--ink);
  padding-block: 150px 96px;
}
.hero::after {
  /* grain très léger, comme un papier vergé */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.06; mix-blend-mode: soft-light;
  background-image: repeating-linear-gradient(0deg, #fff 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, #fff 0 1px, transparent 1px 4px);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 48px; align-items: center; }
.hero h1 { color: var(--on-dark); margin-bottom: 28px; }
.hero h1 em { color: var(--champagne); }
.hero .eyebrow { color: var(--champagne); }
.hero .lead { color: var(--on-dark-soft); }
.hero .store { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.hero .store.soon { background: transparent; color: var(--on-dark); border-color: var(--on-dark-line); }
.hero .reassure { color: var(--on-dark-soft); }
.hero .reassure span::before { background: var(--champagne); }
.hero .btn.ghost { color: var(--on-dark); border-color: var(--on-dark-line); }
.hero .links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-solo .wrap { grid-template-columns: minmax(0, 1fr); }
.hero-solo .hero-text { max-width: 820px; }

/* Apparition douce au chargement (le contenu reste lisible sans animation) */
@media (prefers-reduced-motion: no-preference) {
  .hero-text > * { animation: rise 0.9s var(--ease) both; }
  .hero-text > *:nth-child(2) { animation-delay: 0.08s; }
  .hero-text > *:nth-child(3) { animation-delay: 0.16s; }
  .hero-text > *:nth-child(n + 4) { animation-delay: 0.24s; }
  .phones { animation: rise 1.1s 0.15s var(--ease) both; }
  .phones .front { animation: float 7s 1.2s ease-in-out infinite; }
}
@keyframes rise { from { opacity: 0.001; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* Téléphones dans l'arche */
.phones { position: relative; height: 620px; }
.arch-line {
  position: absolute; left: 50%; top: 10px; width: 380px; height: 600px; transform: translateX(-46%);
  border: 1px solid var(--on-dark-line); border-radius: 190px 190px 0 0; border-bottom: 0;
}
.arch-line::before { content: ''; position: absolute; inset: 14px 14px 0; border: 1px solid rgba(220, 197, 156, 0.12); border-radius: 176px 176px 0 0; border-bottom: 0; }
.phone {
  position: absolute; width: 268px; aspect-ratio: 390 / 844;
  border-radius: 44px; padding: 8px; background: #0f0d0b;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06), inset 0 0 0 1px #3a332e;
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 36px; }
.phones .front { left: 50%; top: 40px; transform: translateX(-30%); z-index: 2; }
.phones .back { left: 50%; top: 96px; transform: translateX(-92%) rotate(-6deg); opacity: 0.9; filter: saturate(0.9); }
.countdown-chip {
  position: absolute; z-index: 3; right: 0; bottom: 64px;
  background: rgba(250, 247, 242, 0.96); color: var(--ink); border-radius: 20px; padding: 16px 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); display: flex; align-items: center; gap: 12px;
}
.countdown-chip b { font-family: var(--serif); font-weight: 300; font-size: 42px; line-height: 1; font-variant-numeric: lining-nums; }
.countdown-chip span { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); max-width: 8em; line-height: 1.4; }

@media (max-width: 900px) {
  .hero { padding-block: 120px 56px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .phones { height: 540px; max-width: 420px; width: 100%; margin: 0 auto; }
  .arch-line { width: 320px; height: 520px; border-radius: 160px 160px 0 0; }
  .arch-line::before { border-radius: 146px 146px 0 0; }
  .phone { width: 232px; border-radius: 38px; }
  .phone img { border-radius: 31px; }
}
@media (max-width: 440px) {
  .phones { height: 450px; }
  .arch-line { width: 270px; height: 440px; }
  .phone { width: 196px; border-radius: 34px; }
  .phone img { border-radius: 27px; }
  .phones .front { top: 28px; }
  .phones .back { top: 74px; transform: translateX(-80%) rotate(-6deg); }
  .phones .front { transform: translateX(-22%); }
  .countdown-chip { bottom: 24px; padding: 12px 14px; }
  .countdown-chip b { font-size: 32px; }
}

/* ---------- chiffres ---------- */
.facts { padding-block: 64px; background: var(--ivory); border-bottom: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 4px 28px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { display: block; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 64px; line-height: 1; font-variant-numeric: lining-nums; color: var(--gold-deep); }
.fact span { display: block; margin-top: 12px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; max-width: 16em; }
@media (max-width: 820px) {
  .facts { padding-block: 44px; }
  .facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .fact { padding: 0 0 0 18px; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact b { font-size: 50px; }
}

/* ---------- sections ---------- */
section { scroll-margin-top: 84px; }
.section { padding-block: 120px; }
.section-head { max-width: 44em; margin-bottom: 72px; }
.section-head h2 { margin-bottom: 22px; }
@media (max-width: 760px) { .section { padding-block: 76px; } .section-head { margin-bottom: 44px; } }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.feature + .feature { margin-top: 120px; }
.feature.reverse .feature-media { order: 2; }
/* Écran entier, posé sur un fond arrondi champagne, avec une fine arche dorée derrière */
.feature-media {
  position: relative; display: flex; justify-content: center; align-items: center;
  padding: 56px 24px; border-radius: 36px; overflow: hidden; isolation: isolate;
  background: radial-gradient(80% 70% at 50% 30%, #fbf6ec 0%, var(--gold-soft) 55%, var(--sand) 100%);
}
.feature-media::before {
  content: ''; position: absolute; z-index: -1; left: 50%; top: 28px; bottom: 0; width: min(330px, 78%); transform: translateX(-50%);
  border: 1px solid rgba(176, 141, 87, 0.4); border-bottom: 0; border-radius: 999px 999px 0 0;
}
.feature-media::after {
  /* reflet doré qui passe lentement */
  content: ''; position: absolute; z-index: -1; inset: -40%; pointer-events: none;
  background: conic-gradient(from 0deg at 50% 50%, transparent 0 70%, rgba(255, 255, 255, 0.55) 78%, transparent 86% 100%);
  opacity: 0.5;
}
.feature-media .phone { position: relative; width: 250px; box-shadow: 0 30px 60px rgba(60, 45, 30, 0.28), inset 0 0 0 1px #3a332e; transition: transform 0.6s var(--ease); }
.feature-media:hover .phone { transform: translateY(-8px) rotate(-1deg); }
.feature-text { max-width: 30em; }
.feature-text h3 { font-weight: 300; font-size: clamp(34px, 3.6vw, 46px); line-height: 1.05; margin-bottom: 18px; letter-spacing: -0.01em; }
.feature-text p { color: var(--ink-soft); }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.ticks li { position: relative; padding: 13px 0 13px 30px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.ticks li::before { content: ''; position: absolute; left: 4px; top: 50%; width: 9px; height: 9px; margin-top: -5px; border: 1px solid var(--gold); transform: rotate(45deg); }
@media (max-width: 900px) {
  .feature { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .feature.reverse .feature-media { order: 0; }
  .feature + .feature { margin-top: 84px; }
  .feature-media { padding: 40px 20px; max-width: 440px; width: 100%; margin: 0 auto; }
  .feature-media .phone { width: 220px; }
}

/* Les autres outils : une grille fine, sans cartes */
.grid-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 120px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tool { padding: 34px 32px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background 0.3s; }
.grid-tools .tool:hover { background: var(--paper); }
.tool .ico { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 22px; }
.tool .ico svg { width: 30px; height: 30px; stroke: var(--gold); fill: none; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.tool h3 { font-size: 26px; margin-bottom: 8px; }
.tool p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 900px) { .grid-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 84px; } }
@media (max-width: 560px) { .grid-tools { grid-template-columns: minmax(0, 1fr); } .tool { padding: 26px 22px; } }

/* ---------- bande encre (photos de groupe, appel final) ---------- */
.dark { background: var(--ink); color: var(--on-dark); }
.dark h2, .dark h3 { color: var(--on-dark); }
.dark h2 em { color: var(--champagne); }
.dark .eyebrow { color: var(--champagne); }
.dark p, .dark .lead { color: var(--on-dark-soft); }
.dark .feature-text h2 { margin-bottom: 22px; }
.dark .feature-media { background: radial-gradient(80% 70% at 50% 30%, rgba(220, 197, 156, 0.2), rgba(220, 197, 156, 0.05) 70%); }
.dark .feature-media::after { opacity: 0.12; }
.dark .feature-media::before { border-color: var(--on-dark-line); }
.dark .feature-media .phone { box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), inset 0 0 0 1px #3a332e; }
.dark .ticks { border-color: var(--on-dark-line); }
.dark .ticks li { color: var(--on-dark); border-color: var(--on-dark-line); }
.dark .ticks li::before { border-color: var(--champagne); }
.quote { margin: 40px 0 0; padding: 0; position: relative; }
.quote::before { content: '“'; display: block; font-family: var(--serif); font-size: 90px; line-height: 0.6; color: var(--gold); height: 34px; }
.quote p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 27px; line-height: 1.35; color: var(--on-dark); }
.quote cite { display: block; margin-top: 16px; font-style: normal; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--champagne); }

/* ---------- à deux ---------- */
.duo-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.duo-layout .section-head { margin-bottom: 0; position: sticky; top: 120px; }
.duo-layout h2, .faq-head h2 { font-size: clamp(36px, 3.9vw, 52px); }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.duo .tool { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px; }
.duo .tool .ico { margin-bottom: 16px; }
.privacy-note { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font-size: 12.5px; font-weight: 500; letter-spacing: 0.02em; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft); background: var(--paper); }
@media (max-width: 900px) {
  .duo-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .duo-layout .section-head { position: static; }
}
@media (max-width: 560px) { .duo { grid-template-columns: minmax(0, 1fr); } }

/* ---------- le photographe ---------- */
.author-band { background: var(--paper); border-block: 1px solid var(--line); }
.author { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 80px; align-items: center; }
.portrait {
  aspect-ratio: 4 / 5; border-radius: 999px 999px 24px 24px; overflow: hidden;
  background: radial-gradient(70% 60% at 50% 40%, #fff 0%, var(--sand) 100%);
  display: grid; place-items: center; position: relative;
}
.portrait::before { content: ''; position: absolute; inset: 16px; border: 1px solid rgba(176, 141, 87, 0.35); border-radius: 999px 999px 14px 14px; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.author h2 { margin-bottom: 24px; }
.author p + p { margin-top: 16px; }
.author .links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 900px) { .author { grid-template-columns: minmax(0, 1fr); gap: 40px; } .portrait { max-width: 340px; width: 100%; } }

/* ---------- questions ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.faq-head { position: sticky; top: 120px; }
.faq-head h2 { margin-bottom: 22px; }
.faq { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  cursor: pointer; list-style: none; padding: 24px 0;
  font-family: var(--serif); font-size: 25px; font-weight: 500; line-height: 1.25; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 24px; transition: color 0.2s;
}
summary:hover { color: var(--gold-deep); }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ''; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  background:
    linear-gradient(var(--gold-deep), var(--gold-deep)) center / 12px 1px no-repeat,
    linear-gradient(var(--gold-deep), var(--gold-deep)) center / 1px 12px no-repeat;
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
details[open] summary::after { transform: rotate(45deg); background-color: var(--gold-soft); }
details p { padding: 0 56px 26px 0; color: var(--ink-soft); max-width: 42em; }
@media (max-width: 900px) {
  .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .faq-head { position: static; }
  summary { font-size: 22px; padding: 20px 0; }
  details p { padding-right: 0; }
}

/* ---------- appel final ---------- */
.cta {
  position: relative; overflow: hidden; text-align: center; color: var(--on-dark);
  background: radial-gradient(50% 80% at 50% 100%, rgba(176, 141, 87, 0.28), rgba(176, 141, 87, 0) 70%), var(--ink);
}
.cta::before {
  content: ''; position: absolute; left: 50%; bottom: 0; width: min(620px, 86vw); height: 88%; transform: translateX(-50%);
  border: 1px solid var(--on-dark-line); border-bottom: 0; border-radius: 999px 999px 0 0; pointer-events: none;
}
.cta .wrap { position: relative; }
.cta .eyebrow { color: var(--champagne); }
.cta .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.cta h2 { color: var(--on-dark); max-width: 13em; margin: 0 auto 20px; }
.cta h2 em { color: var(--champagne); }
.cta .lead { margin: 0 auto; color: var(--on-dark-soft); }
.cta .stores, .cta-actions { justify-content: center; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.cta .store { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.cta .store.soon { background: transparent; color: var(--on-dark); border-color: var(--on-dark-line); }

/* ---------- pied de page ---------- */
.site-footer { background: #14110e; color: var(--on-dark-soft); padding-block: 64px 48px; font-size: 14px; border-top: 1px solid var(--on-dark-line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 32px 64px; justify-content: space-between; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--champagne); }
.site-footer nav { display: grid; grid-template-columns: repeat(2, minmax(0, auto)); gap: 12px 40px; align-content: start; }
.site-footer .brand .logo-light { display: none; }
.site-footer .brand .logo-dark, .site-footer .brand img { display: block; }
@media (max-width: 560px) { .site-footer nav { grid-template-columns: minmax(0, 1fr); } }

/* ---------- pages de texte (aide, confidentialité, mentions) ---------- */
.doc { max-width: 760px; padding-block: 72px 112px; }
.doc h1 { font-size: clamp(42px, 6vw, 64px); margin-bottom: 22px; }
.doc h2 { font-size: 32px; font-weight: 400; margin: 52px 0 14px; }
.doc p, .doc li { color: var(--ink-soft); }
.doc p + p { margin-top: 12px; }
.doc ol, .doc ul { padding-left: 22px; }
.doc li + li { margin-top: 8px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 28px; margin-top: 24px; }
.card .btn { margin-top: 20px; }
.email { font-weight: 600; color: var(--ink); user-select: all; }
.updated { margin-top: 44px; font-size: 13.5px; color: var(--ink-muted); }

/* ---------- page des professionnels ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.step { padding: 36px 32px 8px 0; border-right: 1px solid var(--line); }
.step + .step { padding-left: 32px; }
.step:last-child { border-right: 0; }
.step b { display: block; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 64px; line-height: 1; color: var(--gold); margin-bottom: 18px; }
.step h3 { font-size: 27px; margin: 0 0 10px; }
.step p { margin: 0; color: var(--ink-soft); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.split .card { margin: 0; padding: 34px; }
.split h3 { font-size: 28px; margin: 0 0 8px; }
.card.never { background: var(--sand); border-color: transparent; }
.card.never .ticks li::before { border-color: var(--ink-muted); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 900px; margin: 0 auto; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 36px; display: flex; flex-direction: column; gap: 12px; }
.plan.best { background: var(--ink); border-color: var(--ink); color: var(--on-dark); box-shadow: 0 30px 60px rgba(28, 24, 20, 0.22); }
.plan.best .eyebrow { color: var(--champagne); }
.plan.best .muted { color: var(--on-dark-soft); }
.plan.best .price { color: var(--on-dark); }
.plan.best .price small { color: var(--on-dark-soft); }
.plan.best .ticks { border-color: var(--on-dark-line); }
.plan.best .ticks li { border-color: var(--on-dark-line); color: var(--on-dark); }
.plan.best .ticks li::before { border-color: var(--champagne); }
.plan.best .btn { background: var(--gold); border-color: var(--gold); color: #fff; }
.plan .price { font-family: var(--serif); font-weight: 300; font-size: 68px; line-height: 1; font-variant-numeric: lining-nums; color: var(--ink); }
.plan .price small { font-family: var(--sans); font-size: 15px; font-weight: 400; color: var(--ink-soft); }
.plan .btn { margin-top: auto; }
.plan .ticks { margin-bottom: 18px; }
.trial-note { text-align: center; margin-top: 26px; color: var(--ink-soft); font-size: 14.5px; }
@media (max-width: 820px) {
  .steps, .split, .plans { grid-template-columns: minmax(0, 1fr); }
  .step, .step + .step { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
}


/* ================= animations ================= */
.dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.phones .back, .arch-line { translate: var(--px, 0) var(--py, 0); transition: translate 0.6s var(--ease); }

/* Bandeau des fonctionnalités qui défile lentement */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--ivory); padding-block: 22px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; }
.marquee span { display: inline-flex; align-items: center; gap: 36px; padding-right: 36px; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(26px, 3vw, 38px); color: var(--gold-deep); white-space: nowrap; }
.marquee span::after { content: ''; width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); }

/* Icônes des outils qui se dessinent au survol */
.tool .ico svg * { stroke-dasharray: 120; stroke-dashoffset: 0; }

@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 48s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(-50%); } }

  /* Reflet doré sur l'italique du grand titre */
  .hero h1 em {
    background: linear-gradient(100deg, var(--champagne) 0%, var(--champagne) 40%, #fff6e4 50%, var(--champagne) 60%, var(--champagne) 100%);
    background-size: 250% 100%; background-position: 100% 0;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: shimmer 3.2s 1s var(--ease) both, shimmer 3.2s 9s var(--ease) infinite;
  }
  @keyframes shimmer { from { background-position: 100% 0; } to { background-position: -50% 0; } }

  .feature-media::after { animation: spin 16s linear infinite; }
  @keyframes spin { to { transform: rotate(1turn); } }

  .tool:hover .ico svg * { animation: draw 1.1s var(--ease) both; }
  @keyframes draw { from { stroke-dashoffset: 120; } to { stroke-dashoffset: 0; } }

  .btn.gold { background-image: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%); background-size: 250% 100%; background-position: 120% 0; background-repeat: no-repeat; }
  .btn.gold:hover { background-position: -40% 0; transition: background-position 0.9s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s; }

  /* Apparitions au fil du défilement (navigateurs récents ; ailleurs, tout reste simplement affiché) */
  @supports (animation-timeline: view()) {
    .section-head, .feature-text, .faq-head, .author > div, .cta .wrap > *, .grid-tools .tool, .duo .tool, .fact, details, .step, .plan, .split .card {
      animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 28%;
    }
    .feature-media .phone { animation: phone-in linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    .feature-media::before { animation: arch-in linear both; animation-timeline: view(); animation-range: entry 10% cover 45%; }
    .grid-tools .tool:nth-child(3n + 2), .duo .tool:nth-child(2n) { animation-range: entry 8% cover 34%; }
    .grid-tools .tool:nth-child(3n) { animation-range: entry 16% cover 40%; }
  }
  @keyframes reveal { from { opacity: 0.15; translate: 0 36px; } to { opacity: 1; translate: 0 0; } }
  @keyframes phone-in { from { opacity: 0.3; translate: 0 70px; rotate: 4deg; scale: 0.94; } to { opacity: 1; translate: 0 0; rotate: 0deg; scale: 1; } }
  @keyframes arch-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Assistant d'aide « Une question ? » ---------- */
.lgo-help-btn { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border: 0; border-radius: 999px; background: var(--ink-2); color: var(--on-dark); font: 500 15px/1 var(--sans); box-shadow: 0 10px 30px rgba(28, 24, 20, 0.22); cursor: pointer; transition: transform 0.2s var(--ease); }
.lgo-help-btn:hover { transform: translateY(-2px); }
.lgo-help-btn:focus-visible, .lgo-help button:focus-visible, .lgo-help textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.lgo-help-btn.lgo-open span { display: none; }
.lgo-help { position: fixed; right: 20px; bottom: 84px; z-index: 61; width: min(400px, calc(100vw - 32px)); height: min(600px, calc(100vh - 110px)); display: flex; flex-direction: column; background: var(--ivory); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 60px rgba(28, 24, 20, 0.22); overflow: hidden; color: var(--ink-2); }
.lgo-help[hidden] { display: none; }
.lgo-help-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: var(--paper); border-bottom: 1px solid var(--line); }
.lgo-help-head strong { display: block; font: 600 22px/1.1 var(--serif); }
.lgo-help-head small { color: var(--ink-soft); font: 400 12px/1.4 var(--sans); }
.lgo-help-close { border: 0; background: none; font-size: 26px; line-height: 1; color: var(--ink-soft); cursor: pointer; padding: 4px 8px; }
.lgo-help-list { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.lgo-msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font: 400 15px/1.5 var(--sans); white-space: pre-wrap; overflow-wrap: anywhere; }
.lgo-bot { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.lgo-me { align-self: flex-end; background: var(--ink-2); color: var(--on-dark); border-bottom-right-radius: 4px; }
.lgo-wait { color: var(--ink-soft); font-style: italic; }
.lgo-msg-link { color: var(--gold-deep); font-weight: 500; }
.lgo-sugg { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.lgo-sugg button { border: 1px solid var(--gold-soft); background: var(--paper); color: var(--gold-deep); border-radius: 999px; padding: 8px 14px; font: 500 14px/1.3 var(--sans); cursor: pointer; text-align: left; }
.lgo-help-form { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px 0; background: var(--paper); border-top: 1px solid var(--line); }
.lgo-help-form textarea { flex: 1; resize: none; min-height: 44px; max-height: 120px; border: 1px solid var(--line); border-radius: 22px; padding: 11px 16px; background: var(--ivory); font: 400 15px/1.4 var(--sans); color: var(--ink-2); }
.lgo-help-send { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--ink-2); color: var(--on-dark); font-size: 20px; cursor: pointer; }
.lgo-help-send:disabled { opacity: 0.4; cursor: default; }
.lgo-help-note { margin: 0; padding: 8px 16px 10px; background: var(--paper); color: var(--ink-soft); font: 400 11px/1.45 var(--sans); }
@media (max-width: 520px) {
  .lgo-help { right: 0; left: 0; bottom: 0; width: 100%; height: calc(100% - 40px); border-radius: 22px 22px 0 0; }
  .lgo-help-btn { right: 16px; bottom: 16px; }
}
@media print { .lgo-help, .lgo-help-btn { display: none !important; } }
.lgo-label { font: 500 12.5px/1.3 var(--sans); color: var(--ink-soft); margin-left: 2px; }
.lgo-ask { display: flex; flex-direction: column; gap: 6px; }
.lgo-yesno { display: flex; gap: 8px; flex-wrap: wrap; }
.lgo-yesno button { border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); border-radius: 999px; padding: 8px 14px; font: 500 14px/1.2 var(--sans); cursor: pointer; }
.lgo-btn-dark { align-self: flex-start; border: 0; background: var(--ink-2); color: var(--on-dark); border-radius: 999px; padding: 10px 18px; font: 600 14.5px/1.2 var(--sans); cursor: pointer; }
.lgo-btn-dark:disabled { opacity: 0.6; cursor: default; }
.lgo-contact { display: flex; }
.lgo-form { flex: 1; display: flex; flex-direction: column; gap: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.lgo-form strong { font: 600 19px/1.2 var(--serif); }
.lgo-form input, .lgo-form textarea { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--ivory); padding: 10px 12px; font: 400 15px/1.4 var(--sans); color: var(--ink-2); resize: vertical; }
.lgo-form .lgo-btn-dark { align-self: stretch; text-align: center; }
.lgo-row { display: flex; gap: 8px; }
.lgo-hint { margin: 0; color: var(--ink-soft); font: 400 12.5px/1.4 var(--sans); }
.lgo-error { margin: 0; color: #b35a4f; font: 400 13px/1.4 var(--sans); }
.lgo-error[hidden] { display: none; }
.lgo-trap { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0; }
.lgo-ok { background: var(--sage-soft); border-color: var(--sage-soft); color: #56694f; }
