/* Joévin Jouin — feuille de style du site.
   Tokens repris du design system « Joévin Jouin », thème Nuit (identité volontairement sombre). */
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("/assets/fonts/cabinet-grotesk-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("/assets/fonts/cabinet-grotesk-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@property --jj-angle { syntax: "<angle>"; inherits: false; initial-value: 210deg; }

:root {
  color-scheme: dark;
  --orange-500: #ff5608; --orange-600: #e85002; --orange-400: #f16001;
  --red-600: #c10801; --red-900: #8a0303; --sand-200: #d9c3ab;
  --black: #000000; --gray-950: #171717; --gray-800: #333333; --gray-500: #646464; --gray-300: #a7a7a7; --gray-50: #f9f9f9; --white: #ffffff;
  --bg: var(--black); --surface: var(--gray-950); --surface-raised: var(--gray-800);
  --glass-fill: rgba(255, 255, 255, 0.04); --glass-stroke: rgba(255, 255, 255, 0.10);
  --line: var(--gray-800); --line-strong: var(--gray-500);
  --ink: var(--gray-50); --ink-muted: var(--gray-300); --ink-faint: var(--gray-500);
  --accent: var(--orange-500); --accent-pressed: var(--orange-600); --on-accent: var(--gray-950);
  --accent-text: var(--orange-500); --focus-ring: var(--orange-500);
  --glow-sm: 0 0 20px rgba(255, 86, 8, 0.45); --glow-lg: 0 24px 72px rgba(255, 86, 8, 0.35);
  --lift: 0 24px 64px rgba(0, 0, 0, 0.6); --rim: inset 0 1px 0 rgba(255, 255, 255, 0.10);
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-24: 96px;
  --radius-sm: 8px; --radius-md: 16px; --radius-lg: 24px; --radius-xl: 32px; --radius-pill: 999px;
  --blur-glass: 24px; --blur-ambient: 64px;
  --font-display: "Cabinet Grotesk", Geist, "Helvetica Neue", Arial, sans-serif;
  --font-sans: Geist, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2,.8,.2,1);
  --wrap: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 26px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); text-wrap: balance; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--ink); color: var(--bg); padding: 8px 16px; border-radius: var(--radius-pill); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 760px; }
.section { padding-block: var(--space-24); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: var(--space-4); max-width: 760px; margin-bottom: var(--space-12); }

.eyebrow { font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.eyebrow--accent { color: var(--accent-text); }
.display-l { font-size: clamp(36px, 5.6vw, 60px); line-height: .98; font-weight: 700; letter-spacing: -0.03em; }
.headline { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; }
.title { font-size: 22px; line-height: 1.25; font-weight: 500; letter-spacing: -0.01em; }
.body-l { font-size: 18px; line-height: 29px; color: var(--ink-muted); max-width: 62ch; }
.muted { color: var(--ink-muted); }
.small { font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.numeral { font-family: var(--font-mono); font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.todo { overflow-wrap: anywhere; border: 1px dashed var(--accent-text); border-radius: var(--radius-sm); padding: 0 6px; color: var(--accent-text); font-family: var(--font-mono); font-size: .85em; }

/* Boutons */
.btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); border: 0; border-radius: var(--radius-pill); font-family: var(--font-sans); font-size: 15px; line-height: 20px; font-weight: 500; letter-spacing: -0.005em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .2s var(--ease), box-shadow .2s, background-color .2s; }
.btn:active { transform: scale(.98); }
.btn--md { padding: var(--space-3) var(--space-6); }
.btn--lg { padding: var(--space-4) var(--space-8); font-size: 16px; }
.btn--sm { padding: var(--space-2) var(--space-4); font-size: 13px; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--rim), var(--glow-sm); }
.btn--primary:hover { box-shadow: var(--rim), var(--glow-lg); }
.btn--primary:active { background: var(--accent-pressed); }
.btn--secondary { background: var(--ink); color: var(--bg); }
.btn--secondary:hover { opacity: .9; }
.btn--glow { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--glass-stroke), var(--rim); }
.btn--glow::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: -1;
  background: conic-gradient(from var(--jj-angle), transparent 0deg, transparent 200deg, var(--red-600) 250deg, var(--orange-500) 290deg, var(--sand-200) 315deg, transparent 350deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: jj-sweep 2.4s linear infinite; }
