/*
 * Site public - direction « carnet de route ».
 *
 * AUCUNE couleur n'est definie ici : toute la palette (--marque, --marque-2,
 * --nuit, --sable, --argile, --ocre, --menthe, --brume, --trait, --blanc et
 * leurs variantes) vient de /theme.css, genere a chaque requete depuis les
 * sept couleurs de marque des parametres (server/site/theme.js). Les teintes
 * pales se calculent ici par color-mix() sur ces jetons, jamais en #RRGGBB.
 * Ce fichier ne porte que les regles de mise en page.
 *
 * Les ILLUSTRATIONS (paysage du heros, carte du Maroc, scene de la fiche)
 * suivent la meme regle depuis U-40 : leurs teintes sont des melanges des
 * jetons, si bien qu'une agence qui change ses deux couleurs change aussi son
 * paysage. test/unit/marque-en-dur.test.js refuse toute couleur ecrite ici.
 */

:root {
  --police-titre: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --police-texte: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --rayon: 22px;
  --rayon-petit: 12px;
  --ombre: 0 1px 0 rgba(var(--nuit-rgb), .04), 0 18px 40px -24px rgba(var(--nuit-rgb), .45);
  --ombre-forte: 0 2px 0 rgba(var(--nuit-rgb), .03), 0 30px 60px -28px rgba(var(--nuit-rgb), .55);
  --largeur: 1220px;
  --gouttiere: clamp(16px, 4vw, 40px);
  --entete: 72px;
}

/* ------------------------------------------------------------------ */
/*  Base                                                               */
/* ------------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--entete) + 16px); }
body {
  margin: 0;
  background: var(--sable);
  color: var(--nuit);
  font-family: var(--police-texte);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
h1, h2, h3, h4 { font-family: var(--police-titre); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
p + p { margin-top: .8em; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--marque-texte); }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--nuit); outline-offset: 3px; box-shadow: 0 0 0 7px rgba(var(--marque-rgb), .35); border-radius: 6px; }
::selection { background: rgba(var(--marque-rgb), .3); }

.icone { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pot-de-miel { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.evitement { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--nuit); color: var(--sable); padding: .6rem 1rem; border-radius: 10px; font-weight: 700; }
.evitement:focus { top: 12px; color: var(--sable); }

.conteneur { width: 100%; max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin-inline: auto; padding-inline: var(--gouttiere); }
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.montant, .devis, .paliers, .specs, .resume-recherche { font-variant-numeric: tabular-nums; }

.surtitre {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--marque-texte); margin-bottom: .9rem;
}
.surtitre::before { content: ''; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.surtitre .icone { display: none; }
.titre-section { font-size: clamp(1.9rem, 1.1rem + 2.7vw, 3.1rem); max-width: 22ch; }
.entete-section { margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem); }
.entete-section__intro { margin-top: .9rem; max-width: 56ch; color: var(--brume); font-size: 1.08rem; }
.entete-section--centre { text-align: center; }
.entete-section--centre .titre-section, .entete-section--centre .entete-section__intro { margin-inline: auto; }
.entete-section--ligne { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; }
.similaire { font-family: var(--police-texte); font-size: .55em; font-weight: 600; letter-spacing: 0; color: var(--brume); white-space: nowrap; }
.facultatif { font-weight: 500; color: var(--brume); text-transform: none; letter-spacing: 0; }

/* ------------------------------------------------------------------ */
/*  Boutons et liens                                                   */
/* ------------------------------------------------------------------ */

.bouton {
  --fond: var(--nuit); --texte: var(--sable);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .78rem 1.3rem; border-radius: 999px; border: 2px solid transparent;
  background: var(--fond); color: var(--texte);
  font-weight: 700; font-size: .98rem; line-height: 1.1; text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.bouton:hover { color: var(--texte); transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(var(--nuit-rgb), .55); }
.bouton:active { transform: translateY(0); }
.bouton .icone { width: 1.15em; height: 1.15em; transition: transform .2s ease; }
.bouton:hover .icone:last-child { transform: translateX(3px); }
.bouton--marque { --fond: var(--marque); --texte: var(--sur-marque); }
.bouton--marque:hover { box-shadow: 0 16px 30px -14px rgba(var(--marque-rgb), .85); }
.bouton--sombre { --fond: var(--nuit); --texte: var(--sable); }
.bouton--clair { --fond: var(--sable); --texte: var(--nuit); }
.bouton--contour { --fond: transparent; --texte: var(--nuit); border-color: rgba(var(--nuit-rgb), .8); }
.bouton--contour:hover { --fond: var(--nuit); --texte: var(--sable); }
.bouton--grand { padding: 1rem 1.6rem; font-size: 1.04rem; }
.bouton--petit { padding: .45rem .8rem; font-size: .85rem; }
.bouton--large { width: 100%; }
.bouton[disabled], .bouton[aria-disabled='true'] { opacity: .55; pointer-events: none; }

.lien-fleche { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; text-decoration: none; color: var(--nuit); border-bottom: 2px solid rgba(var(--marque-rgb), .6); padding-bottom: 2px; }
.lien-fleche .icone { transition: transform .2s ease; }
.lien-fleche:hover { color: var(--nuit); border-color: var(--marque); }
.lien-fleche:hover .icone { transform: translateX(4px); }
.lien-discret { color: var(--brume); font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: .35rem; }

/* ------------------------------------------------------------------ */
/*  Bandeau d'annonce et en-tete                                       */
/* ------------------------------------------------------------------ */

.bandeau { position: relative; background: var(--nuit); color: var(--sable); font-size: .86rem; font-weight: 600; overflow: hidden; }
.bandeau::before { content: ''; position: absolute; inset: 0; background: url('/img/zellige.svg') 0 0 / 48px 48px; opacity: .07; }
.bandeau__texte { position: relative; display: flex; align-items: center; justify-content: center; gap: .5rem; padding-block: .5rem; text-align: center; }
.bandeau__texte .icone { color: var(--marque-sur-nuit); }

.entete {
  position: sticky; top: 0; z-index: 60;
  background: rgba(var(--sable-rgb), .88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(var(--nuit-rgb), .07);
}
.entete__barre { display: flex; align-items: center; gap: 1.5rem; min-height: var(--entete); }
.logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--nuit); flex: none; }
.logo:hover { color: var(--nuit); }
.logo__image { max-height: 44px; width: auto; }

.logotype { display: inline-flex; align-items: center; gap: .6rem; color: var(--nuit); }
.logotype__signe { width: 40px; height: 40px; overflow: visible; }
.logotype__soleil { fill: var(--marque); transform-origin: 20px 20px; transition: transform .6s cubic-bezier(.2, .8, .2, 1.4); }
.logo:hover .logotype__soleil { transform: translateY(-3px); }
.logotype__horizon, .logotype__route { stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; fill: none; }
.logotype__tiret { stroke: var(--marque); stroke-width: 2.2; stroke-linecap: round; }
.logotype__nom { display: inline-flex; align-items: baseline; gap: .35rem; font-family: var(--police-titre); text-transform: uppercase; letter-spacing: .08em; font-size: 1.28rem; line-height: 1; }
.logotype__fort { font-weight: 800; }
.logotype__leger { font-weight: 600; color: var(--marque-texte); }
.logotype--clair { color: var(--sur-marque-2); }
.logotype--clair .logotype__leger { color: inherit; opacity: .75; }

.navigation { display: flex; align-items: center; gap: 1.5rem; flex: 1; justify-content: space-between; }
.navigation__liens { list-style: none; display: flex; gap: .3rem; margin-inline: auto; }
.navigation__liens a { position: relative; display: block; padding: .55rem .85rem; border-radius: 999px; font-weight: 650; text-decoration: none; color: var(--nuit); }
.navigation__liens a:hover { background: rgba(var(--nuit-rgb), .06); color: var(--nuit); }
.navigation__liens a[aria-current='page']::after { content: ''; position: absolute; left: .85rem; right: .85rem; bottom: .25rem; height: 3px; border-radius: 3px; background: var(--marque); }
.navigation__actions { display: flex; align-items: center; gap: 1rem; }
.lien-agence { display: inline-flex; align-items: center; gap: .4rem; font-size: .86rem; font-weight: 600; color: var(--brume); text-decoration: none; }
.lien-agence:hover { color: var(--nuit); }
.entete__burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 14px; border: 1.5px solid rgba(var(--nuit-rgb), .15); background: var(--blanc); align-items: center; justify-content: center; }
.entete__burger .icone { width: 24px; height: 24px; }
.icone--fermer { display: none; }
.entete--ouverte .icone--menu { display: none; }
.entete--ouverte .icone--fermer { display: block; }

