/* ==========================================================================
   Cirque Chapiteau d'Afrique — Refonte 2026 v3 (Fusion Ultime)
   DA « Affiche de cirque » tirée du logo historique : noir de piste, rouge
   chapiteau, ampoules de marquise, papier d'affiche, caractères bois (slab)
   et labels condensés — alliée aux composants CRO, AEO et perf v2.
   Mobile-first. Zéro dépendance externe (polices auto-hébergées).
   ========================================================================== */

@font-face { font-family: "Alfa Slab One"; src: url("fonts/alfa-slab-one.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Big Shoulders"; src: url("fonts/big-shoulders.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --night: #0e0b0a;
  --night-2: #1b1513;
  --night-3: #261d19;
  --red: #d0161e;
  --red-dark: #a10f16;
  --bulb: #ffc94a;
  --bulb-soft: #ffe39a;
  --cream: #f4ecdc;
  --paper: #fbf6ec;
  --sand: #e9dcc3;
  --ink: #1d1512;
  --muted: #5d5047;
  --line: rgba(29, 21, 18, .16);
  --line-dark: rgba(244, 236, 220, .14);
  --radius: 6px;
  --wrap: 1200px;
  --slab: "Alfa Slab One", "Rockwell", Georgia, serif;
  --cond: "Big Shoulders", "Arial Narrow", Impact, sans-serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bulbs: radial-gradient(circle at 50% 50%, #fff6d6 0 2.5px, var(--bulb) 3px 5px, rgba(255, 201, 74, .35) 5.5px 7px, transparent 7.5px);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--night);
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
  overflow-x: clip;
}
main { background: var(--cream); }
@media (min-width: 900px) { body { padding-bottom: 0; } }

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--red-dark); text-underline-offset: .18em; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--bulb); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -100px; background: var(--bulb); color: var(--night); padding: .6rem 1rem; z-index: 100; font-weight: 700; text-decoration: none; }
.skip:focus { top: 1rem; }

