/* =========================================================
   Page d'accueil 2026
   Devis rapide dans le premier écran, atouts, repères de temps de trajet,
   offre entreprise, bandeau application (mobile).
   Chargé uniquement par index.php, après css2025.css et motocab-2025.css.
   ========================================================= */

body {
  --accent: #00A79D;
  --accent-vif: #00b8ad;
  --accent-fonce: #007a73;
  --accent-pale: #eaf7f5;
  --accent-voile: #f6fbfa;
  --encre: #0e1422;
  --gris: #4a5164;
  --r-cadre: 12px;
  --r-champ: 8px;
  --r-icone: 6px;
}

/* ---------- Premier écran : bloc photo ----------
   Pas de marge intérieure horizontale ici : le menu du site (position fixe, sans « left »)
   se cale sur le bord de ce bloc. */
#motobirhakeim.backbirhakeim2 {
  position: relative;
  display: block;
  box-sizing: border-box;
  height: auto !important;
  background-color: #0b0d12;
  background-repeat: no-repeat;
}

/* ---------- Panneau de réservation ---------- */
#motobirhakeim #containerform.containerform2 {
  position: relative;
  top: 0;
  left: auto;
  z-index: 2; /* au-dessus du bandeau des atouts : les listes déroulantes le recouvrent */
  box-sizing: border-box;
  height: auto !important;
  min-height: 0;
  text-align: center;
  border: 0;
  border-radius: var(--r-cadre);
  background: linear-gradient(180deg, #ffffff 0%, var(--accent-voile) 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7), 0 24px 60px rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
#containerform.containerform2 h1 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  text-align: center;
  text-shadow: none;
  color: var(--encre);
}
#containerform.containerform2 h1 .accent { color: var(--accent); }
/* « chez Motocab » passe à la ligne sur mobile ; sur ordinateur il reste sur la même ligne.
   Un <span> plutôt qu'un <br> : Weglot supprimait l'espace devant le <br> (« taxiwith Motocab »). */
#containerform.containerform2 h1 .h1-suite { display: block; }
/* espace garanti devant « chez Motocab » quand il est en ligne : Weglot retire l'espace entre les deux <span> */
#containerform.containerform2 h1 .h1-suite::before { content: " "; }
.promesse {
  font-family: "Source Sans Pro", system-ui, sans-serif;
  line-height: 1.35;
  text-align: center;
  color: #2c3345;
}
.promesse strong { font-weight: 700; color: var(--accent-fonce); }

