/* Horse Brokers — site public. Jetons repris de l'app mobile (apps/mobile/app/theme/tokens.ts). */
@font-face { font-family: "Space Grotesk"; src: url("/fonts/space-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --green-950: #0B2220;
  --green-900: #11302E;
  --green: #1A3F3D;
  --green-700: #2D5450;
  --teal: #2D7A6E;
  --mint: #EEF4F3;
  --mint-2: #E8EDE8;
  --cream: #F3F0EB;
  --bg: #FAFAF8;
  --ink: #191015;
  --muted: #55615F;
  --gold: #C29B54;
  --gold-soft: #E9D9B4;
  --line: rgba(26, 63, 61, 0.12);
  --radius: 22px;
  --shadow-lg: 0 40px 80px -30px rgba(11, 34, 32, 0.45);
  --shadow-md: 0 18px 40px -22px rgba(11, 34, 32, 0.35);
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--green-950); padding: 10px 16px; border-radius: 10px; z-index: 100; font-weight: 600; }
.skip:focus { left: 16px; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.eyebrow { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--teal); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.04; margin: 0; }
h2 { font-size: clamp(38px, 5vw, 64px); }
h3 { font-size: 28px; line-height: 1.15; }
p { margin: 0; }
em { font-style: italic; }

/* ───────── Boutons ───────── */
.btn { --bg-btn: var(--gold); --fg-btn: var(--green-950); display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font: 600 16px/1 var(--sans); text-decoration: none; background: var(--bg-btn); color: var(--fg-btn); border: 1px solid transparent; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s; cursor: pointer; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(194, 155, 84, 0.7); }
.btn.ghost { --bg-btn: transparent; --fg-btn: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.08); box-shadow: none; }
.btn.dark { --bg-btn: var(--green); --fg-btn: #fff; }
.btn.dark:hover { box-shadow: 0 14px 30px -12px rgba(26, 63, 61, 0.7); }
.btn svg { width: 18px; height: 18px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 11px 20px 11px 16px; border-radius: 14px; background: #fff; color: var(--green-950); text-decoration: none; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.store:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.5); }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); line-height: 1.1; }
.store b { display: block; font-size: 17px; line-height: 1.15; }

/* ───────── En-tête ───────── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s; }
.nav.scrolled { background: rgba(11, 34, 32, 0.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; font-weight: 600; letter-spacing: 0.01em; }
.brand .mark { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(145deg, #0B2220, #2D5450); display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.brand .mark img { width: 20px; height: auto; }
.nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav ul a { color: rgba(255, 255, 255, 0.82); text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 14px; border-radius: 999px; transition: color 0.2s, background 0.2s; }
.nav ul a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav .btn { padding: 11px 20px; font-size: 15px; }
.burger { display: none; background: none; border: 0; color: #fff; padding: 10px; margin-right: -10px; cursor: pointer; }
.burger svg { width: 26px; height: 26px; }
.legal-page .nav { background: var(--green-950); }

/* ───────── Hero ───────── */
.hero { position: relative; isolation: isolate; color: #fff; background: radial-gradient(1200px 700px at 78% 12%, rgba(45, 122, 110, 0.55), transparent 62%), radial-gradient(900px 600px at 8% 90%, rgba(194, 155, 84, 0.16), transparent 60%), linear-gradient(165deg, var(--green-950) 0%, var(--green-900) 55%, #163A36 100%); overflow: hidden; padding: 108px 0 0; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.5'/></svg>"); opacity: 0.07; mix-blend-mode: soft-light; }
.hero .grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; min-height: 700px; padding-bottom: 90px; }
.hero h1 { font-size: clamp(44px, 5.5vw, 82px); line-height: 0.98; margin: 22px 0 26px; }
.hero h1 em { color: var(--gold); }
.hero .lead { font-size: clamp(18px, 1.6vw, 21px); color: rgba(255, 255, 255, 0.78); max-width: 33em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero .eyebrow { color: var(--gold-soft); }
.hero .trust { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 38px; padding: 0; list-style: none; color: rgba(255, 255, 255, 0.66); font-size: 14.5px; }
.hero .trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero .trust svg { width: 16px; height: 16px; color: var(--gold); }
.hero .fade { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }

/* Téléphone + démo animée (illustration HTML/CSS/JS, pas une capture) */
.stage { position: relative; height: 650px; display: grid; place-items: center; perspective: 1400px; }
.phone { position: relative; width: 292px; height: 596px; border-radius: 48px; background: #0A0F0E; padding: 11px; box-shadow: var(--shadow-lg), 0 0 0 1.5px rgba(255, 255, 255, 0.16) inset, 0 0 0 1px #000; transform: rotateY(-12deg) rotateX(4deg) rotateZ(1.5deg); transition: transform 0.6s var(--ease); will-change: transform; }
.phone::after { content: ""; position: absolute; top: 20px; left: 50%; width: 92px; height: 26px; margin-left: -46px; background: #000; border-radius: 20px; z-index: 20; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 38px; background: var(--bg); overflow: hidden; color: var(--ink); font-size: 13px; line-height: 1.35; isolation: isolate; }
.v-list { position: absolute; inset: 0; background: var(--bg); }
.app-head { padding: 54px 18px 12px; background: var(--green); color: #fff; }
.app-head b { display: block; font-size: 20px; font-weight: 600; }
.app-head span { font-size: 12px; opacity: 0.72; transition: opacity 0.3s; }
.app-search { margin: 12px 16px 0; padding: 6px 6px 6px 14px; background: #fff; border-radius: 12px; color: #8A9391; box-shadow: 0 6px 16px -10px rgba(0, 0, 0, 0.3); display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.app-search .ph-s { display: inline-flex; gap: 8px; align-items: center; }
.app-search svg { width: 14px; height: 14px; }
.filt { position: relative; width: 34px; height: 34px; border-radius: 10px; background: var(--green); color: #fff; display: grid; place-items: center; transition: transform 0.2s; }
.filt svg { width: 16px; height: 16px; }
.filt em { position: absolute; top: -5px; right: -5px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 9px; background: var(--gold); color: var(--green-950); font: 700 10px/16px var(--sans); text-align: center; font-style: normal; transform: scale(0); transition: transform 0.35s var(--ease); }
.filt.has em { transform: scale(1); }
.chips { display: flex; gap: 6px; padding: 0 16px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.5s var(--ease), opacity 0.4s, padding 0.5s var(--ease); }
.chips i { font-style: normal; font-size: 11.5px; padding: 5px 10px; border-radius: 999px; background: var(--mint); color: var(--green); border: 1px solid var(--line); white-space: nowrap; }
.chips i.on { background: var(--green); color: #fff; border-color: var(--green); }
.chips.show { max-height: 76px; opacity: 1; padding: 12px 16px 0; flex-wrap: wrap; }
.chips.wrap { flex-wrap: wrap; }
.cards { padding: 12px 16px; display: grid; gap: 10px; }
.hcard { display: grid; grid-template-columns: 74px 1fr; gap: 12px; background: #fff; border-radius: 16px; padding: 8px; box-shadow: 0 10px 24px -16px rgba(11, 34, 32, 0.5); border: 1px solid var(--line); max-height: 96px; overflow: hidden; transition: max-height 0.6s var(--ease), opacity 0.4s, padding 0.6s var(--ease), margin 0.6s var(--ease), border-width 0.6s; transition-delay: var(--o, 0s); }
.hcard.out { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; margin-bottom: -10px; border-width: 0; }
.hcard .ph { border-radius: 11px; height: 74px; position: relative; overflow: hidden; }
.hcard .ph::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 120%, rgba(255, 255, 255, 0.35), transparent 55%); }
.hcard .ph img { position: absolute; right: 6px; bottom: 4px; width: 34px; opacity: 0.85; }
.hcard b { display: block; font-size: 14px; font-weight: 600; }
.hcard small { color: var(--muted); font-size: 11.5px; display: block; }
.hcard .row { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.tag { font-size: 10.5px; padding: 3px 8px; border-radius: 999px; background: var(--mint-2); color: var(--green); font-weight: 600; }
.price { font-weight: 600; font-size: 13px; }
.hcard.hl { box-shadow: 0 0 0 2px var(--gold), 0 14px 26px -16px rgba(194, 155, 84, 0.8); }
.tabbar { position: absolute; left: 0; right: 0; bottom: 0; height: 66px; background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--line); display: flex; justify-content: space-around; align-items: center; padding-bottom: 8px; z-index: 2; }
.tabbar span { width: 22px; height: 22px; border-radius: 7px; background: #D1D5DB; opacity: 0.7; }
.tabbar span.on { background: var(--green); opacity: 1; }

/* Feuille de filtres */
.scrim { position: absolute; inset: 0; background: rgba(11, 34, 32, 0.5); opacity: 0; pointer-events: none; transition: opacity 0.5s; z-index: 7; }
.scrim.on { opacity: 1; }
.v-sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 8; background: #fff; border-radius: 26px 26px 0 0; padding: 10px 18px 20px; transform: translateY(104%); transition: transform 0.65s var(--ease); box-shadow: 0 -20px 40px -20px rgba(0, 0, 0, 0.4); }
.v-sheet.open { transform: none; }
.grab { width: 40px; height: 4px; border-radius: 4px; background: #D1D5DB; margin: 0 auto 12px; }
.s-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.s-top b { font-size: 18px; }
.s-top span { font-size: 12px; color: var(--teal); font-weight: 600; }
.s-row { padding: 11px 0 6px; border-top: 1px solid var(--line); }
.s-row:first-of-type { border-top: 0; }
.s-lab { display: flex; justify-content: space-between; font-weight: 600; font-size: 13px; margin-bottom: 8px; }
.s-lab .val { color: var(--teal); font-variant-numeric: tabular-nums; }
.opts { display: flex; gap: 6px; flex-wrap: wrap; }
.opts i { font-style: normal; font-size: 12px; padding: 7px 12px; border-radius: 999px; background: var(--surface-muted, #F3F4F6); color: #3b4443; border: 1px solid var(--line); transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease); }
.opts i.on { background: var(--green); color: #fff; border-color: var(--green); transform: scale(1.04); }
.rng { --a: 0%; --b: 100%; position: relative; height: 6px; border-radius: 6px; background: var(--mint-2); margin: 6px 10px 12px; }
.rng .fill { position: absolute; top: 0; bottom: 0; left: var(--a); right: calc(100% - var(--b)); background: var(--green); border-radius: 6px; }
.rng .h1, .rng .h2 { position: absolute; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: #fff; border: 2px solid var(--green); box-shadow: 0 3px 8px -2px rgba(0, 0, 0, 0.35); }
.rng .h1 { left: var(--a); } .rng .h2 { left: var(--b); }
.cta-s { margin-top: 12px; background: var(--green); color: #fff; border-radius: 14px; padding: 13px; text-align: center; font-weight: 600; font-size: 14px; transition: transform 0.2s, background 0.3s; }
.cta-s.press { transform: scale(0.97); background: var(--green-700); }

/* Fiche cheval (haut de fiche) */
.v-fiche { position: absolute; inset: 0; z-index: 9; background: var(--bg); transform: translateX(104%); transition: transform 0.65s var(--ease); }
.v-fiche.open { transform: none; }
.f-hero { position: relative; height: 210px; background: linear-gradient(135deg, #2D5450, #0B2220); overflow: hidden; }
.f-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 120%, rgba(255, 255, 255, 0.3), transparent 55%); }
.f-hero img.hs { position: absolute; right: 18px; bottom: 6px; width: 120px; opacity: 0.9; }
.f-btn { position: absolute; top: 46px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, 0.9); color: var(--green); display: grid; place-items: center; }
.f-btn svg { width: 16px; height: 16px; }
.f-btn.l { left: 14px; } .f-btn.r { right: 14px; }
.f-play { position: absolute; left: 14px; bottom: 12px; display: inline-flex; gap: 6px; align-items: center; background: rgba(0, 0, 0, 0.55); color: #fff; border-radius: 999px; padding: 6px 12px 6px 8px; font-size: 12px; font-weight: 600; backdrop-filter: blur(6px); }
.f-play svg { width: 18px; height: 18px; }
.f-body { padding: 16px; }
.f-body h4 { margin: 0; font: 700 21px/1.15 var(--sans); }
.f-sub { color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.f-price { display: flex; justify-content: space-between; align-items: center; margin: 12px 0 10px; }
.f-price b { font-size: 22px; }
.f-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.f-tiles div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 10px; }
.f-tiles small { display: block; color: var(--muted); font-size: 10.5px; }
.f-tiles b { font-size: 14px; }
.f-perf { margin-top: 8px; background: var(--mint); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.f-perf div { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; margin-bottom: 7px; }
.f-perf span.bar { display: block; height: 6px; border-radius: 6px; background: #C3CFC6; overflow: hidden; }
.f-perf span.bar i { display: block; height: 100%; width: 78%; background: var(--green); border-radius: 6px; }
.f-actions { display: flex; gap: 8px; margin-top: 12px; }
.f-actions span { flex: 1; text-align: center; padding: 10px; border-radius: 12px; font-weight: 600; font-size: 12.5px; background: var(--green); color: #fff; }
.f-actions span.o { background: #fff; color: var(--green); border: 1px solid var(--line); }

/* Doigt */
.tapper { position: absolute; left: 0; top: 0; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: rgba(255, 255, 255, 0.55); border: 2px solid rgba(26, 63, 61, 0.55); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25); z-index: 30; pointer-events: none; opacity: 0; transform: translate(260px, 620px); transition: transform 0.75s var(--ease), opacity 0.3s; }
.tapper.on { opacity: 1; }
.tapper.press { animation: press 0.4s ease; }
@keyframes press { 0% { scale: 1; } 40% { scale: 0.7; background: rgba(194, 155, 84, 0.7); } 100% { scale: 1; } }
.screen.static *, .screen.static *::before { transition: none !important; }

/* Légende de la démo */
.cap { position: absolute; left: -20%; bottom: 13%; z-index: 6; max-width: 230px; background: #fff; color: var(--ink); border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow-md); display: grid; gap: 8px; border: 1px solid rgba(26, 63, 61, 0.08); }
.cap p { font-weight: 600; font-size: 14.5px; line-height: 1.3; transition: opacity 0.3s; }
.cap p.swap { opacity: 0; }
.dots { display: flex; gap: 6px; }
.dots i { width: 18px; height: 4px; border-radius: 4px; background: #D8DEDC; transition: background 0.3s, width 0.4s var(--ease); }
.dots i.on { background: var(--teal); width: 30px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ───────── Sections ───────── */
section { position: relative; }
.pad { padding: clamp(80px, 11vw, 150px) 0; }
.head { max-width: 780px; margin-bottom: 64px; }
.head h2 { margin: 18px 0 20px; }
.head p { color: var(--muted); font-size: 19px; }
.head h2 em, .why h2 em, .priv h2 em, .final h2 em { color: var(--teal); }

.why { background: var(--bg); }
.why .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.why .chat { background: var(--cream); border-radius: 30px; padding: 30px; display: grid; gap: 12px; position: relative; }
.bubble { max-width: 88%; padding: 12px 16px; border-radius: 18px 18px 18px 6px; background: #fff; font-size: 15px; box-shadow: 0 8px 18px -14px rgba(0, 0, 0, 0.4); color: #3b4443; }
.bubble.me { justify-self: end; background: var(--green); color: #fff; border-radius: 18px 18px 6px 18px; }
.bubble small { display: block; opacity: 0.6; font-size: 11.5px; margin-top: 4px; }
.xl { display: flex; gap: 8px; flex-wrap: wrap; }
.xl span { font-size: 12px; padding: 5px 10px; border-radius: 8px; background: #E5E1DA; color: #6b6760; text-decoration: line-through; }
.why p.big { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.25; color: var(--green); margin-top: 22px; }
.why .copy p { color: var(--muted); }

.features { background: var(--cream); }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.tile { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tile .ico { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--mint); color: var(--green); margin-bottom: 22px; }
.tile .ico svg { width: 24px; height: 24px; }
.tile h3 { margin-bottom: 10px; }
.tile p { color: var(--muted); font-size: 16px; }
.tile.dark { background: linear-gradient(160deg, var(--green-950), var(--green)); color: #fff; border-color: transparent; }
.tile.dark p { color: rgba(255, 255, 255, 0.74); }
.tile.dark .ico { background: rgba(255, 255, 255, 0.1); color: var(--gold); }
.tile.gold { background: linear-gradient(160deg, #F4E8C9, #E9D9B4); border-color: transparent; }
.tile.gold .ico { background: rgba(26, 63, 61, 0.1); }
.s7 { grid-column: span 7; } .s5 { grid-column: span 5; } .s4 { grid-column: span 4; } .s6 { grid-column: span 6; } .s8 { grid-column: span 8; }
.tile .deco { position: absolute; right: -20px; bottom: -20px; opacity: 0.1; width: 180px; color: currentColor; }
.mini { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.mini span { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--mint); color: var(--green); border: 1px solid var(--line); font-weight: 500; }
.tile.dark .mini span { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.14); }

.steps { background: var(--bg); }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 30px 0 0; border-top: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); font-family: var(--serif); font-size: 64px; color: var(--gold); line-height: 1; display: block; margin-bottom: 16px; }
.steps li h3 { font-size: 26px; margin-bottom: 8px; }
.steps li p { color: var(--muted); font-size: 16px; }

.pricing { background: var(--green-950); color: #fff; overflow: hidden; }
.pricing::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 700px; height: 700px; background: radial-gradient(circle, rgba(45, 122, 110, 0.5), transparent 65%); pointer-events: none; }
.pricing .head p { color: rgba(255, 255, 255, 0.7); }
.pricing .head h2 em { color: var(--gold); }
.pricing .eyebrow { color: var(--gold-soft); }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 880px; position: relative; }
.plan { border-radius: 28px; padding: 38px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.04); display: flex; flex-direction: column; }
.plan.star { background: linear-gradient(165deg, #F7EED6, #E9D9B4); color: var(--green-950); border-color: transparent; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7); position: relative; }
.plan .badge { position: absolute; top: 22px; right: 22px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--green); color: #fff; }
.plan h3 { font-size: 26px; margin-bottom: 18px; }
.plan .amount { font-family: var(--serif); font-size: 86px; line-height: 1; letter-spacing: -0.02em; }
.plan .amount sup { font-family: var(--sans); font-size: 22px; vertical-align: top; position: relative; top: 14px; margin-left: 4px; font-weight: 500; }
.plan .per { font-size: 15px; opacity: 0.72; margin: 8px 0 26px; }
.plan ul { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 12px; font-size: 15.5px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { width: 18px; height: 18px; margin-top: 3px; flex: none; color: var(--teal); }
.plan:not(.star) li svg { color: var(--gold); }
.plan .btn { margin-top: auto; justify-content: center; }
.fineprint { margin-top: 26px; font-size: 14px; color: rgba(255, 255, 255, 0.55); }

.priv { background: var(--mint); }
.priv .box { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.priv ul { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 14px; }
.priv li { display: flex; gap: 14px; align-items: flex-start; color: #33403e; }
.priv li svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--teal); }
.priv .links { display: flex; gap: 12px; flex-wrap: wrap; }
.shield { aspect-ratio: 1; border-radius: 36px; background: linear-gradient(150deg, var(--green), var(--green-950)); display: grid; place-items: center; color: var(--gold); position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.shield svg { width: 46%; position: relative; }
.shield::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(45, 122, 110, 0.7), transparent 55%); }

.final { background: var(--bg); text-align: center; }
.final h2 { max-width: 14em; margin: 18px auto 22px; }
.final p { color: var(--muted); max-width: 36em; margin: 0 auto 36px; font-size: 19px; }
.final .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.final .store { background: var(--green); color: #fff; }
.final .store small { color: rgba(255, 255, 255, 0.7); }

/* ───────── Pied de page ───────── */
footer { background: var(--green-950); color: rgba(255, 255, 255, 0.72); padding: 70px 0 40px; font-size: 15px; }
footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 46px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
footer h4 { color: #fff; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 16px; font-weight: 600; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
footer a { text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--gold); }
footer .about p { margin-top: 16px; max-width: 26em; }
footer .legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 30px; font-size: 13.5px; color: rgba(255, 255, 255, 0.5); }

/* ───────── Pages juridiques ───────── */
.doc { padding: 150px 0 100px; background: var(--bg); }
.doc .wrap { width: min(820px, 100% - 48px); }
.doc h1 { font-size: clamp(44px, 6vw, 72px); margin: 14px 0 12px; color: var(--green); }
.doc .meta { color: var(--muted); font-size: 15px; margin-bottom: 40px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.doc h2 { font-size: 34px; margin: 52px 0 14px; color: var(--green); }
.doc h3 { font-size: 24px; margin: 30px 0 8px; color: var(--green-700); }
.doc p, .doc li { color: #2b3534; }
.doc p { margin: 0 0 14px; }
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 18px; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--teal); text-underline-offset: 3px; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0 24px; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--green); font-weight: 600; background: var(--mint); }
.doc .lang { display: inline-block; margin-top: 4px; font-size: 14px; }

.sw { display: flex; gap: 2px; margin-left: 4px; }
.nav ul .sw a { font-size: 12.5px; padding: 8px 8px; letter-spacing: 0.05em; font-weight: 600; }
.nav ul .sw a[aria-current] { color: #fff; background: rgba(255, 255, 255, 0.14); }
footer .langs a[aria-current] { color: #fff; }
.ci { display: inline-block; height: 1.5em; width: auto; vertical-align: -0.42em; max-width: 100%; user-select: none; }

/* ───────── Révélation au scroll ───────── */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* ───────── Responsive ───────── */
@media (max-width: 980px) {
  .nav ul { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--green-950); padding: 12px 24px 24px; gap: 2px; }
  .nav.open ul { display: flex; }
  .nav.open { background: var(--green-950); }
  .burger { display: block; }
  .nav ul a { padding: 14px 12px; font-size: 17px; }
  .sw { margin: 6px 0; }
  .hero .grid { grid-template-columns: 1fr; min-height: 0; gap: 10px; }
  .stage { height: 640px; }
  .phone { transform: rotateY(-8deg) rotateX(3deg) rotateZ(1deg) scale(0.92); }
  .cap { left: 50%; transform: translateX(-50%); top: auto; bottom: -10px; }
  .why .grid, .priv .box { grid-template-columns: 1fr; gap: 40px; }
  .shield { max-width: 320px; }
  .bento { grid-template-columns: 1fr; }
  .s7, .s5, .s4, .s6, .s8 { grid-column: auto; }
  .steps ol { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr; }
  footer .about { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .hero { padding-top: 120px; }
  .stage { height: 600px; }
  .cap { max-width: 200px; padding: 10px 14px; }
  .tile { padding: 24px; }
  .plan { padding: 28px; }
  .plan .amount { font-size: 70px; }
  .doc { padding-top: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .phone { transition: none; }
}
