/* ============================================================
   L'Effet Mur — Direction B (haute-fidélité)
   Thème « arcade » : néon, sombre, gros titres impactants.
   Couleur d'accent pilotée par JS : --accent (cycle « la touche du mur »)
   Couleur d'univers courante (le mur qui s'allume) : --u
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --maxw: 1200px;
  --pad-x: clamp(20px, 5vw, 72px);
  --u: #ff5c5c;               /* couleur de l'univers actif (JS) */
  --u-soft: rgba(255,92,92,.18);
}

/* ---------------------------------------------------------------- THÈMES */
body[data-theme="arcade"] {
  --bg: #0a0a12;
  --bg-2: #11111d;
  --card: #16162400;
  --card-solid: #171726;
  --card-2: #1d1d30;
  --ink: #f5f5fb;
  --ink-2: #c6c6d6;
  --muted: #8c8ca3;
  --line: rgba(255,255,255,.10);
  --line-2: rgba(255,255,255,.16);
  --accent: #ff7a3d;          /* animé par JS */
  --accent-ink: #0a0a12;
  --halo: 0 0 0 1px var(--line), 0 24px 60px rgba(0,0,0,.55);
  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-body: 'Space Grotesk', system-ui, sans-serif;
  --wall-mesh: rgba(0,0,0,.55);
  --wall-mesh-hi: rgba(255,255,255,.05);
  --radius: 18px;
  --radius-lg: 26px;
  color-scheme: dark;
}

body[data-theme="joyeux"] {
  --bg: #faf3e8;
  --bg-2: #fffaf2;
  --card: #ffffff;
  --card-solid: #ffffff;
  --card-2: #fdf3e6;
  --ink: #2a201a;
  --ink-2: #5b4d43;
  --muted: #897a6d;
  --line: #ecdfcd;
  --line-2: #e0cfb6;
  --accent: #ef6c3a;
  --accent-ink: #ffffff;
  --halo: 0 1px 0 rgba(255,255,255,.7) inset, 0 22px 48px rgba(120,80,40,.16);
  --font-display: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
  --wall-mesh: rgba(40,20,0,.28);
  --wall-mesh-hi: rgba(255,255,255,.18);
  --radius: 20px;
  --radius-lg: 30px;
  color-scheme: light;
}

html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background .5s ease, color .5s ease;
}

/* arcade : léger halo radial + grain de fond */
body[data-theme="arcade"]::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 80% at 80% -10%, var(--u-soft), transparent 55%),
    radial-gradient(90% 60% at 0% 0%, rgba(80,120,255,.08), transparent 50%);
  transition: background .6s ease;
}
body[data-theme="joyeux"]::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(120% 70% at 85% -10%, var(--u-soft), transparent 60%);
  transition: background .6s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ------------------------------------------------------------ TYPO */
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.05; }
body[data-theme="joyeux"] h1,
body[data-theme="joyeux"] h2,
body[data-theme="joyeux"] h3 { line-height: 1.08; letter-spacing: -.01em; }

h1 {
  font-size: calc(clamp(40px, 6.4vw, 84px) * var(--title-scale, 1));
  font-weight: 800;
  letter-spacing: -.02em;
}
body[data-theme="arcade"] h1 { letter-spacing: -.035em; }
h2 { font-size: calc(clamp(28px, 3.8vw, 50px) * var(--title-scale, 1)); font-weight: 700; letter-spacing: -.02em; }
h3 { font-size: clamp(19px, 1.6vw, 23px); font-weight: 600; }
p { margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: ""; width: 12px; height: 12px; border-radius: 3px;
  background: var(--u);
  box-shadow: 0 0 14px var(--u);
  transition: background .4s ease, box-shadow .4s ease;
}
body[data-theme="joyeux"] .eyebrow::before { box-shadow: none; }

.lead {
  font-size: clamp(17px, 1.35vw, 21px);
  color: var(--ink-2);
  max-width: 56ch;
  line-height: 1.6;
}

/* ------------------------------------------------------------ LAYOUT */
.site { position: relative; z-index: 1; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad-x); }
section { padding-block: clamp(56px, 8vw, 120px); position: relative; }
.section-sep { border-top: 1px solid var(--line); }

