/* Halo Studio — site vitrine
   Idée : le site est lui-même une devanture. Une enseigne, un store rayé, une vitrine,
   une ardoise pour les prix. La lumière qui tombe d'en haut (logo) est la seule touche d'éclat. */

@font-face {
  font-family: 'Young Serif';
  src: url('/fonts/young-serif-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('/fonts/source-sans-3-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('/fonts/source-sans-3-latin-400-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('/fonts/source-sans-3-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

:root {
  --blanc: #ffffff;       /* fond : blanc chaux */
  --ciel: #2456d6;        /* bleu ciel du Midi : le grand aplat du haut */
  --ciel-fonce: #1c44b0;  /* liens */
  --ciel-pale: #eef3fe;   /* sections alternées */
  --encre: #15233f;       /* texte */
  --encre-doux: #4a5878;  /* texte secondaire (7:1 sur blanc) */
  --tuile: #c2461d;       /* boutons (5:1 avec du blanc) */
  --tuile-fonce: #9e3713;
  --soleil: #ffc23a;      /* la lumière du logo */
  --trottoir: #efe4d4;
  --ardoise: #243038;     /* l'ardoise des prix */
  --filet: #dbe3f4;

  --titre: 'Young Serif', Georgia, serif;
  --texte: 'Source Sans 3', system-ui, sans-serif;

  --mesure: 64ch;
  --large: 1180px;
  --marge: clamp(1.25rem, 4vw, 2.5rem);
  --rayon: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--blanc);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 1.1875rem;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ciel-fonce); text-underline-offset: 0.2em; }
a:hover { color: var(--encre); }
:focus-visible { outline: 3px solid var(--soleil); outline-offset: 3px; border-radius: 4px; }

strong, b { font-weight: 600; }
h1, h2, h3 { font-family: var(--titre); font-weight: 400; line-height: 1.12; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.1rem); }
h1, h2 { text-wrap: balance; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.35rem; line-height: 1.25; }
p { margin: 0 0 1em; max-width: var(--mesure); }

.conteneur { width: min(100% - 2 * var(--marge), var(--large)); margin-inline: auto; }
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.chapeau { font-size: 1.25rem; color: var(--encre-doux); max-width: 46ch; }

.saut {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--encre); color: var(--blanc); padding: 0.75rem 1rem; border-radius: 8px;
}
.saut:focus { top: 1rem; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px; padding: 0.8rem 1.4rem;
  border-radius: 999px; border: 2px solid var(--tuile);
  font: 600 1.05rem/1.2 var(--texte); text-decoration: none; cursor: pointer;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s;
}
.bouton svg { width: 1.2em; height: 1.2em; flex: none; }
.bouton--plein { background: var(--tuile); border-color: var(--tuile); color: var(--blanc); }
.bouton--plein:hover { background: var(--tuile-fonce); border-color: var(--tuile-fonce); color: var(--blanc); }
.bouton--creux { background: transparent; border-color: var(--ciel); color: var(--ciel-fonce); }
.bouton--creux:hover { background: var(--ciel-pale); color: var(--encre); }
.bouton--clair { background: transparent; border-color: var(--blanc); color: var(--blanc); }
.bouton--clair:hover { background: var(--blanc); color: var(--ciel-fonce); }