h1, h2 { font-family: var(--slab); font-weight: 400; line-height: 1.03; letter-spacing: -.005em; margin: 0 0 .45em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 8vw, 5.1rem); }
h2 { font-size: clamp(1.85rem, 5.4vw, 3.35rem); }
h3 { font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; line-height: 1.06; font-size: clamp(1.4rem, 3.2vw, 1.85rem); margin: 0 0 .4em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.accent, em.accent { font-style: normal; color: var(--red); }
.on-dark .accent, .hero .accent, .page-hero .accent { color: var(--bulb); }
strong { font-weight: 700; }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
@media (min-width: 640px) { .wrap { width: min(100% - 2.5rem, var(--wrap)); } }
.narrow { width: min(100% - 2rem, 780px); margin-inline: auto; }
.section { padding: clamp(3.25rem, 8vw, 6.25rem) 0; }
.section.tight { padding-top: 1.25rem; }
.on-dark { background: var(--night); color: var(--cream); }
.on-dark a:not(.btn) { color: var(--bulb-soft); }
.on-sand { background: var(--sand); }

.eyebrow {
  display: inline-block;
  font-family: var(--cond);
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red-dark);
  margin-bottom: .75rem;
}
.on-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--bulb); }
.lead { font-size: clamp(1.08rem, 2.3vw, 1.28rem); line-height: 1.55; }
.muted { color: var(--muted); }
.on-dark .muted, .hero .muted { color: #cbbcaa; }
.small-muted { font-size: .92rem; color: var(--muted); }

/* ---------- Rampe d'ampoules (marquise de chapiteau) ---------- */
.band, .marquee {
  height: 26px;
  background: var(--bulbs) 0 50% / 30px 26px repeat-x, var(--night);
}
@media (prefers-reduced-motion: no-preference) {
  .band, .marquee { animation: chase 2.4s steps(2) infinite; }
  @keyframes chase { to { background-position: 30px 50%, 0 0; } }
}

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--red);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 52px;
  padding: .7rem 1.45rem;
  border-radius: var(--radius);
  border: 2px solid var(--bg);
  background: var(--bg);
  color: var(--fg);
  font: 800 1.12rem/1 var(--cond);
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .28);
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 0 rgba(0, 0, 0, .28); }
.btn.alt { --bg: var(--bulb); --fg: var(--night); }
.btn.alt:hover { background: var(--bulb-soft); border-color: var(--bulb-soft); color: var(--night); }
.btn.ghost { background: transparent; color: var(--cream); border-color: rgba(244, 236, 220, .7); box-shadow: none; }
.btn.ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; box-shadow: none; }
.btn.ghost-ink { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn.ghost-ink:hover { background: rgba(29, 21, 18, .08); color: var(--ink); box-shadow: none; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.65rem; }
.actions .btn { flex: 1 1 auto; }
@media (min-width: 560px) { .actions .btn { flex: 0 0 auto; } }

/* ---------- En-tête & Navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--night); color: var(--cream); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 70px; }
.brand { display: flex; align-items: center; gap: .65rem; color: var(--cream); text-decoration: none; line-height: 1; min-width: 0; }
.brand img { width: 46px; height: 46px; border-radius: 50%; flex: none; }
.brand b { font-family: var(--cond); font-weight: 900; font-size: 1.32rem; letter-spacing: .03em; text-transform: uppercase; display: block; white-space: nowrap; }
.brand small { display: block; font-family: var(--cond); font-weight: 700; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bulb); margin-top: .18rem; white-space: nowrap; }
.brand:hover { color: #fff; }
@media (max-width: 420px) { .brand b { font-size: 1.12rem; } .brand small { font-size: .68rem; } .brand img { width: 40px; height: 40px; } }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: none;
  border: 2px solid rgba(244, 236, 220, .42);
  color: var(--cream);
  border-radius: var(--radius);
  padding: .48rem .85rem;
  font: 800 .98rem var(--cond);
  letter-spacing: .08em;
  text-transform: uppercase;
  min-height: 44px;
  cursor: pointer;
  flex: none;
}
.nav-toggle span { display: block; width: 16px; height: 2px; background: currentColor; position: relative; transition: background .18s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: currentColor; transition: transform .2s ease; }
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-5px) rotate(-45deg); }

.site-nav {
  position: fixed;
  inset: 70px 0 0;
  background: var(--night);
  padding: 1.25rem 1.25rem 6rem;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.nav-open .site-nav { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul > li { border-bottom: 1px dashed rgba(244, 236, 220, .18); }
.site-nav a { display: flex; align-items: center; justify-content: space-between; gap: .35rem; color: var(--cream); text-decoration: none; padding: .75rem 0; font-family: var(--slab); font-size: 1.45rem; }
.site-nav a[aria-current="page"] { color: var(--bulb); }
.site-nav .sub { padding-bottom: .5rem; }
.site-nav .sub a { font-family: var(--cond); font-weight: 700; font-size: 1.18rem; letter-spacing: .04em; text-transform: uppercase; padding: .42rem 0 .42rem 1rem; color: #e6d9c6; }
.site-nav .nav-chev { width: 14px; height: 14px; transition: transform .2s ease; opacity: .75; display: none; }
.site-nav .nav-cta { margin-top: 1.5rem; display: grid; gap: .75rem; border-bottom: 0; }
.site-nav .nav-cta a { font-family: var(--cond); font-size: 1.12rem; justify-content: center; }

@media (min-width: 1040px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; visibility: visible; opacity: 1; transform: none; pointer-events: auto; background: none; padding: 0; overflow: visible; transition: none; }
  .site-nav > ul { display: flex; align-items: center; gap: 1.5rem; }
  .site-nav > ul > li { border: 0; position: relative; }
  .site-nav a { font-family: var(--cond); font-weight: 800; font-size: 1.12rem; letter-spacing: .06em; text-transform: uppercase; padding: .5rem 0; }
  .site-nav a:hover { color: var(--bulb); }
  .site-nav .nav-chev { display: inline-block; }
  .site-nav .has-sub:hover .nav-chev, .site-nav .has-sub:focus-within .nav-chev { transform: rotate(180deg); color: var(--bulb); opacity: 1; }
  .site-nav .sub {
    position: absolute;
    top: calc(100% + .2rem);
    left: -1rem;
    min-width: 280px;
    background: var(--night-2);
    border-top: 3px solid var(--red);
    border-radius: 0 0 var(--radius) var(--radius);
    padding: .5rem;
    box-shadow: 0 20px 44px rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
  }
  .site-nav .has-sub:hover .sub, .site-nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
  .site-nav .sub a { padding: .5rem .8rem; font-size: 1.04rem; border-radius: 4px; }
  .site-nav .sub a:hover { background: rgba(255, 201, 74, .12); color: var(--bulb); }
  .site-nav .nav-cta { margin: 0; display: block; }
  .site-nav .nav-cta .call { display: none; }
  .site-nav .nav-cta .btn { min-height: 44px; padding: .55rem 1.15rem; font-size: 1.04rem; color: #fff; }
}

/* ---------- Barre d'action mobile ---------- */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1.38fr;
  gap: .55rem;
  padding: .6rem .7rem calc(.6rem + env(safe-area-inset-bottom));
  background: var(--night);
  border-top: 3px solid var(--red);
}
.mobile-bar .btn { min-height: 48px; padding: .55rem .7rem; font-size: 1.04rem; box-shadow: none; }
.nav-open .mobile-bar { display: none; }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* ---------- Hero avec alternance feu + ruban ticket ---------- */
.hero { position: relative; color: var(--cream); background: var(--night); overflow: hidden; isolation: isolate; }
.hero .hero-media { position: absolute; inset: 0; z-index: -2; }
.hero .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 32%; }
.hero .hero-media img.hero-alt { position: absolute; inset: 0; opacity: 0; transition: opacity 1.3s ease; pointer-events: none; }
.hero .hero-media.show-alt img.hero-alt { opacity: 1; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(14, 11, 10, .25) 0%, rgba(14, 11, 10, .72) 44%, rgba(14, 11, 10, .97) 80%);
}
.hero .wrap { min-height: min(86svh, 760px); display: flex; flex-direction: column; justify-content: flex-end; padding: 6rem 0 2.75rem; }
.hero h1 { text-transform: uppercase; max-width: 14ch; font-size: clamp(2.25rem, 8.8vw, 4.95rem); }
.hero .lead { max-width: 44ch; color: #efe3d0; }
.hero .proof {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.15rem;
  margin: 1.65rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px dashed rgba(244, 236, 220, .24);
  list-style: none;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #dfd0bc;
}
.hero .proof li::before { content: "★ "; color: var(--bulb); }

.ticket {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: .5rem;
  background: var(--red);
  color: #fff;
  font-family: var(--cond);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .96rem;
  padding: .42rem 1.2rem;
  margin-bottom: 1.15rem;
  clip-path: polygon(0 0, 100% 0, 97.5% 50%, 100% 100%, 0 100%, 2.5% 50%);
}
@media (min-width: 900px) {
  .hero::after {
    background: linear-gradient(90deg, rgba(14, 11, 10, .98) 0%, rgba(14, 11, 10, .86) 40%, rgba(14, 11, 10, .3) 68%, rgba(14, 11, 10, .08) 100%);
  }
  .hero .wrap { justify-content: center; padding: 4.5rem 0; }
}

.page-hero { background: var(--night); color: var(--cream); padding: clamp(2.6rem, 7vw, 5rem) 0 clamp(2.1rem, 5vw, 3.5rem); position: relative; overflow: hidden; }
.page-hero h1 { max-width: 18ch; font-size: clamp(2.15rem, 6.8vw, 4.2rem); }
.page-hero .lead { max-width: 54ch; color: #e6d9c6; }
.page-hero a:not(.btn) { color: var(--bulb-soft); }
@media (max-width: 640px) { .page-hero.compact { padding: 1.75rem 0 1.5rem; } .page-hero.compact .lead { display: none; } }

/* ---------- Fil d'Ariane ---------- */
.crumbs { font-family: var(--cond); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .92rem; margin-bottom: 1rem; color: #bfae99; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs li + li::before { content: "›"; margin-right: .35rem; opacity: .6; }
.crumbs a { color: #e6d9c6; text-decoration: none; }
.crumbs a:hover { color: var(--bulb); text-decoration: underline; }

/* ---------- Bande-annonce & Façade vidéo cinématographique ---------- */
.reel-wrap { max-width: 940px; margin-inline: auto; }
.video-facade {
  position: relative;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
  border: 6px solid var(--night-2);
  box-shadow: 0 22px 44px -20px rgba(0, 0, 0, .65);
}
.video-facade img, .video-facade video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: linear-gradient(180deg, rgba(14, 11, 10, .1) 0%, rgba(14, 11, 10, .48) 100%);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s ease;
}
.video-play:hover { background: linear-gradient(180deg, rgba(14, 11, 10, .04) 0%, rgba(14, 11, 10, .32) 100%); }
.video-play .play-circle {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--red);
  border: 4px solid var(--bulb);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .6);
  transition: transform .2s ease, background .2s ease;
}
.video-play:hover .play-circle { transform: scale(1.09); background: var(--bulb); color: var(--night); }
.video-play .play-circle svg { width: 30px; height: 30px; margin-left: 3px; }
.video-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(14, 11, 10, .88);
  color: var(--bulb);
  border: 1px solid rgba(255, 201, 74, .45);
  padding: .3rem .8rem;
  font: 800 .92rem var(--cond);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- Programme façon affiche (Playbill N° 1, N° 2…) ---------- */
.playbill { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.playbill li { border-bottom: 2px dashed var(--line); }
.playbill a { display: grid; grid-template-columns: auto 1fr auto; gap: .35rem 1.15rem; align-items: center; padding: 1.25rem 0; color: inherit; text-decoration: none; }
.playbill .n { font-family: var(--cond); font-weight: 900; font-size: 1.05rem; letter-spacing: .1em; color: var(--red); grid-row: span 2; align-self: start; padding-top: .35rem; }
.playbill .t { font-family: var(--slab); font-size: clamp(1.5rem, 4.4vw, 2.4rem); line-height: 1.06; color: var(--ink); transition: color .15s; }
.playbill .d { grid-column: 2; color: var(--muted); max-width: 56ch; }
.playbill .go { grid-row: 1 / span 2; grid-column: 3; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; flex: none; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.playbill .go svg { width: 20px; height: 20px; }
.playbill a:hover .t { color: var(--red); }
.playbill a:hover .go { background: var(--red); border-color: var(--red); color: #fff; transform: translateX(3px); }

/* ---------- Affiches verticales de spectacles (4:5 sur l'accueil) ---------- */
.posters { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .posters { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .posters { grid-template-columns: repeat(4, 1fr); } }
.poster {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #000;
  color: var(--cream);
  text-decoration: none;
  display: block;
  border: 2px solid rgba(244, 236, 220, .14);
  transition: border-color .2s ease, transform .2s ease;
}
.poster:hover { border-color: var(--bulb); transform: translateY(-3px); }
.poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.poster:hover img { transform: scale(1.05); }
.poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 11, 10, .05) 28%, rgba(14, 11, 10, .94) 84%); }
.poster .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.15rem; z-index: 1; }
.poster .k { font-family: var(--cond); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .9rem; color: var(--bulb); display: block; }
.poster .t { font-family: var(--slab); font-size: clamp(1.55rem, 3.2vw, 1.95rem); line-height: 1.06; display: block; margin: .2rem 0 .35rem; color: #fff; transition: color .15s; }
.poster .m { font-size: .92rem; color: #dfd0bc; display: block; line-height: 1.45; }
.poster:hover .t { color: var(--bulb); }

/* ---------- Grilles, Cartes & Tuiles ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid > *, .split > *, .form .row > * { min-width: 0; }
@media (min-width: 640px) { .grid.g2, .grid.g3, .grid.g4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid.g3 { grid-template-columns: repeat(3, 1fr); } .grid.g4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-top-color .2s ease;
}
.card:hover { transform: translateY(-3px); border-top-color: var(--bulb); box-shadow: 0 18px 34px -22px rgba(0, 0, 0, .45); }
.card .media { aspect-ratio: 4 / 3; background: var(--night); overflow: hidden; }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.card:hover .media img { transform: scale(1.04); }
.card .body { padding: 1.25rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card .tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .75rem; padding: 0; list-style: none; }
.tag { font-family: var(--cond); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .86rem; padding: .2rem .58rem; background: var(--night); color: var(--bulb); }
.card .more, .tile .more {
  margin-top: auto;
  padding-top: .65rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: var(--cond);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red-dark);
  transition: gap .18s ease, color .18s ease;
}
.card:hover .more, a.tile:hover .more { gap: .6rem; color: var(--red); }

.tile {
  padding: 1.4rem 1.45rem 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
a.tile { transition: transform .18s ease, border-top-color .18s ease, box-shadow .18s ease; }
a.tile:hover { transform: translateY(-3px); border-top-color: var(--bulb); box-shadow: 0 16px 32px -22px rgba(0, 0, 0, .4); color: inherit; }
.tile p:last-child { margin-bottom: 0; }
.dark-tile { background: var(--night-2); border-color: var(--line-dark); border-top-color: var(--red); color: var(--cream); }
.dark-tile h3 { color: var(--bulb); }
.dark-tile p { color: #d8c8b2; }

/* ---------- Sélecteur interactif "Trouvez votre formule" ---------- */
.finder {
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: clamp(1.25rem, 3.5vw, 2.25rem);
  box-shadow: 6px 6px 0 rgba(29, 21, 18, .12);
}
.finder-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; border-bottom: 2px dashed var(--line); padding-bottom: 1.25rem; }
.finder-tab {
  font: 800 1.05rem/1.1 var(--cond);
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .65rem 1.15rem;
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  min-height: 44px;
  transition: background .15s, color .15s, border-color .15s;
}
.finder-tab:hover { border-color: var(--red); color: var(--red); }
.finder-tab[aria-selected="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.finder-panel { display: grid; gap: 1.5rem; align-items: center; }
.finder-panel[hidden] { display: none; }
@media (min-width: 820px) { .finder-panel { grid-template-columns: 1.35fr 1fr; gap: 2.5rem; } }
.finder-reco { background: var(--night); color: var(--cream); padding: 1.5rem; border-top: 4px solid var(--bulb); }
.finder-reco .eyebrow { color: var(--bulb); margin-bottom: .4rem; }
.finder-reco h3 { color: #fff; margin-bottom: .45rem; }
.finder-reco p { color: #dfd0bc; font-size: .96rem; }

/* ---------- Média + texte ---------- */
.split { display: grid; gap: 2rem; align-items: center; }
.split.split-start { align-items: start; }
.split.split-end { align-items: end; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .split.rev > :first-child { order: 2; }
}
.split figure { margin: 0; }
.split figure img { width: 100%; }
.frame { position: relative; margin: 0; }
.frame img { border: 6px solid var(--paper); box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .55); }
.on-dark .frame img, .page-hero .frame img { border-color: var(--night-2); }

/* ---------- Citation éditoriale ---------- */
.quote-band { background: var(--sand); border-top: 2px dashed var(--line); border-bottom: 2px dashed var(--line); padding: clamp(2.5rem, 6vw, 4.25rem) 0; }
.quote-band blockquote { margin: 0; text-align: center; }
.quote-band blockquote p { font-family: var(--slab); font-size: clamp(1.2rem, 2.8vw, 1.85rem); line-height: 1.35; color: var(--ink); max-width: 38ch; margin: 0 auto 1rem; }
.quote-band figcaption { font-family: var(--cond); font-weight: 800; font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red-dark); }

/* ---------- Chiffres & Faits ---------- */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.75rem;
  margin: 1.5rem 0 0;
  padding: 1.1rem 0;
  border-top: 2px dashed rgba(244, 236, 220, .25);
  border-bottom: 2px dashed rgba(244, 236, 220, .25);
}
.stats div { display: flex; align-items: baseline; gap: .45rem; }
.stats dt { font-family: var(--slab); font-size: 1.55rem; color: var(--bulb); }
.stats dd { margin: 0; font-family: var(--cond); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #d8c8b2; font-size: .98rem; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; margin: 1.4rem 0; padding: 0; list-style: none; max-width: 540px; }
.facts li { border: 2px solid rgba(244, 236, 220, .26); padding: .7rem .8rem; background: rgba(255, 255, 255, .03); }
.facts strong { display: block; font-family: var(--cond); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bulb); font-weight: 800; }
.facts span { font-family: var(--slab); font-size: clamp(1.02rem, 2vw, 1.22rem); color: #fff; }

.tldr { border-left: 5px solid var(--red); background: var(--paper); padding: 1.15rem 1.3rem; margin: 0 0 1.85rem; }
.tldr strong { display: block; font-family: var(--cond); font-size: .96rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red-dark); margin-bottom: .25rem; }

.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); margin-top: 1rem; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; border: 4px solid var(--paper); }