@keyframes jj-sweep { to { --jj-angle: 570deg; } }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* Navigation */
.nav-bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; padding-block: var(--space-4); pointer-events: none; }
.nav-bar .wrap { display: flex; justify-content: center; }
.nav { pointer-events: auto; display: inline-flex; align-items: center; gap: var(--space-1); padding: 6px; border-radius: var(--radius-pill); background: rgba(10, 10, 10, 0.62); box-shadow: inset 0 0 0 1px var(--glass-stroke), var(--rim), var(--lift); -webkit-backdrop-filter: blur(var(--blur-glass)); backdrop-filter: blur(var(--blur-glass)); max-width: 100%; }
.nav__brand { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface-raised); color: var(--ink); flex: none; }
.nav__links { display: flex; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.nav__link { padding: var(--space-2) var(--space-3); border-radius: var(--radius-pill); color: var(--ink-muted); font-size: 14px; line-height: 20px; text-decoration: none; white-space: nowrap; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ink); }
.nav .btn { margin-left: var(--space-2); }
@media (max-width: 620px) { .nav__links .hide-sm { display: none; } }
.mark { display: inline-block; flex: none; }

/* Scène Flamme */
.flame { position: relative; overflow: hidden; isolation: isolate; background: var(--black); color: var(--white); border-radius: var(--radius-xl); }
.flame__light { position: absolute; z-index: -2; border-radius: 50%; filter: blur(var(--blur-ambient)); }
.flame__grain { position: absolute; inset: 0; z-index: -1; opacity: .22; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.flame--rise .flame__light--a { left: 10%; right: 10%; bottom: -60%; height: 90%; background: radial-gradient(closest-side, var(--sand-200), var(--orange-400) 40%, var(--red-600) 70%, transparent); }
.flame--rise .flame__light--b { left: 35%; right: 35%; bottom: -22%; height: 40%; background: radial-gradient(closest-side, var(--sand-200), transparent); opacity: .8; }
.flame--wave .flame__light--a { left: -15%; top: -10%; width: 70%; height: 90%; background: radial-gradient(closest-side, var(--sand-200), var(--orange-400) 45%, var(--red-600) 75%, transparent); }
.flame--wave .flame__light--b { right: -10%; bottom: -30%; width: 55%; height: 70%; background: radial-gradient(closest-side, var(--orange-500), var(--red-900) 70%, transparent); }
.flame--arc .flame__light--a { left: -20%; right: -20%; top: -70%; height: 100%; background: radial-gradient(closest-side, var(--orange-500), var(--red-600) 60%, transparent); }
.flame--arc .flame__light--b { left: 20%; right: 20%; top: -30%; height: 40%; background: radial-gradient(closest-side, var(--sand-200), transparent); opacity: .7; }
.on-flame { color: rgba(255,255,255,.78); }

/* Héros */
.hero { padding-block: var(--space-4) var(--space-12); }
.hero .flame { display: flex; flex-direction: column; justify-content: flex-end; min-height: 600px; }
.hero--page .flame { min-height: 0; }
.hero__inner { position: relative; display: grid; gap: var(--space-6); padding: clamp(24px, 6vw, 72px); }
.hero__h1 { font-family: var(--font-mono); font-size: 12px; line-height: 18px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); text-wrap: balance; }
.hero__title { font-family: var(--font-display); font-size: clamp(40px, 7vw, 92px); line-height: .93; font-weight: 700; letter-spacing: -0.035em; max-width: 14ch; text-wrap: balance; }
.hero--page .hero__title { font-size: clamp(36px, 5.6vw, 68px); max-width: 18ch; }
.hero__title em { font-style: normal; color: var(--orange-500); }
.hero__deck { font-size: clamp(17px, 2vw, 20px); line-height: 1.5; color: rgba(255,255,255,.82); max-width: 50ch; }
.hero__facts { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-8); margin-top: var(--space-2); padding-top: var(--space-6); border-top: 1px solid rgba(255,255,255,.14); }
.fact { display: grid; gap: 2px; }
.fact .numeral { font-size: clamp(26px, 3.6vw, 38px); line-height: 1; color: var(--white); }
.fact .small { color: rgba(255,255,255,.72); }