.grid { display: grid; gap: clamp(20px, 2.4vw, 34px); }
.muted { color: var(--muted); }

/* ------------------------------------------------------------ BOUTONS */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 16px; font-weight: 700;
  padding: 14px 24px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s cubic-bezier(.3,.8,.3,1), box-shadow .2s, background .2s, color .2s;
  white-space: nowrap; line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 10px 26px -8px var(--accent);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px var(--accent); }
.btn--ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover { border-color: var(--ink); background: var(--card-2); }
body[data-theme="arcade"] .btn--primary {
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 14px 40px -12px var(--accent);
}

.btn .play {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(0,0,0,.18); display: grid; place-items: center; flex: none;
}
.btn--ghost .play { background: var(--card-2); }
.btn .play::after {
  content: ""; width: 0; height: 0; margin-left: 2px;
  border-left: 7px solid currentColor;
  border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent;
}

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--ink-2);
  background: var(--card-2);
}
.chip .dot { width: 9px; height: 9px; border-radius: 3px; background: var(--u); transition: background .4s; }

/* ------------------------------------------------------------ NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav__in { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-body); font-weight: 700; font-size: 19px; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.brand__logo { width: 38px; height: 38px; flex: none; object-fit: contain; display: block; }
.brand__mark {
  width: 32px; height: 32px; border-radius: 8px; flex: none; position: relative;
  background-color: var(--accent);
  background-image: radial-gradient(circle at 50% 50%, #ffffff 0%, #ffffff 24%, rgba(255,255,255,.7) 50%, rgba(255,255,255,0) 56%);
  box-shadow: 0 0 16px -1px var(--accent), inset 0 0 0 1px rgba(0,0,0,.18), inset 0 0 10px rgba(0,0,0,.28);
  transition: background-color .7s ease, box-shadow .7s ease;
}
body[data-theme="arcade"] .brand__mark { box-shadow: 0 0 22px 0 var(--accent), inset 0 0 0 1px rgba(255,255,255,.12), inset 0 0 10px rgba(0,0,0,.35); }
.nav__links { display: flex; gap: 28px; margin-left: 14px; font-weight: 600; font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.nav__links a:hover { color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--ink); }
.nav__spacer { margin-left: auto; }
.nav__phone { font-weight: 700; }
.nav__burger {
  display: none; appearance: none; padding: 0; flex: none;
  width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
  background: var(--card-2); border: 1px solid var(--line-2);
  place-items: center; transition: border-color .2s, background .2s;
}
.nav__burger:hover { background: var(--card-solid); }
.nav__burger > span { position: relative; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: background .2s ease; }
.nav__burger > span::before, .nav__burger > span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px;
  border-radius: 2px; background: var(--ink); transition: transform .25s ease;
}
.nav__burger > span::before { top: -6px; }
.nav__burger > span::after { top: 6px; }
.nav--open .nav__burger > span { background: transparent; }
.nav--open .nav__burger > span::before { transform: translateY(6px) rotate(45deg); }
.nav--open .nav__burger > span::after { transform: translateY(-6px) rotate(-45deg); }
body .btn--primary.nav__phone,
body .hero__cta .btn--primary,
body .faq__grid .btn--primary { box-shadow: 0 0 0 0px rgba(255,255,255,.08), 0 1px 12px 2px var(--accent); }

/* bouton du sélecteur : couleur de l'univers actif (pas le cycle) */
body .upanel .btn--primary { background: var(--u); box-shadow: 0 0 0 0px rgba(255,255,255,.08), 0 1px 12px 2px var(--u); }
body .upanel .btn--primary:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 6px 22px -6px var(--u); }

