/* =============================================================================
   Modèle « Thomson » adapté aux métiers artisanaux — chauffagiste
   HTML / CSS / JS autonomes — aucune dépendance externe, aucune requête réseau.

   Charte reprise de l'original Thomson (Themefisher, licence MIT) :
   - accent rouge #f44336 posé sur une base noir / blanc, sans autre couleur
   - angles vifs : aucun arrondi nulle part (border-radius 0)
   - titres soulignés d'un filet rouge de 40 x 2 px
   - boutons et navigation en capitales, interlettrage 1 px
   - sections séparées par des filets fins plutôt que par des fonds colorés
   - grille de réalisations à recouvrement glissant depuis la gauche
   Les polices Lato / Work Sans de l'original sont remplacées par la pile
   système, et les photographies par des dégradés CSS.
   ============================================================================= */

:root {
  /* Couleurs exactes du thème Thomson */
  --rouge: #f44336;
  --noir: #000000;
  --noir-doux: #151515;
  --ardoise: #2f3238;          /* teinte du recouvrement portfolio */
  --texte: #818385;
  --gris: #f7f7f7;             /* .bg-secondary */
  --bleu-pale: #e8eefb;        /* .bg-extra, couleur des bordures de champs */
  --blanc: #ffffff;

  /* Formes : Thomson n'arrondit rien, l'angle vif est son parti pris */
  --radius: 0;
  --ombre: 0 6px 12px rgba(0, 0, 0, 0.175);

  --transition: 0.3s ease;
  --pile-police: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--pile-police);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.16px;
  color: var(--texte);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0;
  color: var(--noir);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--noir); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--rouge); }

/* Accessibilité : anneau de focus visible au clavier uniquement */
:focus-visible { outline: 2px solid var(--rouge); outline-offset: 3px; }

/* Libellé réservé aux lecteurs d'écran */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.conteneur { width: min(100% - 2.5rem, 1140px); margin-inline: auto; }
.conteneur--etroit { width: min(100% - 2.5rem, 820px); }

/* Sections : 120 px de respiration verticale dans l'original */
.section { padding: clamp(3.75rem, 9vw, 7.5rem) 0; }
.section--grise { background: var(--gris); }
.section--filet { border-top: 1px solid var(--bleu-pale); }

.section__entete { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__entete h2 { font-size: clamp(1.9rem, 4.2vw, 2.625rem); line-height: 1.24; }
.section__entete p { margin-top: 1.5rem; }

/* Suridentification Thomson : petit filet rouge sous les titres */
.titre-trait { position: relative; padding-bottom: 1.875rem; }
.titre-trait::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 40px; height: 2px;
  background: var(--rouge);
}

.etiquette {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--rouge);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.accent { color: var(--rouge); }

/* ----- Boutons : capitales, angles vifs, bordure de 2 px ------------------ */
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 38px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}
.bouton--grand { padding: 21px 44px; }

.bouton--rouge { background: var(--rouge); color: var(--blanc); }
.bouton--rouge:hover { background: var(--noir); color: var(--blanc); }

.bouton--noir { background: var(--noir); color: var(--blanc); }
.bouton--noir:hover { background: var(--rouge); color: var(--blanc); }

.bouton--blanc { background: var(--blanc); color: var(--noir); border-color: var(--blanc); }
.bouton--blanc:hover { background: transparent; color: var(--blanc); }

.bouton--contour { background: transparent; color: var(--noir); border-color: var(--noir); }
.bouton--contour:hover { background: var(--noir); color: var(--blanc); }

/* ----- En-tête ------------------------------------------------------------ */
.entete {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--blanc);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.entete.est-defile {
  border-bottom-color: var(--bleu-pale);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.entete__interieur {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 78px;
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--noir);
}
.logo:hover { color: var(--noir); }
.logo__accent { color: var(--rouge); }
.logo--pied { color: var(--blanc); }
.logo--pied:hover { color: var(--blanc); }

.nav {
  display: none;
  margin-left: auto;
  gap: 0.4rem;
}
.nav a {
  padding: 20px 15px;
  color: var(--noir);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.nav a:hover { color: var(--rouge); }
@media (min-width: 1100px) { .nav { display: flex; } }

.entete__actions { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }
@media (min-width: 1100px) { .entete__actions { margin-left: 0; } }

.entete__tel {
  display: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}
@media (min-width: 600px) { .entete__tel { display: inline; } }

.entete .bouton { display: none; padding: 14px 26px; }
@media (min-width: 820px) { .entete .bouton { display: inline-flex; } }

/* Bouton hamburger */
.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: 0;
  cursor: pointer;
}
.burger span {
  width: 24px; height: 2px;
  background: var(--noir);
  transition: background-color var(--transition);
}
.burger:hover span { background: var(--rouge); }
@media (min-width: 1100px) { .burger { display: none; } }