.crumbs { display: flex; flex-wrap: wrap; gap: var(--space-2); font-size: 13px; line-height: 20px; color: rgba(255,255,255,.7); list-style: none; margin: 0; padding: 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.crumbs li + li::before { content: "/"; margin-right: var(--space-2); opacity: .5; }

/* En bref (TL;DR) */
.tldr { display: grid; grid-template-columns: 160px 1fr; gap: var(--space-6); padding: var(--space-6); border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px var(--line); }
.tldr p { font-size: 17px; line-height: 28px; }
@media (max-width: 640px) { .tldr { grid-template-columns: 1fr; gap: var(--space-2); } }

.proof { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-6); margin-top: var(--space-6); color: var(--ink-muted); font-size: 15px; }
.proof strong { color: var(--ink); font-weight: 500; }

/* Grilles */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: var(--space-8); } }
.grid-4, .grid-3, .grid-2 { display: grid; gap: var(--space-4); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--glass-stroke), var(--rim); min-width: 0; }
.card__glow { position: absolute; left: -10%; right: -10%; height: 70%; bottom: -48%; pointer-events: none; z-index: 0; filter: blur(28px); opacity: .55; background: radial-gradient(50% 50% at 50% 60%, var(--sand-200), var(--orange-500) 35%, var(--red-600) 60%, transparent 80%); }
.card > *:not(.card__glow) { position: relative; z-index: 1; }
.card h3 { font-size: 22px; line-height: 1.25; font-weight: 500; letter-spacing: -0.01em; }
.card p { color: var(--ink-muted); }
.icon-tile { position: relative; width: 52px; height: 52px; border-radius: 28%; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(180deg, var(--gray-800), var(--black) 70%); color: var(--white); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), var(--lift); margin-bottom: var(--space-2); }
.icon-tile::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: linear-gradient(160deg, var(--sand-200), var(--orange-500) 40%, transparent 65%, var(--red-600)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.icon-tile svg { width: 22px; height: 22px; position: relative; }

/* Problème / contraste */
.story { display: grid; gap: var(--space-6); }
.story__row { display: grid; grid-template-columns: 140px 1fr; gap: var(--space-4); padding-top: var(--space-6); border-top: 1px solid var(--line); }
.story__row p:last-child { font-size: 17px; line-height: 28px; }
@media (max-width: 480px) { .story__row { grid-template-columns: 1fr; gap: var(--space-2); } }

/* Pour vous si */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.checks li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 17px; line-height: 27px; }
.check { flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: var(--on-accent); }
.check svg { width: 12px; height: 12px; }
.check--neutral { background: var(--surface-raised); color: var(--ink); }

/* Étapes */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { display: grid; gap: var(--space-3); align-content: start; padding-top: var(--space-6); border-top: 1px solid var(--line-strong); min-width: 0; }
.step__when { font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.step h3 { font-size: 22px; line-height: 1.25; font-weight: 500; letter-spacing: -0.01em; }
.step p { color: var(--ink-muted); }

/* Offres */
.offers { display: grid; grid-template-columns: 1fr 1.08fr 1fr; gap: var(--space-4); align-items: stretch; }
@media (max-width: 960px) { .offers { grid-template-columns: 1fr; max-width: 560px; } }
.offer { position: relative; display: flex; flex-direction: column; gap: var(--space-6); padding: var(--space-8) var(--space-6) var(--space-6); border-radius: var(--radius-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--glass-stroke), var(--rim); min-width: 0; }
.offer--featured { box-shadow: inset 0 0 0 1px var(--accent), var(--rim), var(--glow-lg); }
.offer__head { display: flex; flex-direction: column; gap: var(--space-2); }
.offer__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); flex-wrap: wrap; }
.offer__name { font-size: 24px; line-height: 1.2; font-weight: 500; letter-spacing: -0.01em; }
.offer__for { color: var(--ink-muted); }
.offer__price { display: flex; align-items: baseline; gap: var(--space-2); flex-wrap: wrap; font-variant-numeric: tabular-nums; margin-top: var(--space-2); }
.offer__amount { font-family: var(--font-display); font-size: 40px; line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; }
.offer__unit, .offer__note { font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.offer__list { list-style: none; margin: 0; padding: var(--space-6) 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: var(--space-3); }
.offer__list li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 15px; line-height: 24px; }
.offer .check { width: 20px; height: 20px; margin-top: 2px; background: var(--surface-raised); color: var(--ink); }
.offer--featured .check { background: var(--accent); color: var(--on-accent); }
.offer .btn { width: 100%; margin-top: auto; }
.tag { display: inline-flex; align-items: center; padding: 2px var(--space-3); border-radius: var(--radius-pill); background: var(--glass-fill); box-shadow: inset 0 0 0 1px var(--glass-stroke); font-size: 12px; line-height: 20px; color: var(--ink-muted); }
.offer--featured .tag { color: var(--accent-text); box-shadow: inset 0 0 0 1px rgba(255,86,8,.4); }
.panel { min-width: 0; padding: var(--space-6); border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: var(--space-3); align-content: start; }
.panel ul { margin: 0; padding-left: 18px; display: grid; gap: var(--space-2); color: var(--ink-muted); }

