/* marchetti — surcharges du squelette couleur-franche */
.entete { border-bottom-color: var(--jaune); }
.marque small { color: var(--jaune); }
.menu a:hover, .menu a[aria-current] { border-color: var(--jaune); }
.menu-bouton { background: var(--jaune); color: var(--encre); }
.menu .bouton-urgence, .bouton-urgence { background: var(--jaune); color: var(--encre); border-color: var(--jaune); }
.menu .bouton-urgence:hover, .bouton-urgence:hover { background: #fff; border-color: #fff; color: var(--encre); }
.hero { background: var(--champ); color: var(--champ-encre); }
.hero h1 em, .zone h2 em, .devis h2 em { font-style: normal; color: var(--jaune); }
.hero .bouton { background: var(--jaune); color: var(--encre); border-color: var(--jaune); }
.hero .bouton:hover { background: #fff; border-color: #fff; }
.hero .bouton-second { background: transparent; color: #fff; border-color: #fff; }
.hero .bouton-second:hover { background: #fff; color: var(--champ); }
.hero-infos { border-top-color: rgba(255,255,255,.55); }
.hero-visuel figcaption span:last-child { color: var(--accent); }
.pastille { background: var(--jaune); color: var(--encre); }
.hero .contenu { align-items: start; }

/* touche : panneau « dépannage en un clic » — on choisit la panne, le créneau et le prix de départ s'affichent */
.sos { margin-top: var(--e-4); background: var(--papier); color: var(--encre); border: var(--cadre); border-radius: var(--rayon-grand); padding: var(--e-3); max-width: 560px; }
.sos h2 { font-size: 1.25rem; margin: 0 0 var(--e-2); line-height: 1.1; }
.sos-choix { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 var(--e-2); padding: 0; border: 0; }
.sos-choix legend { position: absolute; left: -999px; }
.sos-choix button { min-height: 52px; padding: 10px 12px; text-align: left; font-weight: 700; font-size: var(--t-petit); line-height: 1.2; border: 2px solid var(--filet); border-radius: var(--rayon); background: #fff; color: var(--encre); transition: background-color 120ms linear, color 120ms linear; }
.sos-choix button:hover { background: var(--fond); }
.sos-choix button[aria-pressed="true"] { background: var(--encre); color: #fff; }
.sos-reponse { border-top: 2px solid var(--filet); padding-top: var(--e-2); min-height: 118px; }
.sos-reponse p { margin: 0 0 8px; max-width: none; }
.sos-reponse .creneau { font-family: var(--police-titre); font-size: 1.5rem; line-height: 1.1; color: var(--accent); }
.sos-reponse .note { font-size: .85rem; color: var(--encre-2); }
.sos-reponse .bouton { margin-top: 8px; width: 100%; background: var(--accent); border-color: var(--accent); color: #fff; }
.sos-reponse .bouton:hover { background: var(--encre); border-color: var(--encre); }
.sos-reponse[data-actif] { animation: sos-entree 180ms var(--ease-sortie); }
@keyframes sos-entree { from { opacity: .2; transform: translateY(4px); } }

.rayons .repere { color: var(--accent); }
.offre { background: var(--fond); }
.tarif-grand { font-family: var(--police-titre); }
.etapes { list-style: none; margin: var(--e-3) 0 0; padding: 0; display: grid; gap: var(--e-2); }
.etapes li { display: grid; grid-template-columns: 92px 1fr; gap: var(--e-2); align-items: start; }
.etapes .duree { font-family: var(--police-titre); font-size: 1rem; background: var(--jaune); border: var(--cadre); padding: 8px 4px; text-align: center; border-radius: var(--rayon); line-height: 1.1; }
.etapes b { display: block; font-size: 1.1rem; }
.services-liste .tarif { background: var(--jaune); }
.galerie { background: var(--champ-vif); }
.galerie h2 { color: #fff; }
.galerie .mosaique { grid-template-columns: repeat(2, 1fr); gap: var(--e-2); }
.galerie .mosaique li, .galerie .mosaique li:nth-child(n) { grid-column: auto; background: transparent; border: 0; padding: 0; border-radius: 0; }
.galerie .mosaique li img, .galerie .mosaique li:nth-child(n) img { aspect-ratio: 3 / 2; border-radius: 0; display: block; }
.galerie .mosaique figcaption { color: #fff; padding-top: 10px; }
.zone .communes { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: var(--e-2) 0 0; padding: 0; }
.zone .communes li { background: var(--jaune); color: var(--encre); font-weight: 700; padding: 6px 12px; border-radius: var(--rayon); font-size: var(--t-petit); }
.zones-liste { list-style: none; margin: 0 0 var(--e-3); padding: 0; border-top: 2px solid var(--jaune); }
.zones-liste li { padding: 12px 0; border-bottom: 1px solid rgba(238,245,255,.28); }
.zones-liste b { display: block; color: var(--jaune); }
.devis { background: var(--champ); color: #fff; }
.devis .contenu { display: grid; gap: var(--e-4); }
.devis .formulaire { color: var(--encre); }
.devis .coordonnees a { color: #fff; }
.devis .formulaire select { font: inherit; padding: 12px 14px; border: 2px solid var(--filet-fin); background: #fff; color: var(--encre); min-height: 48px; width: 100%; border-radius: var(--rayon); }
.devis .formulaire .confirmation { background: var(--jaune); }
.devis ul.promesses { list-style: none; padding: 0; margin: var(--e-3) 0 0; display: grid; gap: 10px; }
.devis ul.promesses li { padding-left: 28px; position: relative; }
.devis ul.promesses li::before { content: "\2713"; position: absolute; left: 0; top: 0; font-weight: 900; color: var(--jaune); }
.contact { background: var(--fond); }
.barre-mobile { display: none; }
@media (max-width: 699px) {
  .barre-mobile { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; background: var(--sombre); border: 3px solid var(--jaune); border-radius: var(--rayon-grand); overflow: hidden; }
  .barre-mobile a { display: flex; align-items: center; justify-content: center; min-height: 56px; font-weight: 800; text-decoration: none; color: #fff; }
  .barre-mobile a:first-child { background: var(--jaune); color: var(--encre); }
  .pied { padding-bottom: 104px; }
  .hero-visuel { margin-bottom: var(--e-2); }
  .sos-choix button { font-size: .9rem; }
}
@media (min-width: 700px) {
  .devis .contenu { grid-template-columns: 1fr 1fr; }
  .etapes li { grid-template-columns: 110px 1fr; }
}
/* premier écran : tout tient dans 800 px de haut à 1280 */
:root { --t-1: clamp(2.6rem, 1.4rem + 4.6vw, 4.7rem); }
.hero { padding-block: var(--e-4) var(--e-4); }
.hero-texte .chapo { margin: var(--e-2) 0 0; font-size: 1.125rem; }
.sos { margin-top: var(--e-3); padding: var(--e-2) var(--e-3) var(--e-3); }
.sos-reponse { min-height: 96px; }
@media (min-width: 700px) {
  .hero { padding-block: var(--e-6); }
  .hero .contenu { grid-template-columns: 1.3fr .7fr; gap: var(--e-6); align-items: center; }
  .hero-visuel img { aspect-ratio: 4 / 5; }
}
/* marges explicites des sections colorées (lisibles sans variables) */
section.hero, section.galerie, section.zone, section.devis { padding-left: 24px; padding-right: 24px; padding-top: 48px; padding-bottom: 64px; }
@media (min-width: 700px) { section.hero, section.galerie, section.zone, section.devis { padding-left: 40px; padding-right: 40px; padding-top: 72px; padding-bottom: 96px; } }
@media (max-width: 699px) { .barre-mobile a { padding: 0 16px; font-size: 1rem; } }
.hero-visuel figcaption { color: var(--encre); } .hero-visuel figcaption span:last-child { color: var(--accent); }
