/* AUTO PNEU GEX · feuille de style du site
   Noir de base, rouge signal en accent (jamais en aplat massif), gris chaud. */

@font-face { font-family: 'Outfit'; src: url('../fonts/outfit.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Hind'; src: url('../fonts/hind-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Hind'; src: url('../fonts/hind-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Hind'; src: url('../fonts/hind-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --noir: #0B0B0B;
  --noir-2: #1A1A19;
  --rouge: #DB291C;
  --rouge-fonce: #B81F14;
  --gris: #F3F2EF;
  --ligne: #E4E3DF;
  --texte-2: #6B6B66;
  --texte-clair: #BDBCB6;
  --blanc: #FFFFFF;
  --vert: #1F7A3A;

  --titre: 'Outfit', 'Helvetica Neue', Arial, sans-serif;
  --texte: 'Hind', 'Helvetica Neue', Arial, sans-serif;

  --rayon: 14px;
  --rayon-s: 10px;
  --largeur: 1160px;
  --gouttiere: clamp(16px, 4vw, 32px);
  --ombre: 0 1px 2px rgba(11, 11, 11, .04), 0 8px 24px rgba(11, 11, 11, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--blanc); color: var(--noir);
  font-family: var(--texte); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--titre); line-height: 1.08; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--rouge); outline-offset: 2px; border-radius: 4px; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 var(--gouttiere); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--grise { background: var(--gris); }
.section--noire { background: var(--noir); color: var(--blanc); }

.surtitre {
  font-family: var(--titre); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--texte-2); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.surtitre::before { content: ''; width: 22px; height: 3px; background: var(--rouge); border-radius: 2px; }
.section--noire .surtitre { color: var(--texte-clair); }
.titre-section { font-size: clamp(32px, 4.6vw, 52px); font-weight: 700; max-width: 18ch; }
.chapo { font-size: clamp(17px, 1.6vw, 20px); color: var(--texte-2); max-width: 60ch; margin-top: 18px; }
.section--noire .chapo { color: var(--texte-clair); }
.rouge { color: var(--rouge); }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--titre); font-weight: 600; font-size: 17px; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.bouton:active { transform: translateY(1px); }
.bouton svg { width: 20px; height: 20px; flex: none; }
.bouton--rouge { background: var(--rouge); color: var(--blanc); }
.bouton--rouge:hover { background: var(--rouge-fonce); }
.bouton--contour { border-color: currentColor; color: inherit; background: transparent; }
.bouton--contour:hover { background: var(--blanc); color: var(--noir); border-color: var(--blanc); }
.bouton--noir { background: var(--noir); color: var(--blanc); }
.bouton--noir:hover { background: var(--noir-2); }
.bouton--large { width: 100%; }
.bouton[disabled] { opacity: .55; cursor: wait; }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(11, 11, 11, .94); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); color: var(--blanc); border-bottom: 1px solid rgba(255,255,255,.06); }
.entete__barre { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.marque img { height: 30px; width: auto; }
.marque span { font-family: var(--titre); font-weight: 700; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.bouton) { font-family: var(--titre); font-weight: 500; font-size: 15px; text-decoration: none; color: var(--texte-clair); transition: color .15s; }
.nav a:not(.bouton):hover { color: var(--blanc); }
.nav .bouton { min-height: 42px; padding: 0 20px; font-size: 15px; }
@media (max-width: 880px) { .nav a:not(.bouton) { display: none; } }
@media (max-width: 380px) { .marque span { display: none; } }

/* ---------- Bandeau de lancement ---------- */
.lancement { background: var(--rouge); color: var(--blanc); font-family: var(--titre); font-weight: 500; font-size: 15px; }
.lancement .conteneur { display: flex; align-items: center; justify-content: center; gap: 8px 16px; flex-wrap: wrap; padding-top: 11px; padding-bottom: 11px; text-align: center; }
.lancement a { font-weight: 700; text-underline-offset: 3px; }

/* ---------- Héros ---------- */
.heros { background: var(--noir); color: var(--blanc); position: relative; overflow: hidden; }
.heros::after { /* la crête du Jura, en filigrane */
  content: ''; position: absolute; inset: auto 0 0 0; height: 46%;
  background: url('../img/voiture-blanc.png') no-repeat right -6% bottom -14% / min(780px, 90vw) auto;
  opacity: .06; pointer-events: none;
}
.heros__grille { display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(32px, 6vw, 72px); align-items: center; padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); position: relative; z-index: 1; }
.heros__surtitre { color: var(--texte-clair); }
.heros h1 { font-size: clamp(44px, 7.4vw, 88px); font-weight: 800; letter-spacing: -.025em; line-height: .98; }
.heros h1 em { font-style: normal; color: var(--rouge); }
.heros__texte { font-size: clamp(18px, 1.8vw, 21px); color: #D8D7D2; max-width: 34ch; margin: 26px 0 34px; }
.heros__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.heros__preuves { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; padding: 0; list-style: none; color: var(--texte-clair); font-size: 15px; }
.heros__preuves li { display: flex; align-items: center; gap: 8px; }
.heros__preuves li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--rouge); }