/* ---------- Formulaire ---------- */
.devis { font-family: "Source Sans Pro", system-ui, sans-serif; color: var(--encre); text-align: left; }
.devis-champ { position: relative; }
.devis input {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  width: 100%;
  padding: 0 0.9rem;
  font: inherit;
  font-size: 1.05rem;
  color: var(--encre);
  color-scheme: light;
  background: #f3f6f8;
  border: 1px solid transparent;
  border-radius: var(--r-champ);
  outline: 0;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.devis input::placeholder { color: #8d93a3; }
.devis input:hover { background: #ecf1f3; }
.devis input:focus { background: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0, 167, 157, 0.16); }
.devis input.est-choisie { background: var(--accent-pale); font-weight: 600; }
.devis input.manque { border-color: #d18a2c; }

/* repères départ / arrivée à gauche, avion + train à droite */
#devis-champ-dep input, #devis-champ-arr input { text-overflow: ellipsis; }
.devis-picto {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 10px; height: 10px; box-sizing: border-box;
  border-radius: 50%; border: 2px solid var(--accent);
}
.devis-picto-arr { border-radius: 2px; background: var(--accent); }
.devis-actions { position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%); display: flex; gap: 0.25rem; }
.devis-action {
  display: flex; align-items: center; justify-content: center; padding: 0;
  border: 0; border-radius: var(--r-icone); cursor: pointer;
  background: #ffffff; box-shadow: 0 1px 2px rgba(14, 20, 34, 0.12);
  transition: background 0.15s;
}
.devis-action img { opacity: 0.7; }
.devis-action:hover, .devis-action.ouvert { background: var(--accent); }
.devis-action:hover img, .devis-action.ouvert img { filter: invert(1); opacity: 1; }

/* liste déroulante : suggestions d'adresses, aéroports, gares */
.devis-liste {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; display: none;
  max-height: 300px; overflow-y: auto;
  background: #ffffff; border: 1px solid #e3e8ec; border-radius: var(--r-champ);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.25);
}
.devis-liste.visible { display: block; }
.devis-liste .titre { padding: 0.55rem 0.9rem 0.3rem; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: #8d93a3; }
.devis-liste .item { display: flex; align-items: center; gap: 0.7rem; padding: 0.65rem 0.9rem; font-size: 0.98rem; color: var(--encre); cursor: pointer; border-top: 1px solid #eef0f5; }
.devis-liste .titre + .item { border-top: 0; }
.devis-liste .item:hover, .devis-liste .item.survol { background: var(--accent-pale); }
.devis-liste .item img { width: 16px; height: 16px; flex: none; opacity: 0.55; }
.devis-liste .item small { margin-left: auto; padding-left: 0.6rem; white-space: nowrap; color: #8d93a3; }
.devis-liste .vide { padding: 0.7rem 0.9rem; font-size: 0.92rem; color: #8d93a3; }

/* boutons */
.devis-btn {
  display: flex; align-items: center; justify-content: center; box-sizing: border-box;
  border: 0; border-radius: var(--r-champ);
  background: var(--accent); color: #fff;
  font: inherit; font-size: 1rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 167, 157, 0.35);
  cursor: pointer; transition: background 0.18s;
}
.devis-btn:hover { background: var(--accent-vif); }
.devis-btn[disabled] { opacity: 0.6; cursor: wait; }
.devis-btn i { margin-left: 10px; font-size: 0.9em; transition: transform 0.18s; }
.devis-btn:hover i { transform: translateX(3px); }

/* Un seul bouton visible à la fois : « Voir le prix », puis « Réserver à … » quand le prix est affiché */
.devis-btn.reserver { display: none; background: var(--encre); color: #fff !important; font-size: 1.05rem; box-shadow: 0 12px 28px rgba(14, 20, 34, 0.4); }
.devis-btn.reserver:hover { background: #1b2540; }
.devis.a-un-prix #devis-voir { display: none; }
.devis.a-un-prix .devis-btn.reserver { display: flex; animation: devis-appel 0.9s ease-out 0.15s 1 both; }
@keyframes devis-appel {
  0% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(0, 167, 157, 0.55), 0 12px 28px rgba(14, 20, 34, 0.4); }
  45% { transform: scale(1.03); }
  100% { transform: scale(1); box-shadow: 0 0 0 14px rgba(0, 167, 157, 0), 0 12px 28px rgba(14, 20, 34, 0.4); }
}
@media (prefers-reduced-motion: reduce) { .devis.a-un-prix .devis-btn.reserver { animation: none; } }

/* résultat et messages */
.devis-resultat { display: none; border-radius: var(--r-champ); background: var(--accent-pale); }
.devis-prix b { font-family: "Montserrat", system-ui, sans-serif; line-height: 1; white-space: nowrap; color: var(--accent-fonce); }
.devis-duree { margin: 0; font-weight: 700; color: var(--accent-fonce); } /* même vert foncé que le prix */
.devis-duree span { font-weight: 400; color: var(--gris); }
.devis-note { color: var(--gris); }
.devis-note strong { color: var(--encre); font-weight: 600; }
/* majoration : la raison en pastille ambre (même palette que les messages), le tarif de base en retrait */
.devis-majo {
  display: inline; margin-right: 8px; padding: 1px 8px; border-radius: 999px; background: #fff3d6; color: #7a4d0c; font-weight: 600;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; /* la pastille suit le texte s'il passe à la ligne */
}
.devis-majo strong { color: inherit; font-weight: 700; }
.devis-base { white-space: nowrap; }
/* ce que le prix comprend : une ligne, trois repères, les mots-clés en évidence */
.devis-garanties { display: block; margin-top: 2px; }
.devis-garanties b { color: var(--encre); font-weight: 600; }
/* offre de bienvenue (groupe offre seulement) : une ligne, dans le vert du prix, le code en gras */
.devis-bienvenue { display: block; margin-top: 4px; color: var(--accent-fonce); }
.devis-bienvenue b { color: inherit; font-weight: 700; }
/* « en 30 secondes » dans le bouton Réserver : masqué sur les écrans d'ordinateur étroits, où la grille n'a pas la place */
.devis-30s { margin-left: 10px; font-size: 0.78em; font-weight: 400; opacity: 0.85; white-space: nowrap; }
@media (min-width: 1025px) and (max-width: 1320px) { .devis-30s { display: none; } }
@media (max-width: 1024px) {
  /* sur téléphone le bouton prend toute la largeur : « Réserver à 76 € → » puis « en 30 secondes » dessous */
  .devis-btn.reserver { flex-wrap: wrap; row-gap: 2px; }
  .devis-btn.reserver i { order: 2; }
  .devis-30s { order: 3; flex-basis: 100%; margin-left: 0; text-align: center; letter-spacing: 0.04em; }
}
.devis-erreur {
  display: none; border-radius: var(--r-champ);
  background: #fff6e8; border: 1px solid #f0c98a; color: #7a4d0c; font-size: 0.92rem;
}
.devis-erreur.visible { display: block; }
.devis-erreur a { color: var(--encre); font-weight: 600; }

/* ---------- Atouts : bandeau sous le panneau, sur la photo ---------- */
.devis-atouts {
  position: relative; z-index: 1; box-sizing: border-box; list-style: none;
  font-family: "Source Sans Pro", system-ui, sans-serif; font-weight: 600; color: #ffffff;
  background: rgba(8, 9, 14, 0.62);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--r-champ);
}
.devis-atouts li { display: flex; gap: 7px; }
.devis-atouts i { font-size: 0.72rem; opacity: 0.9; }
.devis-atouts .note-google { justify-content: center; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.devis-atouts .etoiles { color: #f5b301; letter-spacing: 1px; margin-right: 2px; font-size: 0.85em; }
/* étoiles en CSS : hors du texte, Weglot ne peut plus mélanger la note et les étoiles (« ★★★★★4 .9/5 ») */
.devis-atouts .etoiles::before { content: "★★★★★"; }

/* =========================================================
   ORDINATEUR
   ========================================================= */
@media (min-width: 1025px) {
  /* La photo démarre sous le menu (110 px) et garde toute sa hauteur : les personnes et la moto
     se retrouvent sous le panneau et le bandeau des atouts, au lieu d'être cachées derrière.
     Hauteur du bloc = 110 px + hauteur de la photo à pleine largeur (format 3:2). */
  #motobirhakeim.backbirhakeim2 {
    min-height: calc(110px + 66.67vw);
    padding: 172px 0 40px;
    background-image: url("images/accueil/passager-vendome-1920.jpg") !important;
    background-size: 100% auto;
    background-position: center 110px !important;
  }
  #motobirhakeim #containerform.containerform2 { width: min(1120px, 92vw); margin: 0 auto; padding: 20px 16px 16px; }
  #containerform.containerform2 h1 { font-size: 36px; }
  #containerform.containerform2 h1 .h1-suite { display: inline; }
  .promesse { font-size: 1.12rem; margin: 8px 0 18px; }

  /* formulaire en barre horizontale */
  .devis { display: grid; grid-template-columns: 1.5fr 1.5fr 0.95fr 0.72fr auto; gap: 10px; align-items: start; }
  .devis-deux { display: contents; }
  .devis input { height: 52px; }
  #devis-champ-dep input, #devis-champ-arr input { padding-left: 2.3rem; padding-right: 5.3rem; }
  .devis-picto { left: 0.95rem; }
  .devis-action { width: 34px; height: 34px; }
  .devis-action img { width: 18px; height: 18px; }
  #devis-voir, #devis-reserver { height: 52px; padding: 0 1.9rem; white-space: nowrap; }

  .devis-erreur, .devis-resultat { grid-column: 1 / -1; }
  .devis-erreur { margin: 2px 0 0; padding: 0.7rem 0.9rem; }
  .devis-resultat { margin: 2px 0 0; padding: 12px 14px 12px 18px; }
  .devis-resultat.visible { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 22px; }
  .devis-prix b { display: block; font-size: 2.1rem; }
  .devis-duree { font-size: 1rem; }
  .devis-note { margin: 3px 0 0; font-size: 0.92rem; line-height: 1.4; }

  /* atouts : même largeur que le panneau, note Google sur sa ligne */
  .devis-atouts {
    width: min(1120px, 92vw); margin: 14px auto 0; padding: 10px 22px 12px;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: 0.9rem;
  }
  .devis-atouts li { align-items: center; white-space: nowrap; }
  .devis-atouts .note-google { flex: 0 0 100%; padding-bottom: 8px; }
}
/* écrans d'ordinateur étroits */
@media (min-width: 1025px) and (max-width: 1320px) {
  #containerform.containerform2 h1 { font-size: 32px; }
  .devis { grid-template-columns: 1.3fr 1.3fr 1fr 0.78fr auto; }
  #devis-voir, #devis-reserver { padding: 0 1.2rem; }
}
@media (min-width: 1025px) and (max-width: 1180px) {
  .devis-atouts { gap: 8px 12px; font-size: 0.85rem; padding-left: 14px; padding-right: 14px; }
}

/* =========================================================
   MOBILE ET TABLETTE
   ========================================================= */
@media screen and (max-width: 1024px) {
  /* bloc photo allongé : la moto apparaît entière sous le formulaire.
     L'espace au-dessus du panneau est porté par le bloc photo (padding) : une marge sur le panneau
     se reporterait sur le bloc et ferait démarrer la photo plus bas.
     Trois couches : fondu sur la jointure, photo cadrée sur la moto en bas, photo habituelle en haut. */
  #motobirhakeim.backbirhakeim2 {
    min-height: 0;
    padding: 163px 0 100vw;
    background-image:
      linear-gradient(180deg, rgba(11, 13, 18, 0) 0%, rgba(11, 13, 18, 0.4) 50%, rgba(11, 13, 18, 0) 100%),
      url("images/accueil/passager-vendome-1100.jpg"),
      url("images/accueil/passager-vendome-1100.jpg") !important;
    background-size: 100% 90px, 190% auto, auto 900px;
    background-position: center bottom calc(126.6vw - 45px), 72% bottom, 40% top !important;
  }
  body.sans-bandeau-app #motobirhakeim.backbirhakeim2 { padding-top: 109px; }

  #motobirhakeim #containerform.containerform2 { width: auto; margin: 0 16px; padding: 1.6rem 1.25rem 1.5rem; }
  #containerform.containerform2 h1 { font-size: 1.4rem; margin-bottom: 0.4rem; }
  .promesse { font-size: 1rem; margin: 2px 0 16px; }

  .devis-champ { margin-bottom: 0.6rem; }
  .devis input { height: 50px; font-size: 16px; } /* 16 px : évite le zoom automatique d'iOS */
  #devis-champ-dep input, #devis-champ-arr input { padding-left: 2.6rem; padding-right: 6.2rem; }
  .devis-picto { left: 1.05rem; }
  /* pointillé entre départ et arrivée */
  #devis-champ-dep:after {
    content: ""; position: absolute; left: calc(1.05rem + 4px); top: calc(50% + 8px); width: 2px; height: calc(100% - 4px); z-index: 1;
    background: repeating-linear-gradient(180deg, #a9afbf 0 3px, transparent 3px 6px);
  }
  .devis-action { width: 38px; height: 38px; }
  .devis-action img { width: 20px; height: 20px; }
  .devis-deux { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .devis-deux .devis-champ { margin-bottom: 0; }
  /* le formulaire devient une colonne : « Réserver » prend la place exacte de « Voir le prix »,
     le détail (temps de trajet, majoration) s'affiche dessous ; un message d'erreur reste au-dessus du bouton */
  .devis { display: flex; flex-direction: column; }
  .devis-erreur { order: 1; }
  #devis-voir, #devis-reserver { order: 2; width: 100%; margin-top: 0.9rem; padding: 1.05rem 1.5rem; }
  .devis-resultat { order: 3; }

  .devis-erreur { margin: 0.3rem 0 0; padding: 0.7rem 0.9rem; }
  .devis-resultat { margin-top: 0.7rem; padding: 1rem 1.1rem; }
  .devis-resultat.visible { display: block; }
  .devis-prix b { font-size: 1.9rem; }
  .devis-duree { margin-top: 0.6rem; font-size: 0.95rem; line-height: 1.35; }
  .devis-duree span { display: block; }
  .devis-note { margin: 0.4rem 0 0; font-size: 0.85rem; line-height: 1.4; }

  .devis-atouts {
    margin: 14px 16px 0; padding: 12px 14px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 7px 12px; text-align: left; font-size: 0.86rem;
  }
  .devis-atouts li { align-items: flex-start; line-height: 1.25; }
  .devis-atouts i { margin-top: 3px; }
  .devis-atouts .note-google { grid-column: 1 / -1; padding-bottom: 6px; margin-bottom: 2px; }

  /* ---------- Bandeau du haut ---------- */
  #baselineresp.baseline {
    position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
    width: 100%; height: 56px; box-sizing: border-box; padding: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(8, 9, 14, 0.78);
    -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);
  }
  #baselineresp .logo_taxi_moto_motocab { position: static; width: auto; padding: 0; margin: 0; }
  #baselineresp .logo_taxi_moto_motocab img { display: block; height: 28px; width: auto; }
  #baselineresp .language { display: none; }

  #menuToggle {
    position: fixed; top: 0; left: 0; z-index: 9100; width: 56px; height: 56px;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
  }
  #menuToggle input { top: 0; left: 0; width: 56px; height: 56px; margin: 0; }
  #menuToggle span { width: 22px; height: 2px; margin: 0; background: #e6e7ec; border-radius: 2px; transform-origin: center; transition: transform 0.3s, opacity 0.3s; }
  #menuToggle span + span { margin-top: 6px; }
  #menuToggle span:nth-last-child(2) { width: 16px; align-self: flex-start; margin-left: 17px !important; }
  #menuToggle input:checked ~ span { opacity: 0; transform: scaleX(0); }
  #menuToggle:has(input:checked)::after {
    content: "\00d7"; position: absolute; left: 0; top: 0; width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font: 300 30px/1 "Source Sans Pro", sans-serif; pointer-events: none;
  }
  #menu {
    position: fixed; top: 56px; left: 0; margin: 0; box-sizing: border-box;
    width: min(80vw, 320px); height: calc(100vh - 56px); padding: 28px 28px 40px; overflow-y: auto;
    background: rgba(12, 13, 19, 0.97); border-right: 1px solid rgba(255, 255, 255, 0.08);
  }
  #menu li { padding: 12px 0; font-size: 15px; letter-spacing: 0.04em; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  #menu li ul { margin-top: 8px; padding-left: 12px; }
  #menu li ul li { padding: 8px 0; font-size: 13px; border: 0; text-transform: none; color: #b8bcc8; }

  .tel-resp, .connexion-resp {
    position: fixed; top: 9px; z-index: 9100; width: 38px; height: 38px; border-radius: 50%;
    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: #fff !important; text-decoration: none;
  }
  .tel-resp { right: 12px; font-size: 16px; }
  .connexion-resp { right: 58px; font-size: 15px; }
  .tel-resp i, .connexion-resp i { line-height: 1; }

  /* ---------- Bandeau application ---------- */
  .bandeau-app {
    position: fixed; top: 56px; left: 0; right: 0; z-index: 8900; height: 60px; box-sizing: border-box;
    display: flex; align-items: center; gap: 10px; padding: 0 12px 0 4px;
    background: #ffffff; border-bottom: 1px solid #e3e8ec; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    font-family: "Source Sans Pro", system-ui, sans-serif; color: var(--encre);
  }
  .bandeau-app.ferme { display: none; }
  .bandeau-app-fermer { flex: none; width: 32px; height: 44px; padding: 0; border: 0; background: none; color: #8d93a3; font-size: 22px; line-height: 1; cursor: pointer; }
  .bandeau-app-icone { flex: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid #e3e8ec; background: #fff; object-fit: cover; }
  .bandeau-app-texte { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
  .bandeau-app-texte strong { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bandeau-app-texte span { font-size: 12.5px; color: #5b6172; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bandeau-app-bouton {
    flex: none; display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px;
    background: var(--encre); color: #fff !important; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-decoration: none; text-transform: uppercase;
  }
}
@media screen and (min-width: 1025px) {
  .bandeau-app, .connexion-resp { display: none; }
}

/* =========================================================
   Repères de temps de trajet
   ========================================================= */
.reperes { background: #ffffff; color: var(--encre); font-family: "Source Sans Pro", system-ui, sans-serif; padding: 56px 20px 60px; }
.reperes-int { max-width: 1120px; margin: 0 auto; text-align: center; }
.reperes h2 { font-family: "Montserrat", system-ui, sans-serif; font-weight: 700; font-size: 30px; line-height: 1.2; margin: 0 0 10px; color: var(--encre); }
.reperes-chapo { max-width: 640px; margin: 0 auto 34px; font-size: 1.08rem; line-height: 1.5; color: var(--gris); }
.reperes-grille { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #e3e8ec; border-bottom: 1px solid #e3e8ec; }
.repere { display: flex; flex-direction: column; align-items: center; padding: 28px 16px; text-decoration: none; color: inherit; border-left: 1px solid #e3e8ec; transition: background 0.15s; }
.repere:first-child { border-left: 0; }
.repere:hover { background: var(--accent-pale); }
.repere-trajet { font-size: 0.95rem; font-weight: 600; color: var(--gris); letter-spacing: 0.02em; }
.repere-trajet sup { font-size: 0.65em; }
.repere-duree { font-family: "Montserrat", system-ui, sans-serif; font-weight: 700; font-size: 64px; line-height: 1; margin: 10px 0 8px; color: var(--accent); }
.repere-duree small { font-size: 22px; font-weight: 600; margin-left: 2px; }
.repere-prix { font-size: 1.15rem; font-weight: 600; color: var(--encre); }

/* =========================================================
   Offre entreprise
   ========================================================= */
.entreprise { background: var(--encre); color: #ffffff; font-family: "Source Sans Pro", system-ui, sans-serif; padding: 60px 20px; }
.entreprise-int { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.entreprise-sur { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-vif); margin-bottom: 12px; }
.entreprise h2 { font-family: "Montserrat", system-ui, sans-serif; font-weight: 700; font-size: 30px; line-height: 1.2; margin: 0 0 14px; color: #fff; }
.entreprise p { font-size: 1.08rem; line-height: 1.5; color: #c9ccd8; margin: 0 0 26px; }
.entreprise-btn {
  display: inline-flex; align-items: center; height: 50px; padding: 0 1.8rem; border-radius: var(--r-champ);
  background: var(--accent); color: #fff !important; font-size: 0.95rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
}
.entreprise-btn:hover { background: var(--accent-vif); }
.entreprise-lien { display: block; margin-top: 16px; color: #c9ccd8 !important; font-size: 0.95rem; text-decoration: underline; text-underline-offset: 3px; }
.entreprise-liste { list-style: none; margin: 0; padding: 0; }
.entreprise-liste li { padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); color: #c9ccd8; font-size: 1rem; line-height: 1.45; }
.entreprise-liste li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.entreprise-liste strong { display: block; color: #fff; font-size: 1.08rem; margin-bottom: 2px; }

@media (max-width: 1024px) {
  .reperes { padding: 40px 16px 44px; }
  .reperes h2, .entreprise h2 { font-size: 24px; }
  .reperes-grille { grid-template-columns: 1fr; }
  .repere { flex-direction: row; justify-content: space-between; align-items: baseline; padding: 18px 4px; border-left: 0; border-top: 1px solid #e3e8ec; text-align: left; }
  .repere:first-child { border-top: 0; }
  .repere-trajet { flex: 1 1 auto; min-width: 0; }
  .repere-duree { flex: none; font-size: 34px; margin: 0 14px 0 0; white-space: nowrap; }
  .repere-duree small { font-size: 15px; }
  .repere-prix { font-size: 1.05rem; white-space: nowrap; }
  .entreprise { padding: 44px 16px; }
  .entreprise-int { grid-template-columns: 1fr; gap: 30px; }
  .entreprise-btn { width: 100%; justify-content: center; box-sizing: border-box; }
}

/* =========================================================
   Sélecteur de langue
   Écrit dans index.php (liens #Weglot-xx, que Weglot active) ; Weglot ne crée plus le sien
   sur cette page (hide_switcher). Ordinateur : menu dans la barre du haut. Mobile : drapeaux
   en bas du menu déroulant.
   ========================================================= */
.langue-liste { list-style: none; margin: 0; padding: 0; }
.langue-liste a, .menu-langues a { cursor: pointer; }
@media screen and (max-width: 1024px) {
  #menu li.menu-langues { display: flex; align-items: center; gap: 14px; padding: 20px 0 0; border: 0; text-transform: none; }
  #menu li.menu-langues a { display: block; line-height: 0; border-radius: 50%; opacity: 0.75; }
  #menu li.menu-langues a.actif, #menu li.menu-langues a.weglot-link--active { opacity: 1; box-shadow: 0 0 0 2px #fff; }
  #menu li.menu-langues img { display: block; width: 26px; height: 26px; border-radius: 50%; }
}
@media screen and (min-width: 1025px) {
  #menu li.menu-langues { display: none; }
  .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; padding: 6px 0; overflow: hidden;
    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, .langue-liste a.weglot-link--active { color: #fff !important; font-weight: 700; }
  .langue-liste a.actif::after, .langue-liste a.weglot-link--active::after { content: "\2713"; margin-left: auto; color: var(--accent-vif); }
  .langue-liste img { display: block; width: 18px; height: 18px; border-radius: 50%; }
}

/* =========================================================
   Pourquoi Motocab : textes de présentation du bas de page
   Mêmes titres, mêmes textes et mêmes liens que les anciens blocs .blocinfo ;
   fond clair, photos en alternance, puis textes en deux colonnes.
   ========================================================= */
.pourquoi { background: #ffffff; color: var(--encre); font-family: "Source Sans Pro", system-ui, sans-serif; padding: 64px 0 0; text-align: left; }
.pourquoi-int { max-width: 1120px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.pourquoi-sur { display: block; text-align: center; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-fonce); margin-bottom: 12px; }
.pourquoi h2 { font-family: "Montserrat", system-ui, sans-serif; font-weight: 700; color: var(--encre); margin: 0 0 12px; }
.pourquoi h2.pourquoi-titre { font-size: 30px; line-height: 1.2; text-align: center; margin: 0 0 52px; }
.pourquoi p { font-size: 1.05rem; line-height: 1.6; color: var(--gris); margin: 0 0 12px; }
.pourquoi p:last-child { margin-bottom: 0; }
.pourquoi a { font-family: inherit; font-size: inherit; }
.pourquoi p a { color: var(--accent-fonce); }
.pourquoi p a { text-decoration: underline; text-decoration-color: rgba(0, 122, 115, 0.4); text-underline-offset: 3px; }
.pourquoi p a:hover { text-decoration-color: currentColor; }

.volet { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 56px; }
.volet-photo { display: block; width: 100%; height: 340px; object-fit: cover; border-radius: var(--r-cadre); }
.volet-inverse .volet-photo { order: 2; }
.volet-texte h2 { font-size: 23px; line-height: 1.25; }
.volet-texte h2::before { content: ""; display: block; width: 36px; height: 3px; margin-bottom: 16px; background: var(--accent); }

.details { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; border-top: 1px solid #e3e8ec; }
.detail { padding: 30px 0 32px; border-bottom: 1px solid #e3e8ec; }
.detail h2 { font-size: 18px; line-height: 1.3; }
.detail p { font-size: 1rem; }

.offres { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 56px 0 64px; }
.offres .press-card { margin: 0; border-radius: var(--r-cadre); box-shadow: none; background: var(--encre); }
.offres .press-card__image { height: 250px; }
.offres .press-card__content { padding: 24px 26px 28px; display: flex; flex-direction: column; align-items: flex-start; flex: 1 1 auto; }
.offres .press-card__content h2, .offres .press-card__content h3 { font-family: "Montserrat", system-ui, sans-serif; font-weight: 700; font-size: 18px; line-height: 1.3; color: #ffffff; margin: 0 0 10px; }
.offres .press-card__content p { font-size: 1rem; line-height: 1.55; color: #c9ccd8; }
.offres .press-card__content ul { font-size: 0.98rem; line-height: 1.5; color: #c9ccd8; margin: 0 0 18px 18px; }
.offres .press-card__btn { margin-top: auto; border-radius: var(--r-champ); background: none; border-color: rgba(255, 255, 255, 0.5); color: #ffffff !important; padding: 12px 20px; }
.offres .press-card__content p:last-of-type { margin-bottom: 20px; }
.offres .press-card__badge { background: rgba(14, 20, 34, 0.55); border-color: rgba(255, 255, 255, 0.5); color: #fff; }

.destinations { background: var(--accent-voile); border-top: 1px solid #e3e8ec; padding: 56px 0 64px; }
.destinations-int { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: start; }
.destination h2 { font-size: 21px; line-height: 1.25; }
.destination-liens { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 8px; }
.destination-liens a {
  display: flex; align-items: center; justify-content: space-between; padding: 12px 16px;
  background: #ffffff; border: 1px solid #e3e8ec; border-radius: var(--r-champ);
  font-size: 1rem; font-weight: 600; color: var(--encre); text-decoration: none; transition: border-color 0.15s, color 0.15s;
}
.destination-liens a::after { content: "→"; color: var(--accent); font-weight: 400; }
.destination-liens a:hover { border-color: var(--accent); color: var(--accent-fonce); }

@media (max-width: 1024px) {
  .pourquoi { padding-top: 44px; }
  .pourquoi-int { padding: 0 16px; }
  .pourquoi h2.pourquoi-titre { font-size: 24px; margin-bottom: 32px; }
  .volet { grid-template-columns: 1fr; gap: 18px; margin-bottom: 40px; }
  .volet-photo { height: 56vw; max-height: 340px; }
  .volet-inverse .volet-photo { order: 0; }
  .volet-texte h2 { font-size: 20px; }
  .volet-texte h2::before { margin-bottom: 12px; }
  .details { grid-template-columns: 1fr; }
  .detail { padding: 24px 0 26px; }
  .offres { grid-template-columns: 1fr; gap: 20px; padding: 40px 0 44px; }
  .offres .press-card__image { height: 56vw; max-height: 250px; }
  .offres .press-card__btn { width: 100%; box-sizing: border-box; text-align: center; }
  .destinations { padding: 40px 0 44px; }
  .destinations-int { grid-template-columns: 1fr; gap: 36px; }
  .destination h2 { font-size: 20px; }
}

/* =========================================================
   En-tête ordinateur : barre sombre (logo, téléphone, connexion, langue)
   et bandeau blanc du menu en dessous. 65 + 45 = 110 px, comme avant. Mêmes liens qu'avant.
   Sur mobile, l'en-tête reste celui du haut de ce fichier (barre de 56 px et menu déroulant).
   ========================================================= */
.entete { display: none; }
@media screen and (min-width: 1025px) {
  /* l'ancien lien « connexion » et le conteneur du menu mobile (barre blanche de l'ancien menu) ne servent plus ici */
  #connect, #motobirhakeim > nav[role="navigation"] { display: none; }
  .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 */
  .entete-tel { display: inline-flex; align-items: center; gap: 10px; color: #ffffff !important; white-space: nowrap; }
  .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;
  }
  .entete-tel b { font-family: "Montserrat", system-ui, sans-serif; font-size: 18px; font-weight: 700; letter-spacing: 0.01em; line-height: 1; }
  .entete-tel:hover i { background: var(--accent); color: #ffffff; }
  .entete-connexion { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; white-space: nowrap; color: #d7dae4 !important; }
  .entete-connexion i { font-size: 14px; color: var(--accent-vif); }
  .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 #e3e8ec; 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; }
}
/* é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; }
}
