/* ==========================================================================
   CENTRE DU CAMION SAINTE-MARTINE — Feuille de style principale
   --------------------------------------------------------------------------
   Palette : orange (dominante) / noir + anthracite / blanc / gris métallique
   Toutes les couleurs, polices et espacements sont définis dans :root
   ci-dessous. Pour ajuster l'identité visuelle, modifier uniquement :root.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. JETONS DE DESIGN (couleurs, polices, mesures)
   -------------------------------------------------------------------------- */
:root {
  /* Orange — couleur dominante */
  --orange:          #F26A1B;
  --orange-fonce:    #D2540C;
  --orange-clair:    #FF8C42;
  --orange-voile:    rgba(242, 106, 27, 0.12);

  /* Noir / anthracite */
  --noir:            #0B0D10;
  --anthracite:      #14181D;
  --anthracite-2:    #1D232A;
  --anthracite-3:    #2B333D;

  /* Gris métallique / blanc */
  --gris-metal:      #8B949F;
  --gris-clair:      #D5DBE2;
  --gris-pale:       #F1F4F7;
  --blanc:           #FFFFFF;

  /* Typographie */
  --police-titre: "Barlow Condensed", "Arial Narrow", "Segoe UI", Impact, sans-serif;
  --police-texte: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* Mesures */
  --rayon:           4px;
  --rayon-lg:        8px;
  --ombre:           0 14px 34px rgba(0, 0, 0, 0.30);
  --ombre-douce:     0 6px 18px rgba(11, 13, 16, 0.10);
  --transition:      0.25s ease;
  --largeur:         1220px;
  --hauteur-entete:  88px;

  /* Texture « acier » utilisée en repli lorsqu'une photo est absente */
  --metal:
    repeating-linear-gradient(115deg, rgba(255,255,255,.030) 0 2px, rgba(255,255,255,0) 2px 9px),
    linear-gradient(160deg, #2B333D 0%, #171C22 45%, #0E1216 100%);

  /* ---- PHOTOGRAPHIES ----------------------------------------------------
     Déposer les photos dans assets/img/ en respectant ces noms de fichiers.
     Si un fichier est absent, la texture métallique s'affiche à la place :
     le site reste propre et fonctionnel. Voir assets/img/LISEZ-MOI.md
     ---------------------------------------------------------------------- */
  /* Photos réellement fournies */
  --photo-heros:     url("../img/heros-camion.jpg");   /* l'établissement */
  --photo-camion:    url("../img/camion-v3.jpg");      /* la semi-remorque */

  /* Emplacements encore vides : ils réutilisent temporairement les deux
     photos ci-dessus, pour qu'aucune section n'affiche la texture grise.
     Dès qu'une vraie photo est déposée dans assets/img/, remplacer la valeur
     par url("../img/atelier.jpg"), url("../img/etablissement.jpg"), etc. */
  --photo-atelier:   var(--photo-camion);   /* bannières des pages intérieures */
  --photo-batiment:  var(--photo-heros);    /* « Pourquoi nous choisir », bandeau final */
  --photo-inter:     var(--photo-camion);   /* bannière « Camions Inter » */
  --photo-equipe:    url("../img/equipe.jpg");   /* emplacement libre */

  /* Logo officiel International (Camions Inter).
     « -entete » est la même image, sans son rectangle de fond blanc, pour
     qu'elle se pose directement sur l'en-tête sombre. */
  --logo-inter:        url("../img/camions-inter.svg");
  --logo-inter-entete: url("../img/camions-inter-entete.svg");

  /* Voile sombre posé sur la photo de la bannière d'accueil.
     0.50 = photo visible à 50 %. Augmenter la valeur (ex. 0.62) assombrit
     davantage la photo et rend le texte plus lisible ; la diminuer
     (ex. 0.40) fait ressortir la photo. C'est le seul endroit à modifier. */
  --voile-heros:     rgba(11, 13, 16, 0.50);

  /* Cadrage de la photo dans la bannière d'accueil.
     Le 2e nombre est la hauteur : plus il est petit, plus on remonte dans la
     photo (on voit le haut du bâtiment et l'enseigne). 50% = centré,
     0% = tout en haut. Ajusté à 18% pour garder l'enseigne
     « Centre du Camion Sainte-Martine » bien visible à l'écran. */
  --cadrage-heros:   center 18%;
}

/* --------------------------------------------------------------------------
   2. RÉINITIALISATION ET BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

/* L'attribut hidden doit toujours l'emporter sur les mises en page flex/grid */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--police-texte);
  font-size: 17px;
  line-height: 1.65;
  color: var(--gris-clair);
  background: var(--anthracite);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--police-titre);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 0.5em;
  color: var(--blanc);
}
h1 { font-size: clamp(2.35rem, 5.4vw, 4.15rem); }
h2 { font-size: clamp(1.9rem, 3.9vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2.1vw, 1.55rem); }
h4 { font-size: 1.15rem; }

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

a { color: var(--orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange-clair); }

ul { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: 0.4em; }

strong { color: var(--blanc); font-weight: 700; }

hr { border: 0; border-top: 1px solid var(--anthracite-3); margin: 2.5rem 0; }

/* Accessibilité : anneau de focus toujours visible */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Lien d'évitement */
.saut-contenu {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--orange);
  color: var(--noir);
  padding: 0.9rem 1.4rem;
  font-weight: 700;
}
.saut-contenu:focus { left: 0; color: var(--noir); }

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