/* Prix détaillé */
.price-box { display: grid; gap: var(--space-4); padding: var(--space-8); border-radius: var(--radius-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--accent), var(--rim), var(--glow-lg); }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-2) var(--space-6); padding-block: var(--space-3); border-bottom: 1px solid var(--line); }
.price-line:last-of-type { border-bottom: 0; }
.price-line strong { font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* Tableau comparatif */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; line-height: 23px; }
th, td { text-align: left; vertical-align: top; padding: var(--space-4) var(--space-6); border-bottom: 1px solid var(--line); }
thead th { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); font-weight: 500; }
tbody th { font-weight: 500; color: var(--ink); }
tbody td { color: var(--ink-muted); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td.hl, th.hl { color: var(--ink); background: rgba(255,86,8,.06); }

/* Réalisations */
.reel { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
@media (max-width: 960px) { .reel { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .reel { grid-template-columns: 1fr; } }
.work { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-3); border-radius: var(--radius-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--glass-stroke), var(--rim); text-decoration: none; min-width: 0; transition: transform .45s var(--ease); }
.work:hover { transform: translateY(-4px); }
.work__media { position: relative; aspect-ratio: 16 / 10; max-width: 100%; border-radius: var(--radius-md); overflow: hidden; isolation: isolate; background: var(--black); display: flex; align-items: flex-end; justify-content: space-between; padding: var(--space-4); }
.work__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.work__media::before { content: ""; position: absolute; inset: -20%; z-index: -2; filter: blur(40px); background: radial-gradient(40% 50% at var(--x, 30%) 100%, var(--sand-200), var(--orange-400) 35%, var(--red-600) 65%, transparent 85%); opacity: .75; transition: opacity .45s var(--ease); }
.work:hover .work__media::before { opacity: 1; }
.work__num { font-family: var(--font-display); font-weight: 700; font-size: 52px; line-height: .8; letter-spacing: -0.04em; color: rgba(255,255,255,.92); }
.work__play { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--white); }
.work__play svg { width: 18px; height: 18px; }
.work__chip { position: absolute; top: var(--space-3); left: var(--space-3); padding: 2px var(--space-2); border-radius: var(--radius-pill); background: var(--white); color: var(--gray-950); font-family: var(--font-mono); font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.work__text { display: grid; gap: var(--space-1); padding: 0 var(--space-2) var(--space-2); }
.work__title { font-family: var(--font-display); font-size: 21px; line-height: 1.2; font-weight: 500; letter-spacing: -0.01em; }
.work__proof { color: var(--ink-muted); font-size: 15px; line-height: 23px; }

/* Page de réalisation */
.facts-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: var(--space-4); margin: 0; }
.facts-list div { padding-top: var(--space-4); border-top: 1px solid var(--line); }
.facts-list dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.facts-list dd { margin: var(--space-1) 0 0; font-size: 17px; }
.prose { display: grid; gap: var(--space-4); max-width: 68ch; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; margin-top: var(--space-8); }
.prose p, .prose li { font-size: 17px; line-height: 29px; color: var(--ink-muted); }
.prose strong { color: var(--ink); font-weight: 500; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: var(--space-2); }
.video-slot { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--glass-stroke); display: grid; place-items: center; text-align: center; padding: var(--space-6); }
.video-slot iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.stills { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.still { aspect-ratio: 16 / 10; max-width: 100%; border-radius: var(--radius-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--glass-stroke); display: grid; place-items: center; padding: var(--space-3); text-align: center; }
@media (max-width: 560px) { .stills { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-6); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 20px; line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 22px; line-height: 26px; color: var(--accent-text); flex: none; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding-bottom: var(--space-6); max-width: 68ch; color: var(--ink-muted); font-size: 17px; line-height: 28px; display: grid; gap: var(--space-3); }

/* Zone */
.zone { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.dept { display: inline-flex; align-items: baseline; gap: var(--space-2); padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--glass-stroke); }
.dept .numeral { font-size: 15px; color: var(--accent-text); }

/* Portrait */
.portrait { aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--glass-stroke); display: grid; place-items: center; padding: var(--space-6); text-align: center; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

/* CTA final */
.cta .flame { padding: clamp(24px, 6vw, 72px); display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-12); align-items: end; }
.cta .flame > * { min-width: 0; }
@media (max-width: 860px) { .cta .flame { grid-template-columns: 1fr; gap: var(--space-8); } }
.cta h2 { font-size: clamp(36px, 5.4vw, 60px); line-height: .96; font-weight: 700; letter-spacing: -0.03em; }
.coords { display: grid; gap: var(--space-2); padding: var(--space-6); border-radius: var(--radius-lg); background: rgba(0,0,0,.45); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), var(--rim); -webkit-backdrop-filter: blur(var(--blur-glass)); backdrop-filter: blur(var(--blur-glass)); }
.coord { display: grid; gap: 2px; padding-block: var(--space-3); border-bottom: 1px solid rgba(255,255,255,.1); }
.coord__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.coord__value { font-size: 16px; color: var(--white); word-break: break-word; text-decoration: none; }
.coords .btn { margin-top: var(--space-3); }

