/* ==========================================================================
   BRIKOD — feuille de style unique
   Charte : noir et blanc, avec la brique en couleur d'accent. Titres « Plus Jakarta Sans », texte « Inter ».
   Sommaire : 1. Polices  2. Variables  3. Base  4. Mise en page  5. Boutons
   6. En-tête et menu  7. Héros  8. Mur de briques  9. Cartes et listes
   10. Méthode  11. Chiffres  12. Réalisations  13. Formules  14. FAQ
   15. Formulaires  16. Contact  17. À propos  18. Bandeau final
   19. Pied de page  20. WhatsApp  21. Page 404  22. Animations
   ========================================================================== */

/* 1. Polices (fichiers variables hébergés avec le site) ------------------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* 2. Variables de la charte ---------------------------------------------- */
:root {
  --noir: #0A0A0A;
  --blanc: #FFFFFF;
  --gris-fond: #F4F4F4;
  --gris-bord: #E5E5E5;
  --gris-texte: #6B6B6B;
  --vert: #1FA971;            /* réservé aux confirmations de formulaire */
  --brique: #C8451B;          /* accent : bouton « Demander un devis », brique « Votre projet », pictogrammes, soulignement des liens */

  /* tons du noir, pour les fonds sombres */
  --bord-sombre: rgba(255, 255, 255, .16);
  --texte-sombre: rgba(255, 255, 255, .74);

  --titres: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --texte: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --rayon: 12px;
  --marge: clamp(20px, 5vw, 48px);
  --largeur: 1200px;
  --section: clamp(72px, 9.5vw, 136px);
  --entete: 68px;

  --t-heros: clamp(2.375rem, 1.15rem + 5.4vw, 5rem);
  --t-page: clamp(2.125rem, 1.15rem + 3.3vw, 3.875rem);
  --t-h2: clamp(1.75rem, 1.2rem + 2.3vw, 3rem);
  --t-h3: clamp(1.1875rem, 1.1rem + .45vw, 1.4375rem);
  --t-chapo: clamp(1.0625rem, 1rem + .4vw, 1.25rem);

  --doux: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 1120px) { :root { --entete: 76px; } }

/* 3. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--entete) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--texte);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--noir);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--titres);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  margin: 0;
  text-wrap: balance;
}
h3, h4 { letter-spacing: -.02em; line-height: 1.2; font-weight: 700; }
p { margin: 0; }
.chapo, .tete p, .duo__fixe p { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--noir); color: var(--blanc); }
.sombre ::selection, .entete ::selection, .pied ::selection { background: var(--blanc); color: var(--noir); }

:focus-visible { outline: 3px solid var(--noir); outline-offset: 3px; border-radius: 4px; }
.sombre :focus-visible, .entete :focus-visible, .pied :focus-visible, .wa:focus-visible {
  outline-color: var(--blanc);
}
.wa:focus-visible { box-shadow: 0 0 0 6px var(--noir); }

.evitement {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  background: var(--blanc); color: var(--noir);
  padding: 12px 18px; border-radius: var(--rayon); border: 2px solid var(--noir);
  font-weight: 600; text-decoration: none;
}
.evitement:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }

/* 4. Mise en page ---------------------------------------------------------- */
.conteneur { width: 100%; max-width: calc(var(--largeur) + 2 * var(--marge)); margin-inline: auto; padding-inline: var(--marge); }
.section { padding-block: var(--section); }
.section--gris { background: var(--gris-fond); }
.section--serree { padding-block: calc(var(--section) * .7); }
.sombre { background: var(--noir); color: var(--blanc); }

