/* =========================================================
   Motocab 2026 : en-tête, pied de page et habillage des pages intérieures
   Chargé après les anciennes feuilles (css2020.css, css2018.css…) par les pages qui portent
   la classe page-2026 sur <body>. Les blocs d'en-tête et de pied de page sont écrits dans
   chaque page par _outils/uniformiser.py.
   La page d'accueil a sa propre feuille, accueil-2026.css, avec le même en-tête.
   Les liens sont écrits « a.classe » : les anciennes feuilles imposent
   a:link { color: inherit !important }, qu'une classe seule ne suffit pas à dépasser.
   ========================================================= */
:root {
  --accent: #00A79D; --accent-vif: #00b8ad; --accent-fonce: #007a73; --accent-pale: #eaf7f5; --accent-voile: #f6fbfa;
  --encre: #0e1422; --gris: #4a5164; --filet: #e3e8ec;
  --r-cadre: 12px; --r-champ: 8px; --r-icone: 6px;
}

body.page-2026 { margin: 0; }
/* les pages qui gardent leur propre dessin (gabarit-propre) gardent aussi leurs couleurs :
   leurs liens héritent de la couleur du texte de la page */
body.page-2026:not(.gabarit-propre) { background: #ffffff; color: var(--encre); font-family: "Source Sans Pro", system-ui, sans-serif; }

/* =========================================================
   En-tête ordinateur : barre sombre et bandeau blanc du menu (65 + 45 = 110 px)
   ========================================================= */
.entete, .entete-mobile { display: none; }
@media screen and (min-width: 1025px) {
  .entete {
    position: fixed; top: 0; left: 0; right: 0; z-index: 6100; box-sizing: border-box;
    display: grid; grid-template-columns: auto 1fr; grid-template-rows: 65px 45px; align-items: center;
    padding: 0 28px; background: linear-gradient(var(--encre) 65px, #ffffff 65px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    font-family: "Source Sans Pro", system-ui, sans-serif; text-align: left;
  }
  .entete a { font-family: inherit; text-decoration: none; }
  .entete-logo { grid-row: 1; grid-column: 1; line-height: 0; }
  .entete-logo img { display: block; height: 56px; width: auto; }

  .entete-outils { grid-row: 1; grid-column: 2; justify-self: end; display: flex; align-items: center; gap: 18px; }
  /* le téléphone reste un moyen de réservation important : numéro toujours affiché, en grand */
  a.entete-tel { display: inline-flex; align-items: center; gap: 10px; color: #ffffff !important; white-space: nowrap; }
  a.entete-tel i {
    flex: none; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
    border-radius: 50%; border: 1px solid rgba(0, 184, 173, 0.55); background: rgba(0, 167, 157, 0.16); color: var(--accent-vif); font-size: 15px;
  }
  a.entete-tel b { font-family: "Montserrat", system-ui, sans-serif; font-size: 18px; font-weight: 700; letter-spacing: 0.01em; line-height: 1; }
  a.entete-tel:hover i { background: var(--accent); color: #ffffff; }
  a.entete-connexion { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; white-space: nowrap; color: #d7dae4 !important; }
  a.entete-connexion i { font-size: 14px; color: var(--accent-vif); }
  a.entete-connexion:hover { color: #ffffff !important; text-decoration: underline; text-underline-offset: 4px; }

  /* bandeau blanc du menu */
  .entete-menu { grid-row: 2; grid-column: 1 / -1; justify-self: end; }
  .entete-menu ul { list-style: none; margin: 0; padding: 0; }
  .entete-menu > ul { display: flex; align-items: center; gap: 6px; margin-right: -14px; }
  .entete-menu > ul > li { position: relative; }
  .entete-menu > ul > li > a {
    display: flex; align-items: center; gap: 6px; height: 45px; padding: 0 14px; box-sizing: border-box;
    color: var(--encre) !important; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap;
    border-top: 3px solid transparent; border-bottom: 3px solid transparent; transition: color 0.15s, border-color 0.15s;
  }
  .entete-menu > ul > li > a i { font-size: 12px; opacity: 0.6; transition: transform 0.2s; }
  .entete-menu > ul > li:hover > a, .entete-menu > ul > li:focus-within > a { color: var(--accent-fonce) !important; border-bottom-color: var(--accent); }
  /* « Réserver un trajet » : premier lien du menu, en vert pour le distinguer */
  .entete-menu > ul > li.entete-menu-reserver > a { color: var(--accent-fonce) !important; font-weight: 700; }
  .entete-menu > ul > li:hover > a i, .entete-menu > ul > li:focus-within > a i { transform: rotate(180deg); }
  .entete-menu li ul {
    position: absolute; left: 0; top: 100%; display: none; min-width: 230px; padding: 6px 0;
    background: #ffffff; border: 1px solid var(--filet); border-top: 0; border-radius: 0 0 10px 10px; box-shadow: 0 18px 40px rgba(14, 20, 34, 0.18);
  }
  .entete-menu > ul > li:last-child > ul { left: auto; right: 0; }
  .entete-menu li:hover > ul, .entete-menu li:focus-within > ul { display: block; }
  .entete-menu li ul a { display: block; padding: 10px 16px; color: var(--encre) !important; font-size: 15px; white-space: nowrap; }
  .entete-menu li ul a:hover { background: var(--accent-pale); color: var(--accent-fonce) !important; }

  /* choix de la langue */
  .langue-menu { position: relative; font-family: "Source Sans Pro", sans-serif; }
  .langue-bouton {
    display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 12px;
    border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.05);
    color: #c9ccd8; font: 600 13px/1 "Source Sans Pro", sans-serif; letter-spacing: 0.08em; cursor: pointer;
  }
  .langue-bouton i { font-size: 12px; transition: transform 0.2s; }
  .langue-bouton:hover, .langue-menu.ouvert .langue-bouton { background: rgba(255, 255, 255, 0.12); color: #fff; }
  .langue-menu.ouvert .langue-bouton i { transform: rotate(180deg); }
  .langue-liste {
    position: absolute; right: 0; top: calc(100% + 8px); z-index: 9500; display: none; min-width: 168px; margin: 0; padding: 6px 0; overflow: hidden; list-style: none;
    background: #10131b; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 10px; box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6);
  }
  .langue-menu.ouvert .langue-liste { display: block; }
  .langue-liste a { display: flex; align-items: center; gap: 10px; padding: 9px 14px; color: #e6e7ec !important; font-size: 14px; text-decoration: none; }
  .langue-liste a:hover { background: rgba(255, 255, 255, 0.08); color: #fff !important; }
  .langue-liste a.actif { color: #fff !important; font-weight: 700; }
  .langue-liste a.actif::after { content: "\2713"; margin-left: auto; color: var(--accent-vif); }
  .langue-liste img { display: block; width: 18px; height: 18px; border-radius: 50%; }
}
/* écrans d'ordinateur étroits : le numéro de téléphone reste affiché à toutes les largeurs */
@media screen and (min-width: 1025px) and (max-width: 1260px) {
  .entete { padding: 0 18px; }
  .entete-menu > ul { gap: 0; margin-right: -10px; }
  .entete-menu > ul > li > a { padding: 0 10px; font-size: 13px; }
}
@media screen and (min-width: 1025px) and (max-width: 1120px) {
  .entete-menu > ul { margin-right: -7px; }
  .entete-menu > ul > li > a { padding: 0 7px; font-size: 12.5px; letter-spacing: 0.02em; gap: 4px; }
}

/* =========================================================
   En-tête mobile : barre de 56 px, menu qui s'ouvre à gauche
   ========================================================= */
@media screen and (max-width: 1024px) {
  .entete-mobile {
    position: fixed; top: 0; left: 0; right: 0; z-index: 9000; height: 56px; box-sizing: border-box;
    display: flex; align-items: center; justify-content: center;
    background: rgba(8, 9, 14, 0.92);
    -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
    font-family: "Source Sans Pro", system-ui, sans-serif;
  }
  .entete-mobile-logo { line-height: 0; }
  .entete-mobile-logo img { display: block; height: 28px; width: auto; }
  a.entete-mobile-rond {
    position: absolute; top: 9px; width: 38px; height: 38px; border-radius: 50%; box-sizing: border-box;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff !important; text-decoration: none;
  }
  a.entete-mobile-rond i { line-height: 1; }
  .entete-mobile-tel { right: 12px; font-size: 16px; }
  .entete-mobile-connexion { right: 58px; font-size: 15px; }

  .menu-mobile-bascule { position: absolute; top: 0; left: 0; z-index: 2; width: 56px; height: 56px; margin: 0; opacity: 0; cursor: pointer; }
  .menu-mobile-bouton { position: absolute; top: 0; left: 0; width: 56px; height: 56px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
  .menu-mobile-bouton span { display: block; width: 22px; height: 2px; background: #e6e7ec; border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
  .menu-mobile-bouton span + span { margin-top: 6px; }
  .menu-mobile-bouton span:nth-child(2) { width: 16px; align-self: flex-start; margin-left: 17px; }
  .menu-mobile-bascule:checked + .menu-mobile-bouton span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-mobile-bascule:checked + .menu-mobile-bouton span:nth-child(2) { opacity: 0; }
  .menu-mobile-bascule:checked + .menu-mobile-bouton span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .menu-mobile {
    position: fixed; top: 56px; left: 0; box-sizing: border-box; width: min(80vw, 320px); height: calc(100vh - 56px); padding: 20px 28px 40px; overflow-y: auto;
    background: #0c0d13; border-right: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateX(-102%); transition: transform 0.3s ease; text-align: left;
  }
  .menu-mobile-bascule:checked ~ .menu-mobile { transform: none; }
  .menu-mobile ul { list-style: none; margin: 0; padding: 0; }
  .menu-mobile > ul > li { padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; }
  .menu-mobile a { color: #ffffff !important; text-decoration: none; font-family: inherit; }
  .menu-mobile li ul { margin-top: 8px; padding-left: 12px; }
  .menu-mobile li ul li { padding: 8px 0; font-size: 14px; letter-spacing: 0; text-transform: none; }
  .menu-mobile li ul a { color: #b8bcc8 !important; }
  .menu-mobile > ul > li.menu-mobile-langues { display: flex; align-items: center; gap: 14px; padding: 20px 0 0; border: 0; }
  .menu-mobile-langues a { display: block; line-height: 0; border-radius: 50%; opacity: 0.75; }
  .menu-mobile-langues a.actif { opacity: 1; box-shadow: 0 0 0 2px #ffffff; }
  .menu-mobile-langues img { display: block; width: 26px; height: 26px; border-radius: 50%; }
}

/* =========================================================
   Habillage des pages intérieures
   Gabarit à deux colonnes (#containertexte, #confirmer, #colcentre1, #colcentre2).
   Le contenu des pages n'est pas modifié : seule sa présentation change.
   ========================================================= */
/* (les pages qui ont leur propre mise en page, gabarit-propre, gardent leur fond et leurs hauteurs) */
body.page-2026:not(.gabarit-propre) #motobirhakeim {
  height: auto !important; min-height: 0; width: auto; margin: 0; padding: 110px 0 0;
  background: none !important; position: static; overflow: visible;
}
body.page-2026 #containertexte.containertexte {
  position: static; float: none; width: auto; max-width: none; height: auto; margin: 0; padding: 0;
  background: none; border: 0; box-shadow: none; border-radius: 0; text-align: left;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); column-gap: 64px;
  padding: 0 max(20px, calc((100vw - 1120px) / 2)) 72px;
}

/* page sans colonne de droite : le texte occupe une seule colonne, plus large */
body.page-2026.une-colonne #containertexte.containertexte { grid-template-columns: minmax(0, 1fr); }
body.page-2026.une-colonne #colcentre1 { max-width: 860px; }
body.page-2026.une-colonne #colcentre2 { display: none; }

/* bandeau du titre, sur toute la largeur */
body.page-2026 #confirmer.confirmer {
  grid-column: 1 / -1; position: static; float: none; visibility: visible; display: block;
  width: auto; height: auto; line-height: normal; box-sizing: border-box;
  margin: 0 calc(-1 * max(20px, calc((100vw - 1120px) / 2))) 56px; padding: 56px max(20px, calc((100vw - 1120px) / 2)) 58px;
  background: var(--encre); color: #ffffff; text-align: left; border-radius: 0;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: center;
}
body.page-2026 #confirmer.confirmer::before { content: ""; grid-column: 1 / -1; display: block; width: 40px; height: 3px; margin-bottom: 20px; background: var(--accent); }
body.page-2026 #confirmer.confirmer > span { display: none; }
/* bouton vers le devis de l'accueil : visible sans défiler, sur toutes les pages */
body.page-2026 a.titre-reserver {
  display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 26px; border-radius: var(--r-champ);
  background: var(--accent); color: #ffffff !important; font: 700 14px/1 "Source Sans Pro", system-ui, sans-serif; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  box-shadow: 0 10px 26px rgba(0, 167, 157, 0.35); transition: background 0.15s, transform 0.15s;
}
body.page-2026 a.titre-reserver:hover { background: var(--accent-vif); transform: translateY(-1px); }
body.page-2026 a.titre-reserver i { font-size: 13px; }
body.page-2026 #confirmer.confirmer h1 {
  max-width: 860px; margin: 0; padding: 0; color: #ffffff; text-transform: none; text-align: left; letter-spacing: 0;
  font: 700 38px/1.18 "Montserrat", system-ui, sans-serif; font-variant: normal;
}

body.page-2026 #confirmer.confirmer h1 a, body.page-2026 #confirmer.confirmer h1 u { color: inherit !important; text-decoration: none; font: inherit; }

/* colonnes de texte */
body.page-2026 #colcentre1, body.page-2026 #colcentre2 {
  position: static; float: none; width: auto; height: auto; margin: 0; padding: 0; background: none; border: 0; min-width: 0;
}
body.page-2026 .bloccentre { position: static; float: none; width: auto; height: auto; margin: 0; padding: 0; background: none; border: 0; text-align: left; }
body.page-2026 #colcentre2 .bloccentre { padding: 30px 32px 34px; background: var(--accent-voile); border: 1px solid var(--filet); border-radius: var(--r-cadre); }

body.page-2026 .bloccentre, body.page-2026 .bloccentre p, body.page-2026 .bloccentre li, body.page-2026 .bloccentre td {
  font-family: "Source Sans Pro", system-ui, sans-serif; font-size: 17px; line-height: 1.65; color: var(--gris); text-align: left;
}
body.page-2026 #colcentre2 .bloccentre, body.page-2026 #colcentre2 .bloccentre p, body.page-2026 #colcentre2 .bloccentre li { font-size: 16px; line-height: 1.6; }
body.page-2026 .bloccentre p { margin: 0 0 18px; }
body.page-2026 .bloccentre h2, body.page-2026 .bloccentre h3 {
  margin: 36px 0 12px; padding: 0; background: none; color: var(--encre); text-align: left; text-transform: none; letter-spacing: 0;
  font-family: "Montserrat", system-ui, sans-serif; font-weight: 700; font-size: 23px; line-height: 1.25;
}
body.page-2026 .bloccentre h3 { font-size: 19px; }
body.page-2026 #colcentre2 .bloccentre h2 { font-size: 19px; margin-top: 30px; }
body.page-2026 .bloccentre > h2:first-child, body.page-2026 .bloccentre > p:first-child { margin-top: 0; }
body.page-2026 .bloccentre h2 a, body.page-2026 .bloccentre h3 a { color: inherit; }
body.page-2026 .bloccentre strong, body.page-2026 .bloccentre b { color: var(--encre); font-weight: 600; }
body.page-2026 .bloccentre a { color: var(--accent-fonce); font-family: inherit; font-size: inherit; text-decoration: underline; text-decoration-color: rgba(0, 122, 115, 0.4); text-underline-offset: 3px; }
body.page-2026 .bloccentre a:hover { text-decoration-color: currentColor; }
body.page-2026 .bloccentre u { text-decoration: none; }
body.page-2026 .bloccentre img { display: block; max-width: 100%; height: auto; margin: 0 0 24px; border-radius: var(--r-cadre); }
body.page-2026 #colcentre1 .bloccentre > img:first-child { width: 100%; max-height: 380px; object-fit: cover; }
body.page-2026 .bloccentre ul, body.page-2026 .bloccentre ol { margin: 0 0 18px; padding-left: 22px; }

/* anciens liens de bas de page placés dans le texte (page recrutement) */
body.page-2026 #containertexte .footerlinks { display: block; width: auto; margin: 0 0 12px; padding: 0; border: 0; font-size: 17px !important; }
body.page-2026 #containertexte .footerlinks a { color: var(--accent-fonce) !important; font-size: 17px !important; }

/* tableaux : ils défilent dans leur cadre au lieu d'élargir la page */
body.page-2026 .bloccentre table { display: block; width: auto !important; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 0 0 22px; font-size: 15px; }
body.page-2026 .bloccentre td, body.page-2026 .bloccentre th { padding: 8px 12px; border: 1px solid var(--filet); font-size: 15px; line-height: 1.4; height: auto; }
body.page-2026 .bloccentre tr:nth-child(even) td { background: var(--accent-voile); }

/* liens vers les pages voisines (blocs .linking, avec ou sans titre h2 autour du lien) :
   une ligne cliquable par lien. L'ancienne feuille les affichait en blanc sur fond sombre. */
body.page-2026 .linking { width: auto; height: auto; margin: 0 0 8px; padding: 0; background: none; border: 0; text-align: left; line-height: normal; }
body.page-2026 .linking + p { margin-top: 10px; }
body.page-2026 .bloccentre .linking h2 { margin: 0; padding: 0; background: none; font: inherit; }
body.page-2026 .bloccentre .linking a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px;
  background: #ffffff; border: 1px solid #cfd8de; border-radius: var(--r-champ);
  color: var(--encre) !important; font: 600 16px/1.3 "Source Sans Pro", system-ui, sans-serif; text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
body.page-2026 .bloccentre .linking a::after { content: "\2192"; color: var(--accent-fonce); font-weight: 400; }
body.page-2026 .bloccentre .linking a:hover { border-color: var(--accent); color: var(--accent-fonce) !important; }

/* =========================================================
   Bandeau de titre posé par le script (pages dont le titre était dans l'ancien en-tête)
   Même aspect que le bandeau #confirmer du gabarit à deux colonnes.
   ========================================================= */
body.page-2026 .titre-page {
  box-sizing: border-box; margin: 0; padding: 56px max(20px, calc((100vw - 1120px) / 2)) 58px;
  background: var(--encre); color: #ffffff; text-align: left;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: center;
}
body.page-2026 .titre-page::before { content: ""; grid-column: 1 / -1; display: block; width: 40px; height: 3px; margin-bottom: 20px; background: var(--accent); }
body.page-2026 .titre-page h1 {
  max-width: 860px; margin: 0; padding: 0; color: #ffffff; text-transform: none; text-align: left; letter-spacing: 0;
  font: 700 38px/1.18 "Montserrat", system-ui, sans-serif; font-variant: normal;
}
/* photo derrière le titre (la même que sur la page « mise à disposition »), assombrie du côté
   du texte pour qu'il reste lisible. Les pages gabarit-propre gardent leur propre photo. */
body.page-2026:not(.gabarit-propre):not(.gabarit-actu) #confirmer.confirmer,
body.page-2026:not(.gabarit-propre) .titre-page {
  min-height: 340px; padding-top: 80px; padding-bottom: 80px; align-content: center;
  background:
    linear-gradient(90deg, rgba(14, 20, 34, 0.86) 0%, rgba(14, 20, 34, 0.62) 36%, rgba(14, 20, 34, 0.14) 68%, rgba(14, 20, 34, 0.05) 100%),
    url("images/G17.jpeg") center 58% / cover no-repeat var(--encre);
}
body.page-2026:not(.gabarit-propre) #confirmer.confirmer h1, body.page-2026:not(.gabarit-propre) .titre-page h1 { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.75); }
body.page-2026:not(.gabarit-propre) .titre-chapo { color: #ffffff; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8); }
/* titre suivi d'une phrase d'introduction dans le bandeau #confirmer : le bouton reste à droite */
body.page-2026 #confirmer.confirmer h1 { grid-column: 1; }
body.page-2026 #confirmer.confirmer .titre-chapo { grid-column: 1; }
body.page-2026 #confirmer.confirmer a.titre-reserver { grid-column: 2; grid-row: 2 / span 2; }
/* pages qui gardent leur photo d'en-tête (gabarit-propre) : le titre se pose sur la photo */
body.gabarit-propre .titre-page { background: none; padding-top: 170px; padding-bottom: 40px; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6); }
body.gabarit-propre .titre-page .titre-chapo { color: #ffffff; }
body.page-2026 .titre-chapo { max-width: 760px; margin: 14px 0 0; color: #c9ccd8; font: 400 19px/1.5 "Source Sans Pro", system-ui, sans-serif; text-align: left; }

/* =========================================================
   Actualités (gabarit-actu) : titre dans le bandeau, date en tête d'article,
   liste des autres actualités dans la colonne de droite
   ========================================================= */
body.gabarit-actu #form1 { margin: 0; padding: 0; }
body.gabarit-actu #containertexte.containertexte { padding-top: 48px; }
body.gabarit-actu #confirmer.confirmer {
  display: block; margin: 0 0 22px; padding: 0; background: none; color: var(--accent-fonce);
  font: 700 13px/1.4 "Source Sans Pro", system-ui, sans-serif; letter-spacing: 0.1em; text-transform: uppercase; font-variant: normal;
}
body.gabarit-actu #confirmer.confirmer::before { display: none; }
body.gabarit-actu .bloccentre img { float: none; display: block; width: auto; max-width: 100%; height: auto; margin: 22px 0; }
body.gabarit-actu #colcentre2 .bloccentre::before { content: "Toutes les actualités"; display: block; margin-bottom: 8px; color: var(--encre); font: 700 19px/1.25 "Montserrat", system-ui, sans-serif; }
body.gabarit-actu #colcentre2 .bloccentre ul { list-style: none; margin: 0 !important; padding: 0 !important; text-align: left !important; font-size: 16px !important; }
body.gabarit-actu #colcentre2 .bloccentre li {
  margin: 0; padding: 12px 0 !important; background: none !important; border-bottom: 1px solid var(--filet) !important;
  font-size: 16px; line-height: 1.4; text-align: left;
}
body.gabarit-actu #colcentre2 .bloccentre li:last-child { border-bottom: 0 !important; padding-bottom: 0 !important; }
body.gabarit-actu #colcentre2 .bloccentre li a { text-decoration: none; color: var(--encre); font-weight: 600; }
body.gabarit-actu #colcentre2 .bloccentre li a:hover { color: var(--accent-fonce); text-decoration: underline; }
/* anciens boutons en image « contact » et « réserver » : remplacés par le bandeau de réservation */
body.gabarit-actu #containerinfos { display: none; }

/* =========================================================
   Pages en cartes (gabarit-cartes) : tarifs, infos pratiques, mentions légales…
   Les blocs .blocinfo passent sur fond clair, en deux colonnes.
   ========================================================= */
body.gabarit-cartes #containerinfos.containerinfos {
  overflow: visible; width: auto; box-sizing: border-box; margin: 0; background: #ffffff; text-align: left;
  padding: 0 max(20px, calc((100vw - 1120px) / 2)) 72px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 56px; align-items: start;
}
body.gabarit-cartes #containerinfos > br { display: none; }
body.gabarit-cartes #containerinfos > h2:first-child { grid-column: 1 / -1; }
body.gabarit-cartes .colinfo1, body.gabarit-cartes .colinfo2, body.gabarit-cartes .colinfo3 { display: contents; }
body.gabarit-cartes .blocinfo {
  position: static; float: none; width: auto; height: auto; min-height: 0 !important; margin: 0; padding: 30px 0 32px; overflow: visible;
  background: none; border: 0; border-top: 1px solid var(--filet); border-radius: 0; box-shadow: none; color: var(--gris); text-align: left;
}
body.gabarit-cartes .blocinfo, body.gabarit-cartes .blocinfo p, body.gabarit-cartes .blocinfo li, body.gabarit-cartes .blocinfo td {
  font-family: "Source Sans Pro", system-ui, sans-serif; font-size: 17px; line-height: 1.65; color: var(--gris);
}
body.gabarit-cartes .blocinfo p { margin: 0 0 14px; }
body.gabarit-cartes .blocinfo > *:last-child { margin-bottom: 0; }
body.gabarit-cartes .blocinfo h2, body.gabarit-cartes .blocinfo h3 {
  margin: 0 0 12px; padding: 0; color: var(--encre); text-transform: none; letter-spacing: 0; text-align: left;
  font-family: "Montserrat", system-ui, sans-serif; font-weight: 700; font-size: 21px; line-height: 1.25;
}
body.gabarit-cartes .blocinfo h3 { font-size: 18px; margin-top: 22px; }
body.gabarit-cartes .blocinfo strong, body.gabarit-cartes .blocinfo b { color: var(--encre); font-weight: 600; }
body.gabarit-cartes .blocinfo a { color: var(--accent-fonce); font-family: inherit; font-size: inherit; text-decoration: underline; text-decoration-color: rgba(0, 122, 115, 0.4); text-underline-offset: 3px; }
body.gabarit-cartes .blocinfo a:hover { text-decoration-color: currentColor; }
body.gabarit-cartes .blocinfo u { text-decoration: none; }
body.gabarit-cartes .blocinfo img { display: block; width: 100%; max-width: 100%; height: auto; margin: 4px 0 18px; border-radius: var(--r-cadre); filter: none; transform: none; }
body.gabarit-cartes .blocinfo ul, body.gabarit-cartes .blocinfo ol { margin: 0 0 14px; padding-left: 22px; }
body.gabarit-cartes .blocinfo div[style*="background-image"] { float: none !important; width: 140px !important; height: 140px !important; margin: 0 0 14px; border-radius: var(--r-cadre); }
/* vidéos, cadres et tableaux : jamais plus larges que la colonne */
body.page-2026 .blocinfo video, body.page-2026 .blocinfo iframe, body.page-2026 .bloccentre video, body.page-2026 .bloccentre iframe { display: block; max-width: 100%; height: auto; border-radius: var(--r-cadre); }
body.page-2026 .blocinfo iframe, body.page-2026 .bloccentre iframe { aspect-ratio: 16 / 9; width: 100%; }
body.gabarit-cartes .blocinfo table { display: block; width: auto !important; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
body.gabarit-cartes .blocinfo td, body.gabarit-cartes .blocinfo th { padding: 8px 12px; border: 1px solid var(--filet); font-size: 15px; }
body.gabarit-cartes .blocinfo, body.gabarit-cartes .blocinfo p, body.gabarit-cartes .blocinfo li { overflow-wrap: anywhere; }
/* bandeau de titre placé dans le contenu (mentions légales…) */
body.gabarit-cartes #containerinfos > #confirmer.confirmer { margin-bottom: 40px; }
/* encart « simulateur de tarif » */
body.gabarit-cartes .cta-tarifs-wrapper { grid-column: 1 / -1; width: auto; max-width: none; margin: 40px 0 40px; padding: 0; }
body.gabarit-cartes .cta-tarifs-card {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; width: auto; max-width: none; margin: 0; padding: 26px 30px; box-sizing: border-box;
  background: var(--accent-pale); border: 1px solid var(--filet); border-radius: var(--r-cadre); box-shadow: none; color: var(--encre); text-align: left;
}
body.gabarit-cartes .cta-tarifs-title { margin: 0 0 6px; color: var(--encre); font: 700 22px/1.25 "Montserrat", system-ui, sans-serif; text-transform: none; letter-spacing: 0; text-align: left; }
body.gabarit-cartes .cta-tarifs-text { margin: 0; color: var(--gris); font: 400 17px/1.5 "Source Sans Pro", system-ui, sans-serif; text-align: left; }
body.gabarit-cartes a.cta-tarifs-button {
  flex: none; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 54px; padding: 8px 26px; box-sizing: border-box;
  background: var(--encre); color: #ffffff !important; border: 0; border-radius: var(--r-champ); box-shadow: none;
  font: 700 14px/1.1 "Source Sans Pro", system-ui, sans-serif; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
}
body.gabarit-cartes a.cta-tarifs-button:hover { background: #1c2438; transform: none; }
body.gabarit-cartes .cta-tarifs-button-sub { display: block; color: #c9ccd8; font-size: 12px; font-weight: 400; letter-spacing: 0.02em; text-transform: none; }

/* =========================================================
   Bouton WhatsApp « Live Chat » : posé sur toutes les pages par le bloc commun.
   L'ancien bouton, écrit dans le contenu de certaines pages (.wtsp), est masqué
   pour ne pas apparaître deux fois.
   ========================================================= */
body.page-2026 .wtsp { display: none !important; }
.chat-2026 { position: fixed; right: 24px; bottom: 14px; z-index: 8000; font-family: "Source Sans Pro", system-ui, sans-serif; text-align: left; }
.chat-2026-bouton {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px 0 14px; border: 0; border-radius: 50px; cursor: pointer;
  background: #0fbd3a; color: #ffffff; font: 600 16px/1 "Source Sans Pro", system-ui, sans-serif;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28); transition: background 0.15s, transform 0.15s;
}
.chat-2026-bouton:hover { background: #0ca532; transform: translateY(-1px); }
.chat-2026-bouton i { font-size: 21px; }
.chat-2026-boite {
  position: absolute; right: 0; bottom: 52px; width: 300px; max-width: calc(100vw - 32px); box-sizing: border-box; padding: 16px 40px 16px 16px;
  background: #ffffff; border: 1px solid var(--filet); border-radius: var(--r-cadre); box-shadow: 0 18px 44px rgba(14, 20, 34, 0.28);
}
.chat-2026-boite[hidden] { display: none; }
.chat-2026 a.chat-2026-lien { display: flex; align-items: center; gap: 12px; color: var(--encre) !important; text-decoration: none; }
.chat-2026-lien i { flex: none; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #0fbd3a; color: #ffffff; font-size: 25px; }
.chat-2026-lien small { display: block; font-size: 13px; color: var(--gris); line-height: 1.3; }
.chat-2026-lien b { display: block; margin-top: 2px; font-size: 16px; font-weight: 600; color: var(--encre); line-height: 1.3; }
.chat-2026-fermer { position: absolute; top: 6px; right: 8px; width: 28px; height: 28px; padding: 0; border: 0; background: none; color: #8d93a3; font-size: 22px; line-height: 1; cursor: pointer; }
@media screen and (max-width: 1024px) {
  .chat-2026 { right: 16px; bottom: 12px; }
}

/* =========================================================
   Appel à réserver, avant le pied de page
   ========================================================= */
.appel-reservation { background: var(--accent-pale); border-top: 1px solid var(--filet); font-family: "Source Sans Pro", system-ui, sans-serif; }
.appel-reservation-int { max-width: 1120px; margin: 0 auto; padding: 40px 20px; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 28px; text-align: left; }
.appel-reservation-texte strong { display: block; font: 700 26px/1.2 "Montserrat", system-ui, sans-serif; color: var(--encre); }
.appel-reservation-texte span { display: block; margin-top: 6px; font-size: 17px; color: var(--gris); }
.appel-reservation-actions { flex: none; display: flex; align-items: center; gap: 22px; }
a.appel-reservation-btn {
  display: inline-flex; align-items: center; height: 52px; padding: 0 26px; border-radius: var(--r-champ);
  background: var(--accent); color: #ffffff !important; font: 700 14px/1 "Source Sans Pro", system-ui, sans-serif; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: background 0.15s;
}
a.appel-reservation-btn:hover { background: var(--accent-fonce); }
a.appel-reservation-tel { display: inline-flex; align-items: center; gap: 10px; color: var(--encre) !important; font: 700 19px/1 "Montserrat", system-ui, sans-serif; text-decoration: none; white-space: nowrap; }
a.appel-reservation-tel i { font-size: 15px; color: var(--accent-fonce); }

/* =========================================================
   Pied de page
   ========================================================= */
.pied { background: var(--encre); color: #c9ccd8; font-family: "Source Sans Pro", system-ui, sans-serif; font-size: 15px; line-height: 1.5; text-align: left; }
.pied a { color: #c9ccd8 !important; font-family: inherit; font-size: inherit; text-decoration: none; }
.pied a:hover { color: #ffffff !important; text-decoration: underline; text-underline-offset: 3px; }
.pied-int { max-width: 1120px; margin: 0 auto; padding: 56px 20px 44px; box-sizing: border-box; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.pied-marque img { display: block; width: 150px; height: auto; margin: -8px 0 10px -6px; }
.pied-marque p { margin: 0 0 16px; max-width: 260px; color: #a9afbf; font-size: 15px; line-height: 1.5; }
a.pied-tel { display: inline-flex; align-items: center; gap: 10px; color: #ffffff !important; font: 700 18px/1 "Montserrat", system-ui, sans-serif !important; white-space: nowrap; }
a.pied-tel i { font-size: 14px; color: var(--accent-vif); }
.pied-colonne strong { display: block; margin-bottom: 14px; color: #ffffff; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.pied-colonne ul { list-style: none; margin: 0; padding: 0; }
.pied-colonne li { margin: 0 0 9px; padding: 0; }
.pied-bas { max-width: 1120px; margin: 0 auto; padding: 20px 20px 28px; box-sizing: border-box; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 13.5px; color: #8d93a3; }
.pied-bas a { color: #a9afbf !important; }

/* =========================================================
   Mobile et tablette
   ========================================================= */
@media screen and (max-width: 1024px) {
  body.page-2026:not(.gabarit-propre) #motobirhakeim { padding-top: 56px; }
  body.page-2026 #containertexte.containertexte { display: block; padding: 0 18px 48px; }
  body.page-2026 #confirmer.confirmer { margin: 0 -18px 32px; padding: 32px 18px 30px; grid-template-columns: minmax(0, 1fr); row-gap: 22px; }
  body.page-2026 #confirmer.confirmer::before { margin-bottom: 0; }
  body.page-2026 a.titre-reserver { justify-content: center; height: 52px; }
  body.page-2026 #confirmer.confirmer h1 { font-size: 27px; line-height: 1.22; }
  body.page-2026 .bloccentre h2, body.page-2026 .bloccentre h3 { font-size: 21px; margin-top: 30px; }
  body.page-2026 #colcentre2 { margin-top: 36px; }
  body.page-2026 #colcentre2 .bloccentre { padding: 24px 20px 26px; }

  body.page-2026 .titre-page { padding: 32px 18px 30px; grid-template-columns: minmax(0, 1fr); row-gap: 22px; }
  body.page-2026 #confirmer.confirmer a.titre-reserver { grid-column: 1; grid-row: auto; }
  body.page-2026:not(.gabarit-propre):not(.gabarit-actu) #confirmer.confirmer,
  body.page-2026:not(.gabarit-propre) .titre-page {
    min-height: 0; padding-top: 44px; padding-bottom: 36px;
    background:
      linear-gradient(180deg, rgba(14, 20, 34, 0.5) 0%, rgba(14, 20, 34, 0.72) 100%),
      url("images/G17.jpeg") 62% 50% / cover no-repeat var(--encre);
  }
  body.gabarit-propre .titre-page { padding-top: 96px; padding-bottom: 28px; }
  body.page-2026 .titre-page::before { margin-bottom: 0; }
  body.page-2026 .titre-page h1 { font-size: 27px; line-height: 1.22; }
  body.page-2026 .titre-chapo { font-size: 17px; margin-top: 10px; }
  body.gabarit-actu #containertexte.containertexte { padding-top: 32px; }
  body.gabarit-actu #confirmer.confirmer { margin: 0 0 16px; padding: 0; }
  body.gabarit-cartes #containerinfos.containerinfos { display: block; padding: 0 18px 48px; }
  body.gabarit-cartes .blocinfo { padding: 26px 0 28px; }
  body.gabarit-cartes .blocinfo h2 { font-size: 20px; }
  body.gabarit-cartes #containerinfos > #confirmer.confirmer { margin: 0 -18px 28px; }
  body.gabarit-cartes .cta-tarifs-wrapper { margin: 28px 0; }
  body.gabarit-cartes .cta-tarifs-card { flex-direction: column; align-items: stretch; gap: 18px; padding: 22px 20px; }
  body.gabarit-cartes .cta-tarifs-title { font-size: 20px; }
  body.gabarit-cartes a.cta-tarifs-button { white-space: normal; text-align: center; padding: 12px 16px; }

  .appel-reservation-int { flex-direction: column; align-items: stretch; gap: 20px; padding: 34px 18px; }
  .appel-reservation-texte strong { font-size: 23px; }
  .appel-reservation-actions { flex-direction: column; align-items: stretch; gap: 16px; }
  a.appel-reservation-btn { justify-content: center; }
  a.appel-reservation-tel { justify-content: center; }

  .pied-int { grid-template-columns: 1fr 1fr; gap: 32px 24px; padding: 44px 18px 32px; }
  .pied-marque { grid-column: 1 / -1; }
  .pied-bas { padding: 18px 18px 90px; gap: 8px 20px; }
}
@media screen and (max-width: 520px) {
  .pied-int { grid-template-columns: 1fr; }
}
