/* ==========================================================
   Smile Informatique — feuille de style
   Couleurs reprises du logo : bleu #047BD5, gris #434547
   ========================================================== */

@font-face {
  font-family: "Montserrat"; src: url("fonts/montserrat.woff") format("woff");
  font-weight: 600 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Sans 3"; src: url("fonts/source-sans-3.woff") format("woff");
  font-weight: 400 700; font-style: normal; font-display: swap;
}

:root {
  --bleu: #047bd5;          /* bleu du logo */
  --bleu-fonce: #0566b2;    /* boutons et liens (meilleur contraste) */
  --bleu-pale: #e7f1fb;
  --nuit: #0b2e4f;          /* bandeau, pied de page */
  --encre: #1d262f;         /* titres */
  --texte: #434547;         /* gris du logo */
  --texte-doux: #646a70;
  --fond: #f2f5f8;
  --ligne: #d8e0e8;
  --urgence: #c8352b;
  --urgence-fonce: #a92a21;
  --ouvert: #1d9a56;

  --titre: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --corps: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

  --max: 1160px;
  --gouttiere: clamp(18px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--corps);
  font-size: 18px;
  line-height: 1.6;
  color: var(--texte);
  background: #fff;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--bleu-fonce); text-underline-offset: 3px; }
a:hover { color: var(--nuit); }

:focus-visible { outline: 3px solid #f2a900; outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--titre);
  color: var(--encre);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 4.2vw, 2.85rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.conteneur { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gouttiere); }
.etroit { max-width: 68ch; }

.lien-evitement {
  position: absolute; left: -9999px; top: 0;
  background: var(--nuit); color: #fff; padding: 10px 16px; z-index: 100;
}
.lien-evitement:focus { left: 10px; top: 10px; }

.visuellement-cache {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Bandeau du haut (fixe) ---------- */
.bandeau {
  position: sticky; top: 0; z-index: 50;
  background: var(--nuit); color: #dce7f2;
  font-size: .95rem;
}
.bandeau .conteneur {
  display: flex; align-items: center; gap: 22px;
  min-height: 48px;
}
.statut { margin: 0; display: flex; align-items: center; gap: 9px; color: #fff; font-weight: 600; }
.statut::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: #8a99a8; flex: none;
}
.statut.est-ouvert::before { background: #34c477; box-shadow: 0 0 0 0 rgba(52,196,119,.6); animation: pouls 2.4s infinite; }
@keyframes pouls {
  0% { box-shadow: 0 0 0 0 rgba(52,196,119,.55); }
  70% { box-shadow: 0 0 0 9px rgba(52,196,119,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,196,119,0); }
}
.bandeau .horaires-courts { color: #b3c4d6; }
.bandeau .tel-bandeau {
  margin-left: auto; color: #fff; text-decoration: none;
  font-family: var(--titre); font-weight: 700; font-size: 1.05rem; letter-spacing: .01em;
  white-space: nowrap;
}
.bandeau .tel-bandeau:hover { color: #9fd0ff; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--titre); font-weight: 700; font-size: 1rem;
  padding: 13px 22px; border-radius: 7px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-urgence { background: var(--urgence); color: #fff; }
.btn-urgence:hover { background: var(--urgence-fonce); color: #fff; }
.btn-bleu { background: var(--bleu-fonce); color: #fff; }
.btn-bleu:hover { background: var(--nuit); color: #fff; }
.btn-contour { background: #fff; color: var(--bleu-fonce); border-color: var(--bleu-fonce); }
.btn-contour:hover { background: var(--bleu-pale); color: var(--nuit); }
.btn-clair { background: #fff; color: var(--nuit); }
.btn-clair:hover { background: var(--bleu-pale); color: var(--nuit); }
.bandeau .btn-urgence { padding: 7px 14px; font-size: .92rem; }

/* ---------- En-tête ---------- */
.entete { background: #fff; border-bottom: 1px solid var(--ligne); }
.entete .conteneur { display: flex; align-items: center; gap: 28px; padding-top: 12px; padding-bottom: 12px; }
.logo img { height: 84px; width: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a {
  display: block; padding: 10px 14px; border-radius: 6px;
  color: var(--encre); text-decoration: none; font-weight: 600; font-size: 1.02rem;
}
.nav a:hover { background: var(--fond); color: var(--bleu-fonce); }
.nav a[aria-current="page"] { color: var(--bleu-fonce); box-shadow: inset 0 -3px 0 var(--bleu); border-radius: 6px 6px 0 0; }
.menu-bouton {
  display: none; margin-left: auto;
  background: none; border: 2px solid var(--ligne); border-radius: 7px;
  padding: 9px 12px; font: 600 1rem var(--corps); color: var(--encre); cursor: pointer;
}

/* ---------- Héros ---------- */
.heros { padding: clamp(36px, 6vw, 72px) 0 clamp(40px, 6vw, 76px); }
.heros .conteneur { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.heros h1 { max-width: 20ch; font-size: clamp(2rem, 4vw, 2.6rem); }
.chapo { font-size: 1.2rem; color: var(--texte); max-width: 52ch; margin-bottom: 28px; }

.appel {
  display: inline-flex; align-items: center; gap: 16px;
  background: var(--bleu); color: #fff; text-decoration: none;
  padding: 16px 26px 16px 20px; border-radius: 10px;
  transition: background-color .15s ease;
}
.appel:hover { background: var(--bleu-fonce); color: #fff; }
.appel svg { width: 34px; height: 34px; flex: none; }
.appel span { display: block; line-height: 1.15; }
.appel .appel-libelle { font-weight: 600; font-size: 1rem; color: #e4f1fd; }
.appel .appel-numero { white-space: nowrap; font-family: var(--titre); font-weight: 800; font-size: clamp(1.7rem, 3.2vw, 2.15rem); letter-spacing: .01em; font-variant-numeric: tabular-nums; }

.sous-appel { margin: 14px 0 0; color: var(--texte-doux); }

.points {
  list-style: none; padding: 0; margin: 34px 0 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px;
  max-width: 600px;
}
.points li { font-size: 1rem; display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--encre); }
.points svg { width: 22px; height: 22px; flex: none; color: var(--bleu); margin-top: 2px; }

/* Carte « on vous rappelle » */
.rappel {
  background: var(--fond); border: 1px solid var(--ligne); border-radius: 12px;
  padding: clamp(22px, 3vw, 30px);
}
.rappel h2 { font-size: 1.45rem; margin-bottom: .3em; }
.rappel > p { color: var(--texte-doux); margin-bottom: 18px; }

/* ---------- Formulaires ---------- */
.champ { margin-bottom: 14px; }
.champ label, .champ legend { display: block; font-weight: 600; color: var(--encre); margin-bottom: 5px; font-size: .98rem; }
.champ .facultatif { font-weight: 400; color: var(--texte-doux); }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--encre);
  background: #fff; border: 1.5px solid #b9c5d1; border-radius: 7px;
  padding: 11px 13px;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--bleu); outline: 3px solid rgba(4,123,213,.22); outline-offset: 0; }
.deux-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-note { font-size: .92rem; color: var(--texte-doux); margin: 12px 0 0; }
.form-note-haut { margin: 0 0 18px; }
.sans-marge { margin: 0; }
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
form .btn { width: 100%; }
.alerte {
  border-left: 4px solid var(--urgence); background: #fdf0ef; color: var(--encre);
  padding: 12px 16px; border-radius: 0 6px 6px 0; margin-bottom: 18px;
}

/* ---------- Sections ---------- */
.section { padding: clamp(52px, 8vw, 92px) 0; }
.section-grise { background: var(--fond); }
.intro { max-width: 62ch; margin-bottom: 36px; font-size: 1.1rem; }

/* Pannes courantes : tuiles courtes */
.pannes {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.pannes li {
  background: #fff; border: 1px solid var(--ligne); border-radius: 10px;
  padding: 20px 18px; display: flex; flex-direction: column; gap: 4px;
}
.pannes svg { width: 28px; height: 28px; color: var(--bleu); margin-bottom: 8px; }
.pannes strong { font-family: var(--titre); font-weight: 700; font-size: 1.05rem; color: var(--encre); line-height: 1.25; }
.pannes span { color: var(--texte-doux); font-size: .98rem; line-height: 1.4; }

/* Tarifs, présentés comme un tableau d'atelier */
.tarifs { max-width: 860px; border-top: 3px solid var(--encre); }
.tarif {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px;
  padding: 22px 0; border-bottom: 1px solid var(--ligne); align-items: baseline;
}
.tarif-nom { font-family: var(--titre); font-weight: 700; font-size: 1.2rem; color: var(--encre); display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tarif-desc { grid-column: 1; margin: 0; color: var(--texte-doux); }
.tarif-prix {
  grid-column: 2; grid-row: 1 / span 2; align-self: center; text-align: right;
  font-family: var(--titre); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--bleu-fonce);
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.tarif-prix small { font-size: .55em; font-weight: 600; color: var(--texte-doux); margin-right: 4px; }
.etiquette {
  font-family: var(--corps); font-size: .85rem; font-weight: 700;
  background: var(--bleu-pale); color: var(--bleu-fonce);
  padding: 3px 10px; border-radius: 20px; letter-spacing: 0;
}
.tarifs-note { max-width: 860px; margin-top: 18px; color: var(--texte-doux); font-size: 1rem; }

/* Encart à côté des tarifs */
.tarifs-grille { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px clamp(32px, 5vw, 64px); align-items: start; }
.tarifs-grille .tarifs, .tarifs-grille .tarifs-note { max-width: none; }
.tarifs-aide { background: var(--fond); border-radius: 10px; padding: 26px; margin-top: 3px; }
.tarifs-aide h3 { font-size: 1.15rem; }
.tarifs-aide p { color: var(--texte-doux); font-size: 1rem; }
.tarifs-aide .btn { width: 100%; }

/* Étapes (vraie séquence) */
.etapes {
  list-style: none; margin: 0; padding: 0; counter-reset: etape;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
}
.etapes li { counter-increment: etape; position: relative; padding-top: 58px; }
.etapes li::before {
  content: counter(etape);
  position: absolute; top: 0; left: 0;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--bleu); color: #fff;
  font: 800 1.15rem/42px var(--titre); text-align: center;
}
.etapes li:not(:last-child)::after {
  content: ""; position: absolute; top: 21px; left: 54px; right: -20px;
  border-top: 2px dashed #a9c6e3;
}
.etapes h3 { margin-bottom: .3em; }
.etapes p { margin: 0; color: var(--texte-doux); }

/* Zone et horaires */
.zone-grille { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); }
.communes { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.communes li { background: #fff; border: 1px solid var(--ligne); border-radius: 6px; padding: 5px 12px; font-weight: 600; color: var(--encre); font-size: .98rem; }
.horaires { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.horaires th, .horaires td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--ligne); }
.horaires th { font-weight: 600; color: var(--encre); }
.horaires td { text-align: right; font-variant-numeric: tabular-nums; }
.horaires tr.aujourdhui { background: var(--bleu-pale); }
.horaires tr.aujourdhui th::after { content: " (aujourd'hui)"; font-weight: 400; color: var(--bleu-fonce); }
.horaires .ferme { color: var(--texte-doux); }

/* Bande sombre */
.bande {
  background: var(--nuit); color: #d2e0ee;
  padding: clamp(44px, 6vw, 64px) 0;
}
.bande .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; }
.bande h2 { color: #fff; margin-bottom: .3em; }
.bande p { margin: 0; max-width: 58ch; }
.bande-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq details:first-child { border-top: 1px solid var(--ligne); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
  font-family: var(--titre); font-weight: 600; font-size: 1.08rem; color: var(--encre);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px;
  border-right: 2.5px solid var(--bleu); border-bottom: 2.5px solid var(--bleu);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 20px; max-width: 70ch; }

/* Contact */
.contact-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-direct .appel { margin: 6px 0 22px; }
.coordonnees { list-style: none; padding: 0; margin: 0; }
.coordonnees li { padding: 12px 0; border-top: 1px solid var(--ligne); }
.coordonnees strong { display: block; color: var(--encre); font-size: .95rem; }
.formulaire { background: #fff; border: 1px solid var(--ligne); border-radius: 12px; padding: clamp(22px, 3vw, 34px); }
.section-grise .formulaire { border-color: #cfd9e3; }

/* ---------- Pied de page ---------- */
.pied { background: #071f37; color: #b7c7d8; padding: 56px 0 0; font-size: 1rem; }
.pied a { color: #e6eef6; text-decoration: none; }
.pied a:hover { color: #fff; text-decoration: underline; }
.pied-grille { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 36px; }
.pied-logo img { height: 82px; width: auto; margin-bottom: 14px; }
.pied h2 { font-size: 1rem; color: #fff; margin-bottom: 12px; letter-spacing: 0; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: 7px; }
.pied-bas {
  margin-top: 44px; padding: 18px 0 22px; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; gap: 8px 24px; flex-wrap: wrap; font-size: .92rem;
}
.pied-bas p { margin: 0 auto 0 0; }

/* Bandeau cookies */
.cookies {
  position: fixed; z-index: 70; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: min(760px, calc(100% - 24px));
  background: #fff; border: 1px solid var(--ligne); border-radius: 12px;
  box-shadow: 0 10px 34px rgba(11,46,79,.22);
  padding: 16px 18px; display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap;
  font-size: .98rem;
}
.cookies[hidden] { display: none; }
.cookies p { margin: 0; flex: 1 1 340px; color: var(--encre); }
.cookies-boutons { display: flex; gap: 10px; flex: none; }
.cookies .btn { padding: 10px 18px; min-width: 110px; }
.lien-cookies { background: none; border: 0; padding: 0; font: inherit; color: #e6eef6; cursor: pointer; }
.lien-cookies:hover { color: #fff; text-decoration: underline; }

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

/* ---------- Fenêtre « urgence » (ordinateur) ---------- */
dialog.urgence {
  border: 0; border-radius: 14px; padding: 0; max-width: 460px; width: calc(100% - 32px);
  color: var(--texte); box-shadow: 0 24px 60px rgba(11,46,79,.35);
}
dialog.urgence::backdrop { background: rgba(11,46,79,.55); }
.urgence-tete { background: var(--urgence); color: #fff; padding: 20px 26px; }
.urgence-tete h2 { color: #fff; font-size: 1.3rem; margin: 0; }
.urgence-corps { padding: 22px 26px 26px; }
.urgence-numero { display: block; font-family: var(--titre); font-weight: 800; font-size: 2.2rem; color: var(--encre); text-decoration: none; margin: 2px 0 6px; font-variant-numeric: tabular-nums; }
.urgence-sep { border: 0; border-top: 1px solid var(--ligne); margin: 18px 0; }
.fermer {
  position: absolute; top: 12px; right: 12px; width: 38px; height: 38px;
  background: rgba(255,255,255,.18); color: #fff; border: 0; border-radius: 50%;
  font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.fermer:hover { background: rgba(255,255,255,.3); }

/* ---------- Page pro ---------- */
.chiffres { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 12px 30px; }
.chiffres li { display: flex; align-items: center; gap: 9px; font-weight: 600; color: var(--encre); }
.chiffres svg { width: 20px; height: 20px; color: var(--bleu); flex: none; }

.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 44px; }
.service { padding: 24px 0 26px; border-top: 2px solid var(--encre); }
.service svg { width: 30px; height: 30px; color: var(--bleu); margin-bottom: 12px; }
.service p { margin: 0; color: var(--texte-doux); }

.formules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.formule {
  background: #fff; border: 1px solid var(--ligne); border-radius: 10px;
  padding: 28px 26px; display: flex; flex-direction: column;
}
.formule.mise-en-avant { border: 2px solid var(--bleu); position: relative; }
.formule .etiquette { position: absolute; top: -14px; left: 24px; background: var(--bleu); color: #fff; }
.formule h3 { font-size: 1.4rem; margin-bottom: .15em; }
.formule .pour { color: var(--texte-doux); margin-bottom: 16px; }
.formule ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.formule li { padding: 8px 0 8px 28px; border-top: 1px solid var(--ligne); position: relative; }
.formule li::before {
  content: ""; position: absolute; left: 4px; top: 15px; width: 12px; height: 7px;
  border-left: 2.5px solid var(--bleu); border-bottom: 2.5px solid var(--bleu); transform: rotate(-45deg);
}
.formule .prix-devis { font-family: var(--titre); font-weight: 700; color: var(--encre); font-size: 1.15rem; margin-bottom: 14px; }

.etapes.trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Audit gratuit (page pro) */
.audit {
  display: flex; align-items: center; justify-content: space-between; gap: 18px 36px; flex-wrap: wrap;
  background: var(--bleu-pale); border: 1px solid #c4dcf3; border-radius: 12px;
  padding: 24px 28px; margin-bottom: 34px;
}
.audit h3 { font-size: 1.3rem; margin-bottom: .25em; }
.audit p { margin: 0; max-width: 60ch; }
.audit .btn { flex: none; }

/* ---------- Page mentions légales ---------- */
.legal { max-width: 760px; }
.legal h1 { margin-bottom: .4em; }
.legal h2 { font-size: 1.35rem; margin: 2em 0 .6em; padding-top: .2em; }
.legal dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 24px; margin: 0; }
.legal dt { font-weight: 600; color: var(--encre); }
.legal dd { margin: 0; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .3em; }
.a-completer { background: #fff4c2; border-left: 4px solid #e0b100; padding: 10px 14px; border-radius: 0 6px 6px 0; }

/* ---------- Page site web ---------- */
.offres-web { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; max-width: 980px; }
.offre-web { padding: 24px 0; border-top: 1px solid var(--ligne); }
.offre-web p { margin: 0; color: var(--texte-doux); }
.renvoi {
  margin-top: 44px; padding: 30px; border-radius: 12px; background: var(--fond); border: 1px solid var(--ligne);
  display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; max-width: 980px;
}
.renvoi p { margin: 0; max-width: 52ch; }
.renvoi strong { color: var(--encre); }

/* Page merci */
.merci { padding: clamp(60px, 10vw, 120px) 0; }
.merci .conteneur { max-width: 720px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .pannes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav a { padding: 10px 10px; font-size: .98rem; }
  .bandeau .horaires-courts { display: none; }
  .pied-grille { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 880px) {
  .menu-bouton { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--ligne); display: none; z-index: 40; }
  .nav.ouvert { display: block; }
  .nav ul { flex-direction: column; padding: 8px var(--gouttiere) 16px; }
  .nav a { padding: 13px 8px; border-bottom: 1px solid var(--fond); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--bleu); padding-left: 16px; }
  .entete { position: relative; }
  .logo img { height: 60px; }

  .heros .conteneur, .zone-grille, .contact-grille, .tarifs-grille { grid-template-columns: 1fr; }
  .etapes { grid-template-columns: 1fr 1fr; }
  .etapes li:not(:last-child)::after { display: none; }
  .formules { grid-template-columns: 1fr; max-width: 520px; }
  .formule.mise-en-avant { margin-top: 10px; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .pied-bas { padding-bottom: 96px; }
  h1 { font-size: 2rem; }
  .heros h1 { font-size: clamp(1.55rem, 7.3vw, 2rem); }
  .statut .detail { display: none; }
  h2 { font-size: 1.5rem; }
  .section { padding: 44px 0; }
  .heros { padding: 28px 0 40px; }
  .chapo { font-size: 1.08rem; margin-bottom: 22px; }
  .intro { font-size: 1rem; margin-bottom: 22px; }
  .points { grid-template-columns: 1fr; gap: 6px; margin-top: 22px; }
  .points li { font-size: .95rem; }
  .points svg { width: 18px; height: 18px; }
  .pannes { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pannes li { padding: 14px; flex-direction: row; align-items: center; gap: 10px; }
  .pannes svg { width: 24px; height: 24px; margin: 0; flex: none; }
  .pannes strong { font-size: .95rem; }
  .pannes span { display: none; }
  .tarif { padding: 16px 0; }
  .tarif-nom { font-size: 1.05rem; gap: 6px 10px; }
  .tarif-desc { font-size: .95rem; }
  .communes { gap: 6px; }
  .communes li { font-size: .9rem; padding: 3px 9px; }
  .horaires { font-size: 1rem; }
  .horaires th, .horaires td { padding: 9px 8px; }
  .faq summary { font-size: 1rem; padding: 15px 34px 15px 0; }
  .services .service { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 14px; padding: 16px 0; }
  .service svg { width: 26px; height: 26px; margin: 2px 0 0; grid-row: span 2; }
  .service h3 { margin-bottom: .2em; }
  .service p { font-size: .95rem; }
  .formule { padding: 22px 20px; }
  .audit { padding: 20px; }
  .audit .btn { width: 100%; }
  .legal dl { grid-template-columns: 1fr; gap: 0; }
  .legal dd { margin-bottom: 10px; }
  .bandeau { position: static; }
  .bandeau .tel-bandeau, .bandeau .btn-urgence { display: none; }
  .bandeau .conteneur { min-height: 42px; justify-content: center; }
  .offres-web, .services, .chiffres { grid-template-columns: 1fr; }
  .etapes, .etapes.trois { grid-template-columns: 1fr; gap: 24px; }
  .etapes li { padding: 0 0 0 58px; }
  .deux-champs { grid-template-columns: 1fr; }
  .deux-champs.serre { grid-template-columns: 1fr 1fr; gap: 0 10px; }
  .appel { width: 100%; padding: 14px 16px; gap: 12px; }
  .appel svg { width: 28px; height: 28px; }
  .rappel { padding: 20px 18px; }
  .rappel .appel-numero { font-size: 1.5rem; }
  .bande-actions .btn { width: 100%; }
  .tarif-desc { grid-column: 1 / -1; }
  .tarif-prix { grid-row: 1; font-size: 1.45rem; }
  .pied { padding-top: 40px; }
  .pied-grille { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .pied-logo { grid-column: 1 / -1; }
  .pied-logo img { height: 64px; }
  .pied-grille > div:last-child { grid-column: 1 / -1; }
  .bande .conteneur { display: block; }
  .bande-actions { margin-top: 22px; }

  .barre-mobile {
    display: grid; grid-template-columns: 1.6fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: #fff; border-top: 1px solid var(--ligne);
    padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 18px rgba(11,46,79,.10);
  }
  .barre-mobile .btn { padding: 14px 10px; }
  .cookies { bottom: 82px; padding: 14px; font-size: .92rem; }
  .cookies-boutons { width: 100%; }
  .cookies .btn { flex: 1; min-width: 0; }
}

/* Héros simple (page site web) et panneau panne pro */
.heros-simple .conteneur { grid-template-columns: minmax(0, 1fr); }
.heros-simple h1 { max-width: 22ch; }
.heros-simple .chapo { max-width: 62ch; }
.panne-pro { border-left: 5px solid var(--urgence); }
.panne-pro .appel { margin-top: 4px; }
.heros .bande-actions { margin-bottom: 4px; }
.btn-petit { padding: 6px 14px; font-size: .9rem; vertical-align: middle; }
.pied-bas .lien-cookies { font-size: inherit; }
