/* plan-des-rues.fr — systeme de design v2 (03/12/2026) */
:root{
  --encre:#13203a; --texte:#1e2635; --doux:#5b6577; --pale:#8a93a3;
  --fond:#f5f6f8; --surface:#fff; --surface-2:#f0f2f5; --ligne:#e3e6eb; --ligne-forte:#cfd4dc;
  --accent:#e4572e; --accent-f:#c2441f; --accent-pale:#fdeee9;
  --route:#2563eb; --route-f:#1d4fc4; --route-pale:#e8effd;
  --vert:#137a52; --vert-pale:#e3f4ec; --rouge:#a3302a; --rouge-pale:#f9e5e3; --or:#b7791f;
  --rayon:12px; --rayon-s:8px; --ombre:0 1px 2px rgba(19,32,58,.06),0 4px 16px rgba(19,32,58,.06);
  --ombre-forte:0 12px 40px rgba(19,32,58,.18);
  --police:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --large:1200px;
}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%;scroll-padding-top:80px}
body{margin:0;background:var(--fond);color:var(--texte);font:16px/1.6 var(--police);text-rendering:optimizeLegibility}
img,svg{max-width:100%}
a{color:var(--route);text-decoration:none}
a:hover{color:var(--route-f);text-decoration:underline;text-underline-offset:2px}
:focus-visible{outline:3px solid var(--route);outline-offset:2px;border-radius:4px}
.sr,.saut:not(:focus){position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.saut:focus{position:fixed;top:8px;left:8px;z-index:100;background:var(--surface);padding:8px 14px;border-radius:var(--rayon-s);box-shadow:var(--ombre)}
.ico{width:1.1em;height:1.1em;vertical-align:-.17em;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.enveloppe{max-width:var(--large);margin:0 auto;padding:0 16px}
h1,h2,h3{color:var(--encre);line-height:1.25;letter-spacing:-.01em}
h1{font-size:clamp(1.6rem,1.2rem + 1.6vw,2.3rem);margin:.2em 0 .25em;font-weight:800}
h2{font-size:1.3rem;margin:0 0 .7em;font-weight:750}
h3{font-size:1.02rem;margin:1.2em 0 .45em;font-weight:700}
p{margin:0 0 1em}
small,.doux{color:var(--doux)}

/* ---- en-tete ---- */
.entete{background:var(--surface);border-bottom:1px solid var(--ligne);position:sticky;top:0;z-index:40}
.entete-in{display:flex;align-items:center;gap:20px;min-height:64px}
.logo{display:flex;align-items:center;gap:9px;font-weight:800;font-size:1.15rem;color:var(--encre);letter-spacing:-.02em;white-space:nowrap}
.logo:hover{text-decoration:none;color:var(--encre)}
.logo svg{width:30px;height:30px}
.menu{display:flex;gap:4px}
.menu a{color:var(--texte);font-weight:600;font-size:.95rem;padding:8px 12px;border-radius:var(--rayon-s)}
.menu a:hover{background:var(--surface-2);text-decoration:none}
.menu a[aria-current]{color:var(--accent)}
.entete .recherche{margin-left:auto;flex:0 1 360px}
@media (max-width:820px){
  .entete{position:static}
  .entete-in{flex-wrap:wrap;gap:6px 8px;padding-top:8px;padding-bottom:10px;min-height:0}
  .menu{order:2;margin-left:auto}.menu a{padding:6px 8px;font-size:.9rem}
  .entete .recherche{order:3;flex:1 1 100%;margin-left:0}
  .entete .recherche input,.entete .recherche button{height:40px}
}
@media (max-width:520px){.long{display:none}.logo{font-size:1.05rem}.logo svg{width:26px;height:26px}}

/* ---- recherche ---- */
.recherche{display:flex;position:relative}
.recherche input,.champ input{flex:1;min-width:0;height:44px;padding:0 14px 0 40px;border:1px solid var(--ligne-forte);
  border-radius:var(--rayon-s);font:inherit;background:var(--surface) no-repeat 13px 50%/18px;color:var(--texte)}
.recherche input{border-radius:var(--rayon-s) 0 0 var(--rayon-s);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a93a3' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E")}
.recherche input:focus,.champ input:focus{outline:none;border-color:var(--route);box-shadow:0 0 0 3px var(--route-pale)}
.recherche button{height:44px;padding:0 16px;border:0;background:var(--accent);color:#fff;font:inherit;font-weight:700;border-radius:0 var(--rayon-s) var(--rayon-s) 0;cursor:pointer}
.recherche button:hover{background:var(--accent-f)}
.suggestions{position:absolute;top:calc(100% + 4px);left:0;right:0;background:var(--surface);border:1px solid var(--ligne);border-radius:var(--rayon-s);
  margin:0;padding:4px 0;list-style:none;z-index:50;box-shadow:var(--ombre-forte);max-height:320px;overflow:auto}
.suggestions li{padding:8px 14px;cursor:pointer;display:flex;justify-content:space-between;gap:10px}
.suggestions li[aria-selected=true],.suggestions li:hover{background:var(--route-pale)}

/* ---- boutons / puces ---- */
.bouton{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 18px;border:0;border-radius:var(--rayon-s);
  background:var(--accent);color:#fff;font:inherit;font-weight:700;cursor:pointer;white-space:nowrap}
.bouton:hover{background:var(--accent-f);color:#fff;text-decoration:none}
.bouton.second{background:var(--surface);color:var(--encre);border:1px solid var(--ligne-forte)}
.bouton.second:hover{background:var(--surface-2);color:var(--encre)}
.puces{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 0;padding:0;list-style:none}
.puces a,.puce{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border:1px solid var(--ligne);border-radius:99px;background:var(--surface);
  color:var(--texte);font-size:.9rem;font-weight:600}
.puces a:hover{border-color:var(--route);color:var(--route);text-decoration:none}

/* ---- tete de page ---- */
.tete-page{padding:18px 0 6px}
.fil ol{list-style:none;padding:0;margin:0 0 6px;display:flex;flex-wrap:wrap;gap:2px 6px;font-size:.86rem;color:var(--doux)}
.fil li+li::before{content:"/";margin-right:6px;color:var(--ligne-forte)}
.fil a{color:var(--doux)}
.sous-titre{color:var(--doux);font-size:1.02rem;margin:0;display:flex;flex-wrap:wrap;gap:4px 16px}
.sous-titre span{display:inline-flex;align-items:center;gap:6px}
.h1-cp{font-weight:500;color:var(--doux);font-size:.62em;white-space:nowrap;letter-spacing:0}

/* ---- blocs ---- */
.bloc{background:var(--surface);border:1px solid var(--ligne);border-radius:var(--rayon);padding:22px 24px;margin:0 0 18px;box-shadow:var(--ombre)}
.bloc>h2:first-child,.bloc>.bloc-tete:first-child{margin-top:0}
.bloc-tete{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.bloc-tete h2{margin:0;display:flex;align-items:center;gap:9px}
.bloc-tete h2 .ico{color:var(--accent)}
@media (max-width:600px){.bloc{padding:18px 16px;border-radius:10px}}
.grille{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px;align-items:start}
.grille>aside{position:sticky;top:84px}
@media (max-width:960px){.grille{grid-template-columns:1fr}.grille>aside{position:static}}

/* ---- carte ---- */
.carte-cadre{position:relative;border-radius:var(--rayon);overflow:hidden;border:1px solid var(--ligne);box-shadow:var(--ombre);margin:12px 0 18px;background:#e9ebe6}
.carte{height:440px}
@media (max-width:700px){.carte{height:320px}}
.maplibregl-ctrl-attrib{font-size:11px}
.maplibregl-ctrl-group{border-radius:var(--rayon-s)!important}

/* ---- chiffres ---- */
.chiffres{list-style:none;padding:0;margin:14px 0 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.chiffres li{background:var(--surface);border:1px solid var(--ligne);border-radius:var(--rayon);padding:12px 14px;display:flex;gap:12px;align-items:center;box-shadow:var(--ombre)}
.chiffres .ico{width:34px;height:34px;padding:7px;border-radius:9px;background:var(--route-pale);color:var(--route)}
.chiffres li:nth-child(3n+2) .ico{background:var(--accent-pale);color:var(--accent)}
.chiffres li:nth-child(3n) .ico{background:var(--vert-pale);color:var(--vert)}
.chiffres strong{display:block;font-size:1.18rem;line-height:1.2;color:var(--encre)}
.chiffres span{color:var(--doux);font-size:.85rem;line-height:1.3}

/* ---- listes ---- */
.liens{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:2px 18px}
.liens li{padding:5px 0;border-bottom:1px solid var(--surface-2);display:flex;justify-content:space-between;gap:8px;align-items:baseline}
.liens li small{white-space:nowrap}
.colonnes{list-style:none;padding:0;margin:0;columns:4 190px;column-gap:24px}
.colonnes li{break-inside:avoid;padding:3px 0}
.lettres{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 14px;padding:0;list-style:none}
.lettres a{display:grid;place-items:center;min-width:34px;height:34px;border:1px solid var(--ligne);border-radius:var(--rayon-s);background:var(--surface);font-weight:700;color:var(--encre)}
.lettres a:hover{border-color:var(--route);color:var(--route);text-decoration:none}
.groupe-lettre{scroll-margin-top:90px}
.groupe-lettre h3{display:flex;align-items:center;gap:10px;font-size:1.15rem;border-bottom:2px solid var(--surface-2);padding-bottom:4px}
.simple{list-style:none;padding:0;margin:0}
.simple li{padding:7px 0;border-bottom:1px solid var(--surface-2);display:flex;justify-content:space-between;gap:10px;align-items:baseline}
.simple li:last-child{border-bottom:0}

/* ---- cartes de trajets ---- */
.trajets{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:10px}
.trajets a{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border:1px solid var(--ligne);border-radius:var(--rayon-s);background:var(--surface);color:var(--texte);height:100%}
.trajets a:hover{border-color:var(--route);text-decoration:none;box-shadow:var(--ombre)}
.trajets b{color:var(--encre);display:flex;align-items:center;gap:6px}
.trajets b .ico{color:var(--accent);width:.95em}
.trajets small{font-size:.85rem}

/* ---- tableaux ---- */
.tableau{width:100%;border-collapse:collapse;font-size:.94rem}
.tableau th,.tableau td{padding:8px 10px;border-bottom:1px solid var(--ligne);text-align:left;vertical-align:top}
.tableau th{font-size:.8rem;text-transform:uppercase;letter-spacing:.04em;color:var(--doux);font-weight:700;background:var(--surface-2)}
.tableau td.n,.tableau th.n{text-align:right;white-space:nowrap}
.tableau tr:last-child td{border-bottom:0}
.tableau-cadre{overflow-x:auto;border:1px solid var(--ligne);border-radius:var(--rayon-s)}

/* ---- formulaires itineraire ---- */
.itineraire{display:grid;gap:12px}
.itin-champs{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end}
@media (max-width:760px){.itin-champs{grid-template-columns:1fr}}
.champ{display:flex;flex-direction:column;gap:5px;position:relative}
.champ label{font-size:.85rem;font-weight:700;color:var(--doux)}
.champ input{padding-left:14px}
.itin-champs.une{grid-template-columns:1fr auto}
@media (max-width:760px){.itin-champs.une{grid-template-columns:1fr}}
.champ-tete{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.lien-pos{display:inline-flex;align-items:center;gap:5px;background:none;border:0;padding:0;color:var(--route);font:inherit;font-size:.85rem;cursor:pointer;font-weight:600}
.modes{display:flex;gap:6px;flex-wrap:wrap}
.modes label{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border:1px solid var(--ligne-forte);border-radius:99px;cursor:pointer;font-weight:600;font-size:.92rem;background:var(--surface)}
.modes input{accent-color:var(--accent)}
.modes label:has(input:checked){border-color:var(--accent);background:var(--accent-pale);color:var(--accent-f)}
.resultat:empty{display:none}
.resultat{border-top:1px solid var(--ligne);padding-top:12px}
.resultat .synthese{display:flex;gap:18px;font-size:1.15rem;font-weight:800;color:var(--encre);margin-bottom:6px}
.resultat ol{margin:0;padding-left:1.4em;max-height:300px;overflow:auto;font-size:.93rem}
.resultat li{padding:2px 0}
.liens-ext{display:flex;flex-wrap:wrap;gap:6px 8px;align-items:center;font-size:.9rem;color:var(--doux);margin:4px 0 0}
.liens-ext a{padding:3px 10px;border:1px solid var(--ligne);border-radius:99px;color:var(--texte);font-weight:600;background:var(--surface)}
.liens-ext a:hover{border-color:var(--route);color:var(--route);text-decoration:none}

/* ---- accueil ---- */
.heros{background:radial-gradient(ellipse at 80% 0%,#fde3d8 0,transparent 55%),radial-gradient(ellipse at 0% 100%,#dfe8fb 0,transparent 55%),var(--surface);
  border-bottom:1px solid var(--ligne);padding:46px 0 40px;position:relative;overflow:hidden}
.heros::after{content:"";position:absolute;inset:0;background-image:linear-gradient(var(--ligne) 1px,transparent 1px),linear-gradient(90deg,var(--ligne) 1px,transparent 1px);
  background-size:44px 44px;opacity:.35;mask-image:linear-gradient(180deg,#000,transparent 85%);pointer-events:none}
.heros .enveloppe{position:relative;z-index:1}
.heros h1{font-size:clamp(1.9rem,1.3rem + 2.4vw,3rem);max-width:780px;margin-bottom:.3em}
.heros p.chapeau{font-size:1.12rem;color:var(--doux);max-width:680px}
.onglets{display:inline-flex;background:var(--surface-2);border-radius:99px;padding:4px;gap:4px;margin:8px 0 12px}
.onglets button{border:0;background:none;font:inherit;font-weight:700;padding:8px 16px;border-radius:99px;cursor:pointer;color:var(--doux);display:inline-flex;gap:7px;align-items:center}
.onglets button[aria-selected=true]{background:var(--surface);color:var(--encre);box-shadow:var(--ombre)}
.panneau{background:var(--surface);border:1px solid var(--ligne);border-radius:var(--rayon);padding:16px;box-shadow:var(--ombre-forte);max-width:860px}
.panneau .recherche input,.panneau .recherche button{height:52px;font-size:1.05rem}
.stats{display:flex;flex-wrap:wrap;gap:8px 28px;margin:20px 0 0;color:var(--doux);font-size:.95rem}
.stats strong{color:var(--encre);font-size:1.15rem}
.section{padding:34px 0 6px}
.section>h2{font-size:1.45rem;display:flex;align-items:center;gap:10px}
.section>h2 .ico{color:var(--accent)}
.regions{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:10px}
.regions details{background:var(--surface);border:1px solid var(--ligne);border-radius:var(--rayon-s)}
.regions summary{cursor:pointer;padding:11px 14px;font-weight:700;color:var(--encre);list-style:none;display:flex;justify-content:space-between}
.regions summary::after{content:"+";color:var(--pale);font-weight:400}
.regions details[open] summary::after{content:"–"}
.regions ul{list-style:none;margin:0;padding:0 14px 12px}
.regions li{padding:3px 0}

/* ---- commerces + fenetre ---- */
.etabs{columns:2 300px;column-gap:28px}
.etab-groupe{break-inside:avoid;margin-bottom:8px}
.etab-groupe h3{margin:.6em 0 .3em;font-size:.95rem;color:var(--doux);text-transform:uppercase;letter-spacing:.03em}
.etab-groupe ul{list-style:none;padding:0;margin:0}
.voir-tout{font-size:.8rem;text-transform:none;letter-spacing:0;font-weight:600;margin-left:6px}
.etab-groupe li{padding:5px 0;display:flex;flex-wrap:wrap;gap:4px 8px;align-items:baseline;border-bottom:1px solid var(--surface-2)}
button.etab{background:none;border:0;padding:0;font:inherit;font-weight:600;color:var(--route);cursor:pointer;text-align:left}
button.etab:hover{text-decoration:underline}
.etoiles{color:var(--or);font-size:.86rem;font-weight:700;white-space:nowrap}
.ouvert{font-size:.74rem;font-weight:700;padding:1px 7px;border-radius:99px}
.ouvert.oui{background:var(--vert-pale);color:var(--vert)}.ouvert.non{background:var(--rouge-pale);color:var(--rouge)}
.fiche{border:0;border-radius:16px;padding:0;max-width:460px;width:calc(100% - 24px);box-shadow:var(--ombre-forte);color:var(--texte)}
.fiche::backdrop{background:rgba(19,32,58,.5)}
.fiche-in{padding:22px 24px}
.fiche h2{margin:0 34px 4px 0;font-size:1.25rem}
.fiche-cat{color:var(--doux);margin:0 0 14px}
.fiche .fermer{position:absolute;top:12px;right:12px;width:36px;height:36px;border-radius:50%;background:var(--surface-2);border:0;font-size:1.3rem;line-height:1;cursor:pointer;color:var(--doux)}
.fiche-infos{display:grid;grid-template-columns:auto 1fr;gap:8px 14px;margin:0 0 14px}
.fiche-infos dt{color:var(--doux);font-size:.9rem}.fiche-infos dd{margin:0;word-break:break-word;font-weight:600}
.fiche-horaires{width:100%;border-collapse:collapse;font-size:.92rem;margin-bottom:16px}
.fiche-horaires td{padding:4px 0;border-bottom:1px solid var(--surface-2)}
.fiche-horaires td+td{text-align:right}
.fiche-horaires tr.aujourdhui td{font-weight:700;color:var(--encre)}
.prox h3{display:flex;align-items:center;gap:8px;font-size:.92rem;margin:1em 0 .3em}
.prox h3 .ico{color:var(--route)}

/* ---- ou dormir ---- */
.dormir{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:8px}
aside .dormir{grid-template-columns:1fr}
.dormir li{display:flex;flex-direction:column;gap:3px;padding:10px 12px;border:1px solid var(--ligne);border-radius:var(--rayon-s);background:var(--surface)}
.dormir li:hover{border-color:var(--route)}
.dormir-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.etoiles-hotel{color:var(--or);letter-spacing:1px}
.note10{display:inline-grid;place-items:center;min-width:34px;height:22px;padding:0 6px;border-radius:6px 6px 6px 0;background:var(--encre);color:#fff;font-size:.8rem;font-weight:800}
.prix{font-weight:700;color:var(--vert);font-size:.9rem}
a.prix:hover{color:var(--vert);text-decoration:underline}
.fiche-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.bouton.booking{background:#003b95}.bouton.booking:hover{background:#00296b}
.fiche-mention{font-size:.78rem;color:var(--pale);margin:8px 0 0}

/* ---- listings ---- */
.outils-liste{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.outils-liste select{height:36px;border:1px solid var(--ligne-forte);border-radius:var(--rayon-s);padding:0 10px;font:inherit;background:var(--surface)}
.bascule{display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:.92rem;cursor:pointer}
.bascule input{accent-color:var(--vert);width:18px;height:18px}
.resultats{list-style:none;counter-reset:r;padding:0;margin:0}
.resultats li{counter-increment:r;display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 0 10px 38px;border-bottom:1px solid var(--surface-2);position:relative}
.resultats li::before{content:counter(r);position:absolute;left:0;top:12px;width:26px;height:26px;border-radius:50%;background:var(--accent-pale);color:var(--accent-f);font-size:.78rem;font-weight:800;display:grid;place-items:center}
.resultats li>div:first-child{display:flex;flex-direction:column;gap:2px;min-width:0}
.res-meta{display:flex;gap:8px;align-items:center;flex:none}
.resultats small a{color:var(--doux)}

/* ---- infos pratiques ---- */
.infos-grille{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:4px 22px}
.infos-grille h3{margin:.4em 0 .3em;font-size:.82rem;text-transform:uppercase;letter-spacing:.04em;color:var(--doux)}
.infos-grille p{margin:0 0 10px}
.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.92em}
.soleil-annee{margin-top:8px}.soleil-annee summary{cursor:pointer;font-weight:600;color:var(--route);padding:6px 0}

/* ---- outils GPS ---- */
.outil-commandes{display:flex;flex-direction:column;gap:6px}
.bouton.gros{height:54px;font-size:1.1rem;padding:0 26px;align-self:flex-start}
.resultat-gps .infos-grille p{font-size:1.02rem}
#r-adresse{font-weight:700;font-size:1.1rem}

.tableau.coords th{background:none;text-transform:none;letter-spacing:0;font-size:.9rem;color:var(--doux);font-weight:600;width:38%}
.tableau.coords td.mono{font-size:.95rem;color:var(--encre)}

/* ---- FAQ ---- */
.faq details{border-bottom:1px solid var(--ligne)}
.faq details:last-child{border-bottom:0}
.faq summary{cursor:pointer;padding:12px 28px 12px 0;font-weight:700;color:var(--encre);list-style:none;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";position:absolute;right:4px;top:50%;width:9px;height:9px;border-right:2px solid var(--pale);border-bottom:2px solid var(--pale);transform:translateY(-70%) rotate(45deg);transition:transform .15s}
.faq details[open] summary::after{transform:translateY(-30%) rotate(-135deg)}
.faq details p{margin:0 0 14px;color:var(--texte)}

/* ---- pied ---- */
.pied{margin-top:40px;background:var(--encre);color:#c9d0dc;font-size:.92rem}
.pied a{color:#fff}
.pied-in{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:28px;padding:36px 16px 20px}
@media (max-width:860px){.pied-in{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.pied-in{grid-template-columns:1fr}}
.pied h2{color:#fff;font-size:.95rem;text-transform:uppercase;letter-spacing:.05em;margin:0 0 10px}
.pied ul{list-style:none;margin:0;padding:0}.pied li{padding:3px 0}
.pied .logo{color:#fff;margin-bottom:10px}
.pied-bas{border-top:1px solid rgba(255,255,255,.12);padding:14px 16px 22px;font-size:.82rem;color:#9aa4b5}
.pied-bas a{color:#c9d0dc}
.note-bas{color:var(--doux);font-size:.86rem;margin-top:8px}
.prose{max-width:760px}.prose h2{margin-top:1.4em}
