/* Page de conversion « Estimer mon projet » (template-estimer.php). Identité Spritz : noir et blanc, turquoise en
   accent, Kumbh Sans, grands mots détourés, angles droits. Un entonnoir vertical : chaque section répond à une
   question du visiteur, le questionnaire en bout de course. Les styles du thème ne sont pas chargés sur cette page. */
@font-face {
  font-family: "Kumbh Sans";
  src: url("../fonts/Kumbh_Sans/KumbhSans-VariableFont_YOPQ,wght.ttf") format("truetype");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --encre: #0c1b1d;
  --noir: #000;
  --fond: #fff;
  --fond-2: #f5f4f4;
  --turquoise: #00e5db;
  --turquoise-pale: #d9faf8;
  --texte-2: #4b5a5c;
  --trait: #dfe3e3;
  --f-corps: "Kumbh Sans", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--fond); color: var(--encre); font-family: var(--f-corps); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; line-height: 1.15; margin: 0; }
h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0; }
.conteneur { width: min(1180px, 100% - 40px); margin-inline: auto; }
.section { padding: 88px 0; }
.section.gris { background: var(--fond-2); }
.section.sombre { background: var(--encre); color: #fff; }
.surtitre { font-size: 13px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--texte-2); margin-bottom: 14px; }
.sombre .surtitre { color: var(--turquoise); }
.chapo { font-size: 19px; color: var(--texte-2); max-width: 62ch; margin-top: 16px; }
.sombre .chapo { color: #c5d1d2; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 1.5px solid var(--noir);
  font: 600 13px/1 var(--f-corps); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; cursor: pointer; background: var(--fond); color: var(--noir); transition: background .15s, color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.plein { background: var(--noir); color: #fff; }
.btn.plein:hover { background: #1d2b2d; }
.btn.turquoise { background: var(--turquoise); border-color: var(--turquoise); color: var(--noir); }
.btn:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--turquoise); outline-offset: 3px; }

/* En-tête de page de conversion : pas de menu, deux sorties seulement */
.entete { border-bottom: 1px solid var(--trait); }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.entete .logo { width: 130px; }
.entete .droite { display: flex; align-items: center; gap: 22px; }
.entete .tel { font-weight: 600; text-decoration: none; white-space: nowrap; }
.entete .tel span { color: var(--texte-2); font-weight: 400; }

/* Héros */
.heros { position: relative; overflow: hidden; padding: 70px 0 56px; }
.heros .mot-fond { position: absolute; right: -2vw; top: 16px; font-weight: 800; font-size: clamp(90px, 16vw, 230px); letter-spacing: -0.02em; line-height: .9;
  color: transparent; -webkit-text-stroke: 1.5px #d0d6d6; pointer-events: none; user-select: none; }
.heros .grille { position: relative; display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: start; }
.heros .lieu { font-size: 15px; font-weight: 500; margin-bottom: 18px; }
.heros .lieu b { font-weight: 700; }
.heros h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 800; letter-spacing: -0.025em; }
.heros h1 .detoure { color: transparent; -webkit-text-stroke: 2px var(--encre); }
.heros h1 .accent { background: linear-gradient(transparent 62%, var(--turquoise) 62%); }
.heros .chapo { font-size: 20px; }
.heros .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.heros .micro { margin-top: 14px; font-size: 14px; color: var(--texte-2); }
.carte-seb { border: 1.5px solid var(--noir); background: var(--fond); padding: 28px; position: relative; }
.carte-seb::before { content: ""; position: absolute; inset: 10px -10px -10px 10px; background: var(--turquoise); z-index: -1; }
.carte-seb .qui { display: flex; gap: 16px; align-items: center; }
.avatar { width: 88px; height: 88px; border-radius: 50%; flex: none; object-fit: cover; }
.carte-seb .nom { font-weight: 700; font-size: 18px; line-height: 1.3; }
.carte-seb .role { font-size: 14px; color: var(--texte-2); }
.carte-seb .citation { margin-top: 18px; font-size: 16.5px; }
.engagements { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.engagements li { display: grid; grid-template-columns: 74px 1fr; gap: 12px; align-items: baseline; padding-top: 10px; border-top: 1px solid var(--trait); font-size: 15px; }
.engagements .delai { font-weight: 800; font-size: 15px; }

/* Bandeau de preuves */
.preuves { border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
.preuves .conteneur { display: grid; grid-template-columns: repeat(4, 1fr); }
.preuve { padding: 26px 20px; border-right: 1px solid var(--trait); }
.preuve:last-child { border-right: 0; }
.preuve .chiffre { font-size: 34px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.preuve .chiffre small { font-size: 18px; font-weight: 600; }
.preuve .legende { font-size: 14px; color: var(--texte-2); margin-top: 4px; }
.etoiles { color: var(--turquoise); letter-spacing: 2px; font-size: 15px; -webkit-text-stroke: .6px var(--encre); }
.logos { padding: 22px 0 30px; }
.logos .conteneur { display: flex; flex-wrap: wrap; gap: 10px 34px; align-items: center; font-weight: 700; color: #8a9697; font-size: 15px; letter-spacing: .02em; }
.logos .conteneur span:first-child { font-weight: 500; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--texte-2); }

/* Problème */
.symptomes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 40px; border-top: 1.5px solid var(--noir); }
.symptome { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--trait); display: grid; grid-template-columns: 52px 1fr; gap: 14px; }
.symptome:nth-child(odd) { border-right: 1px solid var(--trait); }
.symptome:nth-child(even) { padding-left: 26px; }
.symptome .num { font-weight: 800; font-size: 28px; color: transparent; -webkit-text-stroke: 1.2px var(--encre); line-height: 1; }
.symptome p { color: var(--texte-2); margin-top: 6px; font-size: 16px; }

/* Solution */
.piliers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.pilier { background: var(--fond); border: 1px solid var(--trait); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.pilier .marque { width: 40px; height: 6px; background: var(--turquoise); }
.pilier p { color: var(--texte-2); font-size: 16px; }
.pilier ul { margin: 6px 0 0; padding-left: 18px; color: var(--encre); font-size: 15px; }

/* Réalisations */
.reals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; }
.real { display: flex; flex-direction: column; gap: 14px; }
.real .visuel { aspect-ratio: 1 / 1; overflow: hidden; background: var(--fond-2); }
.real .visuel img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.real:hover .visuel img { transform: scale(1.03); }
.real .type { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--texte-2); font-weight: 600; }
.real h3 { font-size: 19px; }
.real p { font-size: 15px; color: var(--texte-2); }
.lien-fleche { font-weight: 600; font-size: 14px; text-decoration: none; border-bottom: 2px solid var(--turquoise); align-self: flex-start; }

/* Avis */
.avis-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.avis { border-top: 1.5px solid #ffffff; padding-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.avis blockquote { margin: 0; font-size: 17px; line-height: 1.55; }
.avis .auteur { font-size: 14px; color: #c5d1d2; }
.note-google { display: flex; align-items: center; gap: 14px; margin-top: 18px; font-size: 15px; color: #c5d1d2; }
.note-google strong { color: #fff; font-size: 26px; }

/* Méthode */
.etapes { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: etape; }
.etape { padding: 0 20px 0 0; position: relative; }
.etape::before { counter-increment: etape; content: counter(etape, decimal-leading-zero); display: block; font-weight: 800; font-size: 46px; line-height: 1; color: transparent; -webkit-text-stroke: 1.4px var(--encre); }
.etape::after { content: ""; position: absolute; left: 0; right: 0; top: 60px; height: 2px; background: var(--encre); }
.etape:first-child::after { background: linear-gradient(90deg, var(--turquoise) 50%, var(--encre) 50%); }
.etape .duree { margin-top: 30px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.etape h3 { margin-top: 6px; font-size: 18px; }
.etape p { font-size: 15px; color: var(--texte-2); margin-top: 6px; }

/* Tarifs */
.tarifs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 44px; border: 1.5px solid var(--noir); }
.tarif { padding: 28px 24px; border-right: 1px solid var(--trait); display: flex; flex-direction: column; gap: 12px; background: var(--fond); }
.tarif:last-child { border-right: 0; }
.tarif.vedette { background: var(--encre); color: #fff; }
.tarif .libelle { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.tarif .prix { font-size: 26px; font-weight: 800; line-height: 1.2; font-variant-numeric: tabular-nums; }
.tarif .prix small { display: block; font-size: 14px; font-weight: 500; color: var(--texte-2); }
.tarif.vedette .prix small { color: #c5d1d2; }
.tarif ul { margin: 0; padding-left: 18px; font-size: 15px; color: var(--texte-2); }
.tarif.vedette ul { color: #dbe4e4; }
.tarif .pastille { align-self: flex-start; background: var(--turquoise); color: var(--noir); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 4px 8px; }
.inclus { margin-top: 22px; font-size: 15px; color: var(--texte-2); max-width: 80ch; }

/* Garanties */
.garanties { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 26px; margin-top: 40px; }
.garantie { border-top: 4px solid var(--turquoise); padding-top: 16px; }
.garantie p { font-size: 15px; color: var(--texte-2); margin-top: 6px; }

/* FAQ */
.faq { margin-top: 36px; border-top: 1.5px solid var(--noir); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 28px; font-weight: 300; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 22px; color: var(--texte-2); max-width: 72ch; }

/* Questionnaire */
.estimer .grille { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.estimer .rappel { display: grid; gap: 16px; margin-top: 30px; }
.estimer .rappel div { display: grid; grid-template-columns: 30px 1fr; gap: 10px; font-size: 16px; }
.estimer .rappel b { color: var(--turquoise); font-size: 18px; }
.boite { background: var(--fond); color: var(--encre); border: 1.5px solid var(--fond); box-shadow: 14px 14px 0 var(--turquoise); padding: 34px; min-height: 520px; display: flex; flex-direction: column; }
.progression { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--texte-2); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.barre { flex: 1; height: 4px; background: var(--fond-2); }
.barre i { display: block; height: 100%; background: var(--encre); width: 0; transition: width .3s; }
.question { margin-top: 26px; font-size: 26px; font-weight: 700; line-height: 1.25; }
.aide { margin-top: 8px; color: var(--texte-2); font-size: 15px; }
.choix { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 22px; }
.choix button { text-align: left; background: var(--fond); border: 1.5px solid var(--trait); padding: 16px 18px; font: 600 16px/1.35 var(--f-corps); color: var(--encre); cursor: pointer; display: flex; flex-direction: column; gap: 3px; transition: border-color .12s, background .12s; }
.choix button small { font-weight: 400; font-size: 13.5px; color: var(--texte-2); }
.choix button:hover { border-color: var(--encre); }
.choix button[aria-pressed="true"] { border-color: var(--encre); background: var(--turquoise-pale); }
.champs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 22px; }
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ.large { grid-column: 1 / -1; }
.champ label { font-size: 14px; font-weight: 600; }
.champ label span { font-weight: 400; color: var(--texte-2); }
.champ input, .champ textarea { font: 16px var(--f-corps); padding: 12px 14px; border: 1.5px solid var(--trait); background: var(--fond); color: var(--encre); border-radius: 0; }
.champ input:focus, .champ textarea:focus { border-color: var(--encre); outline: none; }
.champ textarea { min-height: 84px; resize: vertical; }
.erreur { color: #b3261e; font-size: 14px; margin-top: 10px; min-height: 20px; }
.navigation { margin-top: auto; padding-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.retour { background: none; border: 0; font: 600 14px var(--f-corps); color: var(--texte-2); cursor: pointer; padding: 8px 0; }
.retour[hidden] { visibility: hidden; display: inline; }
.rgpd { font-size: 12.5px; color: var(--texte-2); margin-top: 14px; line-height: 1.5; }
.resultat-fourchette { margin-top: 18px; background: var(--fond-2); padding: 20px 22px; display: grid; gap: 4px; }
.resultat-fourchette .montant { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }
.resultat-fourchette .base { font-size: 14px; color: var(--texte-2); }
.modes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.modes button { background: var(--fond); border: 1.5px solid var(--trait); padding: 10px 14px; font: 600 14px var(--f-corps); cursor: pointer; color: var(--encre); }
.modes button[aria-pressed="true"] { border-color: var(--encre); background: var(--encre); color: #fff; }
.jours { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 16px; }
.jour { display: flex; flex-direction: column; gap: 6px; }
.jour .titre-jour { font-size: 13px; font-weight: 700; padding-bottom: 6px; border-bottom: 1px solid var(--trait); }
.jour button { background: var(--fond); border: 1.5px solid var(--trait); padding: 8px 4px; font: 600 14px var(--f-corps); cursor: pointer; color: var(--encre); font-variant-numeric: tabular-nums; }
.jour button:hover { border-color: var(--encre); }
.jour button[aria-pressed="true"] { background: var(--turquoise); border-color: var(--turquoise); }
.jour button:disabled { color: #b6bfc0; text-decoration: line-through; cursor: default; border-color: var(--fond-2); background: var(--fond-2); }
.recap { margin-top: 18px; display: grid; gap: 8px; font-size: 15px; }
.recap div { display: grid; grid-template-columns: 130px 1fr; gap: 10px; border-bottom: 1px solid var(--trait); padding-bottom: 8px; }
.recap dt { color: var(--texte-2); }
.suite { margin-top: 18px; padding-left: 20px; font-size: 15px; display: grid; gap: 6px; }
.lien-secondaire { background: none; border: 0; padding: 0; margin-top: 12px; font: 600 14px var(--f-corps); text-decoration: underline; cursor: pointer; color: var(--encre); align-self: flex-start; }

/* Pied */
.pied { background: var(--noir); color: #aab6b7; font-size: 14px; padding: 34px 0; }
.pied .conteneur { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 980px) {
  .heros .grille, .estimer .grille { grid-template-columns: 1fr; gap: 40px; }
  .piliers, .reals, .avis-grille { grid-template-columns: 1fr; }
  .tarifs { grid-template-columns: repeat(2, 1fr); }
  .tarif:nth-child(2) { border-right: 0; }
  .tarif:nth-child(-n+2) { border-bottom: 1px solid var(--trait); }
  .garanties { grid-template-columns: repeat(2, 1fr); }
  .etapes { grid-template-columns: 1fr; gap: 26px; }
  .etape::after { display: none; }
  .etape .duree { margin-top: 10px; }
  .preuves .conteneur { grid-template-columns: repeat(2, 1fr); }
  .preuve:nth-child(2) { border-right: 0; }
  .preuve:nth-child(-n+2) { border-bottom: 1px solid var(--trait); }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .entete .tel span, .entete .btn { display: none; }
  .symptomes { grid-template-columns: 1fr; }
  .symptome, .symptome:nth-child(even) { padding: 22px 0; border-right: 0; }
  .choix, .champs { grid-template-columns: 1fr; }
  .tarifs, .garanties { grid-template-columns: 1fr; }
  .tarif { border-right: 0; border-bottom: 1px solid var(--trait); }
  .jours { grid-template-columns: repeat(3, 1fr); }
  .boite { padding: 24px; box-shadow: 8px 8px 0 var(--turquoise); }
  .recap div { grid-template-columns: 1fr; gap: 2px; }
}

/* Ajouts de la version en ligne */
.evitement { position: absolute; left: -9999px; top: 0; background: var(--noir); color: #fff; padding: 10px 16px; z-index: 100; }
.evitement:focus { left: 10px; top: 10px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.entete .logo-lien { display: block; }
.entete .logo { height: auto; }
.heros h1 .detoure, .symptome .num, .etape::before { -webkit-text-fill-color: transparent; }
.rappel-tel { margin-top: 28px; color: #c5d1d2; font-size: 16px; }
.rappel-tel a { color: #fff; font-weight: 700; }
.pied a { color: #aab6b7; }
.boite .attente { margin-top: 26px; color: var(--texte-2); }
.boite .attente::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 10px; vertical-align: -2px; border: 2px solid var(--trait); border-top-color: var(--encre); border-radius: 50%; animation: tourne 0.8s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }
.btn[disabled] { opacity: .55; cursor: default; transform: none; }
.jours-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; gap: 10px; }
.jours-nav button { background: none; border: 0; font: 600 14px var(--f-corps); cursor: pointer; color: var(--encre); padding: 6px 0; }
.jours-nav button:disabled { color: #b6bfc0; cursor: default; }
.jours-nav span { font-size: 13px; color: var(--texte-2); }
.jour .aucun { font-size: 13px; color: #b6bfc0; padding: 8px 0; }
.lien-meet { display: inline-block; margin-top: 4px; word-break: break-all; }
.champ input[aria-invalid="true"] { border-color: #b3261e; }
.piege { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.navigation-rdv { flex-direction: column; align-items: stretch; }
.navigation-rdv .btn { width: 100%; }
.navigation-rdv .lien-secondaire { align-self: center; margin-top: 4px; }

.avis { margin: 0; }
.boite .question:focus { outline: none; }
.boite { scroll-margin-top: 16px; }
.agenda { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.agenda span { width: 100%; font-size: 14px; font-weight: 600; }
.agenda .btn { min-height: 40px; padding: 0 14px; font-size: 11px; letter-spacing: .14em; }