/* ---------- Enseigne ---------- */
.enseigne { background: var(--ciel); color: var(--blanc); }
.enseigne__barre { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; }
.logo { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--blanc); text-decoration: none; }
.logo:hover { color: var(--blanc); }
.logo svg { width: 42px; height: 42px; flex: none; }
.logo__nom { font-family: var(--titre); font-size: 1.55rem; line-height: 1; }
.logo__lieu { display: block; font-family: var(--texte); font-size: 0.95rem; opacity: 0.85; margin-top: 0.2rem; }
/* Sur téléphone, l'accueil a sa barre d'appel en bas : le haut garde seulement l'enseigne, en entier. */
@media (max-width: 760px) { .enseigne--avec-barre nav .bouton { display: none; } }
@media (max-width: 400px) {
  .enseigne .logo { gap: 0.5rem; }
  .enseigne .logo svg { width: 34px; height: 34px; }
  .enseigne .logo__nom { font-size: 1.35rem; white-space: nowrap; }
  .enseigne .logo__lieu { font-size: 0.85rem; white-space: nowrap; }
}
.enseigne nav { display: flex; align-items: center; gap: 1.5rem; }
.enseigne nav a.lien { color: var(--blanc); text-decoration: none; font-weight: 600; padding: 0.5rem 0; }
.enseigne nav a.lien:hover { text-decoration: underline; }
@media (max-width: 860px) { .enseigne nav a.lien { display: none; } }
@media (max-width: 480px) { .enseigne .bouton { padding-inline: 1rem; } }

/* ---------- Vitrine : texte sur le ciel, puis la rue ---------- */
.vitrine { background: var(--ciel); color: var(--blanc); padding-top: clamp(2rem, 5vw, 4rem); }
.vitrine__texte { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.5rem clamp(2rem, 5vw, 4.5rem); align-items: end; }
.vitrine h1 { max-width: 15ch; margin: 0; text-wrap: balance; }
.vitrine .chapeau { color: #e6edff; margin-bottom: 1.4rem; }
.vitrine__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.4rem; }
.vitrine .bouton:focus-visible, .enseigne .bouton:focus-visible { outline-color: var(--soleil); }
.pastille { display: flex; align-items: center; gap: 0.9rem; margin: 0; font-size: 1rem; color: #e6edff; }
.pastille img, .pastille__vide { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; flex: none; box-shadow: 0 0 0 3px var(--soleil); }
.pastille .pastille__vide.a-completer { display: grid; place-items: center; font-size: 0.8rem; padding: 0; border-radius: 50%; }
@media (max-width: 860px) { .vitrine__texte { grid-template-columns: 1fr; } }

/* La rue : pièce maîtresse */
.rue { margin-top: clamp(1.5rem, 4vw, 2.5rem); overflow: hidden; }
.rue-svg { display: block; width: 100%; height: auto; max-height: 640px; }
.rue-texte { font-family: var(--titre); }
.rue-boutique { cursor: pointer; outline: none; }
.rue-boutique .rue-cadre { transition: stroke 0.2s, stroke-width 0.2s; }
.rue-boutique:hover .rue-cadre, .rue-boutique:focus-visible .rue-cadre { stroke: var(--soleil); stroke-width: 12; }
.rue-boutique:hover .rue-texte, .rue-boutique:focus-visible .rue-texte { text-decoration: underline; }
.rue-ecran { opacity: 0; animation: allume 0.5s var(--d, 0.5s) ease-out forwards; }
@keyframes allume { from { opacity: 0; } to { opacity: 1; } }
.rue-lumiere { opacity: 0; animation: allume 1.2s 2.2s ease-out forwards; }
.rue-aide { display: none; }
@media (prefers-reduced-motion: reduce) {
  .rue-ecran { animation: none; opacity: 1; }
  .rue-lumiere { animation: none; opacity: 1; }
}
@media (max-width: 760px) {
  .rue { overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
  .rue::-webkit-scrollbar { display: none; }
  .rue-svg { width: auto; height: 360px; max-height: none; }
  .rue-aide { display: block; margin: 0; padding: 0.2rem var(--marge) 0.9rem; background: var(--trottoir); color: var(--encre-doux); font-size: 0.95rem; text-align: center; }
}

/* Engagements, posés sur le trottoir */
.garanties-bande { background: var(--trottoir); padding-block: 0 2.5rem; }
.garanties { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem 2.5rem; }
.garanties li { display: flex; gap: 0.75rem; align-items: baseline; }
.garanties strong { display: block; }
.garanties svg { width: 1.15rem; height: 1.15rem; color: var(--ciel-fonce); flex: none; transform: translateY(0.2rem); }
@media (max-width: 760px) { .garanties { grid-template-columns: 1fr; } .garanties-bande { padding-top: 0.5rem; } }

/* Portrait (section « Qui je suis ») */
.portrait { position: relative; max-width: 340px; width: 100%; margin: 0; padding-top: 34px; }
.portrait img, .portrait__vide {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 180px 180px var(--rayon) var(--rayon);
  background: var(--ciel-pale);
}
.portrait__vide { display: grid; place-items: center; text-align: center; padding: 2rem; font-size: 1rem; }
.portrait { isolation: isolate; }
.portrait__lumiere { position: absolute; top: 0; left: 50%; width: 120%; height: 100%; transform: translateX(-50%); z-index: -1; overflow: visible; }

/* ---------- Ce que ça change ---------- */
.change { background: var(--blanc); }
.change__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 4rem; align-items: end; margin-bottom: 3rem; }
.recherche {
  display: flex; align-items: center; gap: 0.75rem;
  border: 2px solid var(--filet); border-radius: 999px; padding: 0.85rem 1.3rem;
  font-size: 1.15rem; color: var(--encre); background: var(--blanc); box-shadow: 0 6px 18px -10px rgba(21, 35, 63, 0.35);
  max-width: 420px;
}
.recherche svg { width: 1.3rem; height: 1.3rem; color: var(--encre-doux); flex: none; }
.recherche__curseur { display: inline-block; width: 2px; height: 1.2em; background: var(--encre); margin-left: 2px; vertical-align: -0.2em; animation: clignote 1.1s steps(1) infinite; }
@keyframes clignote { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .recherche__curseur { animation: none; } }
.benefices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 4rem; margin: 0; padding: 0; list-style: none; }
.benefices li { border-top: 3px solid var(--ciel); padding-top: 1.1rem; }
.benefices h3 { margin-bottom: 0.4rem; }
.benefices p { color: var(--encre-doux); margin: 0; }
@media (max-width: 760px) {
  .change__intro, .benefices { grid-template-columns: 1fr; }
}