/* ------------------------------------------------------------ HERO */
.hero { padding-top: 24px; padding-bottom: clamp(48px, 7vw, 96px); }
.hero__title { width: 100%; font-size: calc(clamp(42px, 7.2vw, 96px) * var(--title-scale, 1)); margin-bottom: clamp(28px, 4vw, 48px); text-wrap: balance; }
.hero__grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero h1 .accentword { color: var(--accent); }
body[data-theme="arcade"] .hero h1 .accentword { text-shadow: 0 0 36px color-mix(in srgb, var(--accent) 60%, transparent); }
.hero .lead { margin-top: 24px; }
.hero strong { color: var(--ink); font-weight: 800; }
.hero__cta { display: flex; gap: 14px; margin-top: 8px; flex-wrap: wrap; }
.hero__sub { color: var(--muted); font-size: clamp(15px, 1.1vw, 17px); line-height: 1.6; max-width: 50ch; margin: 0 0 8px; }
.hero__sub strong { color: var(--ink); font-weight: 800; }
.hero__stats { display: flex; gap: 26px; margin-top: 38px; flex-wrap: wrap; }
.hero__stat { display: flex; flex-direction: column; }
.hero__stat b { font-family: var(--font-display); font-size: 26px; font-weight: 700; }
.hero__stat span { font-size: 13px; color: var(--muted); font-weight: 600; }

