/* Almadras — site vitrine. Une seule feuille, pas de bibliothèque. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-titre: var(--font);

  --papier: #fbfaf6;
  --papier-2: #f3f1ea;
  --surface: #ffffff;
  --ink: #151a30;
  --ink-2: #454b66;
  --ink-3: #5f6682;
  --line: #e4e2da;
  --line-strong: #858ca5;
  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --accent-soft: #eaeafd;
  --accent-text: #3b35b8;
  --nuit: #1e1b4b;
  --nuit-2: #2e2a6b;
  --ambre: #f5a524;
  --ambre-soft: #fff4dc;
  --ambre-texte: #8f3f06;
  --ok: #17693a;
  --ok-bg: #dcf5e5;
  --danger: #b4232c;
  --danger-bg: #fde6e7;

  --rayon: 14px;
  --rayon-s: 8px;
  --ombre: 0 1px 2px rgb(21 26 48 / 0.06), 0 8px 24px rgb(21 26 48 / 0.06);
  --ombre-forte: 0 2px 4px rgb(21 26 48 / 0.06), 0 24px 60px rgb(30 27 75 / 0.18);
  --largeur: 1160px;
  --gouttiere: clamp(16px, 4vw, 32px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--papier);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { margin: 0; line-height: 1.15; text-wrap: balance; }
h1, h2 { font-family: var(--font-titre); font-weight: 750; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.08rem; font-weight: 650; letter-spacing: -0.005em; }
p { margin: 0; text-wrap: pretty; }

.lien-evitement {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--rayon-s);
}
.lien-evitement:focus { top: 12px; color: #fff; }

.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 var(--gouttiere); }

/* ---------- boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.bouton svg { width: 18px; height: 18px; flex: none; }
.bouton-plein { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgb(79 70 229 / 0.28); }
.bouton-plein:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); }
.bouton-contour { background: var(--surface); color: var(--ink); border-color: var(--line); }
.bouton-contour:hover { border-color: var(--line-strong); color: var(--ink); }
.bouton-clair { background: #fff; color: var(--accent-text); }
.bouton-clair:hover { background: var(--accent-soft); color: var(--accent-text); }
.bouton-petit { min-height: 40px; padding: 0 16px; font-size: .95rem; }

/* ---------- en-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgb(251 250 246 / 0.86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.entete.defile { border-bottom-color: var(--line); }
.entete .conteneur { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.marque { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.marque:hover { color: var(--ink); }
.marque svg { width: 32px; height: 32px; }
.marque span { font-family: var(--font-titre); font-weight: 750; font-size: 1.4rem; letter-spacing: -0.035em; }
/* « al » + « madras » : l'école, en deux couleurs */
.marque span i { font-style: italic; color: var(--accent-text); padding-right: .04em; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .96rem;
  padding: 8px 12px; border-radius: 999px; white-space: nowrap;
}
.nav a:hover { color: var(--ink); background: var(--papier-2); }
.entete .bouton { margin-left: 8px; white-space: nowrap; flex: none; }
.marque { flex: none; }
.menu-bouton {
  display: none; margin-left: auto; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); cursor: pointer;
}
.menu-bouton svg { width: 22px; height: 22px; margin: auto; }