.carte-offre { background: var(--blanc); color: var(--noir); border-radius: 20px; padding: 30px; box-shadow: 0 30px 60px rgba(0,0,0,.35); position: relative; }
.carte-offre__etiquette { position: absolute; top: -14px; left: 30px; background: var(--rouge); color: var(--blanc); font-family: var(--titre); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.carte-offre h2 { font-size: 24px; font-weight: 700; margin-top: 8px; }
.carte-offre__prix { font-family: var(--titre); font-weight: 800; font-size: 64px; letter-spacing: -.03em; line-height: 1; margin: 18px 0 4px; }
.carte-offre__prix small { font-size: 18px; font-weight: 600; color: var(--texte-2); letter-spacing: 0; margin-left: 4px; }
.carte-offre ul { list-style: none; padding: 0; margin: 20px 0 24px; border-top: 1px solid var(--ligne); }
.carte-offre li { padding: 11px 0; border-bottom: 1px solid var(--ligne); display: flex; gap: 10px; font-size: 16px; }
.coche { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--rouge); }
.carte-offre__note { font-size: 14px; color: var(--texte-2); margin: 12px 0 0; text-align: center; }

@media (max-width: 900px) {
  .heros__grille { grid-template-columns: 1fr; }
  .carte-offre { max-width: 460px; }
}

/* ---------- Piliers ---------- */
.piliers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.pilier { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 32px 28px; }
.section--grise .pilier { border-color: transparent; }
.pilier__icone { width: 52px; height: 52px; border-radius: 14px; background: var(--noir); color: var(--blanc); display: grid; place-items: center; margin-bottom: 22px; }
.pilier__icone svg { width: 26px; height: 26px; }
.pilier h3 { font-size: 23px; font-weight: 700; margin-bottom: 10px; }
.pilier p { color: var(--texte-2); margin: 0; }
@media (max-width: 860px) { .piliers { grid-template-columns: 1fr; } }

/* ---------- Étapes ---------- */
.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; counter-reset: etape; border-top: 1px solid rgba(255,255,255,.14); }
.etape { padding: 34px 32px 8px 0; position: relative; }
.etape + .etape { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.14); }
.etape__num { font-family: var(--titre); font-weight: 800; font-size: 15px; color: var(--rouge); letter-spacing: .14em; }
.etape h3 { font-size: clamp(28px, 3vw, 36px); font-weight: 700; margin: 12px 0 12px; }
.etape p { color: var(--texte-clair); margin: 0; }
.slogan { font-family: var(--titre); font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); margin-top: 56px; color: var(--blanc); }
.slogan span { color: var(--rouge); }
@media (max-width: 860px) {
  .etapes { grid-template-columns: 1fr; }
  .etape, .etape + .etape { padding: 28px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
}

/* ---------- Tarifs ---------- */
.tarifs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.tarif { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 28px; display: flex; flex-direction: column; }
.tarif--phare { background: var(--noir); color: var(--blanc); border-color: var(--noir); position: relative; }
.tarif--phare .tarif__detail { color: var(--texte-clair); }
.tarif__badge { align-self: flex-start; font-family: var(--titre); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--blanc); background: var(--rouge); border-radius: 999px; padding: 5px 11px; margin-bottom: 14px; }
.tarif h3 { font-size: 20px; font-weight: 600; }
.tarif__prix { font-family: var(--titre); font-weight: 800; font-size: 44px; letter-spacing: -.02em; margin: 14px 0 6px; line-height: 1; }
.tarif__prix small { font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--texte-2); }
.tarif--phare .tarif__prix small { color: var(--texte-clair); }
.tarif__dès { font-size: 16px; font-weight: 600; margin-right: 4px; letter-spacing: 0; }
.tarif__detail { color: var(--texte-2); font-size: 15.5px; margin: 6px 0 0; }
.note-tarifs { margin-top: 28px; padding: 20px 24px; border-left: 4px solid var(--rouge); background: var(--blanc); border-radius: 0 var(--rayon-s) var(--rayon-s) 0; color: var(--texte-2); font-size: 15.5px; }
.note-tarifs strong { color: var(--noir); }
@media (max-width: 920px) { .tarifs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tarifs { grid-template-columns: 1fr; } }

