/* ==========================================================================
   Mayele Process Agency — feuille de style principale
   Charte : Noir Mayele #0B0D12 · Bleu électrique #1F5BFF · Or discret #C9A24B
            Blanc #FFFFFF · Graphite #1A1E27 · Gris brume #A9B0BD
   Typographie : Sora (titres, chiffres) · Inter (texte courant)
   ========================================================================== */

@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --noir: #0b0d12;
  --noir-2: #10131a;
  --graphite: #1a1e27;
  --graphite-2: #232835;
  --graphite-3: #2c3242;
  --bleu: #1f5bff;
  --bleu-vif: #4677ff;
  --bleu-nuit: #0f2a7a;
  --or: #c9a24b;
  --or-clair: #e2c27a;
  --or-fonce: #7d5e17;
  --blanc: #ffffff;
  --brume: #a9b0bd;
  --brume-2: #7f8796;
  --papier: #f5f4ef;
  --papier-2: #ebe9e1;
  --encre: #0b0d12;
  --encre-2: #474e5c;
  --ligne: rgba(255, 255, 255, 0.09);
  --ligne-forte: rgba(255, 255, 255, 0.16);
  --ligne-claire: rgba(11, 13, 18, 0.12);

  --f-titre: "Sora", "Segoe UI", system-ui, sans-serif;
  --f-texte: "Inter", "Segoe UI", system-ui, sans-serif;

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --r-xl: 32px;

  --ombre: 0 18px 40px -18px rgba(0, 0, 0, 0.55), 0 2px 6px rgba(0, 0, 0, 0.25);
  --ombre-claire: 0 18px 40px -22px rgba(11, 13, 18, 0.28), 0 2px 6px rgba(11, 13, 18, 0.06);
  --ombre-bleue: 0 16px 36px -14px rgba(31, 91, 255, 0.6);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --largeur: 1200px;
  --gouttiere: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scrollbar-color: var(--graphite-3) var(--noir);
}
body {
  margin: 0;
  background: var(--noir);
  color: var(--blanc);
  font-family: var(--f-texte);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--or); color: var(--noir); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--noir); }
::-webkit-scrollbar-thumb { background: var(--graphite-3); border-radius: 999px; border: 3px solid var(--noir); }
::-webkit-scrollbar-thumb:hover { background: var(--brume-2); }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 {
  font-family: var(--f-titre);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 6.2vw, 5rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.25rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); letter-spacing: -0.02em; line-height: 1.2; }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; line-height: 1.3; }
strong { font-weight: 650; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
input, select, textarea { caret-color: var(--or); }
:focus-visible {
  outline: 2px solid var(--or);
  outline-offset: 3px;
  border-radius: 6px;
}
.or { color: var(--or); }
.bleu { color: var(--bleu-vif); }
.num { font-family: var(--f-titre); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--or); color: var(--noir); font-weight: 700;
  padding: 10px 16px; border-radius: var(--r-s); text-decoration: none;
  transition: top 0.2s;
}
.skip:focus { top: 12px; }

.conteneur { width: min(100% - 2 * var(--gouttiere), var(--largeur)); margin-inline: auto; }
.etroit { max-width: 68ch; }
.section { padding-block: clamp(72px, 10vw, 136px); position: relative; }
.section--serree { padding-block: clamp(56px, 7vw, 96px); }
.section--claire { background: var(--papier); color: var(--encre); }
.section--claire .chapo, .section--claire .muted { color: var(--encre-2); }
.section--claire .or { color: var(--or-fonce); }
.section--graphite { background: var(--noir-2); border-block: 1px solid var(--ligne); }
.chapo { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--brume); max-width: 60ch; line-height: 1.6; }
.muted { color: var(--brume); }
.petit { font-size: 0.9rem; }
.entete-section { margin-bottom: clamp(36px, 5vw, 64px); max-width: 780px; }
.entete-section--centre { margin-inline: auto; text-align: center; }
.entete-section--centre .chapo { margin-inline: auto; }

/* ---------- Icônes ---------- */
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ico--plein { fill: currentColor; stroke: none; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--bleu);
  --fg: var(--blanc);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 52px; padding: 0.85em 1.5em;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-titre); font-weight: 650; font-size: 1rem; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background-color 0.25s, color 0.25s, border-color 0.25s;
  box-shadow: 0 10px 24px -12px rgba(31, 91, 255, 0.7);
}
.btn:hover { transform: translateY(-2px); background: var(--bleu-vif); box-shadow: var(--ombre-bleue); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 1.2em; height: 1.2em; }
.btn--or { --bg: var(--or); --fg: var(--noir); box-shadow: 0 10px 24px -12px rgba(201, 162, 75, 0.7); }
.btn--or:hover { background: var(--or-clair); box-shadow: 0 16px 36px -14px rgba(201, 162, 75, 0.65); }
.btn--contour { --bg: transparent; --fg: var(--blanc); border-color: var(--ligne-forte); box-shadow: none; }
.btn--contour:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--brume); box-shadow: none; }
.btn--blanc { --bg: var(--blanc); --fg: var(--noir); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.5); }
.btn--blanc:hover { background: var(--papier); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.5); }
.section--claire .btn--contour { --fg: var(--encre); border-color: var(--ligne-claire); }
.section--claire .btn--contour:hover { background: rgba(11, 13, 18, 0.05); border-color: var(--encre-2); }
.btn--plein { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

.lien-fleche {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-family: var(--f-titre); font-weight: 650; text-decoration: none; color: var(--or);
}
.lien-fleche .ico { transition: transform 0.35s var(--ease-out); }
.lien-fleche:hover .ico { transform: translateX(4px); }
.section--claire .lien-fleche { color: var(--bleu); }

.actions { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 13, 18, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s;
}
.entete.defile { border-bottom-color: var(--ligne); background: rgba(11, 13, 18, 0.94); }
.entete__in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.marque { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.marque__symbole { width: 46px; height: auto; }
.marque__sep { width: 1px; height: 34px; background: var(--or); opacity: 0.7; }
.marque__mot { width: 118px; height: auto; }
.nav { margin-left: auto; }
.nav__liste { display: flex; gap: 4px; list-style: none; align-items: center; }
.nav__lien {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-family: var(--f-titre); font-size: 0.95rem; font-weight: 550; color: var(--brume);
  text-decoration: none; border-radius: 999px; transition: color 0.2s, background-color 0.2s;
}
.nav__lien:hover { color: var(--blanc); background: rgba(255, 255, 255, 0.05); }
.nav__lien[aria-current="page"] { color: var(--blanc); }
.nav__lien[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 6px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--or);
}
.entete__cta { min-height: 44px; padding: 0.6em 1.15em; font-size: 0.95rem; }
.burger {
  display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 14px;
  border: 1px solid var(--ligne-forte); background: transparent; cursor: pointer; position: relative;
}
.burger span, .burger span::before, .burger span::after {
  position: absolute; left: 50%; width: 20px; height: 2px; margin-left: -10px; background: var(--blanc);
  border-radius: 2px; transition: transform 0.35s var(--ease-out), opacity 0.2s;
}
.burger span { top: 50%; margin-top: -1px; }
.burger span::before, .burger span::after { content: ""; left: 0; margin-left: 0; }
.burger span::before { transform: translateY(-6px); }
.burger span::after { transform: translateY(6px); }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .burger { display: inline-block; }
  .entete__cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    background: var(--noir); border-bottom: 1px solid var(--ligne);
    padding: 12px var(--gouttiere) 28px;
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path 0.5s var(--ease-out), visibility 0s linear 0.5s;
    max-height: calc(100dvh - var(--header-h)); overflow: auto;
  }
  .nav.ouvert { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.5s var(--ease-out), visibility 0s; }
  .nav__liste { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__lien { font-size: 1.25rem; min-height: 56px; padding: 0 8px; border-radius: 12px; border-bottom: 1px solid var(--ligne); }
  .nav__lien[aria-current="page"]::after { left: auto; right: 12px; bottom: 50%; margin: 0 0 -2.5px; }
  .nav__cta { display: flex; margin-top: 20px; }
  .nav__cta .btn { width: 100%; }
}
@media (min-width: 1081px) { .nav__cta { display: none; } }
@media (max-width: 420px) {
  .marque__mot { width: 100px; }
  .marque__symbole { width: 40px; }
}

