/* =========================================================
   SIFA AUTOMATISME — Feuille de style unique
   ---------------------------------------------------------
   Sommaire :
   01. Variables de couleurs et réglages globaux
   02. Reset et bases typographiques
   03. Conteneurs et titres de section
   04. Boutons
   05. En-tête et navigation
   06. Hero (grande image + overlay)
   07. Bande de chiffres clés
   08. Blocs 2 colonnes (texte + image)
   09. Cartes de services
   10. Badges (partenaires / fournisseurs)
   11. Timeline des étapes
   12. Zone d'intervention
   13. Infos pratiques
   14. Appel à l'action
   15. Page mentions légales
   16. Pied de page
   17. Responsive (tablette / mobile)
   ========================================================= */


/* =========================================================
   01. VARIABLES DE COULEURS
   Pour changer l'identité visuelle du site,
   il suffit de modifier les valeurs ci-dessous.
   ========================================================= */
:root {
  --rouge:          #b01319;  /* rouge profond : couleur d'accent principale */
  --rouge-fonce:    #7d0d12;  /* rouge foncé : survols et contrastes */
  --rouge-tres-clair:#fbf3f3; /* fond de section rouge très léger */

  --anthracite:     #1d2126;  /* gris anthracite : textes et fonds sombres */
  --anthracite-2:   #2b3138;  /* variante un peu plus claire */
  --acier:          #5f6b78;  /* gris acier : textes secondaires */
  --gris-clair:     #f4f5f7;  /* fond de section gris très clair */
  --gris-bordure:   #e3e6ea;  /* bordures fines */
  --blanc:          #ffffff;

  --rayon:          14px;     /* arrondi des cartes */
  --rayon-petit:    8px;      /* arrondi des boutons et badges */
  --ombre:          0 2px 4px rgba(29, 33, 38, .04), 0 12px 28px rgba(29, 33, 38, .07);
  --ombre-forte:    0 4px 10px rgba(29, 33, 38, .08), 0 20px 40px rgba(29, 33, 38, .12);

  --largeur:        1180px;   /* largeur maximale du contenu */
  --police: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}


/* =========================================================
   02. RESET ET BASES
   ========================================================= */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--police);
  font-size: 17px;
  line-height: 1.65;
  color: var(--anthracite);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--rouge); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.015em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul { margin: 0 0 1em; padding-left: 1.15em; }

/* Décalage pour que les ancres ne passent pas sous l'en-tête fixe */
section[id], div[id] { scroll-margin-top: 140px; }

/* Lien d'évitement pour l'accessibilité clavier */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--rouge); color: #fff;
  padding: 12px 18px; z-index: 999;
  border-radius: 0 0 var(--rayon-petit) 0;
}
.skip-link:focus { left: 0; }