/* ---------- Votre maquette ---------- */
.maquette { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2rem 5rem; align-items: center; }
.maquette__texte h2 { max-width: 18ch; }
.maquette__texte > p:not(.maquette__garantie) { color: var(--encre-doux); max-width: 34rem; }
.coches { list-style: none; margin: 1.75rem 0; padding: 0; display: grid; gap: 0.7rem; }
.coches li { display: flex; gap: 0.75rem; align-items: baseline; font-weight: 600; }
.coches svg { width: 1.15rem; height: 1.15rem; color: var(--ciel-fonce); flex: none; transform: translateY(0.2rem); }
.maquette__garantie { font-weight: 600; margin-bottom: 1.75rem; }
.maquette__croquis { margin: 0; justify-self: center; width: min(100%, 300px); transform: rotate(2.5deg); }
.maquette__croquis svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 22px 26px rgba(21, 35, 63, 0.28)); }
.maquette__croquis figcaption { margin-top: 1.4rem; font-size: 0.95rem; color: var(--encre-doux); text-align: center; transform: rotate(-2.5deg); }
.croquis-main { font-family: var(--titre); fill: var(--encre); }
.croquis-trait { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.croquis-cadre { fill: var(--ciel-pale); stroke: var(--ciel); stroke-width: 3; stroke-dasharray: 8 6; }
@media (max-width: 860px) {
  .maquette { grid-template-columns: 1fr; }
  .maquette__croquis { width: min(70%, 260px); }
}
.realisation {
  margin-top: 3rem; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem; align-items: center;
  background: var(--ciel-pale); border-radius: var(--rayon); padding: 1.5rem;
}
.realisation:not(:has(.realisation__capture)) { grid-template-columns: 1fr; padding: 1.75rem; }
.realisation p { margin: 0; }
.realisation__capture { display: block; border-radius: calc(var(--rayon) - 6px); overflow: hidden; box-shadow: 0 12px 30px rgb(21 35 63 / 0.16); }
.realisation__capture img { display: block; width: 100%; height: auto; }
.realisation__texte { display: grid; gap: 0.6rem; justify-items: start; }
.realisation__surtitre { font-weight: 600; color: var(--ciel-fonce); }
.realisation h3 { margin: 0; font-family: var(--titre); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; }
.realisation__lieu { color: var(--encre-doux); }
.realisation .bouton { margin-top: 0.4rem; }
@media (max-width: 760px) { .realisation { grid-template-columns: 1fr; } }

/* Le bandeau des notes : les vraies mesures du contrôle qualité, sur fond blanc dans la section bleu pâle. */
.notes-site {
  margin-top: 2.5rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 2.5rem; align-items: center;
  background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--rayon); padding: 1.5rem 1.75rem;
}
.notes-site h3 { margin: 0 0 0.4rem; font-family: var(--titre); font-size: 1.25rem; line-height: 1.25; }
.notes-site p { margin: 0.3rem 0 0; color: var(--encre-doux); max-width: var(--mesure); }
.notes-site__notes { display: flex; gap: 1.75rem; margin: 0; }
.notes-site__notes div { display: grid; justify-items: center; }
.notes-site__notes dt { order: 2; font-size: 0.95rem; color: var(--encre-doux); }
.notes-site__notes dd { order: 1; margin: 0; color: var(--encre-doux); }
.notes-site__valeur { font-family: var(--titre); font-size: 2.4rem; line-height: 1; color: var(--ciel-fonce); margin-right: 0.1rem; }
.sans-coupure { white-space: nowrap; }
@media (max-width: 760px) {
  .notes-site { grid-template-columns: minmax(0, 1fr); padding: 1.25rem; }
  .notes-site__notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
  .notes-site__notes dt { font-size: 0.85rem; text-align: center; overflow-wrap: anywhere; }
  .notes-site__valeur { font-size: 2rem; }
}