@media (max-width: 960px) {
  .entete__barre { flex-wrap: wrap; gap: .5rem 1rem; padding-block: .6rem; min-height: 64px; }
  .entete__burger { display: none; }
  .navigation { flex-basis: 100%; flex-wrap: wrap; gap: .5rem; }
  .navigation__liens { margin-inline: 0; flex-wrap: wrap; }
  .js .entete__burger { display: inline-flex; }
  .js .navigation { display: none; }
  .js .entete--ouverte .navigation {
    display: flex; flex-direction: column; align-items: stretch; gap: 1rem;
    padding: .5rem 0 1.25rem; animation: deplier .25s ease-out;
  }
  .js .entete--ouverte .navigation__liens { flex-direction: column; gap: .15rem; }
  .js .entete--ouverte .navigation__liens a { padding: .85rem 1rem; font-size: 1.1rem; background: var(--blanc); border-radius: 14px; }
  .js .entete--ouverte .navigation__liens a[aria-current='page']::after { left: 1rem; right: auto; width: 28px; bottom: .45rem; }
  .js .entete--ouverte .navigation__actions { flex-direction: row-reverse; justify-content: space-between; }
}
@keyframes deplier { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ */
/*  Heros et paysage                                                   */
/* ------------------------------------------------------------------ */

.heros {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--sable) 0%, color-mix(in srgb, var(--sable) 72%, var(--ocre)) 36%, color-mix(in srgb, var(--sable) 55%, var(--ocre)) 68%, color-mix(in srgb, var(--sable) 40%, var(--marque)) 100%);
}
.heros::after { content: ''; display: block; height: clamp(4.5rem, 9vw, 7rem); background: var(--nuit); margin-top: -2px; }
.heros__contenu { position: relative; z-index: 2; padding-top: clamp(2.5rem, 6vw, 5.5rem); }
.heros__surtitre .icone { display: inline-block; width: 1.3em; height: 1.3em; }
.heros__surtitre::before { display: none; }
.heros__titre { font-size: clamp(2.6rem, 1.3rem + 5vw, 5.1rem); line-height: .98; letter-spacing: -.035em; font-weight: 800; max-width: 12.5ch; }
.heros__intro { margin-top: 1.2rem; max-width: 44ch; font-size: clamp(1.05rem, .98rem + .45vw, 1.28rem); color: color-mix(in srgb, var(--nuit) 86%, var(--sable)); font-weight: 500; }
.heros__garanties { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.heros__garanties li {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem .85rem; border-radius: 999px; font-size: .9rem; font-weight: 700;
  background: color-mix(in srgb, var(--blanc) 62%, transparent); border: 1px solid rgba(var(--nuit-rgb), .08);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.heros__garanties .icone { color: var(--menthe-texte); }
.heros__paysage { position: relative; z-index: 1; height: clamp(250px, 34vw, 520px); margin-top: clamp(-9rem, -8vw, -1rem); }

.tampon { position: absolute; right: var(--gouttiere); top: clamp(2rem, 5vw, 4.5rem); width: 136px; height: 136px; color: var(--nuit); }
.tampon > svg:first-child { width: 100%; height: 100%; animation: tourner 28s linear infinite; }
.tampon text { font-family: var(--police-titre); font-weight: 700; font-size: 10.6px; letter-spacing: 2.4px; fill: currentColor; }
.tampon::before { content: ''; position: absolute; inset: 22px; border-radius: 50%; border: 1.5px dashed rgba(var(--nuit-rgb), .35); }
.tampon__icone { position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; transform: translate(-50%, -50%) rotate(-12deg); color: var(--marque-texte); }
@media (max-width: 1100px) { .tampon { display: none; } }

.paysage { position: relative; width: 100%; height: 100%; overflow: hidden; }
.paysage__ciel, .paysage__route-scene { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.paysage__couche { position: absolute; inset: 0; overflow: hidden; }
.paysage__bande { position: absolute; left: 0; bottom: 0; display: block; height: 100%; width: auto; max-width: none; will-change: transform; animation: defiler 70s linear infinite; }

/* Ciel */
.paysage__halo { fill: var(--marque); opacity: .13; }
.paysage__halo--large { opacity: .07; }
.paysage__soleil { fill: var(--marque); }
.paysage__stries rect { fill: color-mix(in srgb, var(--sable) 55%, var(--marque)); }
.paysage__oiseaux path { fill: none; stroke: var(--nuit); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: .45; }
.paysage__oiseaux { animation: planer 9s ease-in-out infinite alternate; }
.paysage__avion { fill: var(--marque-2); opacity: .85; animation: decoller 26s linear infinite; }
.paysage__avion-traine { fill: none; stroke: var(--blanc); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 18 10; opacity: .7; }

/* Beni Snassen */
.paysage__monts-loin { fill: color-mix(in srgb, var(--argile) 45%, var(--sable)); opacity: .55; }
.paysage__monts { fill: color-mix(in srgb, var(--argile) 62%, var(--nuit)); opacity: .5; }

/* Voyage */
.paysage__terre { fill: color-mix(in srgb, var(--ocre) 72%, var(--argile)); }
.paysage__monument, .paysage__medina, .paysage__palmes { fill: var(--marque-2); }
.paysage__tronc { fill: none; stroke: var(--marque-2); stroke-width: 7; stroke-linecap: round; }
.paysage__ouverture { fill: color-mix(in srgb, var(--sable) 58%, var(--marque)); }
.paysage__decor { fill: none; stroke: color-mix(in srgb, var(--blanc) 20%, transparent); stroke-width: 3; }
.paysage__finial circle { fill: var(--ocre); }
.paysage__fenetres { fill: color-mix(in srgb, var(--sable) 55%, var(--marque)); }
.paysage__colline { fill: color-mix(in srgb, var(--argile) 55%, var(--ocre)); }
.paysage__pins { fill: color-mix(in srgb, var(--menthe) 45%, var(--nuit)); }
.paysage__feuillage { fill: color-mix(in srgb, var(--menthe) 38%, var(--nuit)); }
.paysage__fruits { fill: color-mix(in srgb, var(--ocre) 55%, var(--marque)); }
.paysage__socle { fill: var(--marque-2); }
.paysage__orange { fill: var(--marque); }
.paysage__orange-ombre { fill: color-mix(in srgb, var(--marque) 78%, var(--nuit)); opacity: .75; }
.paysage__orange-reflet { fill: color-mix(in srgb, var(--blanc) 45%, var(--ocre)); opacity: .85; }
.paysage__feuille { fill: color-mix(in srgb, var(--menthe) 65%, var(--nuit)); }
.paysage__tige { fill: none; stroke: color-mix(in srgb, var(--nuit) 70%, var(--argile)); stroke-width: 5; stroke-linecap: round; }
.paysage__riviere { fill: color-mix(in srgb, var(--marque-2) 45%, var(--blanc)); }
.paysage__reflets { fill: none; stroke: color-mix(in srgb, var(--blanc) 82%, var(--marque-2)); stroke-width: 3; stroke-linecap: round; opacity: .7; }
.paysage__pont { fill: color-mix(in srgb, var(--argile) 70%, var(--nuit)); }
.paysage__roseaux { fill: none; stroke: color-mix(in srgb, var(--menthe) 40%, var(--nuit)); stroke-width: 3; stroke-linecap: round; }
.paysage__poteau { fill: none; stroke: var(--brume); stroke-width: 6; }
.paysage__panneau-fond { fill: color-mix(in srgb, var(--marque-2) 85%, var(--nuit)); }
.paysage__panneau-liseret { fill: none; stroke: var(--blanc); stroke-width: 2.5; }
.paysage__panneau-texte { fill: var(--blanc); font-family: var(--police-titre); font-weight: 800; font-size: 25px; }
.paysage__panneau-arabe { fill: var(--blanc); font-family: 'Segoe UI', Tahoma, system-ui, sans-serif; font-weight: 700; font-size: 20px; }
.paysage__mer { fill: color-mix(in srgb, var(--marque-2) 55%, var(--blanc)); }
.paysage__ecume { fill: none; stroke: color-mix(in srgb, var(--blanc) 88%, var(--marque-2)); stroke-width: 3; stroke-linecap: round; opacity: .8; }
.paysage__plage { fill: color-mix(in srgb, var(--sable) 62%, var(--ocre)); }
.paysage__parasol-mat { fill: none; stroke: color-mix(in srgb, var(--nuit) 72%, var(--argile)); stroke-width: 3; }
.paysage__parasol-bande { fill: var(--blanc); opacity: .92; }
.paysage__parasol--a .paysage__parasol-toile { fill: var(--marque); }
.paysage__parasol--b .paysage__parasol-toile { fill: var(--menthe); }
.paysage__parasol--c .paysage__parasol-toile { fill: var(--ocre); }
.paysage__ponton { fill: color-mix(in srgb, var(--argile) 55%, var(--nuit)); }
.paysage__coque { fill: color-mix(in srgb, var(--blanc) 88%, var(--sable)); stroke: var(--marque-2); stroke-width: 2; }
.paysage__mat { fill: none; stroke: var(--marque-2); stroke-width: 2.5; }
.paysage__voile { fill: color-mix(in srgb, var(--blanc) 92%, var(--sable)); }
.paysage__voile--foc { fill: color-mix(in srgb, var(--sable) 70%, var(--ocre)); }
.paysage__voile--loin { opacity: .75; }

/* Route */
.paysage__bornes { animation: bornes 11.2s linear infinite; }
.paysage__borne { fill: var(--sable); }
.paysage__borne-tete { fill: var(--argile); }
.paysage__route { fill: color-mix(in srgb, var(--nuit) 88%, var(--blanc)); }
.paysage__bord { stroke: color-mix(in srgb, var(--sable) 75%, var(--ocre)); stroke-width: 3; opacity: .5; }
.paysage__tirets { stroke: var(--sable); stroke-width: 5; stroke-dasharray: 56 44; animation: route .7s linear infinite; }
.paysage__sol { fill: var(--nuit); }
.paysage__poussiere circle { fill: color-mix(in srgb, var(--sable) 62%, var(--ocre)); animation: poussiere 1.1s ease-out infinite; }
.paysage__poussiere circle:nth-child(2) { animation-delay: .35s; }
.paysage__poussiere circle:nth-child(3) { animation-delay: .7s; }
.voiture-heros-groupe { animation: cahot .45s ease-in-out infinite alternate; }
.voiture-heros .roue { transform-box: fill-box; transform-origin: center; animation: tourner .55s linear infinite; }

@keyframes defiler { to { transform: translateX(-50%); } }
@keyframes bornes { to { transform: translateX(-1600px); } }
@keyframes decoller {
  0% { transform: translate(1020px, 330px) rotate(-12deg) scale(.95); opacity: 0; }
  6% { opacity: 1; }
  55% { transform: translate(1560px, 110px) rotate(-16deg) scale(.5); opacity: .9; }
  62%, 100% { transform: translate(1640px, 80px) rotate(-16deg) scale(.45); opacity: 0; }
}

@keyframes route { to { stroke-dashoffset: 100; } }
@keyframes tourner { to { transform: rotate(360deg); } }
@keyframes cahot { from { transform: translateY(0); } to { transform: translateY(-2px); } }
@keyframes planer { from { transform: translate(0, 0); } to { transform: translate(60px, -14px); } }
@keyframes poussiere { 0% { opacity: .7; transform: translateX(0) scale(.6); } 100% { opacity: 0; transform: translateX(-46px) scale(1.6); } }

/* ------------------------------------------------------------------ */
/*  Billet de recherche et champs                                      */
/* ------------------------------------------------------------------ */

.billet-conteneur { position: relative; z-index: 5; margin-top: clamp(-6.5rem, -8.5vw, -4rem); filter: drop-shadow(0 26px 34px rgba(var(--nuit-rgb), .22)); }
.billet {
  --encoche: 66px;
  position: relative; background: var(--blanc); border-radius: 26px;
  padding: 0 clamp(1rem, 2.4vw, 1.75rem) clamp(1rem, 2.4vw, 1.6rem);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'entete entete' 'trajet action'; column-gap: 1.5rem;
  -webkit-mask: radial-gradient(circle 13px at 0 var(--encoche), transparent 12.5px, var(--nuit) 13px), radial-gradient(circle 13px at 100% var(--encoche), transparent 12.5px, var(--nuit) 13px);
  -webkit-mask-composite: source-in;
  mask: radial-gradient(circle 13px at 0 var(--encoche), transparent 12.5px, var(--nuit) 13px), radial-gradient(circle 13px at 100% var(--encoche), transparent 12.5px, var(--nuit) 13px);
  mask-composite: intersect;
}
.billet__entete {
  grid-area: entete; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: var(--encoche); margin-inline: calc(-1 * clamp(1rem, 2.4vw, 1.75rem)); padding-inline: 1.9rem;
  border-bottom: 2px dashed var(--sable-3); margin-bottom: 1.2rem;
}
.billet__titre { font-family: var(--police-titre); font-weight: 700; font-size: 1.15rem; }
.billet__mention { display: inline-flex; align-items: center; gap: .4rem; font-size: .84rem; font-weight: 600; color: var(--brume); }
.billet__mention .icone { color: var(--marque-texte); }
.billet .trajet { grid-area: trajet; }
.billet__action { grid-area: action; align-self: end; min-height: 52px; }

.trajet { display: grid; grid-template-columns: minmax(0, 1fr) 2px minmax(0, 1fr); gap: 1.5rem; }
.trajet__partie { display: grid; gap: .8rem; align-content: start; min-width: 0; }
.trajet__perforation { background: repeating-linear-gradient(180deg, var(--sable-3) 0 8px, transparent 8px 15px); border-radius: 2px; }
.trajet__etiquette { display: flex; align-items: center; gap: .45rem; font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--brume); }
.trajet__etiquette .icone { width: 1.35em; height: 1.35em; color: var(--nuit); }
.trajet__code { margin-left: auto; font-family: var(--police-titre); font-size: 1.7rem; font-weight: 800; letter-spacing: .02em; color: var(--nuit); line-height: 1; }

.champ { display: grid; gap: .35rem; min-width: 0; }
.champ > label, .champ__entete > label:first-child, .champ__legende { font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--brume); }
.champ__entete { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.champ input:not([type='checkbox']):not([type='radio']), .champ select, .champ textarea {
  width: 100%; min-height: 50px; padding: .7rem .9rem;
  background: color-mix(in srgb, var(--sable) 45%, var(--blanc)); border: 1.5px solid var(--trait); border-radius: var(--rayon-petit);
  font-weight: 650; font-size: 1rem; color: var(--nuit);
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.champ select { appearance: none; -webkit-appearance: none; padding-right: 2.3rem; background-image: linear-gradient(45deg, transparent 50%, var(--nuit) 50%), linear-gradient(135deg, var(--nuit) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; text-overflow: ellipsis; }
.champ textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.champ input:hover, .champ select:hover, .champ textarea:hover { border-color: color-mix(in srgb, var(--nuit) 25%, var(--sable)); }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; background-color: var(--blanc); border-color: var(--nuit); box-shadow: 0 0 0 4px rgba(var(--marque-rgb), .28); }
.champ [aria-invalid='true'] { border-color: var(--argile) !important; background-color: color-mix(in srgb, var(--argile) 7%, var(--blanc)) !important; }
.champ__aide { font-size: .8rem; color: var(--brume); }
.champ__erreur { font-size: .82rem; font-weight: 700; color: var(--argile-texte); }
.champ__identique { display: none; align-items: center; gap: .45rem; min-height: 50px; padding: .7rem .9rem; border-radius: var(--rayon-petit); border: 1.5px dashed var(--sable-3); color: var(--brume); font-weight: 650; }
.champ__identique .icone { color: var(--menthe-texte); }
.est-identique select { display: none; }
.est-identique .champ__identique { display: flex; }
.champ-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 7.2rem); gap: .6rem; }
.champ__suffixe { position: relative; }
.champ__suffixe span { position: absolute; right: .9rem; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--brume); pointer-events: none; }
.case { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .92rem; cursor: pointer; }
.case input { width: 1.2rem; height: 1.2rem; accent-color: var(--nuit); flex: none; margin: 0; }
.case--petite { font-size: .8rem; text-transform: none; letter-spacing: 0; color: var(--nuit); }
.case--petite input { width: 1rem; height: 1rem; }
.grille-champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.1rem; }
.champ--large { grid-column: 1 / -1; }

