/* Répertoire Edovlo : mêmes couleurs, polices et composants que edovlo.ca */
:root {
  --encre: #1A1033;
  --encre-douce: #4A4262;
  --encre-pale: #6B6483;
  --creme: #FBF8F3;
  --creme-fonce: #F4EEE4;
  --violet: #7C2AE8;
  --violet-fonce: #5B17B8;
  --violet-clair: #9B5CF0;
  --violet-pale: #F3ECFE;
  --soleil: #FFC83D;
  --soleil-fonce: #C98F00;
  --soleil-pale: #FFF4D6;
  --soleil-texte: #8A5A00;
  --corail: #FF7759;
  --corail-pale: #FFE9E3;
  --corail-texte: #B23A1E;
  --menthe: #2BC29A;
  --menthe-fonce: #0B7A5C;
  --menthe-pale: #E3F7F1;
  --ciel: #3B9EFF;
  --ciel-fonce: #1667C7;
  --ciel-pale: #E4F1FF;
  --ligne: rgba(26, 16, 51, .10);
  --ombre: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 1px 2px rgba(26, 16, 51, .06), 0 18px 40px -18px rgba(26, 16, 51, .22);
  --ombre-forte: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 2px 4px rgba(26, 16, 51, .05), 0 40px 80px -30px rgba(26, 16, 51, .35);
  --titre: 'Fredoka', 'Plus Jakarta Sans', sans-serif;
  --texte: 'Plus Jakarta Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6.5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--creme); color: var(--encre); font: 16px/1.6 var(--texte); overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--violet); text-underline-offset: 3px; }
a:hover { color: var(--violet-fonce); }
h1, h2, h3 { font-family: var(--titre); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: .75rem; }
[hidden] { display: none !important; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
@media (min-width: 1024px) { .wrap { padding: 0 32px; } }

.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.aller-contenu { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--violet); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.aller-contenu:focus { top: 12px; color: #fff; }

.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }

/* Grille de points et trait jaune, comme sur edovlo.ca */
.points { background-image: radial-gradient(rgba(26, 16, 51, .09) 1.2px, transparent 1.2px); background-size: 22px 22px; }
.trait {
  background-image: linear-gradient(transparent 62%, var(--soleil) 62%, var(--soleil) 90%, transparent 90%);
  padding: 0 .1em; margin: 0 -.1em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.surtitre { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--violet);
  font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.surtitre span { width: 10px; height: 10px; border-radius: 3px; background: var(--corail); }
.surtitre-clair { color: var(--soleil); }
.chapeau { color: var(--encre-douce); font-size: 1.08rem; max-width: 60ch; }

/* ---------- Boutons (pressables) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: 0 22px;
  border: 0; border-radius: 999px; font: 700 .95rem/1 var(--texte); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease-out, box-shadow .15s ease-out, background-color .2s ease; }
.btn .i { width: 18px; height: 18px; }
.btn:focus-visible { outline: 3px solid var(--soleil); outline-offset: 3px; border-radius: 999px; }
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 4px 0 var(--violet-fonce); }
.btn-primary:hover { background: #8A3CF0; color: #fff; transform: translateY(-1px); box-shadow: 0 5px 0 var(--violet-fonce); }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--violet-fonce); }
.btn-fantome { background: #fff; color: var(--encre); box-shadow: 0 0 0 1.5px rgba(26, 16, 51, .14) inset, 0 4px 0 rgba(26, 16, 51, .10); }
.btn-fantome:hover { color: var(--encre); transform: translateY(-1px); box-shadow: 0 0 0 1.5px rgba(26, 16, 51, .22) inset, 0 5px 0 rgba(26, 16, 51, .12); }
.btn-fantome:active { transform: translateY(3px); box-shadow: 0 0 0 1.5px rgba(26, 16, 51, .22) inset, 0 1px 0 rgba(26, 16, 51, .12); }
.btn-soleil { background: var(--soleil); color: var(--encre); box-shadow: 0 4px 0 var(--soleil-fonce); }
.btn-soleil:hover { color: var(--encre); transform: translateY(-1px); box-shadow: 0 5px 0 var(--soleil-fonce); }
.btn-soleil:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--soleil-fonce); }
.btn-contour-clair { background: transparent; color: #fff; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .5) inset; }
.btn-contour-clair:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.btn-large { min-height: 52px; padding: 0 28px; font-size: 1rem; }
.lien-action { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; background: none; border: 0; cursor: pointer;
  color: var(--violet); font-weight: 700; text-decoration: none; }
.lien-action:hover { color: var(--violet-fonce); text-decoration: underline; }
.lien-action:disabled { color: var(--encre-pale); cursor: progress; text-decoration: none; }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 50; padding-top: 12px; }
.barre-nav { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--ligne); box-shadow: var(--ombre); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; border-radius: 999px; }
.logo img { height: 38px; width: auto; }
.logo-tag { padding: 4px 10px; border-radius: 999px; background: var(--violet-pale); color: var(--violet);
  font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.liens-nav { display: none; gap: 2px; }
.liens-nav a { padding: 9px 16px; border-radius: 999px; color: var(--encre-douce); font-weight: 600; font-size: .95rem; text-decoration: none; transition: background-color .2s, color .2s; }
.liens-nav a:hover, .liens-nav a[aria-current] { background: var(--violet-pale); color: var(--violet); }
.btn-nav { display: none; }
.menu-mobile { position: relative; }
.menu-mobile summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; cursor: pointer; }
.menu-mobile summary::-webkit-details-marker { display: none; }
.menu-mobile summary:hover, .menu-mobile[open] summary { background: rgba(26, 16, 51, .06); }
.menu-mobile summary .i { width: 24px; height: 24px; }
.menu-panneau { position: absolute; right: 0; top: calc(100% + 12px); width: min(300px, calc(100vw - 32px)); display: grid; gap: 2px;
  padding: 10px; border-radius: 24px; background: #fff; border: 1px solid var(--ligne); box-shadow: var(--ombre-forte); }
.menu-panneau a:not(.btn) { display: flex; align-items: center; min-height: 46px; padding: 0 14px; border-radius: 16px; color: var(--encre); font-weight: 600; text-decoration: none; }
.menu-panneau a:not(.btn):hover { background: var(--violet-pale); color: var(--violet); }
.menu-panneau .btn { margin-top: 8px; }
@media (min-width: 900px) {
  .liens-nav { display: flex; }
  .btn-nav { display: inline-flex; }
  .menu-mobile { display: none; }
}

/* ---------- Accueil : héros et recherche ---------- */
.heros { position: relative; overflow: hidden; margin-top: -76px; padding: 124px 0 64px; }
.forme { position: absolute; pointer-events: none; }
.forme-soleil { width: 120px; height: 120px; left: -48px; top: 150px; border-radius: 50%; background: var(--soleil); opacity: .9; }
.forme-ciel { width: 46px; height: 46px; right: 6%; top: 104px; border-radius: 12px; background: var(--ciel); transform: rotate(14deg); box-shadow: 0 4px 0 var(--ciel-fonce); }
.heros-grille { position: relative; display: grid; gap: 40px; align-items: center; }
.heros-texte h1 { margin-bottom: 20px; max-width: 13ch; }
.chiffres-heros { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 28px 0 0; }
.chiffres-heros li { display: flex; align-items: baseline; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff;
  border: 1px solid var(--ligne); color: var(--encre-douce); font-size: .9rem; font-weight: 600; }
.chiffres-heros b { font: 600 1.05rem var(--titre); color: var(--encre); }

.carte-recherche { padding: 24px; border-radius: 2rem; background: #fff; border: 1px solid rgba(26, 16, 51, .06); box-shadow: var(--ombre-forte); }
.titre-recherche { font-size: 1.45rem; margin-bottom: 18px; }
.libelle { display: block; margin-bottom: 8px; font-size: .9rem; font-weight: 700; }
.ligne-recherche { display: flex; gap: 10px; }
.champ-icone { position: relative; flex: 1; min-width: 0; }
.champ-icone .i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--violet); }
.champ-icone input { width: 100%; height: 54px; padding: 0 16px 0 46px; border: 2px solid var(--ligne); border-radius: 16px; background: var(--creme);
  font: 700 1.2rem var(--texte); letter-spacing: .06em; text-transform: uppercase; transition: border-color .2s, background-color .2s; }
.champ-icone input::placeholder { color: #B5AFC4; }
.champ-icone input:focus { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px var(--violet-pale); }
.champ-icone input[aria-invalid] { border-color: var(--corail-texte); }
.btn-chercher { min-height: 54px; }
.erreur-champ { margin-top: 8px; color: var(--corail-texte); font-size: .88rem; font-weight: 600; }

.filtres { display: grid; gap: 16px; margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--ligne); }
.filtres fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.filtres legend { padding: 0; margin-bottom: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--encre-pale); }
.pastilles { display: flex; flex-wrap: wrap; gap: 6px; }
.pastille { position: relative; display: inline-flex; }
.pastille input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pastille span, .pastille-lien { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  background: var(--creme); border: 1.5px solid var(--ligne); color: var(--encre-douce); font-size: .88rem; font-weight: 600; text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s; user-select: none; }
.pastille span:hover, .pastille-lien:hover { border-color: var(--violet-clair); color: var(--violet); }
.pastille input:checked + span, .pastille-lien[aria-current] { background: var(--violet); border-color: var(--violet); color: #fff; }
.pastille input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }
.pastille .i, .pastille-lien .i { width: 16px; height: 16px; }
.pastille-bascule span { background: #fff; }
.pastille-bascule input:checked + span { background: var(--corail-pale); border-color: var(--corail); color: var(--corail-texte); }

@media (min-width: 960px) {
  .heros { padding: 150px 0 96px; }
  .heros-grille { grid-template-columns: minmax(0, 1fr) 480px; gap: 56px; }
  .carte-recherche { padding: 32px; }
}

/* ---------- Résultats ---------- */
.resultats { padding-top: 48px; scroll-margin-top: 90px; }
.resultats-tete { margin-bottom: 20px; }
.resultats-tete h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.resultats-tete h2 span { color: var(--encre-pale); font-weight: 500; }
.resultats-tete p { margin-top: 6px; color: var(--encre-pale); }
.resultats-grille { display: grid; gap: 20px; }
.carte-geo { height: 300px; border-radius: 1.5rem; overflow: hidden; border: 1px solid var(--ligne); box-shadow: var(--ombre); z-index: 0; }
.resultats-grille .carte-geo-cadre { order: -1; }
@media (min-width: 960px) {
  .resultats-grille { grid-template-columns: minmax(0, 1fr) 440px; align-items: start; }
  .resultats-grille .carte-geo-cadre { order: 0; position: sticky; top: 96px; }
  .resultats-grille .carte-geo { height: calc(100vh - 130px); max-height: 680px; }
}

/* Cartes de garderie */
.cartes { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.cartes-grille { grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.carte { position: relative; display: grid; gap: 8px; align-content: start; padding: 20px 22px; border-radius: 1.5rem; background: #fff;
  border: 1px solid rgba(26, 16, 51, .06); box-shadow: var(--ombre); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.carte:hover { transform: translateY(-2px); border-color: rgba(124, 42, 232, .35); box-shadow: var(--ombre-forte); }
.carte:focus-within { border-color: var(--violet); }
.carte-haut { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.badge .i { width: 13px; height: 13px; stroke-width: 3; }
.badge-cpe { background: var(--menthe-pale); color: var(--menthe-fonce); }
.badge-gard { background: var(--ciel-pale); color: var(--ciel-fonce); }
.badge-subv { background: var(--soleil-pale); color: var(--soleil-texte); }
.badge-neutre { background: rgba(26, 16, 51, .05); color: var(--encre-pale); }
.num { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; background: var(--encre); color: #fff; font: 600 .8rem var(--titre); }
.distance { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--violet-pale); color: var(--violet); font: 600 .9rem var(--titre); }
.carte-titre { font-size: 1.18rem; line-height: 1.25; }
.carte-titre a { color: var(--encre); text-decoration: none; }
.carte-titre a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.carte:hover .carte-titre a { color: var(--violet); }
.carte-adresse, .carte-faits { display: flex; gap: 8px; color: var(--encre-douce); font-size: .92rem; }
.carte-adresse .i { margin-top: 3px; color: var(--encre-pale); }
.carte-faits { flex-wrap: wrap; gap: 6px 16px; color: var(--encre); font-weight: 600; font-size: .88rem; }
.carte-faits span { display: inline-flex; align-items: center; gap: 6px; }
.carte-faits .i { color: var(--violet); }

/* Chargement */
.squelette { min-height: 128px; }
.squelette:hover { transform: none; }
.barre-squelette { display: block; height: 14px; border-radius: 999px; background: linear-gradient(90deg, #EFEAF5 25%, #F8F5FB 50%, #EFEAF5 75%); background-size: 200% 100%; animation: miroir 1.2s infinite linear; }
@keyframes miroir { to { background-position: -200% 0; } }

/* Repères de la carte */
.repere span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; line-height: 1;
  background: var(--violet); border: 2px solid #fff; box-shadow: 0 3px 8px rgba(26, 16, 51, .35); color: #fff; font: 600 .8rem var(--titre);
  transition: transform .15s, background-color .15s; }
.repere.actif span { background: var(--corail); transform: scale(1.25); }
.leaflet-marker-icon.repere.actif { z-index: 1000 !important; }
.leaflet-container { font-family: var(--texte); }
.leaflet-popup-content-wrapper { border-radius: 16px; }
.leaflet-popup-content a { color: var(--encre); }

/* États */
.etat { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 1rem; background: #fff; border: 1px solid var(--ligne); color: var(--encre-douce); margin-top: 16px; }
.etat .i { margin-top: 3px; }
.etat-erreur { background: var(--corail-pale); border-color: rgba(178, 58, 30, .2); color: var(--corail-texte); font-weight: 600; }
.etat-vide { display: grid; justify-items: center; gap: 12px; padding: 48px 24px; border-radius: 2rem; background: #fff; border: 1px dashed rgba(26, 16, 51, .18); text-align: center; }
.etat-vide h2 { font-size: 1.5rem; max-width: 26ch; }
.etat-vide p { color: var(--encre-douce); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.etat-vide .actions { justify-content: center; }

/* Icônes en pastille (tons du site) */
.pastille-icone { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; flex: none; }
.pastille-icone .i { width: 22px; height: 22px; }
.pastille-icone-grande { width: 64px; height: 64px; border-radius: 20px; }
.pastille-icone-grande .i { width: 30px; height: 30px; }
.ton-violet { background: var(--violet-pale); color: var(--violet); }
.ton-soleil { background: var(--soleil-pale); color: var(--soleil-texte); }
.ton-menthe { background: var(--menthe-pale); color: var(--menthe-fonce); }
.ton-corail { background: var(--corail-pale); color: var(--corail-texte); }
.ton-blanc { background: rgba(255, 255, 255, .16); color: #fff; }

/* ---------- Sections de l'accueil ---------- */
.section { padding-top: 72px; }
.section-tete { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 28px; }
.section-tete h2 { max-width: 22ch; }
.grille-villes { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.grille-villes a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 16px 0 20px;
  border-radius: 1.1rem; background: #fff; border: 1px solid rgba(26, 16, 51, .07); color: var(--encre); font-weight: 600; text-decoration: none;
  transition: transform .15s, border-color .15s, box-shadow .15s; }
.grille-villes a:hover { transform: translateY(-2px); border-color: rgba(124, 42, 232, .35); box-shadow: var(--ombre); color: var(--violet); }
.grille-villes span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.grille-villes b { flex: none; min-width: 34px; padding: 2px 9px; border-radius: 999px; background: var(--violet-pale); color: var(--violet); font: 600 .85rem var(--titre); text-align: center; }

.etapes { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); counter-reset: etape; }
.etape { position: relative; display: grid; gap: 10px; align-content: start; padding: 28px; border-radius: 2rem; background: #fff; border: 1px solid rgba(26, 16, 51, .06); box-shadow: var(--ombre); counter-increment: etape; }
.etape::after { content: counter(etape); position: absolute; top: 18px; right: 24px; font: 600 3.2rem/1 var(--titre); color: rgba(26, 16, 51, .06); }
.etape h3 { margin-top: 6px; font-size: 1.3rem; }
.etape p { color: var(--encre-douce); }

.bandeau-pro { position: relative; overflow: hidden; display: grid; gap: 28px; align-items: center; padding: clamp(32px, 5vw, 56px);
  border-radius: 2.5rem; background: var(--violet); color: #fff; box-shadow: 0 6px 0 var(--violet-fonce); }
.bandeau-pro::before { content: ""; position: absolute; width: 260px; height: 260px; right: -70px; top: -90px; border-radius: 50%; background: var(--violet-clair); opacity: .55; }
.bandeau-pro::after { content: ""; position: absolute; width: 60px; height: 60px; right: 30%; bottom: -22px; border-radius: 14px; background: var(--soleil); transform: rotate(18deg); }
.bandeau-pro > * { position: relative; z-index: 1; }
.bandeau-pro h2 { color: #fff; margin-bottom: 12px; }
.bandeau-pro p:not(.surtitre) { color: rgba(255, 255, 255, .86); max-width: 52ch; }
.bandeau-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .bandeau-pro { grid-template-columns: minmax(0, 1fr) auto; } }

/* ---------- En-tête des pages intérieures ---------- */
.tete-page { margin-top: -76px; padding: 104px 0 36px; border-bottom: 1px solid var(--ligne); }
.tete-page h1 { margin-bottom: 14px; }
.tete-courte { padding-bottom: 4px; border-bottom: 0; }
.tete-courte .fil ol { margin-bottom: 0; }
.fil ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; padding: 0; margin: 0 0 22px; font-size: .88rem; color: var(--encre-pale); }
.fil li:not(:last-child)::after { content: "/"; margin: 0 10px; color: rgba(26, 16, 51, .25); }
.fil a { color: var(--encre-douce); text-decoration: none; font-weight: 600; }
.fil a:hover { color: var(--violet); text-decoration: underline; }
.fil [aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }

.tuiles { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.tuile { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 16px 18px;
  border-radius: 1.4rem; background: #fff; border: 1px solid rgba(26, 16, 51, .06); box-shadow: var(--ombre); }
.tuile .pastille-icone { grid-row: span 2; }
.tuile b { font: 600 1.7rem/1.1 var(--titre); }
.tuile b.tuile-texte { font-size: 1.15rem; line-height: 1.25; }
.tuile > span:last-child { color: var(--encre-pale); font-size: .86rem; font-weight: 600; }

.section-liste { padding-top: 28px; }
.outils { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.groupes-filtres { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.champ-filtre { position: relative; display: flex; align-items: center; flex: 1 1 260px; max-width: 360px; }
.champ-filtre .i { position: absolute; left: 14px; color: var(--encre-pale); }
.champ-filtre input { width: 100%; height: 46px; padding: 0 16px 0 42px; border: 1.5px solid var(--ligne); border-radius: 999px; background: #fff; font-size: .95rem; }
.champ-filtre input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-pale); }
.champ-filtre-grand { max-width: 460px; }
.champ-filtre-grand input { height: 52px; font-size: 1rem; }
.compte { margin-bottom: 14px; color: var(--encre-pale); font-weight: 600; font-size: .92rem; }

/* Villes de A à Z */
.recherche-ville { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.recherche-ville .btn { min-height: 52px; }
.index-lettres { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; position: sticky; top: 84px; z-index: 5; padding: 10px 0; background: var(--creme); }
.index-lettres a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #fff; border: 1px solid var(--ligne);
  color: var(--encre); font: 600 1rem var(--titre); text-decoration: none; }
.index-lettres a:hover { background: var(--violet); border-color: var(--violet); color: #fff; }
.groupe-lettre { padding-top: 24px; scroll-margin-top: 150px; }
.lettre { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 14px; background: var(--soleil); box-shadow: 0 3px 0 var(--soleil-fonce); font-size: 1.5rem; }

/* ---------- Fiche d'une garderie ---------- */
.fiche { display: grid; gap: 20px; padding-top: 28px; align-items: start; }
.fiche-principale { display: grid; gap: 20px; min-width: 0; }
.carte-blanche { padding: clamp(22px, 3.5vw, 32px); border-radius: 2rem; background: #fff; border: 1px solid rgba(26, 16, 51, .06); box-shadow: var(--ombre); }
.fiche-tete h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin: 14px 0 12px; overflow-wrap: anywhere; }
.fiche-adresse { display: flex; gap: 10px; color: var(--encre-douce); font-size: 1.05rem; }
.fiche-adresse .i { margin-top: 4px; color: var(--violet); }
.fiche-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tuiles-fiche { margin: 0; }
.titre-carte { font-size: 1.4rem; margin-bottom: 8px; }
.infos { margin: 0; }
.infos div { display: grid; gap: 2px 16px; padding: 14px 0; border-bottom: 1px solid var(--ligne); }
.infos div:last-child { border-bottom: 0; }
.infos dt { display: flex; align-items: center; gap: 8px; color: var(--encre-pale); font-size: .9rem; font-weight: 600; }
.infos dt .i { color: var(--violet); }
.infos dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
@media (min-width: 640px) { .infos div { grid-template-columns: 180px 1fr; } }
.carte-geo-fiche { height: 280px; margin-top: 18px; box-shadow: none; }
.fiche-cote { display: grid; gap: 20px; }
.encart { display: grid; gap: 12px; justify-items: start; }
.encart h2 { font-size: 1.4rem; }
.encart p { color: var(--encre-douce); }
.encart-pro { padding: clamp(24px, 3.5vw, 32px); border-radius: 2rem; background: var(--violet); color: #fff; box-shadow: 0 6px 0 var(--violet-fonce); position: relative; overflow: hidden; }
.encart-pro::after { content: ""; position: absolute; width: 140px; height: 140px; right: -50px; bottom: -60px; border-radius: 50%; background: var(--violet-clair); opacity: .5; }
.encart-pro > * { position: relative; z-index: 1; }
.encart-pro h2 { color: #fff; }
.encart-pro p { color: rgba(255, 255, 255, .86); }
@media (min-width: 960px) {
  .fiche { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; }
  .fiche-cote { position: sticky; top: 96px; }
}

/* ---------- Réclamer une fiche ---------- */
.reclamer { display: grid; gap: 20px; padding-top: 28px; align-items: start; }
.formulaire h1, .confirmation h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-bottom: 10px; }
.formulaire form { display: grid; gap: 18px; margin-top: 24px; }
.champ { display: grid; gap: 6px; }
.champ label { font-weight: 700; font-size: .92rem; }
.facultatif { color: var(--encre-pale); font-weight: 500; }
.champ input, .champ select { width: 100%; height: 50px; padding: 0 16px; border: 1.5px solid var(--ligne); border-radius: 14px; background: var(--creme); font-size: 1rem; }
.champ input:focus, .champ select:focus { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px var(--violet-pale); }
.champ input[aria-invalid] { border-color: var(--corail-texte); background: #fff; }
.champ-duo { display: grid; gap: 18px; }
@media (min-width: 640px) { .champ-duo { grid-template-columns: 1fr 1fr; } }
.formulaire .btn { justify-self: start; }
.liste-avantages { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.liste-avantages li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255, 255, 255, .92); font-weight: 600; }
.liste-avantages .i { flex: none; margin-top: 3px; padding: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--soleil); color: var(--encre); stroke-width: 3; }
.confirmation { display: grid; gap: 14px; justify-items: start; max-width: 640px; }
.confirmation p { color: var(--encre-douce); font-size: 1.05rem; }
@media (min-width: 960px) { .reclamer { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; } }

/* 404 */
.page-404 { padding-bottom: 96px; border-bottom: 0; }
.page-404 .pastille-icone { margin-bottom: 20px; }

/* ---------- Pied de page ---------- */
.pied { margin-top: 96px; background: var(--creme-fonce); border-top: 1px solid var(--ligne); }
.pied-grille { display: grid; gap: 36px; padding-top: 56px; padding-bottom: 36px; }
.pied-marque img { height: 42px; width: auto; }
.pied-marque p { margin-top: 16px; max-width: 40ch; color: var(--encre-douce); }
.pied-liens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pied-liens h2 { font-size: 1rem; }
.pied-liens ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; font-size: .95rem; }
.pied-liens a { color: var(--encre-douce); text-decoration: none; }
.pied-liens a:hover { color: var(--violet); }
.pied-bas { display: grid; gap: 6px; padding-top: 20px; padding-bottom: 36px; border-top: 1px solid var(--ligne); color: var(--encre-pale); font-size: .84rem; }
@media (min-width: 900px) { .pied-grille { grid-template-columns: 5fr 4fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Téléphones ---------- */
@media (max-width: 639px) {
  .forme-ciel { display: none; }
  .forme-soleil { width: 90px; height: 90px; left: -54px; top: 190px; }
  .chiffres-heros { display: none; }
  .heros { padding-bottom: 40px; }
  .heros-grille { gap: 28px; }
  .carte-recherche { padding: 20px; border-radius: 1.6rem; }
}
@media (max-width: 479px) {
  .tuile { grid-template-columns: 1fr; row-gap: 6px; padding: 14px; align-content: start; }
  .tuile .pastille-icone { grid-row: auto; width: 38px; height: 38px; border-radius: 12px; margin-bottom: 4px; }
  .tuile > span:last-child { overflow-wrap: anywhere; }
  .tuile b { font-size: 1.5rem; }
}
@media (max-width: 400px) {
  .btn-chercher { padding: 0 16px; }
  .btn-chercher span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Pagination ---------- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 28px; }
.pages { display: flex; align-items: center; gap: 6px; list-style: none; padding: 0; margin: 0; }
.page-num, .page-fleche { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 12px;
  border: 0; border-radius: 999px; background: #fff; color: var(--encre); font: 600 1rem var(--titre); text-decoration: none; cursor: pointer;
  box-shadow: 0 0 0 1.5px rgba(26, 16, 51, .12) inset, 0 3px 0 rgba(26, 16, 51, .08); transition: transform .15s, box-shadow .15s, background-color .15s; }
.page-fleche { font: 700 .92rem var(--texte); padding: 0 16px; }
.page-fleche .i { width: 18px; height: 18px; }
a.page-num:hover, button.page-num:hover, a.page-fleche:hover, button.page-fleche:hover { color: var(--violet); transform: translateY(-1px);
  box-shadow: 0 0 0 1.5px rgba(124, 42, 232, .4) inset, 0 4px 0 rgba(26, 16, 51, .1); }
.page-num[aria-current] { background: var(--violet); color: #fff; box-shadow: 0 3px 0 var(--violet-fonce); }
.page-num[aria-current]:hover { color: #fff; }
.page-fleche[aria-disabled] { opacity: .4; cursor: default; box-shadow: 0 0 0 1.5px rgba(26, 16, 51, .1) inset; }
.page-ellipse { min-width: 20px; text-align: center; color: var(--encre-pale); font-weight: 700; }
.page-mobile { display: none; color: var(--encre-douce); font-weight: 600; font-size: .92rem; }
@media (max-width: 639px) {
  .pages { display: none; }
  .page-mobile { display: inline; flex: 1; text-align: center; }
  .pagination { justify-content: space-between; }
  .page-fleche span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .page-fleche { width: 46px; padding: 0; }
}

/* Recherche dans une ville */
form.champ-filtre { margin: 0; }
.champ-filtre input[type="search"]::-webkit-search-cancel-button { display: none; }
.champ-effacer { position: absolute; right: 8px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; color: var(--encre-pale); }
.champ-effacer .i { position: static; }
.champ-effacer:hover { background: var(--violet-pale); color: var(--violet); }
.champ-filtre:has(.champ-effacer) input { padding-right: 44px; }
