/* Alvinna v3 — base « Alvinna GSAP » (vitrine/refero-gsap/style.css), DA de 00____REFERO_DESIGNS/GSAP (DESIGN.md, variables.css, tokens.json). */

@font-face {
  font-family: "Inter Tight";
  src: url("../polices/inter-tight.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Couleurs */
  --color-just-black: #0e100f;
  --color-surface-cream: #fffce1;
  --color-surface-50: #7c7c6f;
  --color-surface-25: #42433d;
  --color-off-black: #191919;
  --color-shockingly-green: #0ae448;
  --gradient-shockingly-green: linear-gradient(114.41deg, #0ae448 20.74%, #abff84 65.5%);
  --color-light-green: #abff84;
  --color-orangey: #ff8709;
  --color-pink: #fec5fb;
  --color-lilac: #9d95ff;
  --color-blue: #00bae2;
  --color-core-green: #dfffd1;
  --color-lipstick-pink: #f100cb;

  /* Mori n'est pas libre : substitut recommandé, Inter Tight */
  --font-mori: "Mori", "Inter Tight", ui-sans-serif, system-ui, sans-serif;

  /* Échelle (bornée pour les petits écrans) */
  --text-caption: 14px;
  --text-body-sm: 16px;
  --text-body: 19px;
  --text-body-lg: clamp(19px, 1.6vw, 23px);
  --text-subheading: clamp(26px, 2.4vw, 34px);
  --text-heading-sm: clamp(32px, 3.1vw, 44px);
  --text-heading: clamp(40px, 4.6vw, 66px);
  --text-heading-lg: clamp(48px, 7vw, 101px);
  --text-display: clamp(64px, 12vw, 224px);

  --spacing-8: 8px;
  --spacing-12: 12px;
  --spacing-16: 16px;
  --spacing-20: 20px;
  --spacing-24: 24px;
  --spacing-32: 32px;
  --spacing-76: 76px;
  --spacing-96: 96px;
  --spacing-108: 108px;

  --page-max-width: 1280px;
  --section-gap: clamp(80px, 9vw, 120px);
  --card-padding: 24px;
  --element-gap: 16px;

  --radius-cards: 8px;
  --radius-pills: 9999px;
  --radius-buttons: 100px;

  --marge: clamp(20px, 4vw, 48px);
  --bandeau: 40px;
  --sortie: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-just-black);
  color: var(--color-surface-cream);
  font-family: var(--font-mori);
  font-size: var(--text-body);
  line-height: 1.4;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* Rien ne glisse sur le côté : les formes et halos décoratifs sont coupés au bord de l'écran (clip garde le « sticky »). */
main, .pied { overflow-x: clip; }
.page-apropos .tete-page--seule .tete-page__titre { max-width: 11ch; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--color-light-green); color: var(--color-just-black); }
:focus-visible { outline: 1.5px solid var(--color-light-green); outline-offset: 4px; border-radius: 4px; }

.evitement {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--color-just-black); border: 1px solid var(--color-surface-cream); border-radius: var(--radius-buttons);
}
.evitement:focus { top: 16px; }

.enveloppe { width: min(var(--page-max-width), 100% - 2 * var(--marge)); margin-inline: auto; }
.section { padding-block: var(--section-gap); }