@media (max-width: 900px) {
  .billet { grid-template-columns: 1fr; grid-template-areas: 'entete' 'trajet' 'action'; row-gap: 1.2rem; }
  .billet__mention { display: none; }
  .trajet { grid-template-columns: 1fr; gap: 1rem; }
  .trajet__perforation { height: 2px; background: repeating-linear-gradient(90deg, var(--sable-3) 0 8px, transparent 8px 15px); }
  .grille-champs { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ */
/*  Atouts                                                             */
/* ------------------------------------------------------------------ */

.atouts { padding-top: clamp(3rem, 6vw, 5rem); }
.atouts__liste { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); }
.atout__panneau {
  position: relative; display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 1.1rem;
  border-radius: 16px; background: var(--marque-2); color: var(--sur-marque-2);
  box-shadow: inset 0 0 0 3px var(--marque-2), inset 0 0 0 5px color-mix(in srgb, var(--blanc) 85%, transparent);
  transform: rotate(-4deg); transition: transform .3s cubic-bezier(.2, .8, .2, 1.4);
}
.atout__panneau--2, .atout__panneau--4 { transform: rotate(3deg); }
.atout__panneau .icone { width: 28px; height: 28px; }
.atout:hover .atout__panneau { transform: rotate(0) scale(1.06); }
.atout__panneau--1 { background: var(--marque); color: var(--sur-marque); box-shadow: inset 0 0 0 3px var(--marque), inset 0 0 0 5px color-mix(in srgb, var(--blanc) 85%, transparent); }
.atout__titre { font-size: 1.2rem; margin-bottom: .4rem; }
.atout__texte { color: var(--brume); font-size: .95rem; }
@media (max-width: 900px) { .atouts__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .atouts__liste { grid-template-columns: 1fr; } .atout { display: grid; grid-template-columns: 62px 1fr; column-gap: 1rem; } .atout__panneau { grid-row: span 2; margin: 0; } }

/* ------------------------------------------------------------------ */
/*  Categories                                                         */
/* ------------------------------------------------------------------ */

.categories { padding-top: 1rem; }
.categories__liste { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.categorie {
  position: relative; display: grid; gap: .2rem; height: 100%; padding: .75rem .75rem 1.1rem;
  background: var(--blanc); border-radius: var(--rayon); text-decoration: none; color: var(--nuit);
  box-shadow: var(--ombre); transition: transform .25s ease, box-shadow .25s ease;
}
.categorie:hover { color: var(--nuit); transform: translateY(-4px); box-shadow: var(--ombre-forte); }
.categorie__visuel { display: grid; place-items: end center; aspect-ratio: 16 / 8; margin-bottom: .6rem; border-radius: 16px; overflow: hidden; background: radial-gradient(ellipse 60% 22% at 50% 88%, rgba(var(--nuit-rgb), .14), transparent 70%), linear-gradient(180deg, var(--sable) 0%, var(--sable-2) 100%); }
.categorie__visuel img { width: 92%; transform: translate(-4%, 4%); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.categorie:hover .categorie__visuel img { transform: translate(4%, 4%); }
.categorie__nom { font-family: var(--police-titre); font-size: 1.3rem; font-weight: 700; padding-inline: .4rem; }
.categorie__info { font-size: .86rem; color: var(--brume); padding-inline: .4rem; padding-right: 3rem; }
.categorie__info strong { color: var(--nuit); }
.categorie__fleche { position: absolute; right: .9rem; bottom: .9rem; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--sable-2); transition: background-color .2s ease, color .2s ease; }
.categorie:hover .categorie__fleche { background: var(--marque); color: var(--sur-marque); }
@media (max-width: 1000px) { .categories__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .categories__liste { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gouttiere)); padding: .5rem var(--gouttiere) 1.5rem; scrollbar-width: none; }
  .categories__liste li { flex: 0 0 72%; scroll-snap-align: start; }
}

/* ------------------------------------------------------------------ */
/*  Cartes de voitures                                                 */
/* ------------------------------------------------------------------ */

.vedettes { background: linear-gradient(180deg, transparent 0, var(--sable-2) 0, var(--sable-2) 100%); position: relative; }
.vedettes::before { content: ''; position: absolute; inset: 0; background: url('/img/zellige-sombre.svg') 0 0 / 88px 88px; opacity: .06; pointer-events: none; -webkit-mask: linear-gradient(180deg, var(--nuit), transparent 45%); mask: linear-gradient(180deg, var(--nuit), transparent 45%); }
.vedettes .conteneur { position: relative; }
.grille-voitures { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }

.carte-voiture {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--blanc); border-radius: 24px; box-shadow: var(--ombre);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease;
}
.carte-voiture:hover { transform: translateY(-6px); box-shadow: var(--ombre-forte); }
.carte-voiture:focus-within { box-shadow: 0 0 0 3px var(--nuit), var(--ombre-forte); }
.carte-voiture__studio {
  position: relative; display: grid; place-items: end center; aspect-ratio: 16 / 9.4; padding: 2.4rem 1rem 0;
  background:
    radial-gradient(ellipse 58% 16% at 50% 90%, rgba(var(--nuit-rgb), .2), transparent 70%),
    radial-gradient(circle at 86% 22%, rgba(var(--marque-rgb), .32) 0 5%, rgba(var(--marque-rgb), .08) 5.4% 9%, transparent 9.4%),
    linear-gradient(180deg, color-mix(in srgb, var(--sable) 82%, var(--ocre)) 0%, color-mix(in srgb, var(--sable) 68%, var(--ocre)) 70%, color-mix(in srgb, var(--sable) 55%, var(--ocre)) 70.2%, color-mix(in srgb, var(--sable) 62%, var(--ocre)) 100%);
}
.carte-voiture__visuel { width: 100%; max-width: 380px; transform: translateY(5%); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.carte-voiture__visuel--photo { width: 100%; height: 100%; object-fit: cover; transform: none; border-radius: 14px 14px 0 0; }
.carte-voiture:hover .carte-voiture__visuel:not(.carte-voiture__visuel--photo) { transform: translate(5%, 5%); }
.badge-categorie { position: absolute; left: 14px; top: 14px; z-index: 1; padding: .3rem .7rem; border-radius: 999px; background: color-mix(in srgb, var(--blanc) 85%, transparent); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.etat { display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .65rem; border-radius: 999px; font-size: .74rem; font-weight: 800; }
.etat .icone { width: 1em; height: 1em; }
.carte-voiture__studio .etat { position: absolute; right: 14px; top: 14px; z-index: 1; }
.etat--disponible { background: color-mix(in srgb, var(--menthe) 16%, var(--blanc)); color: var(--menthe-texte); }
.etat--indisponible { background: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--argile) 15%, var(--blanc)) 0 6px, color-mix(in srgb, var(--argile) 26%, var(--blanc)) 6px 12px); color: var(--argile-texte); }
.carte-voiture__corps { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.25rem 1.2rem; }
.carte-voiture__nom { font-size: 1.35rem; }
.carte-voiture__lien { text-decoration: none; color: inherit; }
.carte-voiture__lien::after { content: ''; position: absolute; inset: 0; z-index: 2; }
.carte-voiture__lien:hover { color: inherit; }
.carte-voiture__lien:focus-visible { outline: none; box-shadow: none; }
.carte-voiture__version { margin-top: .15rem; font-size: .86rem; color: var(--brume); }
.carte-voiture__version .similaire { font-size: .8rem; }
.puces { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .85rem; }
.puces li { display: inline-flex; align-items: center; gap: .3rem; padding: .28rem .55rem; border-radius: 8px; background: var(--sable); font-size: .78rem; font-weight: 700; color: color-mix(in srgb, var(--nuit) 86%, var(--sable)); }
.puces .icone { width: 15px; height: 15px; color: var(--marque-2-texte); }
.carte-voiture__pied { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1rem; }
.carte-voiture__corps .puces { margin-bottom: 1rem; }
.carte-voiture__pied { border-top: 1.5px dashed var(--trait); }
.carte-voiture__prix { display: grid; line-height: 1.15; }
.carte-voiture__prix-libelle { font-size: .76rem; font-weight: 700; color: var(--brume); text-transform: uppercase; letter-spacing: .06em; }
.carte-voiture__montant { font-family: var(--police-titre); font-size: 1.1rem; font-weight: 700; }
.carte-voiture__montant strong { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; }
.carte-voiture__montant small { font-family: var(--police-texte); font-size: .85rem; color: var(--brume); font-weight: 600; margin-left: .15rem; }
.carte-voiture__prix-detail { font-size: .8rem; color: var(--brume); font-weight: 600; }
.carte-voiture__aller { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--nuit); color: var(--sable); flex: none; transition: background-color .2s ease, color .2s ease, transform .3s ease; }
.carte-voiture:hover .carte-voiture__aller { background: var(--marque); color: var(--sur-marque); transform: rotate(-35deg); }
.carte-voiture--indisponible { box-shadow: none; background: color-mix(in srgb, var(--blanc) 55%, transparent); }
.carte-voiture--indisponible .carte-voiture__studio { filter: grayscale(1); opacity: .6; }
.carte-voiture--indisponible .carte-voiture__montant, .carte-voiture--indisponible .carte-voiture__nom { color: var(--brume); }

/* ------------------------------------------------------------------ */
/*  Comment ca marche                                                  */
/* ------------------------------------------------------------------ */

.etapes__route { position: relative; padding-top: 2.8rem; }
.etapes__trace { position: absolute; left: 8%; right: 8%; top: 2.9rem; width: 84%; height: 110px; overflow: visible; }
.etapes__trace path { fill: none; stroke: var(--nuit); stroke-width: 3; stroke-dasharray: 12 12; opacity: .28; vector-effect: non-scaling-stroke; animation: route 2.4s linear infinite reverse; }
.etapes__liste { position: relative; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); text-align: center; }
.etape p { color: var(--brume); max-width: 30ch; margin-inline: auto; }
.etape__titre { font-size: 1.4rem; margin: 1.1rem 0 .45rem; }
.etape__borne {
  position: relative; display: grid; grid-template-rows: 44% 1fr; place-items: center;
  width: 92px; height: 112px; margin-inline: auto; border-radius: 46px 46px 14px 14px; overflow: hidden;
  background: linear-gradient(180deg, var(--marque) 0 44%, var(--blanc) 44% 100%);
  box-shadow: 0 0 0 5px var(--sable), 0 20px 30px -18px rgba(var(--nuit-rgb), .6);
}
.etapes .etape:nth-child(2) .etape__borne { margin-top: -2.5rem; }
.etape__numero { font-family: var(--police-titre); font-weight: 800; font-size: 1.7rem; color: var(--sur-marque); padding-top: .35rem; }
.etape__borne .icone { width: 30px; height: 30px; color: var(--nuit); }
@media (max-width: 800px) {
  .etapes__trace { display: none; }
  .etapes__liste { grid-template-columns: 1fr; text-align: left; gap: 1.6rem; }
  .etapes .etape:nth-child(2) .etape__borne { margin-top: 0; }
  .etape { display: grid; grid-template-columns: 92px 1fr; column-gap: 1.2rem; align-items: start; position: relative; }
  .etape__borne { grid-row: span 2; margin: 0; }
  .etape__titre { margin-top: .6rem; }
  .etape p { margin: 0; }
  .etape:not(:last-child)::after { content: ''; position: absolute; left: 45px; top: 120px; bottom: -1.6rem; border-left: 3px dashed rgba(var(--nuit-rgb), .25); }
}

/* ------------------------------------------------------------------ */
/*  Carte du Maroc                                                     */
/* ------------------------------------------------------------------ */

