/* Simplélec — feuille de style du site */
:root {
  --navy: #15233B;
  --navy-2: #1E3152;
  --jaune: #F5B700;
  --jaune-clair: #FFF6D6;
  --texte: #1F2937;
  --gris: #6B7280;
  --gris-clair: #F4F5F7;
  --bord: #E5E7EB;
  --rouge: #C62828;
  --rouge-clair: #FDECEC;
  --vert: #1B7F4B;
  --rayon: 14px;
  --titres: "Century Gothic", "Avenir Next", Avenir, Futura, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --corps: "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--corps); color: var(--texte); background: #fff; line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--titres); color: var(--navy); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }
.section { padding: 72px 0; }
.section.gris { background: var(--gris-clair); }
.section.navy { background: var(--navy); color: #fff; }
.section.navy h2, .section.navy h3 { color: #fff; }
.intro { max-width: 720px; color: var(--gris); font-size: 1.08rem; }
.section.navy .intro { color: #C9D1DE; }
.centre { text-align: center; }
.centre .intro { margin-inline: auto; }
.point { color: var(--jaune); }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--bord); backdrop-filter: blur(6px); }
.entete .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.entete .logo img { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; color: var(--navy); font-weight: 600; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -3px 0 var(--jaune); }
.btn-tel { display: inline-flex; align-items: center; gap: 8px; background: var(--jaune); color: var(--navy) !important; padding: 10px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; white-space: nowrap; box-shadow: none !important; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 26px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 1.02rem; border: 2px solid transparent; cursor: pointer; font-family: var(--corps); transition: transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-jaune { background: var(--jaune); color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-blanc { background: #fff; color: var(--navy); }
.btn-contour { border-color: currentColor; color: var(--navy); background: transparent; }
.btn-urgence { background: var(--rouge); color: #fff; }
.boutons { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Héros ---------- */
.heros { background: var(--navy); color: #fff; padding: 80px 0 72px; position: relative; overflow: hidden; }
.heros::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(245,183,0,.12); }
.heros h1 { color: #fff; max-width: 760px; }
.heros .accroche { font-size: 1.2rem; color: #D7DEEA; max-width: 680px; margin-bottom: 30px; }
.atouts { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 12px 28px; color: #D7DEEA; font-size: .98rem; }
.atouts li { display: flex; align-items: center; gap: 8px; }
.atouts li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--jaune); flex: none; }
.heros-page { padding: 60px 0 52px; }

/* ---------- Cartes ---------- */
.grille { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.carte { background: #fff; border: 1px solid var(--bord); border-radius: var(--rayon); padding: 26px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--texte); transition: box-shadow .15s ease, transform .15s ease; }
a.carte:hover { box-shadow: 0 10px 30px rgba(21,35,59,.10); transform: translateY(-2px); }
.carte h3 { margin: 6px 0 2px; }
.carte p { color: var(--gris); margin: 0; font-size: .98rem; }
.carte .lien { margin-top: auto; padding-top: 12px; font-weight: 700; color: var(--navy); }
.icone { width: 52px; height: 52px; border-radius: 14px; background: var(--jaune-clair); display: grid; place-items: center; flex: none; }
.icone svg { width: 28px; height: 28px; stroke: var(--navy); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Prix ---------- */
.prix-base { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 30px 0; }
.prix { background: #fff; border-radius: var(--rayon); padding: 26px; border: 1px solid var(--bord); }
.prix .montant { font-family: var(--titres); font-size: 2.4rem; color: var(--navy); font-weight: 700; line-height: 1; }
.prix .montant small { font-size: 1rem; color: var(--gris); font-weight: 400; }
.prix .ttc { color: var(--gris); font-size: .95rem; margin-top: 6px; }
.tableau-prix { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--rayon); overflow: hidden; border: 1px solid var(--bord); }
.tableau-prix th, .tableau-prix td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--bord); vertical-align: top; }
.tableau-prix th { background: var(--navy); color: #fff; font-weight: 600; font-size: .95rem; }
.tableau-prix td.num, .tableau-prix th.num { text-align: right; white-space: nowrap; }
.tableau-prix td strong { color: var(--navy); }
.tableau-prix td .desc { display: block; color: var(--gris); font-size: .93rem; margin-top: 4px; }
.note { font-size: .92rem; color: var(--gris); }

/* ---------- Étapes ---------- */
.etapes { counter-reset: e; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.etape { position: relative; padding: 26px 24px 24px; background: #fff; border-radius: var(--rayon); border: 1px solid var(--bord); }
.etape::before { counter-increment: e; content: counter(e); width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--jaune); display: grid; place-items: center; font-weight: 700; font-family: var(--titres); margin-bottom: 12px; }
.etape p { color: var(--gris); margin: 0; }

/* ---------- Inclus ---------- */
.inclus { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px 30px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.inclus li { display: flex; gap: 12px; align-items: flex-start; }
.inclus li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: var(--jaune) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2315233B' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* ---------- Encadrés ---------- */
.alerte { border-radius: var(--rayon); padding: 24px 26px; background: var(--rouge-clair); border-left: 6px solid var(--rouge); }
.alerte h2, .alerte h3 { color: var(--rouge); }
.alerte ul { margin: 0; padding-left: 1.2em; }
.alerte li { margin-bottom: 6px; }
.bandeau { background: var(--jaune-clair); border-radius: var(--rayon); padding: 22px 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.bandeau p { margin: 0; font-weight: 600; color: var(--navy); }
.deux-col { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; align-items: start; }

/* ---------- Activités sœurs ---------- */
.soeur { border-radius: var(--rayon); padding: 30px; background: #fff; border: 1px solid var(--bord); display: flex; gap: 22px; align-items: center; }
.soeur p { margin: 0; color: var(--gris); }

/* ---------- FAQ ---------- */
.faq details { background: #fff; border: 1px solid var(--bord); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--jaune); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--gris); }

/* ---------- Pied de page ---------- */
.pied { background: var(--gris-clair); padding: 56px 0 110px; font-size: .95rem; color: var(--gris); border-top: 1px solid var(--bord); }
.pied .colonnes { display: grid; gap: 34px; grid-template-columns: 1.4fr 1fr 1fr; }
.pied img { height: 46px; width: auto; margin-bottom: 14px; }
.pied h3 { font-size: 1rem; margin-bottom: 10px; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: 6px; }
.pied a { color: var(--navy); text-decoration: none; }
.pied a:hover { text-decoration: underline; }
.pied .legal { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--bord); font-size: .85rem; }

/* ---------- Barre mobile ---------- */
.barre-mobile { display: none; }

/* ---------- Texte long ---------- */
.texte { max-width: 820px; }
.texte h2 { margin-top: 1.6em; font-size: 1.5rem; }
.texte ul { padding-left: 1.2em; }
.a-completer { background: #FFF3CD; padding: 0 6px; border-radius: 4px; }

/* ---------- Formulaire ---------- */
.form-zone { max-width: 760px; background: #fff; border: 1px solid var(--bord); border-radius: 18px; padding: 34px; box-shadow: 0 12px 40px rgba(21,35,59,.06); }
.f-steps { display: flex; gap: 8px; margin-bottom: 8px; }
.f-steps span { flex: 1; height: 6px; border-radius: 3px; background: var(--bord); }
.f-steps span.fait { background: var(--jaune); }
.f-step-titre { font-family: var(--titres); color: var(--navy); font-weight: 700; font-size: 1.25rem; margin: 14px 0 22px; }
.f-step-titre small { display: block; font-family: var(--corps); color: var(--gris); font-weight: 400; font-size: .9rem; }
.f-field { margin-bottom: 24px; border: 0; padding: 0; }
.f-field > label, .f-field > legend { display: block; font-weight: 700; color: var(--navy); margin-bottom: 8px; padding: 0; }
.f-req { color: var(--rouge); }
.f-help { font-size: .9rem; color: var(--gris); margin: 6px 0 0; }
.f-err { color: var(--rouge); font-size: .9rem; margin: 6px 0 0; font-weight: 600; }
.f-err:empty { display: none; }
.f-field input[type=text], .f-field input[type=email], .f-field input[type=tel], .f-field input[type=date], .f-field input[type=number], .f-field input[type=url], .f-field select, .f-field textarea { width: 100%; padding: 13px 14px; border: 1.5px solid #CBD2DC; border-radius: 10px; font: inherit; color: var(--texte); background: #fff; }
.f-field textarea { min-height: 120px; resize: vertical; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(245,183,0,.35); }
.f-field [aria-invalid="true"] { border-color: var(--rouge); }
.f-choix { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.f-choice { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1.5px solid #CBD2DC; border-radius: 10px; cursor: pointer; font-weight: 500; background: #fff; }
.f-choice:has(input:checked) { border-color: var(--navy); background: var(--jaune-clair); }
.f-choice input { width: 20px; height: 20px; accent-color: var(--navy); flex: none; margin: 0; }
.f-consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; cursor: pointer; }
.f-consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--navy); flex: none; }
.f-adresse { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.f-adresse .plein { grid-column: 1 / -1; }
.f-adresse label { font-size: .88rem; color: var(--gris); display: block; margin-bottom: 4px; font-weight: 600; }
.f-fichiers { font-size: .9rem; color: var(--gris); margin-top: 6px; }
.f-actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 10px; }
.f-actions .btn[disabled] { opacity: .6; cursor: progress; }
.f-formerror { background: var(--rouge-clair); color: var(--rouge); padding: 12px 16px; border-radius: 10px; font-weight: 600; }
.f-outcome { text-align: center; padding: 20px 0; }
.f-outcome .ok { width: 70px; height: 70px; border-radius: 50%; background: var(--jaune); margin: 0 auto 18px; display: grid; place-items: center; }
.f-outcome .ok svg { width: 36px; height: 36px; stroke: var(--navy); stroke-width: 3; fill: none; }
.f-loading { color: var(--gris); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px; border-bottom: 1px solid var(--bord); box-shadow: 0 12px 30px rgba(0,0,0,.08); }
  .nav.ouvert { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--bord); }
  .nav .btn-tel { margin-top: 14px; justify-content: center; border-bottom: 0; }
  .burger { display: block; }
  .deux-col { grid-template-columns: 1fr !important; }
  .pied .colonnes { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .heros { padding: 56px 0 52px; }
  .entete .logo img { height: 40px; }
  .form-zone { padding: 22px 18px; border-radius: 14px; }
  .f-adresse { grid-template-columns: 1fr; }
  .tableau-prix th.ttc20, .tableau-prix td.ttc20 { display: none; }
  .soeur { flex-direction: column; align-items: flex-start; }
  .barre-mobile { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--bord); box-shadow: 0 -6px 20px rgba(0,0,0,.08); }
  .barre-mobile .btn { padding: 13px 10px; font-size: .95rem; }
}
/* ---------- Formules ---------- */
.formules { display: grid; gap: 26px 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.formule { position: relative; background: #fff; border: 1px solid var(--bord); border-radius: var(--rayon); padding: 30px 26px 26px; display: flex; flex-direction: column; gap: 10px; }
.formule h2 { font-size: 1.35rem; margin: 0; }
.formule .des { color: var(--gris); margin: 0; }
.formule .des strong { font-family: var(--titres); font-size: 2.6rem; color: var(--navy); line-height: 1.1; }
.formule ul { list-style: none; padding: 0; margin: 6px 0 16px; }
.formule li { padding-left: 22px; position: relative; margin-bottom: 6px; }
.formule li::before { content: ""; position: absolute; left: 0; top: .6em; width: 9px; height: 9px; border-radius: 50%; background: var(--jaune); }
.formule .btn { margin-top: auto; }
.formule.vedette { border: 2px solid var(--jaune); box-shadow: 0 12px 30px rgba(21,35,59,.08); }
.etiquette { position: absolute; top: -13px; left: 22px; background: var(--jaune); color: var(--navy); font-weight: 700; font-size: .82rem; padding: 4px 12px; border-radius: 999px; }
/* ---------- Quantités et formule réservée ---------- */
.qte { display: flex; align-items: center; gap: 8px; margin: 2px 0; }
.qte button { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid #CBD2DC; background: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--navy); }
.qte button:hover { border-color: var(--navy); }
.qte input { width: 64px; text-align: center; padding: 8px; border: 1.5px solid #CBD2DC; border-radius: 10px; font: inherit; }
.qte span { color: var(--gris); font-size: .95rem; }
.total { margin: 0 0 14px; color: var(--gris); }
.total strong { color: var(--navy); font-size: 1.25rem; }
.total span { font-size: .85rem; }
.formule-choisie { background: var(--jaune-clair); border-radius: 12px; padding: 14px 18px; margin-bottom: 18px; color: var(--navy); }

/* ---------- Interventions (avant / après) ---------- */
.interventions { display: grid; gap: 28px; }
.interv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 30px; align-items: center; background: #fff; border: 1px solid var(--bord); border-radius: var(--rayon); padding: 22px; }
.av-ap { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.av-ap figure { margin: 0; position: relative; }
.av-ap img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }
.av-ap figcaption { position: absolute; left: 10px; top: 10px; background: var(--navy); color: #fff; font-weight: 700; font-size: .8rem; padding: 3px 10px; border-radius: 999px; }
.av-ap figure + figure figcaption { background: var(--jaune); color: var(--navy); }
.interv-texte h3 { font-size: 1.3rem; margin: 4px 0 12px; }
.interv-texte p { margin: 0 0 10px; color: var(--texte); }
.interv .lieu { color: var(--gris); font-size: .9rem; margin: 0; }
.interv .resultat { font-weight: 700; color: var(--navy); margin-top: 14px; }
@media (max-width: 860px) { .interv { grid-template-columns: 1fr; } }
.av-ap.seul { grid-template-columns: 1fr; max-width: 300px; }