.tech-box { background: var(--paper); border: 2px solid var(--ink); padding: 1.2rem 1.3rem; margin: 1.35rem 0; }
.tech-box dl { margin: 0; display: grid; gap: .65rem; }
.tech-box dt { font-family: var(--cond); font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--red-dark); }
.tech-box dd { margin: .1rem 0 0; font-size: .96rem; color: var(--ink); }

/* ---------- Tableau comparatif ---------- */
.table-wrap { overflow-x: auto; border: 2px solid var(--ink); background: var(--paper); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 680px; }
.compare-table thead tr { background: var(--night); color: var(--cream); text-align: left; }
.compare-table th { padding: .95rem 1.05rem; font-family: var(--cond); font-weight: 800; font-size: .96rem; text-transform: uppercase; letter-spacing: .09em; color: var(--bulb); }
.compare-table td { padding: .95rem 1.05rem; border-top: 1px solid var(--line); vertical-align: middle; font-size: .96rem; }
.compare-table tbody tr:hover { background: var(--cream); }

/* ---------- Listes & Étapes ---------- */
.ticks { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .55rem; }
.ticks li { padding-left: 1.55rem; position: relative; }
.ticks li::before { content: "★"; position: absolute; left: 0; top: 0; color: var(--red); }
.on-dark .ticks li::before { color: var(--bulb); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.1rem 0; list-style: none; }
.chips li { font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: 1.02rem; border: 2px solid var(--ink); background: var(--paper); padding: .24rem .72rem; }

