@font-face {
  font-family: "Space Grotesk";
  src: url(/fonts/SpaceGrotesk-Regular.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url(/fonts/SpaceGrotesk-Bold.woff2) format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ardoise: #334155;
  --nuit: #1E293B;
  --ocre: #C86D39;
  --ocre-fonce: #A8552A;
  --ardoise-attenuee: #475569;
  --voix-attenuee: #CBD5E1;
  --beige: #F5EDE3; /* repli : valeur définitive à fournir par STUDIO (fond de l'avatar) */
  --blanc: #FFFFFF;
  --fonte: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hauteur-nav: 56px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.absente { display: none !important; }

body {
  margin: 0;
  font-family: var(--fonte);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--ardoise);
  background: var(--blanc);
  text-align: left;
}

img { display: block; }

h1, h2, h3 { font-weight: 700; line-height: 1.2; margin: 0 0 16px; }
h1 { font-size: 34px; }
h2 { font-size: 28px; }
h3 { font-size: 21px; margin-bottom: 8px; }
p { margin: 0 0 16px; }
/* B-REL-03q : typographie propre sur portable. Paragraphes : dernière ligne jamais réduite à un mot ; titres équilibrés. */
p, li, blockquote, figcaption { text-wrap: pretty; }
h1, h2, h3, .fil-bulle { text-wrap: balance; }

h2[id], h1[id], .temps, section[id] { scroll-margin-top: calc(var(--hauteur-nav) + 16px); }
main:focus, h2:focus { outline: none; }

:focus-visible { outline: 3px solid var(--ocre); outline-offset: 2px; }
.fond-sombre :focus-visible { outline-color: var(--blanc); }

.lecteur-seul {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.evitement {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 30;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 19px;
  font-weight: 700;
  color: var(--blanc);
  background: var(--ocre);
}
.evitement:focus { left: 8px; }

/* Boutons */
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  color: var(--blanc);
  background: var(--ocre);
}
.bouton:hover { background: var(--ocre-fonce); }
.bouton-borde { border: 2px solid var(--blanc); }
/* B-REL-03q : bouton secondaire, contour sans fond (« Voir nos réalisations », sous « Commencer »). */
.bouton-contour { border: 2px solid var(--blanc); font: inherit; font-size: 19px; font-weight: 700; color: var(--blanc); background: transparent; cursor: pointer; }
.bouton-contour:hover { color: var(--ardoise); background: var(--blanc); }

.lien {
  min-height: 44px;
  padding: 8px 0;
  font: inherit;
  color: var(--blanc);
  background: none;
  border: 0;
  text-decoration: underline;
  cursor: pointer;
}

/* Bloc 0 : nav. Jusqu'à 899 px : barre collante réduite, liens hors de la barre */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 16px;
  background: var(--blanc);
  box-shadow: 0 1px 6px rgba(30, 41, 59, 0.18);
}
.nav-logo { display: flex; align-items: center; min-height: 44px; flex: none; }
.nav-logo img { height: 40px; width: auto; }
.nav .nav-liens { display: none; }
.nav-liens { flex-wrap: wrap; gap: 6px; }
.nav-pilules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px 16px;
  background: var(--blanc);
}
.nav-pilules a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: 16px;
  text-align: center;
  color: var(--ardoise-attenuee);
  text-decoration: none;
  white-space: nowrap;
}
.nav-pilules a:hover, .nav-pilules a:focus-visible { text-decoration: underline; }
.nav-liens a {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid var(--ardoise);
  border-radius: 22px;
  font-size: 15px;
  color: var(--ardoise);
  text-decoration: none;
}
.nav-liens a:hover { background: var(--beige); }
/* B-REL-03q : « Réalisations » dans la nav (barre et pilules) ; ouvre la surcouche, sans quitter la page. */
.nav-realisations {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 6px 12px;
  border: 2px solid var(--ocre);
  border-radius: 22px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--ardoise);
  background: var(--blanc);
  cursor: pointer;
}
.nav-realisations:hover { background: var(--beige); }
.nav-pilules .nav-realisations { grid-column: 1 / -1; justify-self: center; min-width: 200px; margin: 2px 0 4px; font-size: 16px; }
.nav-action { min-height: 44px; padding: 6px 14px; flex: none; }
.nav-action.nav-masquee { visibility: hidden; }
/* B-REL-16b : barre du téléphone avec le bouton 🌐 : le logo cède la place (jamais de défilement horizontal, texte agrandi compris). */
@media (max-width: 899px) {
  .nav-logo { flex: 0 1 114px; min-width: 72px; }
  .nav-logo img { width: 100%; height: auto; max-height: 40px; }
}
@media (max-width: 399px) {
  .nav { padding-left: 12px; padding-right: 12px; gap: 6px; }
}