.hero__media { position: relative; }
.hero__media .ratio { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--halo); border: 1px solid var(--line); background: linear-gradient(150deg, #e9e9f1, #d4d4e1); }
.hero__badge {
  position: absolute; right: -14px; bottom: 22px;
  display: flex; align-items: center; gap: 10px;
  background: var(--card-solid); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: 14px;
  padding: 12px 16px; box-shadow: var(--halo); font-weight: 700; font-size: 14px;
}
.hero__badge .live { width: 9px; height: 9px; border-radius: 50%; background: #36d07a; box-shadow: 0 0 0 4px rgba(54,208,122,.2); animation: livepulse 1.6s infinite; }
@keyframes livepulse { 50% { box-shadow: 0 0 0 7px rgba(54,208,122,0); } }

/* ------------------------------------------------------------ SÉLECTEUR + MUR LED */
.selector { position: relative; }
.selector__head { max-width: 720px; margin-bottom: 56px; }
.selector__tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 56px; margin-bottom: 40px; align-items: stretch; }
.utab {
  appearance: none; cursor: pointer; font-family: var(--font-body);
  position: relative;
  display: flex; align-items: center;
  min-height: 56px; width: 100%; height: 100%;
  padding: 0 30px 0 132px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--card-2);
  transition: border-color .2s, box-shadow .2s, transform .2s, background .2s;
  outline: none;
}
.utab__thumb {
  position: absolute; left: -20px; top: 50%; transform: translateY(-50%);
  width: 128px; height: 92px; border-radius: 12px; overflow: hidden; z-index: 2;
  background: linear-gradient(140deg, var(--u), color-mix(in srgb, var(--u) 45%, #000));
  box-shadow: 0 12px 28px -10px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.14);
  transition: box-shadow .2s, transform .2s;
}
.utab:hover .utab__thumb { transform: translateY(-50%) scale(1.02); }
.utab__thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.utab__label {
  font-size: 16px; font-weight: 700; line-height: 1.2; color: var(--ink-2);
  transition: color .2s; text-wrap: balance;
}
.utab:hover { border-color: var(--u); transform: translateY(-1px); box-shadow: 0 0 0 1px var(--u), 0 8px 30px -10px var(--u); }
body[data-theme="arcade"] .utab:hover { box-shadow: 0 0 0 1px var(--u), 0 0 26px -6px var(--u); }
.utab:hover .utab__label, .utab:focus-visible .utab__label { color: var(--ink); }
.utab:focus-visible { border-color: var(--u); }
.utab[aria-selected="true"] {
  border-color: color-mix(in srgb, var(--u) 70%, transparent);
  box-shadow: 0 0 0 1px var(--u), 0 8px 30px -10px var(--u);
  background: color-mix(in srgb, var(--u) 12%, var(--card-2));
}
.utab[aria-selected="true"] .utab__label { color: var(--ink); }
body[data-theme="arcade"] .utab[aria-selected="true"] { box-shadow: 0 0 0 1px var(--u), 0 0 26px -6px var(--u); }

.selector__stage {
  display: grid; grid-template-columns: 1.12fr .88fr;
  gap: clamp(24px, 3.5vw, 52px); align-items: stretch;
}

/* --- LE MUR --- */
.wall {
  position: relative; border-radius: var(--radius-lg);
  padding: 16px;
  background: linear-gradient(160deg, #1c1c2b, #0c0c14);
  box-shadow: var(--halo);
  aspect-ratio: 4 / 3.1;
  min-height: 340px;
}
body[data-theme="joyeux"] .wall { background: linear-gradient(160deg, #3b2a22, #241712); }
.wall__inner { position: relative; width: 100%; height: 100%; border-radius: calc(var(--radius-lg) - 10px); overflow: hidden; background: linear-gradient(150deg, #dadae6, #bfbfd0); }

/* écran : photos d'univers empilées, crossfade */
.wall__screen { position: absolute; inset: 0; }
.wall__screen img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .5s ease; pointer-events: none;
}
.wall__screen img[data-active="1"] { opacity: 1; pointer-events: auto; }

/* matrice LED par-dessus */
.wall__matrix {
  position: absolute; inset: 0; display: grid; pointer-events: none;
  gap: 0;
  grid-template-columns: repeat(18, 1fr);
  grid-template-rows: repeat(12, 1fr);
}
.cell {
  position: relative;
  box-shadow: inset 0 0 0 .5px rgba(0,0,0,.12);
  transition: background .16s ease, box-shadow .16s ease;
}

/* liseré lumineux du cadre, prend la couleur de l'univers */
.wall::after {
  content: ""; position: absolute; inset: 7px; border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none; border: 1px solid color-mix(in srgb, var(--u) 50%, transparent);
  box-shadow: 0 0 30px -4px var(--u);
  opacity: .9; transition: box-shadow .5s, border-color .5s;
}
body[data-theme="joyeux"] .wall::after { box-shadow: 0 0 22px -6px var(--u); opacity: .8; }

.wall__tag {
  position: absolute; top: 14px; left: 14px; z-index: 4;
  font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: rgba(0,0,0,.55); backdrop-filter: blur(6px);
  padding: 6px 11px; border-radius: 8px; display: flex; align-items: center; gap: 8px;
}
.wall__tag .dot { width: 8px; height: 8px; border-radius: 2px; background: var(--u); box-shadow: 0 0 10px var(--u); transition: background .4s; }

/* panneau de contenu de l'univers */
.upanel { display: flex; flex-direction: column; justify-content: center; }
.upanel__who { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--muted); margin-bottom: 14px; }
.upanel h3 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 14px; }
.upanel p { color: var(--ink-2); font-size: 17px; }
.upanel__points { list-style: none; margin: 22px 0 26px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.upanel__points li { display: flex; align-items: flex-start; gap: 11px; font-weight: 600; font-size: 15.5px; }
.upanel__points li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 5px;
  background: var(--u-soft);
  box-shadow: inset 0 0 0 1.5px var(--u);
  background-image: linear-gradient(var(--u),var(--u));
  background-size: 8px 8px; background-position: center; background-repeat: no-repeat;
  border-radius: 5px;
}
.upanel .btn { align-self: flex-start; }

/* un seul panneau d'univers visible à la fois */
.upanel__pane { display: none; }
.upanel__pane.is-active { display: block; animation: fadeUp .5s ease both; }

/* crossfade du texte */
.fade-key { animation: fadeUp .5s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ ÉTAPES */
.etapes__grid { grid-template-columns: repeat(3, 1fr); margin-top: 8px; }
.etape { position: relative; }
.etape__k {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 5vw, 64px);
  color: transparent; -webkit-text-stroke: 1.4px var(--line-2); line-height: 1; margin-bottom: 16px;
}
body[data-theme="joyeux"] .etape__k { -webkit-text-stroke: 1.6px var(--accent); opacity: .55; }
.etape__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; margin-bottom: 18px; border: 1px solid var(--line); background: linear-gradient(150deg, #e9e9f1, #d4d4e1); }
.etape__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.etape h3 { margin-bottom: 8px; }
.etape p { color: var(--ink-2); font-size: 15.5px; }

/* ------------------------------------------------------------ CHIFFRES */
.stats { background: var(--card-2); border-radius: var(--radius-lg); padding: clamp(28px,4vw,48px); border: 1px solid var(--line); }
.stats__grid { grid-template-columns: repeat(4, 1fr); gap: clamp(18px,2.5vw,36px); }
.stat { text-align: center; display: flex; flex-direction: column; }
.stat__n { font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 4.6vw, 60px); line-height: 1; white-space: nowrap; }
.stat__n .sfx { font-size: .4em; font-weight: 700; color: var(--accent); margin-left: 6px; }
.stat__l { color: var(--muted); font-size: 14.5px; font-weight: 600; margin-top: 10px; }

/* ------------------------------------------------------------ TÉMOIGNAGES */
.tmoins__grid { grid-template-columns: repeat(3,1fr); }
.tmoin { background: var(--card-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.tmoin__quote { font-size: 17px; line-height: 1.5; font-weight: 600; color: var(--ink); }
.tmoin__quote::before { content: "“"; font-family: var(--font-display); color: var(--accent); font-size: 38px; line-height: 0; display: block; height: 18px; position: relative; top: 10px; }
.tmoin__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tmoin__who b { display: block; font-size: 14.5px; }
.tmoin__who span { font-size: 13px; color: var(--muted); }

/* Avis Google : bandeau de note + marquage sur les cartes */
.reviews__head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px 24px;
  margin-top: 24px; padding: 16px 22px;
  background: var(--card-2); border: 1px solid var(--line); border-radius: var(--radius);
}
.reviews__score { display: flex; align-items: center; gap: 14px; }
.reviews__glogo { width: 34px; height: 34px; flex: none; display: block; }
.reviews__scoreText { display: flex; flex-direction: column; gap: 3px; }
.reviews__scoreTop { display: flex; align-items: center; gap: 10px; }
.reviews__num { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1; color: var(--ink); }
.reviews__count { font-size: 13px; color: var(--muted); font-weight: 600; }
.reviews__count b { color: var(--ink); font-weight: 700; }
.reviews__cta { padding-block: 11px; }

.stars { color: #fbbc04; font-size: 18px; letter-spacing: 2px; line-height: 1; white-space: nowrap; }

.tmoin__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tmoin__top .stars { font-size: 16px; }
.tmoin__g { width: 20px; height: 20px; flex: none; display: block; }

.logos { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 36px; }
.logos span.lbl { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; text-align: center; }
.logos__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); align-items: center; gap: 16px; width: 100%; }
.logo-chip { height: 64px; border-radius: 12px; background: #fff; display: grid; place-items: center; padding: 10px 18px; box-shadow: 0 8px 20px -12px rgba(0,0,0,.5); }
.logo-chip img { max-width: 100%; max-height: 44px; width: auto; height: auto; object-fit: contain; display: block; }

/* ------------------------------------------------------------ FAQ */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px,4vw,64px); align-items: start; }
.faq__list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; appearance: none; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; gap: 16px; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(16px,1.5vw,19px); color: var(--ink);
  padding: 20px 0; line-height: 1.3;
}
.faq__q .ic { margin-left: auto; flex: none; width: 26px; height: 26px; position: relative; transition: transform .3s; }
.faq__q .ic::before, .faq__q .ic::after { content: ""; position: absolute; background: var(--u); border-radius: 2px; transition: transform .3s, background .3s; }
.faq__q .ic::before { top: 50%; left: 4px; right: 4px; height: 2.5px; transform: translateY(-50%); }
.faq__q .ic::after { left: 50%; top: 4px; bottom: 4px; width: 2.5px; transform: translateX(-50%); }
.faq__item[data-open="1"] .ic::after { transform: translateX(-50%) scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq__a p { padding: 0 0 22px; color: var(--ink-2); font-size: 15.5px; max-width: 60ch; }

/* ------------------------------------------------------------ CTA */
.cta { position: relative; }
.cta__box {
  border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 80px); text-align: center;
  background-color: var(--accent);
  background-image: linear-gradient(150deg, rgba(255,255,255,.14), rgba(0,0,0,.32));
  transition: background-color .7s ease;
  color: #fff; position: relative; overflow: hidden;
}
body[data-theme="joyeux"] .cta__box { color: #fff; }
.cta__box h2 { color: #fff; }
.cta__box .lead { color: rgba(255,255,255,.9); margin: 16px auto 0; max-width: 50ch; }
.cta__cta { display: flex; gap: 14px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.cta__box .btn--primary { background: #fff; color: var(--accent); box-shadow: 0 12px 30px -10px rgba(0,0,0,.4); }
.cta__box .btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.cta__box .btn--ghost:hover { background: rgba(255,255,255,.12); }

/* ------------------------------------------------------------ FONDATEUR */
.founder__card { position: relative; margin: 0; }
.founder__photo {
  display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
}
.founder__note {
  position: absolute; right: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 40px);
  width: min(390px, 64%); padding: clamp(20px, 2.2vw, 26px);
  background: var(--card-solid); color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  border-radius: 16px;
  box-shadow: 0 0 32px -6px var(--accent), 0 22px 50px rgba(0,0,0,.5);
  transition: border-color .5s ease, box-shadow .5s ease, background-color .7s ease;
}
body[data-theme="joyeux"] .founder__note { box-shadow: 0 0 24px -6px var(--accent), 0 18px 40px rgba(120,80,40,.18); }
.founder__quote {
  font-family: var(--font-body); font-style: italic;
  font-size: clamp(15px, 1.05vw, 17px); line-height: 1.58; color: var(--ink);
}
.founder__sign { display: flex; flex-direction: column; gap: 2px; margin-top: 16px; }
.founder__sign b { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink); }
.founder__sign span { font-size: 13.5px; color: var(--muted); }

@media (max-width: 680px) {
  .founder__photo { aspect-ratio: 4 / 3; }
  .founder__note { position: relative; z-index: 1; width: auto; margin: -52px 14px 0; }
}

/* ------------------------------------------------------------ CONTACT */
.contact__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.contact__intro .lead { margin-top: 16px; }
.contact__meta { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.contact__meta li { display: flex; flex-direction: column; gap: 3px; }
.contact__lbl { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact__meta a, .contact__meta li > span:last-child { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink); }
.contact__meta a:hover { color: var(--accent); }

.contact__form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  background: var(--card-2); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field:nth-child(3), .field:nth-child(4), .contact__send { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--ink-2); }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 16px; color: var(--ink);
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 13px 15px; width: 100%; resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent);
}
.contact__send { justify-self: start; margin-top: 4px; }

@media (max-width: 980px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .contact__form { grid-template-columns: 1fr; }
  .field:nth-child(1), .field:nth-child(2) { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------ FOOTER */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer h4 { font-family: var(--font-body); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer a, .footer p { color: var(--ink-2); font-size: 15px; }
.footer a:hover { color: var(--ink); }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer__brand p { margin-top: 12px; max-width: 32ch; }
.footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }

/* transitions douces quand la couleur primaire défile */
.hero h1 .accentword { transition: color .7s ease, text-shadow .7s ease; }
.stat__n .sfx, .tmoin__quote::before, .etape__k { transition: color .7s ease, -webkit-text-stroke-color .7s ease; }
.btn--primary { transition: transform .18s cubic-bezier(.3,.8,.3,1), box-shadow .7s ease, background .7s ease, color .2s; }

/* ------------------------------------------------------------ RESPONSIVE */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .selector__stage { grid-template-columns: 1fr; }
  .selector__tabs { grid-template-columns: 1fr; gap: 48px 0; }
  .wall { aspect-ratio: 16/10; min-height: 300px; }
  .faq__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .etapes__grid { grid-template-columns: 1fr; max-width: 460px; }
  .tmoins__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px) {
  .nav__in .brand__name { display: none; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav__burger { display: grid; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    padding: 6px var(--pad-x) 14px;
    background: color-mix(in srgb, var(--bg) 98%, transparent);
    backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -16px rgba(0,0,0,.6);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    pointer-events: none;
  }
  .nav--open .nav__links { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
  .nav__links a { padding: 13px 2px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav__links a:last-child { border-bottom: 0; }
  .nav__in { height: 62px; gap: 14px; }
  .nav { top: 0; }
  .hero__stats { gap: 18px; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta__box { padding: 40px 24px; }
  .reviews__head { flex-direction: column; align-items: stretch; }
  .reviews__cta { justify-content: center; }
}
