/* Vitrimap - feuille de style (écrite à la main, sans framework) - polices Bunny Fonts, sans traçage */


:root {
  --encre: #0E1116;
  --texte: #3A414C;
  --gris: #6B7380;
  --trait: #E3E6EA;
  --fond: #F4F5F7;
  --blanc: #FFFFFF;
  --accent: #FF4D2E;
  --accent-fonce: #D93A1D;
  --accent-pale: #FFF0EC;
  --vert: #18A058;
  --rouge: #D14343;
  --titre: 'Bricolage Grotesque', 'Manrope', sans-serif;
  --corps: 'Manrope', system-ui, sans-serif;
  --r-cadre: 22px;
  --r-carte: 18px;
  --r-petit: 10px;
  --ombre: 0 1px 2px rgba(14,17,22,.04), 0 8px 24px rgba(14,17,22,.06);
  --ombre-forte: 0 24px 60px rgba(14,17,22,.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--fond); color: var(--encre);
  font-family: var(--corps); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  user-select: none; -webkit-user-select: none;
}
/* Seuls les e-mails et numéros sont sélectionnables */
a[href^="mailto:"], a[href^="tel:"], .selectionnable { user-select: text; -webkit-user-select: text; }
input, textarea, select { user-select: text; -webkit-user-select: text; }

a { color: var(--encre); text-decoration: none; }
a:hover { color: var(--accent); }
p { text-align: justify; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--titre); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin: 0; }

.conteneur { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.evitement { position: absolute; left: -9999px; }
.evitement:focus { left: 16px; top: 16px; z-index: 100; background: var(--blanc); padding: 10px 14px; border-radius: var(--r-petit); }
.cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sur-titre { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gris); }
.pastille { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent); background: var(--accent-pale); padding: 6px 12px; border-radius: 8px; }

/* Boutons : coins droits volontairement */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; font: 700 16px var(--corps); cursor: pointer; transition: background .15s, transform .15s; }
.bouton:hover { transform: translateY(-1px); }
.bouton-accent { background: var(--accent); color: var(--blanc); }
.bouton-accent:hover { background: var(--accent-fonce); color: var(--blanc); }
.bouton-noir { background: var(--encre); color: var(--blanc); }
.bouton-noir:hover { background: #262B33; color: var(--blanc); }
.bouton-contour { background: transparent; color: var(--blanc); box-shadow: inset 0 0 0 1px #3A414C; }
.bouton-contour:hover { color: var(--blanc); box-shadow: inset 0 0 0 1px var(--blanc); }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 1000; background: rgba(244,245,247,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(14,17,22,.06); }
.entete-ligne { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--titre); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; color: var(--encre); }
.logo:hover { color: var(--encre); }
.logo-pastille { width: 34px; height: 34px; border-radius: 10px; background: var(--encre); display: inline-flex; align-items: center; justify-content: center; }
.menu { display: flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 600; }
.menu a { padding: 10px 14px; }
.menu a[aria-current="page"] { color: var(--accent); }
.menu .bouton { margin-left: 8px; min-height: 44px; padding: 0 18px; }
.menu .bouton[aria-current="page"] { color: var(--blanc); }
.menu-bascule, .menu-burger { display: none; }

@media (max-width: 820px) {
  .menu-burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; cursor: pointer; }
  .menu-burger span { display: block; height: 2px; background: var(--encre); }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; background: var(--blanc); padding: 12px 24px 20px; box-shadow: var(--ombre); }
  .menu .bouton { margin: 8px 0 0; }
  .menu-bascule:checked ~ .menu { display: flex; }
}