/* ── Typographie ── */
.accolade { font-size: var(--text-body); line-height: 1.15; font-weight: 400; color: var(--color-surface-cream); }
.titre-xl { font-size: var(--text-heading-lg); font-weight: 600; line-height: 1; letter-spacing: -0.011em; }
.titre-l { font-size: var(--text-heading); font-weight: 600; line-height: 1.05; letter-spacing: -0.011em; }
.titre-m { font-size: var(--text-heading-sm); font-weight: 600; line-height: 1.1; letter-spacing: -0.011em; }
.titre-s { font-size: var(--text-heading-sm); font-weight: 600; line-height: 1.1; letter-spacing: -0.011em; }
.corps-l { font-size: var(--text-body-lg); line-height: 1.38; }
.corps { font-size: var(--text-body); line-height: 1.4; }
.etiquette { font-size: clamp(19px, 1.7vw, 24px); color: var(--teinte); }
.vert {
  background: var(--gradient-shockingly-green);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
/* Le dégradé ne peint que la boîte : on l'agrandit pour couvrir les jambages (g, p, q) */
.mot.vert, .lettre.vert { padding-bottom: 0.25em; margin-bottom: -0.25em; }
.vert-clair { color: var(--color-light-green); }
.lien { color: var(--color-light-green); border-bottom: 1px solid currentColor; }

/* Découpe en mots / lettres (anim.js) */
.mot, .lettre { display: inline-block; }
.masque { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }

/* ── Boutons : pilules au trait, jamais remplies ── */
.pilule {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 24px;
  border: 1px solid var(--color-surface-cream);
  border-radius: var(--radius-buttons);
  font-size: 18px; font-weight: 600; line-height: 1.05; letter-spacing: -0.01em;
  color: var(--color-surface-cream);
  background: transparent;
  white-space: nowrap;
  transition: border-color 0.3s, color 0.3s, background-color 0.3s;
}
/* Survol : le texte tourne (ci-dessous) et le bouton change de couleurs, dans la palette du site */
.pilule:hover { border-color: var(--color-light-green); background-color: var(--color-shockingly-green); color: var(--color-just-black); }
.pilule > span { position: relative; display: block; overflow: hidden; }
.pilule > span > i { display: block; font-style: normal; transition: transform 0.5s var(--sortie); }
.pilule > span > i + i { position: absolute; inset: 0; transform: translateY(105%); }
.pilule:hover > span > i:first-child { transform: translateY(-105%); }
.pilule:hover > span > i + i { transform: translateY(0); }
.pilule--degrade {
  border: 1.5px solid transparent;
  background: linear-gradient(var(--color-just-black), var(--color-just-black)) padding-box, var(--gradient-shockingly-green) border-box;
}
.pilule--degrade { transition: color 0.3s, background 0.3s; }
.pilule--degrade:hover { border-color: transparent; color: var(--color-just-black); background: linear-gradient(var(--color-surface-cream), var(--color-surface-cream)) padding-box, var(--gradient-shockingly-green) border-box; }
.pilule--petite { padding: 10px 16px; font-size: 16px; }

/* ── Bandeau + navigation ── */
.bandeau {
  position: fixed; inset: 0 0 auto; z-index: 51;
  height: var(--bandeau);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding-inline: var(--marge);
  font-size: var(--text-caption); line-height: 1.4;
  background: var(--color-just-black);
  border-bottom: 1px solid var(--color-surface-25);
  text-align: center;
}
.bandeau a { color: var(--color-shockingly-green); }
.nav {
  position: fixed; top: var(--bandeau); left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--marge);
  transition: background 0.4s;
}
.nav--fond { background: rgb(14 16 15 / 0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.nav__marque { display: inline-flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.nav__point { width: 14px; height: 14px; border-radius: 50%; background: var(--gradient-shockingly-green); }
.nav__liens { display: flex; gap: 6px; margin-left: auto; }
.nav__liens a { padding: 10px; font-size: var(--text-body-sm); line-height: 1.15; color: var(--color-surface-50); transition: color 0.25s; }
.nav__liens a:hover { color: var(--color-surface-cream); }
.nav__cta { padding: 12px 20px; font-size: 16px; }

/* ── Formes 3D : éclairées de l'intérieur par leurs dégradés, jamais d'ombre portée ── */
.forme { position: absolute; display: block; pointer-events: none; will-change: transform; }
.forme--goutte {
  width: min(36vw, 560px); aspect-ratio: 1;
  border-radius: 58% 42% 55% 45% / 52% 60% 40% 48%;
  background:
    radial-gradient(60% 55% at 30% 24%, rgb(255 252 225 / 0.95), transparent 60%),
    radial-gradient(120% 120% at 35% 25%, #fec5fb 0%, #9d95ff 45%, #00bae2 78%, #0b3b4a 100%);
  box-shadow: inset -40px -50px 90px rgb(14 16 15 / 0.45), inset 20px 20px 60px rgb(255 252 225 / 0.25);
}
.forme--dome {
  width: min(24vw, 360px); aspect-ratio: 2 / 1.15;
  border-radius: 50% 50% 14% 14% / 100% 100% 14% 14%;
  background:
    radial-gradient(70% 60% at 38% 22%, rgb(255 252 225 / 0.9), transparent 62%),
    radial-gradient(130% 120% at 40% 10%, #ffc98a 0%, #ff8709 42%, #f100cb 115%);
  box-shadow: inset 0 -30px 60px rgb(14 16 15 / 0.35);
}
.forme--gelule {
  width: min(20vw, 300px); aspect-ratio: 2.6 / 1;
  border-radius: var(--radius-pills);
  background:
    radial-gradient(80% 70% at 30% 20%, rgb(255 252 225 / 0.85), transparent 55%),
    linear-gradient(114.41deg, #0ae448 20%, #abff84 80%);
  box-shadow: inset -20px -20px 50px rgb(14 16 15 / 0.3);
}
.forme--bille {
  width: min(7vw, 104px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(100% 100% at 30% 25%, #fffce1 0%, #fec5fb 30%, #f100cb 100%);
  box-shadow: inset -10px -12px 24px rgb(14 16 15 / 0.35);
}

/* ═════════ HÉROS ═════════ */
.hero { position: relative; }
.hero__scene {
  position: relative;
  height: 100vh; height: 100svh; min-height: 620px;
  display: flex; flex-direction: column;
  padding: calc(var(--bandeau) + 108px) 0 clamp(24px, 4vh, 48px);
  overflow: hidden;
}
.hero__formes { position: absolute; inset: 0; z-index: 1; }
.hero__formes .forme--goutte { right: -8vw; top: 24%; }
.hero__formes .forme--dome { left: 34%; top: 7%; transform: rotate(8deg); }
.hero__formes .forme--gelule { left: 50%; bottom: 25%; rotate: -22deg; }
.hero__formes .forme--bille { right: 22%; top: 15%; }

.hero__accolade { position: relative; z-index: 3; padding-inline: var(--marge); }
.hero__titre {
  position: relative; z-index: 3;
  margin-top: clamp(16px, 3vh, 40px);
  padding-inline: calc(var(--marge) - 0.04em);
  font-size: var(--text-display);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.02em;
  mix-blend-mode: normal;
}
.hero__ligne { display: block; white-space: nowrap; }
.hero__titre .masque { padding-bottom: 0.3em; margin-bottom: -0.3em; }
.hero__ligne--2 { display: flex; align-items: center; gap: 0.12em; }
.hero__fenetre {
  display: inline-block;
  width: 1.7em; height: 0.74em;
  border-radius: var(--radius-pills);
  flex: none;
  background: url("../../demos/application-bureau.webp") 40% 60% / cover var(--color-just-black);
}
.js:not(.reduit) .hero__fenetre { background: none; }

.hero__bas {
  position: relative; z-index: 3;
  margin-top: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px;
  padding-inline: var(--marge);
}
.hero__texte { max-width: 34ch; font-size: var(--text-body-lg); line-height: 1.38; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__defiler {
  grid-column: 1 / -1;
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--text-caption); color: var(--color-surface-50);
}
.hero__defiler i { position: relative; width: 1px; height: 28px; background: var(--color-surface-25); overflow: hidden; }
.hero__defiler i::after { content: ""; position: absolute; inset: 0; background: var(--color-surface-cream); animation: goutte 2.2s var(--sortie) infinite; }
@keyframes goutte { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

/* Cachés jusqu'à l'entrée animée (anim.js) */
.js:not(.reduit) [data-intro], .js:not(.reduit) .hero__titre, .js:not(.reduit) .hero__formes { opacity: 0; }

.hero__media { position: absolute; inset: 0; z-index: 4; visibility: hidden; }
.js:not(.reduit) .hero__media { visibility: visible; }
.hero__media-in { position: absolute; inset: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; }
.hero__voile { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(14 16 15 / 0.1) 30%, rgb(14 16 15 / 0.82)); opacity: 0; }
.hero__apres {
  position: absolute; z-index: 5; left: var(--marge); right: var(--marge); bottom: clamp(32px, 8vh, 96px);
  display: grid; gap: 20px; max-width: 1100px;
  visibility: hidden;
}
.hero__apres-titre { font-size: var(--text-heading); font-weight: 600; line-height: 1.05; letter-spacing: -0.011em; }

/* ═════════ PROMESSE ═════════ */
.promesse__texte { margin-top: 32px; font-size: var(--text-heading); font-weight: 600; line-height: 1.1; letter-spacing: -0.011em; max-width: 22ch; }
.promesse .enveloppe { border-top: 1px solid var(--color-surface-25); padding-top: 32px; }

/* ═════════ AVANT / APRÈS ═════════ */
.comparer__scene { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 32px; padding-block: 80px 40px; }
.comparer__tete { display: grid; grid-template-columns: 1.5fr 1fr; align-items: end; gap: 16px 64px; }
.comparer__tete .accolade { grid-column: 1 / -1; }
.comparer__tete .titre-l { max-width: 18ch; }
.comparer__cadre {
  position: relative;
  width: min(1180px, 100% - 2 * var(--marge)); margin-inline: auto;
  height: min(58vh, 640px); height: min(58svh, 640px);
  border-radius: var(--radius-cards);
  overflow: hidden;
  border: 1px solid var(--color-surface-25);
}
.comparer__note { color: var(--color-surface-50); font-size: var(--text-body); max-width: 40ch; }
.navigateur { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; font-size: var(--text-caption); }
.navigateur i { width: 10px; height: 10px; border-radius: 50%; background: currentColor; opacity: 0.35; }
.navigateur span { margin-left: 12px; padding: 2px 12px; border-radius: var(--radius-pills); opacity: 0.8; }


.comparer__poignee {
  position: absolute; top: 0; bottom: 0; left: 50%; z-index: 3;
  width: 0; display: flex; align-items: center; justify-content: center;
}
.comparer__poignee i { position: absolute; inset: 0 auto; width: 1px; background: var(--color-surface-cream); }
.comparer__poignee span {
  position: absolute; top: 50%; padding: 8px 14px;
  font-size: var(--text-caption); border-radius: var(--radius-pills);
  background: var(--color-just-black); border: 1px solid var(--color-surface-cream);
  transform: translateY(-50%);
}
.comparer__poignee span:first-child { right: 12px; }
.comparer__poignee span:last-child { left: 12px; }

/* ═════════ ATOUTS ═════════ */
.atouts .titre-l { margin: 16px 0 var(--spacing-76); max-width: 20ch; }
.atout {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px 80px;
  padding-block: 72px;
  border-top: 1px solid var(--color-surface-25);
}
.atout__visuel { position: relative; aspect-ratio: 1 / 0.82; display: grid; place-items: center; }
.forme--atout { width: 74%; aspect-ratio: 1; border-radius: 54% 46% 50% 50% / 48% 56% 44% 52%; box-shadow: inset -40px -50px 90px rgb(14 16 15 / 0.45), inset 20px 20px 60px rgb(255 252 225 / 0.2); }
.forme--bleu { background: radial-gradient(60% 50% at 30% 22%, rgb(255 252 225 / 0.9), transparent 60%), radial-gradient(120% 120% at 35% 25%, #9de9f7 0%, #00bae2 45%, #9d95ff 90%); }
.forme--lilas { background: radial-gradient(60% 50% at 30% 22%, rgb(255 252 225 / 0.9), transparent 60%), radial-gradient(120% 120% at 35% 25%, #fec5fb 0%, #9d95ff 50%, #2a2560 100%); border-radius: 50%; }
.forme--orange { background: radial-gradient(60% 50% at 30% 22%, rgb(255 252 225 / 0.9), transparent 60%), radial-gradient(120% 120% at 35% 25%, #ffc98a 0%, #ff8709 45%, #f100cb 110%); border-radius: 50% 50% 18% 18% / 64% 64% 18% 18%; }
.forme--rose { background: radial-gradient(60% 50% at 30% 22%, rgb(255 252 225 / 0.9), transparent 60%), radial-gradient(120% 120% at 35% 25%, #fec5fb 0%, #f784e8 45%, #f100cb 100%); border-radius: var(--radius-pills); aspect-ratio: 1.6 / 1; }
.atout__texte { display: grid; gap: 16px; max-width: 30rem; }
.atout__texte .corps-l { color: var(--color-surface-cream); }

.maquette-ui {
  position: absolute;
  width: min(86%, 360px);
  padding: var(--card-padding);
  border-radius: var(--radius-cards);
  background: rgb(14 16 15 / 0.74);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid rgb(255 252 225 / 0.14);
  font-size: var(--text-body-sm);
}
.tel { width: min(62%, 260px); display: grid; gap: 8px; padding: 18px; border-radius: 28px; }
.tel__nom { font-size: 20px; font-weight: 600; }
.tel__ligne { color: var(--color-light-green); font-size: var(--text-caption); }
.tel__photo { height: 140px; border-radius: 14px; background: url("../images/four-plateau.webp") center / cover; }
.tel__barre { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.tel__barre span { padding: 11px 0; text-align: center; border-radius: var(--radius-pills); border: 1px solid var(--color-surface-25); font-size: 15px; font-weight: 600; }
.tel__barre .tel__appel { border-color: var(--color-blue); color: var(--color-blue); }
.recherche { display: grid; gap: 16px; }
.recherche__champ { display: flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: var(--radius-pills); border: 1px solid var(--color-surface-25); }
.recherche__champ i { width: 1.5px; height: 20px; margin-left: 2px; background: var(--color-lilac); animation: clignote 1s steps(2) infinite; }
@keyframes clignote { 50% { opacity: 0; } }
.recherche__resultat { display: grid; gap: 4px; color: var(--color-surface-50); }
.recherche__url { font-size: var(--text-caption); }
.recherche__titre { color: var(--color-lilac); font-size: 18px; line-height: 1.25; }
.horaires { display: grid; gap: 0; }
.horaires li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--color-surface-25); }
.horaires li:last-child { border-bottom: 0; }
.horaires__ferme span:last-child { color: var(--color-orangey); }
.messages { display: grid; gap: 12px; background: transparent; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.bulle { max-width: 86%; padding: 14px 18px; border-radius: 20px; line-height: 1.3; background: rgb(14 16 15 / 0.8); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid rgb(255 252 225 / 0.14); }
.bulle--vous { border-bottom-left-radius: 6px; }
.bulle--moi { justify-self: end; border-bottom-right-radius: 6px; border-color: var(--color-pink); color: var(--color-pink); }

/* ═════════ MÉTIERS ═════════ */
.metiers { padding-block: 40px var(--section-gap); border-block: 1px solid var(--color-surface-25); padding-top: var(--section-gap); overflow: hidden; }
.metiers__rang { overflow: hidden; }
.metiers__rang + .metiers__rang { margin-top: 12px; }
.metiers__piste { display: flex; align-items: center; width: max-content; font-size: var(--text-heading-lg); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; white-space: nowrap; will-change: transform; }
.metiers__piste > * { margin-right: 0.32em; }
.metiers__piste > span:not(.vert) { color: var(--color-surface-cream); }
.metiers__piste > span::after { content: "·"; margin-left: 0.32em; color: var(--color-surface-25); }
.metiers__piste img { height: 0.78em; width: 1.5em; object-fit: cover; border-radius: var(--radius-pills); }
.metiers__rang[data-sens="1"] .metiers__piste > span:not(.vert) { color: var(--color-surface-50); }

/* ═════════ ÉTAPES ═════════ */
.etapes__scene { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 48px; padding-block: calc(var(--bandeau) + 96px) 64px; overflow: hidden; }
.etapes__tete { display: grid; gap: 16px; }
.etapes__tete .titre-l { max-width: 20ch; }
.etapes__jauge { position: relative; height: 1px; margin-top: 16px; background: var(--color-surface-25); }
.etapes__jauge i { position: absolute; inset: -0.5px 0; background: var(--gradient-shockingly-green); transform: scaleX(0); transform-origin: left; }
.etapes__piste { display: flex; flex-wrap: wrap; gap: 24px; padding-inline: max(var(--marge), (100vw - var(--page-max-width)) / 2); }
.etapes--horizontal .etapes__piste { flex-wrap: nowrap; width: max-content; }
.etapes--horizontal .etape { width: clamp(300px, 36vw, 520px); }
.etape {
  width: clamp(280px, 28vw, 400px);
  display: grid; align-content: start; gap: 20px;
  padding: 32px;
  border: 1px solid var(--color-surface-25);
  border-radius: var(--radius-cards);
}
.etape__n { font-size: var(--text-heading-lg); font-weight: 600; line-height: 1; letter-spacing: -0.02em; color: var(--color-surface-25); transition: color 0.5s; }
.etape.est-active .etape__n { color: var(--color-surface-cream); }
.etape .corps-l { color: var(--color-surface-50); }


/* ═════════ AVIS ═════════ */
.avis__grille, .questions__grille { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px 80px; padding-top: 32px; border-top: 1px solid var(--color-surface-25); }
.avis .accolade, .questions .accolade { margin-bottom: 16px; }

/* ═════════ ZONE ═════════ */
.zone__grille { display: grid; }
.zone__texte { display: grid; gap: 20px; }

/* ═════════ PRIX ═════════ */
.prix .titre-l { margin: 16px 0 var(--spacing-76); max-width: 20ch; }
.tarifs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tarif { display: grid; align-content: start; gap: 12px; padding: 32px; border: 1px solid var(--color-surface-25); border-radius: var(--radius-cards); }
.tarif--creme { background: var(--color-surface-cream); color: var(--color-just-black); border-color: var(--color-surface-cream); }
.tarif__nom { font-size: 20px; font-weight: 600; }
.tarif__montant { font-size: clamp(56px, 6.2vw, 89px); font-weight: 600; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tarif__apartir { display: block; margin-bottom: 8px; font-size: var(--text-body); font-weight: 400; line-height: 1.2; letter-spacing: 0; color: var(--color-surface-50); }
.tarif__detail { font-size: var(--text-body); color: var(--color-surface-50); }
.tarif__plus { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--color-surface-25); font-size: var(--text-body-sm); line-height: 1.4; }
.tarif--creme .tarif__plus { border-top-color: rgb(14 16 15 / 0.15); }
.prix__pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; }
.prix__pied p { max-width: 62ch; font-size: var(--text-body-sm); color: var(--color-surface-50); }

/* ═════════ QUESTIONS ═════════ */
.faq__item { border-bottom: 1px solid var(--color-surface-25); }
.faq__item:first-child { border-top: 1px solid var(--color-surface-25); }
.faq__item summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 24px 48px 24px 0;
  font-size: clamp(19px, 1.7vw, 24px); line-height: 1.25;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { position: absolute; right: 4px; top: 50%; width: 18px; height: 18px; margin-top: -9px; }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform 0.5s var(--sortie); }
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i::after { transform: rotate(0); }
.faq__reponse { overflow: hidden; }
.faq__reponse p { padding-bottom: 24px; max-width: 56ch; font-size: var(--text-body); color: var(--color-surface-50); }

/* ═════════ CONTACT ═════════ */
.contact { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding-block: var(--section-gap); overflow: hidden; }
.contact__formes { position: absolute; inset: 0; }
.contact__formes .forme--goutte { left: -10vw; bottom: -12vw; }
.contact__formes .forme--gelule { right: 6vw; top: 14%; rotate: 28deg; }
.contact__corps { position: relative; display: grid; gap: 28px; justify-items: start; }
.contact__corps .titre-xl { max-width: 13ch; }
.contact__corps .corps-l { max-width: 36ch; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ═════════ PIED ═════════ */
.pied { background: var(--color-off-black); border-top: 1px solid var(--color-surface-25); padding-top: var(--spacing-76); overflow: hidden; }
.pied__colonnes { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.pied__colonnes > * { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.pied__colonnes a { font-size: var(--text-body-sm); line-height: 1.15; padding-block: 3px; transition: color 0.25s; }
.pied__colonnes a:hover { color: var(--color-light-green); }
.pied__marque { display: inline-flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 600; }
.pied__devise { max-width: 32ch; font-size: var(--text-body-sm); color: var(--color-surface-50); line-height: 1.4; }
.pied__devise .accolade { display: block; margin-top: 10px; font-size: var(--text-body-sm); }
.pied__titre { font-size: var(--text-caption); color: var(--color-surface-50); }
.pied__geant { margin-top: 64px; padding-inline: var(--marge); font-size: clamp(96px, 25vw, 420px); font-weight: 600; line-height: 1.04; letter-spacing: -0.045em; overflow: hidden; }
.pied__geant > span { display: block; }
.pied__note { padding-block: 24px; font-size: var(--text-caption); color: var(--color-surface-50); border-top: 1px solid var(--color-surface-25); }

/* ═════════ Écrans étroits ═════════ */
@media (max-width: 980px) {
  .nav__liens { display: none; }
  .nav__cta { margin-left: auto; }
  .atout, .maquettes__tete, .avis__grille, .questions__grille { grid-template-columns: 1fr; }
  .atout { gap: 32px; padding-block: 56px; }
  .tarifs { grid-template-columns: 1fr; }
  .pied__colonnes { grid-template-columns: 1fr 1fr; }
  .comparer__tete { grid-template-columns: 1fr; }
  .comparer__cadre { height: 60svh; }
}
@media (max-width: 760px) {
  :root { --bandeau: 52px; }
  .hero__scene { padding-top: calc(var(--bandeau) + 96px); }
  .hero__titre { font-size: clamp(52px, 17vw, 96px); }
  .hero__ligne--1 { white-space: normal; }
  .hero__bas { grid-template-columns: 1fr; }
  .hero__formes .forme--goutte { width: 48vw; top: 40%; right: -14vw; }
  .hero__formes .forme--dome { width: 40vw; left: 52%; top: 12%; }
  .hero__formes .forme--gelule { width: 30vw; left: 8vw; top: 47%; bottom: auto; }
  .comparer__scene { padding-top: 64px; gap: 24px; }
  .comparer__note { font-size: 16px; }
  .comparer__cadre { height: 50svh; }
  .nav__cta { display: none; }
  .etape { width: 100%; }
  .pied__colonnes { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════
   AJOUTS v3 : toutes les pages, scène vidéo, Mas des Collines, galerie 3D,
   fonds React Bits sur les côtés, rappels de couleur.
   ══════════════════════════════════════════════════════════════════ */

/* Polices des maquettes de clients (dans les écrans d'exemple seulement) */
@font-face { font-family: "Cormorant Garamond"; src: url("../polices/cormorant-garamond-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../polices/geist-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* ── Navigation multipage ── */
.nav__liens a[aria-current="page"] { color: var(--color-surface-cream); }
.nav__marque .nav__point { flex: none; }
.nav__menu {
  display: none; margin-left: 4px;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--color-surface-25); background: transparent; color: var(--color-surface-cream);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav__menu i { position: relative; display: block; width: 18px; height: 1.5px; background: currentColor; }
.nav__menu i::before, .nav__menu i::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: currentColor; }
.nav__menu i::before { top: -6px; } .nav__menu i::after { top: 6px; }
.menu-tel {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 32px;
  padding: 96px var(--marge) 40px;
  background: var(--color-just-black);
}
.menu-tel[hidden] { display: none; }
.menu-tel__fermer { position: absolute; top: 20px; right: var(--marge); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--color-surface-25); background: transparent; color: var(--color-surface-cream); cursor: pointer; font: inherit; font-size: 24px; line-height: 1; }
.menu-tel nav { display: grid; gap: 4px; }
.menu-tel nav a { font-size: clamp(36px, 10vw, 56px); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
.menu-tel nav a[aria-current="page"] { color: var(--color-light-green); }
.menu-tel__bas { display: grid; gap: 8px; color: var(--color-surface-50); font-size: var(--text-body-sm); }
.menu-tel__formes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.menu-tel__formes .forme--goutte { width: 70vw; right: -30vw; top: -10vw; }
.menu-tel__formes .forme--gelule { width: 34vw; left: 50vw; top: 30vh; rotate: -24deg; }

/* ── Petites formes de rappel, sur les côtés des sections ── */
.rappel { position: absolute; z-index: 0; pointer-events: none; }
.rappel .forme { position: relative; }
.rappel--d { right: max(-4vw, -60px); }
.rappel--g { left: max(-4vw, -60px); }
.forme--mini { width: clamp(48px, 5vw, 84px); aspect-ratio: 1; border-radius: 50%; }
.forme--mini.forme--orange-b { background: radial-gradient(100% 100% at 30% 25%, #fffce1 0%, #ffc98a 26%, #ff8709 70%, #b3420a 100%); box-shadow: inset -8px -10px 20px rgb(14 16 15 / 0.35); }
.forme--mini.forme--bleu-b { background: radial-gradient(100% 100% at 30% 25%, #fffce1 0%, #9de9f7 28%, #00bae2 70%, #0b3b4a 100%); box-shadow: inset -8px -10px 20px rgb(14 16 15 / 0.35); }
.forme--mini.forme--lilas-b { background: radial-gradient(100% 100% at 30% 25%, #fffce1 0%, #c9c3ff 28%, #9d95ff 68%, #2a2560 100%); box-shadow: inset -8px -10px 20px rgb(14 16 15 / 0.35); }
.forme--mini.forme--vert-b { background: radial-gradient(100% 100% at 30% 25%, #fffce1 0%, #abff84 32%, #0ae448 75%, #05571d 100%); box-shadow: inset -8px -10px 20px rgb(14 16 15 / 0.35); }
.forme--petite-gelule { width: clamp(96px, 11vw, 180px); aspect-ratio: 2.6 / 1; border-radius: var(--radius-pills); background: radial-gradient(80% 70% at 30% 20%, rgb(255 252 225 / 0.85), transparent 55%), linear-gradient(114.41deg, #0ae448 20%, #abff84 80%); box-shadow: inset -12px -12px 30px rgb(14 16 15 / 0.3); }
.forme--petit-dome { width: clamp(110px, 12vw, 200px); aspect-ratio: 2 / 1.15; border-radius: 50% 50% 14% 14% / 100% 100% 14% 14%; background: radial-gradient(70% 60% at 38% 22%, rgb(255 252 225 / 0.9), transparent 62%), radial-gradient(130% 120% at 40% 10%, #ffc98a 0%, #ff8709 42%, #f100cb 115%); box-shadow: inset 0 -20px 40px rgb(14 16 15 / 0.35); }
.forme--petite-goutte { width: clamp(140px, 16vw, 260px); aspect-ratio: 1; border-radius: 58% 42% 55% 45% / 52% 60% 40% 48%; background: radial-gradient(60% 55% at 30% 24%, rgb(255 252 225 / 0.95), transparent 60%), radial-gradient(120% 120% at 35% 25%, #fec5fb 0%, #9d95ff 45%, #00bae2 78%, #0b3b4a 100%); box-shadow: inset -24px -30px 60px rgb(14 16 15 / 0.45), inset 12px 12px 36px rgb(255 252 225 / 0.25); }
.section-rel { position: relative; }
.section-rel > .enveloppe { position: relative; z-index: 1; }

/* Étiquettes de couleur (taxonomie de la DA : une couleur par sujet) */
.etiquette--vert { --teinte: var(--color-light-green); }
.etiquette--orange { --teinte: var(--color-orangey); }
.etiquette--rose { --teinte: var(--color-pink); }
.etiquette--lilas { --teinte: var(--color-lilac); }
.etiquette--bleu { --teinte: var(--color-blue); }

/* Marqueur visible pour ce qui manque (rien d'inventé) */
.marqueur { display: inline-block; padding: 2px 10px; border: 1px dashed var(--color-orangey); border-radius: var(--radius-pills); color: var(--color-orangey); font-size: 0.85em; }

/* ── Fonds React Bits : panneaux sur les côtés, repli immobile ── */
.panneau {
  position: relative; overflow: hidden;
  border-radius: var(--radius-cards);
  border: 1px solid var(--color-surface-25);
  background: var(--color-off-black);
  isolation: isolate;
}
.panneau__legende {
  position: absolute; left: 16px; bottom: 14px; z-index: 3;
  font-size: var(--text-caption); color: var(--color-surface-50); pointer-events: none;
}
.rb-scene { position: absolute; inset: 0; z-index: 1; }
.rb-repli { position: absolute; inset: 0; z-index: 0; transition: opacity 0.8s var(--sortie); }
.rb-pret .rb-repli { opacity: 0; }
.repli-lattes { background: repeating-linear-gradient(90deg, transparent 0 9px, rgb(14 16 15) 9px 12px), radial-gradient(120% 80% at 70% 30%, var(--repli, #9d95ff) 0%, transparent 70%), var(--color-off-black); opacity: 0.8; }
.repli-photo { background-size: cover; background-position: center; filter: grayscale(1) contrast(1.2); opacity: 0.5; }

/* ── Fond de page Micro Slats : fixé derrière tout le contenu, il suit la souris sur toute la page ── */
.fond-page { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.fond-page .repli-lattes { opacity: 0.45; }
/* Accueil : lamelles seulement derrière le héros. Sans animation (ou sans JS), elles restent sur le premier écran. */
.reduit .fond-page, html:not(.js) .fond-page { position: absolute; bottom: auto; height: 100svh; }
.fond-page__voile { position: absolute; inset: 0; z-index: 2; background: radial-gradient(120% 90% at 50% 40%, rgb(14 16 15 / 0.5), rgb(14 16 15 / 0.78)); }

/* ── Logo électrique (double N au contour) ── */
.logo-electrique { position: relative; aspect-ratio: 1; width: 100%; }
.logo-electrique .rb-repli { display: grid; place-items: center; }
.logo-electrique .rb-repli svg { width: 62%; height: 62%; color: var(--color-light-green); }
/* La scène déborde du bloc et s'éteint en cercle : la lueur se fond dans le noir, sans bord visible. */
.logo-electrique .rb-scene {
  inset: -10%; cursor: crosshair;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
}

/* ═════════ HÉROS : la fenêtre s'ouvre sur l'application « Tournée » ═════════ */
.hero__ecran { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--color-just-black); }
.scene { position: absolute; inset: 0; background: var(--color-just-black); opacity: 0; overflow: hidden; }
.js:not(.reduit) .scene { opacity: 0; }
.scene__halo { position: absolute; inset: -20%; background: radial-gradient(40% 40% at 70% 40%, rgb(157 149 255 / 0.22), transparent 70%), radial-gradient(30% 30% at 20% 80%, rgb(10 228 72 / 0.14), transparent 70%); }
.scene__appareils { position: absolute; inset: 0; perspective: 1800px; }
.appareil { position: absolute; transform-style: preserve-3d; will-change: transform; }
.appareil--bureau { left: 52%; top: 46%; width: min(60vw, 980px, 100svh * 1.15); }
.reduit .appareil--bureau, html:not(.js) .appareil--bureau { translate: -50% -50%; }
.appareil--tel { left: calc(52% + min(60vw, 980px, 100svh * 1.15) / 2 - min(7vw, 110px)); top: 46%; width: min(14vw, 210px, 100svh * 0.24); }
.reduit .appareil--tel, html:not(.js) .appareil--tel { translate: -50% -22%; }
.cadre-bureau { border-radius: 10px; overflow: hidden; border: 1px solid rgb(255 252 225 / 0.16); background: var(--color-off-black); }
.cadre-bureau .navigateur { color: var(--color-surface-50); background: var(--color-off-black); border-bottom: 1px solid var(--color-surface-25); height: 32px; }
.cadre-bureau .navigateur span { border: 1px solid var(--color-surface-25); }
.cadre-bureau video, .cadre-bureau img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #111; }
.cadre-tel { position: relative; border-radius: 30px; padding: 7px; background: #050605; border: 1px solid rgb(255 252 225 / 0.22); }
.cadre-tel::before { content: ""; position: absolute; top: 13px; left: 50%; width: 30%; height: 14px; margin-left: -15%; border-radius: 10px; background: #050605; z-index: 2; }
.cadre-tel video, .cadre-tel img { display: block; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; border-radius: 23px; background: #111; }
.scene__texte {
  position: absolute; z-index: 7; left: var(--marge); bottom: clamp(32px, 7vh, 80px);
  display: grid; gap: 14px; max-width: min(30rem, 34vw);
}
.scene__titre { font-size: var(--text-heading-sm); font-weight: 600; line-height: 1.05; letter-spacing: -0.011em; }
.scene__note { font-size: var(--text-caption); color: var(--color-surface-50); }
.scene__texte .accolade { color: var(--color-lilac); }
.hero__media .forme { z-index: 2; }
.lecture {
  position: absolute; z-index: 4; right: 10px; bottom: 10px;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgb(14 16 15 / 0.7); border: 1px solid rgb(255 252 225 / 0.3); color: var(--color-surface-cream);
  cursor: pointer; pointer-events: auto;
}
.lecture svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lecture .i-lire { display: none; fill: currentColor; }
.lecture.en-pause .i-lire { display: block; }
.lecture.en-pause .i-pause { display: none; }

/* ═════════ POURQUOI ALVINNA : trois points illustrés ═════════ */
.promesse__tete { display: grid; grid-template-columns: 1fr; gap: 48px 64px; align-items: stretch; }
.promesse__tete > div:first-child { display: grid; align-content: space-between; gap: 32px; }
.promesse__tete .promesse__texte { margin-top: 0; max-width: 16ch; }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.point { display: grid; align-content: start; gap: 16px; padding-top: 28px; border-top: 1px solid var(--color-surface-25); }
.point__icone {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--teinte); color: var(--teinte);
}
.point__icone svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.point__titre { font-size: var(--text-subheading); font-weight: 600; line-height: 1.1; letter-spacing: -0.011em; }
.point p:not(.point__titre) { color: var(--color-surface-50); font-size: var(--text-body); line-height: 1.4; max-width: 30ch; }

/* ═════════ AVANT / APRÈS : Le Mas des Collines ═════════ */
.vieux, .neuf { position: absolute; inset: 0; display: flex; flex-direction: column; }
.vieux { background: #d4d0c8; color: #111; font-family: "Times New Roman", Times, serif; letter-spacing: 0; }
.vieux .navigateur { background: #ece9d8; border-bottom: 1px solid #888; font-family: Tahoma, sans-serif; color: #111; }
.vieux .navigateur span { background: #fff; border: 1px solid #888; border-radius: 0; }
.vieux__corps { flex: 1; padding: 2.5% 4%; background: #e8f4e0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M0 0h4v4H0zM4 4h4v4H4z' fill='%23d7ead0'/%3E%3C/svg%3E"); display: flex; flex-direction: column; gap: 12px; font-size: clamp(12px, 1.2vw, 17px); line-height: 1.3; }
.vieux__titre { font-size: 2em; color: #6b1d6b; text-align: center; font-weight: 700; font-style: italic; }
.vieux__menu { text-align: center; color: #00e; }
.vieux__grille { display: grid; grid-template-columns: 30% 1fr; gap: 4%; flex: 1; }
.vieux__grille p + p { margin-top: 10px; }
.vieux__image { display: grid; place-items: center; border: 2px inset #999; background: #ccc; color: #555; font-family: monospace; }
.vieux__alerte { color: #d00; font-weight: 700; }
.vieux__pied { font-size: 0.8em; color: #555; text-align: center; }
.vieux__tarifs { border-collapse: collapse; margin-top: 8px; font-size: 0.95em; }
.vieux__tarifs td { border: 1px solid #777; padding: 2px 8px; background: #fff; }

.neuf { --pierre: #efece6; --encre: #1f2420; --doux: #5d625b; --trait: rgb(31 36 32 / 0.16); --olive: #4a5a2e; background: var(--pierre); color: var(--encre); font-family: "Geist", system-ui, sans-serif; letter-spacing: 0; clip-path: inset(0 0 0 50%); }
.neuf .navigateur { background: #e4e0d8; color: var(--encre); border-bottom: 1px solid var(--trait); }
.neuf .navigateur span { border: 1px solid var(--trait); }
.serif { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; letter-spacing: -0.01em; }
.mas { position: relative; flex: 1; display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; }
.mas__photo { position: relative; overflow: hidden; }
.mas__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform: scale(1.5); transform-origin: 40% 100%; } /* cadrage de la hero de la démo : collines en premier plan, moins de ciel */
.mas__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(20 24 20 / 0.3), transparent 35%, transparent 50%, rgb(20 24 20 / 0.6)); }
.mas__titre { position: absolute; z-index: 1; left: 7%; right: 7%; bottom: 7%; color: #fff; font-size: clamp(24px, 3.4vw, 54px); line-height: 1; }
.mas__marque { position: absolute; z-index: 1; left: 7%; top: 6%; color: #fff; font-size: clamp(16px, 1.7vw, 26px); }
.mas__droite { display: flex; flex-direction: column; gap: 12px; padding: 6% 7%; }
.mas__sur { font-size: clamp(11px, 1vw, 15px); color: var(--olive); font-weight: 500; }
.mas__chambres { border-top: 1px solid var(--trait); }
.mas__chambres li { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 12px; padding: 1.6% 0; border-bottom: 1px solid var(--trait); }
.mas__chambres b { font-size: clamp(18px, 2.1vw, 32px); line-height: 1.05; }
.mas__chambres span { font-size: clamp(11px, 0.95vw, 15px); color: var(--doux); }
.mas__chambres em { font-style: normal; font-size: clamp(12px, 1.1vw, 17px); font-weight: 500; }
.mas__bouton { margin-top: auto; display: flex; align-items: center; justify-content: center; height: clamp(34px, 3.6vw, 54px); border-radius: 999px; background: var(--olive); color: #fff; font-size: clamp(11px, 1vw, 15px); font-weight: 500; }
.mas__note { font-size: clamp(10px, 0.8vw, 12px); color: var(--doux); }

/* ═════════ MAQUETTES : écrans 16/9 en défilement horizontal, en 3D ═════════ */
.galerie { position: relative; overflow: hidden; }
.galerie__scene { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 5vh, 56px); padding-block: calc(var(--bandeau) + 88px) 48px; }
.galerie__tete { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 16px 80px; }
.galerie__tete .corps-l { color: var(--color-surface-50); }
.galerie__tete .accolade { margin-bottom: 16px; }
.galerie__piste { display: flex; align-items: flex-start; gap: clamp(40px, 6vw, 112px); width: max-content; padding-inline: var(--marge); perspective: 1400px; }
.ecran-carte { width: clamp(300px, 56vw, 900px); display: grid; gap: 22px; }
.ecran-cadre { position: relative; transform-style: preserve-3d; will-change: transform; }
.ecran { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-cards); overflow: hidden; border: 1px solid rgb(255 252 225 / 0.14); background: var(--color-off-black); }
.ecran .navigateur { position: absolute; inset: 0 0 auto; z-index: 2; color: var(--color-surface-50); background: var(--color-off-black); border-bottom: 1px solid var(--color-surface-25); height: 30px; }
.ecran .navigateur span { border: 1px solid var(--color-surface-25); }
.ecran__media { position: absolute; inset: 30px 0 0; overflow: hidden; }
.ecran__media video, .ecran__media img { position: absolute; left: -3%; top: 0; width: 106%; height: 100%; object-fit: cover; object-position: 50% 0; will-change: transform; }
.ecran__tel { position: absolute; z-index: 3; right: -3%; bottom: -10%; width: 17%; transform: translateZ(70px); }
.ecran__tel .cadre-tel { border-radius: 22px; padding: 5px; }
.ecran__tel .cadre-tel::before { top: 9px; height: 9px; border-radius: 6px; }
.ecran__tel .cadre-tel video, .ecran__tel .cadre-tel img { border-radius: 17px; }
.ecran-carte__texte { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-items: start; padding-top: 4%; }
.ecran-carte__texte .etiquette { font-size: var(--text-body); }
.ecran-carte__texte h3 { grid-column: 1; font-size: var(--text-subheading); font-weight: 600; line-height: 1.1; letter-spacing: -0.011em; }
.ecran-carte__texte p:not(.etiquette) { grid-column: 1; color: var(--color-surface-50); font-size: var(--text-body); max-width: 46ch; }
.galerie__bas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.galerie__jauge { position: relative; flex: 1; min-width: 160px; height: 1px; background: var(--color-surface-25); }
.galerie__jauge i { position: absolute; inset: -0.5px 0; background: var(--gradient-shockingly-green); transform: scaleX(0); transform-origin: left; }
.note { font-size: var(--text-caption); color: var(--color-surface-50); }

/* ── Prix : bordure lumineuse (React Bits « Border Glow ») ; retirer data-prix="lueur" sur <html> pour revenir aux cartes simples ── */
.tarif { position: relative; }
.tarif ul { display: grid; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--color-surface-25); font-size: var(--text-body-sm); line-height: 1.35; }
.tarif ul li { position: relative; padding-left: 18px; }
.tarif ul li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 6px; height: 6px; border-radius: 50%; background: var(--teinte, var(--color-light-green)); }
.tarif .pilule { margin-top: 24px; justify-self: start; }
.tarif__niveaux { font-size: var(--text-caption); color: var(--teinte, var(--color-surface-50)); }
.tarif--creme ul { border-top-color: rgb(14 16 15 / 0.15); }
.tarif--creme ul li::before { background: var(--color-just-black); }
.tarif--creme .pilule { color: var(--color-just-black); border-color: var(--color-just-black); }
.tarif--creme .pilule:hover { color: var(--color-surface-cream); background-color: var(--color-just-black); border-color: var(--color-just-black); }
[data-prix="lueur"] :is(.tarif:not(.tarif--creme), .bloc--lueur) {
  --edge-proximity: 0; --cursor-angle: 45deg; --edge-sensitivity: 30; --color-sensitivity: 50; --cone-spread: 25; --glow-padding: 40px; --fill-opacity: 0.25;
  --glow: var(--teinte, var(--color-light-green));
  --glow-color: var(--glow); --glow-color-60: color-mix(in srgb, var(--glow) 60%, transparent); --glow-color-50: color-mix(in srgb, var(--glow) 50%, transparent); --glow-color-40: color-mix(in srgb, var(--glow) 40%, transparent); --glow-color-30: color-mix(in srgb, var(--glow) 30%, transparent); --glow-color-20: color-mix(in srgb, var(--glow) 20%, transparent); --glow-color-10: color-mix(in srgb, var(--glow) 10%, transparent);
  --gradient-one: radial-gradient(at 80% 55%, #0ae448 0px, transparent 50%); --gradient-two: radial-gradient(at 69% 34%, #9d95ff 0px, transparent 50%); --gradient-three: radial-gradient(at 8% 6%, #00bae2 0px, transparent 50%); --gradient-four: radial-gradient(at 41% 38%, #0ae448 0px, transparent 50%); --gradient-five: radial-gradient(at 86% 85%, #9d95ff 0px, transparent 50%); --gradient-six: radial-gradient(at 82% 18%, #00bae2 0px, transparent 50%); --gradient-seven: radial-gradient(at 51% 4%, #9d95ff 0px, transparent 50%); --gradient-base: linear-gradient(#0ae448 0 100%);
  isolation: isolate; background: var(--color-just-black);
  /* Au repos : bord et halo extérieur dans la teinte de la carte, pour que les formules ressortent déjà. */
  border-color: color-mix(in srgb, var(--glow) 55%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--glow) 8%, transparent), 0 0 30px -6px color-mix(in srgb, var(--glow) 42%, transparent), 0 18px 60px -30px color-mix(in srgb, var(--glow) 40%, transparent);
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
}
/* Au survol : le bord et le halo s'intensifient, en plus de la lueur qui suit le pointeur. */
[data-prix="lueur"] :is(.tarif:not(.tarif--creme), .bloc--lueur):hover {
  border-color: color-mix(in srgb, var(--glow) 80%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--glow) 22%, transparent), 0 0 40px -4px color-mix(in srgb, var(--glow) 50%, transparent), 0 24px 80px -28px color-mix(in srgb, var(--glow) 60%, transparent);
}
[data-prix="lueur"] :is(.tarif:not(.tarif--creme), .bloc--lueur)::before,
[data-prix="lueur"] :is(.tarif:not(.tarif--creme), .bloc--lueur)::after,
[data-prix="lueur"] :is(.tarif:not(.tarif--creme), .bloc--lueur) > .lueur { content: ""; position: absolute; inset: -1px; border-radius: inherit; transition: opacity 0.25s ease-out; z-index: -1; pointer-events: none; }
[data-prix="lueur"] :is(.tarif:not(.tarif--creme), .bloc--lueur):not(:hover)::before,
[data-prix="lueur"] :is(.tarif:not(.tarif--creme), .bloc--lueur):not(:hover)::after,
[data-prix="lueur"] :is(.tarif:not(.tarif--creme), .bloc--lueur):not(:hover) > .lueur { opacity: 0; transition: opacity 0.75s ease-in-out; }
[data-prix="lueur"] :is(.tarif:not(.tarif--creme), .bloc--lueur)::before {
  border: 1px solid transparent;
  background: linear-gradient(var(--color-just-black) 0 100%) padding-box, var(--gradient-one) border-box, var(--gradient-two) border-box, var(--gradient-three) border-box, var(--gradient-four) border-box, var(--gradient-five) border-box, var(--gradient-six) border-box, var(--gradient-seven) border-box, var(--gradient-base) border-box;
  opacity: calc((var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));
  mask-image: conic-gradient(from var(--cursor-angle) at center, black calc(var(--cone-spread) * 1%), transparent calc((var(--cone-spread) + 15) * 1%), transparent calc((100 - var(--cone-spread) - 15) * 1%), black calc((100 - var(--cone-spread)) * 1%));
}
[data-prix="lueur"] :is(.tarif:not(.tarif--creme), .bloc--lueur)::after {
  border: 1px solid transparent;
  background: var(--gradient-one) padding-box, var(--gradient-two) padding-box, var(--gradient-three) padding-box, var(--gradient-four) padding-box, var(--gradient-five) padding-box, var(--gradient-six) padding-box, var(--gradient-seven) padding-box, var(--gradient-base) padding-box;
  mask-image: linear-gradient(to bottom, black, black), radial-gradient(ellipse at 50% 50%, black 40%, transparent 65%), radial-gradient(ellipse at 66% 66%, black 5%, transparent 40%), radial-gradient(ellipse at 33% 33%, black 5%, transparent 40%), radial-gradient(ellipse at 66% 33%, black 5%, transparent 40%), radial-gradient(ellipse at 33% 66%, black 5%, transparent 40%), conic-gradient(from var(--cursor-angle) at center, transparent 5%, black 15%, black 85%, transparent 95%);
  mask-composite: subtract, add, add, add, add, add;
  opacity: calc(var(--fill-opacity) * (var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));
  mix-blend-mode: soft-light;
}
/* La couche de lueur déborde de la carte de --glow-padding : son trait retombe ainsi exactement sur le bord (sinon il se dessinait 40 px à l'intérieur, sur le texte). */
[data-prix="lueur"] :is(.tarif:not(.tarif--creme), .bloc--lueur) > .lueur {
  inset: calc(var(--glow-padding) * -1); z-index: -1;
  mask-image: conic-gradient(from var(--cursor-angle) at center, black 2.5%, transparent 10%, transparent 90%, black 97.5%);
  opacity: calc((var(--edge-proximity) - var(--edge-sensitivity)) / (100 - var(--edge-sensitivity)));
  mix-blend-mode: plus-lighter;
}
[data-prix="lueur"] :is(.tarif, .bloc--lueur) > .lueur::before {
  content: ""; position: absolute; inset: var(--glow-padding); border-radius: var(--radius-cards);
  box-shadow: inset 0 0 0 1px var(--glow-color), inset 0 0 1px 0 var(--glow-color-60), inset 0 0 3px 0 var(--glow-color-50), inset 0 0 8px 0 var(--glow-color-30), 0 0 1px 0 var(--glow-color-60), 0 0 3px 0 var(--glow-color-50), 0 0 6px 0 var(--glow-color-40), 0 0 15px 0 var(--glow-color-30), 0 0 25px 2px var(--glow-color-20), 0 0 50px 2px var(--glow-color-10);
}
:is(.tarif, .bloc--lueur) > .lueur { display: none; }
[data-prix="lueur"] :is(.tarif, .bloc--lueur) > .lueur { display: block; }
/* Mêmes bordures lumineuses sur les blocs « Mes règles » (À propos), plus discrètes au repos que les prix. */
.bloc--lueur { position: relative; }
[data-prix="lueur"] .bloc.bloc--lueur:not(:hover) {
  border-color: color-mix(in srgb, var(--glow) 30%, var(--color-surface-25));
  box-shadow: 0 0 28px -12px color-mix(in srgb, var(--glow) 34%, transparent);
}
.bloc--lueur .point__icone { transition: box-shadow 0.4s ease; }
.bloc--lueur:hover .point__icone { box-shadow: 0 0 22px -6px color-mix(in srgb, var(--glow) 60%, transparent); }

/* ═════════ CONTACT (accueil) : logo électrique à droite ═════════ */
.contact__grille { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 48px 64px; }
.contact__grille .logo-electrique { max-width: 520px; justify-self: end; }
.contact__legende { margin-top: 8px; font-size: var(--text-caption); color: var(--color-surface-50); text-align: center; }

/* ═════════ PAGES INTÉRIEURES ═════════ */
.tete-page {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: end; gap: 48px 64px;
  min-height: min(100svh, 900px);
  padding: calc(var(--bandeau) + 128px) var(--marge) clamp(48px, 8vh, 96px);
  overflow: hidden;
}
.tete-page__texte { position: relative; z-index: 2; display: grid; gap: 24px; }
.tete-page__titre { font-size: var(--text-heading-lg); font-weight: 600; line-height: 0.95; letter-spacing: -0.02em; max-width: 12ch; }
.tete-page__titre .masque { padding-bottom: 0.12em; margin-bottom: -0.12em; }
.tete-page__chapo { max-width: 40ch; font-size: var(--text-body-lg); line-height: 1.38; }
.tete-page .panneau { z-index: 1; height: min(62svh, 600px); }
.tete-page__formes { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.tete-page__formes .forme--mini { position: absolute; }
.tete-page--courte { grid-template-columns: 1fr; min-height: 0; padding-bottom: 56px; border-bottom: 1px solid var(--color-surface-25); }
.tete-page--courte .tete-page__titre { font-size: var(--text-heading); max-width: none; }
.tete-page--centre { grid-template-columns: 1fr; justify-items: center; text-align: center; align-content: center; }
.tete-page--centre .tete-page__titre { max-width: 16ch; }

.bloc-titre { display: grid; gap: 16px; margin-bottom: var(--spacing-76); }
.bloc-titre .titre-l { max-width: 20ch; }
.bloc-titre .corps-l { color: var(--color-surface-50); max-width: 52ch; }
.bordure-haut { border-top: 1px solid var(--color-surface-25); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* Offres : onglets */
.onglets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.onglets button { font: inherit; font-size: 16px; font-weight: 600; padding: 12px 22px; border-radius: var(--radius-buttons); border: 1px solid var(--color-surface-25); background: transparent; color: var(--color-surface-50); cursor: pointer; transition: color 0.3s, border-color 0.3s; }
.onglets button:hover { color: var(--color-surface-cream); }
.onglets button[aria-selected="true"] { color: var(--color-surface-cream); border: 1.5px solid transparent; background: linear-gradient(var(--color-just-black), var(--color-just-black)) padding-box, var(--gradient-shockingly-green) border-box; }
.panneau-onglet[hidden] { display: none; }
.mention { margin-top: 24px; font-size: var(--text-body-sm); color: var(--color-surface-50); }
.mention a, .lien-vert { color: var(--color-light-green); border-bottom: 1px solid currentColor; }
.tableau { width: 100%; border-collapse: collapse; font-size: var(--text-body); }
.tableau th, .tableau td { padding: 18px 16px 18px 0; text-align: left; border-bottom: 1px solid var(--color-surface-25); vertical-align: top; }
.tableau th { font-weight: 600; }
.tableau td small { display: block; color: var(--color-surface-50); font-size: var(--text-caption); }
.blocs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.blocs--4 { grid-template-columns: repeat(4, 1fr); }
/* Une seule option : carte pleine largeur, texte à gauche et prix à droite */
.blocs--seul { grid-template-columns: 1fr; }
.bloc .tableau span { color: inherit; font-size: inherit; }
@media (min-width: 900px) {
  .blocs--seul .bloc { grid-template-columns: 1fr 1fr; column-gap: 64px; }
  .blocs--seul .bloc > * { grid-column: 1; }
  .blocs--seul .bloc > .tableau { grid-column: 2; grid-row: 1 / span 4; align-self: center; }
}
.bloc { display: grid; align-content: start; gap: 12px; padding: 28px; border: 1px solid var(--color-surface-25); border-radius: var(--radius-cards); }
.bloc b, .bloc .bloc__titre { font-size: 22px; font-weight: 600; line-height: 1.2; }
.bloc p, .bloc span { color: var(--color-surface-50); font-size: var(--text-body-sm); line-height: 1.45; }
.bloc .point__icone { width: 52px; height: 52px; }
.bloc .point__icone svg { width: 24px; height: 24px; }
.bloc .tarif__montant { font-size: clamp(44px, 4.6vw, 66px); }
.liste-points { display: grid; gap: 10px; }
.liste-points li { position: relative; padding-left: 18px; color: var(--color-surface-50); font-size: var(--text-body-sm); line-height: 1.45; }
.liste-points li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: var(--color-light-green); }

/* Exemples */
.demos { display: grid; gap: 96px; }
.demo { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px 64px; align-items: center; padding-top: 48px; border-top: 1px solid var(--color-surface-25); }
.demo[hidden] { display: none; }
.demo .ecran-carte__texte { padding-top: 0; grid-template-columns: 1fr; gap: 16px; }
.demo .ecran-carte__texte h3, .demo .ecran-carte__texte p:not(.etiquette) { grid-column: 1; }
.demo .pilule { justify-self: start; margin-top: 8px; }
.vide { color: var(--color-surface-50); }
.credits { display: grid; gap: 8px; margin-top: 16px; color: var(--color-surface-50); font-size: var(--text-body-sm); }
.fenetre { width: min(1200px, 100% - 32px); max-height: calc(100% - 32px); padding: 24px; border: 1px solid var(--color-surface-25); border-radius: var(--radius-cards); background: var(--color-just-black); color: var(--color-surface-cream); }
.fenetre::backdrop { background: rgb(14 16 15 / 0.85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.fenetre__tete { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.fenetre__tete h2 { font-size: var(--text-subheading); font-weight: 600; line-height: 1.1; }
.fenetre__corps { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.fenetre__texte { margin-top: 20px; display: grid; gap: 8px; color: var(--color-surface-50); }
.fenetre__fermer { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--color-surface-25); background: transparent; color: var(--color-surface-cream); font: inherit; font-size: 22px; cursor: pointer; }

/* Comment ça marche : frise */
.frise-grille { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px 80px; align-items: start; }
.frise-cote { position: sticky; top: calc(var(--bandeau) + 96px); display: grid; gap: 20px; }
.frise { position: relative; display: grid; gap: 0; padding-left: 48px; }
.frise__rail { position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: var(--color-surface-25); }
.frise__rail i { position: absolute; inset: 0 -0.5px; background: linear-gradient(180deg, #0ae448, #abff84); transform: scaleY(0); transform-origin: top; }
.frise-etape { position: relative; display: grid; gap: 14px; padding-bottom: 72px; }
.frise-etape::before { content: ""; position: absolute; left: -54px; top: 10px; width: 13px; height: 13px; border-radius: 50%; background: var(--color-just-black); border: 1px solid var(--color-surface-25); transition: background 0.5s, border-color 0.5s; }
.frise-etape.est-active::before { background: var(--color-light-green); border-color: var(--color-light-green); }
.frise-etape .etiquette { font-size: var(--text-body); }
.frise-etape h2 { font-size: var(--text-heading-sm); font-weight: 600; line-height: 1.1; letter-spacing: -0.011em; }
.frise-etape p:not(.etiquette), .frise-etape li { color: var(--color-surface-50); font-size: var(--text-body); line-height: 1.45; max-width: 52ch; }
.frise-etape ul { display: grid; gap: 6px; padding-left: 18px; list-style: disc; }
.frise-etape__n { font-size: var(--text-heading); font-weight: 600; line-height: 1; letter-spacing: -0.02em; color: var(--color-surface-25); transition: color 0.5s; }
.frise-etape.est-active .frise-etape__n { color: var(--color-surface-cream); }

/* À propos */
.techtexte { position: relative; height: clamp(160px, 22vw, 320px); color: var(--color-surface-cream); }
.techtexte .rb-repli { display: flex; align-items: center; justify-content: center; font-size: clamp(80px, 16vw, 260px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
/* En titre de section (accueil) : le composant laisse 5 % de marge à gauche ; le bloc est élargi d'autant pour que le texte s'aligne sur la colonne. */
.techtexte--titre { width: calc(100% / 0.95); margin-left: calc(-5% / 0.95); height: clamp(72px, 6.6vw, 100px); }
.techtexte--titre .rb-repli { justify-content: flex-start; padding-left: 5%; font-size: clamp(36px, 4vw, 58px); letter-spacing: -0.011em; white-space: nowrap; }
@media (max-width: 760px) {
  .techtexte--titre { width: auto; margin-left: 0; height: auto; }
  .techtexte--titre .rb-scene { display: none; }
  .techtexte--titre .rb-repli { position: static; opacity: 1; padding-left: 0; font-size: clamp(34px, 10vw, 44px); line-height: 1.05; white-space: normal; }
}
.apropos-grille { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px 80px; align-items: start; }
.apropos-logo { width: min(100%, 460px); justify-self: center; }
.texte-long { display: grid; gap: 20px; font-size: var(--text-body-lg); line-height: 1.45; }
.texte-long p { max-width: 52ch; }
.page-apropos .tete-page__chapo { max-width: 36ch; font-size: clamp(21px, 2.1vw, 32px); }
.page-apropos .apropos-grille { align-items: center; }
.page-apropos .texte-long { font-size: clamp(20px, 1.7vw, 26px); }

/* Contact */
.contact-grille { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr); gap: 48px 80px; align-items: start; }
.formulaire { display: grid; gap: 24px; padding: 32px; border: 1px solid var(--color-surface-25); border-radius: var(--radius-cards); }
.formulaire__reponse a, .joindre a { color: var(--color-light-green); }
.champs-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.champ { display: grid; gap: 8px; }
.champ label { font-size: var(--text-caption); color: var(--color-surface-50); }
.champ label small { font-size: inherit; opacity: 0.8; }
.champ input, .champ textarea { width: 100%; font: inherit; font-size: 17px; color: var(--color-surface-cream); background: transparent; border: 1px solid var(--color-surface-25); border-radius: var(--radius-cards); padding: 14px 16px; transition: border-color 0.3s; }
.champ textarea { min-height: 130px; resize: vertical; }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--color-light-green); }
.champ [aria-invalid="true"] { border-color: var(--color-orangey); }
.champ-erreur { color: var(--color-orangey); font-size: var(--text-caption); }
.formulaire button.pilule { justify-self: start; cursor: pointer; font-family: inherit; }
.formulaire__reponse { display: grid; gap: 8px; padding: 16px 18px; border: 1px solid var(--color-light-green); border-radius: var(--radius-cards); font-size: var(--text-body-sm); }
.formulaire__reponse[hidden] { display: none; }
.formulaire__reponse--erreur { border-color: var(--color-orangey); }
.formulaire { position: relative; }
.formulaire .mention { margin: 0; }
.formulaire__piege { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.contact-cote { display: grid; gap: 28px; }
.contact-cote h2 { font-size: var(--text-subheading); font-weight: 600; }
.contact-cote ol { display: grid; gap: 12px; counter-reset: e; }
.contact-cote ol li { counter-increment: e; display: grid; grid-template-columns: 32px 1fr; color: var(--color-surface-50); line-height: 1.45; }
.contact-cote ol li::before { content: counter(e, decimal-leading-zero); color: var(--color-light-green); }
.joindre { display: grid; gap: 6px; font-size: var(--text-body-lg); }
.joindre span { font-size: var(--text-body-sm); color: var(--color-surface-50); }

/* Pages légales */
.legal { display: grid; gap: 48px; max-width: 820px; }
.legal section { display: grid; gap: 14px; padding-top: 28px; border-top: 1px solid var(--color-surface-25); }
.legal h2 { font-size: var(--text-subheading); font-weight: 600; line-height: 1.15; }
.legal p, .legal li { color: rgb(255 252 225 / 0.82); font-size: var(--text-body); line-height: 1.5; }
.legal ul { display: grid; gap: 8px; }
.legal ul li { position: relative; padding-left: 18px; }
.legal ul li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--color-surface-50); }
.legal a { color: var(--color-light-green); border-bottom: 1px solid currentColor; }
.legal b { color: var(--color-surface-cream); font-weight: 600; }
.mise-a-jour { font-size: var(--text-caption); color: var(--color-surface-50); }
.legal-mise { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 64px; align-items: start; }
.legal-sommaire { position: sticky; top: calc(var(--bandeau) + 96px); display: grid; gap: 8px; min-width: 220px; font-size: var(--text-body-sm); }
.legal-sommaire p { color: var(--color-surface-50); font-size: var(--text-caption); margin-bottom: 4px; }
.legal-sommaire a { color: var(--color-surface-50); transition: color 0.25s; }
.legal-sommaire a:hover, .legal-sommaire a.actif { color: var(--color-surface-cream); }

/* 404 */
.erreur { position: relative; min-height: 100svh; display: grid; align-content: center; justify-items: center; gap: 24px; padding: calc(var(--bandeau) + 96px) var(--marge) 64px; text-align: center; overflow: hidden; }
.erreur .techtexte { width: min(1100px, 100%); height: clamp(180px, 30vw, 380px); }
.erreur .actions { justify-content: center; margin-top: 8px; }

/* Avis (accueil) : liste réelle quand elle existe */
.avis-liste { display: grid; gap: 24px; }

/* ═════════ Écrans étroits ═════════ */
@media (max-width: 980px) {
  .nav__menu { display: inline-flex; }
  .promesse__tete, .contact__grille, .tete-page, .galerie__tete, .frise-grille, .apropos-grille, .contact-grille, .demo, .legal-mise { grid-template-columns: 1fr; }
  .points { grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
  .point { grid-template-columns: 64px 1fr; column-gap: 20px; padding-block: 24px; }
  .point__icone { grid-row: span 2; }
  .blocs--4 { grid-template-columns: 1fr 1fr; }
  .tete-page .panneau { height: 44svh; }
  .frise-cote { position: relative; top: 0; }
  .legal-sommaire { display: none; }
  .contact__grille .logo-electrique { justify-self: center; max-width: 360px; }
  .scene__texte { max-width: none; right: var(--marge); }
  .mas { grid-template-columns: 1fr; grid-template-rows: 42% 1fr; }
  .mas__droite { padding: 4% 6%; gap: 8px; }
  .vieux__grille { grid-template-columns: 1fr; }
  .vieux__image { min-height: 60px; }
  .fenetre__corps { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .appareil--bureau { left: 50%; top: 40%; width: 88vw; }
  .appareil--tel { left: 78%; top: 44%; width: 26vw; }
  .ecran-carte { width: 100%; }
  .galerie__piste { flex-direction: column; width: auto; gap: 72px; }
  .ecran-carte__texte { grid-template-columns: 1fr; }
  .blocs, .blocs--4, .champs-2 { grid-template-columns: 1fr; }
  .tete-page { padding-top: calc(var(--bandeau) + 104px); }
  .tete-page .panneau { height: 38svh; }
  .formulaire { padding: 20px; }
  .rappel { display: none; }
  .rappel.rappel--tel { display: block; }
}

/* Mouvement réduit : tout est visible, rien ne bouge */
.reduit *, .reduit *::before, .reduit *::after { animation: none !important; transition: none !important; }

/* Teintes par classe (la CSP du site interdit les attributs style dans le HTML) */
.t-vert { --teinte: var(--color-light-green); }
.t-orange { --teinte: var(--color-orangey); }
.t-rose { --teinte: var(--color-pink); }
.t-lilas { --teinte: var(--color-lilac); }
.t-bleu { --teinte: var(--color-blue); }
.r-vert { --repli: #0ae448; } .r-lilas { --repli: #9d95ff; } .r-bleu { --repli: #00bae2; } .r-orange { --repli: #ff8709; } .r-rose { --repli: #fec5fb; }

/* Compléments des pages intérieures */
.tete-page--seule { grid-template-columns: 1fr; min-height: min(86svh, 820px); }
.tete-page--seule .tete-page__titre { max-width: 14ch; font-size: clamp(56px, 9vw, 150px); }
.tete-page__formes .f-a { left: 58%; top: 26%; }
.tete-page__formes .f-b { left: 46%; bottom: 14%; }
.tete-page__formes .f-c { right: 12%; top: 48%; }
.tete-page--seule .f-a { left: auto; right: 22%; top: 24%; }
.tete-page--seule .f-b { left: auto; right: 8%; bottom: 22%; }
.repli-collines { background-image: url("../images/collines-dorees.jpg"); }
.contact--court { min-height: 80vh; min-height: 80svh; }
.contact__corps .titre-xl { max-width: 13ch; }
.panneau--logo { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.panneau--logo .logo-electrique { position: absolute; inset: 0; aspect-ratio: auto; width: auto; }
/* Logo en volume (Exemples) : pas de cadre ; le fond de l'image est celui de la page, et les bords s'éteignent en cercle. */
.logo-volume { position: relative; z-index: 1; aspect-ratio: 1; height: min(62svh, 600px); justify-self: end; cursor: crosshair; }
.logo-volume .rb-scene, .logo-volume .rb-repli {
  -webkit-mask-image: radial-gradient(closest-side, #000 90%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 90%, transparent 100%);
}
.logo-volume .rb-repli img { display: block; width: 100%; height: 100%; }
.logo-volume__legende { position: absolute; left: 0; right: 0; bottom: -4px; z-index: 3; text-align: center; font-size: var(--text-caption); color: var(--color-surface-50); pointer-events: none; }
@media (max-width: 980px) { .logo-volume { height: 44svh; justify-self: center; } }
@media (max-width: 760px) { .logo-volume { height: auto; width: min(86vw, 38svh); } .logo-volume__legende { display: none; } }
.apropos-marque { padding-block: 24px var(--section-gap); border-bottom: 1px solid var(--color-surface-25); }
.apropos-marque .note { text-align: center; margin-top: 8px; }
.erreur .tete-page__formes .f-a { left: 14%; top: 26%; }
.erreur .tete-page__formes .f-b { right: 14%; left: auto; top: 30%; bottom: auto; }
.erreur .tete-page__formes .f-c { right: 26%; top: auto; bottom: 16%; }
.erreur h1 { position: relative; z-index: 1; }
.reduit .hero__scene, html:not(.js) .hero__scene { height: auto; min-height: 100svh; }
.reduit .hero__media, html:not(.js) .hero__media { position: relative; inset: auto; height: min(78svh, 760px); margin-top: 48px; visibility: visible; z-index: 1; }
.reduit .scene, html:not(.js) .scene { opacity: 1; }
.reduit .hero__ecran, html:not(.js) .hero__ecran, .reduit .hero__voile, html:not(.js) .hero__voile { display: none; }
.reduit .hero__apres, html:not(.js) .hero__apres { position: relative; inset: auto; visibility: visible; margin: 32px var(--marge) 0; max-width: 40rem; }

/* Styles d'origine des composants React Bits (composants/react-bits/*.css) */
.micro-slats {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.dither-veil {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: pan-y;
}
.electric-logo {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.tech-text {
  position: relative;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
  user-select: none;
}

.tech-text-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Ajustements après vérification à l'écran */
.ecran-carte { width: min(52vw, 900px, (100svh - 520px) * 1.78); }
.galerie__scene { gap: clamp(20px, 3.5vh, 44px); padding-block: calc(var(--bandeau) + 64px) 32px; }
.contact__logo { width: min(100%, 560px); justify-self: end; }
.contact .contact__formes .forme--gelule { right: auto; left: 38%; top: 6%; }
@media (max-width: 980px) { .contact__logo { justify-self: center; width: min(100%, 380px); } }
@media (max-width: 760px) { .ecran-carte { width: 100%; } }
.contact--court .contact__formes .forme--gelule { left: auto; right: 7vw; top: 30%; }
.contact:not(.contact--court) .contact__formes .forme--gelule { left: 36%; top: auto; bottom: 6%; }
.erreur .tete-page__formes .f-c { right: 10%; bottom: 10%; }
.tete-page--courte .tete-page__formes .f-a { left: auto; right: 18%; top: 38%; }
.tete-page--courte .tete-page__formes .f-b { left: auto; right: 6%; bottom: 18%; }
.tete-page--seule { min-height: min(76svh, 760px); }
.forme--mini.forme--rose-b { background: radial-gradient(100% 100% at 30% 25%, #fffce1 0%, #fec5fb 30%, #f100cb 100%); box-shadow: inset -8px -10px 20px rgb(14 16 15 / 0.35); }
@media (max-width: 760px) {
  .tete-page__formes .f-a, .tete-page--seule .f-a { left: auto; right: 6%; top: calc(var(--bandeau) + 64px); }
  .tete-page__formes .f-b, .tete-page--seule .f-b { left: auto; right: 14%; bottom: 6%; top: auto; }
  .tete-page__formes .f-c { right: 4%; top: 40%; }
}
.reduit .nav, html:not(.js) .nav { background: rgb(14 16 15 / 0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.galerie__tete .titre-l { font-size: clamp(36px, 4vw, 58px); }
.galerie .ecran-carte__texte h3 { font-size: clamp(22px, 2vw, 28px); }
.galerie .ecran-carte__texte p:not(.etiquette) { font-size: var(--text-body-sm); }
.galerie__scene { padding-top: calc(var(--bandeau) + 40px); }

/* Petites formes de couleur sur les côtés : sur téléphone, seules les plus petites restent, en partie hors écran */
@media (max-width: 760px) { .rappel:has(.forme--mini) { display: block; } .rappel .forme--mini { width: 40px; opacity: 0.85; } .rappel--d { right: -14px; } .rappel--g { left: -14px; } }
.tete-page { position: relative; z-index: 1; } /* le texte d'en-tête reste au-dessus des formes des sections suivantes */

/* Page Offres : abonnement sous les cartes, options en dessous */
.abonnement { margin-top: 32px; max-width: 70ch; }
.abonnement .titre-s { margin-bottom: 8px; }
.abonnement .mention { margin-top: 12px; }
.options-titre { margin-top: 72px; margin-bottom: 24px; }
#formules > .enveloppe > .titre-m:first-child { margin-bottom: 24px; }
.frise-grille:not(:has(.frise-cote)) { grid-template-columns: minmax(0, 1fr); }
.frise-grille:not(:has(.frise-cote)) .frise { max-width: 760px; margin-inline: auto; }