/* ---------- Zones ---------- */
.zones { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.verif { margin-top: 32px; background: var(--gris); border-radius: var(--rayon); padding: 22px; }
.verif label { font-family: var(--titre); font-weight: 600; display: block; margin-bottom: 10px; }
.verif__resultat { margin: 12px 0 0; font-size: 16px; min-height: 1.6em; }
.verif__resultat.ok { color: var(--vert); font-weight: 600; }
.verif__resultat.non { color: var(--texte-2); }
.liste-zones { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ligne); }
.zone { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 20px 0; border-bottom: 1px solid var(--ligne); }
.zone h3 { font-size: 20px; font-weight: 600; }
.zone__prix { font-family: var(--titre); font-weight: 700; font-size: 20px; white-space: nowrap; text-align: right; }
.zone__prix small { display: block; font-family: var(--texte); font-weight: 400; font-size: 13px; color: var(--texte-2); }
.zone p { grid-column: 1 / -1; margin: 0; color: var(--texte-2); font-size: 15px; }
@media (max-width: 860px) { .zones { grid-template-columns: 1fr; } }

/* ---------- Entreprises ---------- */
.pro { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.pro__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pro__liste li { display: flex; gap: 14px; align-items: flex-start; background: var(--noir-2); border-radius: var(--rayon-s); padding: 18px 20px; color: #D8D7D2; }
.pro__liste strong { color: var(--blanc); font-family: var(--titre); font-weight: 600; display: block; }
.pro .bouton { margin-top: 30px; }
@media (max-width: 860px) { .pro { grid-template-columns: 1fr; } }

/* ---------- Bientôt ---------- */
.bientot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; padding: 0; list-style: none; }
.bientot li { border: 1px dashed #C9C8C2; border-radius: 999px; padding: 10px 18px; font-family: var(--titre); font-weight: 500; color: var(--texte-2); background: var(--blanc); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-top: 40px; border-top: 1px solid var(--ligne); }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-family: var(--titre); font-weight: 600; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -10px; border-right: 2.5px solid var(--rouge); border-bottom: 2.5px solid var(--rouge); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { color: var(--texte-2); padding-right: 40px; }

/* ---------- Appel final ---------- */
.appel { text-align: center; }
.appel h2 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; letter-spacing: -.02em; }
.appel .heros__actions { justify-content: center; margin-top: 32px; }

/* ---------- Pied de page ---------- */
.pied { background: var(--noir); color: var(--texte-clair); padding: 64px 0 120px; font-size: 15px; border-top: 1px solid rgba(255,255,255,.08); }
.pied__grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.pied img { width: 230px; margin-bottom: 18px; }
.pied h3 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--blanc); margin-bottom: 14px; font-weight: 600; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pied a { text-decoration: none; }
.pied a:hover { color: var(--blanc); text-decoration: underline; }
.pied__bas { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
@media (max-width: 760px) { .pied__grille { grid-template-columns: 1fr; } .pied { padding-bottom: 110px; } }
@media (min-width: 761px) { .pied { padding-bottom: 48px; } }

/* ---------- Barre d'action mobile ---------- */
.barre-mobile { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--ligne); }
.barre-mobile .bouton { flex: 1; min-height: 50px; padding: 0 14px; }
@media (max-width: 760px) { .barre-mobile { display: flex; } }