/* Formulaire */
.form { display: grid; gap: var(--space-4); padding: var(--space-8) var(--space-6); border-radius: var(--radius-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--glass-stroke), var(--rim); }
.field { display: grid; gap: var(--space-2); min-width: 0; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-md); padding: 12px 14px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--focus-ring); outline-offset: 1px; border-color: transparent; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; }
.booking { position: relative; min-height: 640px; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.booking iframe { width: 100%; height: 680px; border: 0; display: block; }
.booking--empty { background: var(--surface); box-shadow: inset 0 0 0 1px var(--glass-stroke); display: grid; place-items: center; padding: var(--space-8); text-align: center; min-height: 320px; }

/* Pied de page */
footer { border-top: 1px solid var(--line); margin-top: var(--space-16); padding-block: var(--space-12) var(--space-16); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-8); }
.foot > * { min-width: 0; }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot { grid-template-columns: 1fr; } }
.foot__brand { display: inline-flex; align-items: center; gap: var(--space-3); color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.035em; text-decoration: none; }
.foot h2 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); font-weight: 500; margin-bottom: var(--space-3); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); font-size: 14px; }
.foot a { text-decoration: none; color: var(--ink-muted); }
.foot a:hover { color: var(--ink); }
.foot__legal { margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); font-size: 13px; color: var(--ink-muted); }

@media (max-width: 640px) { .section { padding-block: var(--space-16); } .hero .flame { min-height: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .work, .work__media::before, .faq summary::after { transition: none; }
  .btn--glow::before { animation: none; }
}

/* Images réelles */
.work__media.has-img::before { opacity: 0; }
.work__media.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55)); }
.work__media.has-img { justify-content: flex-end; }
.work__media img { transition: transform .6s var(--ease); }
.work:hover .work__media img { transform: scale(1.03); }
.yt { padding: 0; }
.yt__btn { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: var(--black); }
.yt__btn img { width: 100%; height: 100%; object-fit: cover; }
.yt__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: var(--on-accent); box-shadow: var(--glow-lg); transition: transform .2s var(--ease); }
.yt__btn:hover .yt__play { transform: translate(-50%, -50%) scale(1.06); }
.yt__play svg { width: 28px; height: 28px; margin-left: 4px; }
.eps { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-3); }
@media (max-width: 960px) { .eps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .eps { grid-template-columns: 1fr 1fr; } }
.ep { display: grid; gap: var(--space-2); text-decoration: none; min-width: 0; align-content: start; }
.ep img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--glass-stroke); }
.ep__title { font-size: 15px; line-height: 21px; font-weight: 500; }
.ep:hover .ep__title { color: var(--accent-text); }
figure.still { margin: 0; padding: 0; overflow: hidden; position: relative; }
figure.still figcaption { position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; border-radius: var(--radius-pill); background: rgba(0,0,0,.6); color: rgba(255,255,255,.85); font-size: 11px; line-height: 16px; }
figure.still img { width: 100%; height: 100%; object-fit: cover; }
.portrait { padding: 0; }

