@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(fonts/poppins-400.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(fonts/poppins-600.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 800; font-display: swap; src: url(fonts/poppins-800.woff2) format("woff2"); }

:root {
  --encre: #0B1720;
  --gris: #3E4C55;
  --trait: #D5DEE3;
  --lagon: #01C5B0;
  --lagon-pale: #EAF7F5;
  --soleil: #FDDA04;
  --mer: #004C98;
  --fond2: #F4F7F8;
  --rouge: #8A1219;
  --large: 1216px;
  --marge: max(16px, calc((100vw - var(--large)) / 2));
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 12px; }
body { margin: 0; font: 400 16px/1.55 Poppins, "Segoe UI", system-ui, sans-serif; color: var(--encre); background: #fff; }
a { color: var(--mer); text-decoration: none; text-underline-offset: 3px; }
a:hover, a:focus-visible { text-decoration: underline; }
p a, .liste a, .note a { font-weight: 600; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; }
h2 { font-size: clamp(26px, 3.2vw, 40px); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 18px; font-weight: 600; }
:focus-visible { outline: 3px solid var(--mer); outline-offset: 2px; }

.tete { display: flex; align-items: center; gap: 32px; min-height: 64px; padding: 8px var(--marge); border-bottom: 1px solid var(--trait); background: #fff; }
.logo { display: flex; align-items: center; min-height: 44px; }
.logo img { width: 92px; height: auto; }
.nav { display: flex; gap: 26px; flex: 1; }
.nav a { color: var(--encre); text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-bottom-color: var(--encre); }
.espace-lien { color: var(--encre); font-weight: 600; font-size: 15px; padding: 10px 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; font: inherit; font-weight: 600; font-size: 16px; padding: 10px 22px; border-radius: 4px; border: 2px solid var(--encre); cursor: pointer; text-decoration: none; text-align: center; }
.btn-clair { background: #fff; color: var(--encre); }
.btn-sombre { background: var(--encre); color: #fff; }
.btn-jaune { background: var(--soleil); color: var(--encre); border-color: var(--soleil); }
.btn:hover { filter: brightness(1.08); }
.lien, .lien-fort { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.deux-boutons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.pavillons { display: flex; flex-wrap: nowrap; gap: 4px; overflow: hidden; }
.pavillon { flex: none; }
.guirlande { padding: 0 var(--marge); overflow: hidden; }
.guirlande .pavillons { width: fit-content; max-width: 100%; gap: 3px; padding-top: 14px; background: linear-gradient(var(--encre), var(--encre)) 0 14px / 100% 2px no-repeat; }
.guirlande .pavillon { width: 42px; height: 28px; }
.pavillons-ville .pavillon { width: 48px; height: 32px; }

.heros { background: var(--lagon); }
.heros-in { max-width: var(--large); margin: 0 auto; padding: 40px 16px 48px; display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: end; }
.heros h1 { font-size: clamp(36px, 5.4vw, 72px); font-weight: 800; letter-spacing: -.035em; line-height: 1; margin: 0; }
.heros .sous { font-size: 20px; margin: 16px 0 0; }
.heros-actions { display: flex; flex-direction: column; gap: 14px; }
.cherche label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 15px; }
.cherche div { display: flex; gap: 8px; }
.cherche input { flex: 1; min-width: 0; min-height: 48px; font: inherit; padding: 10px 14px; border: 2px solid var(--encre); border-radius: 4px; }
.cherche-clair { max-width: 560px; margin-bottom: 24px; }
.geo-etat { margin: 0; font-weight: 600; }

.heros-page { display: grid; grid-template-columns: 1fr 1fr; min-height: 320px; }
.heros-texte { padding: 32px 32px 32px var(--marge); display: flex; flex-direction: column; justify-content: center; }
.heros-page h1 { font-size: clamp(32px, 4.2vw, 56px); font-weight: 800; letter-spacing: -.03em; margin: 20px 0 0; }
.heros-photo img { width: 100%; height: 100%; object-fit: cover; }
.quand { font-size: 20px; font-weight: 600; margin: 18px 0 0; }
.ou { font-size: 18px; margin: 2px 0 0; }
.note { margin: 10px 0 0; font-size: 15px; }
.surtitre { font-size: 14px; font-weight: 600; margin: 0 0 4px; color: var(--gris); }
.heros .surtitre { color: var(--encre); }

.bloc { max-width: var(--large); margin: 0 auto; padding: 48px 16px; }
.bloc.deux { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; }
.bloc.deux > aside { grid-column: 2; grid-row: 1; position: sticky; top: 16px; display: flex; flex-direction: column; gap: 12px; }
.bloc.deux > div { grid-column: 1; grid-row: 1; min-width: 0; }
.bloc.etroit { max-width: 760px; }
.bloc.sombre { max-width: none; background: var(--encre); color: #fff; }
.bloc.sombre .bloc-in { max-width: 760px; margin: 0 auto; }
.bloc.sombre a:not(.btn) { color: #fff; }
.titre-page { font-size: clamp(30px, 4vw, 48px); font-weight: 800; letter-spacing: -.03em; }
.h-section { font-size: 22px; margin-top: 36px; }
.chapo { font-size: 18px; line-height: 1.6; max-width: 640px; margin-top: 0; }
.petit { font-size: 14px; color: var(--gris); }
.sombre .petit { color: #C9D3D9; }
.vide { color: var(--gris); padding: 16px 0; }
.suite { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 12px 0 0; }
.resultat { color: var(--gris); }

.puces { display: flex; gap: 8px; margin: 4px 0 16px; overflow-x: auto; scrollbar-width: none; }
.puce { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid var(--encre); border-radius: 999px; color: var(--encre); text-decoration: none; font-size: 15px; font-weight: 600; }
.puce.actif { background: var(--encre); color: #fff; }

.rdvs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--trait); }
.rdv a { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--trait); color: var(--encre); text-decoration: none; }
.rdv a:hover .rdv-titre { text-decoration: underline; }
.rdv-date { text-align: center; font-size: 14px; line-height: 1.15; }
.rdv-date b { display: block; font-size: 28px; font-weight: 800; }
.rdv-corps { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rdv-titre { font-weight: 600; font-size: 17px; line-height: 1.3; }
.rdv-meta { font-size: 15px; color: var(--gris); }
.rdv-km { font-size: 15px; font-weight: 600; }
.rdv-note { font-size: 14px; color: var(--gris); font-style: italic; }
.rdv-note.annule { color: var(--rouge); font-style: normal; font-weight: 600; }
.voisines { margin: 0 0 12px; color: var(--gris); }
.voisines a { color: inherit; }
.rdv-img { width: 72px; height: 72px; object-fit: cover; border-radius: 4px; }
.type { font-weight: 600; color: var(--mer); }
.mois { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--gris); margin: 28px 0 8px; font-weight: 600; }
.agenda-abo { margin-top: 24px; }
.filtres { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; margin: 0 0 8px; }
.filtres label { min-width: 240px; }

.boite-alerte, .boite-participe { padding: 22px; border-radius: 4px; display: flex; flex-direction: column; gap: 14px; }
.boite-alerte { background: var(--soleil); }
.boite-participe { background: var(--fond2); }
.boite-alerte h2, .boite-participe h2 { font-size: 24px; margin: 0; }
form label { display: flex; flex-direction: column; gap: 4px; font-size: 15px; font-weight: 600; }
form input:not([type=checkbox]):not([type=radio]), form select, form textarea { font: inherit; font-weight: 400; font-size: 16px; min-height: 48px; padding: 10px 12px; border: 2px solid var(--encre); border-radius: 4px; background: #fff; color: var(--encre); width: 100%; }
form label.case { flex-direction: row; align-items: center; gap: 12px; font-weight: 400; min-height: 44px; cursor: pointer; }
form label.case input { width: 24px; height: 24px; flex: none; accent-color: var(--encre); margin: 0; }
.pot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.erreur { background: var(--rouge); color: #fff; padding: 10px 12px; border-radius: 4px; margin: 0; }
.succes { background: #E6F2EA; color: #14532D; padding: 10px 12px; border-radius: 4px; margin: 0; }
.ok { background: var(--lagon-pale); padding: 10px 12px; border-top: 3px solid var(--lagon); }
.formulaire { display: flex; flex-direction: column; gap: 14px; max-width: 480px; }

.zone { margin-top: 32px; color: var(--gris); font-size: 15px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.escales { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.escales a { display: flex; gap: 14px; align-items: center; padding: 10px; border: 1px solid var(--trait); border-radius: 4px; color: var(--encre); text-decoration: none; height: 100%; }
.escales a:hover { border-color: var(--encre); }
.escales a > span { display: flex; flex-direction: column; min-width: 0; }
.escales b { font-weight: 600; font-size: 17px; }
.escales span span { font-size: 14px; color: var(--gris); }
.escales .esc-date { color: var(--encre); font-weight: 600; }
.esc-img { width: 80px; height: 80px; object-fit: cover; border-radius: 4px; flex: none; }
.esc-img.vide { background: var(--lagon-pale); }
.escales-mini { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.escales-mini a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--trait); border-radius: 999px; color: var(--encre); text-decoration: none; font-weight: 600; }
.escales-mini a:hover { border-color: var(--encre); }
.aucune { background: var(--lagon-pale); padding: 20px; border-radius: 4px; }
.aucune .btn { margin: 4px 8px 0 0; }

.carte { height: min(70vh, 640px); border-radius: 4px; border: 1px solid var(--trait); }
.carte-outils { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.carte-legende { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; color: var(--gris); }
.carte-legende .repere { display: inline-block; inline-size: 18px; block-size: 18px; box-sizing: border-box; border-width: 3px; border-style: solid; }
.carte-legende br { flex-basis: 100%; content: ''; }
.leaflet-tooltip.etiquette { font: 600 13px/1.2 Poppins, system-ui, sans-serif; color: var(--encre); background: var(--soleil); border: 0; border-radius: 3px; padding: 3px 6px; box-shadow: none; }
.leaflet-tooltip.etiquette::before { display: none; }
.repere { background: var(--encre); border: 4px solid var(--soleil); border-radius: 50%; }
.repere-bientot { background: #fff; border-color: var(--encre); }
.bulle { font: 15px/1.4 Poppins, system-ui, sans-serif; }
.bulle a { font-weight: 600; }

.faits { display: flex; gap: 40px; flex-wrap: wrap; margin: 0 0 24px; }
.faits dt { font-size: 14px; font-weight: 600; color: var(--gris); }
.faits dd { margin: 0; }
.hote { display: grid; grid-template-columns: 96px 1fr; gap: 18px; background: var(--lagon-pale); padding: 18px; margin: 24px 0; border-radius: 4px; }
.hote img { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; }
.hote h3 { font-size: 22px; font-weight: 800; margin: 0 0 6px; }
.hote p { margin: 0 0 8px; }
.portrait { color: var(--gris); }
.soutien { font-weight: 600; } .soutien span { display: block; font-size: 14px; color: var(--gris); font-weight: 400; }
.dates { list-style: none; margin: 0; padding: 0; }
.dates a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; border-bottom: 1px solid var(--trait); color: var(--encre); text-decoration: none; }
.dates span { color: var(--gris); font-size: 15px; text-align: right; }
.dates a::after { content: "›"; font-size: 22px; color: var(--gris); margin-left: 4px; }
.dates a:hover b, .dates a:focus-visible b { text-decoration: underline; }
.partage { margin: 24px 0 0; }
.passage { font-weight: 600; margin-top: 16px; }

.etapes { list-style: none; counter-reset: e; padding: 0; margin: 24px 0; display: grid; gap: 16px; }
.etapes li { counter-increment: e; display: grid; grid-template-columns: 48px 1fr; column-gap: 12px; }
.etapes li::before { content: counter(e); grid-row: span 2; width: 40px; height: 40px; background: var(--soleil); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; border-radius: 50%; }
.etapes span { color: var(--gris); }
.charte { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 18px; }
.charte li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; }
.charte .num { font-weight: 800; font-size: 22px; color: var(--mer); }
.charte h3 { margin: 0 0 2px; }
.charte p { margin: 0; color: var(--gris); }
.liste li { margin: 4px 0; }

.faq details { border-bottom: 1px solid var(--trait); max-width: 760px; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 18px; padding: 14px 0; }
.faq details p { margin: 0 0 16px; }

.pied { background: var(--mer); color: #fff; font-size: 15px; }
.pied-in { max-width: var(--large); margin: 0 auto; padding: 28px 16px 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
.pied a { color: #fff; }
.pied-signature { margin: 0; font-weight: 600; }
.pied-liens { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 20px; }
.pied-liens a { display: inline-flex; align-items: center; min-height: 44px; }

.connexion { max-width: 440px; margin: 0 auto; padding: 48px 16px; display: flex; flex-direction: column; gap: 14px; }
.connexion form { display: flex; flex-direction: column; gap: 14px; }

@media (max-width: 900px) {
  .heros-in, .bloc.deux { grid-template-columns: 1fr; }
  .bloc.deux > aside, .bloc.deux > div { grid-column: 1; grid-row: auto; position: static; }
  .bloc.deux:not(.page-rdv) > aside { order: 2; }
  .heros-page { grid-template-columns: 1fr; min-height: 0; }
  .heros-photo { max-height: 240px; overflow: hidden; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .tete { gap: 0 16px; flex-wrap: wrap; padding: 6px 16px 0; min-height: 0; }
  .logo img { width: 72px; }
  .espace-lien { margin-left: auto; font-size: 14px; }
  .nav { order: 3; flex-basis: 100%; gap: 22px; overflow-x: auto; scrollbar-width: none; }
  .nav a { flex: none; padding: 8px 0; font-size: 15px; }
  .guirlande .pavillons { padding-top: 10px; background-position: 0 10px; }
  .guirlande .pavillon { width: 30px; height: 20px; }
  .heros-in { padding: 18px 16px 24px; gap: 18px; }
  .heros h1 { font-size: 36px; }
  .heros .sous { font-size: 17px; margin-top: 8px; }
  .heros-texte { padding: 20px 16px; }
  .pavillons-ville .pavillon { width: 30px; height: 20px; }
  .heros-page h1 { font-size: 30px; margin-top: 12px; }
  .quand { font-size: 18px; margin-top: 10px; }
  .ou { font-size: 16px; }
  .heros-photo { max-height: 180px; }
  .bloc { padding: 28px 16px; }
  h2 { font-size: 26px; }
  .rdv a { grid-template-columns: 44px 1fr 60px; gap: 10px; }
  .rdv-date b { font-size: 24px; }
  .rdv-titre { font-size: 16px; }
  .rdv-img { width: 60px; height: 60px; }
  .faits { gap: 12px 28px; }
  .hote { grid-template-columns: 72px 1fr; padding: 14px; gap: 14px; }
  .hote img { width: 72px; height: 72px; }
  .boite-alerte, .boite-participe { padding: 18px; }
  .filtres label { min-width: 0; flex: 1; }
  .carte { height: 62vh; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; } }

.vd-retours-bouton { position: fixed; top: auto; left: auto; right: 18px; bottom: 18px; z-index: 2147483000; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--mer); background: var(--encre); color: #fff; font: 600 14px/1 Poppins, system-ui, sans-serif; cursor: pointer; box-shadow: 0 6px 20px rgba(11,23,32,.25); margin: 0; }
.vd-retours-bouton[aria-pressed=true] { background: var(--mer); }
.vd-retours-cible { outline: 2px dashed var(--mer) !important; outline-offset: 2px; cursor: crosshair !important; }
.vd-retours-panneau { box-sizing: border-box; position: fixed; top: auto; left: auto; right: 18px; bottom: 68px; z-index: 2147483000; width: min(360px, calc(100vw - 36px)); margin: 0; background: #fff; color: var(--encre); border: 1px solid var(--trait); border-radius: 6px; padding: 18px; font: 15px/1.45 Poppins, system-ui, sans-serif; box-shadow: 0 12px 40px rgba(11,23,32,.25); }
.vd-retours-panneau h2 { margin: 0 0 4px; font-size: 20px; }
.vd-retours-panneau p { margin: 0 0 12px; font-size: 13px; color: var(--gris); word-break: break-word; }
.vd-retours-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.vd-retours-etat { margin-top: 8px; }
.vd-retours-panneau .vd-champ__saisie { font: inherit; padding: 8px 10px; border: 1px solid var(--encre); border-radius: 3px; }
.vd-retours-panneau .vd-button { font: inherit; font-weight: 600; font-size: 13px; padding: 8px 12px; border-radius: 3px; border: 1px solid var(--encre); background: var(--encre); color: #fff; cursor: pointer; }
.vd-retours-panneau .vd-button--discret { background: #fff; color: var(--encre); }
.oubli summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.oubli form { margin-top: 8px; }
sup { font-size: .65em; line-height: 0; }
.vue-forcee { display: flex; gap: 10px; align-items: center; padding: 10px 14px; background: var(--soleil); color: var(--encre); font: 500 15px/1.35 Poppins, system-ui, sans-serif; }
.vue-forcee p { margin: 0; flex: 1; }
.vue-forcee button { flex: none; min-height: 40px; padding: 0 12px; border: 2px solid var(--encre); border-radius: 4px; background: #fff; font: 600 14px Poppins, system-ui, sans-serif; color: var(--encre); }
.cherche { position: relative; }
.suggestions { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 4px 0; list-style: none; background: #fff; border: 2px solid var(--encre); border-radius: 4px; box-shadow: 0 8px 24px rgba(11,23,32,.18); }
.suggestions a { display: block; padding: 10px 14px; color: var(--encre); text-decoration: none; min-height: 24px; }
.suggestions [aria-selected=true] a, .suggestions a:hover { background: var(--ecume, #E6F7F4); }
.suggestion-vide { padding: 10px 14px; color: var(--encre); }
.suggestion-vide a { font-weight: 600; color: var(--encre); }
.suggestion-aide { display: block; color: var(--gris); font-size: 14px; margin-top: 4px; }
.sans-escale { margin: 0 0 8px; font-weight: 600; }
.deux-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.escales-choix { border: 0; padding: 0; margin: 0; min-width: 0; }
.escales-choix legend { font-weight: 600; padding: 0; margin-bottom: 6px; }
.escales-choix .filtre-escales { width: 100%; box-sizing: border-box; margin-bottom: 6px; }
.escales-choix ul { list-style: none; margin: 0; padding: 4px 8px; max-height: 190px; overflow-y: auto; background: #fff; border: 2px solid var(--encre); border-radius: 4px; }
.escales-choix li label { display: flex; flex-direction: row; align-items: center; gap: 10px; min-height: 40px; font-weight: 400; cursor: pointer; }
.escales-choix li input { width: 20px; height: 20px; flex: none; accent-color: var(--encre); }
.aucune-escale { margin: 6px 0 0; font-size: 14px; }
.partage { margin-top: 28px; }
.partage-boutons { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-icone { display: inline-flex; align-items: center; gap: 8px; }
.btn-icone svg { flex: none; }
.partage-etat { margin: 10px 0 0; color: var(--gris); }
.pavillon-rond, .leaflet-marker-icon.pavillon-rond { display: grid; place-items: center; inline-size: 40px; block-size: 40px; box-sizing: border-box; border-radius: 50%; background: var(--encre); border: 4px solid var(--soleil); box-shadow: 0 1px 3px rgba(11,23,32,.4); }
.pavillon-rond svg { inline-size: 24px; block-size: 16px; display: block; }
.pavillon-rond.bientot { background: #fff; border-color: var(--encre); }
.pavillon-rond.autre { border-color: var(--lagon); }
.carte-legende .pavillon-rond { display: inline-grid; vertical-align: middle; }
.btn-linkedin { display: flex; justify-content: center; margin-bottom: 8px; }
.ruban { display: inline-flex; gap: 2px; vertical-align: -1px; margin-right: 8px; }
.ruban .pavillon { width: 18px; height: 12px; }
.type { display: inline-block; padding: 1px 7px; border-radius: 3px; font-size: 13px; line-height: 1.5; color: var(--encre); background: var(--soleil); }
.type-conference { background: var(--mer); color: #fff; }
.type-visite { background: var(--lagon); }
.escales-mini a { gap: 8px; white-space: nowrap; }
.escales-mini svg { width: 21px; height: 14px; flex: none; }
@media (max-width: 640px) { .ruban { display: flex; margin: 2px 0 3px; } }