/* ---------- Motif : cercles concentriques (signature des affiches) ---------- */
.orbites { position: absolute; pointer-events: none; z-index: 0; }
.orbites circle { fill: none; stroke-width: 1.2; }
.orbites .o-or { stroke: var(--or); opacity: 0.5; }
.orbites .o-bleu { stroke: var(--bleu); opacity: 0.75; }
.orbites g { transform-origin: center; transform-box: fill-box; }
@media (prefers-reduced-motion: no-preference) {
  .orbites .tourne { animation: tourne 60s linear infinite; }
  .orbites .tourne-inv { animation: tourne 90s linear infinite reverse; }
}
@keyframes tourne { to { transform: rotate(360deg); } }

/* ---------- Hero d'accueil ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 8vw, 104px) clamp(64px, 9vw, 120px); }
.hero .orbites { width: 760px; height: 760px; right: -240px; top: -260px; }
.hero__grille { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 0.4em; }
.hero .chapo { margin-bottom: 32px; }
.hero__faits { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 32px; padding: 0; list-style: none; color: var(--brume); font-size: 0.95rem; }
.hero__faits li { display: inline-flex; align-items: center; gap: 8px; }
.hero__faits .ico { color: var(--or); }
@media (max-width: 960px) {
  .hero__grille { grid-template-columns: minmax(0, 1fr); }
  .hero .orbites { width: 520px; height: 520px; right: -260px; top: -200px; }
}

/* Le site qui se construit (moment signature) */
.chantier { position: relative; }
.navigateur {
  position: relative; border-radius: var(--r-l); background: var(--graphite);
  border: 1px solid var(--ligne-forte); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.4);
  overflow: hidden; aspect-ratio: 4 / 3.15;
}
.navigateur__barre { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--ligne); background: var(--noir-2); }
.navigateur__barre i { width: 10px; height: 10px; border-radius: 50%; background: var(--graphite-3); }
.navigateur__url {
  margin-left: 10px; flex: 1; height: 24px; border-radius: 8px; background: var(--graphite);
  display: flex; align-items: center; gap: 6px; padding: 0 10px; font-size: 0.75rem; color: var(--brume);
  font-family: var(--f-texte); overflow: hidden; white-space: nowrap;
}
.navigateur__url .ico { width: 12px; height: 12px; color: #39c07a; }
.maquette { position: absolute; inset: 40px 0 0 0; padding: 6% 7%; display: grid; grid-template-rows: auto 1fr auto; gap: 7%; }
.mq-nav { display: flex; align-items: center; gap: 8px; }
.mq-logo { width: 26%; height: 12px; border-radius: 6px; background: var(--or); }
.mq-lien { width: 9%; height: 7px; border-radius: 4px; background: var(--graphite-3); }
.mq-lien:first-of-type { margin-left: auto; }
.mq-btn-s { width: 15%; height: 18px; border-radius: 999px; background: var(--bleu); margin-left: 6px; }
.mq-corps { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 6%; align-items: center; }
.mq-titre { height: 16px; border-radius: 6px; background: var(--blanc); margin-bottom: 10px; }
.mq-titre.t2 { width: 78%; }
.mq-titre.t3 { width: 55%; background: var(--or); }
.mq-ligne { height: 7px; border-radius: 4px; background: var(--graphite-3); margin-top: 12px; }
.mq-ligne.l2 { width: 82%; margin-top: 8px; }
.mq-boutons { display: flex; gap: 8px; margin-top: 18px; }
.mq-b1 { width: 42%; height: 24px; border-radius: 999px; background: var(--bleu); }
.mq-b2 { width: 28%; height: 24px; border-radius: 999px; border: 1px solid var(--ligne-forte); }
.mq-visuel {
  aspect-ratio: 1; border-radius: 18px; position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 20% 10%, #2b56d8 0%, #12235d 45%, #0e1322 100%);
}
.mq-visuel::before {
  content: ""; position: absolute; inset: 22% 22%; border-radius: 50%;
  border: 1px solid rgba(201, 162, 75, 0.7); box-shadow: 0 0 0 18px rgba(201, 162, 75, 0.08);
}
.mq-visuel::after {
  content: ""; position: absolute; width: 22%; aspect-ratio: 1; left: 39%; top: 39%; transform: rotate(45deg);
  background: var(--or); border-radius: 4px;
}
.mq-cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mq-carte { height: 46px; border-radius: 10px; background: var(--graphite-2); border: 1px solid var(--ligne); position: relative; }
.mq-carte::before { content: ""; position: absolute; left: 10px; top: 10px; width: 14px; height: 14px; border-radius: 5px; background: var(--or); opacity: 0.85; }
.mq-carte::after { content: ""; position: absolute; left: 10px; right: 30%; bottom: 10px; height: 6px; border-radius: 3px; background: var(--graphite-3); }
.wa-bulle {
  position: absolute; right: 5%; bottom: 6%; width: 38px; height: 38px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 20px -8px rgba(37, 211, 102, 0.7);
}
.wa-bulle .ico { width: 20px; height: 20px; }
.etapes-chantier { display: flex; justify-content: space-between; gap: 8px; margin-top: 18px; padding: 0; list-style: none; }
.etapes-chantier li {
  flex: 1; display: flex; align-items: center; gap: 8px; font-family: var(--f-titre); font-size: 0.82rem; font-weight: 600;
  color: var(--brume-2); padding: 10px 12px; border-radius: 12px; border: 1px solid var(--ligne); background: rgba(26, 30, 39, 0.5);
  transition: color 0.4s, border-color 0.4s, background-color 0.4s;
}
.etapes-chantier li i { width: 8px; height: 8px; border-radius: 50%; background: var(--graphite-3); flex: none; transition: background-color 0.4s, box-shadow 0.4s; }
.etapes-chantier li.actif { color: var(--blanc); border-color: rgba(201, 162, 75, 0.45); background: rgba(201, 162, 75, 0.08); }
.etapes-chantier li.actif i { background: var(--or); box-shadow: 0 0 0 4px rgba(201, 162, 75, 0.2); }
.badge-flottant {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  background: var(--blanc); color: var(--noir); border-radius: 14px; padding: 10px 14px;
  font-family: var(--f-titre); font-size: 0.85rem; font-weight: 650; box-shadow: var(--ombre);
}
.badge-flottant .ico { color: var(--bleu); }
.badge-flottant--ssl { left: -18px; top: 18%; }
.badge-flottant--prix { right: -14px; bottom: 26%; background: var(--or); }
.badge-flottant--prix .ico { color: var(--noir); }
@media (max-width: 560px) {
  .badge-flottant--ssl { left: -6px; top: 14%; }
  .badge-flottant--prix { right: -6px; }
  .etapes-chantier li { font-size: 0.72rem; padding: 8px; gap: 6px; }
}

/* Séquence d'assemblage — état par défaut visible, animé seulement si JS + mouvement autorisé */
.js-anim .chantier [data-piece] { opacity: 0; transform: translateY(14px) scale(0.98); filter: blur(6px); }
.js-anim .chantier [data-piece].pose { opacity: 1; transform: none; filter: blur(0); transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out), filter 0.7s var(--ease-out); }
.js-anim .chantier .badge-flottant { opacity: 0; transform: translateY(10px); }
.js-anim .chantier .badge-flottant.pose { opacity: 1; transform: none; transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out); }