.territoire__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.territoire__villes { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin-bottom: 1.8rem; }
.territoire__villes a { display: grid; grid-template-columns: auto 1fr; column-gap: .7rem; align-items: center; padding: .8rem 1rem; border-radius: 16px; background: var(--blanc); text-decoration: none; color: var(--nuit); box-shadow: var(--ombre); transition: transform .2s ease; }
.territoire__villes a:hover { transform: translateY(-2px); color: var(--nuit); }
.territoire__villes .icone { grid-row: span 2; width: 26px; height: 26px; color: var(--marque-texte); }
.territoire__ville { font-family: var(--police-titre); font-weight: 700; font-size: 1.1rem; line-height: 1.1; }
.territoire__lieux { font-size: .8rem; color: var(--brume); font-weight: 600; }
.territoire__carte, .agences__carte-colle { position: relative; padding: clamp(1rem, 3vw, 2rem); border-radius: 32px; background: var(--nuit); overflow: hidden; }
.territoire__carte::before, .agences__carte-colle::before { content: ''; position: absolute; inset: 0; background: url('/img/zellige.svg') 0 0 / 72px 72px; opacity: .05; }
.carte-maroc { position: relative; display: block; width: 100%; height: auto; max-height: 640px; }
.carte-maroc__houle path { fill: none; stroke: rgba(var(--sable-rgb), .16); stroke-width: 2; stroke-linecap: round; }
.carte-maroc__terre { fill: color-mix(in srgb, var(--sable) 78%, var(--ocre)); }
.carte-maroc__relief { fill: none; stroke: var(--marque); stroke-width: 2.5; opacity: .9; }
.carte-maroc__atlas { fill: none; stroke: var(--argile); stroke-width: 3.5; stroke-dasharray: 1 8; stroke-linecap: round; opacity: .7; }
.carte-maroc__legende { fill: rgba(var(--sable-rgb), .5); font-family: var(--police-texte); font-weight: 700; font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; }
.carte-maroc__legende--atlas { fill: color-mix(in srgb, var(--argile) 85%, var(--nuit)); font-size: 12.5px; }
.carte-maroc__route { fill: none; stroke: var(--marque); stroke-width: 3; stroke-dasharray: 7 7; stroke-linecap: round; animation: route 3s linear infinite reverse; }
.carte-maroc__rose circle { fill: none; stroke: rgba(var(--sable-rgb), .3); stroke-width: 1.5; }
.carte-maroc__rose path { fill: rgba(var(--sable-rgb), .75); }
.carte-maroc__rose .carte-maroc__rose-est { fill: rgba(var(--sable-rgb), .3); }
.carte-maroc__rose text { fill: var(--sable); font-family: var(--police-titre); font-weight: 800; font-size: 13px; }
.carte-maroc__halo { fill: var(--marque); opacity: .35; transform-box: fill-box; transform-origin: center; animation: pouls 2.2s ease-out infinite; }
.carte-maroc__point { fill: var(--marque); stroke: var(--nuit); stroke-width: 2.5; }
.carte-maroc__ville--aeroport .carte-maroc__point { stroke: var(--blanc); }
.carte-maroc__ville text { font-family: var(--police-titre); font-weight: 700; font-size: 14px; fill: var(--nuit); paint-order: stroke; stroke: color-mix(in srgb, var(--sable) 78%, var(--ocre)); stroke-width: 5px; stroke-linejoin: round; }
@keyframes pouls { 0% { transform: scale(.6); opacity: .55; } 100% { transform: scale(2.2); opacity: 0; } }
.carte-maroc__voisins { fill: color-mix(in srgb, var(--nuit) 80%, var(--marque-2)); }
.carte-maroc__repere { fill: rgba(var(--nuit-rgb), .45); }
.carte-maroc__zone { fill: rgba(var(--marque-rgb), .22); stroke: var(--marque); stroke-width: 2.5; }
.carte-maroc__renvoi { fill: none; stroke: var(--marque); stroke-width: 2; stroke-dasharray: 5 5; opacity: .8; }

/* Carte generale + encart zoome sur la region des agences. */
.carte-agences { position: relative; }
.carte-agences--encart { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(.4rem, 1.6vw, 1rem); align-items: center; }
.carte-encart { display: block; width: 100%; height: auto; border-radius: 14px; }
.carte-encart__mer { fill: color-mix(in srgb, var(--nuit) 85%, var(--marque-2)); }
.carte-encart__fleuve-nom { fill: color-mix(in srgb, var(--marque-2) 70%, var(--nuit)); font-family: var(--police-texte); font-style: italic; font-weight: 700; font-size: 12.5px; paint-order: stroke; stroke: color-mix(in srgb, var(--sable) 78%, var(--ocre)); stroke-width: 3.5px; }
.carte-encart__voisins { fill: color-mix(in srgb, var(--nuit) 55%, var(--sable)); stroke: rgba(var(--sable-rgb), .18); stroke-width: 1; }
.carte-encart__terre { fill: color-mix(in srgb, var(--sable) 78%, var(--ocre)); }
.carte-encart__cote { fill: none; stroke: var(--marque); stroke-width: 2.2; stroke-linejoin: round; }
.carte-encart__fleuve { fill: none; stroke: color-mix(in srgb, var(--marque-2) 50%, var(--blanc)); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.carte-encart__cadre { fill: none; stroke: rgba(var(--sable-rgb), .35); stroke-width: 2; }
.carte-encart__mer-nom { fill: rgba(var(--sable-rgb), .62); font-family: var(--police-texte); font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.carte-encart__repere circle { fill: var(--brume); stroke: color-mix(in srgb, var(--sable) 78%, var(--ocre)); stroke-width: 1.5; }
.carte-encart__repere text { fill: color-mix(in srgb, var(--nuit) 70%, var(--sable)); font-family: var(--police-texte); font-weight: 700; font-size: 12.5px; paint-order: stroke; stroke: color-mix(in srgb, var(--sable) 78%, var(--ocre)); stroke-width: 4px; stroke-linejoin: round; }
.carte-encart__halo { fill: var(--marque); opacity: .3; transform-box: fill-box; transform-origin: center; animation: pouls 2.4s ease-out infinite; }
.carte-encart__point { fill: var(--marque); stroke: var(--nuit); stroke-width: 2.5; }
.carte-encart__agence--aeroport .carte-encart__point { fill: var(--marque-2); stroke: var(--blanc); }
.carte-encart__avion { fill: none; stroke: var(--blanc); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.carte-encart__agence text { font-family: var(--police-titre); font-weight: 700; font-size: 15px; fill: var(--nuit); paint-order: stroke; stroke: color-mix(in srgb, var(--sable) 78%, var(--ocre)); stroke-width: 5px; stroke-linejoin: round; }
@media (max-width: 520px) {
  .carte-agences--encart { grid-template-columns: 1fr; }
  .carte-agences__generale { order: 2; width: min(62%, 240px); margin-inline: auto; }
  .carte-maroc__renvoi { display: none; }
}
@media (max-width: 860px) { .territoire__grille { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ */
/*  Temoignages : cartes postales                                      */
/* ------------------------------------------------------------------ */

.temoignages { background: var(--sable-2); }
.temoignages__liste { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.carte-postale {
  position: relative; display: flex; flex-direction: column; gap: .8rem; padding: 1.5rem 1.5rem 1.3rem;
  background: color-mix(in srgb, var(--sable) 22%, var(--blanc)); border-radius: 6px; box-shadow: 0 1px 0 rgba(var(--nuit-rgb), .06), 0 22px 40px -28px rgba(var(--nuit-rgb), .6);
  transform: rotate(-1.2deg); transition: transform .35s cubic-bezier(.2, .8, .2, 1.3);
}
.carte-postale--2 { transform: rotate(.9deg); }
.carte-postale--3 { transform: rotate(-.4deg); }
.carte-postale:hover { transform: rotate(0) translateY(-4px); }
.carte-postale__timbre {
  position: absolute; right: 1.1rem; top: 1.1rem; display: grid; place-items: center; width: 52px; height: 60px;
  background: var(--marque-clair); color: var(--marque-texte);
  border: 2px dashed rgba(var(--marque-rgb), .6); border-radius: 4px; transform: rotate(6deg);
}
.carte-postale__timbre .icone { width: 28px; height: 28px; }
.etoiles { display: inline-flex; gap: 2px; }
.etoiles .icone { width: 18px; height: 18px; }
.etoile--pleine { color: var(--ocre); }
.etoile--vide { color: var(--sable-3); }
.carte-postale__texte { margin: 0; padding-right: 3.5rem; font-size: 1.02rem; line-height: 1.6; color: color-mix(in srgb, var(--nuit) 92%, var(--sable)); flex: 1; }
.carte-postale__texte p::before { content: '« '; }
.carte-postale__texte p::after { content: ' »'; }
.carte-postale__signature { display: flex; flex-direction: column; padding-top: .7rem; border-top: 1.5px dashed var(--trait); }
.carte-postale__nom { font-family: var(--police-titre); font-weight: 700; font-size: 1.08rem; }
.carte-postale__ville { font-size: .82rem; color: var(--brume); font-weight: 600; }
@media (max-width: 900px) {
  .temoignages__liste { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gouttiere)); padding: 1rem var(--gouttiere) 2rem; scrollbar-width: none; }
  .temoignages__liste li { flex: 0 0 min(84%, 360px); scroll-snap-align: center; }
}

/* ------------------------------------------------------------------ */
/*  Accordeon, FAQ, appel a l'action                                   */
/* ------------------------------------------------------------------ */

.faq-extrait__grille { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.accordeon { display: grid; gap: .6rem; }
.accordeon__item { background: var(--blanc); border-radius: 18px; box-shadow: var(--ombre); overflow: hidden; }
.accordeon__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; cursor: pointer; font-weight: 750; font-size: 1.04rem; }
.accordeon__item summary::-webkit-details-marker { display: none; }
.accordeon__signe { width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--sable); transition: transform .3s ease, background-color .2s ease; }
.accordeon__item[open] .accordeon__signe { transform: rotate(45deg); background: var(--marque); color: var(--sur-marque); }
.accordeon__reponse { padding: 0 1.25rem 1.2rem; color: color-mix(in srgb, var(--nuit) 80%, var(--sable)); }
@media (max-width: 860px) { .faq-extrait__grille { grid-template-columns: 1fr; } }

.appel { padding-bottom: clamp(3rem, 6vw, 5rem); }
.appel__contenu {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem;
  padding: clamp(2rem, 5vw, 3.5rem); border-radius: 34px; background: var(--nuit); color: var(--sable); overflow: hidden;
  max-width: calc(var(--largeur)); margin-inline: auto; width: calc(100% - 2 * var(--gouttiere));
}
.appel__contenu::before { content: ''; position: absolute; inset: 0; background: url('/img/zellige.svg') 0 0 / 80px 80px; opacity: .06; }
.appel__contenu::after { content: ''; position: absolute; right: -80px; bottom: -150px; width: 320px; height: 320px; border-radius: 50%; background: var(--marque); opacity: .9; box-shadow: 0 0 0 40px rgba(var(--marque-rgb), .15), 0 0 0 90px rgba(var(--marque-rgb), .07); }
.appel__contenu > * { position: relative; z-index: 1; }
.appel__titre { font-size: clamp(2rem, 1.2rem + 3vw, 3.3rem); font-weight: 800; }
.appel__texte { margin-top: .6rem; color: rgba(var(--sable-rgb), .78); font-size: 1.1rem; }
.appel__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-right: clamp(0rem, 8vw, 7rem); }

/* ------------------------------------------------------------------ */
/*  Pied de page et WhatsApp                                           */
/* ------------------------------------------------------------------ */

.pied { margin-top: clamp(2rem, 5vw, 4rem); color: var(--sur-marque-2); }
.pied__dune { display: block; width: 100%; height: clamp(34px, 5vw, 70px); margin-bottom: -1px; }
.pied__dune path { fill: var(--marque-2); }
.pied__corps { position: relative; background: var(--marque-2); padding-top: clamp(2rem, 4vw, 3rem); overflow: hidden; }
.pied__corps::before { content: ''; position: absolute; inset: 0; background: url('/img/zellige.svg') 0 0 / 96px 96px; opacity: .06; pointer-events: none; }
.pied__grille { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2rem; padding-bottom: 2.5rem; }
.pied__slogan { margin-top: 1rem; max-width: 30ch; font-family: var(--police-titre); font-size: 1.3rem; font-weight: 600; line-height: 1.25; opacity: .9; }
.pied__reseaux { list-style: none; display: flex; gap: .5rem; margin-top: 1.3rem; }
.pied__reseaux a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid currentColor; color: inherit; opacity: .85; }
.pied__reseaux a:hover { opacity: 1; background: var(--marque); color: var(--sur-marque); border-color: var(--marque); }
.pied__titre { font-family: var(--police-texte); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .7; margin-bottom: 1rem; }
.pied__colonne ul { list-style: none; display: grid; gap: .55rem; }
.pied__colonne a { color: inherit; text-decoration: none; font-weight: 600; }
.pied__colonne a:hover { color: inherit; text-decoration: underline; text-decoration-color: var(--marque); text-decoration-thickness: 2px; }
.pied__contact li { display: grid; grid-template-columns: 20px 1fr; gap: .6rem; align-items: start; }
.pied__contact .icone { margin-top: .2rem; opacity: .75; }
.pied__legal { position: relative; padding-block: 1.4rem 1.6rem; border-top: 1px solid rgba(var(--sable-rgb), .16); font-size: .82rem; }
.pied__identite { display: flex; flex-wrap: wrap; gap: .2rem .9rem; opacity: .75; }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; margin-top: .8rem; opacity: .9; }
.pied__demo { display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .7rem; border-radius: 999px; border: 1px dashed currentColor; font-weight: 700; }
@media (max-width: 900px) { .pied__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pied__marque { grid-column: 1 / -1; } }
@media (max-width: 480px) { .pied__grille { grid-template-columns: 1fr; } }

.whatsapp-flottant {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 70;
  display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.1rem .8rem .9rem; border-radius: 999px;
  background: var(--vert-whatsapp); color: var(--vert-whatsapp-texte); font-weight: 800; text-decoration: none;
  box-shadow: 0 16px 30px -12px color-mix(in srgb, var(--vert-whatsapp) 55%, transparent); transition: transform .2s ease;
}
.whatsapp-flottant:hover { color: var(--vert-whatsapp-texte); transform: translateY(-3px) scale(1.02); }
.whatsapp-flottant .icone { width: 26px; height: 26px; }
@media (max-width: 640px) { .whatsapp-flottant { padding: .85rem; } .whatsapp-flottant__texte { display: none; } }

/* ------------------------------------------------------------------ */
/*  Bandeaux de page, fil d'Ariane, alertes                            */
/* ------------------------------------------------------------------ */