/* Icônes SVG (le jeu d'icônes est défini une seule fois en haut du <body>) */
.ico {
  width: 26px; height: 26px; flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sprite { display: none; }


/* =========================================================
   03. CONTENEURS ET TITRES DE SECTION
   ========================================================= */
.conteneur {
  width: 100%;
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 0 24px;
}

/* Espacement vertical standard des sections */
.section { padding: 88px 0; }
.section--serre { padding: 64px 0; }

/* Fonds alternés */
.fond-gris  { background: var(--gris-clair); }
.fond-rouge { background: var(--rouge-tres-clair); }
.fond-sombre { background: var(--anthracite); color: #dfe3e8; }
.fond-sombre h2, .fond-sombre h3 { color: #fff; }

/* Petit sur-titre rouge au-dessus des h2 */
.surtitre {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .13em;
  color: var(--rouge);
  margin-bottom: 14px;
}
.surtitre::before {
  content: ""; width: 28px; height: 3px;
  background: var(--rouge); border-radius: 2px;
}
.fond-sombre .surtitre { color: #ff8d8d; }
.fond-sombre .surtitre::before { background: #ff8d8d; }

.titre-section { font-size: 36px; max-width: 22ch; }
.titre-section--large { max-width: 34ch; }

/* Chapeau de section : texte d'introduction court */
.chapeau {
  font-size: 18px;
  color: var(--acier);
  max-width: 68ch;
}
.fond-sombre .chapeau { color: #b9c1cb; }

/* En-tête de section centré */
.entete-centre { text-align: center; margin-bottom: 48px; }
.entete-centre .titre-section,
.entete-centre .chapeau { margin-left: auto; margin-right: auto; }
.entete-centre .titre-section { max-width: 28ch; }


/* =========================================================
   04. BOUTONS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: var(--rayon-petit);
  font-size: 16px; font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

/* Bouton principal rouge */
.btn--rouge { background: var(--rouge); color: #fff; }
.btn--rouge:hover { background: var(--rouge-fonce); }

/* Bouton gris foncé */
.btn--sombre { background: var(--anthracite); color: #fff; }
.btn--sombre:hover { background: var(--anthracite-2); }

/* Bouton contour blanc (sur photo ou fond sombre) */
.btn--contour-blanc { border-color: rgba(255,255,255,.75); color: #fff; }
.btn--contour-blanc:hover { background: #fff; color: var(--anthracite); border-color: #fff; }

/* Bouton contour foncé (sur fond clair) */
.btn--contour { border-color: var(--anthracite); color: var(--anthracite); }
.btn--contour:hover { background: var(--anthracite); color: #fff; }

/* Groupe de boutons */
.groupe-btn { display: flex; flex-wrap: wrap; gap: 14px; }


/* =========================================================
   05. EN-TÊTE ET NAVIGATION
   ========================================================= */
/* L'en-tête est sur deux niveaux : ligne de contact puis barre de menu */
.entete {
  position: sticky; top: 0; z-index: 100;
  background: var(--blanc);
  border-bottom: 1px solid var(--gris-bordure);
}

.entete__inner {
  display: flex; align-items: center; gap: 22px;
  min-height: 76px;
}

.entete__barre { border-top: 1px solid var(--gris-bordure); }

/* Logo texte */
.logo {
  display: flex; align-items: center; gap: 11px;
  color: var(--anthracite); text-decoration: none;
  margin-right: auto;
}
.logo:hover { text-decoration: none; }
.logo__marque {
  width: 40px; height: 40px; flex: none;
  border-radius: 9px;
  background: var(--rouge);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 17px;
  letter-spacing: -.03em;
}
.logo__texte { display: flex; flex-direction: column; line-height: 1.1; }
.logo__nom { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.logo__sous { font-size: 11.5px; color: var(--acier); text-transform: uppercase; letter-spacing: .1em; }

/* Menu de navigation */
.nav ul {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0 28px;
  list-style: none; margin: 0; padding: 0;
}
.nav a {
  display: block; padding: 13px 0;
  font-size: 15px; font-weight: 600;
  color: var(--anthracite-2); text-decoration: none;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--rouge); border-bottom-color: var(--rouge); text-decoration: none; }

/* Bloc téléphone dans l'en-tête */
.entete__tel {
  display: flex; align-items: center; gap: 9px;
  font-weight: 700; color: var(--anthracite); font-size: 16px;
}
.entete__tel:hover { text-decoration: none; color: var(--rouge); }
.entete__tel .ico { width: 20px; height: 20px; color: var(--rouge); }


/* =========================================================
   06. HERO
   ========================================================= */
.hero { position: relative; overflow: hidden; background: var(--anthracite); }

.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Overlay dégradé anthracite → rouge profond */
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(20,23,27,.94) 0%, rgba(23,26,31,.80) 42%, rgba(140,13,18,.62) 100%);
}

.hero__inner {
  position: relative; z-index: 2;
  padding: 108px 0 96px;
  max-width: 860px;
  color: #fff;
}

/* Étiquette au-dessus du titre */
.hero__etiquette {
  display: inline-block;
  padding: 7px 15px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 52px;
  color: #fff;
  margin-bottom: 22px;
}

.hero__sous {
  font-size: 19px;
  color: #e9ebee;
  max-width: 66ch;
  margin-bottom: 32px;
}

.hero .groupe-btn { margin-bottom: 34px; }

/* Petite liste de mots-clés séparés par des points */
.hero__mots {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  list-style: none; margin: 0; padding: 0;
  font-size: 14.5px; color: #d4d8dd;
}
.hero__mots li { display: flex; align-items: center; gap: 16px; }
.hero__mots li:not(:last-child)::after {
  content: "·"; color: var(--rouge); font-weight: 900; font-size: 20px;
}


/* =========================================================
   07. BANDE DE CHIFFRES CLÉS
   ========================================================= */
.chiffres {
  background: var(--anthracite);
  color: #fff;
  padding: 8px 0;
}
.chiffres__grille {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.chiffre {
  padding: 34px 22px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.12);
}
.chiffre:last-child { border-right: 0; }
.chiffre__valeur {
  display: block;
  font-size: 30px; font-weight: 800; line-height: 1.15;
  color: #fff;
  letter-spacing: -.02em;
}
.chiffre__valeur em { font-style: normal; color: #ff8d8d; }
.chiffre__libelle {
  display: block; margin-top: 6px;
  font-size: 13.5px; color: #aeb6c0;
  text-transform: uppercase; letter-spacing: .07em;
}


/* =========================================================
   08. BLOCS 2 COLONNES (texte + image)
   ========================================================= */
.duo {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
/* Variante : image à gauche */
.duo--inverse .duo__media { order: -1; }

.duo__media { position: relative; }
.duo__media img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--rayon);
  box-shadow: var(--ombre-forte);
  /* fond de sécurité si l'image met du temps à charger */
  background: var(--gris-clair);
}

/* Pastille rouge posée sur l'image */
.pastille {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--rouge); color: #fff;
  padding: 18px 24px;
  border-radius: var(--rayon);
  box-shadow: var(--ombre-forte);
  max-width: 220px;
}
.pastille strong { display: block; font-size: 26px; line-height: 1.1; }
.pastille span { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; opacity: .92; }

/* Encart mis en avant sous un texte */
.encart {
  margin-top: 26px;
  padding: 20px 24px;
  background: var(--blanc);
  border-left: 4px solid var(--rouge);
  border-radius: 0 var(--rayon-petit) var(--rayon-petit) 0;
  box-shadow: var(--ombre);
  font-size: 16.5px;
}
.fond-gris .encart { background: #fff; }

/* Étiquette « 24 ans d'expérience » */
.badge-annees {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--rouge); color: #fff;
  padding: 8px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 700;
  margin-bottom: 18px;
}

/* Liste à puces cochées */
.liste-check { list-style: none; padding: 0; margin: 22px 0 0; }
.liste-check li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 16.5px;
}
.liste-check li::before {
  content: "";
  position: absolute; left: 0; top: .5em;
  width: 14px; height: 8px;
  border-left: 3px solid var(--rouge);
  border-bottom: 3px solid var(--rouge);
  transform: rotate(-45deg);
}


/* =========================================================
   09. CARTES DE SERVICES
   ========================================================= */
.grille-cartes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 24px;
  margin-top: 44px;
}
/* Variante 3 colonnes fixes sur grand écran */
.grille-cartes--3 { grid-template-columns: repeat(3, 1fr); }

.carte {
  background: var(--blanc);
  border: 1px solid var(--gris-bordure);
  border-radius: var(--rayon);
  padding: 28px 26px;
  box-shadow: var(--ombre);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.carte:hover {
  transform: translateY(-4px);
  box-shadow: var(--ombre-forte);
  border-color: #d6dade;
}
.carte h3 { font-size: 19px; margin-bottom: 10px; }
.carte p { font-size: 16px; color: var(--acier); }

/* Pictogramme de carte */
.carte__ico {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: var(--rouge-tres-clair);
  color: var(--rouge);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.fond-rouge .carte__ico { background: #f6e7e7; }

/* Carte mise en avant (fond sombre) */
.carte--sombre {
  background: var(--anthracite);
  border-color: var(--anthracite);
  color: #d9dee4;
}
.carte--sombre h3 { color: #fff; }
.carte--sombre p { color: #b3bcc6; }
.carte--sombre .carte__ico { background: rgba(255,255,255,.1); color: #ff9a9a; }

/* Carte « réalisation » : simple libellé + type d'équipement */
.grille-realisations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.realisation {
  background: var(--blanc);
  border: 1px solid var(--gris-bordure);
  border-radius: var(--rayon);
  padding: 24px 22px;
  display: flex; align-items: center; gap: 14px;
  font-weight: 700; font-size: 17px;
  box-shadow: var(--ombre);
}
.realisation .ico { color: var(--rouge); width: 24px; height: 24px; }


/* =========================================================
   10. BADGES (partenaires / fournisseurs)
   ========================================================= */
.bloc-badges { margin-top: 36px; }
.bloc-badges h3 {
  font-size: 14px; text-transform: uppercase; letter-spacing: .12em;
  color: var(--acier); margin-bottom: 16px;
}
.badges {
  display: flex; flex-wrap: wrap; gap: 12px;
  list-style: none; margin: 0; padding: 0;
}
.badges li {
  background: var(--blanc);
  border: 1px solid var(--gris-bordure);
  border-radius: var(--rayon-petit);
  padding: 12px 20px;
  font-weight: 700; font-size: 15.5px;
  color: var(--anthracite-2);
  box-shadow: 0 1px 2px rgba(29,33,38,.04);
}
.badges--fournisseurs li { border-left: 3px solid var(--rouge); }

/* Note discrète sous un bloc */
.note {
  margin-top: 26px;
  font-size: 14.5px; color: var(--acier);
}


/* =========================================================
   11. TIMELINE DES ÉTAPES
   ========================================================= */
.etapes {
  list-style: none;
  counter-reset: etape;
  margin: 44px 0 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 26px;
}
.etapes li {
  counter-increment: etape;
  position: relative;
  padding-top: 26px;
  border-top: 3px solid var(--gris-bordure);
  font-weight: 700; font-size: 17px;
}
.etapes li::before {
  content: counter(etape, decimal-leading-zero);
  position: absolute; top: -19px; left: 0;
  width: 36px; height: 36px;
  background: var(--rouge); color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 800;
}
.etapes li span {
  display: block; margin-top: 6px;
  font-weight: 400; font-size: 15.5px; color: var(--acier);
}


/* =========================================================
   12. ZONE D'INTERVENTION
   ========================================================= */
.villes {
  display: flex; flex-wrap: wrap; gap: 10px;
  list-style: none; margin: 30px 0 0; padding: 0;
}
.villes li {
  background: var(--blanc);
  border: 1px solid var(--gris-bordure);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 15.5px; font-weight: 600;
}
.villes li:first-child {
  background: var(--rouge); border-color: var(--rouge); color: #fff;
}

.zone-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 40px;
}
.zone-info div {
  background: var(--blanc);
  border-radius: var(--rayon);
  border: 1px solid var(--gris-bordure);
  padding: 24px;
}
.zone-info strong { display: block; font-size: 18px; margin-bottom: 4px; }
.zone-info span { font-size: 15.5px; color: var(--acier); }


/* =========================================================
   13. INFOS PRATIQUES
   ========================================================= */
.infos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  margin-top: 44px;
}
.info-bloc {
  background: var(--blanc);
  border: 1px solid var(--gris-bordure);
  border-radius: var(--rayon);
  padding: 30px 28px;
  box-shadow: var(--ombre);
}
.info-bloc h3 {
  font-size: 14px; text-transform: uppercase; letter-spacing: .12em;
  color: var(--acier); margin-bottom: 16px;
}
.info-bloc .ico { display: block; color: var(--rouge); margin-bottom: 14px; }
.info-bloc p, .info-bloc address {
  font-style: normal; font-size: 17px; line-height: 1.7;
}
.info-bloc a { font-weight: 700; }

/* Tableau des horaires (sans balise table pour rester simple) */
.horaires { list-style: none; margin: 0; padding: 0; }
.horaires li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--gris-bordure);
  font-size: 16px;
}
.horaires li:last-child { border-bottom: 0; }
.horaires span:first-child { font-weight: 700; }
.horaires .ferme { color: var(--acier); }


/* =========================================================
   14. APPEL À L'ACTION
   ========================================================= */
.cta { background: var(--rouge); color: #fff; padding: 72px 0; }
.cta__inner {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 34px; justify-content: space-between;
}
.cta h2 { font-size: 32px; color: #fff; max-width: 24ch; margin-bottom: 10px; }
.cta p { color: #ffe0e0; max-width: 52ch; font-size: 17.5px; }
.cta .btn--blanc { background: #fff; color: var(--rouge); }
.cta .btn--blanc:hover { background: var(--anthracite); color: #fff; }


/* =========================================================
   15. PAGE MENTIONS LÉGALES
   ========================================================= */
.page-entete {
  background: var(--anthracite);
  color: #fff;
  padding: 68px 0 60px;
}
.page-entete h1 { font-size: 42px; color: #fff; margin-bottom: 10px; }
.page-entete p { color: #b9c1cb; max-width: 60ch; }
/* Sur-titre éclairci pour rester lisible sur le fond anthracite */
.page-entete .surtitre { color: #ff8d8d; }
.page-entete .surtitre::before { background: #ff8d8d; }

.contenu-legal { max-width: 820px; }
.contenu-legal h2 {
  font-size: 23px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--gris-bordure);
}
.contenu-legal h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.contenu-legal address { font-style: normal; line-height: 1.8; }
.contenu-legal p, .contenu-legal address { color: #3c434b; }
.retour { margin-top: 52px; }


/* =========================================================
   16. PIED DE PAGE
   ========================================================= */
.pied {
  background: var(--anthracite);
  color: #b3bcc6;
  padding: 68px 0 0;
  font-size: 15.5px;
}
.pied__grille {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 52px;
}
.pied h3 {
  font-size: 13px; text-transform: uppercase; letter-spacing: .12em;
  color: #fff; margin-bottom: 18px;
}
.pied a { color: #d3d9df; }
.pied a:hover { color: #fff; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied ul li { margin-bottom: 9px; }
.pied address { font-style: normal; line-height: 1.8; }

.pied .logo { margin-right: 0; margin-bottom: 16px; }
.pied .logo__nom { color: #fff; }
.pied .logo__sous { color: #8e98a3; }
.pied__intro { max-width: 34ch; }

/* Réseaux sociaux */
.reseaux { display: flex; gap: 10px; margin-top: 6px; }
.reseaux a {
  width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--rayon-petit);
  display: grid; place-items: center;
  color: #fff;
}
.reseaux a:hover { background: var(--rouge); border-color: var(--rouge); }
.reseaux .ico { width: 20px; height: 20px; }

/* Barre de copyright */
.pied__bas {
  border-top: 1px solid rgba(255,255,255,.13);
  padding: 22px 0;
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: space-between;
  font-size: 14.5px;
}
.pied__bas p { margin: 0; }
.pied__liens { display: flex; flex-wrap: wrap; gap: 20px; }


/* =========================================================
   17. RESPONSIVE
   ========================================================= */

/* --- Grand écran intermédiaire / petit portable --- */
@media (max-width: 1080px) {
  .titre-section { font-size: 32px; }
  .hero h1 { font-size: 42px; }
  .duo { gap: 40px; }
  .grille-cartes--3 { grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); }
  .chiffres__grille { grid-template-columns: repeat(3, 1fr); }
  .chiffre:nth-child(3) { border-right: 0; }
  .pied__grille { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* --- Tablette --- */
@media (max-width: 860px) {
  body { font-size: 16.5px; }

  /* En-tête : on masque le bouton, le numéro de téléphone reste visible */
  .entete__inner { min-height: 0; padding: 14px 0; gap: 14px; }
  .entete__inner .btn { display: none; }
  .nav ul { gap: 0 20px; }
  .nav a { font-size: 14.5px; padding: 11px 0; }

  .section { padding: 64px 0; }
  /* le menu peut passer sur deux lignes : on prévoit le décalage des ancres */
  section[id], div[id] { scroll-margin-top: 165px; }

  /* Hero */
  .hero__inner { padding: 76px 0 68px; }
  .hero h1 { font-size: 34px; }
  .hero__sous { font-size: 17.5px; }

  /* Colonnes empilées */
  .duo { grid-template-columns: 1fr; gap: 34px; }
  .duo--inverse .duo__media { order: 0; }
  .duo__media img { min-height: 260px; max-height: 340px; }
  .pastille { left: 16px; bottom: -18px; }

  .titre-section { font-size: 28px; max-width: none; }
  .chapeau { font-size: 17px; }

  .cta { padding: 56px 0; }
  .cta h2 { font-size: 27px; }
  .cta__inner { gap: 24px; }

  .page-entete h1 { font-size: 33px; }
}

/* --- Mobile --- */
@media (max-width: 620px) {
  .conteneur { padding: 0 18px; }

  /* Le menu défile horizontalement pour rester lisible sans JavaScript */
  .nav ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    -webkit-overflow-scrolling: touch;
  }
  .nav li { flex: none; }
  .nav a { padding: 12px 0; }
  section[id], div[id] { scroll-margin-top: 120px; }

  .hero h1 { font-size: 29px; }
  .hero__inner { padding: 60px 0 56px; }
  .hero .btn, .cta .btn, .groupe-btn .btn { width: 100%; justify-content: center; }
  .groupe-btn { gap: 12px; }

  /* Chiffres clés : 1 colonne lisible */
  .chiffres__grille { grid-template-columns: 1fr; }
  .chiffre {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
    padding: 22px 16px;
  }
  .chiffre:last-child { border-bottom: 0; }
  .chiffre__valeur { font-size: 26px; }

  .grille-cartes, .grille-realisations, .etapes { grid-template-columns: 1fr; }
  .carte { padding: 24px 22px; }

  .duo__media img { min-height: 220px; max-height: 280px; border-radius: var(--rayon); }
  .pastille { position: static; margin-top: 16px; max-width: none; }

  .pied__grille { grid-template-columns: 1fr; gap: 34px; padding-bottom: 40px; }
  .pied { padding-top: 52px; }
  .pied__bas { justify-content: flex-start; }

  .contenu-legal h2 { font-size: 21px; }
}

/* --- Confort : réduction des animations si l'utilisateur le demande --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* --- Impression --- */
@media print {
  .entete, .cta, .reseaux, .hero__overlay { display: none; }
  body { font-size: 12pt; color: #000; }
}