/* Blocs 1, 2 et 8 : fond dégradé */
.degrade, .signature { background: linear-gradient(180deg, var(--ardoise), var(--nuit)); }
.fond-sombre { color: var(--blanc); }

/* Bloc 1 : splash */
.splash {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 48px 20px;
}
.splash h1 { max-width: 760px; margin: 0 0 8px; text-align: center; text-wrap: balance; }
/* B-REL-20 : ligne 2 (Assistant Personnel Pro) et signature (l'ancien titre), sous le titre de l'offre. */
.splash-ligne { max-width: 640px; margin: 0; text-align: center; font-size: 20px; font-weight: 700; text-wrap: balance; }
.splash-signature { max-width: 640px; margin: 0 0 8px; text-align: center; font-size: 17px; opacity: 0.85; text-wrap: balance; }
.choix { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 360px; }

/* Entrée : le logo en cordée sur bleu nuit, avant la page. Affiché seulement si entree.js l'a demandé. */
.entree { display: none; }
.entree-active { overflow: hidden; }
.entree-active .entree {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--nuit);
  transition: opacity 400ms ease-out;
}
.entree.entree-sortie { opacity: 0; }
.entree video, .entree img { width: min(420px, calc(100vw - 40px)); height: auto; }
.entree video[hidden], .entree img[hidden] { display: none; }
.entree-passer {
  position: absolute;
  right: 16px;
  bottom: 16px;
  min-height: 44px;
  padding: 8px 12px;
  font: inherit;
  font-size: 16px;
  color: var(--voix-attenuee);
  background: none;
  border: 0;
  text-decoration: underline;
  cursor: pointer;
}

/* Bloc 2 : voix off */
/* Toute la hauteur visible sous la barre collante : le fond ardoise descend jusqu'au bas de l'écran.
   Arrivé sur le fil, le titre (en haut de la marge intérieure) est à 16 px sous la barre : la section
   commence donc (marge − 16 px) plus haut, que la hauteur rattrape. */
.voix {
  --voix-haut: 32px;
  position: relative;
  box-sizing: border-box;
  min-height: calc(100vh - var(--hauteur-nav) - 16px + var(--voix-haut));
  min-height: calc(100svh - var(--hauteur-nav) - 16px + var(--voix-haut));
  padding: var(--voix-haut) 20px 56px;
}
.logo-pose { margin: 16px 0 32px; }
.logo-pose img { height: 44px; width: auto; }
.pastille {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 14px;
  background: var(--blanc);
}
.js .logo-pose { opacity: 0; transform: translateY(-12px); }
.js .logo-pose.posee {
  opacity: 1;
  transform: none;
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}