.bandeau-page { position: relative; background: var(--nuit); color: var(--sable); padding-block: clamp(2.2rem, 5vw, 3.6rem) clamp(2.6rem, 6vw, 4.2rem); overflow: hidden; }
.bandeau-page::before { content: ''; position: absolute; inset: 0; background: url('/img/zellige.svg') 0 0 / 84px 84px; opacity: .06; }
.bandeau-page::after { content: ''; position: absolute; right: -60px; top: -120px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--marque-rgb), .55) 0 40%, rgba(var(--marque-rgb), .14) 41% 60%, transparent 61%); }
.bandeau-page .conteneur { position: relative; z-index: 1; }
.bandeau-page__titre { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 3.9rem); font-weight: 800; max-width: 20ch; }
.bandeau-page__titre span { color: var(--marque-sur-nuit); }
.bandeau-page__intro { margin-top: .9rem; max-width: 58ch; font-size: 1.08rem; color: rgba(var(--sable-rgb), .78); }
.bandeau-page .bouton { margin-top: 1.6rem; }
.bandeau-page .surtitre { color: var(--marque-sur-nuit); }
.bandeau-page--catalogue { padding-bottom: clamp(5rem, 9vw, 6.5rem); }
.billet-conteneur--catalogue { margin-top: clamp(-4.5rem, -6vw, -3rem); }
.billet--compact .trajet__code { font-size: 1.4rem; }

.fil { margin-bottom: 1.1rem; font-size: .84rem; font-weight: 600; }
.fil ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; }
.fil li:not(:last-child)::after { content: '/'; margin-left: .45rem; opacity: .45; }
.fil a { color: inherit; opacity: .78; text-decoration: none; }
.fil a:hover { opacity: 1; color: inherit; text-decoration: underline; }
.fil [aria-current] { opacity: 1; }

.alerte { display: flex; align-items: flex-start; gap: .7rem; padding: .95rem 1.1rem; border-radius: 16px; font-weight: 600; font-size: .95rem; }
.alerte .icone { margin-top: .15rem; width: 1.25em; height: 1.25em; }
.alerte a { font-weight: 800; }
.alerte--attention { background: color-mix(in srgb, var(--ocre) 22%, var(--blanc)); color: var(--ocre-texte); box-shadow: inset 4px 0 0 var(--ocre); }
.alerte--erreur { background: color-mix(in srgb, var(--argile) 18%, var(--blanc)); color: var(--argile-texte); box-shadow: inset 4px 0 0 var(--argile); }
.alerte--succes { background: color-mix(in srgb, var(--menthe) 16%, var(--blanc)); color: var(--menthe-texte); box-shadow: inset 4px 0 0 var(--menthe); }

/* ------------------------------------------------------------------ */
/*  Catalogue                                                          */
/* ------------------------------------------------------------------ */

.catalogue { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; padding-top: clamp(2rem, 4vw, 3rem); }
.catalogue__filtres { position: sticky; top: calc(var(--entete) + 16px); }
.filtres__panneau { background: var(--blanc); border-radius: var(--rayon); padding: 1.2rem; box-shadow: var(--ombre); }
.filtres__titre { list-style: none; display: flex; align-items: center; gap: .55rem; font-family: var(--police-titre); font-size: 1.25rem; font-weight: 700; cursor: pointer; }
.filtres__titre::-webkit-details-marker { display: none; }
.filtres__ouvrir { margin-left: auto; display: none; }
.filtres__groupe { border: 0; padding: 0; margin: 1.2rem 0 0; min-width: 0; }
.filtres__groupe legend { padding: 0; margin-bottom: .55rem; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brume); }
.pastilles { display: flex; flex-wrap: wrap; gap: .4rem; }
.pastille { position: relative; display: inline-flex; cursor: pointer; }
.pastille input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pastille span { display: inline-flex; align-items: center; gap: .3rem; padding: .42rem .75rem; border-radius: 999px; border: 1.5px solid var(--trait); background: color-mix(in srgb, var(--sable) 45%, var(--blanc)); font-size: .86rem; font-weight: 700; transition: all .15s ease; }
.pastille small { font-size: .74rem; opacity: .6; }
.pastille:hover span { border-color: var(--nuit); }
.pastille input:checked + span { background: var(--nuit); border-color: var(--nuit); color: var(--sable); }
.pastille input:focus-visible + span { outline: 3px solid var(--nuit); outline-offset: 2px; box-shadow: 0 0 0 6px rgba(var(--marque-rgb), .35); }
.filtres__ligne { display: grid; gap: .9rem; margin-top: 1.2rem; }
.filtres__actions { display: flex; align-items: center; justify-content: space-between; margin-top: 1.3rem; }
.catalogue__barre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.catalogue__compte { font-size: 1rem; font-weight: 600; color: var(--brume); }
.catalogue__compte strong { font-family: var(--police-titre); font-size: 1.6rem; color: var(--nuit); margin-right: .2rem; }
.catalogue__compte span { display: block; font-size: .84rem; }
.tri { display: flex; align-items: center; gap: .6rem; }
.tri label { font-size: .84rem; font-weight: 700; color: var(--brume); }
.tri select { min-height: 42px; padding: .45rem 2.2rem .45rem .85rem; border-radius: 999px; border: 1.5px solid var(--trait); background: var(--blanc); font-weight: 700; appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--nuit) 50%), linear-gradient(135deg, var(--nuit) 50%, transparent 50%); background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.resume-recherche { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-bottom: 1rem; padding: .9rem 1.1rem; border-radius: 18px; background: var(--blanc); box-shadow: var(--ombre); }
.resume-recherche__trajet { display: inline-grid; grid-template-columns: auto auto; column-gap: .5rem; align-items: center; }
.resume-recherche__trajet .icone { grid-row: span 2; width: 22px; height: 22px; color: var(--marque-texte); }
.resume-recherche__trajet strong { font-size: .92rem; line-height: 1.2; }
.resume-recherche__date { font-size: .82rem; color: var(--brume); font-weight: 600; }
.resume-recherche__fleche { color: var(--brume); }
.resume-recherche__jours { margin-left: auto; padding: .35rem .8rem; border-radius: 999px; background: var(--nuit); color: var(--sable); font-weight: 800; font-size: .86rem; }
.catalogue__resultats > .alerte { margin-bottom: 1rem; }
.vide { padding: 3rem 1.5rem; text-align: center; border-radius: var(--rayon); border: 2px dashed var(--sable-3); }
.vide__titre { font-family: var(--police-titre); font-size: 1.4rem; font-weight: 700; margin-bottom: .4rem; }
@media (max-width: 960px) {
  .catalogue { grid-template-columns: 1fr; }
  .catalogue__filtres { position: static; }
  .filtres__ouvrir { display: inline-flex; }
  .filtres__panneau[open] .filtres__ouvrir { transform: rotate(45deg); }
  .resume-recherche__jours { margin-left: 0; }
}

/* ------------------------------------------------------------------ */
/*  Fiche modele                                                       */
/* ------------------------------------------------------------------ */

.fiche__haut { padding-top: 1.4rem; }
.fiche__haut .fil { color: var(--brume); }
.fiche__grille { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: clamp(1.5rem, 3.5vw, 3rem); align-items: start; }
.fiche__entete { margin-bottom: 1.2rem; }
.fiche__titre { font-size: clamp(2.2rem, 1.3rem + 3vw, 3.6rem); font-weight: 800; }
.fiche__titre .similaire { font-size: .4em; vertical-align: middle; }
.fiche__version { margin-top: .4rem; color: var(--brume); font-weight: 600; }
.fiche__des { margin-top: .7rem; font-size: 1.05rem; }
.fiche__des strong { font-family: var(--police-titre); font-size: 1.5rem; color: var(--marque-texte); }
.scene {
  position: relative; display: grid; place-items: end center; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 30px;
  padding: 2rem 1.5rem 0;
  background:
    radial-gradient(circle at 76% 34%, rgba(var(--marque-rgb), .9) 0 12%, rgba(var(--marque-rgb), .22) 12.4% 19%, rgba(var(--marque-rgb), .08) 19.4% 27%, transparent 27.4%),
    linear-gradient(180deg, color-mix(in srgb, var(--sable) 78%, var(--blanc)) 0%, color-mix(in srgb, var(--sable) 55%, var(--ocre)) 64%, color-mix(in srgb, var(--sable) 42%, var(--ocre)) 64.2%, color-mix(in srgb, var(--sable) 35%, var(--marque)) 100%);
}
.scene::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 14.5%; background: color-mix(in srgb, var(--ocre) 50%, var(--argile)); opacity: .55; clip-path: polygon(0 100%, 0 60%, 8% 30%, 16% 55%, 26% 10%, 36% 50%, 46% 22%, 56% 62%, 66% 18%, 76% 48%, 86% 20%, 100% 58%, 100% 100%); }
.scene__sol { position: absolute; left: 50%; bottom: 7%; width: 76%; height: 12%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse, rgba(var(--nuit-rgb), .28), transparent 70%); }
.scene__visuel { position: relative; z-index: 1; width: 90%; max-width: 720px; transform: translateY(6%); }
.scene__visuel--photo { width: 100%; height: 100%; object-fit: cover; transform: none; position: absolute; inset: 0; border-radius: 30px; }
.galerie { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .6rem; margin-top: .8rem; }
.galerie img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.specs { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .7rem; margin-top: 1.2rem; }
.spec { display: grid; grid-template-columns: 30px 1fr; column-gap: .6rem; align-items: center; padding: .85rem 1rem; border-radius: 16px; background: var(--blanc); }
.spec .icone { grid-row: span 2; width: 26px; height: 26px; color: var(--marque-2-texte); }
.spec__libelle { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brume); line-height: 1.2; }
.spec__valeur { font-weight: 750; line-height: 1.25; }
.bloc { margin-top: 1.2rem; padding: clamp(1.1rem, 2.5vw, 1.6rem); border-radius: var(--rayon); background: var(--blanc); }
.bloc__titre { display: flex; align-items: center; gap: .6rem; font-size: 1.3rem; margin-bottom: .9rem; }
.bloc__titre .icone { width: 26px; height: 26px; color: var(--marque-texte); }
.bloc__texte { font-size: 1.05rem; color: color-mix(in srgb, var(--nuit) 82%, var(--sable)); }
.bloc__note { display: flex; gap: .5rem; align-items: flex-start; margin-top: .9rem; font-size: .86rem; color: var(--brume); font-weight: 600; }
.bloc__note .icone { margin-top: .15rem; }
.equipements { list-style: none; columns: 2; column-gap: 1.5rem; }
.equipements li { display: flex; align-items: center; gap: .5rem; padding: .3rem 0; break-inside: avoid; font-weight: 600; }
.equipements .icone { color: var(--menthe-texte); }
.conditions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: 0; }
.condition { display: grid; grid-template-columns: 34px 1fr; column-gap: .7rem; align-items: center; padding: .8rem .9rem; border-radius: 14px; background: var(--sable); }
.condition .icone { grid-row: span 2; width: 34px; height: 34px; padding: 6px; border-radius: 10px; background: var(--blanc); color: var(--marque-2-texte); }
.condition dt { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brume); }
.condition dd { margin: 0; font-weight: 750; line-height: 1.3; }
.paliers { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .8rem; align-items: end; }
.palier { display: grid; gap: .25rem; }
.palier__barre { display: block; height: 100px; border-radius: 12px 12px 4px 4px; background: linear-gradient(180deg, var(--marque) 0%, rgba(var(--marque-rgb), .35) 100%); margin-bottom: .4rem; transform-origin: bottom; }
.palier__barre--1, .palier__barre--2, .palier__barre--3 { height: 32px; }
.palier__barre--4 { height: 42px; } .palier__barre--5 { height: 52px; } .palier__barre--6 { height: 62px; }
.palier__barre--7 { height: 72px; } .palier__barre--8 { height: 82px; } .palier__barre--9 { height: 92px; } .palier__barre--10 { height: 102px; }
.palier__duree { font-size: .8rem; font-weight: 700; color: var(--brume); }
.palier__prix { font-family: var(--police-titre); font-weight: 700; }
.palier__prix strong { font-size: 1.5rem; font-weight: 800; }
.palier__prix small { font-family: var(--police-texte); color: var(--brume); font-weight: 600; }
.saisons { list-style: none; display: grid; gap: .5rem; }
.saisons li { display: flex; align-items: flex-start; gap: .6rem; }
.saisons .icone { margin-top: .2rem; color: var(--ocre); }
.saisons__ecart { font-weight: 800; color: var(--argile-texte); }

