/*
 * ELINEOM STUDIO — accueil « La lumière du prisme » (2026-12-03).
 * Reprend la prévisualisation validée (référence : _sauvegardes/previsualisation-prisme-validee-2026-12-03) sans la redessiner,
 * et y ajoute About Us, Ils nous font confiance, Tarifs, Contact et le pied de page (repris à l'identique).
 * Feuille autonome : css/proto.css (V2, servie par pages.html) n'est ni modifiée ni chargée.
 * Couleurs : charte ELINEOM (brand/CHARTE.md) — Nuit, Ardoise, Ivoire, Pierre, Acier, Champagne, Bronze — + Porcelaine et Nacre.
 */
@font-face { font-family: 'P Bodoni'; font-style: normal; font-display: swap; font-weight: 400 900; src: url('../static/fonts/bodoni-moda-latin-wght-normal.woff2') format('woff2'); }
@font-face { font-family: 'P Bodoni'; font-style: italic; font-display: swap; font-weight: 400 900; src: url('../static/fonts/bodoni-moda-latin-wght-italic.woff2') format('woff2'); }
@font-face { font-family: 'P Manrope'; font-style: normal; font-display: swap; font-weight: 200 800; src: url('../static/fonts/manrope-latin-wght-normal.woff2') format('woff2'); }

/* Couleurs animables du fond */
@property --bg { syntax: '<color>'; inherits: true; initial-value: #F7F6F3; }
@property --la { syntax: '<color>'; inherits: true; initial-value: rgb(201 164 102 / 0.22); }
@property --lb { syntax: '<color>'; inherits: true; initial-value: rgb(185 195 209 / 0.34); }
@property --ang { syntax: '<angle>'; inherits: true; initial-value: -18deg; }

:root {
  --porcelaine: #F7F6F3;
  --nacre: #EEF0F1;
  --ivoire: #F3EFE6;
  --pierre: #DCD5C8;
  --encre: #141210;
  --gris: #57534E;
  --nuit: #0B0F1C;
  --ardoise: #1A2233;
  --acier: #B9C3D1;
  --champagne: #C9A466;
  --champagne-clair: #E8D3A6;
  --bronze: #7A5C30;

  --serif: 'P Bodoni', 'Bodoni 72', Didot, Georgia, serif;
  --sans: 'P Manrope', 'Segoe UI', system-ui, sans-serif;
  --max: 74rem;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --bar-h: 2.25rem;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.32, 0.5, 1);
  --mx: 0; --my: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6.5rem; scrollbar-gutter: stable; }
html.is-locked { overflow: hidden; }
body { margin: 0; color: var(--encre); background: transparent; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; border-radius: 6px; }
[tabindex='-1']:focus { outline: none; }
::selection { background: rgb(201 164 102 / 0.35); }
.defs { position: absolute; width: 0; height: 0; }
.skip { position: fixed; left: 1rem; top: 0.5rem; z-index: 100; padding: 0.6rem 1rem; border-radius: 999px; background: var(--encre); color: var(--porcelaine); transform: translateY(-250%); }
.skip:focus { transform: none; }

/* ─── Bandeau d'outil ─── */
.pv-bar { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--bar-h); display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 0 1rem; font-size: 0.75rem; color: var(--gris); background: rgb(237 234 227 / 0.92); border-bottom: 1px solid rgb(20 18 16 / 0.1); }
.pv-bar strong { color: var(--encre); font-weight: 600; }
.pv-bar__btn { white-space: nowrap; flex: none; border: 1px solid rgb(20 18 16 / 0.2); background: #fff; border-radius: 999px; padding: 0.2rem 0.75rem; font-size: 0.75rem; cursor: pointer; }
@media (max-width: 640px) { .pv-bar > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } }

/* ═════════════ 1. LE FOND : porcelaine + lumière du prisme ═════════════ */
.fond { position: fixed; inset: 0; z-index: -1; background: var(--bg); overflow: hidden; pointer-events: none;
  transition: --bg 0.95s var(--ease), --la 0.95s var(--ease), --lb 0.95s var(--ease), --ang 1.2s var(--ease); }
