/*
 * DLPgo - feuille de style v2 (proposition validée : lumineuse, bleus vifs, blocs décalés).
 * Mobile d'abord. Police Figtree hébergée en local.
 */

@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("/assets/fonts/figtree-latin-wght-normal.woff2") format("woff2-variations"), url("/assets/fonts/figtree-latin-wght-normal.woff2") format("woff2"); }

:root {
  --nuit: #152033;
  --texte: #2A3548;
  --gris: #5A6578;
  --ciel-pale: #F2F6FB;
  --ciel-puce: #E6F4FF;
  --trait: #D5DCE6;
  --action: #2F6BFF;
  --action-f: #1F4FD6;
  --lien: #1F5BE8;
  --reflet: radial-gradient(circle at 88% 12%, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 42%);
  --t1: linear-gradient(155deg, #5BF0FF 0%, #00B4F0 100%);
  --t2: linear-gradient(155deg, #6CC4FF 0%, #1E8BFF 100%);
  --t3: linear-gradient(155deg, #5FFFD2 0%, #00C9A7 100%);
  --t4: linear-gradient(155deg, #C3B5FF 0%, #8A72FF 100%);
  --bande: linear-gradient(115deg, #0A8FD6 0%, #1E63F0 55%, #6A4CF0 100%);
  --conseil: linear-gradient(135deg, #5BF0FF 0%, #1E8BFF 100%);
  --rayon: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 1.0625rem; line-height: 1.6; color: var(--texte); background: #FFFFFF; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lien); }
a:hover { color: var(--action-f); }
:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; }
h1, h2, h3 { color: var(--nuit); font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; }
.wrap { width: 100%; max-width: 84rem; margin: 0 auto; padding: 0 1.25rem; }
.evitement { position: absolute; left: -9999px; }
.evitement:focus { left: 1rem; top: 1rem; background: #FFFFFF; padding: .5rem 1rem; z-index: 50; border-radius: 8px; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- En-tête superposé à la photo ---------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; padding-bottom: 1rem; }
.logo { display: inline-flex; align-items: center; text-decoration: none; filter: drop-shadow(0 2px 10px rgba(10,20,40,0.25)); }
.logo img { height: 2.7rem; width: auto; }
.logo:hover { color: #FFFFFF; }
.nav-bureau { display: none; }
.menu-mobile { position: relative; }
.menu-mobile > summary { list-style: none; display: block; width: 2.9rem; height: 2.9rem; line-height: 2.9rem; text-align: center; border-radius: 50%; background: #FFFFFF; color: var(--nuit); cursor: pointer; }
.menu-mobile > summary svg { display: inline-block; vertical-align: middle; }
.menu-mobile > summary::-webkit-details-marker { display: none; }
.menu-mobile nav { position: absolute; right: 0; top: 3.4rem; width: 15rem; background: #FFFFFF; border-radius: 20px; padding: .5rem; box-shadow: 0 18px 40px rgba(21,32,51,0.2); display: flex; flex-direction: column; }
.menu-mobile nav a { color: var(--nuit); text-decoration: none; font-weight: 700; padding: .75rem 1rem; border-radius: 12px; }
.menu-mobile nav a:hover, .menu-mobile nav a[aria-current] { background: var(--ciel-puce); }

/* ---------- Visuel de tête ---------- */
.tete-visuel { position: relative; height: 25rem; background: var(--bande); overflow: hidden; }
.tete-visuel img, .tete-visuel picture { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; }
.tete-visuel img { object-fit: cover; }
.tete-visuel::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 7rem; background: linear-gradient(180deg, rgba(10,20,40,0.35), rgba(10,20,40,0)); }
.tete-visuel.sans-photo { height: 17rem; background: var(--reflet), var(--bande); }
.tete-visuel.sans-photo::after { display: none; }

/* Carte titre décalée */
.carte-titre { position: relative; z-index: 2; margin: -7rem 1rem 0; background: #FFFFFF; border-radius: var(--rayon); padding: 1.4rem 1.25rem; transform: rotate(-0.8deg); box-shadow: 0 18px 40px rgba(21,32,51,0.16); display: flex; flex-direction: column; gap: .7rem; }
.carte-titre h1 { margin: 0; font-size: 1.9rem; font-size: clamp(1.9rem, 7vw, 3.6rem); }
.carte-titre .chapo { margin: 0; font-size: 1.1rem; line-height: 1.5; color: var(--texte); }
.signature { font-size: .9rem; color: var(--gris); margin: 0; }
.signature a { font-weight: 700; text-decoration: none; }
.ariane ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; font-size: .85rem; font-weight: 600; color: var(--gris); }
.ariane li + li::before { content: "/"; margin: 0 .45rem; color: var(--trait); }
.ariane a { color: var(--gris); text-decoration: none; }
.kicker { font-size: .85rem; font-weight: 700; color: var(--gris); margin: 0; }
.statut { align-self: flex-start; padding: .2rem .7rem; border-radius: 999px; background: #FDECEC; color: #8A1C1C; font-size: .85rem; font-weight: 700; }
.apercu { background: #FFF4E5; border: 1px solid #F1C48F; color: #7A4410; font-size: .9rem; padding: .5rem .75rem; border-radius: 10px; }

/* ---------- Mise en page article ---------- */
.page-article { padding-bottom: 1rem; }
.grille-article { display: flex; flex-direction: column; gap: 2rem; margin-top: 2rem; }
.colonne-cote { display: flex; flex-direction: column; gap: 1.75rem; }
.corps { font-size: 1.0625rem; line-height: 1.7; }
.corps > :first-child { margin-top: 0; }
.corps h2 { font-size: 1.7rem; margin: 2.25rem 0 .75rem; scroll-margin-top: 1rem; }
.corps h3 { font-size: 1.25rem; margin: 1.75rem 0 .5rem; }
.corps p { margin: 0 0 1rem; max-width: 70ch; }
.corps ul:not([class]) { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.corps ul:not([class]) li { position: relative; padding-left: 2.1rem; margin: .55rem 0; max-width: 68ch; }
.corps ul:not([class]) li::before { content: ""; position: absolute; left: 0; top: .3rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--t2); }
.corps ul:not([class]) li:nth-child(3n+1)::before { background: var(--t1); }
.corps ul:not([class]) li:nth-child(3n)::before { background: var(--t3); }
.corps ol { padding-left: 1.4rem; margin: 0 0 1.25rem; }
.corps ol li { margin: .45rem 0; padding-left: .3rem; }
.corps ol li::marker { color: var(--action); font-weight: 900; }
.corps strong { color: var(--nuit); }
.corps picture, .corps > p > img { display: block; margin: 1.5rem 0; }
.corps picture img, .corps img { border-radius: 20px; width: 100%; }

/* Tuiles (L'essentiel, En bref) */
.tuiles-titre { margin: 0 0 .75rem; font-size: 1.3rem; }
.tuiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin: 0; }
.tuile { border-radius: 18px; padding: .9rem 1rem; display: flex; flex-direction: column; gap: .15rem; color: var(--nuit); background: var(--reflet), var(--t1); }
.tuile:nth-child(2) { background: var(--reflet), var(--t2); transform: translateY(.75rem); }
.tuile:nth-child(3) { background: var(--reflet), var(--t3); }
.tuile:nth-child(4) { background: var(--reflet), var(--t4); transform: translateY(.75rem); }
.tuile dt { font-size: .8rem; font-weight: 700; }
.tuile dd { margin: 0; font-weight: 900; font-size: 1.05rem; line-height: 1.25; letter-spacing: -0.01em; }
.tuiles-plus { margin: 1.5rem 0 0; padding: 0; list-style: none; font-size: .95rem; }
.tuiles-plus li { padding: .5rem 0; border-top: 1px solid var(--trait); }
.tuiles-plus strong { color: var(--nuit); }

/* Sommaire : carte dépliable, numéros dans les dégradés des tuiles */
.sommaire { background: var(--ciel-pale); border-radius: 20px; padding: 0; overflow: hidden; }
.sommaire summary { list-style: none; cursor: pointer; display: block; padding: .95rem 1rem .95rem 1.2rem; }
.sum-ligne { display: flex; align-items: center; gap: .6rem; }
.sommaire summary::-webkit-details-marker { display: none; }
.sommaire-titre { font-weight: 900; font-size: 1.1rem; color: var(--nuit); }
.sommaire-nb { font-size: .85rem; font-weight: 600; color: var(--gris); }
.sommaire ol, .feuille ol { list-style: none; position: relative; margin: 0; padding: .1rem 1.1rem 1.2rem 2.7rem; display: flex; flex-direction: column; gap: .7rem; }
.sommaire ol::before, .feuille ol::before { content: ""; position: absolute; left: 1.4rem; top: .45rem; bottom: 1.6rem; width: 3px; border-radius: 2px; background: linear-gradient(180deg, #5BF0FF 0%, #1E8BFF 50%, #8A72FF 100%); }
.sommaire li, .feuille li { position: relative; }
.sommaire li::before, .feuille li::before { content: ""; position: absolute; left: calc(-1.3rem + 1.5px); top: .42em; width: 9px; height: 9px; transform: translateX(-50%); border-radius: 50%; background: #FFFFFF; border: 2px solid #9FB7D6; box-sizing: border-box; transition: all .2s ease; }
.sommaire li.actif::before, .feuille li.actif::before { width: 15px; height: 15px; top: .22em; border: 3px solid #1E8BFF; box-shadow: 0 0 0 4px rgba(30,139,255,0.18); }
.sommaire a, .feuille a { color: var(--texte); text-decoration: none; font-weight: 600; line-height: 1.35; }
.sommaire li.actif a, .feuille li.actif a { color: var(--nuit); font-weight: 900; }
.sommaire a:hover { color: var(--lien); text-decoration: underline; }

/* Bouton de dépliage commun au sommaire et à la FAQ */
.depli { margin-left: auto; flex-shrink: 0; position: relative; width: 2rem; height: 2rem; border-radius: 50%; background: #FFFFFF; box-shadow: 0 2px 8px rgba(21,32,51,0.12); transition: transform .2s ease; }
.depli::before, .depli::after { content: ""; position: absolute; left: 50%; top: 50%; width: .8rem; height: 2.5px; margin: -1.25px 0 0 -.4rem; border-radius: 2px; background: var(--nuit); }
.depli::after { transform: rotate(90deg); transition: transform .2s ease; }
details[open] > summary .depli { transform: rotate(180deg); }
details[open] > summary .depli::after { transform: rotate(0deg); }
summary:focus-visible { outline: 3px solid var(--action); outline-offset: -3px; border-radius: 20px; }

.a-lire-titre { margin: 0 0 .6rem; font-size: 1.05rem; font-weight: 900; color: var(--nuit); }
.puces { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.puces a, .puces span { display: inline-block; background: var(--ciel-pale); color: var(--nuit); text-decoration: none; border-radius: 999px; padding: .55rem .9rem; font-weight: 600; font-size: .92rem; }
.puces a:hover { background: var(--ciel-puce); }
.puces .a-venir { background: transparent; border: 1.5px dashed #9AA6B8; color: var(--gris); }

/* Conseil de DLPgo */
.conseil { margin: 2rem 0; border-radius: 22px; padding: 1.3rem 1.4rem; background: var(--reflet), var(--conseil); color: var(--nuit); transform: rotate(-1.2deg); max-width: 40rem; }
.conseil-titre { display: block; font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .35rem; }
.conseil p { margin: 0; font-weight: 700; font-size: 1.2rem; line-height: 1.35; color: var(--nuit); }
.conseil a { color: var(--nuit); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: rgba(21,32,51,0.35); }
.conseil a:hover { text-decoration-color: var(--nuit); }

/* Modules de conversion */
.module { margin: 2rem 0; border-radius: 24px; padding: 1.4rem 1.5rem; background: var(--reflet), var(--bande); color: #FFFFFF; display: flex; flex-direction: column; gap: .9rem; align-items: flex-start; }
.module-titre { margin: 0; font-weight: 900; font-size: 1.35rem; line-height: 1.2; letter-spacing: -0.02em; color: #FFFFFF; }
.module .cta { display: inline-block; background: #FFFFFF; color: var(--nuit); text-decoration: none; font-weight: 800; padding: .8rem 1.3rem; border-radius: 999px; }
.module .cta:hover { background: var(--ciel-puce); color: var(--nuit); }
.module-reseau { background: var(--ciel-pale); color: var(--nuit); }
.module-reseau .module-titre { color: var(--nuit); }
.module-reseau .cta { background: var(--action); color: #FFFFFF; }
.module-reseau .cta:hover { background: var(--action-f); color: #FFFFFF; }

/* FAQ : questions en cartes, bouton + / − coloré à tour de rôle */
.faq h2 { font-size: 1.7rem; margin: 2.5rem 0 1rem; }
.faq details { background: var(--ciel-pale); border-radius: 18px; margin-bottom: .65rem; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: block; padding: 1rem 1rem 1rem 1.2rem; font-weight: 800; color: var(--nuit); }
.faq .sum-ligne { gap: .9rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq .depli { background: var(--reflet), var(--t1); box-shadow: none; }
.faq details:nth-of-type(4n+2) .depli { background: var(--reflet), var(--t2); }
.faq details:nth-of-type(4n+3) .depli { background: var(--reflet), var(--t3); }
.faq details:nth-of-type(4n) .depli { background: var(--reflet), var(--t4); }
.faq-rep { padding: 0 1.2rem 1.1rem; }
.faq-rep p { margin: 0; }

/* Historique */
.historique h2 { font-size: 1.7rem; margin: 2.5rem 0 1rem; }
.historique ol { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--ciel-puce); }
.historique li { padding: 0 0 .9rem 1.2rem; position: relative; }
.historique li::before { content: ""; position: absolute; left: -9px; top: .35rem; width: 15px; height: 15px; border-radius: 50%; background: var(--t2); }
.historique strong { display: block; color: var(--nuit); }

/* Relais réseau */
.relais { margin: 2.5rem 0 0; padding: 1.2rem 0 0; border-top: 1px solid var(--trait); }
.relais-titre { font-weight: 900; margin: 0 0 .4rem; color: var(--nuit); }
.relais ul { margin: 0; padding-left: 1.1rem; }

/* Listes de fiches */
.liste-fiches { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: .6rem; }
.liste-fiches li { background: var(--ciel-pale); border-radius: 16px; padding: .9rem 1.1rem; display: flex; flex-direction: column; gap: .1rem; }
.liste-fiches a { font-weight: 800; color: var(--nuit); text-decoration: none; }
.liste-fiches a:hover { color: var(--lien); }
.liste-meta { font-size: .88rem; color: var(--gris); }

/* ---------- Accueil ---------- */
.accueil-tete { height: 30rem; }
.carte-une { position: relative; z-index: 2; margin: -9.5rem 1rem 0; background: #FFFFFF; border-radius: 26px; padding: 1.6rem 1.35rem 1.35rem; transform: rotate(-1deg); box-shadow: 0 18px 40px rgba(21,32,51,0.18); display: flex; flex-direction: column; gap: 1rem; }
.etiquette { align-self: flex-start; background: #5BF0FF; color: var(--nuit); border-radius: 999px; padding: .3rem .8rem; font-weight: 700; font-size: .85rem; }
.carte-une h1 { margin: 0; font-size: 2.1rem; font-size: clamp(2.1rem, 8.5vw, 4.6rem); line-height: .98; letter-spacing: -0.035em; }
.carte-une .chapo { margin: 0; color: var(--texte); font-size: 1.05rem; }
.recherche { display: flex; gap: .5rem; }
.recherche input { flex-grow: 1; min-width: 0; height: 3.3rem; border: 2px solid var(--nuit); border-radius: 999px; padding: 0 1.25rem; font: inherit; font-size: 1rem; color: var(--nuit); }
.recherche button { height: 3.3rem; padding: 0 1.3rem; border: 0; border-radius: 999px; background: var(--action); color: #FFFFFF; font: inherit; font-weight: 800; cursor: pointer; }
.recherche button:hover { background: var(--action-f); }
.section-accueil { padding-top: 3.5rem; }
.section-accueil > h2, .section-tete h2 { margin: 0 0 1.2rem; font-size: 1.8rem; font-size: clamp(1.8rem, 5vw, 3rem); }
.section-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.section-tete a { font-weight: 800; text-decoration: none; }
.portes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; list-style: none; margin: 0; padding: 0; }
.porte { display: flex; flex-direction: column; justify-content: space-between; min-height: 9.5rem; border-radius: 20px; padding: 1.1rem; color: var(--nuit); text-decoration: none; background: var(--reflet), var(--t1); transition: transform .2s ease; }
.porte:hover { color: var(--nuit); transform: translateY(-3px); }
.portes li:nth-child(2) .porte { background: var(--reflet), var(--t2); }
.portes li:nth-child(3) .porte { background: var(--reflet), var(--t3); }
.portes li:nth-child(4) .porte { background: var(--reflet), var(--t4); }
.portes li:nth-child(even) { margin-top: 1.5rem; }
.porte svg { width: 2rem; height: 2rem; }
.porte-nom { font-weight: 900; font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.1; }
.porte-desc { display: none; font-size: .95rem; font-weight: 500; }
.bande-parcs { margin-top: 3.5rem; background: var(--reflet), var(--bande); padding: 2.2rem 0 2.8rem; }
.bande-parcs h2 { color: #FFFFFF; margin: 0 0 1.2rem; font-size: 1.8rem; font-size: clamp(1.8rem, 5vw, 3rem); }
.parcs { display: grid; gap: 1rem; }
.parc { background: #FFFFFF; border-radius: 24px; padding: 1.4rem; display: flex; flex-direction: column; gap: .9rem; }
.parc h3 { margin: 0; font-size: 1.7rem; }
.parc .puces span:not(.a-venir) { background: var(--ciel-puce); }
.parc-lien { font-weight: 800; text-decoration: none; }
.une-attractions { display: flex; gap: 1rem; overflow-x: auto; padding: 0 0 .5rem; scroll-snap-type: x mandatory; list-style: none; margin: 0; }
.une-attractions li { flex: 0 0 72%; scroll-snap-align: start; }
.une-attractions li:nth-child(2) { margin-top: 1.75rem; }
.fiche-carte { display: flex; flex-direction: column; gap: .6rem; text-decoration: none; color: var(--nuit); }
.fiche-carte:hover { color: var(--lien); }
.fiche-visuel { position: relative; display: block; width: 100%; height: 0; padding-top: 120%; border-radius: 20px; overflow: hidden; background: var(--reflet), var(--t4); }
.fiche-visuel img, .fiche-visuel picture { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; }
.fiche-visuel img { object-fit: cover; }
.fiche-visuel-nom { position: absolute; left: 0; bottom: 0; padding: 1rem; font-weight: 900; font-size: 1.3rem; color: var(--nuit); }
.fiche-pastilles { display: flex; flex-wrap: wrap; gap: .4rem; }
.pastille { background: var(--ciel-pale); border-radius: 999px; padding: .25rem .7rem; font-size: .8rem; font-weight: 700; color: var(--nuit); }
.pastille-menthe { background: #8DF5DC; }
.fiche-nom { font-weight: 900; font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.15; }
.preparer { display: grid; gap: 2rem; }
.preparer .puces a { border-radius: 14px; padding: .8rem 1rem; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--nuit); color: #C3CCDA; padding: 2rem 0; font-size: .92rem; margin-top: 4rem; }
.footer-inner { display: flex; flex-direction: column; gap: 1rem; }
.footer-logo { margin: 0 0 .6rem !important; }
.footer-logo img { height: 2.4rem; width: auto; }
.site-footer p { margin: 0; max-width: 42rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.site-footer a { color: #FFFFFF; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #FFFFFF; }

/* Recherche */
.resultats { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .75rem; }
.resultats li { background: var(--ciel-pale); border-radius: 18px; padding: 1rem 1.2rem; }
.resultats a { font-weight: 800; font-size: 1.15rem; color: var(--nuit); text-decoration: none; }
.resultats p { margin: .25rem 0 0; color: var(--texte); font-size: .95rem; }

/* ---------- Écrans larges ---------- */
@media (min-width: 48rem) {
  .wrap { padding: 0 2.5rem; }
  .tete-visuel { height: 35rem; }
  .tete-visuel.sans-photo { height: 22rem; }
  .carte-titre { margin: -10.5rem 0 0 2.5rem; max-width: 58rem; padding: 2.2rem 2.6rem; }
  .accueil-tete { height: 47rem; }
  .carte-une { margin: -14rem 0 0 2.5rem; max-width: 52rem; padding: 2.6rem 3rem 2.4rem; }
  .portes { gap: 1.25rem; }
  .portes li:nth-child(even) { margin-top: 2rem; }
  .porte { min-height: 17rem; padding: 1.75rem; border-radius: 24px; }
  .porte svg { width: 2.5rem; height: 2.5rem; }
  .porte-nom { font-size: 1.75rem; }
  .porte-desc { display: block; }
  .bande-parcs { padding: 4.5rem 0 6.5rem; }
  .parcs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
  .parc { padding: 2.5rem; border-radius: 28px; }
  .parc h3 { font-size: 2.6rem; }
  .parcs .parc:nth-child(2) { margin-top: 2.25rem; }
  .une-attractions { overflow: visible; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem; }
  .une-attractions li:nth-child(2) { margin-top: 3rem; }
  .une-attractions li:nth-child(3) { margin-top: 1rem; }
  .preparer { grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: start; }
  .preparer .conseil { margin-top: 2.5rem; }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 64rem) {
  .nav-bureau { display: flex; align-items: center; gap: .25rem; background: #FFFFFF; border-radius: 999px; padding: .35rem; }
  .nav-bureau a { color: var(--nuit); text-decoration: none; font-weight: 600; font-size: .95rem; padding: .6rem 1rem; border-radius: 999px; }
  .nav-bureau a:hover, .nav-bureau a[aria-current] { background: var(--ciel-puce); }
  .nav-bureau .nav-recherche { width: 2.6rem; height: 2.6rem; padding: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--nuit); color: #FFFFFF; }
  .nav-bureau .nav-recherche:hover { background: var(--action); color: #FFFFFF; }
  .menu-mobile { display: none; }
  .header-inner { padding-top: 1.75rem; }
  .logo img { height: 3.4rem; }
  .grille-article { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; gap: 4.5rem; margin-top: 4rem; align-items: start; }
  .grille-article .corps-zone { grid-column: 1; grid-row: 1; }
  .colonne-cote { grid-column: 2; grid-row: 1; position: -webkit-sticky; position: sticky; top: 1.5rem; }
  .colonne-cote .tuiles { grid-template-columns: 1fr; }
  .colonne-cote .tuile:nth-child(even) { transform: none; margin-left: 1.1rem; }
  .corps { font-size: 1.125rem; }
  .corps h2 { font-size: 2.1rem; }
}

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

/* ---------- Carte IGN et vue à 360° ---------- */
.carte-section h2 { font-size: 1.7rem; margin: 2.5rem 0 1rem; }
.carte-bloc { position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 18px 40px rgba(21,32,51,0.16); }
.carte { height: 22rem; background: var(--reflet), var(--t1); display: flex; align-items: center; justify-content: center; }
.carte-attente { color: var(--nuit); font-weight: 700; }
.couches { position: absolute; top: 12px; right: 12px; z-index: 500; display: flex; gap: 4px; background: #FFFFFF; border-radius: 999px; padding: 4px; box-shadow: 0 6px 18px rgba(21,32,51,0.18); }
.couches button { border: 0; background: transparent; font: inherit; font-weight: 700; font-size: .85rem; color: var(--nuit); padding: .45rem .85rem; border-radius: 999px; cursor: pointer; }
.couches button[aria-pressed="true"] { background: var(--nuit); color: #FFFFFF; }
.repere { position: relative; width: 44px; height: 44px; }
.repere-point { position: absolute; top: 6px; right: 6px; bottom: 6px; left: 6px; border-radius: 50%; background: var(--t1); border: 4px solid #FFFFFF; box-shadow: 0 4px 14px rgba(0,0,0,0.35); }
.repere-onde { position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: 50%; border: 3px solid #5BF0FF; animation: onde 2s ease-out infinite; }
.repere-proche { display: block; width: 18px; height: 18px; border-radius: 50%; background: #FFFFFF; border: 4px solid var(--nuit); box-shadow: 0 2px 8px rgba(0,0,0,0.35); cursor: pointer; }
@keyframes onde { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.leaflet-tooltip.etiquette-attraction { background: #FFFFFF; color: var(--nuit); border: 0; border-radius: 999px; padding: .35rem .8rem; font-family: "Figtree", system-ui, sans-serif; font-weight: 800; font-size: .85rem; box-shadow: 0 6px 18px rgba(21,32,51,0.25); }
.leaflet-tooltip.etiquette-attraction::before { display: none; }
.leaflet-control-attribution { font-size: 10px; }
.leaflet-control-zoom { border: 0 !important; box-shadow: 0 6px 18px rgba(21,32,51,0.18) !important; border-radius: 14px !important; overflow: hidden; }
.leaflet-control-zoom a { color: var(--nuit) !important; }
.proximite { margin-top: 1.25rem; }
.proximite small { color: var(--gris); font-weight: 600; }
.sv { margin-top: 1.5rem; border-radius: 24px; overflow: hidden; }
.sv-facade { background: var(--reflet), var(--bande); color: #FFFFFF; padding: 1.3rem; display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.2rem; align-items: center; }
.sv-medaillon { width: 4rem; height: 4rem; border-radius: 50%; background: #FFFFFF; color: #1E63F0; display: flex; align-items: center; justify-content: center; }
.sv-medaillon svg { width: 2.2rem; height: 2.2rem; }
.sv-texte { display: flex; flex-direction: column; gap: .2rem; }
.sv-texte strong { font-size: 1.25rem; font-weight: 900; letter-spacing: -0.01em; line-height: 1.2; }
.sv-texte small { font-size: .78rem; opacity: .92; }
.sv-bouton { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: .55rem; border: 0; background: #FFFFFF; color: var(--nuit); font: inherit; font-weight: 800; padding: .8rem 1.25rem; border-radius: 999px; cursor: pointer; }
.sv-bouton svg { width: 1.25rem; height: 1.25rem; }
.sv-bouton:hover { background: var(--ciel-puce); }
@media (min-width: 48rem) {
  .sv-facade { grid-template-columns: auto 1fr auto; padding: 1.5rem 1.6rem; }
  .sv-medaillon { width: 5rem; height: 5rem; }
  .sv-medaillon svg { width: 2.7rem; height: 2.7rem; }
  .sv-bouton { grid-column: auto; justify-self: end; }
}
.sv.sv-actif { box-shadow: 0 18px 40px rgba(21,32,51,0.16); }
.sv.sv-actif iframe { display: block; width: 100%; height: 22rem; border: 0; }
@supports (aspect-ratio: 1 / 1) { .sv.sv-actif iframe { height: auto; aspect-ratio: 16 / 10; min-height: 22rem; } }
@media (min-width: 48rem) { .carte { height: 26rem; } }
@media (prefers-reduced-motion: reduce) { .repere-onde { animation: none; opacity: .6; } }

/* ---------- Bouton flottant mobile et panneau du sommaire ---------- */
.nav-flottant { position: fixed; right: 1rem; bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px)); z-index: 60; width: 3.6rem; height: 3.6rem; border: 0; padding: 0; border-radius: 50%; background: transparent; color: var(--nuit); cursor: pointer; opacity: 0; transform: translateY(1rem) scale(.9); pointer-events: none; transition: opacity .2s ease, transform .2s ease; filter: drop-shadow(0 6px 16px rgba(21,32,51,0.25)); }
.nav-flottant.visible { opacity: 1; transform: none; pointer-events: auto; }
.nav-anneau { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; }
.nav-piste { fill: #FFFFFF; stroke: #E3EAF3; stroke-width: 5; }
.nav-progres { fill: none; stroke: url(#nav-degrade); stroke-width: 5; stroke-linecap: round; transition: stroke-dashoffset .1s linear; }
.nav-icone { position: relative; width: 1.4rem; height: 1.4rem; }
.feuille { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 70; }
.feuille-fond { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(15,25,45,0.45); opacity: 0; transition: opacity .2s ease; }
.feuille-panneau { position: absolute; left: 0; right: 0; bottom: 0; max-height: 85vh; overflow-y: auto; background: #FFFFFF; border-radius: 28px 28px 0 0; padding: .75rem 1.4rem calc(2rem + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -10px 30px rgba(0,0,0,.15); transform: translateY(100%); transition: transform .22s ease; }
.feuille.ouverte .feuille-fond { opacity: 1; }
.feuille.ouverte .feuille-panneau { transform: none; }
.feuille-poignee { display: block; width: 2.75rem; height: 5px; border-radius: 3px; background: var(--trait); margin: 0 auto 1rem; }
.feuille-tete { display: flex; align-items: center; justify-content: space-between; margin-bottom: .9rem; }
.feuille-titre { margin: 0; font-weight: 900; font-size: 1.35rem; color: var(--nuit); }
.feuille-fermer { width: 2.3rem; height: 2.3rem; border: 0; border-radius: 50%; background: var(--ciel-pale); color: var(--nuit); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.feuille-fermer svg { width: 1rem; height: 1rem; }
.feuille-haut { width: 100%; display: flex; align-items: center; gap: .75rem; border: 0; border-radius: 16px; padding: .85rem 1rem; margin-bottom: 1.25rem; background: var(--reflet), var(--conseil); color: var(--nuit); font: inherit; font-weight: 800; text-align: left; cursor: pointer; }
.feuille-haut svg { width: 1.3rem; height: 1.3rem; flex-shrink: 0; }
.feuille ol { padding-bottom: .4rem; }
.feuille a { font-size: 1.05rem; }
html.feuille-ouverte { overflow: hidden; }
@media (min-width: 64rem) { .nav-flottant, .feuille { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .nav-flottant, .feuille-panneau, .feuille-fond { transition: none; } }
.feuille ol::before { bottom: .75rem; }

/* ---------- Défilement doux vers les sections et repère d'arrivée ----------
   CSS natif, sans script : les navigateurs qui ne gèrent pas le défilement doux
   (anciens iPad notamment) sautent directement, mais affichent quand même le repère. */
html { scroll-behavior: smooth; }
h2[id] { scroll-margin-top: 1.25rem; }
h2[id]:target { animation: repere-section 1.8s ease-out .35s both; border-radius: 10px; }
@keyframes repere-section {
  0% { background-color: rgba(91, 240, 255, 0.55); box-shadow: 0 0 0 .5rem rgba(91, 240, 255, 0.55); }
  100% { background-color: rgba(91, 240, 255, 0); box-shadow: 0 0 0 .5rem rgba(91, 240, 255, 0); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  h2[id]:target { animation: none; background-color: rgba(91, 240, 255, 0.25); box-shadow: 0 0 0 .5rem rgba(91, 240, 255, 0.25); }
}

/* Tuiles d'accueil : quatre colonnes seulement quand la place suffit (pas en tablette paysage) */
@media (min-width: 72rem) {
  .portes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
  .portes li:nth-child(even) { margin-top: 0; }
  .portes li:nth-child(2) { margin-top: 2.5rem; }
  .portes li:nth-child(3) { margin-top: .75rem; }
  .portes li:nth-child(4) { margin-top: 3.25rem; }
  .porte-nom { font-size: 2rem; }
}
.porte-nom { overflow-wrap: break-word; word-wrap: break-word; }

/* ---------- Anciens navigateurs sans espacement flexbox (Safari 12 à 14.0) ----------
   La classe no-flexgap est posée par un test minuscule dans l'en-tête, uniquement si besoin.
   Les navigateurs récents ne sont pas concernés. */
.no-flexgap .carte-titre > * + * { margin-top: .7rem; }
.no-flexgap .carte-une > * + * { margin-top: 1rem; }
.no-flexgap .colonne-cote > * + * { margin-top: 1.75rem; }
.no-flexgap .parc > * + * { margin-top: .9rem; }
.no-flexgap .module > * + * { margin-top: .9rem; }
.no-flexgap .fiche-carte > * + * { margin-top: .6rem; }
.no-flexgap .sv-texte > * + * { margin-top: .2rem; }
.no-flexgap .tuile > * + * { margin-top: .15rem; }
.no-flexgap .sommaire ol > li + li, .no-flexgap .feuille ol > li + li { margin-top: .7rem; }
.no-flexgap .puces > li, .no-flexgap .fiche-pastilles > *, .no-flexgap .site-footer nav > a { margin: 0 .5rem .5rem 0; }
.no-flexgap .recherche button { margin-left: .5rem; }
.no-flexgap .sommaire-nb { margin-left: .6rem; }
.no-flexgap .faq-q { margin-right: .9rem; }
.no-flexgap .couches button + button, .no-flexgap .couches-bo button + button { margin-left: 4px; }
.no-flexgap .feuille-haut svg { margin-right: .75rem; }
.no-flexgap .sv-bouton svg { margin-right: .55rem; }
.no-flexgap .nav-bureau a + a { margin-left: .25rem; }
@media (max-width: 63.99rem) {
  .no-flexgap .grille-article > * + * { margin-top: 2rem; }
  .no-flexgap .footer-inner > * + * { margin-top: 1rem; }
}
@media (max-width: 47.99rem) {
  .no-flexgap .une-attractions > li + li { margin-left: 1rem; }
}
@media (min-width: 64rem) {
  .no-flexgap .footer-inner > * + * { margin-left: 2rem; }
}
/* Tailles de titres pour les navigateurs sans clamp() (Safari 12 et 13.0) */
@supports not (width: clamp(1px, 1px, 1px)) {
  @media (min-width: 48rem) {
    .carte-titre h1 { font-size: 3rem; }
    .carte-une h1 { font-size: 3.8rem; }
    .section-accueil > h2, .section-tete h2, .bande-parcs h2 { font-size: 2.4rem; }
  }
}

/* ---------- Ouverture animée de la FAQ et du sommaire (CSS seul, compatible anciens Safari) ---------- */
@keyframes apparition { from { opacity: 0; -webkit-transform: translateY(-6px); transform: translateY(-6px); } to { opacity: 1; -webkit-transform: none; transform: none; } }
@keyframes rebond {
  0% { -webkit-transform: rotate(0deg) scale(.85); transform: rotate(0deg) scale(.85); }
  60% { -webkit-transform: rotate(200deg) scale(1.12); transform: rotate(200deg) scale(1.12); }
  100% { -webkit-transform: rotate(180deg) scale(1); transform: rotate(180deg) scale(1); }
}
.faq details { transition: box-shadow .3s ease; }
.faq details[open] { box-shadow: 0 8px 22px rgba(21, 32, 51, 0.10); }
.faq details[open] .faq-rep { -webkit-animation: apparition .28s ease-out both; animation: apparition .28s ease-out both; }
.faq details[open] > summary .depli, .sommaire[open] > summary .depli { -webkit-animation: rebond .38s ease-out both; animation: rebond .38s ease-out both; }
.sommaire[open] ol li { -webkit-animation: apparition .26s ease-out both; animation: apparition .26s ease-out both; }
.sommaire[open] ol li:nth-child(2) { -webkit-animation-delay: .03s; animation-delay: .03s; }
.sommaire[open] ol li:nth-child(3) { -webkit-animation-delay: .06s; animation-delay: .06s; }
.sommaire[open] ol li:nth-child(4) { -webkit-animation-delay: .09s; animation-delay: .09s; }
.sommaire[open] ol li:nth-child(5) { -webkit-animation-delay: .12s; animation-delay: .12s; }
.sommaire[open] ol li:nth-child(6) { -webkit-animation-delay: .15s; animation-delay: .15s; }
.sommaire[open] ol li:nth-child(n+7) { -webkit-animation-delay: .18s; animation-delay: .18s; }
@media (prefers-reduced-motion: reduce) {
  .faq details[open] .faq-rep, .faq details[open] > summary .depli, .sommaire[open] > summary .depli, .sommaire[open] ol li { -webkit-animation: none; animation: none; }
  .faq details { transition: none; }
}

/* ---------- Toucher sur iPhone et iPad ----------
   Safari iOS affiche un rectangle sombre sur tout élément touché : on le remplace
   par un retour plus discret (le bouton rond se tasse légèrement). */
a, button, summary, label { -webkit-tap-highlight-color: transparent; }
summary:active .depli, .nav-flottant:active, .feuille-fermer:active, .sv-bouton:active, .cta:active { opacity: .85; }
summary:active .depli { -webkit-transform: scale(.92); transform: scale(.92); }
details[open] > summary:active .depli { -webkit-transform: rotate(180deg) scale(.92); transform: rotate(180deg) scale(.92); }

/* ---------- Hub attractions : lignes avec vignette (mobile), cartes illustrées (ordinateur) ---------- */
.cartes-attr { list-style: none; margin: 1rem 0 2rem; padding: 0; display: grid; grid-gap: .75rem; gap: .75rem; }
.ca { display: flex; align-items: center; gap: .9rem; background: var(--ciel-pale); border-radius: 22px; padding: .6rem .9rem .6rem .6rem; color: var(--nuit); text-decoration: none; }
.ca:hover { color: var(--nuit); }
.ca-visuel { position: relative; flex-shrink: 0; width: 5.5rem; height: 5.5rem; border-radius: 18px; overflow: hidden; display: flex; align-items: center; justify-content: center; color: #FFFFFF; background: var(--reflet), var(--t1); }
.cartes-attr li:nth-child(4n+2) .ca-visuel { background: var(--reflet), var(--t2); }
.cartes-attr li:nth-child(4n+3) .ca-visuel { background: var(--reflet), var(--t3); }
.cartes-attr li:nth-child(4n) .ca-visuel { background: var(--reflet), var(--t4); }
.ca-visuel picture, .ca-visuel img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.ca-visuel img { object-fit: cover; border-radius: 0; margin: 0; }
.ca-visuel svg { width: 2.3rem; height: 2.3rem; }
.ca-texte { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.ca-nom { font-weight: 900; font-size: 1.05rem; line-height: 1.2; letter-spacing: -0.01em; }
.ca-zone { font-size: .82rem; font-weight: 600; color: var(--gris); }
.ca-pastilles { display: flex; flex-wrap: wrap; gap: .35rem; }
.ca-pastilles .pastille { background: #FFFFFF; }
.ca-pastilles .pastille-menthe { background: #8DF5DC; }
.ca-zone-pastille { display: none; }
.ca-fleche { margin-left: auto; flex-shrink: 0; width: 1.1rem; height: 1.1rem; color: var(--lien); }
.no-flexgap .ca-visuel { margin-right: .9rem; }
.no-flexgap .ca-texte > * + * { margin-top: .3rem; }
.no-flexgap .ca-pastilles > * { margin: 0 .35rem .35rem 0; }

@media (min-width: 48rem) {
  .cartes-attr { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-gap: 1.4rem; gap: 1.4rem; }
  .cartes-attr li:nth-child(3n+2) { margin-top: 1.2rem; }
  .ca { position: relative; display: block; height: 18.5rem; padding: 0; overflow: hidden; border-radius: 24px; box-shadow: 0 14px 34px rgba(21,32,51,0.16); transition: -webkit-transform .25s ease, transform .25s ease, box-shadow .25s ease; }
  .ca:hover { -webkit-transform: translateY(-4px); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(21,32,51,0.22); }
  .ca-visuel { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: auto; height: auto; border-radius: 0; display: block; }
  .ca-visuel img { transition: -webkit-transform .5s ease, transform .5s ease; }
  .ca:hover .ca-visuel img { -webkit-transform: scale(1.04); transform: scale(1.04); }
  .ca-photo .ca-visuel::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 62%; background: linear-gradient(180deg, rgba(10,20,40,0) 0%, rgba(10,20,40,0.78) 100%); }
  .ca-sans-photo .ca-visuel svg { position: absolute; right: 1.1rem; top: 1.1rem; width: 2.8rem; height: 2.8rem; opacity: .9; }
  .ca-texte { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.1rem; gap: .5rem; }
  .ca-texte .ca-pastilles { -webkit-box-ordinal-group: 0; order: -1; }
  .ca-nom { font-size: 1.5rem; line-height: 1.12; letter-spacing: -0.02em; }
  .ca-photo .ca-nom { color: #FFFFFF; }
  .ca-zone { display: none; }
  .ca-zone-pastille { display: inline-block; }
  .ca-pastilles .pastille { background: rgba(255,255,255,0.92); }
  .ca-pastilles .pastille-menthe { background: #8DF5DC; }
  .ca-fleche { display: none; }
  .no-flexgap .ca-visuel { margin-right: 0; }
  .no-flexgap .ca-texte > * + * { margin-top: .5rem; }
}
@media (prefers-reduced-motion: reduce) { .ca, .ca-visuel img { transition: none; } .ca:hover, .ca:hover .ca-visuel img { -webkit-transform: none; transform: none; } }
.cartes-attr .ca-visuel picture { display: block; margin: 0; }
.cartes-attr .ca-visuel img { border-radius: 0; margin: 0; }

/* Autres noms d'une attraction (entre Dates clés et FAQ) */
.autres-noms { margin: 2rem 0 0; padding: .9rem 1.1rem; border-radius: 16px; background: var(--ciel-pale); font-size: .95rem; color: var(--gris); }
.autres-noms strong { color: var(--nuit); font-weight: 800; }

/* ---------- Vidéos YouTube : vignette, lecteur chargé au clic ---------- */
.video { margin: 2rem 0; }
.video-facade, .video-cadre { position: relative; display: block; width: 100%; height: 0; padding: 0 0 56.25%; border: 0; border-radius: 22px; overflow: hidden; background: var(--nuit); cursor: pointer; box-shadow: 0 14px 34px rgba(21,32,51,0.16); }
.corps .video-facade picture, .video-facade picture { position: absolute; top: 0; left: 0; width: 100%; height: 100%; margin: 0; display: block; }
.corps .video-facade img, .video-facade img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; margin: 0; transition: -webkit-transform .4s ease, transform .4s ease; }
.video-degrade { position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: linear-gradient(180deg, rgba(10,20,40,0) 0%, rgba(10,20,40,0.75) 100%); }
.video-lecture { position: absolute; left: 50%; top: 50%; width: 4.4rem; height: 3.1rem; margin: -1.55rem 0 0 -2.2rem; border-radius: 14px; background: #FF0000; color: #FFFFFF; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(0,0,0,0.35); transition: -webkit-transform .2s ease, transform .2s ease, background-color .2s ease; }
.video-lecture svg { width: 1.7rem; height: 1.7rem; margin-left: .15rem; }
.video-facade:hover .video-lecture { background: #CC0000; }
.video-titre { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1rem; color: #FFFFFF; font-weight: 900; font-size: 1.15rem; line-height: 1.25; text-align: left; letter-spacing: -0.01em; }
.video-facade:hover img { -webkit-transform: scale(1.03); transform: scale(1.03); }
.video-facade:hover .video-lecture { -webkit-transform: scale(1.08); transform: scale(1.08); }
.video-cadre iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.video-mention { margin: .5rem 0 0; font-size: .8rem; color: var(--gris); }
@media (min-width: 48rem) { .video-titre { font-size: 1.35rem; left: 1.5rem; bottom: 1.25rem; } }
@media (prefers-reduced-motion: reduce) { .video-facade img, .video-lecture { transition: none; } .video-facade:hover img, .video-facade:hover .video-lecture { -webkit-transform: none; transform: none; } }
.video-cadre > div, .video-cadre > iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