.fiche__reservation { position: sticky; top: calc(var(--entete) + 16px); }
.reserver-carte { padding: 1.3rem; border-radius: 26px; background: var(--blanc); box-shadow: var(--ombre-forte); }
.reserver-carte__titre { font-size: 1.45rem; margin-bottom: 1rem; }
.reserver-carte .trajet, .parcours .trajet { grid-template-columns: 1fr; gap: 1rem; }
.reserver-carte .trajet__perforation, .parcours .trajet__perforation { height: 2px; background: repeating-linear-gradient(90deg, var(--sable-3) 0 8px, transparent 8px 15px); }
.reserver-carte .trajet__code { font-size: 1.3rem; }
.reserver-carte__rassurance { display: flex; align-items: center; justify-content: center; gap: .45rem; margin-top: .8rem; font-size: .82rem; color: var(--brume); font-weight: 600; text-align: center; }
.options { border: 0; padding: 0; margin: 1.2rem 0 0; min-width: 0; }
.options legend { padding: 0; margin-bottom: .3rem; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brume); }
.option { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) auto; column-gap: .7rem; align-items: center; padding: .65rem 0; border-top: 1.5px dashed var(--trait); }
.option__case { justify-self: center; width: 1.3rem; height: 1.3rem; accent-color: var(--nuit); margin: 0; }
.option__quantite { width: 100%; min-height: 38px; padding: .3rem .4rem; border-radius: 10px; border: 1.5px solid var(--trait); background: color-mix(in srgb, var(--sable) 45%, var(--blanc)); font-weight: 700; text-align: center; }
.option__libelle { display: grid; cursor: pointer; }
.option__nom { font-weight: 750; font-size: .93rem; line-height: 1.3; }
.option__description { font-size: .78rem; color: var(--brume); line-height: 1.35; }
.option__prix { font-size: .82rem; font-weight: 800; white-space: nowrap; text-align: right; }
.options--cartes { display: grid; gap: .6rem; }
.option--carte { padding: .85rem 1rem; border: 1.5px solid var(--trait); border-radius: 16px; background: color-mix(in srgb, var(--blanc) 92%, var(--sable)); transition: border-color .15s ease, background-color .15s ease; }
.option--carte.option--active { border-color: var(--nuit); background: var(--marque-clair); }

.devis { margin: 1.2rem 0; padding: 1rem 1.1rem; border-radius: 18px; background: var(--sable); transition: opacity .2s ease; }
.devis--chargement { opacity: .55; }
.devis__attente { font-size: .9rem; color: var(--brume); font-weight: 600; text-align: center; padding: .4rem 0; }
.devis__lignes { list-style: none; display: grid; gap: .35rem; }
.devis__lignes li { display: flex; justify-content: space-between; gap: 1rem; font-size: .88rem; line-height: 1.35; }
.devis__lignes .montant { font-weight: 750; white-space: nowrap; }
.devis__total { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: .75rem; padding-top: .7rem; border-top: 2px solid var(--nuit); font-weight: 800; }
.devis__total strong { font-family: var(--police-titre); font-size: 2rem; font-weight: 800; letter-spacing: -.02em; }
.devis__notes { margin-top: .3rem; font-size: .8rem; color: var(--brume); font-weight: 600; }
.devis .etat { margin-top: .7rem; }
.devis .alerte { margin: 0; }
@media (max-width: 1020px) {
  .fiche__grille { grid-template-columns: 1fr; }
  .fiche__reservation { position: static; }
  .conditions { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .equipements { columns: 1; } .scene { border-radius: 22px; } }

/* ------------------------------------------------------------------ */
/*  Parcours de reservation                                            */
/* ------------------------------------------------------------------ */

.bandeau-page--parcours { padding-bottom: 2.4rem; }
.progression { list-style: none; display: flex; align-items: center; gap: .6rem; margin-top: 1.6rem; max-width: 720px; }
.progression__etape { display: flex; align-items: center; gap: .55rem; flex: 1; font-weight: 700; font-size: .9rem; color: rgba(var(--sable-rgb), .6); }
.progression__etape:not(:last-child)::after { content: ''; flex: 1; min-width: 16px; border-top: 2px dashed rgba(var(--sable-rgb), .3); }
.progression__borne { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; border: 2px solid rgba(var(--sable-rgb), .4); font-family: var(--police-titre); font-weight: 800; }
.progression__etape--active { color: var(--sable); }
.progression__etape--active .progression__borne { background: var(--marque); border-color: var(--marque); color: var(--sur-marque); }
.progression__etape--faite { color: var(--sable); }
.progression__etape--faite .progression__borne { background: var(--menthe); border-color: var(--menthe); color: var(--nuit); }
@media (max-width: 640px) { .progression__libelle { display: none; } .progression__etape--active .progression__libelle { display: inline; } }

.parcours { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: clamp(1.5rem, 3.5vw, 3rem); align-items: start; padding-top: 2rem; }
.parcours__principal > .alerte { margin-bottom: 1rem; }
.etape-parcours { border: 0; margin: 0; min-width: 0; padding: clamp(1.1rem, 3vw, 1.8rem); border-radius: 26px; background: var(--blanc); box-shadow: var(--ombre); }
.etape-parcours__titre { float: left; width: 100%; padding: 0; margin-bottom: 1.2rem; font-family: var(--police-titre); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); font-weight: 800; }
.etape-parcours__titre + * { clear: both; }
.etape-parcours__sous-titre { font-size: 1.15rem; margin: 1.6rem 0 .8rem; }
.etape-parcours__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1.5px dashed var(--trait); }
.choix-civilite { display: flex; gap: .5rem; }
.choix-civilite .pastille span { padding: .7rem 1.1rem; font-size: .95rem; }
.case--conditions { display: flex; align-items: flex-start; margin-top: 1.2rem; padding: 1rem; border-radius: 14px; background: var(--sable); font-size: .95rem; }
.case--conditions input { margin-top: .2rem; }
.recapitulatif { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.recap { padding: 1rem 1.1rem; border-radius: 16px; background: var(--sable); }
.recap__titre { display: flex; align-items: center; gap: .45rem; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brume); margin-bottom: .45rem; }
.recap__titre .icone { color: var(--marque-texte); }
.recap__ligne { font-weight: 650; line-height: 1.4; }
.recap__ligne--fort { font-family: var(--police-titre); font-weight: 700; font-size: 1.1rem; }
.parcours__resume { position: sticky; top: calc(var(--entete) + 16px); }
.resume-carte { padding: 1.2rem; border-radius: 26px; background: var(--blanc); box-shadow: var(--ombre-forte); }
.resume-carte__visuel { display: grid; place-items: end center; aspect-ratio: 16 / 8.5; margin-bottom: 1rem; border-radius: 18px; overflow: hidden; background: radial-gradient(ellipse 60% 18% at 50% 90%, rgba(var(--nuit-rgb), .2), transparent 70%), linear-gradient(180deg, color-mix(in srgb, var(--sable) 78%, var(--blanc)), color-mix(in srgb, var(--sable) 58%, var(--ocre))); }
.resume-carte__image { width: 92%; transform: translateY(6%); }
.resume-carte__image.resume-carte__image--photo { width: 100%; height: 100%; object-fit: cover; transform: none; }
.resume-carte .surtitre { margin-bottom: .3rem; }
.resume-carte__nom { font-size: 1.5rem; }
.resume-carte .devis { margin-bottom: 0; }
@media (max-width: 1020px) {
  .parcours { grid-template-columns: 1fr; }
  .parcours__resume { position: static; order: -1; }
  .resume-carte { display: grid; grid-template-columns: 140px 1fr; column-gap: 1rem; align-items: center; }
  .resume-carte__visuel { grid-row: span 3; margin: 0; }
  .resume-carte .puces, .resume-carte .devis { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .recapitulatif { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ */
/*  Suivi de reservation                                               */
/* ------------------------------------------------------------------ */

.reference { font-family: var(--police-titre); letter-spacing: .02em; }
.suivi { padding-top: 2rem; }
.suivi__chargement { display: grid; place-items: center; gap: .8rem; padding: 4rem 1rem; color: var(--brume); font-weight: 700; }
.suivi__roue .icone { width: 54px; height: 54px; color: var(--marque-texte); animation: tourner 1.4s linear infinite; }
.suivi__aide { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; margin-top: 2rem; color: var(--brume); font-weight: 600; }
.suivi__aide a { display: inline-flex; align-items: center; gap: .35rem; font-weight: 800; color: var(--nuit); }
.suivi__grille { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.statut { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .95rem; border-radius: 999px; font-weight: 800; font-size: .9rem; }
.statut::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.statut--DEMANDE { background: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--ocre) 35%, var(--blanc)) 0 7px, color-mix(in srgb, var(--ocre) 50%, var(--blanc)) 7px 14px); color: var(--ocre-texte); }
.statut--CONFIRMEE { background: var(--marque-2); color: var(--sur-marque-2); }
.statut--EN_COURS { background: var(--marque); color: var(--sur-marque); }
.statut--TERMINEE { background: color-mix(in srgb, var(--sable) 55%, var(--brume)); color: color-mix(in srgb, var(--nuit) 80%, var(--sable)); }
.statut--ANNULEE, .statut--REFUSEE, .statut--NON_PRESENTEE { background: color-mix(in srgb, var(--argile) 15%, var(--blanc)); color: var(--argile-texte); text-decoration: line-through; text-decoration-thickness: 2px; }
.billet-suivi { position: relative; border-radius: 26px; background: var(--blanc); box-shadow: var(--ombre-forte); overflow: hidden; }
.billet-suivi__haut { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; padding: 1.2rem 1.4rem; border-bottom: 2px dashed var(--sable-3); }
.billet-suivi__ref { font-family: var(--police-titre); font-size: 1.6rem; font-weight: 800; }
.billet-suivi__trajet { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 1rem; align-items: center; padding: 1.4rem; }
.billet-suivi__lieu { display: grid; gap: .15rem; }
.billet-suivi__lieu--retour { text-align: right; }
.billet-suivi__etiquette { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brume); }
.billet-suivi__ville { font-family: var(--police-titre); font-size: 1.8rem; font-weight: 800; line-height: 1.05; }
.billet-suivi__agence { font-weight: 700; }
.billet-suivi__adresse { font-size: .84rem; color: var(--brume); }
.billet-suivi__date { margin-top: .35rem; font-weight: 800; color: var(--marque-texte); }
.billet-suivi__route { display: grid; place-items: center; gap: .3rem; color: var(--brume); font-weight: 800; font-size: .85rem; }
.billet-suivi__route .icone { width: 30px; height: 30px; color: var(--nuit); }
.billet-suivi__route::before { content: ''; width: 90px; border-top: 2.5px dashed var(--sable-3); }
.billet-suivi__vehicule { display: grid; grid-template-columns: 200px 1fr; gap: 1rem; align-items: center; padding: 1rem 1.4rem 1.4rem; background: linear-gradient(180deg, transparent, var(--sable) 100%); }
.billet-suivi__vehicule img { width: 100%; }
.billet-suivi__modele { font-family: var(--police-titre); font-size: 1.3rem; font-weight: 700; }
.carte-annulation { margin-top: 1.2rem; padding: 1.2rem; border-radius: 20px; border: 2px dashed color-mix(in srgb, var(--argile) 40%, var(--blanc)); background: color-mix(in srgb, var(--argile) 5%, var(--blanc)); }
.carte-annulation h2 { font-size: 1.2rem; margin-bottom: .4rem; }
.carte-annulation p { color: color-mix(in srgb, var(--nuit) 75%, var(--argile)); font-size: .92rem; }
.carte-annulation .champ { margin-top: .9rem; }
.carte-annulation .bouton { margin-top: .9rem; }
.bouton--danger { --fond: var(--argile-texte); --texte: var(--blanc); }
@media (max-width: 900px) { .suivi__grille { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .billet-suivi__trajet { grid-template-columns: 1fr; }
  .billet-suivi__lieu--retour { text-align: left; }
  .billet-suivi__route { justify-items: start; }
  .billet-suivi__route::before { display: none; }
  .billet-suivi__vehicule { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ */
/*  Agences, aide, contact, textes                                     */
/* ------------------------------------------------------------------ */

.agences { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; padding-top: 2.5rem; }
.agences__carte { position: sticky; top: calc(var(--entete) + 16px); }
.agences__carte-colle .bloc__note { position: relative; color: rgba(var(--sable-rgb), .8); }
.ville + .ville { margin-top: 2.2rem; }
.ville__titre { display: flex; align-items: center; gap: 1rem; font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.3rem); font-weight: 800; margin-bottom: 1rem; }
.ville__titre::after { content: ''; flex: 1; border-top: 2.5px dashed var(--sable-3); }
.lieux { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.lieu { display: flex; flex-direction: column; gap: .5rem; padding: 1.2rem; border-radius: var(--rayon); background: var(--blanc); box-shadow: var(--ombre); }
.lieu__type { display: inline-flex; align-self: flex-start; align-items: center; gap: .4rem; padding: .3rem .7rem; border-radius: 999px; background: var(--sable-2); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.lieu--aeroport .lieu__type { background: var(--marque-2); color: var(--sur-marque-2); }
.lieu__nom { font-size: 1.25rem; }
.lieu__infos { display: grid; gap: .45rem; margin: .2rem 0 .6rem; }
.lieu__infos div { display: grid; grid-template-columns: 20px 1fr; column-gap: .55rem; font-size: .9rem; }
.lieu__infos .icone { grid-row: span 2; margin-top: .15rem; color: var(--marque-2-texte); }
.lieu__infos dt { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brume); }
.lieu__infos dd { margin: 0; font-weight: 650; }
.lieu .lien-fleche { margin-top: auto; align-self: flex-start; font-size: .9rem; }
@media (max-width: 900px) { .agences { grid-template-columns: 1fr; } .agences__carte { position: static; } }

.aide { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; padding-top: 2.5rem; }
.accordeon--complet .accordeon__item summary { font-size: 1.08rem; }
.encart { position: sticky; top: calc(var(--entete) + 16px); padding: 1.6rem; border-radius: 26px; background: var(--nuit); color: var(--sable); overflow: hidden; }
.encart::before { content: ''; position: absolute; inset: 0; background: url('/img/zellige.svg') 0 0 / 70px 70px; opacity: .06; }
.encart > * { position: relative; }
.encart__titre { font-size: 1.5rem; margin-bottom: .5rem; }
.encart p { color: rgba(var(--sable-rgb), .8); }
.encart__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.encart .bouton--contour { --texte: var(--sable); border-color: rgba(var(--sable-rgb), .6); }
.encart .bouton--contour:hover { --fond: var(--sable); --texte: var(--nuit); }
.encart__lien { margin-top: 1.2rem; font-size: .9rem; }
.encart__lien a { color: var(--sable); }
@media (max-width: 900px) { .aide { grid-template-columns: 1fr; } .encart { position: static; } }

.contact { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; padding-top: 2.5rem; }
.contact__formulaire { padding: clamp(1.2rem, 3vw, 2rem); border-radius: 26px; background: var(--blanc); box-shadow: var(--ombre); }
.contact__formulaire .alerte { margin-bottom: 1rem; }
.formulaire .champ__aide { margin: .9rem 0 1.2rem; }
.coordonnees { list-style: none; display: grid; gap: .7rem; margin-bottom: 1.4rem; }
.coordonnee { display: grid; grid-template-columns: 48px 1fr; column-gap: .9rem; align-items: center; padding: 1rem 1.1rem; border-radius: 20px; background: var(--blanc); box-shadow: var(--ombre); }
.coordonnee .icone { grid-row: span 2; width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--sable-2); color: var(--nuit); }
.coordonnee--whatsapp .icone { background: var(--vert-whatsapp); color: var(--vert-whatsapp-texte); }
.coordonnee__libelle { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brume); }
.coordonnee a, .coordonnee span:last-child { font-weight: 750; font-size: 1.02rem; overflow-wrap: anywhere; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

.texte-long { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; padding-top: 2.5rem; }
.texte-long--simple { grid-template-columns: minmax(0, 860px); justify-content: center; }
.sommaire { position: sticky; top: calc(var(--entete) + 16px); padding: 1.2rem; border-radius: 20px; background: var(--blanc); font-size: .88rem; }
.sommaire__titre { font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .74rem; color: var(--brume); margin-bottom: .6rem; }
.sommaire ol { list-style: none; display: grid; gap: .35rem; }
.sommaire a { text-decoration: none; font-weight: 650; }
.sommaire a:hover { text-decoration: underline; }
.texte-long__corps { padding: clamp(1.2rem, 3.5vw, 2.4rem); border-radius: 26px; background: var(--blanc); }
.article + .article { margin-top: 2rem; padding-top: 2rem; border-top: 1.5px dashed var(--trait); }
.article__titre { font-size: 1.35rem; margin-bottom: .8rem; }
.article p { max-width: 72ch; color: color-mix(in srgb, var(--nuit) 82%, var(--sable)); }
.identite { display: grid; margin: 0; }
.identite div { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 1rem; padding: .65rem 0; border-bottom: 1.5px dashed var(--trait); }
.identite dt { font-weight: 700; color: var(--brume); }
.identite dd { margin: 0; font-weight: 750; }
@media (max-width: 860px) { .texte-long { grid-template-columns: 1fr; } .sommaire { position: static; } .identite div { grid-template-columns: 1fr; gap: 0; } }

.introuvable { padding-block: clamp(3rem, 8vw, 6rem); }
.introuvable__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.introuvable__panneau svg { width: 100%; max-width: 420px; display: block; margin-inline: auto; }
.barriere__pied { fill: var(--nuit); }
.barriere__planche { fill: var(--blanc); stroke: var(--nuit); stroke-width: 4; }
.barriere__bande { fill: var(--marque); }
.barriere__feu { fill: var(--ocre); animation: clignoter 1.2s steps(2, jump-none) infinite; }
.barriere__feu + .barriere__feu { animation-delay: .6s; }
.barriere__code { font-family: var(--police-titre); font-weight: 800; font-size: 64px; fill: var(--nuit); letter-spacing: -.02em; }
.introuvable__titre { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.8rem); font-weight: 800; margin-bottom: 1rem; }
.introuvable__texte p { color: var(--brume); font-size: 1.1rem; max-width: 46ch; }
.introuvable__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
@keyframes clignoter { 0% { opacity: 1; } 100% { opacity: .25; } }
@media (max-width: 800px) { .introuvable__grille { grid-template-columns: 1fr; } .introuvable__panneau svg { max-width: 280px; } }

/* ------------------------------------------------------------------ */
/*  Mouvement reduit                                                   */
/* ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Carte de reservation de la fiche : options compactes. */
.reserver-carte .option__description { display: none; }
.reserver-carte .option { padding: .55rem 0; }
.reserver-carte .option__prix { font-size: .78rem; color: color-mix(in srgb, var(--nuit) 86%, var(--sable)); }
.suivi__grille .bloc:first-child { margin-top: 0; }
.introuvable__texte .surtitre { color: var(--marque-texte); }

/* Fiche sur telephone : barre de reservation collante. */
.barre-reserver { display: none; }
@media (max-width: 1020px) {
  .page-fiche .barre-reserver {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 65;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .75rem var(--gouttiere) max(.75rem, env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--blanc) 94%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 -12px 30px -18px rgba(var(--nuit-rgb), .5);
  }
  .barre-reserver__prix { font-weight: 600; color: var(--brume); }
  .barre-reserver__prix strong { font-family: var(--police-titre); font-size: 1.4rem; color: var(--nuit); }
  .page-fiche .whatsapp-flottant { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .page-fiche .pied { padding-bottom: 72px; background: var(--marque-2); }
  #titre-reserver { scroll-margin-top: calc(var(--entete) + 24px); }
}

/* Telephone : libelle d'etape sur une ligne, prix d'option sous son nom. */
.progression__libelle { white-space: nowrap; }
@media (max-width: 560px) {
  .option { grid-template-columns: 3.2rem minmax(0, 1fr); row-gap: .15rem; }
  .option__prix { grid-column: 2; text-align: left; }
  .option > .option__case, .option > .option__quantite { grid-row: span 2; }
}

/* ------------------------------------------------------------------ */
/*  Contenu administrable, offres et avis clients                      */
/* ------------------------------------------------------------------ */

.pied__presentation { margin-top: .8rem; max-width: 36ch; font-size: .92rem; opacity: .82; }
.atouts__liste--1, .atouts__liste--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.atouts__liste--3, .atouts__liste--5, .atouts__liste--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .atouts__liste--3, .atouts__liste--5, .atouts__liste--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .atouts__liste[class*='atouts__liste--'] { grid-template-columns: 1fr; } }
.etapes__liste--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.etapes__liste--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.etapes__liste--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 800px) { .etapes__liste[class*='etapes__liste--'] { grid-template-columns: 1fr; } }