.nav.est-ouvert {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%; left: 0; right: 0;
  gap: 0;
  padding: 0.5rem 1.25rem 1.25rem;
  background: var(--noir-doux);
  box-shadow: var(--ombre);
}
.nav.est-ouvert a {
  padding: 12px 0;
  color: var(--blanc);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
}
.nav.est-ouvert a:last-child { border-bottom: 0; }
.nav.est-ouvert a:hover { color: var(--rouge); }

/* ----- Accroche : bandeau typographique nu, comme le « banner » d'origine -- */
.heros { padding: clamp(3.5rem, 9vw, 7.5rem) 0 clamp(3rem, 7vw, 5.5rem); }
.heros h1 {
  font-size: clamp(2rem, 5.4vw, 3.5rem);
  line-height: 1.25;
  max-width: 16ch;
}
@media (min-width: 900px) { .heros h1 { max-width: none; } }

.heros__texte {
  margin-top: 1.75rem;
  max-width: 44rem;
  font-size: 1.05rem;
}
.heros__boutons {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.heros__stats {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 2.25rem;
  border-top: 1px solid var(--bleu-pale);
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.stat strong {
  display: block;
  color: var(--noir);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 600;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.stat span {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ----- Bandeau de confiance défilant -------------------------------------- */
.bandeau-confiance {
  background: var(--noir);
  padding: 1.1rem 0;
  overflow: hidden;
}
.bandeau-confiance__piste {
  display: flex;
  width: max-content;
  gap: 3.25rem;
  animation: defilement 40s linear infinite;
}
.bandeau-confiance span {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}
/* Puce carrée : l'angle vif reste la signature du thème */
.bandeau-confiance span::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--rouge);
  flex-shrink: 0;
}
@keyframes defilement {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ----- Services : icône flottée à gauche, comme .service-item ------------- */
.grille-services {
  display: grid;
  gap: clamp(2.25rem, 4vw, 3.25rem) 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.service { display: grid; grid-template-columns: 65px 1fr; }
.service__icone { color: var(--noir); transition: color var(--transition); }
/* min-width évite qu'un mot long fasse déborder la cellule de grille */
.service__contenu { min-width: 0; }
.service__icone svg { width: 35px; height: 35px; }
.service:hover .service__icone { color: var(--rouge); }
.service h3 {
  margin-bottom: 0.75rem;
  font-size: 20px;
  line-height: 1.5;
  transition: color var(--transition);
}
.service:hover h3 { color: var(--rouge); }
.service p { font-size: 0.97rem; }

/* ----- Aides à la rénovation --------------------------------------------- */
.aides { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); align-items: start; }
@media (min-width: 992px) { .aides { grid-template-columns: 1.15fr 0.85fr; } }

.aides__contenu h2 { font-size: clamp(1.9rem, 4.2vw, 2.625rem); }
.aides__intro { margin-top: 1.5rem; }

.liste-aides {
  margin: 2.5rem 0;
  display: grid;
  gap: 1.75rem;
  counter-reset: aide;
}
.liste-aides li {
  position: relative;
  padding-left: 3.5rem;
  font-size: 0.97rem;
}
/* Numérotation carrée rouge, sans arrondi */
.liste-aides li::before {
  counter-increment: aide;
  content: "0" counter(aide);
  position: absolute;
  left: 0; top: 0.15em;
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  background: var(--rouge);
  color: var(--blanc);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.liste-aides strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--noir);
  font-size: 1.03rem;
  font-weight: 600;
}

.encart-aide {
  background: var(--noir);
  color: rgba(255, 255, 255, 0.68);
  padding: clamp(2rem, 4vw, 2.75rem);
}
.encart-aide__titre {
  display: block;
  color: var(--rouge);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.encart-aide__sous-titre { margin-top: 1rem; font-size: 0.95rem; }
.encart-aide__lignes {
  margin: 2rem 0 1.5rem;
  display: grid;
  gap: 0.9rem;
}
.encart-aide__lignes li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
}
.encart-aide__lignes strong {
  color: var(--blanc);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.encart-aide__total {
  border-bottom: 0 !important;
  padding-top: 0.4rem;
}
.encart-aide__total span { color: var(--blanc); font-weight: 600; }
.encart-aide__total strong { color: var(--rouge); font-size: 1.5rem; }
.encart-aide__note { font-size: 0.82rem; color: rgba(255, 255, 255, 0.45); }

/* ----- Bloc deux colonnes « pourquoi nous » ------------------------------- */
.duo { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); align-items: center; }
@media (min-width: 992px) { .duo { grid-template-columns: 0.85fr 1.15fr; } }

.duo__media { position: relative; }
/* Forme dessinée en CSS à la place d'une photographie */
.duo__forme {
  aspect-ratio: 4 / 4.6;
  background:
    linear-gradient(160deg, #2f3238 0%, #000000 100%);
  position: relative;
  overflow: hidden;
}
.duo__forme::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(200deg, rgba(244, 67, 54, 0.35) 0%, transparent 45%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 26px);
}
/* Filet rouge décalé, en écho au trait des titres */
.duo__forme::after {
  content: "";
  position: absolute;
  left: 2.25rem; bottom: 2.25rem;
  width: 64px; height: 2px;
  background: var(--rouge);
}
.duo__encart {
  position: absolute;
  right: -14px; bottom: 2.5rem;
  background: var(--rouge);
  color: var(--blanc);
  padding: 1.25rem 1.75rem;
  text-align: center;
}
.duo__encart strong {
  display: block;
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.duo__encart span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.duo__contenu h2 { font-size: clamp(1.9rem, 4.2vw, 2.625rem); line-height: 1.24; }
.duo__intro { margin-top: 1.5rem; }

.liste-atouts { margin: 2.5rem 0; display: grid; gap: 1.6rem; }
.liste-atouts li {
  position: relative;
  padding-left: 2.5rem;
  font-size: 0.97rem;
}
/* Croix carrée rouge en guise de puce */
.liste-atouts li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 14px; height: 2px;
  background: var(--rouge);
}
.liste-atouts strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--noir);
  font-size: 1.03rem;
  font-weight: 600;
}