/* ---------- Héros des pages intérieures ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 112px) clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--ligne); }
.page-hero .orbites { width: 620px; height: 620px; right: -200px; top: -240px; }
.page-hero__in { position: relative; z-index: 1; max-width: 860px; }
.fil { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 28px; font-size: 0.88rem; color: var(--brume-2); }
.fil a { color: var(--brume); text-decoration: none; }
.fil a:hover { color: var(--blanc); text-decoration: underline; }
.fil li + li::before { content: "/"; margin-right: 8px; color: var(--graphite-3); }

/* ---------- Bandeau défilant ---------- */
.ruban { border-block: 1px solid var(--ligne); overflow: hidden; background: var(--noir-2); }
.ruban__piste { display: flex; width: max-content; gap: 0; padding-block: 20px; }
.ruban__groupe { display: flex; align-items: center; gap: 40px; padding-right: 40px; list-style: none; margin: 0; }
.ruban__groupe li { display: inline-flex; align-items: center; gap: 40px; font-family: var(--f-titre); font-weight: 650; font-size: clamp(1rem, 1.6vw, 1.25rem); white-space: nowrap; color: var(--brume); }
.ruban__groupe li::after { content: ""; width: 9px; height: 9px; background: var(--or); transform: rotate(45deg); border-radius: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .ruban__piste { animation: defile 38s linear infinite; }
  .ruban:hover .ruban__piste { animation-play-state: paused; }
}
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- Raisons (liste éditoriale) ---------- */
.raisons { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.raisons__titre { position: sticky; top: calc(var(--header-h) + 32px); }
.raisons__liste { list-style: none; padding: 0; border-top: 1px solid var(--ligne-claire); }
.raisons__liste li { display: grid; grid-template-columns: 44px 1fr; gap: 6px 18px; padding: 26px 0; border-bottom: 1px solid var(--ligne-claire); }
.raisons__liste .ico { width: 28px; height: 28px; color: var(--bleu); margin-top: 2px; grid-row: span 2; }
.raisons__liste h3 { margin: 0; font-size: 1.2rem; }
.raisons__liste p { margin: 0; color: var(--encre-2); }
@media (max-width: 860px) {
  .raisons { grid-template-columns: minmax(0, 1fr); }
  .raisons__titre { position: static; }
}

/* ---------- Packs (aperçu + tarifs) ---------- */
.packs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.pack {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: 28px 24px 24px; border-radius: var(--r-l); background: var(--graphite);
  border: 1px solid var(--ligne); transition: transform 0.45s var(--ease-out), border-color 0.3s, box-shadow 0.45s var(--ease-out);
}
.pack:hover { transform: translateY(-6px); border-color: var(--ligne-forte); box-shadow: var(--ombre); }
.pack__tete { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pack__nom { font-size: 1.45rem; margin: 0; }
.pack__delai { font-size: 0.85rem; color: var(--brume); white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.pack__delai .ico { width: 15px; height: 15px; }
.pack__prix { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.pack__des { font-family: var(--f-titre); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--or); }
.pack__montant { font-family: var(--f-titre); font-weight: 800; font-size: clamp(2.4rem, 3.4vw, 3rem); line-height: 1; color: var(--or); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.pack__resume { color: var(--brume); font-size: 0.95rem; margin: 0; }
.pack__liste { list-style: none; padding: 18px 0 0; border-top: 1px solid var(--ligne); display: grid; gap: 10px; font-size: 0.95rem; flex: 1; }
.pack__liste li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.pack__liste .ico { width: 18px; height: 18px; margin-top: 3px; color: var(--or); }
.pack .btn { margin-top: 6px; }
.pack--recommande { border-color: rgba(201, 162, 75, 0.7); background: linear-gradient(180deg, rgba(201, 162, 75, 0.09), rgba(26, 30, 39, 1) 46%); }
.pack__ruban {
  position: absolute; top: -13px; right: 20px; padding: 4px 12px; border-radius: 999px; background: var(--or); color: var(--noir);
  font-family: var(--f-titre); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
}
.pack--premium { background: var(--bleu); border-color: var(--bleu); box-shadow: var(--ombre-bleue); }
.pack--premium .pack__des, .pack--premium .pack__montant, .pack--premium .pack__liste .ico { color: var(--blanc); }
.pack--premium .pack__delai, .pack--premium .pack__resume { color: #f3f6ff; }
.pack--premium .pack__liste { border-top-color: rgba(255, 255, 255, 0.25); }
.pack--premium:hover { border-color: var(--bleu-vif); box-shadow: 0 26px 50px -18px rgba(31, 91, 255, 0.75); }
.pack--premium .btn { --bg: var(--blanc); --fg: var(--bleu); box-shadow: none; }
.pack--premium .btn:hover { background: var(--papier); }
.inclus {
  margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center;
  padding: 18px 22px; border-radius: var(--r-m); border: 1px dashed var(--ligne-forte); color: var(--brume); font-size: 0.95rem;
}
.inclus strong { color: var(--or); font-family: var(--f-titre); }
@media (max-width: 1100px) { .packs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; } }
@media (max-width: 620px) { .packs { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Processus (ligne qui se dessine) ---------- */
.processus-cadre { position: relative; }
.processus { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; }
.processus-cadre::before {
  content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--ligne);
}
.processus__trace {
  position: absolute; left: 0; top: 27px; height: 2px; width: 100%; transform-origin: left; transform: scaleX(var(--p, 1));
  background: linear-gradient(90deg, var(--bleu), var(--or));
}
.processus li { position: relative; padding-top: 76px; }
.processus__point {
  position: absolute; top: 0; left: 0; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  background: var(--graphite); border: 1px solid var(--ligne-forte); color: var(--or); z-index: 1;
  transition: background-color 0.5s, color 0.5s, border-color 0.5s;
}
.processus li.atteint .processus__point { background: var(--or); color: var(--noir); border-color: var(--or); }
.processus__point .ico { width: 26px; height: 26px; }
.processus h3 { margin-bottom: 8px; }
.processus p { color: var(--brume); font-size: 0.98rem; margin: 0; }
@media (max-width: 860px) {
  .processus { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .processus-cadre::before { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .processus__trace { left: 27px; top: 0; width: 2px; height: 100%; transform-origin: top; transform: scaleY(var(--p, 1)); }
  .processus li { padding: 4px 0 36px 84px; min-height: 92px; }
}

/* ---------- Engagements ---------- */
.engagements { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ligne); border-left: 1px solid var(--ligne); }
.engagement { padding: 32px 28px 30px; border-right: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); position: relative; transition: background-color 0.35s; }
.engagement:hover { background: rgba(255, 255, 255, 0.025); }
.engagement .ico { width: 30px; height: 30px; color: var(--or); margin-bottom: 18px; }
.engagement h3 { margin-bottom: 8px; font-size: 1.2rem; }
.engagement p { margin: 0; color: var(--brume); font-size: 0.97rem; }
.section--claire .engagements { border-color: var(--ligne-claire); }
.section--claire .engagement { border-color: var(--ligne-claire); }
.section--claire .engagement:hover { background: rgba(11, 13, 18, 0.03); }
.section--claire .engagement .ico { color: var(--bleu); }
.section--claire .engagement p { color: var(--encre-2); }
@media (max-width: 900px) { .engagements { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .engagements { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Bloc deux colonnes générique ---------- */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.duo--haut { align-items: start; }
@media (max-width: 900px) { .duo { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Aperçu réalisations ---------- */
.vitrine-demos { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.demo-carte {
  position: relative; grid-column: span 6; display: block; text-decoration: none; color: inherit;
  border-radius: var(--r-l); overflow: hidden; background: var(--graphite); border: 1px solid var(--ligne);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.3s;
}
.demo-carte:hover { transform: translateY(-6px); box-shadow: var(--ombre); border-color: var(--ligne-forte); }
.demo-carte__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--noir-2); border-bottom: 1px solid var(--ligne); }
.demo-carte__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.2s var(--ease-out); }
.demo-carte:hover .demo-carte__img img { transform: scale(1.035); }
.demo-carte__pied { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 22px; }
.demo-carte__pied h3 { margin: 0 0 2px; font-size: 1.15rem; }
.demo-carte__pied p { margin: 0; color: var(--brume); font-size: 0.9rem; }
.etiquette {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  font-family: var(--f-titre); font-size: 0.75rem; font-weight: 700; white-space: nowrap;
  background: rgba(201, 162, 75, 0.14); color: var(--or-clair); border: 1px solid rgba(201, 162, 75, 0.35);
}
.etiquette--bleu { background: rgba(31, 91, 255, 0.16); color: #b9ccff; border-color: rgba(31, 91, 255, 0.45); }
.section--claire .etiquette { background: rgba(125, 94, 23, 0.1); color: var(--or-fonce); border-color: rgba(125, 94, 23, 0.3); }
@media (max-width: 760px) { .demo-carte { grid-column: span 12; } }

/* ---------- Galerie d'affiches ---------- */
.galerie { columns: 3 280px; column-gap: 18px; }
.galerie__item { break-inside: avoid; margin: 0 0 18px; }
.galerie__btn {
  display: block; width: 100%; padding: 0; border: 1px solid var(--ligne); border-radius: var(--r-m); overflow: hidden;
  background: var(--graphite); cursor: zoom-in; position: relative;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.3s;
}
.galerie__btn:hover { transform: translateY(-4px); box-shadow: var(--ombre); border-color: var(--ligne-forte); }
.galerie__btn img { width: 100%; }
.galerie figcaption { padding: 10px 4px 0; font-size: 0.9rem; color: var(--brume); }
.galerie figcaption strong { color: var(--blanc); font-family: var(--f-titre); font-weight: 650; display: block; font-size: 0.98rem; }

.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filtre {
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--ligne-forte); background: transparent;
  font-family: var(--f-titre); font-weight: 600; font-size: 0.92rem; color: var(--brume); cursor: pointer;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}
.filtre:hover { color: var(--blanc); border-color: var(--brume); }
.filtre[aria-pressed="true"] { background: var(--blanc); color: var(--noir); border-color: var(--blanc); }

/* Visionneuse */
.visionneuse {
  width: min(96vw, 1100px); max-height: 94vh; padding: 0; border: 0; background: transparent; color: var(--blanc); overflow: visible;
}
.visionneuse::backdrop { background: rgba(5, 6, 9, 0.88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.visionneuse[open] { animation: apparait 0.45s var(--ease-out); }
@keyframes apparait { from { opacity: 0; transform: scale(0.97); } }
.visionneuse__cadre { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.visionneuse img { max-height: calc(94vh - 80px); width: auto; border-radius: var(--r-m); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8); }
.visionneuse__legende { font-size: 0.95rem; color: var(--brume); text-align: center; }
.visionneuse__fermer, .visionneuse__nav {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ligne-forte);
  background: rgba(26, 30, 39, 0.9); color: var(--blanc); display: grid; place-items: center; cursor: pointer;
  transition: background-color 0.2s;
}
.visionneuse__fermer:hover, .visionneuse__nav:hover { background: var(--graphite-3); }
.visionneuse__fermer { top: -8px; right: -8px; }
.visionneuse__nav--prec { left: -64px; top: 45%; }
.visionneuse__nav--suiv { right: -64px; top: 45%; }
@media (max-width: 1240px) {
  .visionneuse__nav--prec { left: 8px; }
  .visionneuse__nav--suiv { right: 8px; }
  .visionneuse__fermer { top: 8px; right: 8px; }
}

/* ---------- Bande pionniers / appel final ---------- */
.appel {
  position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(36px, 6vw, 72px);
  background: var(--bleu); color: var(--blanc); box-shadow: var(--ombre-bleue);
}
.appel .orbites { width: 560px; height: 560px; right: -180px; top: -200px; }
.appel .orbites .o-bleu { stroke: var(--blanc); opacity: 0.35; }
.appel .orbites .o-or { opacity: 0.8; }
.appel__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 32px; align-items: end; }
.appel h2 { margin-bottom: 0.35em; }
.appel p { color: #f3f6ff; max-width: 56ch; }
.appel .actions { justify-content: flex-end; }
@media (max-width: 860px) {
  .appel__in { grid-template-columns: minmax(0, 1fr); }
  .appel .actions { justify-content: flex-start; }
}

.pionniers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.pionniers__prix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.prix-barre {
  border-radius: var(--r-l); padding: 24px; background: var(--graphite); border: 1px solid var(--ligne);
}
.prix-barre--or { border-color: rgba(201, 162, 75, 0.7); }
.prix-barre__tete { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 4px; }
.prix-barre__tete strong { font-family: var(--f-titre); font-size: 1.2rem; }
.prix-barre del { color: var(--brume-2); font-family: var(--f-titre); font-weight: 650; }
.prix-barre .pack__montant { display: block; margin-top: 6px; }
.remise { background: var(--bleu); color: var(--blanc); font-family: var(--f-titre); font-size: 0.75rem; font-weight: 800; padding: 3px 9px; border-radius: 8px; }
.coche-liste { list-style: none; padding: 0; display: grid; gap: 12px; margin: 22px 0 0; }
.coche-liste li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.coche-liste .ico { color: var(--or); width: 20px; height: 20px; margin-top: 3px; }
.section--claire .coche-liste .ico { color: var(--bleu); }
@media (max-width: 900px) { .pionniers { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 440px) { .pionniers__prix { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Agence : valeurs, vision ---------- */
.nom-sens { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.nom-sens__mot { font-family: var(--f-titre); font-weight: 800; font-size: clamp(3.2rem, 9vw, 6rem); letter-spacing: -0.04em; line-height: 0.9; }
.nom-sens__mot span { display: block; font-size: 0.28em; letter-spacing: 0.02em; font-weight: 600; color: var(--or-fonce); margin-top: 14px; }
@media (max-width: 760px) { .nom-sens { grid-template-columns: minmax(0, 1fr); } }

.valeurs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.valeur { padding: 30px 28px; border-radius: var(--r-l); background: var(--graphite); border: 1px solid var(--ligne); position: relative; overflow: hidden; }
.valeur__lettre {
  position: absolute; right: -6px; bottom: -34px; font-family: var(--f-titre); font-weight: 800; font-size: 9rem; line-height: 1;
  color: rgba(255, 255, 255, 0.035); letter-spacing: -0.06em; pointer-events: none; transition: color 0.5s, transform 0.8s var(--ease-out);
}
.valeur:hover .valeur__lettre { color: rgba(201, 162, 75, 0.12); transform: translateY(-8px); }
.valeur h3 { font-size: 1.55rem; margin-bottom: 10px; }
.valeur p { color: var(--brume); margin: 0; max-width: 46ch; position: relative; }
@media (max-width: 700px) { .valeurs { grid-template-columns: minmax(0, 1fr); } }

.horizons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--ligne-claire); background: var(--blanc); box-shadow: var(--ombre-claire); }
.horizon { padding: clamp(28px, 4vw, 44px); }
.horizon + .horizon { border-left: 1px solid var(--ligne-claire); }
.horizon h3 { display: flex; align-items: center; gap: 12px; }
.horizon h3 .ico { color: var(--bleu); width: 26px; height: 26px; }
.horizon p { color: var(--encre-2); margin: 0; }
@media (max-width: 760px) { .horizons { grid-template-columns: minmax(0, 1fr); } .horizon + .horizon { border-left: 0; border-top: 1px solid var(--ligne-claire); } }

.charte-couleurs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pastille { border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--ligne); background: var(--graphite); }
.pastille__c { height: 84px; }
.pastille__t { padding: 12px 14px; font-size: 0.85rem; }
.pastille__t strong { display: block; font-family: var(--f-titre); font-size: 0.95rem; }
.pastille__t span { color: var(--brume); font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .charte-couleurs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Services ---------- */
.service { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--ligne); align-items: start; }
.service:last-child { border-bottom: 1px solid var(--ligne); }
.service__titre { display: flex; gap: 18px; align-items: flex-start; }
.service__icone { width: 60px; height: 60px; flex: none; border-radius: 18px; display: grid; place-items: center; background: var(--graphite); border: 1px solid var(--ligne-forte); color: var(--or); }
.service__icone .ico { width: 28px; height: 28px; }
.service__titre h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 6px 0 8px; }
.service__titre p { color: var(--brume); margin: 0; }
.service__detail { display: grid; gap: 22px; }
.service__detail .coche-liste { margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.service__prix { display: flex; flex-wrap: wrap; gap: 10px; }
.service__prix span { padding: 8px 14px; border-radius: 12px; background: var(--graphite); border: 1px solid var(--ligne); font-size: 0.92rem; color: var(--brume); }
.service__prix b { color: var(--or); font-family: var(--f-titre); font-weight: 700; }
@media (max-width: 900px) { .service { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .service__detail .coche-liste { grid-template-columns: minmax(0, 1fr); } }

.secteurs { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.secteurs li {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--blanc);
  border: 1px solid var(--ligne-claire); font-family: var(--f-titre); font-weight: 600; font-size: 0.98rem; color: var(--encre);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.25s;
}
.secteurs li:hover { transform: translateY(-3px); box-shadow: var(--ombre-claire); border-color: rgba(31, 91, 255, 0.4); }
.secteurs .ico { color: var(--bleu); }

.bientot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bientot__carte { padding: 30px 28px; border-radius: var(--r-l); border: 1px dashed rgba(201, 162, 75, 0.5); background: rgba(201, 162, 75, 0.04); }
.bientot__carte .ico { width: 30px; height: 30px; color: var(--or); margin-bottom: 14px; }
.bientot__carte h3 { margin-bottom: 8px; }
.bientot__carte p { color: var(--brume); margin: 0; }
@media (max-width: 700px) { .bientot { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Tarifs : onglets, tableaux ---------- */
.onglets { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: var(--graphite); border: 1px solid var(--ligne); margin-bottom: 36px; }
.onglet {
  min-height: 46px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-family: var(--f-titre); font-weight: 650; font-size: 0.95rem; color: var(--brume); transition: color 0.2s, background-color 0.3s;
}
.onglet:hover { color: var(--blanc); }
.onglet[aria-selected="true"] { background: var(--blanc); color: var(--noir); }
.panneau[hidden] { display: none; }
.panneau:not([hidden]) { animation: monte 0.55s var(--ease-out); }
@keyframes monte { from { opacity: 0; transform: translateY(10px); } }

.abonnements { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.abonnement { padding: 28px 26px; border-radius: var(--r-l); background: var(--graphite); border: 1px solid var(--ligne); display: flex; flex-direction: column; gap: 14px; }
.abonnement--or { border-color: rgba(201, 162, 75, 0.7); }
.abonnement--bleu { background: var(--bleu); border-color: var(--bleu); }
.abonnement h3 { margin: 0; font-size: 1.4rem; }
.abonnement .prix { display: flex; align-items: baseline; gap: 6px; }
.abonnement .prix b { font-family: var(--f-titre); font-weight: 800; font-size: 2.6rem; color: var(--or); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.abonnement .prix span { color: var(--brume); }
.abonnement--bleu .prix b, .abonnement--bleu .prix span { color: var(--blanc); }
.abonnement p { color: var(--brume); margin: 0; font-size: 0.97rem; }
.abonnement--bleu p { color: #f3f6ff; }
.abonnement .mails { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--ligne); font-family: var(--f-titre); font-weight: 650; font-size: 0.92rem; color: var(--or); display: flex; align-items: center; gap: 8px; }
.abonnement--bleu .mails { color: var(--blanc); border-top-color: rgba(255, 255, 255, 0.25); }
@media (max-width: 900px) { .abonnements { grid-template-columns: minmax(0, 1fr); } }

.grille-tarifs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tableau { border-radius: var(--r-l); background: var(--graphite); border: 1px solid var(--ligne); padding: 26px 26px 14px; }
.tableau h3 { font-size: 1.15rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.tableau h3 .ico { color: var(--or); }
.tableau table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tableau th, .tableau td { text-align: left; padding: 12px 0; border-top: 1px solid var(--ligne); vertical-align: top; }
.tableau thead th { border-top: 0; font-size: 0.8rem; font-weight: 600; color: var(--brume-2); padding-top: 0; }
.tableau td:last-child, .tableau th:last-child { text-align: right; white-space: nowrap; padding-left: 16px; }
.tableau td:last-child { font-family: var(--f-titre); font-weight: 700; color: var(--blanc); }
.tableau td small { display: block; color: var(--brume); font-size: 0.85rem; }
.tableau .note { font-size: 0.88rem; color: var(--brume); padding: 10px 0 8px; margin: 0; border-top: 1px solid var(--ligne); }
@media (max-width: 860px) { .grille-tarifs { grid-template-columns: minmax(0, 1fr); } }

.options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.option { padding: 20px; border-radius: var(--r-m); border: 1px solid var(--ligne); background: var(--noir-2); }
.option span { display: block; color: var(--brume); font-size: 0.92rem; }
.option b { font-family: var(--f-titre); font-size: 1.35rem; font-weight: 750; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Exemple de devis */
.devis { border-radius: var(--r-l); background: var(--blanc); color: var(--encre); box-shadow: var(--ombre-claire); border: 1px solid var(--ligne-claire); overflow: hidden; }
.devis__tete { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 26px; border-bottom: 1px solid var(--ligne-claire); background: var(--papier); }
.devis__tete strong { font-family: var(--f-titre); }
.devis table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.devis td { padding: 14px 26px; border-bottom: 1px solid var(--ligne-claire); }
.devis td:last-child { text-align: right; font-family: var(--f-titre); font-weight: 700; white-space: nowrap; }
.devis tr.total td { font-size: 1.15rem; border-bottom: 0; background: var(--noir); color: var(--blanc); }
.devis tr.total td:last-child { color: var(--or); font-size: 1.5rem; }
.echeances { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
.echeances li { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; padding: 18px 20px; border-radius: var(--r-m); background: var(--blanc); border: 1px solid var(--ligne-claire); }
.echeances b { font-family: var(--f-titre); font-size: 1.5rem; color: var(--bleu); grid-row: span 2; align-self: center; min-width: 88px; font-variant-numeric: tabular-nums; }
.echeances strong { font-family: var(--f-titre); }
.echeances span { color: var(--encre-2); font-size: 0.95rem; }

/* ---------- Simulateur ---------- */
.simulateur { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr); gap: 24px; align-items: start; }
.sim__etapes { display: grid; gap: 16px; }
.sim__bloc { border: 1px solid var(--ligne); border-radius: var(--r-l); padding: 22px 22px 20px; background: var(--graphite); margin: 0; min-width: 0; }
.sim__bloc legend { font-family: var(--f-titre); font-weight: 700; font-size: 1.05rem; padding: 0; float: left; width: 100%; margin-bottom: 14px; }
.sim__bloc legend + * { clear: both; }
.choix { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.choix label {
  position: relative; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; min-height: 64px;
  border-radius: 14px; border: 1px solid var(--ligne-forte); background: var(--noir-2); cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, transform 0.3s var(--ease-out);
}
.choix label:hover { border-color: var(--brume-2); }
.choix input { position: absolute; opacity: 0; pointer-events: none; }
.choix label span { font-family: var(--f-titre); font-weight: 650; font-size: 0.98rem; }
.choix label small { color: var(--brume); font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.choix label:has(input:checked) { border-color: var(--or); background: rgba(201, 162, 75, 0.1); }
.choix label:has(input:checked)::after {
  content: ""; position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--or) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0d12' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.choix label:has(input:focus-visible) { outline: 2px solid var(--or); outline-offset: 2px; }
.compteur { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--ligne); }
.compteur__ctrl { display: inline-flex; align-items: center; border: 1px solid var(--ligne-forte); border-radius: 999px; overflow: hidden; }
.compteur__ctrl button { width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; font-size: 1.2rem; color: var(--blanc); }
.compteur__ctrl button:hover { background: rgba(255, 255, 255, 0.06); }
.compteur__ctrl output { min-width: 34px; text-align: center; font-family: var(--f-titre); font-weight: 700; font-variant-numeric: tabular-nums; }
.sim__recap { position: sticky; top: calc(var(--header-h) + 20px); border-radius: var(--r-l); background: var(--blanc); color: var(--encre); padding: 26px; box-shadow: var(--ombre); }
.sim__recap h3 { margin-bottom: 4px; }
.sim__lignes { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 0; font-variant-numeric: tabular-nums; }
.sim__lignes li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ligne-claire); font-size: 0.95rem; }
.sim__lignes li b { font-family: var(--f-titre); white-space: nowrap; }
.sim__lignes li.vide { color: var(--encre-2); justify-content: center; border: 1px dashed var(--ligne-claire); border-radius: 12px; padding: 16px; }
.sim__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 0 6px; }
.sim__total span { font-family: var(--f-titre); font-weight: 650; }
.sim__total b { font-family: var(--f-titre); font-size: 2.4rem; font-weight: 800; letter-spacing: -0.04em; color: var(--bleu); font-variant-numeric: tabular-nums; transition: transform 0.4s var(--ease-out); }
.sim__total b.bump { transform: scale(1.06); }
.sim__split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 10px 0 18px; }
.sim__split div { background: var(--papier); border-radius: 12px; padding: 12px; font-size: 0.85rem; color: var(--encre-2); }
.sim__split b { display: block; font-family: var(--f-titre); color: var(--encre); font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.sim__note { font-size: 0.82rem; color: var(--encre-2); margin: 12px 0 0; }
@media (max-width: 960px) {
  .simulateur { grid-template-columns: minmax(0, 1fr); }
  .sim__recap { position: static; }
}

/* ---------- Contact ---------- */
.contact-grille { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.carte-wa {
  position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 32px; background: var(--graphite); border: 1px solid var(--ligne);
}
.carte-wa .orbites { width: 380px; height: 380px; right: -170px; top: -170px; }
.carte-wa > *:not(.orbites) { position: relative; z-index: 1; }
.carte-wa__num { display: block; font-family: var(--f-titre); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.03em; text-decoration: none; margin: 8px 0 4px; font-variant-numeric: tabular-nums; }
.carte-wa__num:hover { color: var(--or); }
.infos { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.infos li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; }
.infos .rond { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--noir-2); border: 1px solid var(--ligne); color: var(--or); }
.infos small { display: block; color: var(--brume); font-size: 0.85rem; }

.formulaire { border-radius: var(--r-xl); background: var(--blanc); color: var(--encre); padding: clamp(24px, 4vw, 40px); box-shadow: var(--ombre); }
.formulaire h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 16px; margin-top: 22px; }
.champ { display: grid; gap: 6px; }
.champ--large { grid-column: 1 / -1; }
.champ label { font-family: var(--f-titre); font-weight: 600; font-size: 0.92rem; }
.champ label .req { color: #b42318; }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid #c9ccd3; background: var(--blanc); color: var(--encre);
  transition: border-color 0.2s, box-shadow 0.2s; font-size: 1rem;
}
.champ textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.champ input::placeholder, .champ textarea::placeholder { color: #6b7280; }
.champ input:hover, .champ select:hover, .champ textarea:hover { border-color: #9aa0ab; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--bleu); box-shadow: 0 0 0 4px rgba(31, 91, 255, 0.16); }
.champ[data-erreur] input, .champ[data-erreur] select, .champ[data-erreur] textarea { border-color: #b42318; box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.1); }
.champ__erreur { display: none; font-size: 0.86rem; color: #b42318; align-items: center; gap: 6px; }
.champ[data-erreur] .champ__erreur { display: flex; }
.champ__aide { font-size: 0.85rem; color: var(--encre-2); }
.pot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.champ label.consent { font-family: var(--f-texte); font-weight: 400; font-size: 0.92rem; }
.consent a { color: var(--bleu); }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 0.92rem; color: var(--encre-2); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--bleu); }
.formulaire__pied { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-top: 22px; }
.formulaire__pied p { margin: 0; font-size: 0.86rem; color: var(--encre-2); max-width: 40ch; }
.statut { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-size: 0.95rem; display: none; }
.statut.ok { display: block; background: #e8f7ef; color: #0d5c33; border: 1px solid #b6e3c8; }
.statut.ko { display: block; background: #fdecea; color: #8a1c13; border: 1px solid #f5c2bd; }
@media (max-width: 960px) { .contact-grille { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .champs { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq details { border-radius: var(--r-m); background: var(--blanc); border: 1px solid var(--ligne-claire); transition: box-shadow 0.3s, border-color 0.3s; }
.faq details[open] { box-shadow: var(--ombre-claire); border-color: rgba(31, 91, 255, 0.3); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; font-family: var(--f-titre); font-weight: 650; font-size: 1.05rem; min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--bleu); transition: transform 0.4s var(--ease-out); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq .reponse { padding: 0 22px 20px; color: var(--encre-2); max-width: 72ch; }

/* Parrainage */
.parrainage { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-xl); border: 1px solid rgba(201, 162, 75, 0.45); background: radial-gradient(120% 140% at 0% 0%, rgba(201, 162, 75, 0.14), transparent 55%), var(--graphite); }
.parrainage__chiffre { font-family: var(--f-titre); font-weight: 800; font-size: clamp(4rem, 10vw, 6rem); line-height: 0.9; letter-spacing: -0.05em; }
.parrainage__chiffre span { color: var(--or); }
.parrainage ol { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; counter-reset: p; }
.parrainage ol li { counter-increment: p; padding: 16px; border-radius: var(--r-m); background: var(--noir-2); border: 1px solid var(--ligne); font-family: var(--f-titre); font-weight: 600; font-size: 0.95rem; }
.parrainage ol li::before { content: counter(p); display: block; color: var(--or); font-weight: 800; font-size: 1.3rem; margin-bottom: 6px; }
@media (max-width: 760px) { .parrainage { grid-template-columns: minmax(0, 1fr); } .parrainage ol { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Pied de page ---------- */
.pied { background: var(--noir-2); border-top: 1px solid var(--ligne); padding-block: 64px 28px; font-size: 0.95rem; }
.pied__grille { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
.pied__marque img { width: 210px; height: auto; margin-bottom: 18px; }
.pied__marque p { color: var(--brume); max-width: 34ch; }
.pied h2 { font-size: 0.95rem; letter-spacing: 0; margin-bottom: 14px; color: var(--blanc); font-weight: 700; }
.pied ul { list-style: none; padding: 0; display: grid; gap: 4px; }
.pied a { color: var(--brume); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.pied a:hover { color: var(--blanc); text-decoration: underline; }
.pied__bas { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--ligne); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; color: var(--brume-2); font-size: 0.86rem; }
.pied__bas a { min-height: 0; }
@media (max-width: 900px) { .pied__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pied__marque { grid-column: 1 / -1; } }
@media (max-width: 480px) { .pied__grille { grid-template-columns: minmax(0, 1fr); } }

/* Bouton WhatsApp flottant */
.wa-flottant {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; text-decoration: none;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.75), 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.wa-flottant:hover { transform: translateY(-3px) scale(1.04); }
.wa-flottant .ico { width: 30px; height: 30px; }
.wa-flottant__bulle {
  position: absolute; right: 72px; white-space: nowrap; background: var(--blanc); color: var(--noir); padding: 9px 14px; border-radius: 12px;
  font-family: var(--f-titre); font-weight: 650; font-size: 0.88rem; box-shadow: var(--ombre); opacity: 0; transform: translateX(8px); pointer-events: none;
  transition: opacity 0.3s, transform 0.4s var(--ease-out);
}
.wa-flottant:hover .wa-flottant__bulle, .wa-flottant:focus-visible .wa-flottant__bulle { opacity: 1; transform: none; }
@media (max-width: 600px) { .wa-flottant { width: 56px; height: 56px; right: 14px; bottom: 14px; } .wa-flottant__bulle { display: none; } }

/* ---------- Pages légales ---------- */
.legal { max-width: 76ch; }
.legal h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-top: 2em; }
.legal h2:first-child { margin-top: 0; }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; margin-bottom: 1em; }
.legal .a-completer { background: rgba(201, 162, 75, 0.18); color: var(--or-clair); padding: 1px 6px; border-radius: 6px; font-weight: 600; }

/* 404 */
.erreur { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; }
.erreur .orbites { width: 720px; height: 720px; left: 50%; top: 50%; margin: -360px 0 0 -360px; opacity: 0.6; }
.erreur__code { font-family: var(--f-titre); font-weight: 800; font-size: clamp(5rem, 18vw, 10rem); line-height: 0.9; letter-spacing: -0.06em; }
.erreur__code span { color: var(--or); }
.erreur__in { position: relative; z-index: 1; padding: 48px var(--gouttiere); }
.erreur__in .actions { justify-content: center; margin-top: 28px; }

/* ---------- Apparition au défilement (variée, état par défaut visible) ---------- */
.js-anim [data-apparait] { opacity: 0; transform: translateY(26px); }
.js-anim [data-apparait="flou"] { transform: none; filter: blur(10px); }
.js-anim [data-apparait="masque"] { transform: none; clip-path: inset(0 0 100% 0); }
.js-anim [data-apparait="gauche"] { transform: translateX(-28px); }
.js-anim [data-apparait].vu {
  opacity: 1; transform: none; filter: none;
  transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out), filter 0.9s var(--ease-out), clip-path 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js-anim [data-apparait="masque"].vu { clip-path: inset(-0.2em -0.2em -0.2em -0.2em); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

@media print {
  .entete, .wa-flottant, .pied, .orbites { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Petits écrans : les boutons longs passent à la ligne */
@media (max-width: 520px) {
  .btn { white-space: normal; text-align: center; line-height: 1.25; }
  .actions .btn { width: 100%; }
  .etiquette { white-space: normal; }
}

/* Cartes de démo posées sur une section claire */
.section--claire .demo-carte { background: var(--blanc); border-color: var(--ligne-claire); color: var(--encre); box-shadow: var(--ombre-claire); }
.section--claire .demo-carte:hover { border-color: rgba(31, 91, 255, 0.35); }
.section--claire .demo-carte__img { border-bottom-color: var(--ligne-claire); }
.section--claire .demo-carte__pied p { color: var(--encre-2); }
.section--claire .etiquette--bleu { background: rgba(31, 91, 255, 0.1); color: #1747c9; border-color: rgba(31, 91, 255, 0.35); }
@media (max-width: 560px) {
  .etapes-chantier { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__grille > * { min-width: 0; }
}
@media (max-width: 1080px) {
  .nav__lien { display: flex; width: 100%; }
}
.pionniers__places { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-family: var(--f-titre); font-weight: 650; color: var(--or-clair); }
.pionniers__places .ico { color: var(--or); }