.voix-grille { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
#hugo-audio { width: 100%; max-width: 360px; }
/* Barre de la voix : collante sous la barre du site pendant tout le fil, à droite. Sans script : cachée. */
.voix-entete {
  position: sticky;
  top: calc(var(--hauteur-nav) + 8px);
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-self: flex-end;
  column-gap: 14px;
  padding: 0 14px;
  border-radius: 22px;
  background: rgba(30, 41, 59, 0.94);
  box-shadow: 0 1px 6px rgba(15, 23, 42, 0.35);
}
html:not(.js) .voix-entete { display: none; }
.voix-entete[hidden] { display: none; } /* B-REL-16b : /en sans piste (et « déjà venu ») */
.voix-pause { font-weight: 700; }
/* B-REL-03x : « Répéter », le sigle seul, large cible pour le pouce. */
.voix-repeter { justify-content: center; min-width: 44px; font-size: 22px; font-weight: 700; line-height: 1; }
/* Sur téléphone, une seule ligne : la barre ne masque pas plus d'une bande du fil. */
@media (max-width: 479px) {
  .voix-entete { flex-wrap: nowrap; column-gap: 10px; padding: 0 12px; }
  .voix-entete .voix-option { font-size: 15px; white-space: nowrap; }
  .voix-entete .voix-option svg { width: 18px; height: 18px; }
  .voix-entete .voix-mention { font-size: 12px; white-space: nowrap; }
  /* B-REL-03x : sur téléphone, « Répéter » sort de la barre (trop étroite) : bouton rond en bas à droite, au pouce.
     Les choix du visiteur et la fin du fil s'arrêtent au-dessus de lui ; le bas du fil garde la place. */
  .voix-entete .voix-repeter {
    position: fixed;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 6;
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
    font-size: 26px;
    color: var(--blanc);
    background: var(--ocre);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.45);
  }
  .voix-entete .voix-repeter:hover { text-decoration: none; background: var(--ocre-fonce); }
  html.voix-repeter-actif .fil-attente, html.voix-repeter-actif .fil-fin { scroll-margin-bottom: 96px; }
  html.voix-repeter-actif #bloc-2 { padding-bottom: 96px; }
}
.voix-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 0;
  font: inherit;
  font-size: 16px;
  color: var(--blanc);
  background: none;
  border: 0;
  cursor: pointer;
}
.voix-option:hover { text-decoration: underline; }
/* Sans script, pas de choix de la voix : ni la question, ni sa réponse. */
html:not(.js) .fil-choix-voix { display: none; }
/* Mention toujours visible quand le bouton l'est, cachée avec lui (sans JS, piste absente, mouvement réduit). */
.voix-mention { font-size: 14px; color: var(--voix-attenuee); }
.voix-option[hidden] + .voix-mention { display: none; }

/* Blocs 3 à 7 */
.bloc { padding: 56px 20px; }
.fond-beige { background: var(--beige); }
.fond-blanc { background: var(--blanc); }
.conteneur { max-width: 960px; margin: 0 auto; }
/* Bloc 7 « Qui sommes-nous » (B-REL-15e) : paragraphe en gras, taille de base. */
.qui-texte { font-weight: 700; }