/* Sous 1080 px, les cinq liens et le bouton ne tiennent plus sur une ligne : menu repliable */
@media (max-width: 1080px) {
  .menu-bouton { display: grid; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; margin: 0;
    background: var(--papier); border-bottom: 1px solid var(--line);
    padding: 8px var(--gouttiere) 16px;
    box-shadow: 0 16px 30px rgb(21 26 48 / 0.08);
  }
  .nav.ouvert { display: flex; }
  .nav a { padding: 12px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a:hover { background: none; }
  /* Le bouton reste à côté du menu tant qu'il y a la place */
  .entete .bouton { order: 2; margin-left: auto; }
  .menu-bouton { order: 3; margin-left: 0; }
}
@media (max-width: 600px) {
  .entete .bouton { display: none; }
  .menu-bouton { margin-left: auto; }
}

/* ---------- motif (étoile à huit branches) ---------- */
.motif {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%234f46e5' stroke-width='1'%3E%3Crect x='18' y='18' width='20' height='20'/%3E%3Crect x='18' y='18' width='20' height='20' transform='rotate(45 28 28)'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 56px 56px;
  opacity: .07;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
}

/* ---------- accroche ---------- */
.accroche { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); }
.accroche .conteneur { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.pastille {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: .9rem; font-weight: 500; color: var(--ink-2);
}
.pastille b { background: var(--ambre-soft); color: var(--ambre-texte); font-weight: 650; padding: 2px 8px; border-radius: 999px; font-size: .8rem; }
.accroche h1 { margin: 20px 0 20px; }
.accroche h1 em { font-style: normal; color: var(--accent-text); position: relative; white-space: nowrap; }
.accroche h1 em::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: .04em; height: .3em; z-index: -1;
  background: rgb(245 165 36 / 0.42); border-radius: 3px;
}
.accroche .chapeau { font-size: clamp(1.06rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 36em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.rassurances { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: .93rem; color: var(--ink-3); }
.rassurances li { display: inline-flex; align-items: center; gap: 7px; }
.rassurances svg { width: 17px; height: 17px; color: var(--ok); flex: none; }

/* ---------- écrans réels de l'application (apercus/, chargés en iframe) ---------- */
.scene { position: relative; padding: 0 0 56px 56px; }
.scene .navigateur { width: calc(100% + 120px); }
.navigateur {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--ombre-forte); overflow: hidden;
}
.navigateur-barre {
  display: flex; align-items: center; gap: 10px; padding: 9px 14px;
  background: var(--papier-2); border-bottom: 1px solid var(--line);
}
.feux { display: flex; gap: 6px; }
.feux i { width: 10px; height: 10px; border-radius: 50%; background: #d9d6cc; }
.adresse {
  flex: 1; display: flex; align-items: center; gap: 6px; justify-content: center;
  background: var(--surface); border-radius: 999px; padding: 4px 12px;
  color: var(--ink-3); font-size: 12px; white-space: nowrap; overflow: hidden;
}
.adresse svg { width: 11px; height: 11px; flex: none; }
.adresse b { color: var(--ink); font-weight: 600; }

/* L'iframe garde sa vraie taille (--l × --h) ; main.js règle --k pour qu'elle remplisse son cadre. */
.ecran { position: relative; aspect-ratio: var(--l) / var(--h); overflow: hidden; background: #f4f5f9; }
.ecran iframe {
  position: absolute; top: 0; left: 0; border: 0;
  width: calc(var(--l) * 1px); height: calc(var(--h) * 1px);
  transform-origin: 0 0; transform: scale(var(--k, 0.5));
}

.telephone {
  width: 236px; padding: 7px; border-radius: 34px;
  background: #151a30; box-shadow: var(--ombre-forte);
}
.telephone .ecran { border-radius: 27px; }
.scene .telephone { position: absolute; left: 0; bottom: 0; width: 200px; }

.duo { display: flex; justify-content: center; align-items: flex-start; gap: 24px; }
.duo .telephone { width: min(270px, 46%); }
.duo .telephone:first-child { margin-top: 48px; }

@media (max-width: 1080px) {
  .accroche .conteneur { grid-template-columns: 1fr; }
  .scene { max-width: 640px; padding-left: 40px; }
  .scene .navigateur { width: 100%; }
}
@media (max-width: 560px) {
  .scene { padding: 0; }
  .scene .navigateur { width: 100%; }
  .scene .telephone { position: relative; margin: -72px 0 0 -4px; width: 170px; }
  .duo { gap: 12px; }
  .duo .telephone { padding: 5px; border-radius: 26px; }
  .duo .telephone .ecran { border-radius: 21px; }
}

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-claire { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tete-section { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.tete-section.centre { margin-left: auto; margin-right: auto; text-align: center; }
.surtitre { display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px; }
.tete-section p { margin-top: 16px; color: var(--ink-2); font-size: 1.1rem; }

/* le constat */
.constat { padding: clamp(40px, 6vw, 64px) 0; }
.constat-grille { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.constat h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.eparpille { display: flex; flex-wrap: wrap; gap: 10px; }
.eparpille span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px dashed var(--line-strong);
  color: var(--ink-2); font-weight: 500; font-size: .96rem;
}
.eparpille span s { text-decoration-color: var(--danger); text-decoration-thickness: 2px; }
.eparpille span.uni { background: var(--accent); color: #fff; border: 1px solid var(--accent); font-weight: 650; }
.eparpille span.uni svg { width: 16px; height: 16px; }
@media (max-width: 820px) { .constat-grille { grid-template-columns: 1fr; } }

/* rôles */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.role { background: var(--papier); border: 1px solid var(--line); border-radius: var(--rayon); padding: 28px; }
.role-icone { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; background: var(--accent-soft); color: var(--accent-text); }
.role-icone svg { width: 24px; height: 24px; }
.role:nth-child(2) .role-icone { background: var(--ambre-soft); color: var(--ambre-texte); }
.role:nth-child(3) .role-icone { background: var(--ok-bg); color: var(--ok); }
.role h3 { font-size: 1.25rem; margin-bottom: 6px; }
.role > p { color: var(--ink-2); margin-bottom: 16px; }
.coches { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.coches li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; }
.coches svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--accent); }
@media (max-width: 900px) { .roles { grid-template-columns: 1fr; } }

/* fonctionnalités */
.fonctions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--rayon); overflow: hidden; }
.fonction { background: var(--surface); padding: 28px; }
.fonction svg { width: 26px; height: 26px; color: var(--accent); margin-bottom: 14px; }
.fonction h3 { margin-bottom: 6px; }
.fonction p { color: var(--ink-2); font-size: .97rem; }
@media (max-width: 900px) { .fonctions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .fonctions { grid-template-columns: 1fr; } }

/* mise en avant : le rattrapage */
.focus { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.focus .texte p { color: var(--ink-2); font-size: 1.08rem; margin-top: 16px; }
.focus .coches { margin-top: 24px; }
@media (max-width: 900px) { .focus { grid-template-columns: 1fr; } }

/* étapes */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: etape; }
.etapes li { position: relative; padding-top: 64px; }
.etapes li::before {
  counter-increment: etape; content: counter(etape);
  position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--nuit); color: #fff;
  font-family: var(--font-titre); font-weight: 750; font-size: 1.15rem;
}
.etapes li::after { content: ""; position: absolute; top: 23px; left: 58px; right: 8px; border-top: 2px dashed var(--line-strong); opacity: .5; }
.etapes li:last-child::after { display: none; }
.etapes h3 { font-size: 1.12rem; margin-bottom: 6px; }
.etapes p { color: var(--ink-2); font-size: .97rem; }
.adresse-exemple { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .88em; background: var(--accent-soft); color: var(--accent-text); padding: 1px 6px; border-radius: 6px; white-space: nowrap; }
@media (max-width: 900px) {
  .etapes { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .etapes li:nth-child(2)::after { display: none; }
}
@media (max-width: 560px) {
  .etapes { grid-template-columns: 1fr; gap: 0; }
  .etapes li { padding: 0 0 28px 66px; min-height: 46px; }
  .etapes li::after { display: block; top: 54px; bottom: 6px; left: 22px; right: auto; border-top: 0; border-left: 2px dashed var(--line-strong); }
  .etapes li:nth-child(2)::after { display: block; }
  .etapes li:last-child::after { display: none; }
}

/* bientôt */
.bientot { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.bientot div { border: 1px solid var(--line); background: var(--surface); border-radius: var(--rayon); padding: 20px; }
.bientot svg { width: 22px; height: 22px; color: var(--ambre-texte); margin-bottom: 10px; }
.bientot h3 { font-size: 1rem; margin-bottom: 4px; }
.bientot p { font-size: .92rem; color: var(--ink-2); }
@media (max-width: 1000px) { .bientot { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .bientot { grid-template-columns: 1fr; } }

/* tarifs */
.periode {
  display: none; width: max-content; margin: 0 auto 40px; padding: 4px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--ombre);
}
.js .periode { display: flex; }
.periode button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 20px;
  border: 0; border-radius: 999px; background: none; color: var(--ink-2);
  font: inherit; font-weight: 600; font-size: .96rem; cursor: pointer;
}
.periode button span { font-size: .78rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--ambre-soft); color: var(--ambre-texte); }
.periode button[aria-pressed="true"] { background: var(--nuit); color: #fff; }
.formules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.formule {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px 24px;
}
.formule h3 { font-size: 1.3rem; font-weight: 750; letter-spacing: -0.02em; }
.formule .pour { color: var(--ink-2); margin-top: 4px; font-size: .97rem; }
.formule .pour strong { color: var(--ink); }
.capacite { height: 6px; border-radius: 99px; background: var(--papier-2); margin: 14px 0 0; overflow: hidden; }
.capacite i { display: block; height: 100%; width: var(--part); border-radius: 99px; background: var(--accent); }
.prix { display: flex; align-items: baseline; gap: 6px; margin: 24px 0 4px; min-height: 48px; }
.prix strong { font-size: 2.9rem; font-weight: 800; line-height: 1; letter-spacing: -0.035em; }
.prix span { color: var(--ink-3); font-weight: 500; }
.prix-detail { color: var(--ink-3); font-size: .9rem; min-height: 1.5em; }
.fondatrice {
  display: flex; flex-direction: column; margin: 18px 0 22px; padding: 10px 12px; border-radius: 10px;
  background: var(--ambre-soft); color: var(--ambre-texte); font-size: .88rem; line-height: 1.4;
}
.fondatrice b { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; }
.fondatrice span { font-weight: 600; }
.formule .bouton { margin-top: auto; }

.formule.vedette { background: var(--nuit); border-color: var(--nuit); color: #fff; box-shadow: var(--ombre-forte); }
.formule.vedette .pour, .formule.vedette .prix span, .formule.vedette .prix-detail { color: rgb(255 255 255 / 0.78); }
.formule.vedette .pour strong { color: #fff; }
.formule.vedette .capacite { background: rgb(255 255 255 / 0.16); }
.formule.vedette .capacite i { background: var(--ambre); }
.formule.vedette .fondatrice { background: rgb(245 165 36 / 0.16); color: #ffe2a8; }
.formule .ruban {
  position: absolute; top: -12px; right: 20px; background: var(--ambre); color: var(--nuit);
  font-size: .78rem; font-weight: 750; padding: 4px 12px; border-radius: 999px;
}

.formule.sur-mesure { background: transparent; border-style: dashed; border-color: var(--line-strong); }
.formule.sur-mesure .capacite i { background: repeating-linear-gradient(-45deg, var(--accent) 0 6px, var(--accent-soft) 6px 12px); }
.formule.sur-mesure .prix strong { font-size: 2rem; }
.formule.sur-mesure .prix-detail { margin-bottom: 22px; }

.inclus {
  display: grid; grid-template-columns: 250px 1fr; gap: 24px 48px; margin-top: 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px 32px;
}
.inclus-tete p { color: var(--ink-3); margin-top: 6px; font-size: .95rem; }
.inclus .coches { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.inclus .adresse-exemple { white-space: normal; overflow-wrap: anywhere; }
.garanties {
  list-style: none; margin: 32px 0 0; padding: 0;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 40px; color: var(--ink-2); font-size: .95rem;
}
.garanties li { display: flex; align-items: center; gap: 10px; }
.garanties li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; rotate: 45deg; background: var(--ambre); flex: none; }
.garanties b { color: var(--ink); }
.tarifs-notes { margin-top: 14px; text-align: center; color: var(--ink-3); font-size: .9rem; }
@media (max-width: 1060px) {
  .formules { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .inclus { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .formules { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .formule.vedette { order: -1; }
  .inclus { padding: 24px 20px; }
  .inclus .coches { grid-template-columns: 1fr; }
  .garanties { flex-direction: column; align-items: flex-start; max-width: 440px; margin-left: auto; margin-right: auto; }
  .garanties li { align-items: flex-start; }
  .garanties li::before { margin-top: 8px; }
}

/* questions */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-weight: 650; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); rotate: 45deg; transition: rotate .2s, margin .2s;
}
.faq details[open] summary::after { rotate: 225deg; margin-top: -2px; }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 46em; }

/* contact */
.contact-grille { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-texte p { color: var(--ink-2); margin-top: 16px; font-size: 1.08rem; }
.contact-texte .coches { margin-top: 28px; }
.contact-direct { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .97rem; }
.contact-direct a { font-weight: 600; }
.formulaire { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 4vw, 36px); box-shadow: var(--ombre); }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ.large { grid-column: 1 / -1; }
.champ label { font-weight: 600; font-size: .95rem; }
.champ label small { font-weight: 400; color: var(--ink-3); }
.champ input, .champ select, .champ textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 11px 13px; min-height: 48px; width: 100%;
}
.champ textarea { min-height: 120px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 3px solid rgb(79 70 229 / 0.25); border-color: var(--accent); }
.champ input:user-invalid, .champ textarea:user-invalid { border-color: var(--danger); }
.accord { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; color: var(--ink-2); grid-column: 1 / -1; }
.accord input { width: 20px; height: 20px; margin: 3px 0 0; flex: none; accent-color: var(--accent); }
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.formulaire .bouton { margin-top: 24px; width: 100%; }
.formulaire .bouton[disabled] { opacity: .7; cursor: progress; }
.retour { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-size: .97rem; }
.retour[hidden] { display: none; }
.retour.ok { background: var(--ok-bg); color: var(--ok); }
.retour.erreur { background: var(--danger-bg); color: var(--danger); }
.retour.erreur a { color: inherit; font-weight: 650; }
@media (max-width: 900px) { .contact-grille { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .champs { grid-template-columns: 1fr; } }

/* pied de page */
.pied { background: var(--nuit); color: rgb(255 255 255 / 0.78); padding: 56px 0 32px; font-size: .95rem; }
.pied a { color: #fff; text-decoration: none; }
.pied a:hover { text-decoration: underline; color: #fff; }
.pied .marque:hover { text-decoration: none; }
.pied-haut { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgb(255 255 255 / 0.14); }
.pied .marque { color: #fff; }
.pied .marque span i { color: #c7c8ff; }
.pied-haut p { margin-top: 12px; max-width: 30em; }
.pied-liens { display: flex; gap: 48px; flex-wrap: wrap; }
.pied-liens ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pied-liens h4 { margin: 0 0 12px; color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.pied-bas { padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: rgb(255 255 255 / 0.65); }

/* pages de texte (mentions légales) */
.page-texte { padding: clamp(40px, 6vw, 72px) 0 96px; }
.page-texte .conteneur { max-width: 780px; }
.page-texte h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 12px; }
.page-texte h2 { font-size: 1.5rem; margin: 44px 0 12px; }
.page-texte p, .page-texte li { color: var(--ink-2); }
.page-texte p + p { margin-top: 12px; }
.page-texte ul { padding-left: 1.2em; }
.page-texte .maj { color: var(--ink-3); font-size: .95rem; }

/* page introuvable */
.introuvable { position: relative; overflow: hidden; min-height: calc(100vh - 69px); display: grid; place-items: center; padding: 56px 0 72px; text-align: center; }
.introuvable .motif { -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 35%, #000 15%, transparent 75%); mask-image: radial-gradient(ellipse 60% 55% at 50% 35%, #000 15%, transparent 75%); }
.introuvable .conteneur { position: relative; max-width: 680px; }
.introuvable-code { position: relative; width: 168px; height: 168px; margin: 0 auto 28px; display: grid; place-items: center; }
.introuvable-etoile { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--accent-soft); }
.introuvable-code span { position: relative; font-weight: 800; font-size: 2.6rem; letter-spacing: -0.04em; color: var(--accent-text); }
.introuvable h1 { font-size: clamp(2rem, 5vw, 3rem); }
.introuvable .chapeau { margin: 16px auto 0; color: var(--ink-2); font-size: 1.12rem; max-width: 32em; }
.introuvable .actions { justify-content: center; margin-top: 28px; }
.introuvable-aide { margin-top: 44px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--rayon); text-align: left; }
.introuvable-aide h2 { font-family: var(--font); font-size: 1.08rem; font-weight: 700; letter-spacing: -0.01em; }
.introuvable-aide p { margin-top: 6px; color: var(--ink-2); }
.introuvable-aide .adresse-exemple { white-space: normal; overflow-wrap: anywhere; }
.introuvable-liens { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; margin-top: 28px; font-size: .95rem; }

/* apparition au défilement */
@media (prefers-reduced-motion: no-preference) {
  .js .revele { opacity: 0; translate: 0 18px; transition: opacity .6s ease, translate .6s ease; }
  .js .revele.vu { opacity: 1; translate: 0 0; }
}

.entete .bouton.retour-accueil { display: inline-flex; margin-left: auto; }