.steps { counter-reset: s; display: grid; gap: 1.25rem; padding: 0; list-style: none; margin: 0; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; border-top: 3px solid var(--ink); padding-top: 1rem; }
.steps li::before { content: "N° " counter(s); display: block; font-family: var(--cond); font-weight: 900; font-size: 1rem; color: var(--red); letter-spacing: .1em; margin-bottom: .35rem; }
.steps p { margin: 0; }

.next-card { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-direction: row; }
.next-card .go-next { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; flex: none; transition: .15s; }
.next-card .go-next svg { width: 20px; height: 20px; }
.next-card:hover .go-next { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- FAQ ---------- */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; font-weight: 700; position: relative; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%); font: 400 1.7rem var(--slab); color: var(--red); }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 0 1.2rem; }
.faq .a p:last-child { margin: 0; }

/* ---------- CTA final (encadré double rampe d'ampoules) ---------- */
.cta { background: var(--red); color: #fff; padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 3.5rem); position: relative; overflow: hidden; }
.cta::before, .cta::after { content: ""; position: absolute; left: 0; right: 0; height: 26px; background: var(--bulbs) 0 50% / 30px 26px repeat-x; }
.cta::before { top: 0; }
.cta::after { bottom: 0; }
.cta h2 { max-width: 19ch; margin-top: .5rem; }
.cta .lead { color: #ffeae7; max-width: 54ch; }
.cta .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .75); }