/* Alignement : le texte des sections tombe pile sous le texte des cartes Flamme (héros, contact).
   Grand écran : les cartes Flamme s'élargissent de leur marge intérieure, les sections gardent leur largeur.
   Mobile et tablette : les cartes restent à 16 px du bord, les sections se décalent d'autant. */
.section, footer { container-type: inline-size; }
.hero > .wrap, .cta > .wrap { max-width: calc(var(--wrap) + 2 * clamp(24px, 6vw, 72px)); }
.section > .wrap, footer > .wrap {
  padding-left: max(env(safe-area-inset-left, 0px), 16px, calc(16px + clamp(24px, 6vw, 72px) - max(0px, (100cqw - var(--wrap)) / 2)));
  padding-right: max(env(safe-area-inset-right, 0px), 16px, calc(16px + clamp(24px, 6vw, 72px) - max(0px, (100cqw - var(--wrap)) / 2)));
}

/* Barre de menu : calque dédié pour éviter qu'elle disparaisse une image pendant le défilement
   (défaut des navigateurs avec position sticky + backdrop-filter sur une page qui contient de grands flous) */
.nav-bar { will-change: transform; transform: translateZ(0); }
.nav { transform: translateZ(0); -webkit-backface-visibility: hidden; backface-visibility: hidden; }

/* Aussi, à la demande : services secondaires, volontairement discrets */
.also { margin-top: var(--space-8); padding: var(--space-6); border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: var(--space-4); }
.also__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.also__list h3 { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 500; letter-spacing: 0; margin-bottom: var(--space-1); }
.also__list p { color: var(--ink-muted); font-size: 15px; line-height: 23px; }
.also .small a { color: var(--accent-text); }
@media (max-width: 760px) { .also__list { grid-template-columns: 1fr; gap: var(--space-4); } }

/* =====================================================================
   V2 — dégradés de marque (design system du 30/10/2026)
   Jamais de noir uni : sol braise, lueurs floues à des endroits différents,
   grain monochrome par-dessus tout, texte compris.
   ===================================================================== */
:root {
  --ember-950: #1c0402;
  --ember-900: #340704;
  --bg: var(--ember-950);
  --surface: rgba(12, 2, 1, 0.62);
  --surface-raised: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.09);
  --glass-stroke: rgba(255, 240, 230, 0.11);
}