html[data-tone='hero'] .fond     { --bg: #F7F6F3; --la: rgb(201 164 102 / 0.32); --lb: rgb(185 195 209 / 0.46); --ang: -18deg; }
html[data-tone='services'] .fond { --bg: #EEF0F1; --la: rgb(185 195 209 / 0.58); --lb: rgb(201 164 102 / 0.22); --ang: 14deg; }
html[data-tone='univers'] .fond  { --bg: #EFEAE1; --la: rgb(201 164 102 / 0.34); --lb: rgb(220 213 200 / 0.6); --ang: -6deg; }
html[data-tone='studio'] .fond    { --bg: #F5F3EE; --la: rgb(201 164 102 / 0.28); --lb: rgb(185 195 209 / 0.38); --ang: -8deg; }
html[data-tone='confiance'] .fond { --bg: #F1EFEA; --la: rgb(201 164 102 / 0.2); --lb: rgb(185 195 209 / 0.3); --ang: 6deg; }
html[data-tone='tarifs'] .fond    { --bg: #EFF0F0; --la: rgb(185 195 209 / 0.48); --lb: rgb(201 164 102 / 0.2); --ang: 10deg; }
html[data-tone='contact'] .fond   { --bg: #F6F3EC; --la: rgb(201 164 102 / 0.22); --lb: rgb(185 195 209 / 0.16); --ang: 0deg; }

.fond__lum { position: absolute; inset: -8%; transform: translate3d(calc(var(--mx, 0) * 18px), calc(var(--my, 0) * 12px), 0); will-change: transform; }
.fond__nappe { position: absolute; border-radius: 50%; will-change: transform; transform-origin: 0 0; transform: scale(2); }
.fond__nappe--a { width: 39vmax; height: 26vmax; left: 38%; top: -8%; background: radial-gradient(closest-side, var(--la), transparent); animation: derive-a 74s ease-in-out infinite alternate; }
.fond__nappe--b { width: 35vmax; height: 29vmax; left: -18%; top: 34%; background: radial-gradient(closest-side, var(--lb), transparent); animation: derive-b 92s ease-in-out infinite alternate; }
/* Le rai : bande de lumière réfractée, très douce, qui tourne d'une section à l'autre */
.fond__rai { position: absolute; left: 20%; right: 20%; top: calc(42% + 6.5vh); height: 13vh; transform: rotate(var(--ang)) scale(2); opacity: 0.85; will-change: transform;
  background:
    radial-gradient(30% 50% at 24% 50%, var(--la), transparent),
    radial-gradient(26% 46% at 47% 50%, rgb(255 255 255 / 0.5), transparent),
    radial-gradient(30% 50% at 70% 50%, var(--lb), transparent);
  animation: rai 38s ease-in-out infinite alternate; }
/* Grain de porcelaine : bruit fixe, presque invisible */
.fond__grain { position: absolute; inset: 0; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .08  0 0 0 0 .07  0 0 0 0 .06  0 0 0 .055 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes derive-a { to { transform: translate3d(-14vw, 10vh, 0) scale(2.16); } }
@keyframes derive-b { to { transform: translate3d(16vw, -8vh, 0) scale(1.88); } }
@keyframes rai { from { translate: 0 -4vh; } to { translate: 0 5vh; } }
html[data-fond='fixe'] .fond__nappe, html[data-fond='fixe'] .fond__rai { animation: none; }
html[data-fond='fixe'] .fond__lum { transform: none; }

/* ═════════════ Boutons à relief ═════════════ */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0 1.6rem; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 0.97rem; letter-spacing: 0.005em; text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform 0.35s var(--spring), box-shadow 0.35s var(--ease); -webkit-tap-highlight-color: transparent; }
.btn > span { position: relative; z-index: 1; }
.btn::after { content: ''; position: absolute; inset: 0; z-index: 0; transform: translateX(-130%); pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, var(--sweep, rgb(255 255 255 / 0.5)) 50%, transparent 70%); }
.btn:hover::after { transform: translateX(130%); transition: transform 0.95s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(0.985); transition-duration: 0.09s; }
/* Laque noire */
.btn--lac { color: var(--porcelaine); --sweep: rgb(232 211 166 / 0.32);
  background: linear-gradient(180deg, #2B2723 0%, #161412 52%, #0D0C0B 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.2), inset 0 -2px 5px rgb(0 0 0 / 0.55), 0 1px 1px rgb(11 15 28 / 0.35), 0 12px 24px -12px rgb(11 15 28 / 0.6); }
.btn--lac:hover { box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.24), inset 0 -2px 5px rgb(0 0 0 / 0.55), 0 2px 2px rgb(11 15 28 / 0.3), 0 18px 30px -14px rgb(11 15 28 / 0.62); }
.btn--lac:active { box-shadow: inset 0 2px 6px rgb(0 0 0 / 0.6), 0 1px 1px rgb(11 15 28 / 0.3), 0 4px 10px -6px rgb(11 15 28 / 0.5); }
/* Porcelaine en relief */
.btn--por { color: var(--encre); --sweep: rgb(201 164 102 / 0.22);
  background: linear-gradient(180deg, #FFFFFF 0%, #F3F2EE 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgb(20 18 16 / 0.1), 0 0 0 1px rgb(20 18 16 / 0.11), 0 10px 20px -12px rgb(11 15 28 / 0.32); }
.btn--por:hover { box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgb(20 18 16 / 0.1), 0 0 0 1px rgb(20 18 16 / 0.16), 0 16px 26px -14px rgb(11 15 28 / 0.36); }
.btn--por:active { box-shadow: inset 0 2px 4px rgb(20 18 16 / 0.12), 0 0 0 1px rgb(20 18 16 / 0.16); }
.btn:focus-visible { outline-offset: 4px; border-radius: 999px; }

/* ═════════════ 2. NAVIGATION : capsule à lentille ═════════════ */
.cap { position: fixed; z-index: 50; top: calc(var(--bar-h) + 0.9rem); left: 50%; translate: -50% 0;
  display: flex; align-items: center; gap: 0.4rem; height: 3.25rem; padding: 0.3rem 0.3rem 0.3rem 1.1rem; border-radius: 999px;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.82), rgb(247 246 243 / 0.64));
  -webkit-backdrop-filter: blur(16px) saturate(1.25); backdrop-filter: blur(16px) saturate(1.25);
  border: 1px solid rgb(20 18 16 / 0.07);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.95), inset 0 -1px 0 rgb(20 18 16 / 0.06), 0 1px 2px rgb(11 15 28 / 0.06), 0 14px 34px -16px rgb(11 15 28 / 0.3);
  transition: height 0.45s var(--ease-out), top 0.45s var(--ease-out), box-shadow 0.45s var(--ease); }
.cap.is-compact { height: 2.875rem; top: calc(var(--bar-h) + 0.6rem); }
.cap__logo { display: flex; padding: 0.4rem 0.6rem 0.4rem 0; margin-right: 0.35rem; border-right: 1px solid rgb(20 18 16 / 0.1); }
.cap__logo img { width: auto; height: 22px; } /* logo officiel : hauteur inchangée, nom agrandi (2026-12-03) */
.cap__nav { position: relative; display: flex; align-items: center; height: 100%; }
.cap__nav a { position: relative; z-index: 1; display: flex; align-items: center; height: 100%; padding: 0 0.95rem; border-radius: 999px; font-size: 0.9rem; color: var(--gris); text-decoration: none; transition: color 0.3s var(--ease); }
.cap__nav a:hover, .cap__nav a[aria-current] { color: var(--encre); }
/* La lentille : une facette de verre qui capte la lumière champagne */
.cap__lens { position: absolute; z-index: 0; top: 50%; left: 0; height: calc(100% - 0.2rem); width: 4rem; translate: var(--lx, 0) -50%; border-radius: 999px; opacity: 0;
  background:
    linear-gradient(118deg, rgb(255 255 255 / 0) 30%, rgb(255 255 255 / 0.9) 46%, rgb(255 255 255 / 0) 62%),
    linear-gradient(100deg, #F1E3C4 0%, #E8D3A6 34%, #F8F1E2 52%, #DDE3EA 78%, #E9EDF1 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 1px rgb(122 92 48 / 0.28), 0 3px 8px -3px rgb(122 92 48 / 0.45);
  transition: translate 0.6s var(--spring), width 0.6s var(--spring), opacity 0.4s var(--ease); }
.cap__lens.is-on { opacity: 1; }
.cap__cta { display: flex; align-items: center; height: 100%; margin-left: 0.3rem; padding: 0 1.15rem; border-radius: 999px; font-size: 0.88rem; font-weight: 600; text-decoration: none; color: var(--porcelaine);
  background: linear-gradient(180deg, #2B2723, #121010); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18), inset 0 -2px 4px rgb(0 0 0 / 0.5); transition: transform 0.3s var(--spring); }
.cap__cta:hover { transform: translateY(-1px); }
.cap__cta:active { transform: translateY(1px) scale(0.98); }
.cap__prog { position: absolute; left: 1.4rem; right: 1.4rem; bottom: -1px; height: 1px; overflow: hidden; border-radius: 1px; }
.cap__prog i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, transparent, var(--bronze) 30%, var(--champagne)); }

/* Mobile : capsule basse */
.capm { display: none; }
@media (max-width: 860px) {
  .cap { display: none; }
  .capm { display: block; position: fixed; z-index: 50; left: 0.75rem; right: 0.75rem; bottom: calc(0.75rem + env(safe-area-inset-bottom)); }
  .capm__bar { display: flex; align-items: center; gap: 0.7rem; height: 3.5rem; padding: 0 0.4rem 0 1rem; border-radius: 999px;
    background: linear-gradient(180deg, rgb(255 255 255 / 0.86), rgb(247 246 243 / 0.72));
    -webkit-backdrop-filter: blur(16px) saturate(1.25); backdrop-filter: blur(16px) saturate(1.25);
    border: 1px solid rgb(20 18 16 / 0.08);
    box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgb(20 18 16 / 0.06), 0 16px 34px -14px rgb(11 15 28 / 0.38); }
  .capm__prism { width: 22px; height: auto; }
  .capm__where { flex: 1; font-family: var(--serif); font-size: 1.15rem; }
  .capm__where.is-swap { animation: swap 0.45s var(--ease-out); }
  .capm__btn { height: 2.75rem; padding: 0 1.2rem; border: 0; border-radius: 999px; font-weight: 600; font-size: 0.9rem; color: var(--porcelaine); cursor: pointer;
    background: linear-gradient(180deg, #2B2723, #121010); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18), inset 0 -2px 4px rgb(0 0 0 / 0.5); }
  .capm__sheet { display: grid; gap: 0.1rem; margin-bottom: 0.6rem; padding: 0.9rem; border-radius: 26px; transform-origin: bottom center;
    background: rgb(250 249 247 / 0.94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid rgb(20 18 16 / 0.08);
    box-shadow: 0 24px 50px -20px rgb(11 15 28 / 0.45); animation: sheet-in 0.42s var(--ease-out); }
  .capm__sheet[hidden] { display: none; }
  .capm__sheet a:not(.btn) { padding: 0.8rem 0.6rem; font-family: var(--serif); font-size: 1.45rem; text-decoration: none; border-bottom: 1px solid rgb(20 18 16 / 0.07); }
  .capm__cta { margin-top: 0.7rem; }
  body { padding-bottom: 5.5rem; }
  html { scrollbar-gutter: auto; }
}
@keyframes sheet-in { from { opacity: 0; transform: translateY(12px) scale(0.97); } }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } }

/* ═════════════ 3. HERO ═════════════ */
.hero { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; min-height: min(86svh, 54rem); padding: calc(var(--bar-h) + 5.5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
/* La méduse peut déborder sur les marges, jamais au-delà de l'écran (aucun défilement horizontal) */
main { overflow-x: clip; }
.hero__title { margin: 0; font-family: var(--serif); font-weight: 420; font-size: clamp(2.75rem, 6.3vw, 6rem); line-height: 0.9; letter-spacing: 0.01em; } /* −17 % (6 déc. 2026) ; avant : clamp(3.3rem, 7.6vw, 7.2rem) */
.hero__title span { display: block; overflow: hidden; padding-bottom: 0.05em; }
.hero__title i { display: block; font-style: normal; animation: line-up 1.15s var(--ease-out) both; }
.hero__title span:nth-child(2) i { animation-delay: 0.12s; letter-spacing: 0.135em; }
.hero__sub { margin: 1.4rem 0 0; font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 500; letter-spacing: 0.01em; }
.hero__sub::before { content: ''; display: inline-block; width: 2.2rem; height: 1px; margin-right: 0.8rem; vertical-align: middle; background: linear-gradient(90deg, var(--bronze), var(--champagne)); }
.hero__sig { margin: 0.6rem 0 0; font-family: var(--serif); font-size: 1.3rem; color: var(--bronze); }
.hero__sig[hidden] { display: none; }
.hero__lead { max-width: 30rem; margin: 1.5rem 0 0; color: var(--gris); font-size: 1.08rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.1rem; }
.hero__sub, .hero__sig, .hero__lead, .hero__actions { animation: fade-up 1s var(--ease-out) 0.45s both; }

/* La méduse flotte sur le fond du hero : aucun cadre. Un halo très doux, sans contour, lui donne de la profondeur
   et soutient ses filaments les plus pâles sur la porcelaine. */
.flotte { position: relative; aspect-ratio: 5 / 4; display: grid; place-items: center; animation: emerge 1.8s var(--ease-out) 0.15s both; }
.flotte__halo { position: absolute; inset: 4% 2% 0 6%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgb(122 92 48 / 0.16), rgb(201 164 102 / 0.10) 45%, rgb(201 164 102 / 0) 100%);
  filter: blur(6px); transform: translate3d(calc(var(--mx, 0) * -3px), calc(var(--my, 0) * -2px), 0); }
.flotte__bob { position: relative; width: 108%; animation: bob 10s ease-in-out infinite; }
.jelly { position: relative; width: 100%; aspect-ratio: 1280 / 854; transform: translate3d(calc(var(--mx, 0) * -9px), calc(var(--my, 0) * -6px), 0); transition: transform 0.6s var(--ease-out); }
.jelly video, .jelly img, .jelly canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 1.4s var(--ease); }
.jelly.is-ready video, .jelly.is-ready img, .jelly.is-ready canvas { opacity: 1; }
.jelly[data-blend='key'] video { filter: url(#jelly-key); }
html[data-meduse='clair'] .jelly[data-blend='key'] video { filter: url(#jelly-key-clair); }
.jelly[data-blend='webgl'] video { opacity: 0 !important; }
.jelly[data-blend='screen'] video, .jelly[data-blend='screen'] img { mix-blend-mode: screen; }
@keyframes emerge { from { opacity: 0; transform: translateY(26px) scale(0.96); } }
@keyframes bob { 50% { transform: translateY(-12px) rotate(-0.6deg); } }
@keyframes line-up { from { transform: translateY(105%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: calc(var(--bar-h) + 1.5rem); gap: 2rem; }
  .flotte { order: -1; aspect-ratio: 4 / 3; margin-inline: -4%; }
}

/* ═════════════ Sections communes ═════════════ */
.sec { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.sec--services { padding: clamp(2.5rem, 4.6vw, 3.75rem) 0 clamp(3.5rem, 6.5vw, 5.25rem); }
.sec--univers { padding: clamp(3.5rem, 6.5vw, 5.25rem) 0 clamp(3.75rem, 7vw, 5.75rem); }
.sec__head { max-width: 40rem; margin-bottom: clamp(1.75rem, 3.4vw, 2.6rem); }
.h2 { margin: 0; font-family: var(--serif); font-weight: 420; font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.04; letter-spacing: -0.012em; }
.h3 { margin: 0; font-family: var(--serif); font-weight: 450; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.15; }
.sec__lead { margin: 0.85rem 0 0; color: var(--gris); max-width: 34rem; }
.rv { transition: opacity 0.7s var(--ease-out) var(--d, 0s), translate 0.85s var(--ease-out) var(--d, 0s); }
html.rv-ready .rv:not(.is-in) { opacity: 0; translate: 0 20px; }
html.rv-ready .rv--depth:not(.is-in) { opacity: 0; translate: 0 32px; scale: 0.965; rotate: x 8deg; }
.rv--depth { transform-origin: 50% 100%;
  transition: opacity 0.7s var(--ease-out) var(--d, 0s), translate 0.9s var(--ease-out) var(--d, 0s), scale 0.9s var(--ease-out) var(--d, 0s), rotate 0.9s var(--ease-out) var(--d, 0s); }

/* Marque « À valider » : brouillon ou information manquante, toujours visible */
.av { display: inline-flex; align-items: center; vertical-align: 0.12em; padding: 0.05rem 0.55rem; border: 1px dashed rgb(122 92 48 / 0.55); border-radius: 999px;
  font-family: var(--sans); font-style: normal; font-weight: 600; font-size: 0.68rem; line-height: 1.5; letter-spacing: 0.01em; color: var(--bronze); white-space: nowrap; }

/* ═════════════ 5. SERVICES : six plaques de porcelaine ═════════════ */
.plaques { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); perspective: 1100px; }
.plaque { --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 0%;
  position: relative; display: flex; flex-direction: column; height: 100%; padding: 0.7rem 0.7rem 1.15rem; border-radius: 22px;
  background: linear-gradient(165deg, #FFFFFF 0%, #FAFAF8 55%, #F2F1EE 100%);
  border: 1px solid rgb(20 18 16 / 0.07);
  box-shadow: inset 0 1px 0 #fff, 0 3px 0 -1px #E3DED4, 0 4px 0 -1px rgb(20 18 16 / 0.08), 0 26px 44px -30px rgb(11 15 28 / 0.42);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transform-origin: 50% 100%;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease),
    opacity 0.7s var(--ease-out) var(--d, 0s), translate 0.9s var(--ease-out) var(--d, 0s), scale 0.9s var(--ease-out) var(--d, 0s), rotate 0.9s var(--ease-out) var(--d, 0s); }
.plaque::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.4s var(--ease);
  background: radial-gradient(40% 40% at var(--gx) var(--gy), rgb(255 255 255 / 0.65), transparent 70%); mix-blend-mode: soft-light; }
.plaque:hover, .plaque:focus-within { box-shadow: inset 0 1px 0 #fff, 0 3px 0 -1px #E3DED4, 0 4px 0 -1px rgb(20 18 16 / 0.08), 0 36px 54px -30px rgb(11 15 28 / 0.5); }
.plaque:hover::after { opacity: 1; }
/* La fenêtre Nuit : image fixe tirée de la vidéo du pôle */
.plaque__win { position: relative; aspect-ratio: 16 / 10; border-radius: 15px; overflow: hidden; background: var(--nuit);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06), 0 1px 0 #fff; }
.plaque__win img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 45%); filter: saturate(0.85) brightness(0.78); transform: scale(1.04); transition: transform 1.2s var(--ease-out), filter 0.6s var(--ease); }
.plaque:hover .plaque__win img { transform: scale(1.09); filter: saturate(0.95) brightness(0.88); }
.plaque__win::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(11 15 28 / 0) 40%, rgb(11 15 28 / 0.55)); }
/* Le motif propre au pôle, tracé champagne */
.motif { position: absolute; z-index: 1; right: 0.6rem; bottom: 0.4rem; width: 46%; height: auto; overflow: visible; fill: none; stroke: var(--m, var(--champagne-clair)); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; opacity: 0.55; }
.motif * { stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }
.plaque:hover .motif, .plaque:focus-within .motif { opacity: 1; }
.plaque:hover .motif *, .plaque:focus-within .motif * { animation: trace 1.4s var(--ease-out) both; }
.plaque:hover .motif *:nth-child(2n) { animation-delay: 0.12s; }
.plaque:hover .motif *:nth-child(3n) { animation-delay: 0.24s; }
@keyframes trace { from { stroke-dashoffset: 1; } }
.plaque__name { margin: 1.05rem 0.45rem 0; font-family: var(--serif); font-weight: 450; font-size: clamp(1.3rem, 1.8vw, 1.5rem); line-height: 1.15; }
.plaque__lead { margin: 0.4rem 0.45rem 0; color: var(--gris); font-size: 0.97rem; line-height: 1.5; }
.plaque__more { position: static; align-self: flex-start; display: inline-flex; align-items: center; gap: 0.55rem; margin: auto 0.45rem 0; padding: 1.1rem 0 0; border: 0; background: none; cursor: pointer; font-size: 0.88rem; font-weight: 600; color: var(--encre); }
.plaque__more::before { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: 22px; }
.plaque__more i { position: relative; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: linear-gradient(180deg, #fff, #EFEDE8); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgb(20 18 16 / 0.12), 0 4px 8px -4px rgb(11 15 28 / 0.3); transition: transform 0.4s var(--spring); }
.plaque__more i::before, .plaque__more i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 9px; height: 1.2px; background: var(--encre); translate: -50% -50%; }
.plaque__more i::after { rotate: 90deg; }
.plaque:hover .plaque__more i { transform: rotate(90deg); }
.plaque__more:focus-visible { outline: none; }
.plaque__more:focus-visible::before { outline: 2px solid var(--encre); outline-offset: 3px; }
.plaque.is-press { transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(-14px); transition-duration: 0.12s; }

@media (max-width: 1000px) { .plaques { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .plaques { grid-template-columns: 1fr; } }

/* ═════════════ Fenêtre de détail : tablette de verre Nuit ═════════════ */
.tab { --acc: var(--champagne-clair); width: min(1080px, 94vw); height: min(720px, 88svh); max-width: none; max-height: none; margin: auto; padding: 0; border: 0; border-radius: 30px; color: var(--ivoire); overflow: visible;
  background: transparent; }
.tab::backdrop { background: rgb(11 15 28 / 0.34); -webkit-backdrop-filter: blur(10px) saturate(0.9); backdrop-filter: blur(10px) saturate(0.9); animation: veil-in 0.5s var(--ease) both; }
.tab.is-closing::backdrop { animation: veil-out 0.34s var(--ease) both; }
.tab__in { position: relative; height: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.25rem, 2.5vw, 2.25rem); padding: clamp(1rem, 1.8vw, 1.4rem); border-radius: 30px; overflow: hidden;
  background: linear-gradient(155deg, rgb(30 39 58 / 0.95) 0%, rgb(15 20 35 / 0.97) 55%, rgb(11 15 28 / 0.98) 100%);
  border: 1px solid rgb(185 195 209 / 0.16);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.1), inset 0 0 0 1px rgb(255 255 255 / 0.02), 0 60px 120px -40px rgb(0 0 0 / 0.7), 0 20px 40px -20px rgb(0 0 0 / 0.5);
  transform-origin: var(--ox, 50%) var(--oy, 50%); }
.tab[open] .tab__in { animation: tab-in 0.62s var(--ease-out) both; }
.tab.is-closing .tab__in { animation: tab-out 0.34s var(--ease) both; }
.tab__in::before { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(50% 40% at 85% 0%, color-mix(in srgb, var(--acc) 16%, transparent), transparent 70%); }
@keyframes tab-in { from { opacity: 0; transform: translate(var(--dx, 0), var(--dy, 0)) scale(0.42); border-radius: 60px; } 55% { opacity: 1; } }
@keyframes tab-out { to { opacity: 0; transform: translate(var(--dx, 0), var(--dy, 0)) scale(0.6); } }
@keyframes veil-in { from { opacity: 0; } }
@keyframes veil-out { to { opacity: 0; } }
html.is-locked main { transform: scale(0.985); filter: saturate(0.9); }
main { transition: transform 0.6s var(--ease-out), filter 0.6s var(--ease); transform-origin: 50% 40vh; }

.tab__media { display: flex; flex-direction: column; gap: 0.6rem; height: 100%; min-height: 0; }
/* Ordinateur : largeur de la colonne vidéo fixée à celle de la référence validée (258 px), validé le 4 décembre 2026.
   Sans légende, la largeur « auto » de la colonne retombait à 0 et les vidéos étaient invisibles. */
@media (min-width: 861px) {
  .tab__media { width: 16.15rem; }
}
.tab__screen { position: relative; flex: 1; min-height: 0; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: #05070D;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08), 0 20px 40px -20px rgb(0 0 0 / 0.7); }
.tab__screen img, .tab__screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tab__screen video { opacity: 0; transition: opacity 0.6s var(--ease); }
.tab__screen video.is-on { opacity: 1; }
.tab__screen video.is-dip { opacity: 0; transition-duration: 0.28s; }
.tab__replay { position: absolute; left: 50%; bottom: 1rem; translate: -50% 0; z-index: 2; padding: 0.55rem 1rem; border: 1px solid rgb(243 239 230 / 0.3); border-radius: 999px; background: rgb(11 15 28 / 0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--ivoire); font-size: 0.85rem; cursor: pointer; }
.tab__cap { margin: 0; font-size: 0.72rem; color: rgb(185 195 209 / 0.75); line-height: 1.4; max-width: 18rem; }

.tab__body { position: relative; overflow-y: auto; overscroll-behavior: contain; padding: clamp(1.5rem, 3vw, 2.6rem) clamp(0.25rem, 2vw, 1.6rem) 1.5rem 0; scrollbar-width: thin; scrollbar-color: rgb(185 195 209 / 0.3) transparent; }
.tab__motif { position: absolute; right: 1rem; top: 1.25rem; width: 9rem; stroke: var(--acc); opacity: 0.5; }
.tab__name { margin: 0; max-width: 85%; font-family: var(--serif); font-weight: 420; font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.05; color: #FAF7F0; }
.tab__lead { margin: 0.9rem 0 0; font-size: 1.15rem; color: var(--acc); }
.tab__text { margin: 1rem 0 0; max-width: 36rem; color: var(--acier); }
.tab__h { margin: 2.1rem 0 0.75rem; font-family: var(--serif); font-weight: 450; font-size: 1.3rem; color: #FAF7F0; }
.tab__p { margin: 0; max-width: 36rem; color: var(--acier); }
.tab__ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.15rem 1.5rem; max-width: 40rem; }
.tab__ul li { position: relative; padding: 0.45rem 0 0.45rem 1.25rem; border-bottom: 1px solid rgb(185 195 209 / 0.1); color: var(--ivoire); font-size: 0.95rem; line-height: 1.45; }
.tab__ul li::before { content: ''; position: absolute; left: 0; top: 0.95rem; width: 7px; height: 6px; background: var(--acc); clip-path: polygon(50% 0, 100% 100%, 0 100%); opacity: 0.85; }
.tab__note { margin: 0.9rem 0 0; max-width: 40rem; color: var(--acier); font-size: 0.88rem; line-height: 1.55; } /* modes d'intervention et devis, sous la liste */
.tab__todo { margin: 0; padding: 1rem 1.1rem; border: 1px dashed rgb(185 195 209 / 0.35); border-radius: 14px; color: rgb(185 195 209 / 0.85); font-size: 0.9rem; max-width: 36rem; }
.tab__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid rgb(185 195 209 / 0.14); }
.btn--ivoire { color: var(--encre); --sweep: rgb(201 164 102 / 0.35); background: linear-gradient(180deg, #FFFDF8, #E9E4D9); box-shadow: inset 0 1px 0 #fff, inset 0 -2px 3px rgb(122 92 48 / 0.22), 0 12px 24px -12px rgb(0 0 0 / 0.6); }
.tab__nav { display: flex; gap: 0.5rem; margin-left: auto; }
.tab__arrow { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid rgb(185 195 209 / 0.25); background: rgb(255 255 255 / 0.04); color: var(--ivoire); cursor: pointer; display: grid; place-items: center; transition: background 0.3s var(--ease), transform 0.3s var(--spring); }
.tab__arrow:hover { background: rgb(255 255 255 / 0.1); transform: translateY(-1px); }
.tab__arrow svg, .tab__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tab__close { position: absolute; z-index: 3; top: 1rem; right: 1rem; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 50%; cursor: pointer; color: var(--ivoire);
  border: 1px solid rgb(243 239 230 / 0.28); background: rgb(255 255 255 / 0.06); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.15); transition: background 0.3s var(--ease), transform 0.3s var(--spring); }
.tab__close:hover { background: rgb(255 255 255 / 0.14); transform: rotate(90deg); }
.tab :focus-visible { outline-color: var(--champagne-clair); }

@media (max-width: 860px) {
  .tab { width: 100%; height: 94svh; margin: auto 0 0; border-radius: 26px 26px 0 0; }
  .tab__in { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 0; padding: 0; border-radius: 26px 26px 0 0; border-bottom: 0; }
  .tab__media { height: auto; padding: 0.6rem 0.6rem 0; }
  .tab__screen { flex: none; aspect-ratio: auto; height: 34svh; border-radius: 20px; }
  .tab__cap { padding: 0 0.4rem; max-width: none; }
  .tab__body { padding: 1.4rem 1.25rem 2rem; }
  .tab__ul { grid-template-columns: 1fr; }
  .tab__motif { display: none; }
  .tab__close { top: 1.1rem; right: 1.1rem; background: rgb(11 15 28 / 0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  @keyframes tab-in { from { transform: translateY(70%); opacity: 0.4; } }
  @keyframes tab-out { to { transform: translateY(80%); opacity: 0; } }
}

/* ═════════════ 7. UNIVERS : six fenêtres encadrées ═════════════ */
.cadres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.6vw, 2.25rem); perspective: 1400px; }
.cadre { position: relative; display: flex; flex-direction: column; height: 100%; padding: 0.85rem 0.85rem 1.2rem;
  background: #FBFAF7; border-radius: 6px;
  box-shadow: 0 0 0 1px rgb(20 18 16 / 0.06), 0 1px 1px rgb(20 18 16 / 0.06), 0 18px 28px -22px rgb(11 15 28 / 0.4), 0 40px 60px -50px rgb(11 15 28 / 0.4);
  transform-origin: 50% 0; transition: transform 0.7s var(--ease-out), box-shadow 0.7s var(--ease-out),
    opacity 0.7s var(--ease-out) var(--d, 0s), translate 0.9s var(--ease-out) var(--d, 0s), scale 0.9s var(--ease-out) var(--d, 0s), rotate 0.9s var(--ease-out) var(--d, 0s); }
.cadre:hover, .cadre:focus-within { transform: rotateX(2.2deg) translateY(-4px);
  box-shadow: 0 0 0 1px rgb(20 18 16 / 0.06), 0 1px 1px rgb(20 18 16 / 0.06), 0 30px 36px -24px rgb(11 15 28 / 0.42), 0 60px 80px -50px rgb(11 15 28 / 0.45); }
/* Passe-partout et filet bronze */
.cadre__win { position: relative; aspect-ratio: 16 / 9; overflow: hidden; outline: 1px solid rgb(122 92 48 / 0.35); outline-offset: 5px; margin: 6px; background: #E7E2D8; }
.cadre__win video { position: absolute; inset: 0; opacity: 0; }
.cadre__win img, .cadre__win video { transition: transform 1s var(--ease-out), opacity 0.9s var(--ease) !important; }
.cadre__win video.is-on { opacity: 1; }
.cadre__win video.is-on.is-dip { opacity: 0; transition: transform 1s var(--ease-out), opacity 0.36s linear !important; }
.cadre__win img, .cadre__win video { width: 100%; height: 100%; object-fit: cover; transform: translate3d(calc(var(--px, 0) * -6px), calc(var(--py, 0) * -4px), 0) scale(1.03); transition: transform 1s var(--ease-out); }
.cadre:hover .cadre__win img, .cadre:hover .cadre__win video { transform: translate3d(calc(var(--px, 0) * -10px), calc(var(--py, 0) * -7px), 0) scale(1.07); }
.cadre__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 1.25rem 0.4rem 0; }
.cadre__name { margin: 0; font-family: var(--serif); font-weight: 450; font-size: 1.4rem; line-height: 1.15; }
.cadre__demo { flex: none; padding: 0.15rem 0.55rem; border: 1px solid rgb(122 92 48 / 0.45); border-radius: 999px; font-size: 0.72rem; color: var(--bronze); }
.cadre__line { margin: 0.4rem 0.4rem 0; color: var(--gris); font-family: var(--serif); font-style: italic; font-size: 1.05rem; }
.cadre__go { align-self: flex-start; margin: auto 0.4rem 0; padding-top: 1.1rem; }
.cadre__go .btn { min-height: 2.75rem; padding: 0 1.1rem; font-size: 0.88rem; gap: 0.5rem; }
.cadre__go svg { position: relative; z-index: 1; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cadre__note { margin: 0.5rem 0.4rem 0; font-size: 0.75rem; color: var(--gris); }
@media (max-width: 1000px) { .cadres { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cadres { grid-template-columns: 1fr; } }

/* Bouton « Visiter la démonstration » : laiton (validé) */
.btn--demo { color: #FBF6EC; --sweep: rgb(255 236 200 / 0.42);
  background: linear-gradient(180deg, #8A6A3A 0%, #735629 55%, #5E4522 100%);
  box-shadow: inset 0 1px 0 rgb(255 236 200 / 0.42), inset 0 -2px 4px rgb(40 25 8 / 0.45), 0 1px 1px rgb(60 40 15 / 0.3), 0 12px 22px -12px rgb(98 72 34 / 0.7); }
.btn--demo:hover { box-shadow: inset 0 1px 0 rgb(255 236 200 / 0.5), inset 0 -2px 4px rgb(40 25 8 / 0.45), 0 2px 2px rgb(60 40 15 / 0.3), 0 18px 28px -14px rgb(98 72 34 / 0.72); }
.btn--demo:active { box-shadow: inset 0 2px 5px rgb(40 25 8 / 0.55), 0 1px 1px rgb(60 40 15 / 0.3); }
/* Matière commune des nouvelles surfaces : la porcelaine des plaques Services (même dégradé, même tranche, même ombre) */
.porc { background: linear-gradient(165deg, #FFFFFF 0%, #FAFAF8 55%, #F2F1EE 100%); border: 1px solid rgb(20 18 16 / 0.07);
  box-shadow: inset 0 1px 0 #fff, 0 3px 0 -1px #E3DED4, 0 4px 0 -1px rgb(20 18 16 / 0.08), 0 26px 44px -30px rgb(11 15 28 / 0.42); }

/* ═════════════ 2. ABOUT US ═════════════ */
.sec--studio { padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.studio { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.studio__sig { margin: 0.9rem 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.3; color: var(--bronze); }
.studio__draft p { max-width: 34rem; margin: 1rem 0 0; color: var(--gris); }
.studio__draft .av-note { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; margin-top: 1.25rem; font-size: 0.8rem; }
/* Texte « À propos » du fondateur (4 décembre 2026) : mêmes paragraphes que l'ancien brouillon ; phrase d'ouverture en gras, comme dans le texte fourni */
.studio__about p { max-width: 34rem; margin: 1rem 0 0; color: var(--gris); }
.studio__about strong { font-weight: 600; color: var(--encre, var(--noir)); }
.studio__method { padding: clamp(1.4rem, 2.6vw, 2.1rem); border-radius: 22px; }
.studio__h { margin: 0 0 0.6rem; font-family: var(--serif); font-weight: 450; font-size: clamp(1.25rem, 1.8vw, 1.45rem); line-height: 1.2; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: 0.25rem; padding: 0.85rem 0; border-top: 1px solid rgb(20 18 16 / 0.08); }
.steps li:first-child { border-top: 0; }
.steps i { font-family: var(--serif); font-style: normal; font-size: 1rem; color: var(--bronze); padding-top: 0.1rem; }
.steps b { display: block; font-family: var(--serif); font-weight: 450; font-size: 1.15rem; line-height: 1.3; }
.steps span { display: block; margin-top: 0.15rem; color: var(--gris); font-size: 0.92rem; line-height: 1.5; }
@media (max-width: 860px) { .studio { grid-template-columns: 1fr; } }

/* ═════════════ 5. ILS NOUS FONT CONFIANCE : vitrine des logos ═════════════ */
.sec--confiance { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.sec--confiance[hidden] { display: none; }
.sec__head--center { margin-inline: auto; text-align: center; }
.sec__head--center .sec__lead { margin-inline: auto; }
.vitrine { position: relative; overflow: hidden; padding: 0.35rem 0; }
.vitrine__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(0.6rem, 1.4vw, 1rem); }
.vitrine__slot { display: grid; place-items: center; height: clamp(4.25rem, 7vw, 5.5rem); border: 1px dashed rgb(122 92 48 / 0.32); border-radius: 14px; background: rgb(255 255 255 / 0.38);
  color: rgb(87 83 78 / 0.8); font-size: 0.76rem; }
.vitrine__note { max-width: 36rem; margin: 1rem auto 0; text-align: center; color: var(--gris); font-size: 0.8rem; }
/* Bandeau défilant : actif uniquement quand de vrais logos sont fournis (liste vide aujourd'hui) */
.vitrine.is-marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.vitrine.is-marquee .vitrine__row { display: flex; width: max-content; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; animation: defile 48s linear infinite; }
.vitrine.is-marquee:hover .vitrine__row { animation-play-state: paused; }
.vitrine.is-marquee img { height: 2.4rem; width: auto; opacity: 0.75; filter: grayscale(1); }
@keyframes defile { to { transform: translateX(-50%); } }
@media (max-width: 760px) { .vitrine__row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ═════════════ 6. TARIFS : emplacements de porcelaine, sans contenu inventé ═════════════ */
.sec--tarifs { padding: clamp(3rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem); }
.offres { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); perspective: 1100px; }
.offre { display: flex; flex-direction: column; min-height: 22rem; padding: clamp(1.3rem, 2.2vw, 1.8rem); border-radius: 22px; }
.offre__k { margin: 0; font-size: 0.8rem; color: var(--gris); }
.offre__name { margin: 0.5rem 0 0; font-family: var(--serif); font-weight: 450; font-size: clamp(1.4rem, 2vw, 1.65rem); line-height: 1.15; }
.offre__price { display: flex; align-items: baseline; gap: 0.7rem; margin: 1rem 0 0; padding-bottom: 1.1rem; border-bottom: 1px solid rgb(20 18 16 / 0.08); font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: rgb(20 18 16 / 0.3); }
.offre__lines { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: 0.85rem; }
.offre__lines li { width: var(--w, 80%); height: 0.55rem; border-radius: 999px; background: linear-gradient(90deg, rgb(20 18 16 / 0.075), rgb(20 18 16 / 0.04)); }
.offre__todo { margin: 1.2rem 0 0; font-size: 0.82rem; color: var(--gris); }
.offre__go { align-self: flex-start; margin-top: auto; white-space: nowrap; }
.offre__todo { margin-bottom: 1.4rem; }
@media (max-width: 900px) { .offres { grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); } .offre { min-height: 0; padding: 1.15rem; } .offre__go { align-self: stretch; padding: 0 1rem; font-size: 0.9rem; } }
@media (max-width: 600px) { .offres { grid-template-columns: 1fr; } .offre { min-height: 0; } .offre__go { margin-top: 1.4rem; } }

/* Tarifs (2026-12-03) : formules, prix d'ouverture, bandeau et code. Ajouts seulement ; les règles ci-dessus restent. */
.offre__promise { margin: 0.6rem 0 0; min-height: 3em; font-size: 0.92rem; line-height: 1.5; color: var(--gris); }
.offre__price { display: block; color: var(--encre); }
.offre__tag { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; margin: 0 0 0.55rem; font-family: var(--sans); font-size: 0.78rem; font-weight: 600; line-height: 1.3; color: var(--bronze); }
.offre__amounts { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 0.85rem; margin: 0; }
.offre__amount { font-family: var(--serif); font-size: clamp(2.1rem, 3vw, 2.5rem); line-height: 1; color: var(--encre); }
.offre__amount--quote { font-size: clamp(1.7rem, 2.4vw, 2rem); }
.offre__tag--empty { visibility: hidden; } /* « Sur devis » aligné sur les prix des autres cartes */
/* Cartes côte à côte sur écran moyen : promesses sur 3 à 4 lignes, réservées pour que les prix restent alignés */
@media (min-width: 601px) and (max-width: 1100px) { .offre__promise { min-height: 6em; } }
/* Prix normal barré : uniquement s'il est confirmé (ou en aperçu signalé) */
.offre__was { font-family: var(--serif); font-size: 1.3rem; line-height: 1; color: var(--gris); text-decoration: line-through; text-decoration-color: rgb(122 92 48 / 0.75); text-decoration-thickness: 1px; }
.offre__perks { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.4rem; font-size: 0.86rem; }
.offre__perks li { padding-left: 0.9rem; border-left: 1px solid var(--champagne); }
.offre__perk-code { font-weight: 600; letter-spacing: 0.06em; color: var(--bronze); }
.offre__todo .av { margin-right: 0.3rem; }
.tarifs__pay { max-width: 40rem; margin: clamp(1.4rem, 2.5vw, 2rem) auto 0; text-align: center; font-size: 0.86rem; line-height: 1.55; color: var(--gris); }

/* Bandeau de l'offre d'ouverture : filet champagne, porcelaine, sans effet publicitaire */
.ouv { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.6rem 1.2rem;
  margin: 0 0 clamp(1.1rem, 2vw, 1.5rem); padding: 0.95rem clamp(1rem, 2vw, 1.4rem); border: 1px solid rgb(201 164 102 / 0.38); border-radius: 18px;
  background: linear-gradient(100deg, rgb(255 255 255 / 0.72), rgb(255 255 255 / 0.5) 55%, rgb(232 211 166 / 0.22)); }
.ouv[hidden], .ouv__code[hidden] { display: none; }
.ouv__sym { width: 22px; height: auto; opacity: 0.9; }
.ouv__k { margin: 0; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bronze); }
.ouv__p { margin: 0.2rem 0 0; font-size: 0.92rem; line-height: 1.45; color: var(--encre); }
/* 4e colonne souple : la note (sur toute la largeur) s'y loge sans écarter « Code », le code et « Copier » */
.ouv__code { display: grid; grid-template-columns: auto auto auto minmax(0, 1fr); justify-content: start; align-items: center; justify-items: start; gap: 0.25rem 0.6rem; }
.ouv__lbl { font-size: 0.78rem; color: var(--gris); }
.ouv__val { padding: 0.3rem 0.75rem; border: 1px dashed rgb(122 92 48 / 0.55); border-radius: 999px; background: rgb(255 255 255 / 0.7);
  font-size: 0.88rem; font-weight: 600; letter-spacing: 0.12em; color: var(--encre); user-select: all; }
.ouv__copy { min-height: 2.75rem; padding: 0 1rem; border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-size: 0.84rem; font-weight: 600; color: var(--encre);
  background: linear-gradient(180deg, #FFFFFF, #EFEDE8); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgb(20 18 16 / 0.12); transition: box-shadow 0.25s var(--ease), color 0.25s var(--ease); }
.ouv__copy:hover { box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgb(122 92 48 / 0.45); }
.ouv__copy:focus-visible { outline-offset: 3px; }
.ouv__copy.is-copied { color: var(--bronze); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px var(--champagne); }
.ouv__note { grid-column: 1 / -1; margin: 0; font-size: 0.76rem; line-height: 1.4; color: var(--gris); }
@media (max-width: 860px) {
  .ouv { grid-template-columns: auto minmax(0, 1fr); }
  .ouv__code { grid-column: 1 / -1; }
}

/* Formulaire : champ « Code promotionnel » */
.field--budget input { max-width: 20rem; }
.field--code input { max-width: 20rem; letter-spacing: 0.08em; text-transform: uppercase; }
.field--code input::placeholder { letter-spacing: 0; text-transform: none; }
.field__hint { font-size: 0.78rem; line-height: 1.4; color: var(--gris); }

/* ═════════════ 7. CONTACT ═════════════ */
.sec--contact { padding: clamp(3.5rem, 6.5vw, 5.25rem) 0 clamp(4rem, 8vw, 6rem); }
.contact { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact__info { display: grid; gap: 0.9rem; margin: 1.8rem 0 0; }
.contact__info div { padding-top: 0.8rem; border-top: 1px solid rgb(20 18 16 / 0.1); }
.contact__info dt { font-size: 0.8rem; color: var(--gris); }
.contact__info dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; margin: 0.15rem 0 0; font-weight: 500; }
/* Coordonnées réelles (e-mail, Instagram, TikTok) : texte noir, soulignement champagne discret, comme les liens du panneau cookies */
.contact__link { color: var(--noir); text-decoration: underline; text-decoration-color: rgb(201 164 102 / 0.55); text-decoration-thickness: 1px; text-underline-offset: 5px;
  overflow-wrap: anywhere; transition: text-decoration-color 0.25s var(--ease); }
.contact__link:hover { text-decoration-color: var(--champagne); }
.form-plaque { padding: clamp(1.25rem, 2.6vw, 2.1rem); border-radius: 26px; }
.cform__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.2rem; }
.field { display: grid; gap: 0.4rem; align-content: start; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 0.86rem; font-weight: 600; }
.field__opt { font-weight: 400; color: var(--gris); }
.field input, .field select, .field textarea { width: 100%; min-height: 3rem; padding: 0.7rem 1rem; border: 1px solid rgb(20 18 16 / 0.14); border-radius: 14px;
  background: linear-gradient(180deg, #F3F2EE, #FBFAF8); box-shadow: inset 0 2px 3px rgb(20 18 16 / 0.06);
  font: inherit; font-size: 1rem; color: var(--encre); transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.field textarea { min-height: 8.5rem; resize: vertical; line-height: 1.5; }
.field ::placeholder { color: rgb(87 83 78 / 0.7); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bronze); box-shadow: inset 0 2px 3px rgb(20 18 16 / 0.05), 0 0 0 3px rgb(201 164 102 / 0.35); }
.field [aria-invalid='true'] { border-color: #A1442F; }
.field__select { position: relative; }
.field__select select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; cursor: pointer; }
.field__select::after { content: ''; position: absolute; right: 1.1rem; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--encre); border-bottom: 1.5px solid var(--encre); translate: 0 -70%; rotate: 45deg; pointer-events: none; }
.ferr { color: #A1442F; font-size: 0.8rem; line-height: 1.4; }
.ferr:empty { display: none; }
.field__count { justify-self: end; margin-top: -0.1rem; font-size: 0.75rem; color: var(--gris); }
.cform__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid rgb(20 18 16 / 0.08); }
.cform__note { max-width: 24rem; margin: 0; font-size: 0.8rem; color: var(--gris); }
.cform__note .av { margin-right: 0.35rem; }
/* Envoi réel (/api/contact, phase 1 du 4 décembre 2026) : champ piège, information sur les données, échec d'envoi */
.cform__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cform__privacy { margin: 1.2rem 0 0; font-size: 0.78rem; line-height: 1.55; color: var(--gris); }
.cform__privacy a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }
/* Sans JavaScript (décision 3, 5 déc. 2026) : message à la place du formulaire ; avec JavaScript, rien ne change */
.cform__nojs { display: none; margin: 0; font-size: 0.78rem; line-height: 1.55; color: var(--gris); }   /* style de .cform__privacy */
.cform__nojs a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }
@media (scripting: none) { .cform__nojs { display: block; } .cform { display: none; } }
.cform__fail { margin-top: 1.2rem; padding: 1rem 1.1rem; border: 1px solid rgb(161 68 47 / 0.28); border-radius: 0.9rem; background: rgb(161 68 47 / 0.05); }
.cform__fail[hidden] { display: none; }
.cform__fail > p { margin: 0; font-size: 0.88rem; line-height: 1.5; color: #7E3424; }
.cform__alt { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.9rem; }
.cform__fail-st { margin: 0.6rem 0 0; font-size: 0.8rem; color: var(--gris); }
.cform__fail-st:empty { display: none; }
.cform[aria-busy='true'] [data-submit] { opacity: 0.7; cursor: progress; }
.cform[hidden], .cdone[hidden] { display: none; }
.cdone { animation: fade-up 0.6s var(--ease-out) both; }
.cdone img { margin-bottom: 1rem; }
.cdone__title { margin: 0; font-family: var(--serif); font-weight: 450; font-size: clamp(1.5rem, 2.4vw, 1.85rem); line-height: 1.15; }
.cdone > p { margin: 0.8rem 0 0; color: var(--gris); }
.cdone__sum { display: grid; margin: 1.3rem 0 0; }
.cdone__sum div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding: 0.6rem 0; border-top: 1px solid rgb(20 18 16 / 0.08); }
.cdone__sum dt { font-size: 0.85rem; color: var(--gris); }
.cdone__sum dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.cdone .btn { margin-top: 1.4rem; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cform__grid { grid-template-columns: 1fr; } .cdone__sum div { grid-template-columns: 1fr; gap: 0.1rem; } .cform__foot .btn { width: 100%; } }

/* ═════════════ 8. PIED DE PAGE : règles reprises à l'identique de css/proto.css (V2), avec ses propres valeurs ═════════════ */
.ft { --rule: rgb(20 18 16 / 0.12); --gris: #5E5A55; --noir: #141210; --max: 76rem; --gutter: clamp(1.25rem, 5vw, 5rem);
  position: relative; color: var(--noir); background: #F6F3EC; text-rendering: optimizeLegibility; }
.ft :focus-visible { outline: 2px solid var(--noir); outline-offset: 3px; border-radius: 4px; }
.ft { border-top: 1px solid var(--rule); padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) 2rem; font-size: 0.9375rem; }
.ft__top { display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap; width: min(100%, var(--max)); margin-inline: auto; }
.ft__brand img { width: 140px; height: auto; }
.ft__sig { font-family: var(--serif); font-style: italic; font-size: 1.2rem; margin: 1rem 0 0; }
.ft__cols { display: grid; grid-template-columns: repeat(3, auto); gap: 1rem clamp(2.5rem, 6vw, 5rem); }
.ft__cols div { display: grid; gap: 0.55rem; align-content: start; }
.ft__h { margin: 0 0 0.3rem; font-weight: 600; font-size: 0.875rem; }
.ft__cols a { color: var(--gris); text-decoration: none; } .ft__cols a:hover { color: var(--noir); text-decoration: underline; text-underline-offset: 4px; }
.ft__muted { color: var(--gris); font-size: 0.8125rem; }
@media (max-width: 700px) { .ft__cols { grid-template-columns: 1fr 1fr; } }


/* ═════════════ Panneau des décisions (outil) ═════════════ */
.dec { width: min(40rem, 94vw); max-height: 88svh; padding: 0; border: 0; border-radius: 22px; background: #FBFAF7; color: var(--encre); box-shadow: 0 40px 80px -30px rgb(11 15 28 / 0.5); }
.dec::backdrop { background: rgb(11 15 28 / 0.3); }
.dec__in { padding: 1.6rem 1.6rem 1.4rem; }
.dec h2 { margin: 0; font-family: var(--serif); font-weight: 450; font-size: 1.7rem; }
.dec__note { margin: 0.5rem 0 1rem; color: var(--gris); font-size: 0.9rem; }
.dec__list { margin: 0; padding-left: 1.3rem; display: grid; gap: 0.85rem; font-size: 0.9rem; }
.dec__list b { display: block; }
.dec__list span { color: var(--gris); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 0.25rem; margin-top: 0.4rem; padding: 0.2rem; border-radius: 999px; background: #EDEAE3; }
.seg button { border: 0; background: none; padding: 0.3rem 0.8rem; border-radius: 999px; font-size: 0.8rem; cursor: pointer; color: var(--gris); }
.seg button[aria-pressed='true'] { background: #fff; color: var(--encre); box-shadow: 0 1px 3px rgb(11 15 28 / 0.18); }
.dec__aid { margin: 1.2rem 0 0; font-size: 0.85rem; color: var(--gris); }
.dec__close { margin-top: 1.2rem; min-height: 2.75rem; }

/* ═════════════ Premier échange créatif offert (5 déc. 2026) ═════════════
   Fenêtre de nuit (rayon des panneaux d'univers), lumière du prisme très douce ; un seul geste : le fil de lumière
   qui relie les trois temps se dessine une fois (seulement si le JavaScript tourne, jamais en mouvement réduit). */
.pe { position: relative; isolation: isolate; overflow: hidden; padding: clamp(2.25rem, 5vw, 4.5rem) clamp(1.4rem, 5vw, 4.5rem);
  border-radius: 30px; color: var(--ivoire);
  background: radial-gradient(60% 80% at 10% 0%, rgb(201 164 102 / 0.16), transparent 70%),
              radial-gradient(50% 70% at 96% 100%, rgb(185 195 209 / 0.12), transparent 70%),
              linear-gradient(160deg, var(--ardoise) 0%, var(--nuit) 58%);
  box-shadow: 0 30px 60px -36px rgb(11 15 28 / 0.55); }
.pe::before { content: ''; position: absolute; inset: -20% -10%; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgb(232 211 166 / 0.07) 46%, rgb(185 195 209 / 0.06) 52%, transparent 60%); }
.pe__head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: end; }
.pe__k { margin: 0 0 0.9rem; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; color: var(--champagne); }
.pe__h { color: #FAF7F0; }
.pe__accroche { margin: 0.9rem 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.3; color: var(--champagne-clair); }
.pe__texte p { margin: 0 0 0.85rem; max-width: 34rem; font-size: 1rem; line-height: 1.7; color: rgb(243 239 230 / 0.78); }
.pe__texte p:last-child { margin-bottom: 0; }
.pe__temps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem);
  margin: clamp(2.5rem, 5vw, 3.75rem) 0 0; padding: 0; list-style: none; }
.pe__temps::before { content: ''; position: absolute; left: 0; right: 0; top: 0.42rem; height: 1px; transform-origin: left center;
  background: linear-gradient(90deg, rgb(201 164 102 / 0), var(--champagne) 12%, var(--champagne-clair) 50%, rgb(185 195 209 / 0.7) 88%, rgb(185 195 209 / 0));
  box-shadow: 0 0 12px rgb(232 211 166 / 0.45); transition: transform 1.6s var(--ease-out) 0.15s; }
html.rv-ready .pe__temps:not(.is-in)::before { transform: scaleX(0); }
.pe__temps li { position: relative; padding-top: 1.9rem; }
.pe__temps li::before { content: ''; position: absolute; left: 0; top: 0.1rem; width: 0.65rem; height: 0.65rem; rotate: 45deg;
  border: 1px solid var(--champagne-clair); background: var(--nuit); box-shadow: 0 0 10px rgb(232 211 166 / 0.5); }
.pe__t { margin: 0 0 0.45rem; font-family: var(--serif); font-weight: 450; font-size: clamp(1.5rem, 2.2vw, 1.85rem); line-height: 1.1; color: #FAF7F0; }
.pe__temps p { margin: 0; max-width: 22rem; font-size: 0.95rem; line-height: 1.65; color: rgb(243 239 230 / 0.72); }
/* Séparateurs fins entre les domaines ; celui qui tomberait en début de ligne est rogné (overflow) */
.pe__domaines { display: flex; flex-wrap: wrap; gap: 0.5rem 0; overflow: hidden; margin: clamp(2.25rem, 4vw, 3rem) 0 0 -0.9rem; padding: 1.25rem 0 0; list-style: none;
  background: linear-gradient(rgb(243 239 230 / 0.1), rgb(243 239 230 / 0.1)) 0.9rem 0 / 100% 1px no-repeat;
  font-size: 0.8rem; line-height: 1.25; letter-spacing: 0.01em; color: rgb(243 239 230 / 0.6); }
.pe__domaines li { margin-left: -1px; padding: 0 0.9rem; border-left: 1px solid rgb(201 164 102 / 0.55); }
.pe__action { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: clamp(1.75rem, 3vw, 2.25rem); }
.pe__prix { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 0.9rem; margin: 0; font-size: 0.98rem; color: rgb(243 239 230 / 0.82); }
.pe__zero { font-family: var(--serif); font-weight: 450; font-size: clamp(2.2rem, 3.4vw, 2.8rem); line-height: 1; color: var(--champagne-clair); }
.pe .btn:focus-visible { outline: 2px solid var(--champagne-clair); outline-offset: 3px; }
.pe__mention { max-width: 46rem; margin: 1.4rem 0 0; font-size: 0.8rem; line-height: 1.6; color: rgb(243 239 230 / 0.62); }
.pe__plus { margin-top: 1rem; border-top: 1px solid rgb(243 239 230 / 0.1); }
.pe__plus summary { display: flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; padding: 0.95rem 0 0.2rem; cursor: pointer; list-style: none;
  font-size: 0.86rem; font-weight: 600; color: var(--champagne-clair); }
.pe__plus summary::-webkit-details-marker { display: none; }
.pe__plus summary::after { content: ''; width: 0.5rem; height: 0.5rem; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: translateY(-0.15rem) rotate(45deg); transition: transform 0.3s var(--ease); }
.pe__plus[open] summary::after { transform: translateY(0.1rem) rotate(-135deg); }
.pe__plus summary:focus-visible { outline: 2px solid var(--champagne-clair); outline-offset: 4px; border-radius: 4px; }
.pe__plus ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4rem 2rem; margin: 0.8rem 0 0; padding: 0; list-style: none;
  font-size: 0.88rem; line-height: 1.55; color: rgb(243 239 230 / 0.78); }
.pe__plus li { position: relative; padding-left: 1.1rem; }
.pe__plus li::before { content: ''; position: absolute; left: 0; top: 0.75em; width: 0.5rem; height: 1px; background: var(--champagne); }
.pe__plus p { margin: 1rem 0 0.25rem; font-size: 0.86rem; color: rgb(243 239 230 / 0.7); }
@media (max-width: 860px) { .pe__head { grid-template-columns: 1fr; align-items: start; } }
@media (max-width: 700px) {
  /* Le fil devient vertical : les trois temps s'empilent le long de la lumière */
  .pe { border-radius: 24px; }
  .pe__temps { grid-template-columns: 1fr; gap: 1.6rem; padding-left: 1.6rem; }
  .pe__temps::before { left: 0.32rem; right: auto; top: 0.5rem; bottom: 0.5rem; width: 1px; height: auto; transform-origin: center top;
    background: linear-gradient(180deg, var(--champagne), var(--champagne-clair) 50%, rgb(185 195 209 / 0.6)); }
  html.rv-ready .pe__temps:not(.is-in)::before { transform: scaleY(0); }
  .pe__temps li { padding-top: 0; }
  .pe__temps li::before { left: -1.6rem; top: 0.45rem; }
  .pe__domaines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.45rem 1rem; margin-left: 0; background-position: 0 0; font-size: 0.78rem; }
  .pe__domaines li { margin-left: 0; padding: 0; border-left: 0; }
  .pe__action { flex-direction: column; align-items: stretch; }
  .pe__cta { width: 100%; }
  .pe__plus ul { grid-template-columns: 1fr; }
}

/* ═════════════ Bandeau d'annonce du Hero (5 déc. 2026) ═════════════
   Verre de nuit sous la navigation ; prismes irisés aux extrémités, un reflet qui traverse lentement, trois éclats discrets.
   Seuls transform et opacity sont animés. Le texte, lui, ne fait que glisser : jamais de clignotement ni de flou animé. */
.annonce { --h: 2.75rem; position: relative; z-index: 1; isolation: isolate; overflow: hidden;
  width: min(100% - 2 * var(--gutter), var(--max)); height: var(--h); margin: calc(var(--bar-h) + 4.95rem) auto 0; border-radius: 999px;
  background: linear-gradient(180deg, rgb(26 34 51 / 0.9), rgb(11 15 28 / 0.93));
  -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2);
  border: 1px solid rgb(232 211 166 / 0.2);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), inset 0 -1px 0 rgb(0 0 0 / 0.35), 0 14px 30px -18px rgb(11 15 28 / 0.55);
  transition: border-color 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.annonce[hidden] { display: none; }
/* Place du bandeau : seul l'espace au-dessus du Hero s'adapte (titre, textes, boutons, méduse inchangés) */
.annonce:not([hidden]) + .hero { padding-top: clamp(2rem, 4vw, 3.25rem); min-height: calc(min(86svh, 54rem) - var(--bar-h) - 4.95rem - var(--h-ann, 2.75rem)); }
/* (hauteur minimale diminuée de la place du bandeau : bandeau + Hero = hauteur d'origine ; les sections suivantes ne bougent pas) */
.annonce:hover, .annonce.is-focus { border-color: rgb(232 211 166 / 0.34);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.1), inset 0 -1px 0 rgb(0 0 0 / 0.35), 0 16px 34px -18px rgb(11 15 28 / 0.6), 0 0 22px -8px rgb(232 211 166 / 0.28); }

.annonce__fenetre { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
/* Zone fixe réservée au bouton pause : la piste s'arrête avant (fondu compris) ; le texte ne passe jamais dessous */
.annonce { --zone-pause: 3.25rem; }
.annonce.has-pause .annonce__fenetre { right: var(--zone-pause); }
.annonce__piste { display: flex; flex: none; width: max-content; will-change: transform; animation: annonce-defile 90s linear infinite; }
.annonce.is-js .annonce__piste { animation: none; }            /* l'animation JavaScript (vitesse exacte) prend le relais */
.annonce:hover .annonce__piste { animation-play-state: paused; } /* repli sans JavaScript */
.annonce__groupe { display: flex; flex: none; }
.annonce__item { display: inline-flex; align-items: center; gap: 1.55rem; white-space: nowrap; color: var(--ivoire);
  -webkit-font-smoothing: antialiased; }
.annonce__t { font-family: var(--serif); font-weight: 450; font-size: 1.02rem; letter-spacing: 0.01em; color: #FAF7F0; }
.annonce__s { font-size: 0.76rem; letter-spacing: 0.04em; color: rgb(243 239 230 / 0.62); }
.annonce__l { font-size: 0.8rem; font-weight: 600; color: var(--champagne-clair);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 1px;
  transition: color 0.45s var(--ease), background-size 0.55s var(--ease-out); }
.annonce:hover .annonce__l, .annonce.is-focus .annonce__l { color: #F6E7C6; background-size: 100% 1px; }
.annonce__sep { display: inline-flex; align-items: center; gap: 0.7rem; margin: 0 2.1rem; }
.annonce__sep i { width: 1.6rem; height: 1px; background: linear-gradient(90deg, rgb(201 164 102 / 0), rgb(201 164 102 / 0.6)); }
.annonce__sep i:last-child { background: linear-gradient(90deg, rgb(201 164 102 / 0.6), rgb(201 164 102 / 0)); }
.annonce__sym { width: 14px; height: auto; opacity: 0.8; }

/* Lien unique couvrant tout le bandeau : un seul arrêt clavier, un nom accessible explicite */
.annonce__lien { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.annonce__lien:focus-visible { outline: 2px solid var(--champagne-clair); outline-offset: -3px; }

/* Prismes irisés aux extrémités : une nappe conique, floutée une fois, qui tourne lentement (composition seule) */
.annonce__prisme { position: absolute; top: 0; bottom: 0; z-index: 0; width: 14%; overflow: hidden; pointer-events: none; opacity: 0.5;
  mix-blend-mode: screen; transition: opacity 0.6s var(--ease); }
.annonce__prisme--g { left: 0; border-radius: 999px 0 0 999px; -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 78%); mask-image: linear-gradient(90deg, #000 0%, transparent 78%); }
.annonce__prisme--d { right: 0; border-radius: 0 999px 999px 0; -webkit-mask-image: linear-gradient(270deg, #000 0%, transparent 78%); mask-image: linear-gradient(270deg, #000 0%, transparent 78%); }
.annonce__prisme::before { content: ''; position: absolute; left: 50%; top: 50%; width: 260%; aspect-ratio: 1; translate: -50% -50%; filter: blur(9px); will-change: transform;
  background: conic-gradient(from 0deg, rgb(232 211 166 / 0.55), rgb(185 195 209 / 0.42), rgb(233 200 210 / 0.3), rgb(191 224 220 / 0.32), rgb(232 211 166 / 0.55));
  animation: annonce-prisme 22s linear infinite; }
.annonce__prisme--d::before { animation-direction: reverse; animation-duration: 26s; }
.annonce:hover .annonce__prisme, .annonce.is-focus .annonce__prisme { opacity: 0.85; }

/* Reflet irisé qui traverse le bandeau, lentement, puis se repose longtemps */
.annonce__reflet { position: absolute; top: -40%; bottom: -40%; left: 0; z-index: 0; width: 18%; pointer-events: none; opacity: 0.75; mix-blend-mode: screen;
  background: linear-gradient(100deg, transparent 10%, rgb(232 211 166 / 0.22) 42%, rgb(185 195 209 / 0.18) 52%, rgb(233 200 210 / 0.11) 60%, transparent 85%);
  transform: translate3d(-120%, 0, 0) skewX(-18deg); will-change: transform; animation: annonce-reflet 12s cubic-bezier(0.45, 0.05, 0.25, 1) 2.5s infinite;
  transition: opacity 0.6s var(--ease); }
.annonce:hover .annonce__reflet, .annonce.is-focus .annonce__reflet { opacity: 1; }

/* Trois éclats très discrets, près des bords et sur le filet supérieur ; derrière le texte, comme toute la lumière */
.annonce__eclat { position: absolute; z-index: 0; width: 3px; height: 3px; border-radius: 50%; pointer-events: none; opacity: 0;
  background: #FFF6E2; box-shadow: 0 0 6px 1px rgb(232 211 166 / 0.85); animation: annonce-eclat 7s ease-in-out infinite; }
.annonce__eclat--1 { left: 5%; top: 26%; animation-delay: 1.2s; }
.annonce__eclat--2 { right: 6.5%; bottom: 24%; animation-delay: 4.1s; animation-duration: 8.5s; }
.annonce__eclat--3 { left: 47%; top: 0; animation-delay: 6.3s; animation-duration: 10s; }

/* Bouton pause (critère WCAG 2.2.2) : discret, au-dessus du lien */
.annonce__pause { position: absolute; top: 0; right: 0; bottom: 0; z-index: 4; display: grid; place-items: center; width: var(--zone-pause); padding: 0 0.15rem 0 0;
  border: 0; border-left: 1px solid rgb(232 211 166 / 0.14); border-radius: 0 999px 999px 0; background: rgb(11 15 28 / 0.28); color: var(--champagne-clair); cursor: pointer;
  -webkit-tap-highlight-color: transparent; }
.annonce__pause::before { content: ''; position: absolute; width: 1.85rem; height: 1.85rem; border-radius: 50%; border: 1px solid rgb(232 211 166 / 0.24);
  background: rgb(11 15 28 / 0.55); opacity: 0.8; transition: opacity 0.4s var(--ease), border-color 0.4s var(--ease), background-color 0.4s var(--ease); }
.annonce__pause[hidden] { display: none; }
.annonce__pause:hover::before, .annonce__pause:focus-visible::before { opacity: 1; border-color: rgb(232 211 166 / 0.55); background-color: rgb(26 34 51 / 0.85); }
.annonce__pause:focus-visible { outline: 2px solid var(--champagne-clair); outline-offset: -4px; }
.annonce__pause i { position: relative; width: 8px; height: 9px; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.annonce.is-paused .annonce__pause i { width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor; margin-left: 2px; }
/* En pause, la pastille reste légèrement allumée : l'état se lit d'un coup d'œil (icône lecture + nom accessible « Reprendre ») */
.annonce.is-paused .annonce__pause::before { opacity: 1; border-color: rgb(232 211 166 / 0.45); }

@keyframes annonce-defile { to { transform: translate3d(-50%, 0, 0); } }
@keyframes annonce-prisme { to { transform: rotate(360deg); } }
@keyframes annonce-reflet { 0% { transform: translate3d(-120%, 0, 0) skewX(-18deg); } 45%, 100% { transform: translate3d(620%, 0, 0) skewX(-18deg); } }
@keyframes annonce-eclat { 0%, 70%, 100% { opacity: 0; transform: scale(0.4); } 80% { opacity: 0.9; transform: scale(1); } 90% { opacity: 0; transform: scale(0.6); } }

@media (max-width: 860px) {
  .annonce { --h: 2.5rem; margin-top: 1rem; }
  .annonce:not([hidden]) + .hero { padding-top: 1.25rem; min-height: 0; }
  .annonce__t { font-size: 0.94rem; }
  .annonce { --zone-pause: 2.9rem; }
  .annonce__item { gap: 1.1rem; }
  .annonce__sep { margin: 0 1.4rem; gap: 0.55rem; }
  .annonce__sep i { width: 1.1rem; }
  .annonce__pause::before { width: 1.7rem; height: 1.7rem; }
  .annonce__prisme { width: 22%; }
  .annonce__eclat--3 { display: none; }
}

/* ═════════════ Mouvement réduit ═════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fond__nappe, .fond__rai, .hero__title i, .hero__sub, .hero__sig, .hero__lead, .hero__actions { animation: none !important; }
  /* La méduse garde son mouvement (apparition et flottement), décision du 3 décembre 2026 */
  .fond__lum, .jelly, .flotte__halo { transform: none !important; }
  .rv, html.rv-ready .rv:not(.is-in) { opacity: 1; translate: none; scale: none; rotate: none; transition: none; }
  .plaque, .cadre { transform: none !important; }
  .vitrine.is-marquee .vitrine__row { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .cdone { animation: none; }
  .motif * { animation: none !important; }
  .btn::after { display: none; }
  .tab[open] .tab__in, .tab.is-closing .tab__in { animation-duration: 0.01s; }
  html.is-locked main { transform: none; }
  .pe__temps::before { transform: none !important; transition: none; }
  .pe__plus summary::after { transition: none; }
  /* Bandeau d'annonce : une seule annonce, statique et centrée, sur une ou deux lignes ; lumière figée */
  .annonce { height: auto; min-height: var(--h); border-radius: 22px; }
  .annonce__fenetre { position: relative; justify-content: center; padding: 0.6rem 2.2rem; -webkit-mask-image: none; mask-image: none; }
  .annonce__piste { animation: none; width: auto; max-width: 100%; justify-content: center; }
  .annonce__piste, .annonce__groupe, .annonce__item { flex: 1 1 auto; min-width: 0; }
  .annonce.has-pause .annonce__fenetre { right: auto; }
  .annonce__groupe + .annonce__groupe, .annonce__item ~ .annonce__item, .annonce__sep, .annonce__sym, .annonce__pause, .annonce__eclat, .annonce__reflet { display: none; }
  .annonce__item { flex-wrap: wrap; justify-content: center; row-gap: 0.15rem; padding: 0; white-space: normal; text-align: center; }
  .annonce__prisme::before { animation: none; }
  .annonce__l, .annonce__prisme, .annonce { transition: none; }
}