/* ---------- Formulaire & Contact ---------- */
.form { display: grid; gap: 1.05rem; position: relative; }
.form .sr-only { left: 0; top: 0; }
.form .row { display: grid; gap: 1rem; align-items: end; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.form label { display: grid; gap: .38rem; font-weight: 600; font-size: .95rem; }
.form label .opt { font-weight: 400; color: var(--muted); font-size: .88rem; }
.form .req { color: var(--red); font-weight: 700; }
.form input, .form select, .form textarea {
  font: 400 1rem var(--sans);
  color: var(--ink);
  background: var(--paper);
  border: 2px solid #8a7a6a;
  border-radius: var(--radius);
  padding: .75rem .9rem;
  min-height: 50px;
  width: 100%;
}
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 3px rgba(208, 22, 30, .16); }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-weight: 600; font-size: .96rem; margin-bottom: .5rem; }
.radios { display: flex; flex-wrap: wrap; gap: .5rem; }
.radios label { display: inline-flex; align-items: center; gap: .45rem; background: var(--paper); border: 2px solid #8a7a6a; border-radius: var(--radius); padding: .5rem .9rem; font-weight: 500; cursor: pointer; min-height: 44px; }
.radios input { width: auto; min-height: 0; accent-color: var(--red); }
.radios label:has(input:checked) { border-color: var(--red); background: #fff0ee; font-weight: 700; }
.form .note { font-size: .88rem; color: var(--muted); margin: 0; }

.contact-aside { display: grid; gap: 1.15rem; }
@media (min-width: 900px) { .contact-aside { position: sticky; top: 94px; } }
.founder-mini { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 2px dashed var(--line); }
.founder-mini img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; border: 3px solid var(--red); flex: none; }
.founder-mini strong { display: block; font-family: var(--cond); font-weight: 800; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .03em; line-height: 1.1; }
.founder-mini span { display: block; font-size: .86rem; color: var(--muted); }

.contact-cards { display: grid; gap: .7rem; }
.contact-cards a {
  display: flex;
  gap: .9rem;
  align-items: center;
  background: var(--night);
  color: var(--cream);
  text-decoration: none;
  padding: .95rem 1.1rem;
  border-left: 5px solid var(--red);
  transition: background .15s, border-left-color .15s;
}
.contact-cards a:hover { background: var(--night-2); border-left-color: var(--bulb); color: #fff; }
.contact-cards svg { width: 24px; height: 24px; color: var(--bulb); flex: none; }
.contact-cards small { display: block; font-family: var(--cond); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #bfae99; font-size: .86rem; }
.contact-cards b { word-break: break-word; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--night); color: #cbbcaa; padding: 3.5rem 0 2rem; font-size: .95rem; }
.site-footer .cols { display: grid; gap: 2rem; }
@media (min-width: 800px) { .site-footer .cols { grid-template-columns: 1.45fr 1fr 1fr 1fr; } }
.site-footer .footer-h { font-family: var(--cond); font-weight: 800; font-size: 1rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bulb); margin: 0 0 .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .42rem; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--bulb); text-decoration: underline; }
.site-footer address { font-style: normal; }
.site-footer .muted { color: #b9a796; }
.site-footer .legal { border-top: 1px dashed rgba(244, 236, 220, .2); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .84rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; color: #b0a091; }
.social { display: flex; gap: .6rem; margin-top: 1rem; }
.social a { width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(244, 236, 220, .3); display: grid; place-items: center; transition: border-color .15s, background .15s; }
.social a:hover { border-color: var(--bulb); background: rgba(255, 201, 74, .12); }
.social svg { width: 20px; height: 20px; }

/* ---------- Utilitaires (zéro inline style pour CSP strict) ---------- */
.center { text-align: center; }
.center .actions { justify-content: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-15 { margin-top: 1.35rem; }
.mb-0 { margin-bottom: 0; }
.mb-05 { margin-bottom: .5rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-15 { margin-bottom: 1.5rem; }
.w-full { width: 100%; }
.max-34 { max-width: 34ch; }
.max-420 { max-width: 420px; margin-inline: auto; }
.h-sm { font-size: 1.55rem; }
.h-md { font-size: 1.75rem; }
.head { max-width: 760px; margin-bottom: 2.25rem; }
.center.head { margin-inline: auto; }
.prose h2 { margin-top: 2rem; font-size: clamp(1.65rem, 4vw, 2.3rem); }
.prose h3 { margin-top: 1.5rem; }

/* ---------- Apparitions progressives sûres (zéro bug cartes invisibles) ---------- */
.will-reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.will-reveal.in { opacity: 1; transform: none; }

@media print {
  .will-reveal, .reveal { opacity: 1 !important; transform: none !important; }
  .mobile-bar, .nav-toggle, .site-nav, .video-play { display: none !important; }
  body { background: #fff; color: #000; padding-bottom: 0; }
}