.tete { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 780px; }
.tete h2 { font-size: var(--t-h2); }
.tete p, .chapo { font-size: var(--t-chapo); line-height: 1.55; color: var(--gris-texte); max-width: 62ch; }
.sombre .tete p, .sombre .chapo { color: var(--texte-sombre); }
.tete--large { max-width: none; }
@media (min-width: 900px) {
  .tete--large { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
}

.duo { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 900px) { .duo { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.duo__fixe h2 { font-size: var(--t-h2); }
.duo__fixe p { margin-top: 18px; font-size: var(--t-chapo); line-height: 1.55; color: var(--gris-texte); max-width: 40ch; }
.duo__fixe .btn { margin-top: 28px; }
@media (min-width: 900px) { .duo__fixe { position: sticky; top: calc(var(--entete) + 40px); align-self: start; } }

.lien {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--titres); font-weight: 700; font-size: .9375rem;
  text-decoration: none; padding-block: 6px; border-bottom: 2px solid var(--brique);
}
.lien svg { width: 18px; height: 18px; color: var(--brique); transition: transform .25s var(--doux); }
.lien:hover svg { transform: translateX(4px); }

/* 5. Boutons ---------------------------------------------------------------- */
.btn {
  --fond: var(--noir); --encre: var(--blanc);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 24px;
  font-family: var(--titres); font-weight: 700; font-size: 1rem; line-height: 1.2; letter-spacing: -.005em;
  text-decoration: none; text-align: center;
  color: var(--encre); background: var(--fond);
  border: 1.5px solid var(--noir); border-radius: var(--rayon);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .25s var(--doux); }
.btn:hover { background: var(--encre); color: var(--fond); }
.btn:hover svg.fleche { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--contour { --fond: transparent; --encre: var(--noir); }
.btn--contour:hover { background: var(--noir); color: var(--blanc); }
/* sur fond noir : mêmes boutons, couleurs inversées */
/* le bouton principal sur fond noir porte la couleur d'accent ; au survol : fond blanc, texte brique */
.btn--clair { --fond: var(--brique); --encre: var(--blanc); border-color: var(--brique); }
.btn--contour-clair { --fond: transparent; --encre: var(--blanc); border-color: var(--blanc); }
.btn--contour-clair:hover { background: var(--blanc); color: var(--noir); }
.btn--petit { min-height: 44px; padding: 9px 18px; font-size: .9375rem; }
.btn--bloc { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .actions .btn { width: 100%; } }

/* 6. En-tête et menu ------------------------------------------------------- */
.entete {
  position: sticky; top: 0; z-index: 100;
  background: var(--noir); color: var(--blanc);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.entete.est-defile, .menu-ouvert .entete { border-bottom-color: var(--bord-sombre); }
.entete__barre { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--entete); }
.entete__logo { display: inline-flex; flex: none; border-radius: 6px; }
.entete__logo img { width: auto; height: 30px; }
@media (min-width: 1120px) { .entete__logo img { height: 34px; } }

.burger {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -10px;
  background: none; border: 0; border-radius: var(--rayon); color: var(--blanc);
}
.burger__traits { display: grid; gap: 6px; }
.burger__traits span { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--doux), opacity .2s ease; }
.burger[aria-expanded="true"] .burger__traits span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__traits span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__traits span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.menu ul { display: flex; flex-direction: column; }
.menu a:not(.btn) {
  display: block; font-family: var(--titres); font-weight: 600; text-decoration: none; color: var(--blanc);
}
/* téléphone et tablette : panneau sous la barre */
@media (max-width: 1119px) {
  .menu {
    position: fixed; inset: var(--entete) 0 0 0; z-index: 99;
    display: flex; flex-direction: column; gap: 28px;
    padding: 12px var(--marge) calc(32px + env(safe-area-inset-bottom));
    background: var(--noir); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .22s ease, transform .22s var(--doux), visibility 0s linear .22s;
  }
  .menu-ouvert .menu { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .menu-ouvert body { overflow: hidden; }
  .menu a:not(.btn) { padding: 17px 0; font-size: 1.375rem; letter-spacing: -.02em; border-bottom: 1px solid var(--bord-sombre); }
  .menu a[aria-current="page"]::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 12px; background: var(--blanc); border-radius: 2px; vertical-align: middle; }
  .menu .btn { width: 100%; }
  /* sans JavaScript : le menu reste affiché sous la barre */
  .sans-js .burger { display: none; }
  .sans-js .entete { position: static; }
  .sans-js .entete__barre { flex-wrap: wrap; padding-block: 14px; }
  .sans-js .menu { position: static; visibility: visible; opacity: 1; transform: none; width: 100%; padding: 0 0 8px; }
}
@media (min-width: 1120px) {
  .burger { display: none; }
  .menu { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
  .menu ul { flex-direction: row; gap: clamp(2px, 1vw, 14px); }
  .menu a { white-space: nowrap; }
  .menu a:not(.btn) { position: relative; padding: 10px 8px; font-size: .9375rem; color: var(--texte-sombre); transition: color .2s ease; }
  .menu a:not(.btn):hover, .menu a[aria-current="page"] { color: var(--blanc); }
  .menu a:not(.btn)::after {
    content: ""; position: absolute; left: 8px; right: 8px; bottom: 4px; height: 2px; background: var(--blanc);
    transform: scaleX(0); transform-origin: left; transition: transform .25s var(--doux);
  }
  .menu a:not(.btn):hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
}

/* 7. Héros ------------------------------------------------------------------ */
.heros { position: relative; overflow: hidden; isolation: isolate; }
/* motif récurrent : grille de briques en filigrane */
.briques::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("../img/motif-briques-blanc.svg");
  background-size: 128px 64px; background-position: center top;
  opacity: .075;
}
.briques--noir::before { background-image: url("../img/motif-briques-noir.svg"); opacity: .06; }

.heros__grille { display: grid; gap: clamp(40px, 6vw, 72px); padding-block: clamp(56px, 8vw, 112px) clamp(64px, 9vw, 120px); align-items: center; }
@media (min-width: 1024px) { .heros__grille { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.heros h1 { font-size: var(--t-heros); line-height: 1.02; letter-spacing: -.04em; }
.heros__texte { display: grid; gap: clamp(20px, 2.4vw, 28px); justify-items: start; }
.heros__texte .chapo { max-width: 54ch; }
.heros__texte .actions { margin-top: 8px; width: 100%; }

.heros--accueil .heros__grille { row-gap: clamp(28px, 4vw, 56px); }
.heros--accueil h1 { font-size: clamp(2.375rem, 1rem + 5.2vw, 5.125rem); }
.heros--accueil .heros__texte .chapo { font-size: clamp(1.0625rem, 1rem + .55vw, 1.375rem); }
@media (min-width: 1024px) {
  .heros--accueil h1 { grid-column: 1 / -1; }
  .heros--accueil .heros__texte { align-self: start; padding-top: 8px; }
  .heros--accueil .brique { height: 56px; }
}

.heros--page .heros__grille { padding-block: clamp(48px, 7vw, 96px) clamp(52px, 7.5vw, 104px); }
.heros--page h1 { font-size: var(--t-page); max-width: 19ch; }
.heros--simple .heros__grille { grid-template-columns: minmax(0, 1fr); }
.heros--simple h1 { max-width: 20ch; }

.ancres { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.ancres a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px;
  font-family: var(--titres); font-weight: 600; font-size: .9375rem; text-decoration: none;
  border: 1px solid var(--bord-sombre); border-radius: var(--rayon);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.ancres a:hover { background: var(--blanc); color: var(--noir); border-color: var(--blanc); }

/* 8. Mur de briques (visuel du héros) ------------------------------------- */
.mur { display: grid; gap: 8px; width: 100%; max-width: 520px; justify-self: center; }
@media (min-width: 1024px) { .mur { justify-self: end; } }
.mur__rang { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.brique {
  grid-column: span 2; display: grid; place-items: center;
  height: clamp(46px, 11.5vw, 62px); padding-inline: 2px;
  border: 1px solid var(--bord-sombre); border-radius: 10px;
  font-family: var(--titres); font-weight: 700; font-size: clamp(.75rem, 3.34vw, .9375rem); letter-spacing: -.015em; line-height: 1.1; text-align: center;
  color: var(--texte-sombre);
}
.brique--demi { grid-column: span 1; }
.brique--pleine { background: var(--blanc); border-color: var(--blanc); color: var(--noir); }
.brique--ton { background: rgba(255, 255, 255, .07); }
.brique--vide { border-color: transparent; }
.brique--pose { background: var(--brique); border-color: var(--brique); color: var(--blanc); }
/* variante sur fond clair (page 404) */
.mur--clair .brique { background: var(--noir); border-color: var(--noir); color: var(--blanc); }
.mur--clair .brique--ton { background: var(--gris-bord); border-color: var(--gris-bord); }
.mur--clair .brique--vide { background: none; border-color: transparent; }
.mur--clair .brique--pose { background: none; border: 2px dashed var(--noir); color: var(--noir); font-size: 1.125rem; font-weight: 800; }

/* 9. Cartes et listes -------------------------------------------------------- */
.grille-3 { display: grid; gap: 16px; }
@media (min-width: 768px) { .grille-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.grille-2 { display: grid; gap: 16px; }
@media (min-width: 700px) { .grille-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }

.carte {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--blanc); border: 1px solid var(--gris-bord); border-radius: var(--rayon);
  transition: border-color .25s ease, transform .25s var(--doux);
}
.carte h3 { font-size: var(--t-h3); }
.carte--lien:hover { border-color: var(--noir); transform: translateY(-3px); }
.carte--lien .lien { margin-top: auto; align-self: start; }
.carte--lien .lien::before { content: ""; position: absolute; inset: 0; border-radius: var(--rayon); }
.carte--lien > p { margin-bottom: 10px; }
.pictogramme {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 8px;
  background: var(--brique); color: var(--blanc); border-radius: var(--rayon);
}
.pictogramme svg { width: 26px; height: 26px; }
.pictogramme--contour { background: transparent; color: var(--noir); border: 1.5px solid var(--noir); }
.sombre .pictogramme { background: var(--blanc); color: var(--noir); }

/* liste d'arguments : quatre blocs séparés par des filets */
.arguments { display: grid; border-top: 1px solid var(--noir); }
@media (min-width: 640px) { .arguments { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); } }
.arguments > li { display: grid; gap: 10px; align-content: start; padding-block: 28px; border-bottom: 1px solid var(--gris-bord); }
.arguments h3 { font-size: var(--t-h3); display: flex; align-items: center; gap: 12px; }
.arguments h3 svg { width: 24px; height: 24px; flex: none; }
.section--gris .arguments > li { border-bottom-color: #DADADA; }

/* listes à puces carrées (une petite brique) */
.puces { display: grid; gap: 12px; }
.puces li { position: relative; padding-left: 26px; }
.puces li::before { content: ""; position: absolute; left: 0; top: .52em; width: 12px; height: 7px; background: var(--noir); border-radius: 2px; }
.sombre .puces li::before { background: var(--blanc); }
.puces strong { font-weight: 600; }

/* 10. Méthode ---------------------------------------------------------------- */
.etapes { display: grid; gap: 16px; counter-reset: etape; }
@media (min-width: 640px) { .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .etapes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .etapes > li:nth-child(even) { margin-top: 44px; }   /* appareillage en quinconce, comme un mur */
}
.etape { display: grid; gap: 12px; align-content: start; padding: clamp(24px, 2.6vw, 32px); border: 1px solid var(--gris-bord); border-radius: var(--rayon); background: var(--blanc); }
.etape__numero { font-family: var(--titres); font-weight: 800; font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; margin-bottom: 14px; }
.etape h3 { font-size: var(--t-h3); }
.etapes > li:first-child .etape { background: var(--noir); border-color: var(--noir); color: var(--blanc); }
.etapes > li:first-child .etape p { color: var(--texte-sombre); }

/* 11. Chiffres clés ---------------------------------------------------------- */
.chiffres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
@media (min-width: 900px) { .chiffres { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }
.chiffre { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 1px solid var(--bord-sombre); }
.chiffre__valeur { font-family: var(--titres); font-weight: 800; font-size: clamp(2.75rem, 1.6rem + 5vw, 4.75rem); line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.chiffre__libelle { color: var(--texte-sombre); font-size: 1.0625rem; }

/* 12. Réalisations ----------------------------------------------------------- */
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 4vw, 44px); }
.filtre {
  min-height: 46px; padding: 9px 18px;
  font-family: var(--titres); font-weight: 600; font-size: .9375rem;
  background: var(--blanc); color: var(--noir); border: 1.5px solid var(--gris-bord); border-radius: var(--rayon);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.filtre:hover { border-color: var(--noir); }
.filtre[aria-pressed="true"] { background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.filtre span { margin-left: 6px; font-weight: 500; opacity: .6; font-variant-numeric: tabular-nums; }

.projets { display: grid; gap: 20px; }
@media (min-width: 640px) { .projets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .projets { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.projet { display: flex; flex-direction: column; background: var(--blanc); border: 1px solid var(--gris-bord); border-radius: var(--rayon); overflow: hidden; transition: border-color .25s ease, transform .25s var(--doux); }
.projet:hover { border-color: var(--noir); transform: translateY(-3px); }
.projet__visuel { background: var(--gris-fond); border-bottom: 1px solid var(--gris-bord); padding: clamp(18px, 2.4vw, 28px) clamp(18px, 2.4vw, 28px) 0; overflow: hidden; }
.projet__visuel svg { width: 100%; height: auto; transition: transform .5s var(--doux); }
.projet:hover .projet__visuel svg { transform: translateY(-6px); }
/* la description prend la hauteur libre : les liens « Voir… » s'alignent en bas d'une même rangée */
.projet__texte { flex: 1; display: grid; grid-template-rows: auto auto 1fr; gap: 8px; align-content: start; padding: clamp(20px, 2.4vw, 26px); }
.projet__categorie { font-size: .875rem; font-weight: 600; color: var(--gris-texte); }
.projet h3 { font-size: var(--t-h3); }
.section--gris .projet__visuel { background: #EDEDED; }
.projets__vide { padding: 32px 0; color: var(--gris-texte); }

/* styles communs des maquettes SVG */
.maq text { font-family: var(--texte); fill: var(--noir); }
/* word-spacing : à petite taille dans un SVG, l'espace de Plus Jakarta Sans s'écrase et les mots se collent */
.maq .t-titre { font-family: var(--titres); font-weight: 800; letter-spacing: 0; word-spacing: .16em; }
.maq .t-blanc { fill: var(--blanc); }
.maq .t-gris { fill: var(--gris-texte); }

/* 13. Formules --------------------------------------------------------------- */
.formules { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 900px) { .formules { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; } }
.formule { display: flex; flex-direction: column; gap: 22px; padding: clamp(26px, 3vw, 38px); background: var(--blanc); border: 1px solid var(--gris-bord); border-radius: var(--rayon); }
.formule h3 { font-size: 1.5rem; }
.formule__pour { color: var(--gris-texte); margin-top: 6px; }
.formule__prix { font-family: var(--titres); font-weight: 800; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.625rem); line-height: 1; letter-spacing: -.04em; padding-bottom: 22px; border-bottom: 1px solid var(--gris-bord); }
.formule .puces { flex: 1; }
.formule--noire { background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.formule--noire .formule__pour { color: var(--texte-sombre); }
.formule--noire .formule__prix { border-bottom-color: var(--bord-sombre); }
.formule--noire .puces li::before { background: var(--blanc); }
@media (min-width: 900px) {
  .formule { border-radius: 0; }
  .formule:first-child { border-radius: var(--rayon) 0 0 var(--rayon); border-right: 0; }
  .formule:last-child { border-radius: 0 var(--rayon) var(--rayon) 0; border-left: 0; }
  .formule--noire { border-radius: var(--rayon); margin-block: -18px; padding-block: calc(clamp(26px, 3vw, 38px) + 18px); }
}
.note { margin-top: 24px; color: var(--gris-texte); font-size: .9375rem; max-width: 70ch; }

/* blocs « ce que nous faisons / livrables / pour qui / exemples » */
.detail { display: grid; gap: 20px; }
@media (min-width: 800px) { .detail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bloc { display: grid; gap: 18px; align-content: start; padding: clamp(24px, 3vw, 36px); background: var(--blanc); border: 1px solid var(--gris-bord); border-radius: var(--rayon); }
.bloc h3 { font-size: var(--t-h3); }
.bloc--noir { background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.bloc--large { grid-column: 1 / -1; }
.publics { display: flex; flex-wrap: wrap; gap: 8px; }
.publics li { padding: 9px 15px; border: 1px solid var(--gris-bord); border-radius: var(--rayon); font-weight: 500; font-size: .9375rem; }
.exemples { display: grid; gap: 0; }
@media (min-width: 800px) { .exemples { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); } }
.exemples > li { display: grid; gap: 8px; align-content: start; padding-block: 20px; border-top: 1px solid var(--bord-sombre); }
.exemples h4 { font-size: 1.0625rem; }
.exemples p { color: var(--texte-sombre); font-size: .9688rem; }

/* 14. FAQ (accordéon) -------------------------------------------------------- */
.faq { border-top: 1px solid var(--noir); }
.faq details { border-bottom: 1px solid var(--gris-bord); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-family: var(--titres); font-weight: 700; font-size: var(--t-h3); letter-spacing: -.02em; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 36px; height: 36px; border: 1.5px solid var(--noir); border-radius: 10px;
  background: url("../img/icone-plus.svg") center / 16px 16px no-repeat;
  transition: transform .3s var(--doux), background-color .2s ease;
}
.faq details[open] > summary::after { transform: rotate(45deg); }
.faq summary:hover::after { background-color: var(--gris-fond); }
.faq__reponse { padding: 0 56px 26px 0; max-width: 68ch; }
.section--gris .faq details { border-bottom-color: #DADADA; }
.section--gris .faq summary:hover::after { background-color: var(--blanc); }

/* 15. Formulaires ------------------------------------------------------------ */
.formulaire { display: grid; gap: 20px; }
.formulaire__rang { display: grid; gap: 20px; }
@media (min-width: 620px) { .formulaire__rang { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.champ { display: grid; gap: 8px; align-content: start; }
.champ label { font-family: var(--titres); font-weight: 700; font-size: .9375rem; }
.champ label small { font-family: var(--texte); font-weight: 400; font-size: .875rem; color: var(--gris-texte); }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 52px; padding: 13px 15px;
  background: var(--blanc); border: 1px solid var(--gris-texte); border-radius: var(--rayon);
  font-size: 1rem; line-height: 1.4;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.champ textarea { min-height: 148px; resize: vertical; }
.champ select { appearance: none; padding-right: 44px; background: var(--blanc) url("../img/icone-chevron.svg") right 15px center / 16px 16px no-repeat; }
.champ input:hover, .champ select:hover, .champ textarea:hover { border-color: var(--noir); }
.champ input:focus-visible, .champ select:focus-visible, .champ textarea:focus-visible { outline: none; border-color: var(--noir); box-shadow: 0 0 0 2px var(--noir); }
.champ [aria-invalid="true"] { border-color: var(--noir); box-shadow: 0 0 0 1px var(--noir); background-color: var(--gris-fond); }
.erreur { display: none; align-items: flex-start; gap: 8px; font-size: .9375rem; font-weight: 600; }
.erreur::before { content: "!"; flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; background: var(--noir); color: var(--blanc); border-radius: 6px; font-family: var(--titres); font-weight: 800; font-size: .8125rem; }
.erreur.est-visible { display: flex; }
.formulaire__note { color: var(--gris-texte); font-size: .9375rem; }
.confirmation {
  display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px;
  border: 1.5px solid var(--vert); border-left-width: 6px; border-radius: var(--rayon);
  background: var(--blanc); font-weight: 500;
}
.confirmation svg { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--vert); }
.confirmation a { font-weight: 600; }
.cadre { padding: clamp(24px, 3.4vw, 44px); background: var(--blanc); border: 1px solid var(--gris-bord); border-radius: var(--rayon); }

/* 16. Contact ---------------------------------------------------------------- */
.contact { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 1000px) { .contact { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } }
.coordonnees { display: grid; gap: 0; border-top: 1px solid var(--noir); }
.coordonnees > li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 16px; padding-block: 22px; border-bottom: 1px solid var(--gris-bord); }
.coordonnees svg { width: 24px; height: 24px; grid-row: span 2; margin-top: 2px; }
.coordonnees h3 { font-size: 1rem; }
.coordonnees p, .coordonnees a { font-size: 1.0625rem; overflow-wrap: anywhere; }
.coordonnees a { font-weight: 600; }
.horaires { display: grid; gap: 4px; }
.horaires div { display: flex; justify-content: space-between; gap: 16px; }
.horaires dt, .horaires dd { margin: 0; font-size: 1.0625rem; }
.horaires dd { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.carte-plan { border: 1px solid var(--gris-bord); border-radius: var(--rayon); overflow: hidden; background: var(--gris-fond); }
.carte-plan { min-height: clamp(300px, 42vw, 460px); }
.carte-plan iframe { display: block; width: 100%; height: clamp(300px, 42vw, 460px); border: 0; filter: grayscale(1) contrast(1.08); }

/* 17. À propos --------------------------------------------------------------- */
.recit { display: grid; gap: 22px; font-size: 1.125rem; line-height: 1.65; max-width: 64ch; }
.recit strong { font-weight: 600; }
.equation { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.equation span { display: inline-grid; place-items: center; min-height: 54px; padding: 10px 22px; border: 1.5px solid var(--noir); border-radius: 10px; font-family: var(--titres); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.equation span.plein { background: var(--noir); color: var(--blanc); }
.equation i { font-style: normal; font-family: var(--titres); font-weight: 800; font-size: 1.5rem; }
.piliers { display: grid; gap: 20px; }
@media (min-width: 800px) { .piliers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pilier { display: grid; gap: 14px; align-content: start; padding: clamp(26px, 3.4vw, 44px); border-radius: var(--rayon); border: 1px solid var(--gris-bord); background: var(--blanc); }
.pilier h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.pilier p { font-size: 1.125rem; line-height: 1.6; }
.pilier--noir { background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.fondateur { display: grid; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (min-width: 800px) { .fondateur { grid-template-columns: auto minmax(0, 1fr); } }
.avatar { display: grid; place-items: center; width: clamp(120px, 18vw, 176px); aspect-ratio: 1; background: var(--noir); color: var(--blanc); border-radius: 50%; font-family: var(--titres); font-weight: 800; font-size: clamp(2.5rem, 6vw, 3.75rem); letter-spacing: -.04em; }
.fondateur__texte { display: grid; gap: 16px; max-width: 62ch; }
.fondateur__texte h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); font-weight: 800; letter-spacing: -.03em; }
.fondateur__role { font-weight: 600; color: var(--gris-texte); }
.fondateur__texte p:not(.fondateur__role) { font-size: 1.0625rem; }
.metiers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.metiers li { padding: 8px 15px; border: 1.5px solid var(--noir); border-radius: var(--rayon); font-family: var(--titres); font-weight: 700; font-size: .9375rem; }

/* illustration de la page Formation */
.illustration { width: 100%; max-width: 500px; justify-self: center; }
@media (min-width: 1024px) { .illustration { justify-self: end; } }
.niveaux { display: grid; gap: 16px; }
@media (min-width: 900px) { .niveaux { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.niveau { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3vw, 34px); background: var(--blanc); border: 1px solid var(--gris-bord); border-radius: var(--rayon); }
.niveau__age { justify-self: start; padding: 7px 14px; background: var(--noir); color: var(--blanc); border-radius: 10px; font-family: var(--titres); font-weight: 700; font-size: .9375rem; }
.niveau h3 { font-size: clamp(1.5rem, 1.3rem + .8vw, 1.875rem); font-weight: 800; letter-spacing: -.03em; }
.niveau__outil { font-weight: 600; }
.niveau__projets { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--gris-bord); font-size: .9688rem; }
.niveau__projets strong { display: block; font-weight: 600; margin-bottom: 4px; }
.temoin { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { .temoin { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.temoin h2 { font-size: var(--t-h2); }
.temoin__texte { display: grid; gap: 18px; }
.temoin__texte p { color: var(--texte-sombre); font-size: var(--t-chapo); line-height: 1.55; }
.temoin .puces { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--bord-sombre); border-radius: var(--rayon); }

/* 18. Bandeau final ----------------------------------------------------------- */
.bandeau { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 28px; padding: clamp(36px, 6vw, 80px); border-radius: var(--rayon); }
@media (min-width: 900px) { .bandeau { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; } }
.bandeau h2 { font-size: clamp(1.5rem, 1rem + 2.6vw, 3rem); max-width: 22ch; }
.bandeau p { margin-top: 16px; color: var(--texte-sombre); font-size: var(--t-chapo); line-height: 1.55; max-width: 46ch; }
@media (min-width: 900px) { .bandeau .actions { flex-direction: column; align-items: stretch; } }

/* 19. Pied de page ------------------------------------------------------------ */
.pied { background: var(--noir); color: var(--blanc); padding-block: clamp(56px, 7vw, 88px) 28px; }
.pied__grille { display: grid; gap: 40px; }
@media (min-width: 700px) { .pied__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pied__grille { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 56px; } }
.pied__logo img { height: 36px; width: auto; }
.pied__phrase { margin-top: 20px; color: var(--texte-sombre); max-width: 38ch; }
.pied h2 { font-family: var(--titres); font-size: 1rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 16px; }
.pied ul { display: grid; gap: 4px; }
.pied li a { display: inline-block; padding-block: 7px; color: var(--texte-sombre); text-decoration: none; transition: color .2s ease; overflow-wrap: anywhere; }
.pied li a:hover { color: var(--blanc); text-decoration: underline; }
.pied .pied__contact a { display: inline-flex; align-items: center; gap: 12px; }
.pied__contact svg { width: 20px; height: 20px; flex: none; color: var(--blanc); }
.pied__contact li span { display: inline-flex; align-items: center; gap: 12px; padding-block: 7px; color: var(--texte-sombre); }
.pied__bas { margin-top: clamp(40px, 6vw, 72px); padding-top: 24px; border-top: 1px solid var(--bord-sombre); color: var(--texte-sombre); font-size: .9375rem; padding-right: 76px; }

/* 20. Bouton WhatsApp flottant ------------------------------------------------- */
.wa {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90;
  display: grid; place-items: center; width: 58px; height: 58px;
  background: var(--noir); color: var(--blanc); border: 1.5px solid var(--blanc); border-radius: 50%;
  transition: transform .2s var(--doux), background-color .2s ease, color .2s ease, border-color .2s ease;
}
.wa svg { width: 28px; height: 28px; }
.wa:hover { background: var(--blanc); color: var(--noir); border-color: var(--noir); transform: scale(1.06); }
.menu-ouvert .wa { display: none; }

/* 21. Page 404 ------------------------------------------------------------------ */
.introuvable { display: grid; gap: clamp(36px, 6vw, 72px); align-items: center; padding-block: clamp(56px, 9vw, 128px); }
@media (min-width: 900px) { .introuvable { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.introuvable h1 { font-size: var(--t-page); }
.introuvable__code { font-family: var(--titres); font-weight: 800; font-size: 1.125rem; margin-bottom: 14px; }
.introuvable p.chapo { margin-top: 20px; }
.introuvable .actions { margin-top: 32px; }
.introuvable .mur { max-width: 460px; }

/* 22. Animations ---------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  /* apparition au défilement : uniquement quand le script est chargé */
  .js [data-rv] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--doux), transform .7s var(--doux); transition-delay: calc(var(--d, 0) * 80ms); }
  .js [data-rv].est-visible { opacity: 1; transform: none; }

  /* le mur se monte brique par brique, du bas vers le haut */
  .mur .brique { animation: poser .6s var(--doux) both; animation-delay: calc(var(--i, 0) * 70ms + 150ms); }
  .mur .brique--vide { animation: none; }
  .mur .brique--arrive { animation: arriver 3.2s var(--doux) 1.6s infinite both; }
  @keyframes poser { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }
  @keyframes arriver {
    0% { opacity: 0; transform: translateY(-26px); }
    22%, 82% { opacity: 1; transform: none; }
    100% { opacity: 0; transform: none; }
  }
  .illustration .flotte { animation: flotter 5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  .illustration .flotte--2 { animation-duration: 6.5s; animation-delay: -2s; }
  @keyframes flotter { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
  .entete, .wa, .burger, .pied, .filtres { display: none !important; }
  .sombre { background: #fff; color: #000; }
}