/* ----- Chiffres ----------------------------------------------------------- */
.chiffres { background: var(--noir); padding: clamp(3.25rem, 6vw, 5rem) 0; }
.grille-chiffres {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.chiffre { position: relative; padding-top: 1.5rem; }
.chiffre::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 40px; height: 2px;
  background: var(--rouge);
}
.chiffre strong {
  display: block;
  color: var(--blanc);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.chiffre span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ----- Réalisations : recouvrement glissant, signature de Thomson --------- */
.grille-realisations {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.realisation {
  position: relative;
  margin: 0;
  overflow: hidden;
}
.realisation__visuel {
  position: relative;
  aspect-ratio: 1 / 1;
  transition: transform 0.4s ease;
}
.realisation:hover .realisation__visuel,
.realisation:focus-within .realisation__visuel { transform: scale(1.08); }

/* Dégradés de substitution aux photographies du thème */
.realisation__visuel[data-teinte="1"] { background: linear-gradient(145deg, #2f3238, #000); }
.realisation__visuel[data-teinte="2"] { background: linear-gradient(145deg, #45484f, #1b1d21); }
.realisation__visuel[data-teinte="3"] { background: linear-gradient(145deg, #f44336, #7d1710); }
.realisation__visuel[data-teinte="4"] { background: linear-gradient(145deg, #3a3d44, #0b0c0e); }
.realisation__visuel[data-teinte="5"] { background: linear-gradient(145deg, #24262a, #000); }
.realisation__visuel[data-teinte="6"] { background: linear-gradient(145deg, #55585f, #23252a); }
.realisation__visuel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 18px);
}

/* Voile sombre qui entre par la gauche, puis légende sur fond blanc */
.realisation__legende {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 2px;
  padding: 2.5rem;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.realisation__legende::before {
  content: "";
  position: absolute;
  left: -100%; top: 0;
  width: 100%; height: 100%;
  background: rgba(47, 50, 56, 0.8);
  transition: left 0.4s ease;
}
.realisation__legende strong,
.realisation__legende span {
  position: relative;
  z-index: 1;
  padding: 0 8px;
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(-150px);
}
.realisation__legende strong {
  color: var(--noir);
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.3s ease;
}
.realisation__legende span {
  color: var(--ardoise);
  font-size: 14px;
  transition: transform 0.5s ease;
}
.realisation:hover .realisation__legende,
.realisation:focus-within .realisation__legende { opacity: 1; }
.realisation:hover .realisation__legende::before,
.realisation:focus-within .realisation__legende::before { left: 0; }
.realisation:hover .realisation__legende strong,
.realisation:hover .realisation__legende span,
.realisation:focus-within .realisation__legende strong,
.realisation:focus-within .realisation__legende span { transform: translateX(0); }

/* Sur écran tactile, la légende reste affichée : rien ne se déclenche au survol */
@media (hover: none) {
  .realisation__legende { opacity: 1; }
  .realisation__legende::before { left: 0; }
  .realisation__legende strong,
  .realisation__legende span { transform: translateX(0); }
}

/* ----- Zones d'intervention ---------------------------------------------- */
.liste-zones { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.liste-zones li {
  padding: 0.7rem 1.4rem;
  background: var(--blanc);
  border: 1px solid var(--bleu-pale);
  color: var(--noir);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: border-color var(--transition), color var(--transition), background-color var(--transition);
}
.liste-zones li:hover {
  background: var(--noir);
  border-color: var(--noir);
  color: var(--blanc);
}

/* ----- Avis clients ------------------------------------------------------- */
.resume-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.etoiles { color: var(--rouge); letter-spacing: 2px; font-size: 1.05rem; }
.resume-note strong { color: var(--noir); font-weight: 600; }

.grille-avis {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.avis {
  margin: 0;
  padding: 2.25rem 2rem;
  background: var(--blanc);
  border: 1px solid var(--bleu-pale);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.avis:hover { border-color: var(--noir); box-shadow: var(--ombre); }
.avis p { margin-top: 1rem; font-size: 0.97rem; }
.avis footer {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--bleu-pale);
}
.avis strong { display: block; color: var(--noir); font-size: 0.98rem; font-weight: 600; }
.avis footer span { font-size: 14px; }

/* ----- Questions fréquentes : <details> natifs ---------------------------- */
.faq { display: grid; gap: 0.75rem; }
.faq__item {
  background: var(--blanc);
  border: 1px solid var(--bleu-pale);
  transition: border-color var(--transition);
}
.faq__item[open] { border-color: var(--rouge); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 1.75rem;
  color: var(--noir);
  font-size: 1.02rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--rouge); }
.faq__item summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--rouge);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
}
.faq__item[open] summary::after { content: "−"; }
.faq__reponse { padding: 0 1.75rem 1.6rem; font-size: 0.97rem; }

/* ----- Appel à l'action : pleine largeur en rouge (.bg-primary) ----------- */
.appel { background: var(--rouge); padding: clamp(3.25rem, 7vw, 5.5rem) 0; }
.appel__interieur {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) { .appel__interieur { grid-template-columns: 1.4fr 0.6fr; } }
.appel h2 {
  color: var(--blanc);
  font-size: clamp(1.75rem, 3.8vw, 2.4rem);
  line-height: 1.25;
}
.appel p { margin-top: 1.1rem; color: rgba(255, 255, 255, 0.9); max-width: 40rem; }
.appel__actions { display: flex; flex-direction: column; gap: 0.9rem; }
.appel .bouton--noir:hover { background: var(--blanc); color: var(--noir); }

/* ----- Pied de page ------------------------------------------------------- */
.pied {
  background: var(--noir);
  color: rgba(255, 255, 255, 0.5);
  padding: clamp(3.25rem, 6vw, 4.5rem) 0 1.75rem;
}
.pied__grille {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.pied h3 {
  margin-bottom: 1.25rem;
  color: var(--blanc);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.pied__texte { margin-top: 1.25rem; max-width: 24rem; font-size: 0.94rem; }
.pied__liste { display: grid; gap: 0.7rem; font-size: 0.94rem; }
.pied__liste a { color: rgba(255, 255, 255, 0.5); }
.pied__liste a:hover { color: var(--rouge); }
.pied__bas {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}
.pied__bas a { color: rgba(255, 255, 255, 0.4); }
.pied__bas a:hover { color: var(--rouge); }

/* ----- Barre d'appel permanente sur mobile ------------------------------- */
.appel-mobile {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  padding: 1.05rem;
  background: var(--rouge);
  color: var(--blanc);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.appel-mobile:hover { background: var(--noir); color: var(--blanc); }
@media (min-width: 768px) { .appel-mobile { display: none; } }

@media (max-width: 767px) {
  /* On dégage la hauteur de la barre d'appel fixe */
  body { padding-bottom: 3.6rem; }
  .duo__encart { right: 0; }
  .service { grid-template-columns: 52px 1fr; }
  .service__icone svg { width: 30px; height: 30px; }
  .realisation__legende { padding: 1.75rem; }
  .bouton { width: 100%; }
  .heros__boutons { flex-direction: column; align-items: stretch; }
}

/* ----- Respect de la préférence « animations réduites » ------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .bandeau-confiance__piste {
    animation: none;
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
  }
  .realisation__legende { opacity: 1; }
  .realisation__legende::before { left: 0; }
  .realisation__legende strong,
  .realisation__legende span { transform: translateX(0); }
}