/* Fond de page : sol braise et lueurs douces qui se répètent tous les 2 400 px, placées en quinconce */
body {
  background-color: var(--ember-950);
  background-image:
    radial-gradient(420px 360px at 92% 380px, rgba(193, 8, 1, 0.34), transparent 70%),
    radial-gradient(520px 300px at 4% 980px, rgba(241, 96, 1, 0.16), transparent 72%),
    radial-gradient(600px 420px at 70% 1500px, rgba(138, 3, 3, 0.42), transparent 70%),
    radial-gradient(380px 300px at 18% 2020px, rgba(255, 86, 8, 0.13), transparent 70%),
    linear-gradient(180deg, #1c0402 0px, #140302 900px, #220503 1600px, #1c0402 2400px);
  background-size: 100% 2400px;
  background-repeat: repeat-y;
}
body::before { background: var(--ember-950); }

/* Grain de toute la page (30 : sous le seuil de 50 conseillé pour le texte courant) */
body { position: relative; }
.grain-page { position: absolute; inset: 0; z-index: 25; pointer-events: none; mix-blend-mode: overlay; opacity: 0.3; background-repeat: repeat; background-size: 160px 160px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Scène Flamme (héros) : sol braise et quatre lueurs du design system */
.flame { background: var(--ember-950); container-type: inline-size; }
.flame__layer { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(160deg, var(--ember-900), var(--ember-950) 55%, #2a0503); }
.flame__blob { position: absolute; border-radius: 50%; }
.flame__light, .flame__grain { display: none; }

/* Contact : panneau sur le fond vivant, avec ses propres lueurs douces (pas une deuxième scène) */
.cta-panel {
  background:
    radial-gradient(70% 90% at 0% 100%, rgba(241, 96, 1, 0.30), transparent 70%),
    radial-gradient(55% 70% at 100% 0%, rgba(193, 8, 1, 0.32), transparent 70%),
    linear-gradient(160deg, rgba(52, 7, 4, 0.85), rgba(28, 4, 2, 0.9));
  box-shadow: inset 0 0 0 1px var(--glass-stroke), var(--rim);
}
.cta-panel .coords { background: rgba(12, 2, 1, 0.5); }

/* Surfaces : verre sombre teinté, lisible sur les lueurs */
.card, .offer, .work, .tldr, .panel, .also, .faq details, .table-wrap, .form, .price-box { -webkit-backdrop-filter: none; backdrop-filter: none; }
.card, .offer, .work, .form { background: var(--surface); }
.tldr, .panel, .also, .table-wrap { background: rgba(12, 2, 1, 0.35); }
.nav { background: rgba(28, 4, 2, 0.62); }
.icon-tile { background: linear-gradient(180deg, #3a0c07, #120201 70%); }
.work__media { background: var(--ember-950); }
.video-slot, .still, .portrait { background: rgba(12, 2, 1, 0.5); }
.field input, .field select, .field textarea { background: rgba(12, 2, 1, 0.6); }
.dept { background: rgba(12, 2, 1, 0.5); }
footer { background: linear-gradient(180deg, transparent, rgba(12, 2, 1, 0.45)); }
/* Chiffres du héros : les petits textes restent lisibles au-dessus des lueurs */
.hero__facts .small, .hero__deck { text-shadow: 0 1px 14px rgba(28, 4, 2, 0.55); }
.hero__inner { padding-bottom: clamp(48px, 8vw, 96px); }

/* ===== V2 · haut de page sans cadre : les lueurs se fondent directement dans le fond ===== */
html, body { overflow-x: clip; }
.hero .flame { background: transparent; border-radius: 0; overflow: visible; box-shadow: none; }
.hero .flame__layer { background: none; }

/* ===== V2 · animations harmonisées ===== */
/* Bouton orange : au survol, il passe en style « glow » (fond sombre, bord lumineux fixe) et son halo grossit sur place */
.btn--primary { transition: transform .2s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
.btn--primary:hover { background: var(--surface); color: var(--ink); transform: scale(1.04); box-shadow: inset 0 0 0 1px var(--glass-stroke), var(--rim), 0 0 26px rgba(255, 86, 8, 0.32); }
.btn--primary:active { background: var(--surface); transform: scale(1.01); }

/* Bouton glow : il grossit légèrement, et la lumière ralentit (script) */
.btn--glow { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.btn--glow:hover { transform: scale(1.04); }
.btn--glow:active { transform: scale(1.01); }
.btn--secondary { transition: transform .3s var(--ease), opacity .2s; }
.btn--secondary:hover { opacity: 1; transform: scale(1.04); }

/* Cartes : elles montent de 10 px et la lueur Flamme apparaît au survol */
.card { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card .card__glow { opacity: 0; transition: opacity .45s var(--ease); }
.card:hover { transform: translateY(-10px); }
.card:hover .card__glow { opacity: .55; }

/* Cartes d'offre : elles se resserrent légèrement, comme un appui, et mènent à leur offre */
.offer { cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.offer:hover { transform: scale(.98); }
.offer:active { transform: scale(.965); }

/* Portrait : léger zoom, contenu dans le cadre */
.portrait { overflow: hidden; }
.portrait img { transition: transform .8s var(--ease); }
.portrait:hover img { transform: scale(1.05); }

@media (hover: none) {
  .card:hover, .offer:hover, .btn--glow:hover, .btn--secondary:hover, .btn--primary:hover { transform: none; }
  .card:hover .card__glow { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .card, .offer, .portrait img, .btn--primary, .btn--glow, .btn--secondary, .card .card__glow { transition: none; }
  .card:hover, .offer:hover, .offer:active, .btn--glow:hover, .btn--secondary:hover, .btn--primary:hover, .btn--primary:active, .portrait:hover img { transform: none; }
}

/* V2 · les lueurs du haut de page débordent sous le contenu, jamais par-dessus le texte */
.hero .flame { z-index: 0; }
main > :not(.hero) { position: relative; z-index: 1; }
/* V2 · survols sans à-coup au premier passage : chaque élément animé a son propre calque dès le chargement */
.btn, .card, .offer, .portrait img { will-change: transform; backface-visibility: hidden; -webkit-font-smoothing: antialiased; }