/* Bloc 6 « Combien ça coûte » (B-REL-17) : simulateur. L'ocre ne sert qu'aux bordures et aux traits, jamais de texte dessus. */
.combien { margin: 8px 0 24px; }
.combien-chapo { color: var(--ardoise-attenuee); }
.combien-chapo strong { color: var(--nuit); }
.combien-etape { margin: 0 0 18px; padding: 20px 18px; border-left: 5px solid var(--ocre); border-radius: 16px; background: var(--beige); }
.combien-etape h3 { display: flex; align-items: center; gap: 10px; color: var(--nuit); }
.combien-num { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 30px; height: 30px; border: 2px solid var(--ocre); border-radius: 50%; font-size: 16px; color: var(--nuit); background: var(--blanc); }
.combien-sous { font-size: 16px; color: var(--ardoise-attenuee); }
.combien-q { margin: 16px 0 8px; font-weight: 700; color: var(--nuit); }
.combien-choix { display: flex; flex-wrap: wrap; gap: 8px; }
.combien-choix button, .combien-case { min-width: 0; max-width: 100%; min-height: 48px; padding: 10px; border: 1.5px solid #CBD5E1; border-radius: 12px; font: inherit; font-size: var(--taille, 16px); text-align: left; color: var(--ardoise); background: var(--blanc); cursor: pointer; }
.combien-choix button[aria-pressed="true"], .combien-case[aria-pressed="true"] { font-weight: 700; border-color: var(--nuit); box-shadow: inset 0 0 0 1px var(--nuit); }
.combien-case:disabled { cursor: default; opacity: 1; }
.combien-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } /* B-REL-17d : 2 colonnes dès 360 px, 3 dès 768 px */
.combien-grille .combien-case { display: flex; align-items: center; min-width: 0; min-height: 48px; padding: 8px 10px; font-size: var(--taille, 15px); line-height: 1.3; overflow-wrap: normal; word-break: normal; hyphens: manual; }
.combien-grille .combien-fixe { display: block; grid-column: 1 / -1; }
.combien-grille .sans-coupure { white-space: nowrap; } /* « rendez-vous » jamais coupé au trait d'union */
/* B-REL-17f : case dont un mot ne tient pas, même en 13 px (combien.js) : toute la ligne, taille normale. */
.combien-grille .combien-pleine { grid-column: 1 / -1; }
@media (min-width: 768px) { .combien-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.combien-fixe { font-weight: 700; border-style: dashed; cursor: default; }
.combien-fixe small { display: block; font-size: 13px; font-weight: 400; color: var(--ardoise-attenuee); }
.combien-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; }
.combien-confirmer { min-height: 48px; padding: 11px 18px; border: 2px solid var(--ocre); border-radius: 12px; font: inherit; font-size: 17px; font-weight: 700; color: var(--blanc); background: var(--nuit); cursor: pointer; }
.combien-confirmer:disabled { opacity: 0.45; cursor: default; }
.combien-lien { min-height: 44px; padding: 0; border: 0; font: inherit; font-size: 16px; text-decoration: underline; color: var(--ardoise); background: none; cursor: pointer; }
.combien-compteur { font-size: 15px; color: var(--ardoise-attenuee); }
.combien-resultat { padding: 20px 18px; border-left: 5px solid var(--ocre); border-radius: 16px; background: var(--nuit); }
.combien-resultat h3 { color: var(--blanc); }
.combien-vide { font-style: italic; color: #CBD5E1; }
.combien-formule { color: #CBD5E1; }
.combien-formule strong { color: var(--blanc); }
.combien-mois { margin: 0; padding: 0; list-style: none; }
.combien-mois li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.combien-quand { grid-column: 1 / -1; font-size: 15px; color: #CBD5E1; }
.combien-quoi { color: #E2E8F0; }
.combien-quoi strong { color: inherit; }
.combien-prix { align-self: end; font-size: var(--taille, 17px); font-weight: 700; white-space: nowrap; color: var(--blanc); }
.combien-mois li { min-width: 0; }
.combien-mois .combien-prix.combien-pleine { grid-column: 1 / -1; justify-self: end; } /* B-REL-17f : montant sous son libellé si la ligne est trop serrée */
.combien-mois .combien-puis { border-bottom: 0; }
.combien-mois sup { font-size: 0.7em; line-height: 0; }
.combien-note { margin: 14px 0 6px; font-size: 14px; color: #CBD5E1; }
.combien-renvoi { margin: 0 0 4px; font-size: 13px; color: #CBD5E1; }
/* B-REL-16b : toast de conversion de devise (hors zone euro), sous le résultat : petit, discret, ne masque rien, se ferme. */
.combien-change { display: flex; align-items: flex-start; gap: 4px; margin: 14px 0 0; padding: 8px 0 8px 12px; border: 1px solid rgba(203, 213, 225, 0.35); border-radius: 12px; background: rgba(255, 255, 255, 0.06); }
.combien-change[hidden] { display: none; }
.combien-change p { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 13px; line-height: 1.45; color: #CBD5E1; overflow-wrap: break-word; }
.combien-change-fermer { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -8px 0; padding: 0; border: 0; border-radius: 50%; background: none; color: #CBD5E1; font: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.combien-change-fermer:hover { background: rgba(255, 255, 255, 0.1); }
.combien-change-fermer:focus-visible { outline: 3px solid var(--ocre); outline-offset: -3px; }
.bloc .bouton { width: 100%; }

[data-entre-nous="absent"] .entre-nous { display: none; }
.entre-nous { margin-top: 24px; }
.entre-nous button {
  min-height: 52px;
  padding: 12px 20px;
  border: 2px solid var(--ardoise);
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  color: var(--ardoise);
  background: transparent;
  opacity: 0.7;
}
.entre-nous p { margin-top: 8px; }

/* B-REL-10 : « Que faisons-nous ? » — accroches, deux piliers, la formation, trois situations */
.faire-avant {
  margin: 24px 0;
  padding: 4px 0 4px 16px;
  border-left: 4px solid var(--ocre);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
}
.piliers { display: grid; gap: 12px; margin: 24px 0 32px; }
.pilier {
  border: 1px solid #E4D8C9;
  border-top: 4px solid var(--ocre);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(51, 65, 85, 0.12);
  background: linear-gradient(160deg, var(--beige) 0%, var(--blanc) 70%);
  color: var(--ardoise);
}
.pilier:last-child { background: linear-gradient(160deg, #EEF1F5 0%, var(--blanc) 70%); }
.pilier h3 { color: var(--ardoise); font-weight: 700; }
.pilier p:last-child { margin-bottom: 0; }
.piliers-lien { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0; text-align: center; font-weight: 700; color: var(--ocre-fonce); }
.piliers-lien p { margin: 0; }
.formation-titre { margin-top: 8px; }
.formation-lignes { margin: 0 0 32px; padding-left: 20px; }
.formation-lignes li { margin: 0 0 8px; }
.situations { display: grid; gap: 16px; margin: 0 0 32px; padding: 20px; border-radius: 10px; background: var(--beige); }
.situation h3 { font-size: 19px; }
.situation p { margin-bottom: 0; }
@media (min-width: 768px) {
  .piliers { grid-template-columns: 1fr minmax(96px, 128px) 1fr; align-items: stretch; gap: 16px; }
  .piliers-lien { align-self: center; }
  .situations { grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 24px; }
}

.sommaire {
  display: flex;
  gap: 8px;
  padding: 4px 4px 12px;
  margin: 0 -4px 32px;
  overflow-x: auto;
}
.sommaire a {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 14px;
  border: 1px solid var(--ardoise);
  border-radius: 22px;
  font-size: 15px;
  color: var(--ardoise);
  text-decoration: none;
}
.sommaire a:hover { background: var(--beige); }

.temps { margin: 0 0 32px; }
.temps p { margin-bottom: 8px; }
.js .temps { opacity: 0; transform: translateY(24px); }
.js .temps.visible {
  opacity: 1;
  transform: none;
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}
blockquote {
  margin: 16px 0;
  padding: 4px 0 4px 16px;
  border-left: 4px solid var(--ardoise);
  font-weight: 700;
}

.cartes { display: grid; gap: 16px; }
.carte { margin: 0; padding: 20px; border-radius: 10px; background: var(--blanc); }
.carte img { width: 100%; height: auto; margin-bottom: 12px; }

/* B-REL-12 : notre offre, deux cartes de même poids (empilées, côte à côte dès 768 px) */
.offre-cartes { display: grid; gap: 16px; margin: 24px 0; }
.offre-carte { border: 1px solid #E4D8C9; border-top: 4px solid var(--ocre); background: var(--beige); }
.offre-carte h3 { margin: 0 0 8px; font-size: 22px; }
.offre-carte p:last-child { margin-bottom: 0; }
.offre-sous-titre { font-weight: 700; color: var(--ocre-fonce); }
.offre-sous-titre strong { color: var(--nuit); } /* B-REL-17b : « AI Orchestrator » ressort du sous-titre */
.offre-passage { font-weight: 700; }
@media (min-width: 768px) {
  .offre-cartes { grid-template-columns: 1fr 1fr; align-items: stretch; }
}

/* B-REL-13 : vos données — encadré au même traitement que les accroches de B-REL-10 */
.donnees-encadre p { margin: 0 0 4px; }
.donnees-encadre .donnees-bandeau { margin: 8px 0 0; font-size: 17px; font-weight: 400; }
.donnees-lien { margin: 24px 0 0; font-size: 15px; }
.donnees-lien a { color: var(--ardoise); }

/* B-REL-15c : avatar « A » commun (décoratif), 112 px, 88 px sous 768 px ; fond transparent, sans cadre */
.a-pose { display: inline-block; flex: none; width: 88px; height: 88px; line-height: 0; }
.a-pose img { display: block; width: 100%; height: 100%; object-fit: contain; }
.avec-pose { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.avec-pose .faire-avant { margin-top: 0; }
.a-pose-titre { display: block; margin: 0 0 8px; }
.a-pose-situations { display: block; margin: 0 0 8px; }
@media (min-width: 768px) {
  .a-pose { width: 112px; height: 112px; }
  .avec-pose { flex-direction: row; align-items: center; gap: 16px; }
  .avec-pose .formation-titre { margin: 0; }
  .avec-pose .faire-avant { margin: 0; }
  .avec-pose + .formation-lignes { margin-top: 12px; }
  .a-pose-situations { position: relative; z-index: 1; margin: 0 0 -60px -18px; }
  .situations { padding-top: 72px; }
}

/* Bloc 8 : signature */
.signature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 64px 20px;
}
.signature h2 { max-width: 760px; margin: 0; font-size: min(28px, 6.4vw); text-align: center; } /* B-REL-20 : « No more running alone. » tient à 412 px, texte 130 % */
/* La signature « Ne cours plus seul·e. » n'est jamais coupée. */
.signature .insecable { white-space: nowrap; }
@media (max-width: 399px) {
  .signature h2 { font-size: min(24px, 6.4vw); }
}

/* Bloc 9 : pied de page */
.pied {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px 20px;
  font-size: 14px;
  background: var(--nuit);
}
.pied a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--blanc);
}
.pied span { display: inline-flex; align-items: center; min-height: 44px; }
/* B-REL-17c : titre visible du pied de page, cible de #contact. Texte clair sur nuit, taille modeste, sur sa propre ligne. */
.pied-titre { flex-basis: 100%; margin: 0 0 4px; font-size: 19px; color: var(--blanc); }

/* Jusqu'à 899 px, la barre et les liens sont au-dessus du splash : tout le premier écran tient sans défiler. */
@media (max-width: 899px) {
  .splash { min-height: calc(100svh - 152px); }
  /* La ligne « Réalisations » des pilules : le premier écran tient toujours sans défiler. */
  .vitrine-presente .splash { min-height: calc(100svh - 202px); }
}
@media (max-width: 639px) {
  .splash h1 { font-size: 28px; }
  .splash-ligne { font-size: 18px; }
  .splash-signature { font-size: 15px; }
}

@media (min-width: 481px) {
  .logo-pose img { height: 56px; }
}

@media (min-width: 900px) {
  :root { --hauteur-nav: 88px; }
  .nav { flex-direction: row; align-items: center; justify-content: flex-start; gap: 24px; padding: 16px 32px; }
  .nav-logo { min-height: 0; }
  .nav-logo img { height: 56px; }
  .nav .nav-liens { display: flex; }
  .nav-pilules { display: none; }
  .nav-action { min-height: 52px; padding: 12px 20px; margin-left: auto; }
  h1 { font-size: 48px; }
  h2 { font-size: 34px; }
  /* B-REL-03q : « Voir nos réalisations » sous « Commencer », qui reste le bouton principal. */
  .choix { flex-direction: column; align-items: center; max-width: none; }
  .voix { --voix-haut: 40px; padding: var(--voix-haut) 32px 72px; }
  .entree video, .entree img { width: 560px; }
  .voix-grille, .logo-pose { margin-left: auto; margin-right: auto; }
  .logo-pose { max-width: 640px; }
  .bloc { padding: 72px 32px; }
  .bloc .bouton { width: auto; }
  .sommaire { flex-wrap: wrap; overflow-x: visible; }
  .cartes { grid-template-columns: repeat(3, 1fr); }
  .signature h2 { font-size: 40px; }
  .pied { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 24px; padding: 24px 32px; }
}

/* Quatre liens : la nav passe sur deux lignes tant que la largeur manque. */
@media (min-width: 900px) and (max-width: 949px) {
  :root { --hauteur-nav: 126px; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  .entree-active .entree { transition: none; }
  .js .logo-pose, .js .logo-pose.posee { opacity: 1; transform: none; transition: none; }
  .js .temps, .js .temps.visible { opacity: 1; transform: none; transition: none; }
}

/* B-REL-03o : accueil « déjà venu », lien du rendez-vous en mémoire de session → le bouton « Choisir mon rendez-vous ». */
.fil-deja a.bouton-rdv { min-height: 52px; font-size: 19px; color: var(--blanc); text-decoration: none; }
.fil-deja a.bouton-rdv:hover { color: var(--blanc); }

/* B-REL-25 : l'animation des 7 temps — 9:16 sur mobile, 16:9 sur ordinateur ; jamais recadrée. */
.clip-7-temps { margin: 2rem auto 0; text-align: center; }
.clip-7-temps video { display: block; width: 100%; height: auto; margin: 0 auto; border-radius: 12px; background: #000; }
.clip-7-temps .clip-9x16 { max-width: 360px; }
.clip-7-temps .clip-16x9 { display: none; max-width: 960px; }
.clip-7-temps figcaption { margin-top: .6rem; font-weight: 600; }
@media (min-width: 768px) {
  .clip-7-temps .clip-9x16 { display: none; }
  .clip-7-temps .clip-16x9 { display: block; }
}