/* ---------- Étapes ---------- */
.etapes-section { background: var(--ciel-pale); }
.etapes { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: etape; }
.etapes li { counter-increment: etape; position: relative; padding-top: 4.2rem; }
.etapes li::before {
  content: counter(etape);
  position: absolute; top: 0; left: 0;
  width: 3rem; height: 3rem; border-radius: 50%;
  display: grid; place-items: center;
  font: 1.4rem/1 var(--titre); background: var(--ciel); color: var(--blanc);
}
.etapes li:not(:last-child)::after {
  content: ''; position: absolute; top: 1.5rem; left: 3.6rem; right: -1.4rem;
  border-top: 2px dashed rgba(36, 86, 214, 0.35);
}
.etapes p { color: var(--encre-doux); margin: 0; }
@media (max-width: 900px) {
  .etapes { grid-template-columns: 1fr; gap: 0; }
  .etapes li { padding: 0 0 2rem 4.4rem; min-height: 3rem; }
  .etapes li:not(:last-child)::after { top: 3.6rem; bottom: 0.6rem; left: 1.5rem; right: auto; border-top: 0; border-left: 2px dashed rgba(36, 86, 214, 0.35); }
}

/* ---------- Ardoise des prix ---------- */
.ardoise { background: var(--ardoise); color: #eef1f4; }
.ardoise h2 { color: var(--blanc); }
.ardoise .chapeau { color: #c9d2d8; }
.offres { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 3rem; border: 2px solid rgba(255, 255, 255, 0.18); border-radius: var(--rayon); }
.offre { padding: clamp(1.5rem, 4vw, 2.75rem); }
.offre + .offre { border-left: 2px solid rgba(255, 255, 255, 0.18); }
.offre h3 { font-size: 1.9rem; color: var(--blanc); margin-bottom: 0.25rem; }
.offre__pour { color: #c9d2d8; margin-bottom: 1.5rem; }
.prix { font-family: var(--titre); font-size: clamp(3.2rem, 7vw, 4.6rem); line-height: 1; color: var(--soleil); margin: 0; }
.prix small { font-family: var(--texte); font-size: 1.1rem; color: #eef1ec; margin-left: 0.3rem; }
.offre__conditions { margin: 0.9rem 0 1.6rem; color: #c9d2d8; }
.offre ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.offre li { display: flex; gap: 0.7rem; align-items: baseline; }
.offre li svg { width: 1.05rem; height: 1.05rem; color: var(--soleil); flex: none; transform: translateY(0.15rem); }
.premiere-annee { margin-top: 2rem; display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 2rem; align-items: baseline; max-width: 720px; }
.premiere-annee dt { color: #c9d2d8; }
.premiere-annee dd { margin: 0; font-weight: 600; color: var(--blanc); }
.ardoise .petit { color: #b3bdc4; font-size: 0.95rem; margin-top: 1.5rem; }
@media (max-width: 760px) {
  .offres { grid-template-columns: 1fr; }
  .offre + .offre { border-left: 0; border-top: 2px solid rgba(255, 255, 255, 0.18); }
}

/* ---------- Questions ---------- */
.questions { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 2rem 4rem; align-items: start; }
.faq__groupe { font-family: var(--texte); font-size: 1rem; font-weight: 600; color: var(--encre-doux); margin: 2.5rem 0 0.6rem; }
.faq__groupe:first-child { margin-top: 0; }
.faq details { border-top: 2px solid var(--filet); }
.faq details:last-of-type, .faq details:has(+ .faq__groupe) { border-bottom: 2px solid var(--filet); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-weight: 600; font-size: 1.15rem; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 0.4rem; top: 50%; width: 0.7rem; height: 0.7rem;
  border-right: 2.5px solid var(--ciel); border-bottom: 2.5px solid var(--ciel);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 0 1.3rem; color: var(--encre-doux); }
.faq details > div p:last-child { margin-bottom: 0; }
@media (max-width: 820px) { .questions { grid-template-columns: 1fr; } }
/* Onglets (ajoutés par site.js) : le titre du thème devient l'onglet. */
.faq__onglets { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.faq__onglets [role="tab"] {
  font: inherit; font-weight: 600; font-size: 1rem; cursor: pointer; min-height: 44px; padding: 0.5rem 1.1rem;
  border: 2px solid var(--filet); border-radius: 999px; background: var(--blanc); color: var(--encre);
}
.faq__onglets [role="tab"]:hover { border-color: var(--ciel); }
.faq__onglets [role="tab"][aria-selected="true"] { background: var(--ciel); border-color: var(--ciel); color: var(--blanc); }
.faq__onglets [role="tab"]:focus-visible { outline: 3px solid var(--soleil); outline-offset: 2px; }
.faq--onglets .faq__groupe { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.faq__theme[hidden] { display: none; }
@media (max-width: 480px) { .faq__onglets [role="tab"] { padding-inline: 0.85rem; font-size: 0.95rem; } }

/* ---------- Qui je suis ---------- */
.moi { background: var(--ciel-pale); }
.moi__grille { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 2rem 5rem; align-items: center; }
.carte {
  background: var(--blanc); border-radius: var(--rayon); padding: 1.5rem 1.75rem; margin: 1.75rem 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem;
}
.carte dt { font-size: 0.95rem; color: var(--encre-doux); }
.carte dd { margin: 0; font-weight: 600; }
@media (max-width: 820px) { .moi__grille { grid-template-columns: 1fr; } .portrait { max-width: 260px; } }
@media (max-width: 520px) { .carte { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact__grille { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3rem 5rem; align-items: start; }
.contact__direct { font-size: 1.15rem; }
.gros-numero { display: inline-block; font-family: var(--titre); font-size: clamp(2rem, 4.5vw, 2.8rem); color: var(--encre); text-decoration: none; margin: 0.4rem 0 1rem; }
.gros-numero:hover { color: var(--ciel-fonce); text-decoration: underline; }
.formulaire { background: var(--ciel-pale); border-radius: var(--rayon); padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: 1.15rem; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 560px) { .duo { grid-template-columns: 1fr; } }
.champ { display: grid; gap: 0.35rem; }
.champ label { font-weight: 600; }
.champ .aide { font-size: 0.95rem; color: var(--encre-doux); }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 50px; padding: 0.7rem 0.9rem;
  border: 2px solid #aebbd6; border-radius: 10px; background: var(--blanc);
  font: inherit; color: var(--encre);
}
.champ textarea { min-height: 130px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--ciel); outline: 3px solid rgba(36, 86, 214, 0.25); outline-offset: 0; }
.champ [aria-invalid='true'] { border-color: #b3261e; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulaire .bouton { justify-self: start; }
.formulaire__note { font-size: 0.95rem; color: var(--encre-doux); margin: 0; }
.formulaire__etat { margin: 0; font-weight: 600; }
.formulaire__etat[data-type='erreur'] { color: #b3261e; }
.formulaire__etat[data-type='ok'] { color: #1d6b3a; }
@media (max-width: 860px) { .contact__grille { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.pied { background: var(--encre); color: #d5dcec; padding-block: 3rem 6rem; font-size: 1rem; }
.pied a { color: var(--blanc); }
.pied__grille { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
.pied p { margin: 0 0 0.4rem; }
.pied .logo { color: var(--blanc); margin-bottom: 1rem; }

@media (max-width: 760px) { .pied__grille { grid-template-columns: 1fr; } }
@media (min-width: 761px) { .pied { padding-bottom: 3rem; } }

/* ---------- Le téléphone qui sonne ----------
   3 secondes après l'arrivée puis toutes les 10 secondes, l'icône du bouton « Appeler » sonne une seconde ; elle se tait au bout d'une minute. */
@keyframes sonne {
  0%, 10%, 100% { transform: rotate(0); }
  1.5% { transform: rotate(-14deg); }
  3% { transform: rotate(12deg); }
  4.5% { transform: rotate(-12deg); }
  6% { transform: rotate(9deg); }
  7.5% { transform: rotate(-6deg); }
  9% { transform: rotate(3deg); }
}
.enseigne .bouton svg, .barre-mobile .bouton--plein svg { animation: sonne 10s ease-in-out 3s 6; transform-origin: 50% 55%; }
@media (prefers-reduced-motion: reduce) {
  .enseigne .bouton svg, .barre-mobile .bouton--plein svg { animation: none; }
}

/* ---------- Barre d'appel mobile ---------- */
.barre-mobile {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: none; grid-template-columns: 1fr 1fr; gap: 0.6rem;
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--filet);
  backdrop-filter: blur(6px);
}
.barre-mobile .bouton { min-height: 50px; padding: 0.6rem; }
@media (max-width: 760px) { .barre-mobile { display: grid; } }

/* ---------- Pages simples (mentions, merci, 404) ---------- */
.page-simple { padding-block: clamp(3rem, 8vw, 6rem); }
.page-simple h2 { font-size: 1.6rem; margin-top: 2.5rem; }
.page-simple address { font-style: normal; }

/* ---------- Emplacements à compléter (n'apparaissent jamais en production) ---------- */
.a-completer {
  background: #fff1cc; color: #6b3d00;
  outline: 2px dashed #d9480f; outline-offset: 1px; border-radius: 4px;
  padding: 0 0.3em; font-family: var(--texte); font-size: 0.95em; font-weight: 600;
}
.portrait__vide.a-completer { font-size: 1rem; padding: 2rem; }
.a-confirmer { background: linear-gradient(transparent 60%, #ffe7a3 60%); border-bottom: 2px dotted #d9480f; }
.compteur-emplacements {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 30; max-width: 280px;
  background: #6b3d00; color: #fff; border-radius: 10px; padding: 0.7rem 0.9rem; font-size: 0.9rem; line-height: 1.4;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
@media (max-width: 760px) { .compteur-emplacements { bottom: 5.5rem; } }
@media (min-width: 861px) { .questions > div:first-child { position: sticky; top: 2rem; align-self: start; } }