/* --------------------------------------------------------------------------
   3. STRUCTURE
   -------------------------------------------------------------------------- */
.conteneur {
  width: 100%;
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 0 24px;
}
.conteneur--etroit { max-width: 860px; }

.section { padding: clamp(3.6rem, 7vw, 6.4rem) 0; position: relative; }
.section--sombre   { background: var(--anthracite); }
.section--noire    { background: var(--noir); }
.section--metal    { background: var(--metal); background-attachment: fixed; }
.section--claire   { background: var(--gris-pale); color: #333B45; }
.section--claire h1, .section--claire h2, .section--claire h3, .section--claire h4 { color: var(--noir); }
.section--claire strong { color: var(--noir); }

/* --------------------------------------------------------------------------
   SECTION SUR FOND BLANC (avis clients)
   Le fond est blanc : les couleurs de texte, de cartes et de boutons sont
   donc reprises en foncé pour rester lisibles.
   -------------------------------------------------------------------------- */
.section--blanche { background: var(--blanc); color: #333B45; }
.section--blanche h1, .section--blanche h2,
.section--blanche h3, .section--blanche h4 { color: var(--noir); }
.section--blanche strong { color: var(--noir); }
.section--blanche .intro-section { color: #4A545F; }
.section--blanche .surtitre { color: #B34A0B; }        /* orange lisible : 5,4:1 */
.section--blanche .surtitre::before { background: #B34A0B; }
.section--blanche .bloc-avis {
  background: var(--blanc);
  border-color: #DCE2E9;
  box-shadow: var(--ombre-douce);
}
.section--blanche .bloc-avis__note { color: var(--noir); }
.section--blanche .etoiles { color: #D2540C; }
.section--blanche .temoignage {
  background: var(--gris-pale);
  border-color: #DCE2E9;
  border-left-color: var(--orange);
  color: #333B45;
}
.section--blanche .temoignage cite { color: var(--noir); }
.section--blanche .btn--contour { color: var(--noir); border-color: rgba(11, 13, 16, 0.30); }
.section--blanche .btn--contour:hover { color: #B34A0B; border-color: var(--orange); }

/* Note moyenne et sa provenance */
.bloc-avis__note { margin-bottom: 0.2rem; }
.bloc-avis__sur { font-size: 1.5rem; color: var(--gris-metal); }
.section--blanche .bloc-avis__sur { color: #5A636D; }
.bloc-avis__source { font-size: 0.88rem; color: var(--gris-metal); margin-top: 0.6rem; }
.section--blanche .bloc-avis__source { color: #5A636D; }
.bloc-avis .etoiles { margin: 0; }

/* Bande orange décorative en haut de section */
.section--liseret { border-top: 4px solid var(--orange); }

/* Titre de section avec barre orange */
.titre-section { margin-bottom: 0.9rem; }
.surtitre {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--police-texte);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 0.9rem;
}
.surtitre::before {
  content: "";
  width: 34px; height: 3px;
  background: var(--orange);
  display: inline-block;
}
.intro-section {
  font-size: 1.08rem;
  max-width: 68ch;
  color: var(--gris-metal);
  margin-bottom: 2.6rem;
}
.section--claire .intro-section { color: #4A545F; }

/* Variante sans limite de largeur : le texte occupe toute la largeur du
   conteneur et tient donc sur une seule ligne sur les écrans larges.
   Il se replie normalement sur les écrans étroits. */
.intro-section--pleine { max-width: none; }

/* Titre qui doit rester sur une seule ligne : sa taille suit la largeur de
   l'écran pour ne jamais se replier ni déborder de sa colonne.
   Utilisé pour « Centre du Camion Sainte-Martine » dans les coordonnées. */
.titre-une-ligne {
  white-space: nowrap;
  font-size: clamp(1.3rem, 2.6vw, 2.4rem);
}

.centre { text-align: center; }
.centre .surtitre { justify-content: center; }
.centre .intro-section { margin-left: auto; margin-right: auto; }

/* Bande « hachures » industrielle */
.hachures {
  height: 8px;
  background: repeating-linear-gradient(
    -45deg,
    var(--orange) 0 14px,
    var(--noir) 14px 28px
  );
}

/* --------------------------------------------------------------------------
   4. BOUTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--police-texte);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.95rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--rayon);
  cursor: pointer;
  text-align: center;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 19px; height: 19px; flex: 0 0 auto; }

.btn--orange {
  background: var(--orange);
  color: var(--noir);
  border-color: var(--orange);
}
.btn--orange:hover { background: var(--orange-clair); border-color: var(--orange-clair); color: var(--noir); }

.btn--contour {
  background: transparent;
  color: var(--blanc);
  border-color: rgba(255, 255, 255, 0.38);
}
.btn--contour:hover { border-color: var(--orange); color: var(--orange); }

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

.btn--sombre {
  background: var(--noir);
  color: var(--blanc);
  border-color: var(--noir);
}
.btn--sombre:hover { background: var(--anthracite-3); border-color: var(--anthracite-3); color: var(--blanc); }

.btn--bloc { width: 100%; }
.btn--grand { padding: 1.1rem 2rem; font-size: 1rem; }

.groupe-btn {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.9rem;
}

/* --------------------------------------------------------------------------
   5. BARRE SUPÉRIEURE + EN-TÊTE
   -------------------------------------------------------------------------- */
.barre-sup {
  background: var(--noir);
  border-bottom: 1px solid var(--anthracite-3);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gris-metal);
}
.barre-sup .conteneur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
  flex-wrap: wrap;
}
.barre-sup__mentions { display: flex; align-items: center; gap: 0.85rem; flex-wrap: wrap; }
.barre-sup__mentions span { display: inline-flex; align-items: center; gap: 0.45rem; }
.barre-sup__mentions .puce { color: var(--orange); font-weight: 700; }
.barre-sup__sep { color: var(--anthracite-3); }
.barre-sup__tel { color: var(--blanc); font-weight: 700; letter-spacing: 0.04em; }
.barre-sup__tel:hover { color: var(--orange); }

.entete {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 13, 16, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--anthracite-3);
}
.entete__interieur {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  min-height: var(--hauteur-entete);
}

/* Logo — remplacer assets/img/logo.svg par le logo officiel de l'entreprise.
   Si le fichier est absent, le mot-symbole typographique ci-dessous s'affiche. */
.logo { display: flex; align-items: center; gap: 0.75rem; margin-right: auto; }
.logo__repli { display: flex; align-items: center; gap: 0.75rem; }
.entete .logo__fichier, .pied .logo__fichier { max-height: 54px; width: auto; }
.logo__mot { display: flex; flex-direction: column; line-height: 1; }
.logo__mot b {
  font-family: var(--police-titre);
  font-size: 1.42rem;
  color: var(--blanc);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.logo__mot b em { color: var(--orange); font-style: normal; }
.logo__mot span {
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gris-metal);
  margin-top: 4px;
}
.logo__marque {
  width: 40px; height: 40px;
  flex: 0 0 auto;
  background: var(--orange);
  border-radius: 3px;
  display: grid;
  place-items: center;
  clip-path: polygon(0 0, 100% 0, 100% 74%, 50% 100%, 0 74%);
}
.logo__marque svg { width: 24px; height: 24px; }

/* --------------------------------------------------------------------------
   En-tête et pied de page : le logo officiel International (Camions Inter)
   remplace le pictogramme de camion. Il est posé directement sur le fond
   sombre, sans pastille blanche, et conserve ses proportions grâce à
   « contain ». Pour revenir en arrière, supprimer ce bloc.
   -------------------------------------------------------------------------- */
.entete .logo__marque,
.pied .logo__marque {
  background: var(--logo-inter-entete) center / contain no-repeat;
  clip-path: none;
  border: 0;
  border-radius: 0;
}
.entete .logo__marque svg,
.pied .logo__marque svg { display: none; }

.entete .logo__marque { width: 72px; height: 72px; }
.pied   .logo__marque { width: 64px; height: 64px; }

.entete .logo,
.pied .logo { gap: 1rem; }

/* --------------------------------------------------------------------------
   EN-TÊTE SUR UNE SEULE LIGNE
   La barre supérieure et l'en-tête utilisent toute la largeur disponible
   (jusqu'à 1440 px) et interdisent les retours à la ligne : mentions,
   téléphone, logo, navigation et boutons restent sur un seul rang.
   -------------------------------------------------------------------------- */
.barre-sup .conteneur,
.entete .conteneur { max-width: 1440px; }

.barre-sup .conteneur { flex-wrap: nowrap; white-space: nowrap; }
.barre-sup__mentions { flex-wrap: nowrap; }

.entete__interieur { flex-wrap: nowrap; }
.logo__mot b,
.logo__mot span { white-space: nowrap; }
.nav ul { flex-wrap: nowrap; }
.nav a { white-space: nowrap; }
.entete__actions { flex-wrap: nowrap; }
.entete__actions .btn { white-space: nowrap; }

/* Navigation principale */
.nav ul {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav a {
  display: block;
  padding: 0.6rem 0.72rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gris-clair);
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--blanc); border-bottom-color: var(--orange); }
.nav a[aria-current="page"] { color: var(--orange); border-bottom-color: var(--orange); }

.entete__actions { display: flex; align-items: center; gap: 0.6rem; }
.entete__actions .btn { padding: 0.72rem 1.1rem; font-size: 0.83rem; }

.burger {
  display: none;
  width: 46px; height: 46px;
  background: transparent;
  border: 1px solid var(--anthracite-3);
  border-radius: var(--rayon);
  cursor: pointer;
  padding: 0;
}
.burger span,
.burger span::before,
.burger span::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: var(--blanc);
  margin: 0 auto;
  transition: transform var(--transition), opacity var(--transition);
}
.burger span::before { transform: translateY(-7px); }
.burger span::after  { transform: translateY(5px); }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: rotate(-45deg) translateY(-1px); }

/* --------------------------------------------------------------------------
   GRILLE DES LOGOS DE FOURNISSEURS (page Fournisseurs)
   Chaque logo garde ses proportions : la case est de taille fixe, l'image
   s'y inscrit sans être déformée ni rognée (object-fit: contain).
   -------------------------------------------------------------------------- */
.grille-logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  /* 32 logos : 8 par rangée, donc 4 rangées sur écran large. */
  grid-template-columns: repeat(8, 1fr);
  gap: 0.9rem;
}
.grille-logos li {
  /* Flex plutôt que grid : la hauteur en pourcentage de l'image se calcule
     alors par rapport à la hauteur fixe de la case, et les logos hauts
     (Chevron, Shell…) ne débordent plus. */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Hauteur fixe : toutes les cases s'alignent, quel que soit le format du
     logo. L'image s'inscrit dedans sans déformation (voir règle suivante). */
  height: 104px;
  min-height: 0;
  padding: 0.9rem;
  background: var(--blanc);
  border: 1px solid #DCE2E9;
  border-radius: var(--rayon);
}
/* Chaque logo mène au site du fournisseur : le lien occupe toute la case. */
.grille-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.grille-logos li { transition: border-color var(--transition), transform var(--transition); }
.grille-logos li:hover,
.grille-logos li:focus-within { border-color: var(--orange); transform: translateY(-2px); }

.grille-logos img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (max-width: 1100px) { .grille-logos { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 860px)  { .grille-logos { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) {
  .grille-logos { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .grille-logos li { height: 76px; padding: 0.55rem; }
}

/* Sélecteur de langue (FR / EN) dans l'en-tête. */
.lien-langue {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 0.5rem 0.65rem;
  border: 1px solid #C6CFD9;
  border-radius: var(--rayon);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--noir);
  text-decoration: none;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.lien-langue:hover,
.lien-langue:focus-visible {
  color: var(--noir);
  background: var(--orange);
  border-color: var(--orange);
}
@media (max-width: 480px) { .lien-langue { min-width: 36px; padding: 0.45rem 0.5rem; font-size: 0.74rem; } }

/* --------------------------------------------------------------------------
   EN-TÊTE BLANC
   Seul l'en-tête passe au blanc ; la barre supérieure, les bannières et le
   reste du site conservent leurs couleurs. Les couleurs de texte ci-dessous
   sont ajustées pour rester lisibles sur le fond blanc.
   Pour revenir à l'en-tête sombre, supprimer ce bloc.
   -------------------------------------------------------------------------- */
.entete {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: #DCE2E9;
}
.entete .logo__mot b    { color: var(--noir); }
.entete .logo__mot span { color: #5A636D; }          /* 6,1:1 sur blanc */

.entete .nav a { color: #2B333D; }                   /* 12,8:1 sur blanc */
.entete .nav a:hover { color: var(--noir); }
.entete .nav a[aria-current="page"] { color: #B34A0B; }  /* orange lisible : 5,4:1 */

.entete .btn--contour { color: var(--noir); border-color: rgba(11, 13, 16, 0.30); }
.entete .btn--contour:hover { color: #B34A0B; border-color: var(--orange); }

.entete .burger { border-color: #C6CFD9; }
.entete .burger span,
.entete .burger span::before,
.entete .burger span::after { background: var(--noir); }
.entete .burger[aria-expanded="true"] span { background: transparent; }

/* Menu déroulant (tablette et téléphone) : fond blanc lui aussi. */
@media (max-width: 1100px) {
  .entete .nav { background: #FFFFFF; }
  .entete .nav a,
  .entete .nav a:hover,
  .entete .nav a[aria-current="page"] { border-bottom-color: #E6EBF0; }
}

/* --------------------------------------------------------------------------
   6. BANNIÈRE D'ACCUEIL (HÉROS)
   -------------------------------------------------------------------------- */
.heros {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(86vh, 760px);
  padding: clamp(3.5rem, 9vw, 7rem) 0;
  background-color: var(--noir);
  /* Superposition, de la couche du dessus vers celle du dessous :
     1. dégradé noir, marqué à gauche derrière le texte et éteint au centre ;
     2. voile sombre uniforme (photo visible à 50 %) ;
     3. photographie de l'établissement ;
     4. texture métallique de repli si la photo est absente. */
  background-image:
    linear-gradient(90deg,
      rgba(11, 13, 16, 0.86) 0%,
      rgba(11, 13, 16, 0.62) 26%,
      rgba(11, 13, 16, 0.00) 58%),
    linear-gradient(var(--voile-heros), var(--voile-heros)),
    var(--photo-heros),
    var(--metal);
  background-size: cover;
  background-position: center, center, var(--cadrage-heros), center, center;
  background-repeat: no-repeat;
  border-bottom: 4px solid var(--orange);
}

/* Le texte se détache de la photographie sans avoir à l'assombrir davantage. */
.heros .heros__contenu h1,
.heros .heros__contenu .heros__sous-titre,
.heros .heros__contenu .surtitre,
.heros .heros__contenu .heros__mentions {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85), 0 1px 4px rgba(0, 0, 0, 0.75);
}
.heros .heros__mentions {
  background: rgba(11, 13, 16, 0.55);
  backdrop-filter: blur(2px);
}
/* Bannières des pages intérieures : pas de dégradé orange, cadrage centré. */
.heros--interieur {
  min-height: 0;
  padding: clamp(3rem, 6vw, 4.6rem) 0;
  background-image:
    linear-gradient(100deg, rgba(11,13,16,.96) 0%, rgba(11,13,16,.82) 55%, rgba(11,13,16,.55) 100%),
    var(--photo-atelier),
    var(--metal);
  background-position: center;
}
.heros__contenu { max-width: 830px; position: relative; z-index: 2; }
.heros h1 { margin-bottom: 0.35em; }
.heros__sous-titre {
  font-size: clamp(1.08rem, 2.1vw, 1.35rem);
  color: var(--gris-clair);
  max-width: 60ch;
  margin-bottom: 1.4rem;
}
.heros__mentions {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0.6rem 1.05rem;
  border-left: 4px solid var(--orange);
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--police-titre);
  font-size: 1.16rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blanc);
}
.heros__mentions .sep { color: var(--orange); }

/* Bandeau de réassurance sous le héros */
.bande-atouts { background: var(--noir); border-bottom: 1px solid var(--anthracite-3); }
.bande-atouts ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  list-style: none;
  margin: 0; padding: 0;
}
.bande-atouts li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.35rem 1.1rem;
  margin: 0;
  border-right: 1px solid var(--anthracite-3);
  font-size: 0.93rem;
  color: var(--gris-clair);
}
.bande-atouts li:last-child { border-right: 0; }
.bande-atouts svg { width: 26px; height: 26px; color: var(--orange); flex: 0 0 auto; }

/* --------------------------------------------------------------------------
   7. GRILLES ET CARTES
   -------------------------------------------------------------------------- */
.grille { display: grid; gap: 1.3rem; }
.grille--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grille--3 { grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); }
.grille--4 { grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); }

/* Carte de service */
.carte {
  position: relative;
  background: var(--anthracite-2);
  border: 1px solid var(--anthracite-3);
  border-radius: var(--rayon);
  padding: 1.9rem 1.6rem;
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
  overflow: hidden;
}
.carte::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.carte:hover { transform: translateY(-4px); border-color: var(--anthracite-3); background: #222932; }
.carte:hover::after { transform: scaleX(1); }
.carte h3 { margin-bottom: 0.5rem; }
.carte p { font-size: 0.96rem; color: var(--gris-metal); margin: 0; }

.carte__icone {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  background: var(--orange-voile);
  border: 1px solid rgba(242, 106, 27, 0.35);
  border-radius: var(--rayon);
  margin-bottom: 1.15rem;
}
.carte__icone svg { width: 28px; height: 28px; color: var(--orange); }

.section--claire .carte {
  background: var(--blanc);
  border-color: #DCE2E9;
  box-shadow: var(--ombre-douce);
}
.section--claire .carte:hover { background: var(--blanc); border-color: #C6CFD9; }
.section--claire .carte p { color: #4A545F; }

/* Carte « clientèle » compacte */
.carte-clientele {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--anthracite-2);
  border: 1px solid var(--anthracite-3);
  border-left: 3px solid var(--orange);
  border-radius: var(--rayon);
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  color: var(--blanc);
  font-size: 0.98rem;
}
.carte-clientele svg { width: 24px; height: 24px; color: var(--orange); flex: 0 0 auto; }

/* Liste à crochets orange */
.liste-check { list-style: none; padding: 0; margin: 0; }
.liste-check li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.85rem;
  line-height: 1.5;
}
.liste-check li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.42em;
  width: 12px; height: 7px;
  border-left: 3px solid var(--orange);
  border-bottom: 3px solid var(--orange);
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   GALERIE DE PHOTOS (page Magasin)
   Les photos gardent leurs proportions : portrait et paysage cohabitent.
   -------------------------------------------------------------------------- */
.galerie {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  align-items: start;
}
/* La première photo occupe toute la largeur, au-dessus des trois autres. */
.galerie__item--vedette { grid-column: 1 / -1; }
.galerie__item--vedette img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 860px) { .galerie { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .galerie { grid-template-columns: 1fr; }
  .galerie__item--vedette img { max-height: 320px; }
}
.galerie__item { margin: 0; }
.galerie__item img {
  width: 100%;
  height: auto;
  border-radius: var(--rayon-lg);
  border: 1px solid var(--anthracite-3);
  background: var(--anthracite-2);
}
.section--claire .galerie__item img { border-color: #DCE2E9; box-shadow: var(--ombre-douce); }

/* Titre de carte cliquable (carte « Magasin ») */
.carte h3 a { color: inherit; text-decoration: none; }
.carte h3 a:hover, .carte h3 a:focus-visible { color: var(--orange); }
.section--claire .carte h3 a:hover,
.section--claire .carte h3 a:focus-visible { color: #B34A0B; }
.section--claire .carte p a { color: #B34A0B; }

/* Blocs deux colonnes texte + visuel */
.duo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: clamp(2rem, 5vw, 3.6rem);
  align-items: center;
}
.visuel {
  min-height: 340px;
  border-radius: var(--rayon-lg);
  background-color: var(--anthracite-2);
  background-image: var(--metal);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--anthracite-3);
  position: relative;
}
.visuel--atelier   { background-image: var(--photo-atelier), var(--metal); }
.visuel--batiment  { background-image: var(--photo-batiment), var(--metal); }
.visuel--equipe    { background-image: var(--photo-equipe), var(--metal); }
.visuel--inter     { background-image: var(--photo-inter), var(--metal); }
.visuel--camion    { background-image: var(--photo-camion), var(--metal); }
.visuel::before {
  content: "";
  position: absolute;
  left: -10px; bottom: -10px;
  width: 96px; height: 96px;
  border-left: 5px solid var(--orange);
  border-bottom: 5px solid var(--orange);
  border-radius: 2px;
}

/* Statistiques / points forts */
.mentions-cles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.mention-cle {
  border: 1px solid var(--anthracite-3);
  border-top: 3px solid var(--orange);
  background: var(--anthracite-2);
  padding: 1.15rem 1.2rem;
  border-radius: var(--rayon);
}
.mention-cle b {
  display: block;
  font-family: var(--police-titre);
  font-size: 1.22rem;
  text-transform: uppercase;
  color: var(--blanc);
  letter-spacing: 0.02em;
}
.mention-cle span { font-size: 0.88rem; color: var(--gris-metal); }
.section--claire .mention-cle { background: var(--blanc); border-color: #DCE2E9; }
.section--claire .mention-cle b { color: var(--noir); }
.section--claire .mention-cle span { color: #4A545F; }

/* --------------------------------------------------------------------------
   8. SECTIONS PARTENAIRES (CAMIONS INTER / SAX)
   -------------------------------------------------------------------------- */
.bloc-partenaire {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: clamp(1.8rem, 4vw, 3.2rem);
  align-items: center;
}
.bloc-partenaire__logo {
  background: var(--blanc);
  border-radius: var(--rayon-lg);
  padding: 1.8rem;
  display: grid;
  place-items: center;
  box-shadow: var(--ombre);
}
.bloc-partenaire__logo img { width: 100%; max-width: 190px; height: auto; }

/* Mot-symbole typographique affiché tant que le logo officiel n'a pas été
   déposé dans assets/img/ (voir assets/img/LISEZ-MOI.md). Ce n'est pas une
   reproduction de logo : uniquement du texte mis en forme. */
.marque-texte {
  width: 100%;
  min-height: 120px;
  display: grid;
  place-items: center;
  gap: 0.3rem;
  text-align: center;
  padding: 0.6rem;
  color: #5A636D;
}
.marque-texte strong {
  font-family: var(--police-titre);
  font-size: 3.1rem;
  line-height: 1;
  letter-spacing: 0.14em;
  color: var(--noir);
  text-transform: uppercase;
  border-bottom: 4px solid var(--orange);
  padding-bottom: 0.15em;
}
.marque-texte span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Liste des heures d'ouverture */
.liste-heures { list-style: none; padding: 0; margin: 0; }
.liste-heures li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--anthracite-3);
  font-size: 0.94rem;
  margin: 0;
}
.liste-heures li:last-child { border-bottom: 0; }
.liste-heures b { color: var(--blanc); }
.section--claire .liste-heures li { border-bottom-color: #DCE2E9; }
.section--claire .liste-heures b { color: var(--noir); }

.etiquette {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange);
  color: var(--noir);
  font-family: var(--police-texte);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}
.etiquette--contour {
  background: transparent;
  color: var(--orange);
  border: 1px solid var(--orange);
}

.avis-important {
  border-left: 4px solid var(--orange);
  background: rgba(242, 106, 27, 0.08);
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
  border-radius: 0 var(--rayon) var(--rayon) 0;
}
.section--claire .avis-important { background: rgba(242, 106, 27, 0.10); color: #3A434D; }

/* --------------------------------------------------------------------------
   9. AVIS GOOGLE
   -------------------------------------------------------------------------- */
.bloc-avis {
  background: var(--anthracite-2);
  border: 1px solid var(--anthracite-3);
  border-radius: var(--rayon-lg);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  text-align: center;
}
.bloc-avis__note {
  font-family: var(--police-titre);
  font-size: 3.2rem;
  color: var(--blanc);
  line-height: 1;
}
.etoiles { color: var(--orange); font-size: 1.5rem; letter-spacing: 0.15em; }
.temoignages { display: grid; gap: 1.2rem; margin-top: 2rem; }
.temoignage {
  background: var(--anthracite-2);
  border: 1px solid var(--anthracite-3);
  border-left: 3px solid var(--orange);
  padding: 1.4rem 1.5rem;
  border-radius: var(--rayon);
  text-align: left;
}
.temoignage p { font-size: 0.98rem; font-style: italic; }
.temoignage cite { font-style: normal; font-weight: 700; color: var(--blanc); font-size: 0.9rem; }

/* --------------------------------------------------------------------------
   10. FORMULAIRE
   -------------------------------------------------------------------------- */
.formulaire {
  background: var(--blanc);
  border-radius: var(--rayon-lg);
  padding: clamp(1.6rem, 4vw, 2.8rem);
  box-shadow: var(--ombre);
  color: #333B45;
}
.formulaire__groupe {
  border: 0;
  padding: 0;
  margin: 0 0 2.2rem;
}
.formulaire__groupe legend {
  font-family: var(--police-titre);
  font-size: 1.35rem;
  text-transform: uppercase;
  color: var(--noir);
  padding: 0;
  margin-bottom: 1.2rem;
  border-bottom: 3px solid var(--orange);
  display: inline-block;
  letter-spacing: 0.02em;
}
.champs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.05rem;
}
.champ { display: flex; flex-direction: column; }
.champ--large { grid-column: 1 / -1; }
.champ label {
  font-size: 0.86rem;
  font-weight: 700;
  color: #3A434D;
  margin-bottom: 0.38rem;
  letter-spacing: 0.02em;
}
.champ .requis { color: var(--orange-fonce); }
.champ input,
.champ select,
.champ textarea {
  font-family: var(--police-texte);
  font-size: 1rem;
  color: #1D232A;
  background: #FAFBFC;
  border: 1px solid #C6CFD9;
  border-radius: var(--rayon);
  padding: 0.78rem 0.9rem;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.champ textarea { min-height: 140px; resize: vertical; }
.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242, 106, 27, 0.18);
  outline: none;
}
.champ input:invalid:not(:placeholder-shown) { border-color: #C0392B; }
.champ .aide { font-size: 0.78rem; color: #6B7785; margin-top: 0.3rem; }

.case-a-cocher,
.champ label.case-a-cocher {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 1.55;
  color: #3A434D;
  margin-bottom: 0;
}
.case-a-cocher small { display: inline-block; margin-top: 0.35rem; color: #6B7785; font-size: 0.85rem; }
.case-a-cocher input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--orange); }

.note-formulaire {
  background: var(--gris-pale);
  border-left: 4px solid var(--orange);
  padding: 1rem 1.2rem;
  font-size: 0.92rem;
  color: #3A434D;
  border-radius: 0 var(--rayon) var(--rayon) 0;
  margin: 1.6rem 0;
}

.message-formulaire {
  display: none;
  padding: 1.2rem 1.4rem;
  border-radius: var(--rayon);
  font-size: 0.96rem;
  margin-bottom: 1.4rem;
}
.message-formulaire.visible { display: block; }
.message-formulaire--succes { background: #E7F4EA; border-left: 4px solid #2E7D32; color: #1B4D20; }
.message-formulaire--info   { background: #FFF3E8; border-left: 4px solid var(--orange); color: #6B3410; }
.message-formulaire--erreur { background: #FDECEA; border-left: 4px solid #C0392B; color: #7A241B; }
.message-formulaire pre {
  white-space: pre-wrap;
  font-family: var(--police-texte);
  font-size: 0.88rem;
  background: rgba(0,0,0,.05);
  padding: 0.8rem;
  border-radius: 3px;
  margin: 0.8rem 0 0;
}

/* --------------------------------------------------------------------------
   11. CONTACT ET CARTE
   -------------------------------------------------------------------------- */
.coordonnees { display: grid; gap: 1rem; }
.coordonnee {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.25rem;
  background: var(--anthracite-2);
  border: 1px solid var(--anthracite-3);
  border-radius: var(--rayon);
}
.coordonnee svg { width: 24px; height: 24px; color: var(--orange); flex: 0 0 auto; margin-top: 3px; }
.coordonnee b {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gris-metal);
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.coordonnee a, .coordonnee span { color: var(--blanc); font-size: 1.02rem; }
.coordonnee a:hover { color: var(--orange); }
.coordonnee address { font-style: normal; color: var(--blanc); line-height: 1.5; }

/* Carte Google Maps chargée uniquement après consentement */
.carte-maps {
  position: relative;
  min-height: 420px;
  border-radius: var(--rayon-lg);
  overflow: hidden;
  border: 1px solid var(--anthracite-3);
  background-image: var(--metal);
}
.carte-maps iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }
.carte-maps__invite {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.9rem;
  text-align: center;
  padding: 2rem;
  background: rgba(11, 13, 16, 0.86);
}
.carte-maps__invite p { max-width: 42ch; color: var(--gris-metal); font-size: 0.92rem; }

/* --------------------------------------------------------------------------
   12. APPEL À L'ACTION FINAL
   -------------------------------------------------------------------------- */
.cta-final {
  background:
    linear-gradient(100deg, rgba(11,13,16,.95) 0%, rgba(11,13,16,.80) 100%),
    var(--photo-batiment),
    var(--metal);
  background-size: cover;
  background-position: center;
  border-top: 4px solid var(--orange);
  border-bottom: 4px solid var(--orange);
  text-align: center;
}
.cta-final .groupe-btn { justify-content: center; }

/* --------------------------------------------------------------------------
   13. PIED DE PAGE
   -------------------------------------------------------------------------- */
.pied { background: var(--noir); padding-top: 4rem; font-size: 0.94rem; }
.pied__grille {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) repeat(auto-fit, minmax(180px, 1fr));
  gap: 2.4rem;
  padding-bottom: 2.8rem;
}
/* Le téléphone et le télécopieur sont sur une seule et même ligne : la
   colonne qui les contient doit rester assez large. Sous 1240 px, le bloc
   de coordonnées prend donc toute la largeur du pied de page. */
@media (max-width: 1240px) {
  .pied__grille { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
  .pied__grille > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .pied__grille { grid-template-columns: 1fr; gap: 2rem; }
}

/* Téléphone et télécopieur : les deux numéros restent ensemble sur une seule
   ligne. Sur les très petits écrans, la taille du texte s'ajuste pour que la
   ligne tienne toujours sans être coupée. */
.pied__contact {
  white-space: nowrap;
  font-size: clamp(0.66rem, 3.4vw, 0.94rem);
}
.pied__sep { color: var(--orange); margin: 0 0.35rem; font-weight: 700; }
.pied h4 {
  font-size: 1.05rem;
  color: var(--blanc);
  letter-spacing: 0.06em;
  margin-bottom: 1.05rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: 0.55rem; }
.pied a { color: var(--gris-clair); }
.pied a:hover { color: var(--orange); }
.pied address { font-style: normal; color: var(--gris-clair); line-height: 1.6; margin-bottom: 1rem; }
.pied__mentions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.pied__mentions span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--anthracite-3);
  border-left: 3px solid var(--orange);
  padding: 0.4rem 0.75rem;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gris-clair);
  border-radius: 2px;
}
/* Lien vers la page Facebook, dans la colonne de gauche du pied de page. */
.pied__social { margin: 1.1rem 0 0; }
.pied__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--anthracite-3);
  border-radius: var(--rayon);
  color: var(--gris-clair);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.pied__social a:hover,
.pied__social a:focus-visible {
  color: var(--noir);
  background: var(--orange);
  border-color: var(--orange);
}
.pied__social svg { width: 22px; height: 22px; display: block; }

/* Bandeau des logos de partenaires et fournisseurs, au bas du pied de page. */
.pied__partenaires {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.4rem 2.8rem;
  padding: 1.8rem 0;
  border-top: 1px solid var(--anthracite-3);
}
.pied__partenaire { display: inline-flex; align-items: center; }
.pied__partenaire img {
  height: 46px;
  max-height: 46px;
  width: auto;
  flex: 0 0 auto;
  opacity: 0.85;
  transition: opacity var(--transition);
}
.pied__partenaire--sax img { height: 34px; }
.pied__partenaire:hover img,
.pied__partenaire:focus-visible img { opacity: 1; }
@media (max-width: 560px) {
  .pied__partenaires { gap: 1.2rem 1.8rem; }
  .pied__partenaire img { max-height: 36px; }
}

.pied__bas {
  border-top: 1px solid var(--anthracite-3);
  padding: 1.4rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.83rem;
  color: var(--gris-metal);
}
.pied__bas nav { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.pied__signature { width: 100%; font-size: 0.78rem; color: #5A636D; }

/* Mention de conception, à droite du pied de page */
.pied__conception { white-space: nowrap; margin: 0; }
.pied__conception strong { font-weight: 700; letter-spacing: 0.02em; }

/* --------------------------------------------------------------------------
   14. BARRE MOBILE FIXE
   -------------------------------------------------------------------------- */
.barre-mobile {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 120;
  background: var(--noir);
  border-top: 2px solid var(--orange);
  padding: 0.55rem;
  gap: 0.5rem;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.45);
}
.barre-mobile .btn { flex: 1; padding: 0.85rem 0.5rem; font-size: 0.82rem; }


/* --------------------------------------------------------------------------
   15. FIL D'ARIANE + PAGES INTÉRIEURES
   -------------------------------------------------------------------------- */
.fil-ariane { background: var(--noir); border-bottom: 1px solid var(--anthracite-3); font-size: 0.82rem; }
.fil-ariane ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0; padding: 0.75rem 0;
  color: var(--gris-metal);
}
.fil-ariane li { margin: 0; }
.fil-ariane li + li::before { content: "›"; margin-right: 0.5rem; color: var(--orange); }
.fil-ariane a { color: var(--gris-clair); }

.contenu-texte h2 { margin-top: 2.4rem; }
.contenu-texte h3 { margin-top: 1.8rem; }
.contenu-texte ul { padding-left: 1.3rem; }

/* --------------------------------------------------------------------------
   16. ANIMATIONS LÉGÈRES
   -------------------------------------------------------------------------- */
.apparition {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.apparition.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .apparition { opacity: 1; transform: none; }
  .btn:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   17. ADAPTATION AUX ÉCRANS
   -------------------------------------------------------------------------- */
/* Il n'y a plus de barre supérieure : le bouton d'appel de l'en-tête reste
   donc affiché le plus longtemps possible, et ne cède sa place que sur les
   petits écrans (la barre fixe du bas offre aussi l'appel sous 760 px). */
@media (max-width: 900px) {
  .entete__actions .btn--tel { display: none; }
}

/* Sous 1100 px, la navigation complète ne tient plus sur une ligne :
   elle bascule dans le menu déroulant. */
@media (max-width: 1100px) {
  .burger { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--noir);
    border-bottom: 3px solid var(--orange);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav.ouvert { max-height: 80vh; overflow-y: auto; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 0.5rem 0; }
  .nav a {
    padding: 0.95rem 24px;
    border-bottom: 1px solid var(--anthracite-2);
    border-left: 3px solid transparent;
  }
  .nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--anthracite-2); border-left-color: var(--orange); }
  .bloc-partenaire { grid-template-columns: 1fr; }
  .bloc-partenaire__logo { max-width: 300px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 74px; }
  .section--metal { background-attachment: scroll; }
  .barre-mobile { display: flex; }
  /* Le menu n'a plus de lien « Demande de service » : le bouton de l'en-tête
     reste donc visible sur tablette, et ne cède sa place qu'ici, lorsque la
     barre fixe du bas (qui l'offre aussi) apparaît. */
  .entete__actions .btn--service { display: none; }
  /* Sur téléphone, la barre supérieure ne garde que les deux mentions, sur
     une seule ligne. Le numéro reste accessible par le bouton fixe
     « Appeler maintenant » en bas de l'écran. */
  .barre-sup__mentions { gap: 0.45rem; font-size: 0.68rem; }
  .barre-sup .conteneur { justify-content: center; }
  .barre-sup__tel { display: none; }
  /* Sur téléphone, la photo est rognée sur les côtés : on décale le cadrage
     vers la droite pour garder l'enseigne du bâtiment dans l'écran. */
  .heros { min-height: 0; --cadrage-heros: 66% 20%; }
  .heros__mentions { font-size: 1rem; }
  .groupe-btn .btn { flex: 1 1 100%; }
  .bande-atouts li { border-right: 0; border-bottom: 1px solid var(--anthracite-3); }
  .visuel { min-height: 250px; }
  .pied__bas { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .logo__mot b { font-size: 1.2rem; }
  .logo__mot span { font-size: 0.58rem; letter-spacing: 0.2em; }
  .conteneur { padding: 0 18px; }
  .entete .logo__marque { width: 56px; height: 56px; }
  .entete .logo { gap: 0.7rem; }
  .barre-sup__mentions { font-size: 0.62rem; letter-spacing: 0.03em; }
}

/* Impression */
@media print {
  .entete, .barre-mobile, .cta-final, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}