/* Offres */
.offre-bandeau { position: relative; background: var(--marque-2); color: var(--sur-marque-2); overflow: hidden; }
.offre-bandeau::before { content: ''; position: absolute; inset: 0; background: url('/img/zellige.svg') 0 0 / 60px 60px; opacity: .08; pointer-events: none; }
.offre-bandeau__contenu { position: relative; display: flex; align-items: center; gap: .8rem; padding-block: .75rem; }
.offre-bandeau__icone { width: 1.6rem; height: 1.6rem; padding: .3rem; border-radius: 50%; background: var(--marque); color: var(--sur-marque); flex: none; }
.offre-bandeau__texte { flex: 1; font-size: .95rem; line-height: 1.4; }
.offre-bandeau__texte strong { font-family: var(--police-titre); font-size: 1.02rem; margin-right: .2rem; }
.offre-bandeau__code kbd { display: inline-block; margin-left: .25rem; padding: .08rem .5rem; border-radius: 6px; border: 1.5px dashed currentColor; font-family: var(--police-titre); font-weight: 800; letter-spacing: .06em; }
.offre-bandeau__fermer { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--blanc) 12%, transparent); color: inherit; flex: none; }
.offre-bandeau__fermer:hover { background: color-mix(in srgb, var(--blanc) 24%, transparent); }
.badge-offre {
  position: absolute; left: 14px; top: 46px; z-index: 1; display: inline-flex; align-items: center; gap: .3rem; max-width: calc(100% - 28px);
  padding: .3rem .65rem; border-radius: 999px; background: var(--marque); color: var(--sur-marque); font-size: .76rem; font-weight: 800;
  box-shadow: 0 6px 14px -8px rgba(var(--marque-rgb), .9);
}
.badge-offre .icone { width: 1em; height: 1em; }
.badge-offre__code { padding-left: .35rem; margin-left: .1rem; border-left: 1px solid currentColor; font-weight: 700; opacity: .9; }
.fiche__des--offre { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; }
.fiche__des--offre .badge-offre { position: static; }
.fiche__offre { margin-top: .4rem; font-size: .92rem; color: var(--brume); font-weight: 600; }
.prix-barre { color: var(--brume); font-weight: 600; text-decoration-thickness: 1.5px; text-transform: none; letter-spacing: 0; }
.carte-voiture__montant--remise strong { color: var(--marque-texte); }
.carte-voiture__avant-remise { font-size: .82rem; }
.devis__ligne--remise { color: var(--menthe-texte); font-weight: 700; }
.devis__remise { display: flex; align-items: center; gap: .45rem; margin-top: .6rem; font-size: .85rem; font-weight: 700; color: var(--menthe-texte); }
.devis__remise .prix-barre { margin-left: auto; }

.code-promo { display: grid; gap: .4rem; margin-top: 1rem; }
.code-promo__libelle { display: inline-flex; align-items: center; gap: .4rem; font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--brume); }
.code-promo__libelle .icone { color: var(--marque-texte); }
.code-promo__ligne { display: flex; gap: .5rem; }
.code-promo__ligne input {
  flex: 1; min-width: 0; min-height: 44px; padding: .55rem .8rem; border: 1.5px solid var(--trait); border-radius: var(--rayon-petit); background: color-mix(in srgb, var(--sable) 45%, var(--blanc));
  font-family: var(--police-titre); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--nuit);
}
.code-promo__ligne input:focus { outline: none; background: var(--blanc); border-color: var(--nuit); box-shadow: 0 0 0 4px rgba(var(--marque-rgb), .28); }
.code-promo__ligne input[aria-invalid='true'] { border-color: var(--argile); background: color-mix(in srgb, var(--argile) 7%, var(--blanc)); }
.code-promo__ligne .bouton { min-height: 44px; }
.code-promo__etat { display: flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 700; color: var(--menthe-texte); }

/* Avis sur l'accueil */
.temoignages .entete-section--ligne { align-items: end; margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem); }
.temoignages .entete-section--ligne .entete-section { margin-bottom: 0; }
.avis-moyenne { display: inline-flex; align-items: center; gap: .6rem; padding: .55rem .95rem; border-radius: 999px; background: var(--blanc); box-shadow: var(--ombre); font-size: .95rem; }
.avis-moyenne strong { font-family: var(--police-titre); font-size: 1.25rem; }
.carte-postale__verifie { display: inline-flex; align-items: flex-start; gap: .3rem; font-size: .8rem; color: var(--menthe-texte); font-weight: 700; line-height: 1.35; }
.carte-postale__verifie .icone { width: 1em; height: 1em; margin-top: .1rem; }
.carte-postale__reponse { padding: .7rem .85rem; border-radius: 10px; background: var(--sable); border-left: 3px solid var(--marque-2); font-size: .9rem; color: color-mix(in srgb, var(--nuit) 86%, var(--sable)); }
.carte-postale__reponse-titre { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--marque-2-texte); margin-bottom: .2rem; }