/* ==================================================================
   PAGE /reserver
   ================================================================== */
.resa-heros { background: var(--noir); color: var(--blanc); padding: clamp(40px, 6vw, 72px) 0 clamp(96px, 12vw, 132px); }
.resa-heros h1 { font-size: clamp(40px, 6.4vw, 76px); font-weight: 800; letter-spacing: -.025em; text-transform: uppercase; line-height: .96; }
.resa-heros p { color: #D8D7D2; font-size: clamp(17px, 1.7vw, 20px); margin: 20px 0 0; max-width: 52ch; }
.pastille { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: var(--blanc); border-radius: 999px; padding: 7px 14px; font-family: var(--titre); font-weight: 500; font-size: 14px; margin-bottom: 22px; }
.pastille::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--rouge); box-shadow: 0 0 0 4px rgba(219,41,28,.25); }

.resa { margin-top: calc(-1 * clamp(64px, 9vw, 96px)); padding-bottom: 96px; position: relative; z-index: 2; }
.resa__grille { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.resa__form { display: contents; } /* panneaux et estimation deviennent des cases de la grille */
.resa__grille .panneau, .resa__grille .succes { grid-column: 1; }
.resa__grille .estimation { grid-column: 2; grid-row: 1 / span 2; }
@media (max-width: 960px) {
  .resa__grille { grid-template-columns: minmax(0, 1fr); }
  .resa__grille .estimation { grid-column: 1; grid-row: auto; } /* sur mobile : le prix juste après le simulateur */
}

.panneau { background: var(--blanc); border: 1px solid var(--ligne); border-radius: 20px; box-shadow: var(--ombre); padding: clamp(22px, 3.6vw, 36px); }
.panneau h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 700; margin-bottom: 6px; }
.panneau__intro { color: var(--texte-2); margin: 0 0 8px; }

.etape-resa { margin-top: 30px; border: 0; padding: 0; min-width: 0; }
.etape-resa > legend, .etape-resa__titre { font-family: var(--titre); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-2); margin-bottom: 12px; padding: 0; display: block; }
.etape-resa__titre b, .etape-resa > legend b { color: var(--rouge); font-weight: 700; }