/* Accueil : carte plein cadre */
.heros { padding-top: 24px; }
.heros-cadre { position: relative; height: 660px; border-radius: 24px; overflow: hidden; background: #E7EAEE; }
.heros-carte { position: absolute; inset: 0; z-index: 1; }
.heros-panneau { position: absolute; z-index: 500; left: 32px; top: 32px; bottom: 32px; width: 480px; max-width: calc(100% - 64px); background: var(--blanc); border-radius: var(--r-cadre); padding: 36px 34px; display: flex; flex-direction: column; justify-content: center; box-shadow: var(--ombre-forte); }
.heros-panneau h1 { font-size: 50px; line-height: 1.02; letter-spacing: -0.035em; margin: 18px 0 14px; }
.heros-panneau p { font-size: 17px; color: #4B5563; margin: 0 0 26px; }
.recherche { display: flex; flex-direction: column; gap: 10px; }
.champ { display: flex; align-items: center; gap: 12px; background: var(--fond); border-radius: 14px; padding: 0 16px; min-height: 56px; }
.champ:focus-within { box-shadow: inset 0 0 0 2px var(--encre); }
.champ input, .champ select { flex: 1; border: 0; outline: none; background: transparent; font: 500 17px var(--corps); color: var(--encre); min-width: 0; padding: 14px 0; }
.champ input::placeholder { color: #8A93A0; }
.recherche .bouton { min-height: 56px; margin-top: 4px; font-size: 17px; }
.mention-carte { position: absolute; z-index: 500; right: 20px; top: 20px; background: rgba(255,255,255,.92); border-radius: var(--r-petit); padding: 8px 12px; font-size: 13px; font-weight: 600; box-shadow: var(--ombre); }

@media (max-width: 760px) {
  .heros-cadre { height: auto; display: flex; flex-direction: column-reverse; border-radius: 20px; }
  .heros-carte { position: relative; height: 380px; }
  .heros-panneau { position: relative; left: 0; top: 0; bottom: 0; width: 100%; max-width: none; border-radius: 0; box-shadow: none; padding: 28px 22px; }
  .heros-panneau h1 { font-size: 38px; }
  .mention-carte { display: none; }
}

/* Marqueurs et bulles de la carte */
.marqueur { width: 22px; height: 22px; border-radius: 50%; background: var(--blanc); border: 5px solid var(--encre); box-shadow: 0 6px 16px rgba(14,17,22,.28); }
.marqueur.verifie { background: var(--accent); border: 4px solid var(--blanc); }
.leaflet-container { font-family: var(--corps); background: #E7EAEE; }
/* Fond OpenStreetMap adouci pour un rendu plus épuré */
.leaflet-tile-pane { filter: saturate(.35) contrast(.92) brightness(1.04); }
.leaflet-control-zoom { border: 0 !important; border-radius: 14px !important; overflow: hidden; box-shadow: 0 8px 20px rgba(14,17,22,.12) !important; }
.leaflet-control-zoom a { width: 42px !important; height: 42px !important; line-height: 42px !important; color: var(--encre) !important; }
.leaflet-popup-content-wrapper { border-radius: var(--r-carte); box-shadow: 0 18px 40px rgba(14,17,22,.18); padding: 0; }
.leaflet-popup-content { margin: 16px 18px; min-width: 220px; }
.popup-cat { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gris); }
.popup-nom { font-family: var(--titre); font-weight: 800; font-size: 19px; margin: 6px 0 2px; color: var(--encre); }
.popup-statut { font-size: 14px; color: var(--gris); }
.popup-lien { display: flex; justify-content: space-between; margin-top: 12px; padding-top: 12px; border-top: 1px solid #EEF0F3; font-weight: 700; color: var(--encre) !important; }
.point { width: 8px; height: 8px; border-radius: 50%; background: var(--gris); flex: none; }
.point.ouvert { background: var(--vert); }
.point.ferme { background: var(--rouge); }

/* Sections */
.section { padding-top: 64px; }
.section-tete { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-tete h2 { font-size: 38px; margin-top: 6px; }
.filtres { display: flex; flex-wrap: wrap; gap: 8px; }
.filtre { border: 0; padding: 10px 16px; border-radius: 8px; font: 600 14px var(--corps); background: var(--blanc); color: var(--encre); box-shadow: inset 0 0 0 1px var(--trait); cursor: pointer; }
.filtre[aria-pressed="true"], .filtre.actif { background: var(--encre); color: var(--blanc); box-shadow: none; }

/* Cartes d'adresses */
.grille-adresses { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.carte-adresse { display: flex; flex-direction: column; background: var(--blanc); border-radius: 20px; overflow: hidden; box-shadow: var(--ombre); transition: transform .2s, box-shadow .2s; }
.carte-adresse:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(14,17,22,.05), 0 18px 40px rgba(14,17,22,.12); color: var(--encre); }
.carte-visuel { position: relative; height: 150px; display: flex; align-items: flex-end; padding: 16px; font-family: var(--titre); font-weight: 800; font-size: 44px; color: rgba(14,17,22,.12); }
.badge { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); border-radius: 8px; padding: 5px 10px; font: 700 12px var(--corps); color: var(--encre); }
.carte-corps { padding: 16px 18px 18px; }
.carte-meta { font-size: 13px; font-weight: 600; color: var(--gris); }
.carte-nom { font-family: var(--titre); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; margin: 4px 0 10px; }
.carte-statut { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.vide { background: var(--blanc); border-radius: var(--r-cadre); padding: 40px; text-align: center; color: var(--gris); }

/* Mosaïque des catégories */
.mosaique { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 14px; }
.tuile { display: flex; flex-direction: column; justify-content: space-between; padding: 22px; border-radius: 20px; background: var(--blanc); color: var(--encre); transition: transform .2s; }
.tuile:hover { transform: translateY(-3px); color: inherit; }
.tuile-nom { font-family: var(--titre); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; line-height: 1.05; }
.tuile-info { font-size: 14px; font-weight: 600; opacity: .75; }
.tuile.grande { grid-column: span 2; grid-row: span 2; }
.tuile.double { grid-column: span 2; }
.tuile.grande .tuile-nom { font-size: 34px; }
.tuile.sombre { color: var(--blanc); }
@media (max-width: 900px) {
  .mosaique { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tuile.grande { grid-row: span 1; }
  .tuile.double { grid-column: span 1; }
}

/* Bandeau professionnels */
.bandeau-pro { background: var(--encre); color: var(--blanc); border-radius: 28px; padding: 52px 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; margin: 64px 0; }
.bandeau-pro h2 { font-size: 42px; margin: 10px 0 12px; }
.bandeau-pro p { margin: 0; font-size: 17px; color: #B7BEC8; max-width: 620px; }
.bandeau-pro .sur-titre { color: var(--accent); }
.bandeau-pro > div:first-child { flex: 1 1 480px; }
.bandeau-pro .actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 600px) { .bandeau-pro { padding: 34px 24px; } .bandeau-pro h2 { font-size: 32px; } }

/* Fil d'Ariane */
.ariane { font-size: 14px; font-weight: 600; color: var(--gris); margin: 24px 0 14px; }
.ariane a { color: var(--gris); }
.ariane a:hover { color: var(--accent); }

/* Fiche d'une adresse */
.banniere { position: relative; min-height: 340px; border-radius: 28px; overflow: hidden; display: flex; align-items: flex-end; }
.banniere::after { content: ''; position: absolute; inset: 40% 0 0 0; background: linear-gradient(to top, rgba(14,17,22,.6), rgba(14,17,22,0)); }
.banniere-contenu { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 22px; padding: 32px 36px; width: 100%; color: var(--blanc); }
.banniere-logo { width: 104px; height: 104px; border-radius: 22px; background: var(--blanc); display: flex; align-items: center; justify-content: center; font-family: var(--titre); font-weight: 800; font-size: 46px; color: var(--encre); box-shadow: 0 10px 30px rgba(0,0,0,.25); flex: none; }
.banniere-texte { flex: 1 1 360px; }
.banniere h1 { font-size: 54px; line-height: 1; letter-spacing: -0.035em; }
.etiquettes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.etiquette { background: rgba(255,255,255,.2); backdrop-filter: blur(8px); border-radius: 8px; padding: 5px 10px; font-size: 13px; font-weight: 700; }
.etiquette.blanche { background: var(--blanc); color: var(--encre); }
.statut-direct { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.2); backdrop-filter: blur(8px); border-radius: 12px; padding: 10px 14px; font-weight: 700; font-size: 15px; }
@media (max-width: 600px) { .banniere h1 { font-size: 36px; } .banniere-contenu { padding: 24px 20px; } .banniere-logo { width: 76px; height: 76px; font-size: 34px; } }

.fiche { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-start; padding: 22px 0 0; }
.fiche-principal { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.fiche-cote { flex: 1 1 340px; display: flex; flex-direction: column; gap: 16px; }
.actions-fiche { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.action { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: var(--r-carte); background: var(--blanc); font-weight: 700; font-size: 15px; }
.action-icone { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--fond); }
.action.principale { background: var(--encre); color: var(--blanc); }
.action.principale .action-icone { background: var(--accent); color: var(--blanc); }
.action.principale:hover { color: var(--blanc); }
.action.inactive { opacity: .45; pointer-events: none; }
@media (max-width: 600px) { .actions-fiche { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.bloc { background: var(--blanc); border-radius: var(--r-cadre); padding: 30px; }
.bloc h2 { font-size: 28px; margin-bottom: 12px; }
.bloc p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--texte); }
.bloc-realisation { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; background: var(--accent); color: var(--blanc); border-radius: var(--r-cadre); padding: 24px 28px; }
.bloc-realisation strong { font-family: var(--titre); font-size: 22px; letter-spacing: -0.02em; }
.bloc-realisation a { color: var(--blanc); font-weight: 700; }

.cote-carte { background: var(--blanc); border-radius: var(--r-cadre); overflow: hidden; }
.mini-carte { height: 190px; background: #E7EAEE; }
.coordonnees { padding: 22px; display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.coordonnees .sur-titre { font-size: 12px; margin-bottom: 3px; }
.coordonnees a { font-weight: 700; }
.horaires { background: var(--blanc); border-radius: var(--r-cadre); padding: 22px; }
.horaires h2 { font-size: 22px; margin-bottom: 10px; }
.horaire { display: flex; justify-content: space-between; padding: 9px 12px; margin: 0 -12px; font-size: 15px; border-radius: 10px; }
.horaire.aujourdhui { background: var(--fond); font-weight: 700; }
.cote-pro { background: var(--encre); color: var(--blanc); border-radius: var(--r-cadre); padding: 22px; }
.cote-pro strong { font-family: var(--titre); font-size: 19px; display: block; margin-bottom: 6px; }
.cote-pro p { margin: 0 0 14px; font-size: 14px; color: #B7BEC8; }
.cote-pro a { color: var(--blanc); font-weight: 700; }

/* Pages de liste (catégorie, ville, recherche) */
.page-tete { padding: 8px 0 26px; }
.page-tete h1 { font-size: 52px; }
.page-tete p { max-width: 760px; font-size: 18px; color: var(--texte); margin: 12px 0 0; }
.carte-liste { height: 420px; border-radius: var(--r-cadre); overflow: hidden; margin-bottom: 26px; background: #E7EAEE; }
.recherche-ligne { display: flex; flex-wrap: wrap; gap: 10px; background: var(--blanc); border-radius: var(--r-cadre); padding: 12px; box-shadow: var(--ombre); margin-bottom: 26px; }
.recherche-ligne .champ { flex: 1 1 240px; }
.recherche-ligne .bouton { min-height: 56px; }
.liste-villes { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.liste-villes a { display: flex; justify-content: space-between; align-items: center; background: var(--blanc); border-radius: 14px; padding: 16px 18px; font-weight: 600; }
.liste-villes span { font-size: 13px; color: var(--gris); font-weight: 500; }
.secteur { margin-bottom: 34px; }
.secteur h2 { font-size: 26px; margin-bottom: 14px; }

/* Espace pro */
.formules { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.formule { background: var(--blanc); border-radius: var(--r-cadre); padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; }
.formule.mise-en-avant { background: var(--encre); color: var(--blanc); }
.formule.mise-en-avant li { color: #C9D0D8; }
.formule h3 { font-size: 24px; }
.prix { font-family: var(--titre); font-weight: 800; font-size: 38px; letter-spacing: -0.03em; }
.prix small { font-family: var(--corps); font-size: 14px; font-weight: 600; letter-spacing: 0; opacity: .7; }
.formule ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 15px; color: var(--texte); }
.formule li::before { content: '✓'; color: var(--accent); font-weight: 800; margin-right: 8px; }
.formule .engagement { font-size: 13px; opacity: .7; margin-top: auto; }
.etapes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: etape; }
.etape { background: var(--blanc); border-radius: var(--r-cadre); padding: 24px; }
.etape::before { counter-increment: etape; content: counter(etape); display: inline-flex; width: 38px; height: 38px; border-radius: 12px; background: var(--accent-pale); color: var(--accent); align-items: center; justify-content: center; font-family: var(--titre); font-weight: 800; font-size: 18px; margin-bottom: 14px; }
.etape h3 { font-size: 20px; margin-bottom: 8px; }
.etape p { margin: 0; color: var(--texte); font-size: 15px; }

/* Texte courant (pages légales) */
.prose { background: var(--blanc); border-radius: var(--r-cadre); padding: 40px; max-width: 900px; }
.prose h2 { font-size: 26px; margin: 28px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--texte); }
.prose a { color: var(--accent); font-weight: 600; }

/* Pied de page */
.pied { margin-top: 80px; border-top: 1px solid var(--trait); background: var(--blanc); }
.pied-haut { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-top: 44px; padding-bottom: 32px; }
.pied-haut > div { display: flex; flex-direction: column; gap: 8px; }
.pied-marque p { color: var(--gris); max-width: 360px; margin: 6px 0 0; }
.pied-titre { font-family: var(--corps); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gris); margin-bottom: 4px; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--trait); font-size: 14px; color: var(--gris); }
.pied-liens { display: flex; flex-wrap: wrap; gap: 22px; }
.pied-liens a { color: var(--gris); }
.version { opacity: .6; }
@media (max-width: 700px) { .pied-haut { grid-template-columns: 1fr; } }

/* Bulle de confirmation (numéro copié) */
.bulle { position: fixed; z-index: 2000; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--encre); color: var(--blanc); padding: 12px 18px; border-radius: 12px; font-weight: 700; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.bulle.visible { opacity: 1; transform: translate(-50%, 0); }

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

/* Formulaires */
.formulaire { display: flex; flex-direction: column; gap: 18px; margin-top: 18px; }
.grille-champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.champ-libelle { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; position: relative; }
.champ-libelle.large { grid-column: 1 / -1; }
.champ-libelle input, .champ-libelle select, .champ-libelle textarea { font: 500 16px var(--corps); color: var(--encre); background: var(--fond); border: 0; border-radius: 12px; padding: 14px 16px; outline: none; }
.champ-libelle input:focus, .champ-libelle select:focus, .champ-libelle textarea:focus { box-shadow: inset 0 0 0 2px var(--encre); }
.formulaire .bouton { align-self: flex-start; }
.piege { position: absolute; left: -9999px; }
.alerte { background: var(--accent-pale); color: var(--accent-fonce); border-radius: 12px; padding: 14px 16px; font-weight: 600; margin-top: 14px; }
@media (max-width: 600px) { .grille-champs { grid-template-columns: 1fr; } }

/* Suggestions d'adresses */
.suggestions { position: absolute; z-index: 50; left: 0; right: 0; top: 100%; margin-top: 4px; background: var(--blanc); border-radius: 12px; box-shadow: var(--ombre-forte); overflow: hidden; }
.suggestions button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 12px 16px; font: 500 15px var(--corps); color: var(--encre); cursor: pointer; }
.suggestions button:hover, .suggestions button:focus { background: var(--fond); outline: none; }

/* Logos */
.carte-logo { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 26px; }
.carte-logo img { max-width: 70%; max-height: 100%; object-fit: contain; }
.banniere-logo img { width: 100%; height: 100%; object-fit: contain; padding: 12px; border-radius: 22px; }

/* Espace pro et back-office */
.espace { padding-top: 8px; }
.espace-tete { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 24px 0 18px; }
.espace-tete h1 { font-size: 42px; margin-top: 6px; }
.espace-qui { display: flex; align-items: center; gap: 16px; font-size: 14px; font-weight: 600; color: var(--gris); }
.espace-qui a { color: var(--encre); }
.espace-etroit { max-width: 560px; }
.onglets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; border-bottom: 1px solid var(--trait); }
.onglets a { padding: 12px 16px; font-weight: 700; font-size: 15px; color: var(--gris); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.onglets a[aria-current="page"] { color: var(--encre); border-bottom-color: var(--accent); }
.flash { border-radius: 12px; padding: 14px 18px; font-weight: 600; margin-bottom: 18px; background: #E6F4EC; color: #0F6B3A; }
.flash-erreur { background: var(--accent-pale); color: var(--accent-fonce); }
.flash-attention { background: #FFF6DB; color: #7A5A00; }
.alerte { margin: 0 0 16px; }
.lien-bas { margin: 16px 0 0; font-size: 15px; text-align: left; }
.lien-bas a { font-weight: 700; }
.actions-ligne { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.vide-espace h2 { font-size: 30px; margin-bottom: 10px; }
.titre-section { font-size: 26px; margin: 32px 0 14px; }
.sous-titre { font-family: var(--titre); font-size: 20px; margin: 10px 0 0; padding-top: 18px; border-top: 1px solid var(--trait); }
.formulaire > .sous-titre:first-of-type { border-top: 0; padding-top: 0; }
.grille-champs.une-colonne { grid-template-columns: 1fr; }
.champ-libelle textarea { resize: vertical; min-height: 90px; }
.aide { font-size: 14px; color: var(--gris); margin: 6px 0 0; text-align: left; }
.case { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; cursor: pointer; }
.case input { width: 18px; height: 18px; accent-color: var(--accent); }
.cases { display: flex; flex-wrap: wrap; gap: 18px; }
.deux-colonnes { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.deux-colonnes h2 { font-size: 24px; }

/* Champ mot de passe avec bouton œil */
.champ-mdp { position: relative; display: flex; }
.champ-mdp input { flex: 1; padding-right: 54px !important; }
.oeil { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: 0; background: transparent; color: var(--gris); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.oeil:hover, .oeil[aria-pressed="true"] { color: var(--encre); }

/* Choix « à une adresse » / « je me déplace » */
.choix-mode { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.carte-choix { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 18px 52px; border-radius: 16px; background: var(--fond); cursor: pointer; box-shadow: inset 0 0 0 2px transparent; }
.carte-choix input { position: absolute; left: 18px; top: 20px; width: 20px; height: 20px; accent-color: var(--accent); }
.carte-choix span { font-size: 14px; color: var(--gris); }
.carte-choix:has(input:checked) { box-shadow: inset 0 0 0 2px var(--encre); background: var(--blanc); }
.zone-choix { display: flex; flex-direction: column; gap: 14px; margin: 10px 0 14px; }
.zone-secteur { border: 0; margin: 0; padding: 16px; border-radius: 16px; background: var(--fond); }
.zone-secteur legend { float: left; width: 100%; margin-bottom: 10px; }
.zone-communes { clear: both; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px 14px; }
.zone-communes .case { font-weight: 500; font-size: 14px; }

/* Logo dans le formulaire */
.bloc-logo { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.apercu-logo { width: 112px; height: 112px; border-radius: 22px; background: var(--fond); display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; font-family: var(--titre); font-weight: 800; font-size: 42px; color: var(--gris); }
.apercu-logo img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.logo-champs { flex: 1 1 280px; display: flex; flex-direction: column; gap: 10px; }
.champ-libelle input[type="file"] { padding: 12px; }

/* Éditeur des horaires */
.horaires-editeur { display: flex; flex-direction: column; gap: 8px; }
.horaires-editeur .jour { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; border: 0; margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--fond); }
.horaires-editeur legend { float: left; width: 96px; font-weight: 700; }
.horaires-editeur .plage { display: inline-flex; align-items: center; gap: 6px; }
.horaires-editeur input[type="time"] { font: 500 15px var(--corps); border: 0; border-radius: 8px; padding: 8px 10px; background: var(--blanc); }

/* Listes de l'espace */
.liste-fiches { display: flex; flex-direction: column; gap: 10px; }
.ligne-fiche { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; background: var(--blanc); border-radius: 18px; padding: 14px 18px; color: var(--encre); }
.ligne-lien:hover { box-shadow: inset 0 0 0 2px var(--encre); color: var(--encre); }
.ligne-logo { width: 52px; height: 52px; border-radius: 14px; background: var(--fond); display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; font-family: var(--titre); font-weight: 800; font-size: 22px; color: var(--gris); }
.ligne-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.ligne-texte { flex: 1 1 320px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ligne-texte span { font-size: 14px; color: var(--gris); }
.ligne-texte .controle { font-size: 13px; color: var(--texte); }
.ligne-actions { display: flex; align-items: center; gap: 14px; font-weight: 700; }
.ligne-actions .bouton { min-height: 42px; padding: 0 16px; font-size: 14px; }
.statut { display: inline-block; border-radius: 8px; padding: 5px 10px; font-size: 13px; font-weight: 700; background: var(--fond); color: var(--texte); }
.statut-ok, .statut-validee { background: #E6F4EC; color: #0F6B3A; }
.statut-attente, .statut-en_attente { background: #FFF6DB; color: #7A5A00; }
.statut-refusee { background: var(--accent-pale); color: var(--accent-fonce); }
.chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.chiffres div { background: var(--blanc); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.chiffres strong { font-family: var(--titre); font-size: 34px; letter-spacing: -0.03em; }
.chiffres span { font-size: 14px; color: var(--gris); font-weight: 600; }
.barre-outils { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.tableau-infos { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 14px; }
.tableau-infos th { text-align: left; color: var(--gris); font-weight: 700; padding: 10px 14px 10px 0; vertical-align: top; width: 170px; }
.tableau-infos td { padding: 10px 0; border-bottom: 1px solid var(--trait); }
.tableau-infos a { color: var(--accent); font-weight: 600; }
a.filtre { display: inline-block; }
@media (max-width: 600px) { .espace-tete h1 { font-size: 32px; } .tableau-infos th { width: 110px; } }