/* Suivi : invitation a laisser un avis */
.carte-avis { margin-top: 1.2rem; padding: 1.2rem; border-radius: 20px; background: var(--marque-clair); border: 2px solid rgba(var(--marque-rgb), .35); }
.carte-avis h2 { display: flex; align-items: center; gap: .5rem; font-size: 1.2rem; margin-bottom: .4rem; }
.carte-avis h2 .icone { color: var(--ocre); }
.carte-avis p { color: color-mix(in srgb, var(--nuit) 80%, var(--sable)); font-size: .95rem; margin-bottom: .9rem; }
.carte-avis--merci { background: color-mix(in srgb, var(--menthe) 12%, var(--blanc)); border-color: rgba(var(--menthe-rgb), .35); }
.carte-avis--merci h2 .icone { color: var(--menthe-texte); }

/* Page « laisser un avis » */
.avis-depot { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; padding-top: 2.5rem; }
.avis-formulaire { display: grid; gap: 1.3rem; padding: clamp(1.2rem, 3vw, 2rem); border-radius: 26px; background: var(--blanc); box-shadow: var(--ombre); }
.avis-formulaire__aide { display: flex; justify-content: space-between; gap: 1rem; }
.avis-formulaire__compteur { font-variant-numeric: tabular-nums; font-weight: 700; }
.avis-formulaire__compteur--court { color: var(--argile-texte); }
.avis-formulaire .bouton--grand { justify-self: start; }
.note-etoiles { margin: 0; padding: 0; border: 0; min-width: 0; }
.note-etoiles__legende { padding: 0; margin-bottom: .45rem; font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--brume); }
.note-etoiles__valeur { text-transform: none; letter-spacing: 0; color: var(--nuit); }
.note-etoiles__choix { display: flex; gap: .2rem; }
.note-etoiles__radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.note-etoiles__etoile { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; color: var(--sable-3); cursor: pointer; transition: transform .15s ease, color .15s ease; }
.note-etoiles__etoile .icone { width: 38px; height: 38px; }
.note-etoiles__choix:has(.note-etoiles__radio:checked) .note-etoiles__etoile { color: var(--ocre); }
.note-etoiles__radio:checked + .note-etoiles__etoile ~ .note-etoiles__etoile { color: var(--sable-3); }
.note-etoiles__choix:hover .note-etoiles__etoile { color: var(--ocre); }
.note-etoiles__choix .note-etoiles__etoile:hover ~ .note-etoiles__etoile { color: var(--sable-3); }
.note-etoiles__etoile:hover { transform: scale(1.08); }
.note-etoiles__radio:focus-visible + .note-etoiles__etoile { outline: 3px solid var(--nuit); outline-offset: 2px; box-shadow: 0 0 0 7px rgba(var(--marque-rgb), .35); }
.avis-depot__aparte .encart { position: static; }
.avis-etat { padding-block: clamp(3rem, 8vw, 6rem); }
.avis-etat__carte { max-width: 640px; text-align: center; }
.avis-etat--integre { padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 26px; background: var(--blanc); box-shadow: var(--ombre); text-align: center; }
.avis-etat__icone { display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 1rem; border-radius: 50%; background: var(--marque-clair); color: var(--marque-texte); }
.avis-etat__icone .icone { width: 34px; height: 34px; }
.avis-etat__titre { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.8rem); font-weight: 800; margin-bottom: .8rem; }
.avis-etat__texte { color: var(--brume); font-size: 1.08rem; max-width: 50ch; margin-inline: auto; }
.avis-etat__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 1.6rem; }
.avis-etat--integre .bouton { margin-top: 1.6rem; }
@media (max-width: 860px) { .avis-depot { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .note-etoiles__etoile { width: 46px; height: 46px; } .note-etoiles__etoile .icone { width: 32px; height: 32px; } }

/* Paysage : mer lointaine, reflets du soleil, mosquee, medina au loin. */
.paysage__mer-lointaine { fill: color-mix(in srgb, var(--marque-2) 48%, var(--blanc)); }
.paysage__reflets-soleil rect { fill: color-mix(in srgb, var(--blanc) 40%, var(--ocre)); opacity: .85; }
.paysage__vagues-lointaines path { fill: none; stroke: color-mix(in srgb, var(--blanc) 86%, var(--marque-2)); stroke-width: 2.4; stroke-linecap: round; opacity: .7; }
.paysage__medina-lointaine { fill: var(--marque-2); opacity: .32; }
.paysage__tuiles { fill: color-mix(in srgb, var(--menthe) 60%, var(--nuit)); }
.paysage__tuiles-joints { fill: none; stroke: color-mix(in srgb, var(--blanc) 25%, transparent); stroke-width: 2; }

/* Suivi : confirmation de la demande et moyens de joindre l'agence. */
.suivi-contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.2rem 2rem; align-items: center; margin-bottom: 1.4rem; padding: clamp(1.1rem, 3vw, 1.6rem); border-radius: 24px; background: var(--blanc); box-shadow: var(--ombre); border: 2px solid transparent; }
.suivi-contact--nouvelle { border-color: rgba(var(--menthe-rgb), .45); background: linear-gradient(180deg, color-mix(in srgb, var(--menthe) 12%, var(--blanc)), var(--blanc) 70%); }
.suivi-contact__titre { display: flex; align-items: center; gap: .55rem; font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); margin-bottom: .5rem; }
.suivi-contact__titre .icone { color: var(--menthe-texte); width: 1.3em; height: 1.3em; }
.suivi-contact__texte p { color: color-mix(in srgb, var(--nuit) 80%, var(--sable)); }
.suivi-contact__note { margin-top: .5rem; font-size: .85rem; color: var(--brume) !important; }
.suivi-contact__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.suivi-contact__actions .bouton { white-space: normal; text-align: left; }
.suivi-contact__copie { flex-basis: 100%; font-size: .85rem; font-weight: 700; color: var(--menthe-texte); min-height: 1.2em; }
@media (max-width: 860px) { .suivi-contact { grid-template-columns: 1fr; } .suivi-contact__actions .bouton { flex: 1 1 100%; justify-content: flex-start; } }

/* ==================================================================
   Module cycle de reservation : suivi (delai de reponse, demande
   expiree, bon de confirmation, prolongation demandee par le client).
   ================================================================== */
.statut--EXPIREE { background: color-mix(in srgb, var(--sable) 70%, var(--brume)); color: color-mix(in srgb, var(--nuit) 72%, var(--sable)); text-decoration: line-through; text-decoration-thickness: 2px; }
.suivi-contact__delai { display: flex; align-items: flex-start; gap: .45rem; margin-top: .6rem; padding: .6rem .8rem; border-radius: 12px; background: color-mix(in srgb, var(--ocre) 22%, var(--blanc)); color: var(--ocre-texte) !important; font-weight: 700; font-size: .92rem; }
.suivi-contact__delai .icone { flex: none; width: 1.15em; height: 1.15em; margin-top: .1rem; }
.suivi-expiree { margin-bottom: 1.4rem; padding: clamp(1.1rem, 3vw, 1.6rem); border-radius: 24px; background: color-mix(in srgb, var(--argile) 5%, var(--blanc)); border: 2px dashed color-mix(in srgb, var(--argile) 40%, var(--blanc)); }
.suivi-expiree__titre { display: flex; align-items: center; gap: .55rem; font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); margin-bottom: .5rem; }
.suivi-expiree__titre .icone { color: var(--argile-texte); width: 1.3em; height: 1.3em; }
.suivi-expiree p { color: color-mix(in srgb, var(--nuit) 75%, var(--argile)); max-width: 60ch; }
.suivi-expiree__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.suivi-bon { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: 20px; background: color-mix(in srgb, var(--menthe) 12%, var(--blanc)); border: 2px solid rgba(var(--menthe-rgb), .35); }
.suivi-bon__titre { display: flex; align-items: center; gap: .45rem; font-size: 1.1rem; margin-bottom: .2rem; }
.suivi-bon__titre .icone { color: var(--menthe-texte); }
.suivi-bon p { color: color-mix(in srgb, var(--nuit) 80%, var(--sable)); font-size: .9rem; }
.carte-prolongation-suivi { margin-top: 1.2rem; padding: 1.2rem; border-radius: 20px; background: var(--blanc); box-shadow: var(--ombre); }
.carte-prolongation-suivi--attente { background: color-mix(in srgb, var(--ocre) 22%, var(--blanc)); box-shadow: inset 4px 0 0 var(--ocre), var(--ombre); }
.carte-prolongation-suivi__titre { display: flex; align-items: center; gap: .5rem; font-size: 1.2rem; margin-bottom: .5rem; }
.carte-prolongation-suivi__titre .icone { color: var(--marque-texte); }
.prolongation-etat { color: var(--ocre-texte); }
.prolongation-note { margin-top: .4rem; font-size: .88rem; color: color-mix(in srgb, var(--nuit) 70%, var(--sable)); }
.prolongation-derniere { margin-bottom: .8rem; padding: .6rem .8rem; border-radius: 12px; font-size: .92rem; font-weight: 600; }
.prolongation-derniere--refusee, .prolongation-derniere--expiree { background: color-mix(in srgb, var(--argile) 18%, var(--blanc)); color: var(--argile-texte); }
.prolongation-derniere--acceptee { background: color-mix(in srgb, var(--menthe) 16%, var(--blanc)); color: var(--menthe-texte); }
.prolongation-formulaire { display: grid; gap: .8rem; }
.prolongation-champs { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: .8rem; }
.prolongation-formulaire .champ textarea { min-height: 70px; }
.prolongation-estimation:empty { display: none; }
.prolongation-estimation { display: grid; gap: .5rem; }
.prolongation-calcul { color: var(--brume); font-weight: 600; }
.prolongation-indispo { padding: .7rem .9rem; border-radius: 12px; background: color-mix(in srgb, var(--argile) 18%, var(--blanc)); color: var(--argile-texte); font-weight: 600; }
.prolongation-montants { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin: 0; }
.prolongation-montants div { padding: .55rem .7rem; border-radius: 12px; background: var(--sable); }
.prolongation-montants dt { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brume); }
.prolongation-montants dd { margin: 0; font-family: var(--police-titre); font-weight: 800; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.prolongation-montants__supplement { background: color-mix(in srgb, var(--ocre) 22%, var(--blanc)) !important; }
.prolongation-formulaire .bouton[disabled] { opacity: .55; cursor: not-allowed; }
@media (max-width: 600px) {
  .prolongation-champs, .prolongation-montants { grid-template-columns: 1fr; }
  .suivi-expiree__actions .bouton, .suivi-bon .bouton, .prolongation-formulaire .bouton { flex: 1 1 100%; justify-content: center; }
}

/* Repli de la carte : agences hors du contour fourni, citees en toutes lettres. */
.carte-agences__hors-cadre { margin: .7rem 0 0; font-size: .86rem; font-weight: 600; color: var(--brume); text-align: center; }
.carte-agences--liste { padding: 1rem 1.2rem; border: 1.5px dashed var(--trait); border-radius: var(--rayon-petit); background: var(--sable-2); }
.carte-agences--liste .carte-agences__hors-cadre { margin: 0; color: inherit; }

/* ------------------------------------------------------------------ */
/*  Plancher de lisibilite et de cibles tactiles (U-40)                */
/* ------------------------------------------------------------------ */

/*
 * Un client lit ce site debout, au soleil, sur son telephone. Aucun texte
 * n'y descend donc sous 12,5 px : les etiquettes, legendes et pastilles
 * etaient a 11,2-12,16 px. Le plancher est ecrit en max() pour tenir meme si
 * le navigateur reduit la taille de reference.
 */
.trajet__etiquette,
.champ > label, .champ__entete > label:first-child, .champ__legende,
.filtres__groupe legend, .pastille small, .badge-categorie, .surtitre,
.carte-voiture__prix-libelle, .prolongation-montants dt, .pied__titre, .badge-offre, .code-promo__libelle {
  font-size: max(.79rem, 12.5px);
}
.puces li { font-size: max(.79rem, 12.5px); }
.champ__aide { font-size: max(.8rem, 12.5px); }

/*
 * Cibles tactiles : 44 px de haut au doigt (WCAG 2.5.5). Une case a cocher ou
 * une pastille se touche par son libelle, c'est donc le libelle qui porte la
 * hauteur.
 */
@media (max-width: 640px), (pointer: coarse) {
  .logo, .lien-discret, .navigation__liens a, .pied__colonne a, .pied__contact a, .pied__reseaux a,
  .case, .pastille span, .tri select, .filtres__titre, .lien-fleche, .carte-agences__ville,
  .fil a, .offre-bandeau__fermer {
    min-height: 44px;
  }
  .lien-discret, .pied__colonne a, .pied__contact a, .navigation__liens a, .lien-fleche, .fil a { display: inline-flex; align-items: center; }
  .logo, .case { display: inline-flex; align-items: center; }
  .pastille span { padding-block: .6rem; }
  .pied__reseaux a, .offre-bandeau__fermer { min-width: 44px; }
}