.choix { display: grid; gap: 10px; }
.choix--2 { grid-template-columns: 1fr 1fr; }
.choix--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 560px) { .choix--2 { grid-template-columns: 1fr; } }
.option { position: relative; display: block; cursor: pointer; }
.option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.option__corps { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 14px 18px; border: 1.5px solid var(--ligne); border-radius: var(--rayon-s); background: var(--blanc); transition: border-color .15s, box-shadow .15s, background .15s; height: 100%; }
.option__corps strong { font-family: var(--titre); font-weight: 600; font-size: 17px; display: block; line-height: 1.25; }
.option__corps small { display: block; color: var(--texte-2); font-size: 14.5px; line-height: 1.35; margin-top: 3px; }
.option__rond { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #C9C8C2; display: grid; place-items: center; transition: border-color .15s; }
.option__rond::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--rouge); transform: scale(0); transition: transform .15s; }
.option:hover .option__corps { border-color: #C9C8C2; }
.option input:checked + .option__corps { border-color: var(--rouge); box-shadow: 0 0 0 1px var(--rouge); background: #FFFBFA; }
.option input:checked + .option__corps .option__rond { border-color: var(--rouge); }
.option input:checked + .option__corps .option__rond::after { transform: scale(1); }
.option input:focus-visible + .option__corps { outline: 3px solid var(--rouge); outline-offset: 2px; }

.puce .option__corps { justify-content: center; text-align: center; min-height: 52px; padding: 10px 12px; }
.puce .option__corps strong { font-size: 16px; }
.puce input:checked + .option__corps { background: var(--noir); border-color: var(--noir); color: var(--blanc); box-shadow: none; }
.puce input:checked + .option__corps small { color: var(--texte-clair); }
.puce--compteur .option__corps strong { font-size: 22px; font-weight: 700; }
.marque-majore { display: inline-block; font-family: var(--titre); font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--rouge); margin-left: 4px; }
.puce input:checked + .option__corps .marque-majore { color: #FF8A80; }

.champ { display: block; }
.champ__label { display: block; font-family: var(--titre); font-weight: 600; font-size: 15px; margin-bottom: 7px; }
.champ__label small { font-family: var(--texte); font-weight: 400; color: var(--texte-2); font-size: 14px; }
.saisie { width: 100%; min-height: 54px; padding: 12px 16px; font: inherit; font-size: 17px; color: var(--noir); background: var(--blanc); border: 1.5px solid var(--ligne); border-radius: var(--rayon-s); transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
textarea.saisie { min-height: 96px; resize: vertical; }
.saisie:hover { border-color: #C9C8C2; }
.saisie:focus { outline: none; border-color: var(--noir); box-shadow: 0 0 0 3px rgba(11,11,11,.08); }
.saisie[aria-invalid="true"] { border-color: var(--rouge); box-shadow: 0 0 0 3px rgba(219,41,28,.12); }
.champ__aide { display: block; color: var(--texte-2); font-size: 14.5px; margin-top: 7px; }
.champ__erreur { display: block; color: var(--rouge); font-size: 14.5px; font-weight: 600; margin-top: 7px; }
.champ__aide.ok { color: var(--vert); font-weight: 600; }
.grille-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grille-champs .pleine { grid-column: 1 / -1; }
@media (max-width: 560px) { .grille-champs { grid-template-columns: 1fr; } }

.case { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15px; color: var(--texte-2); line-height: 1.5; }
.case input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--rouge); cursor: pointer; }
.case a { color: var(--noir); }

/* Pendant le chargement du mode (liste d'attente ou ouvert) : rien qui puisse induire en erreur */
.en-chargement [data-bloc-moment], .en-chargement [data-bloc-date], .en-chargement [data-titre-contact], .en-chargement [data-intro-contact] { visibility: hidden; }
.lien { background: none; border: 0; padding: 0; margin-top: 12px; font: inherit; font-size: 15px; font-weight: 600; color: var(--noir); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lien:hover { color: var(--rouge); }
[data-liste-creneaux]:empty { display: none; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Estimation (colonne de droite, collante) */
.estimation { position: sticky; top: 96px; background: var(--noir); color: var(--blanc); border-radius: 20px; padding: 28px; overflow: hidden; }
.estimation__titre { font-family: var(--titre); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-clair); }
.estimation__montant { font-family: var(--titre); font-weight: 800; font-size: clamp(48px, 6vw, 64px); letter-spacing: -.03em; line-height: 1; margin: 14px 0 4px; transition: opacity .2s; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.estimation__montant small { font-size: 17px; font-weight: 600; color: var(--texte-clair); letter-spacing: 0; }
.estimation__montant .des { font-size: 22px; font-weight: 600; letter-spacing: 0; }
.estimation.charge .estimation__montant { opacity: .35; }
.estimation__sous { color: var(--texte-clair); font-size: 15px; margin: 0; }
.estimation__lignes { list-style: none; padding: 0; margin: 20px 0 0; border-top: 1px solid rgba(255,255,255,.12); }
.estimation__lignes li { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 15px; color: #D8D7D2; }
.estimation__lignes li span:last-child { white-space: nowrap; color: var(--blanc); font-weight: 500; }
.estimation__lignes li.offert span:last-child { color: #8FD19E; }
.estimation__lignes li.remise span:last-child { color: #8FD19E; }
.estimation__note { margin: 16px 0 0; font-size: 14px; color: var(--texte-clair); }
.estimation__note strong { color: var(--blanc); }
.estimation__alerte { margin-top: 16px; padding: 12px 14px; border-radius: var(--rayon-s); background: rgba(219,41,28,.16); border: 1px solid rgba(219,41,28,.5); font-size: 14.5px; color: #FFD9D5; }
.estimation__appel { margin-top: 20px; font-size: 15px; color: var(--texte-clair); }
.estimation__appel a { color: var(--blanc); font-weight: 600; }
@media (max-width: 960px) { .estimation { position: static; } }

/* Succès */
.succes { text-align: center; padding: 20px 0 8px; }
.succes__icone { width: 72px; height: 72px; border-radius: 50%; background: var(--noir); color: var(--blanc); display: grid; place-items: center; margin: 0 auto 22px; }
.succes__icone svg { width: 36px; height: 36px; color: var(--rouge); }
.succes h2 { font-size: clamp(30px, 4vw, 40px); }
.succes p { color: var(--texte-2); max-width: 46ch; margin: 14px auto 0; }
.message-erreur { margin-top: 16px; padding: 14px 16px; border-radius: var(--rayon-s); background: #FFF1EF; border: 1px solid #F5C2BD; color: var(--rouge-fonce); font-weight: 500; }

.rassurance { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.rassurance li { display: flex; gap: 12px; color: var(--texte-2); font-size: 15px; }
.rassurance strong { color: var(--noir); font-family: var(--titre); font-weight: 600; display: block; }

/* ==================================================================
   Pages légales
   ================================================================== */
.legal-heros { background: var(--noir); color: var(--blanc); padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 64px); }
.legal-heros h1 { font-size: clamp(36px, 5.4vw, 60px); font-weight: 800; letter-spacing: -.02em; }
.legal-heros p { color: var(--texte-clair); margin: 14px 0 0; }
.legal { max-width: 780px; padding-top: 56px; padding-bottom: 96px; }
.legal h2 { font-size: 26px; font-weight: 700; margin: 44px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: #3A3A37; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }
.a-completer { background: #FFF1EF; color: var(--rouge-fonce); font-weight: 600; padding: 1px 6px; border-radius: 4px; white-space: nowrap; }
.tableau-legal { width: 100%; border-collapse: collapse; margin: 10px 0 20px; font-size: 15.5px; }
.tableau-legal th, .tableau-legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.tableau-legal th { font-family: var(--titre); font-weight: 600; background: var(--gris); }
@media (max-width: 600px) { .tableau-legal { display: block; overflow-x: auto; } }

/* Animation d'apparition, discrète */
@media (prefers-reduced-motion: no-preference) {
  .apparait { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .apparait.vu { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Newsletter (accueil) ---------- */
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .newsletter { grid-template-columns: 1fr; } }
.newsletter__form { background: var(--blanc); border-radius: 18px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 10px 30px rgba(11,11,11,.06); }
.newsletter__merci { margin-top: 16px; font-weight: 600; color: var(--noir); }

/* ---------- Bannière de cookies (cookies.js) : fond assombri, carte bien visible ---------- */
.cookies-fond { position: fixed; inset: 0; z-index: 60; background: rgba(11,11,11,.45); display: flex; align-items: flex-end; justify-content: center;
  padding: 16px; opacity: 0; transition: opacity .25s ease; }
.cookies-fond.visible { opacity: 1; }
@media (min-width: 700px) { .cookies-fond { align-items: center; } }
.cookies { box-sizing: border-box; width: 100%; max-width: 620px; background: var(--noir); color: var(--blanc); border: 1px solid #2E2E2B; border-radius: 20px;
  padding: 24px; box-shadow: 0 24px 70px rgba(0,0,0,.45); font-size: 16px; line-height: 1.5; transform: translateY(24px); transition: transform .3s ease; }
.cookies-fond.visible .cookies { transform: none; }
.cookies a { color: inherit; text-decoration: underline; }
.cookies__titre { font-family: var(--titre); font-weight: 800; font-size: 22px; margin: 0 0 8px; }
.cookies__texte { margin: 0 0 16px; color: #D8D7D2; }
.cookies__details { display: grid; gap: 10px; margin-bottom: 16px; }
.cookies__details .case span { color: #D8D7D2; font-size: 14.5px; }
.cookies__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookies__actions .bouton { width: 100%; min-width: 0; padding: 0 10px; justify-content: center; color: var(--blanc); font-size: 16px; min-height: 52px; }
.cookies__actions .bouton:hover { color: var(--noir); }
.cookies__perso { display: block; margin: 12px auto 0; background: none; border: 0; color: #D8D7D2; text-decoration: underline; font: inherit; font-size: 14.5px; cursor: pointer; }
