/*
Theme Name: Base commune
Description: Thème commun à tous les sites (plongée, safari, toutes langues) : fiches, destinations, carte, guides, Stay22. Couleurs et règles propres au sujet : sujets/<sujet>.css.
Text Domain: sp
Version: 0.1.0
Author: Kaviar Creative
*/

/* ------------------------------------------------------------------ */
/* Jetons                                                              */
/* ------------------------------------------------------------------ */
:root {
    --blanc: #ffffff;
    --police-titre: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    --police-texte: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
    --rayon: 14px;
    --entete-hauteur: 64px;
}

/* ------------------------------------------------------------------ */
/* Base                                                                */
/* ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--police-texte);
    font-size: 17px;
    line-height: 1.6;
    color: var(--encre);
    background: var(--blanc);
}
img { max-width: 100%; height: auto; display: block; }
iframe, video, svg { max-width: 100%; }
body { overflow-x: clip; }
a { color: var(--bleu); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--bleu-profond); }
h1, h2, h3, h4 { font-family: var(--police-titre); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--bleu-profond); }
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
dl { margin: 0; }
:focus-visible { outline: 3px solid var(--lagon); outline-offset: 2px; }
.sp-evitement { position: absolute; left: -999px; top: 8px; background: var(--blanc); padding: 8px 12px; z-index: 100; }
.sp-evitement:focus { left: 8px; }
.sp-contenant { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.sp-ico svg { width: 22px; height: 22px; vertical-align: -5px; margin-right: 8px; color: var(--turquoise); }
.sp-ext { cursor: pointer; }
small { font-size: .85em; color: var(--gris); }

/* ------------------------------------------------------------------ */
/* En-tête                                                             */
/* ------------------------------------------------------------------ */
.sp-entete { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ligne); }
.sp-entete__ligne { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--entete-hauteur); flex-wrap: wrap; }
.sp-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--bleu-profond); font-family: var(--police-titre); font-weight: 700; font-size: 1.25rem; }
.sp-nav__bouton { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--ligne); border-radius: 10px; padding: 8px 12px; font: inherit; font-size: .95rem; cursor: pointer; }
.sp-nav__barres { width: 18px; height: 2px; background: var(--encre); box-shadow: 0 -6px 0 var(--encre), 0 6px 0 var(--encre); }
.sp-nav { display: none; width: 100%; }
.sp-nav > .sp-lang { display: none; }
/* Le sélecteur de langue et de devise, dans la charte du site : le déclencheur comme un lien du menu (icône verte,
   "FR · €"), sur mobile comme le bouton du menu à côté duquel il se tient ; le panneau comme une carte, ses intitulés comme
   ceux de l'encart, les langues comme les liens du menu, les devises comme les pastilles (la choisie pleine, comme le pays). */
.sp-lang { position: relative; display: inline-block; }
.sp-lang > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 8px; font-weight: 600; color: var(--encre); user-select: none; }
.sp-lang > summary::-webkit-details-marker { display: none; }
.sp-lang > summary:hover, .sp-lang[open] > summary { background: var(--ecume); color: var(--bleu); }
.sp-lang__devise::before { content: "\00b7"; margin-right: 7px; color: var(--gris); font-weight: 400; }
.sp-lang__chevron { color: var(--gris); transition: transform .2s; }
.sp-lang[open] .sp-lang__chevron { transform: rotate(180deg); }
.sp-lang__panneau { position: absolute; z-index: 60; top: calc(100% + 8px); right: 0; min-width: 13rem; max-width: calc(100vw - 2rem); padding: 10px; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); box-shadow: var(--ombre); }
.sp-lang__titre { margin: 0; padding: 4px 10px 6px; font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; color: var(--gris); font-weight: 700; }
.sp-lang__menu { margin: 0; padding: 0; list-style: none; }
.sp-lang__item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-weight: 600; color: var(--encre); text-decoration: none; white-space: nowrap; }
.sp-lang__item:hover, .sp-lang__item:focus-visible { background: var(--ecume); color: var(--bleu); }
.sp-lang__item.est-courante { color: var(--bleu); }
.sp-lang__drapeau { flex: none; width: 21px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.sp-lang__nom { flex: 1 1 auto; }
.sp-lang__coche { flex: none; margin-left: auto; color: var(--turquoise); }
.sp-lang--double .sp-lang__panneau { width: 19rem; }
.sp-lang--double .sp-lang__menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.sp-lang--double .sp-lang__coche { display: none; }
.sp-lang--double .sp-lang__item.est-courante { background: var(--ecume); }
.sp-lang__menu + .sp-devise { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--ligne); }
.sp-devise__groupe { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 10px 4px; }
.sp-devise__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 3rem; padding: 5px 12px; border-radius: 999px; background: var(--blanc); border: 1px solid var(--ligne); color: var(--bleu-profond); font: inherit; font-weight: 600; font-size: .88rem; line-height: 1.2; cursor: pointer; }
.sp-devise__btn:hover { background: var(--bleu-clair); border-color: var(--bleu-clair); }
.sp-devise__btn:focus-visible { outline: 2px solid var(--turquoise); outline-offset: 2px; }
.sp-devise__btn[aria-checked="true"] { background: var(--turquoise); border-color: var(--turquoise); color: var(--blanc); }
.sp-lang--compact { margin-left: auto; }
.sp-lang--compact > summary { border: 1px solid var(--ligne); border-radius: 10px; padding: 8px 12px; font-size: .95rem; }
.sp-lang--compact .sp-nav__ico, .sp-lang--compact .sp-lang__chevron { display: none; }
.sp-prix--converti { white-space: nowrap; }
@media (max-width: 419px) {
    /* un petit écran : le bouton du menu garde son icône (son nom reste lu par les lecteurs d'écran), l'en-tête tient sur une ligne */
    .sp-entete__ligne { gap: 8px; }
    .sp-nav__bouton > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .sp-nav__bouton { padding: 8px 10px; min-height: 38px; }
    .sp-lang--compact > summary { padding: 7px 9px; gap: 5px; font-size: .88rem; min-height: 38px; }
    .sp-lang--compact .sp-lang__devise::before { margin-right: 5px; }
}
.sp-nav.est-ouvert { display: block; }
.sp-nav__liste { list-style: none; margin: 0; padding: 8px 0 12px; display: flex; flex-direction: column; gap: 4px; }
.sp-nav__liste a { display: flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 8px; text-decoration: none; font-weight: 600; color: var(--encre); }
.sp-nav__liste a:hover { background: var(--ecume); color: var(--bleu); }
.sp-nav__ico { display: inline-flex; color: var(--turquoise); }
.sp-nav__ico svg { width: 18px; height: 18px; }
@media (min-width: 1024px) {
    .sp-nav__bouton { display: none; }
    .sp-nav { display: flex; align-items: center; gap: 14px; width: auto; }
    .sp-nav > .sp-lang { display: inline-block; }
    .sp-lang--compact { display: none; }
    .sp-nav__liste { flex-direction: row; gap: 2px; padding: 0; }
    .sp-nav__liste a { padding: 8px 12px; }
}

/* ------------------------------------------------------------------ */
/* Bandeau                                                             */
/* ------------------------------------------------------------------ */
.sp-hero__contenu { position: relative; z-index: 2; padding: 36px 0 32px; }
.sp-hero--image { min-height: 380px; display: flex; align-items: flex-end; }
.sp-hero--image .sp-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.sp-hero--image .sp-hero__contenu { width: 100%; padding-top: 120px; }
.sp-hero__titre { color: var(--blanc); margin-bottom: .25em; text-wrap: balance; }
.sp-hero__sous-titre { font-size: 1.15rem; max-width: 720px; margin-bottom: .5em; opacity: .95; }
.sp-hero__puces { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.sp-hero__puces > * { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); padding: 4px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; letter-spacing: .02em; color: var(--blanc); text-decoration: none; }
.sp-hero__puces a:hover, .sp-hero__puces a:focus-visible { background: rgba(255, 255, 255, .32); color: var(--blanc); }
.sp-hero__puce--pays { background: var(--turquoise); border-color: var(--turquoise); }
.sp-drapeau { display: inline-block; width: 21px; height: 15px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .18); vertical-align: -2px; margin-right: 7px; }
.sp-drapeau--grand { width: 28px; height: 20px; vertical-align: -3px; margin-right: 9px; }
.sp-hero__puces .sp-drapeau { margin-right: 8px; vertical-align: -3px; }
/* Ligne "Pays" de l'encart : deux pastilles, le pays avec son drapeau puis la zone. */
.sp-encart__lieux { display: flex; flex-wrap: wrap; gap: 6px; }
.sp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--blanc); border: 1px solid var(--ligne); color: var(--bleu-profond); font-weight: 600; font-size: .88rem; line-height: 1.2; text-decoration: none; transition: background .15s, border-color .15s; }
.sp-chip:hover { background: var(--bleu-clair); border-color: var(--bleu-clair); text-decoration: none; }
.sp-chip--pays { background: var(--turquoise); border-color: var(--turquoise); color: var(--blanc); }
.sp-chip .sp-drapeau { margin: 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, .4); }
.sp-hero__puces a.sp-hero__puce--pays:hover { background: var(--bleu); border-color: var(--bleu); }
.sp-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
/* Bouton "©" posé sur une image : il ouvre la modale des crédits. */
.sp-credit-btn { position: absolute; z-index: 3; width: 26px; height: 26px; border-radius: 50%; border: 0; padding: 0; background: rgba(0, 0, 0, .45); color: #fff; font: 700 .9rem/1 inherit; font-family: inherit; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(2px); transition: background .15s ease; }
.sp-credit-btn:hover, .sp-credit-btn:focus-visible { background: rgba(0, 0, 0, .75); }
.sp-hero__credit { right: 14px; bottom: 12px; }
.sp-galerie__credit { right: 10px; bottom: 10px; }
.sp-modale { border: 0; border-radius: 14px; padding: 0; width: min(640px, calc(100vw - 32px)); box-shadow: 0 24px 60px rgba(0, 0, 0, .28); color: var(--bleu-profond); }
.sp-modale::backdrop { background: rgba(10, 30, 50, .55); }
.sp-modale__corps { position: relative; padding: 24px 24px 20px; max-height: 80vh; overflow: auto; }
.sp-modale__fermer { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--gris-clair); color: var(--bleu-profond); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.sp-modale__titre { margin: 0 40px 14px 0; font-size: 1.25rem; }
.sp-credits { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sp-credits__item { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 10px; border: 1px solid var(--ligne); }
.sp-credits__item.est-cible { background: var(--ecume); border-color: var(--turquoise); }
.sp-credits__vignette { width: 72px; height: 48px; object-fit: cover; border-radius: 6px; flex: none; }
.sp-credits__legende { margin: 0 0 2px; font-size: .9rem; }
.sp-credits__auteur { margin: 0; font-size: .84rem; color: var(--gris); }
.sp-credits__pied { margin: 14px 0 0; font-size: .8rem; color: var(--gris); }
.sp-hero--accueil { min-height: 520px; }
@media (min-width: 768px) { .sp-hero--image { min-height: 460px; } .sp-hero--accueil { min-height: 600px; } }

/* ------------------------------------------------------------------ */
/* Fil d'Ariane, boutons, puces                                        */
/* ------------------------------------------------------------------ */
.sp-fil { font-size: .88rem; padding: 12px 0 10px; color: var(--gris); }
.sp-fil ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sp-fil li + li::before { content: "›"; margin-right: 6px; color: var(--gris); }
.sp-fil a { color: var(--gris); text-decoration: none; }
.sp-fil a:hover { color: var(--bleu); text-decoration: underline; }
.sp-bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 2px solid transparent; font-size: 1rem; line-height: 1.2; transition: background .15s, color .15s, border-color .15s; }
.sp-bouton svg { width: 18px; height: 18px; }
.sp-bouton--plein { background: var(--bleu); color: var(--blanc); }
.sp-bouton--plein:hover { background: var(--bleu-profond); color: var(--blanc); }
.sp-bouton--accent { background: var(--lagon); color: var(--bleu-profond); }
.sp-bouton--accent:hover { background: var(--lagon-sombre); color: var(--blanc); }
.sp-bouton--contour { background: transparent; color: var(--bleu); border-color: var(--bleu); }
.sp-bouton--contour:hover { background: var(--bleu-clair); }
.sp-bouton--clair { background: rgba(255, 255, 255, .14); color: var(--blanc); border-color: rgba(255, 255, 255, .6); }
.sp-bouton--clair:hover { background: rgba(255, 255, 255, .26); color: var(--blanc); }
.sp-puce { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--ecume); border: 1px solid var(--ligne); color: var(--bleu-profond); text-decoration: none; font-size: .92rem; font-weight: 600; }
.sp-puce:hover { background: var(--bleu-clair); }
.sp-puce--accent { background: var(--bleu); color: var(--blanc); border-color: var(--bleu); }
.sp-puce--accent:hover { background: var(--bleu-profond); color: var(--blanc); }

/* ------------------------------------------------------------------ */
/* Grilles et cartes                                                   */
/* ------------------------------------------------------------------ */
.sp-grille { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); margin: 0 0 8px; }
@media (min-width: 600px) { .sp-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .sp-grille--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sp-grille--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Vignette : la photo porte le pays, le type, le titre et la zone ; le corps donne les repères avec leurs icônes. */
.sp-carte__lien { display: block; color: inherit; text-decoration: none; height: 100%; }
.sp-carte__media { position: relative; aspect-ratio: 3 / 2; background: var(--bleu-clair); overflow: hidden; }
.sp-carte__image { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.sp-carte:hover .sp-carte__image { transform: scale(1.05); }
.sp-carte__vide { width: 100%; height: 100%; display: grid; place-items: center; color: var(--bleu); }
.sp-carte__vide svg { width: 44px; height: 44px; opacity: .5; }
.sp-carte__haut { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 2; display: flex; align-items: center; gap: 8px; }
.sp-carte__pays .sp-drapeau { margin: 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); }
.sp-carte__type { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 10px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: var(--bleu-profond); font-size: .76rem; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.sp-carte__type svg { width: 14px; height: 14px; }
.sp-carte__numero { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--lagon); color: var(--bleu-profond); font-weight: 800; display: grid; place-items: center; font-size: .9rem; }
.sp-carte__sur-image { position: absolute; left: 15px; right: 15px; bottom: 13px; z-index: 2; color: var(--blanc); }
.sp-carte__titre { font-size: 1.22rem; line-height: 1.2; margin: 0; color: var(--blanc); text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.sp-carte__titre .sp-drapeau--grand { box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); }
.sp-carte__zone { display: block; margin-top: 4px; font-size: .82rem; opacity: .88; text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }
.sp-carte__zone--latin { font-style: italic; }
.sp-carte__corps { padding: 13px 16px 15px; }
.sp-carte__ligne { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; font-size: .88rem; color: var(--gris); }
.sp-carte__groupe { display: inline-flex; gap: 12px; flex-wrap: wrap; }
.sp-carte__repere { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.sp-carte__repere svg { width: 15px; height: 15px; flex: none; }
.sp-carte__niveau { font-weight: 700; }
/* Feu tricolore des niveaux, gardé exprès : la couleur dit la difficulté (vert accessible, ambre Advanced, rouge confirmé). */
.sp-carte__niveau--bapteme, .sp-carte__niveau--open_water { color: #1a9a5c; }
.sp-carte__niveau--advanced { color: #d4740e; }
.sp-carte__niveau--confirme, .sp-carte__niveau--tech { color: var(--rouge); }
.sp-ico-niveau { width: 16px; height: 16px; }
.sp-encart__niveau { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.sp-encart__niveau .sp-ico-niveau { width: 18px; height: 18px; }
.sp-carte__pilules { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sp-pilule { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 12px; font-size: .78rem; font-weight: 600; line-height: 1.2; background: var(--gris-clair); color: var(--gris); }
.sp-pilule svg { width: 13px; height: 13px; flex: none; }
.sp-pilule--courant-fort { background: #fbe7e7; color: var(--rouge); }
.sp-pilule--courant-variable { background: var(--gris-clair); color: var(--gris); }
.sp-pilule--courant-faible { background: #e8f6ee; color: #1a7a4c; }
.sp-pilule--visi { background: var(--bleu-clair); color: var(--bleu); }
/* Indice de danger d'un animal : vert inoffensif, lagon précautions, ambre peut blesser, rouge dangereux. */
.sp-danger { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 12px; font-size: .8rem; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.sp-danger svg { width: 14px; height: 14px; flex: none; }
.sp-danger--aucun { background: #e8f6ee; color: #1a7a4c; }
.sp-danger--modere { background: #fdf3e0; color: #a3651a; }
.sp-danger--eleve { background: #fbe7e7; color: var(--rouge); }
.sp-encart__liste dd .sp-danger { margin-bottom: 4px; }
.sp-encart__liste dd .sp-danger + .sp-encart__note { margin-top: 2px; }
.sp-carte__saison { display: grid; gap: 9px; }
.sp-carte__saison .sp-cal--compact { max-width: none; }
.sp-carte__note { margin: 0; font-size: .86rem; line-height: 1.4; color: var(--gris); }
.sp-carte__extrait { margin: 10px 0 0; font-size: .93rem; color: var(--encre); }

/* ------------------------------------------------------------------ */
/* Bandes de l'accueil                                                 */
/* ------------------------------------------------------------------ */
.sp-bande { padding: 44px 0; }
.sp-bande--sable { background: var(--lagon-clair); }
.sp-bande--ecume { background: var(--ecume); }
.sp-bande--sombre { background: var(--bleu-profond); color: var(--blanc); }
.sp-bande--sombre .sp-bande__titre, .sp-bande--sombre a { color: var(--blanc); }
.sp-bande__titre { text-align: center; margin-bottom: 26px; }
.sp-bande__suite { text-align: center; margin: 18px 0 0; font-weight: 700; }
.sp-accueil__intro { max-width: 820px; text-align: center; font-size: 1.12rem; }
/* Centré dans la bande : la prose garde ses marges de titre et de paragraphe, on retire la première et la dernière. */
.sp-accueil__intro > :first-child { margin-top: 0 !important; }
.sp-accueil__intro > :last-child { margin-bottom: 0 !important; }
.sp-accueil__intro h2 { margin-bottom: 14px; }

/* ------------------------------------------------------------------ */
/* Fiche                                                               */
/* ------------------------------------------------------------------ */
.sp-fiche { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-bottom: 72px; }
.sp-fiche__aside, .sp-fiche__corps { min-width: 0; }
@media (min-width: 1024px) { .sp-fiche { grid-template-columns: minmax(0, 1fr) 360px; gap: 44px; } .sp-fiche__aside { order: 2; } }
.sp-fiche__aside { display: flex; flex-direction: column; gap: 18px; }
.sp-fiche__chapo { font-size: 1.22rem; line-height: 1.5; color: var(--bleu-profond); font-family: var(--police-titre); margin-bottom: 1.2em; }
.sp-destination__chapo { max-width: 46em; margin-top: 4px; }
.sp-section { margin: 0 0 34px; }
.sp-section__titre { font-size: 1.45rem; margin-bottom: 14px; display: flex; align-items: center; }
.sp-section--carte .sp-section__titre { justify-content: flex-start; }

.sp-encart { background: var(--ecume); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 18px 20px; }
.sp-encart__titre { font-size: 1.15rem; margin: 0 0 12px; display: flex; align-items: center; }
.sp-encart__liste > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid var(--ligne); font-size: .95rem; }
.sp-encart__liste > div:first-child { border-top: 0; }
.sp-encart__liste dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; color: var(--gris); font-weight: 700; padding-top: 3px; }
.sp-encart__liste dd { margin: 0; }
.sp-encart__note { display: block; font-size: .85rem; color: var(--gris); margin-top: 4px; }
.sp-encart__budget { list-style: none; padding: 0; margin: 0; }
.sp-encart__budget li { display: flex; flex-direction: column; font-size: .92rem; padding: 4px 0; border-top: 1px dashed var(--ligne); }
.sp-encart__budget li:first-child { border-top: 0; padding-top: 0; }
.sp-encart__budget li span:first-child { color: var(--gris); font-size: .86rem; line-height: 1.35; }
.sp-encart__budget li span:last-child { font-weight: 700; color: var(--bleu-profond); }
.sp-points-forts ul { margin: 0; padding-left: 1.2em; }
.sp-points-forts li { margin-bottom: 6px; }

.sp-preparer { background: var(--lagon-clair); border: 1px solid #bfe6ea; border-radius: var(--rayon); padding: 18px 20px; }
.sp-preparer__intro { font-size: .9rem; color: var(--gris); margin-bottom: 12px; }
.sp-preparer__principal { width: 100%; margin-bottom: 12px; }
.sp-preparer__liste { list-style: none; margin: 0; padding: 0; }
.sp-preparer__lien { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; color: var(--bleu); }
.sp-preparer__lien:hover { color: var(--lagon-sombre); }
.sp-preparer__lien small { display: block; font-weight: 400; }
.sp-preparer__puce svg { width: 18px; height: 18px; color: var(--lagon); margin-top: 3px; }
.sp-preparer__mention { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid rgba(0, 0, 0, .08); font-size: .74rem; color: var(--gris); line-height: 1.4; }

.sp-localisation .sp-carte-fiche { height: 260px; border-radius: 10px; overflow: hidden; }
.sp-lien-cn { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border: 1px solid #cfe3d3; border-radius: var(--rayon); background: #f1f8f2; color: var(--bleu-profond); text-decoration: none; transition: box-shadow .15s ease, transform .15s ease; }
.sp-lien-cn:hover, .sp-lien-cn:focus-visible { box-shadow: 0 6px 18px rgba(0, 0, 0, .08); transform: translateY(-1px); text-decoration: none; }
.sp-lien-cn__icone { width: 32px; height: 32px; border-radius: 8px; flex: none; }
.sp-lien-cn__texte { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.sp-lien-cn__texte strong { font-size: .95rem; }
.sp-lien-cn__texte small { font-size: .8rem; opacity: .75; }
.sp-lien-cn__fleche { margin-left: auto; font-weight: 700; color: #2e7d4f; }
.sp-localisation--corps { margin: 4px 0 30px; }
.sp-zone__etiquette { background: rgba(255, 255, 255, .88); border: 0; border-radius: 6px; color: var(--bleu-profond); font-weight: 700; font-size: .78rem; padding: 2px 7px; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.sp-zone__etiquette::before { display: none; }
.sp-localisation--corps .sp-carte-fiche { height: 380px; }
.sp-localisation__base { margin: 10px 0 0; font-size: .95rem; }
.sp-localisation__lien { display: inline-block; margin-top: 10px; font-size: .92rem; font-weight: 600; }

.sp-dormir__intro { color: var(--gris); margin-bottom: 12px; }
.sp-dormir__cadre { border-radius: var(--rayon); overflow: hidden; border: 1px solid var(--ligne); min-height: 428px; background: var(--ecume); }
.sp-dormir__cadre iframe { display: block; }

/* Calendriers : des ronds de taille fixe, jamais étirés. Plein = idéal, clair = bon, vide = déconseillé. */
.sp-cal { display: flex; flex-wrap: wrap; gap: 6px; }
.sp-cal__mois { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; color: var(--gris); background: transparent; box-shadow: inset 0 0 0 1.5px var(--ligne); }
.sp-cal__mois--1 { background: var(--bleu-clair); color: var(--bleu-profond); box-shadow: none; }
.sp-cal__mois--2 { background: var(--turquoise); color: var(--blanc); box-shadow: none; }
.sp-cal--compact { gap: 4px; max-width: 152px; } /* deux rangées de six : janvier-juin, juillet-décembre */
.sp-cal--compact .sp-cal__mois { width: 22px; height: 22px; font-size: .62rem; }
.sp-cal--encart { gap: 3px; } /* la ligne Saison de l'encart : douze ronds à lettres sur toute la largeur */
.sp-cal--encart .sp-cal__mois { width: 23px; height: 23px; font-size: .64rem; }
@media (max-width: 420px) { .sp-cal--encart { max-width: 153px; } } /* sur un petit écran, deux rangées de six */
.sp-encart__ligne--pleine { grid-template-columns: minmax(0, 1fr) !important; gap: 6px !important; }
.sp-encart__ligne--pleine dt { padding-top: 0; }
/* Règles du site en liste à puces, dans l'encart. */
.sp-encart__puces { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 7px; }
.sp-encart__puces li { position: relative; padding-left: 16px; font-size: .92rem; line-height: 1.45; }
.sp-encart__puces li::before { content: ""; position: absolute; left: 2px; top: .58em; width: 6px; height: 6px; border-radius: 50%; background: var(--lagon); }
.sp-cal__legende { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: .82rem; color: var(--gris); margin: 10px 0 0; }
.sp-cal__legende-item { display: inline-flex; align-items: center; gap: 6px; }
.sp-cal__legende .sp-cal__mois, .sp-cal__legende .sp-faune-cal__point { width: 14px; height: 14px; flex: 0 0 14px; }

/* Galerie en mosaïque : la première photo en grand, les autres en tuiles, pas de légende. */
.sp-galerie__mosaique { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; grid-auto-flow: dense; }
.sp-galerie__item { margin: 0; position: relative; border-radius: 12px; overflow: hidden; background: var(--gris-clair); }
.sp-galerie__item:first-child { grid-column: span 2; grid-row: span 2; }
.sp-galerie__item:nth-child(even):last-child:not(:first-child) { grid-column: span 2; }
.sp-galerie__lien { display: block; width: 100%; height: 100%; }
.sp-galerie__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.sp-galerie__lien:hover img, .sp-galerie__lien:focus-visible img { transform: scale(1.03); }
@media (min-width: 768px) {
    .sp-galerie__mosaique { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 14px; }
    .sp-galerie__item:nth-child(even):last-child:not(:first-child) { grid-column: auto; }
    .sp-galerie__item:nth-child(3n+1):last-child:not(:first-child) { grid-column: span 3; }
    .sp-galerie__mosaique[data-n="1"] .sp-galerie__item:first-child { grid-column: span 3; }
    .sp-galerie__mosaique[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sp-galerie__mosaique[data-n="2"] .sp-galerie__item { grid-column: span 1; grid-row: span 2; }
}
/* La visionneuse plein écran. */
.sp-lightbox { border: 0; padding: 0; margin: 0; background: transparent; width: 100vw; height: 100vh; max-width: none; max-height: none; }
.sp-lightbox__cadre { margin: 0; width: 100%; height: 100%; box-sizing: border-box; padding: 60px 76px; display: grid; place-items: center; }
.sp-lightbox__image { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.sp-lightbox__fermer, .sp-lightbox__prec, .sp-lightbox__suiv { position: fixed; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.7rem; line-height: 1; display: grid; place-items: center; cursor: pointer; }
.sp-lightbox__fermer:hover, .sp-lightbox__prec:hover, .sp-lightbox__suiv:hover { background: rgba(255, 255, 255, .3); }
.sp-lightbox__fermer { top: 16px; right: 16px; }
.sp-lightbox__prec { left: 16px; top: 50%; transform: translateY(-50%); }
.sp-lightbox__suiv { right: 16px; top: 50%; transform: translateY(-50%); }
.sp-lightbox__compteur { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); color: rgba(255, 255, 255, .75); font-size: .85rem; }
.sp-lightbox__credit { position: fixed; right: 20px; bottom: 16px; background: rgba(255, 255, 255, .14); }
.sp-lightbox[data-seule="1"] .sp-lightbox__prec, .sp-lightbox[data-seule="1"] .sp-lightbox__suiv, .sp-lightbox[data-seule="1"] .sp-lightbox__compteur { display: none; }
@media (max-width: 600px) {
    .sp-lightbox__cadre { padding: 60px 10px 56px; }
    .sp-lightbox__prec, .sp-lightbox__suiv { width: 36px; height: 36px; }
    .sp-lightbox__prec { left: 8px; }
    .sp-lightbox__suiv { right: 8px; }
}
.sp-credit { font-size: .78rem; }

.sp-faune__liste { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sp-faune__liste a { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--ecume); border: 1px solid var(--ligne); text-decoration: none; font-weight: 600; color: var(--bleu-profond); }
.sp-faune__liste a:hover { background: var(--turquoise-clair); }
.sp-faune__liste img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

.sp-faune .sp-faune__liste { margin-bottom: 14px; }
.sp-faune-cal__cadre { overflow-x: auto; margin: 14px 0 6px; }
.sp-faune-cal { border-collapse: collapse; width: 100%; min-width: 540px; font-size: .9rem; }
.sp-faune-cal caption { text-align: left; font-weight: 700; color: var(--bleu-profond); padding-bottom: 8px; }
.sp-faune-cal th, .sp-faune-cal td { padding: 7px 2px; vertical-align: middle; border-top: 1px solid var(--ligne); }
.sp-faune-cal thead th { border-top: 0; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gris); text-align: center; padding-bottom: 4px; }
.sp-faune-cal thead abbr { text-decoration: none; }
.sp-faune-cal__espece { text-align: left; white-space: normal; min-width: 170px; max-width: 240px; font-weight: 600; line-height: 1.25; padding-right: 14px !important; } /* le nom peut passer sur deux lignes : avec la miniature, "Le barracuda à bouche jaune" débordait sous les ronds */
.sp-faune-cal tbody th a { text-decoration: none; }
.sp-faune-cal__m { width: 26px; text-align: center; line-height: 0; }
.sp-faune-cal__point { display: inline-block; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ligne); background: transparent; vertical-align: middle; }
.sp-faune-cal__point--1 { background: var(--bleu-clair); box-shadow: none; }
.sp-faune-cal__point--2 { background: var(--turquoise); box-shadow: none; }
.sp-faune-cal__note { width: 100%; text-align: left; color: var(--gris); font-size: .84rem; padding-left: 14px !important; }
.sp-faune-cal__lien { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.sp-faune-cal__lien span { min-width: 0; }
.sp-faune-cal__photo { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: 0 0 28px; }
.sp-faune-cal__lien:hover .sp-faune-cal__photo { box-shadow: 0 0 0 2px var(--lagon); }
/* Survol des calendriers (demande d'Arnaud du 14/10/2026) : le rond se soulève dans un anneau lagon et une bulle donne le mois et son état, sans attendre l'infobulle du navigateur. Dans le tableau de la faune, la ligne de l'espèce et la colonne du mois s'éclairent. La bulle n'existe qu'au survol, elle ne peut donc pas élargir la page. */
.sp-cal > .sp-cal__mois, .sp-faune-cal__point { position: relative; transition: transform .18s ease, box-shadow .18s ease; }
.sp-cal > .sp-cal__mois:hover::after { bottom: calc(100% + 9px); left: 50%; transform: translateX(-50%); }
.sp-cal > .sp-cal__mois:nth-child(6n+1):hover::after { left: 0; transform: none; } /* janvier et juillet, en bord de rangée */
.sp-cal > .sp-cal__mois:nth-child(6n):hover::after { left: auto; right: 0; transform: none; } /* juin et décembre */
.sp-faune-cal__point:hover::after { left: calc(100% + 10px); top: 50%; transform: translateY(-50%); } /* à droite : au-dessus, le cadre défilant la couperait */
@keyframes sp-bulle { from { opacity: 0; } to { opacity: 1; } }
.sp-faune-cal tbody tr > * { transition: background-color .15s; }
.sp-faune-cal tbody tr:hover > * { background: var(--lagon-clair); }
.sp-faune-cal:has(td:nth-child(2):hover) :is(thead th, tbody td):nth-child(2),
.sp-faune-cal:has(td:nth-child(3):hover) :is(thead th, tbody td):nth-child(3),
.sp-faune-cal:has(td:nth-child(4):hover) :is(thead th, tbody td):nth-child(4),
.sp-faune-cal:has(td:nth-child(5):hover) :is(thead th, tbody td):nth-child(5),
.sp-faune-cal:has(td:nth-child(6):hover) :is(thead th, tbody td):nth-child(6),
.sp-faune-cal:has(td:nth-child(7):hover) :is(thead th, tbody td):nth-child(7),
.sp-faune-cal:has(td:nth-child(8):hover) :is(thead th, tbody td):nth-child(8),
.sp-faune-cal:has(td:nth-child(9):hover) :is(thead th, tbody td):nth-child(9),
.sp-faune-cal:has(td:nth-child(10):hover) :is(thead th, tbody td):nth-child(10),
.sp-faune-cal:has(td:nth-child(11):hover) :is(thead th, tbody td):nth-child(11),
.sp-faune-cal:has(td:nth-child(12):hover) :is(thead th, tbody td):nth-child(12),
.sp-faune-cal:has(td:nth-child(13):hover) :is(thead th, tbody td):nth-child(13) { background: var(--lagon-clair); color: var(--bleu-profond); }
.sp-visuel-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sp-saison__resume { font-weight: 600; color: var(--bleu-profond); margin: 10px 0 8px; }
.sp-reperes-ligne { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sp-reperes-ligne li { display: flex; flex-direction: column; min-width: 120px; padding: 10px 14px; background: var(--ecume); border: 1px solid var(--ligne); border-radius: 10px; }
.sp-reperes-ligne li span { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--gris); font-weight: 700; }
.sp-reperes-ligne li strong { color: var(--bleu-profond); font-size: 1rem; }
.sp-acces__resume { font-size: 1.02rem; margin-bottom: 10px; }
.sp-acces__cta { margin: 6px 0 0; }
.sp-conseil { background: var(--lagon-clair); border-left: 5px solid var(--lagon); border-radius: 0 var(--rayon) var(--rayon) 0; padding: 18px 22px; }
.sp-conseil .sp-section__titre { margin-bottom: 8px; }
.sp-conseil__texte p:last-child { margin-bottom: 0; }

.sp-prose { max-width: 72ch; }
.sp-prose h2 { margin-top: 1.6em; scroll-margin-top: 90px; }
.sp-prose h3 { margin-top: 1.3em; }
.sp-prose img { border-radius: 10px; }
.sp-prose figure { margin: 1.5em 0; }
.sp-prose figcaption { font-size: .85rem; color: var(--gris); }
.sp-prose table { border-collapse: collapse; width: 100%; font-size: .95rem; margin: 1em 0; }
.sp-prose th, .sp-prose td { border: 1px solid var(--ligne); padding: 8px 10px; text-align: left; }
.sp-prose th { background: var(--ecume); }
.sp-prose blockquote { margin: 1.2em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--turquoise); color: var(--gris); }

.sp-partage { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 24px 0; font-size: .9rem; }
.sp-partage span { color: var(--gris); font-weight: 700; }
.sp-partage a { padding: 5px 12px; border: 1px solid var(--ligne); border-radius: 999px; text-decoration: none; font-weight: 600; }
.sp-proximite .sp-section__titre { margin-top: 10px; }

.sp-barre-mobile.est-cachee { transform: translateY(110%); }
.sp-barre-mobile__bouton { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--lagon); color: var(--bleu-profond); font-weight: 700; padding: 12px; border-radius: 10px; }
@media (min-width: 1024px) { .sp-barre-mobile { display: none; } }

/* ------------------------------------------------------------------ */
/* Animal                                                              */
/* ------------------------------------------------------------------ */
/* "Où plonger pour voir" (page d'une espèce) : les vignettes communes des spots, en deux colonnes. */

/* ------------------------------------------------------------------ */
/* Pages longues (guides, tops, magazine) et pages                     */
/* ------------------------------------------------------------------ */
.sp-long { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-bottom: 60px; }
.sp-long__aside, .sp-long__corps { min-width: 0; }
@media (min-width: 1024px) { .sp-long { grid-template-columns: 280px minmax(0, 1fr); gap: 48px; } .sp-long__aside { position: sticky; top: calc(var(--entete-hauteur) + 16px); align-self: start; } }
.sp-sommaire { background: var(--ecume); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 16px 18px; }
.sp-sommaire__titre { font-weight: 700; margin: 0 0 8px; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gris); }
.sp-sommaire ol { margin: 0; padding-left: 1.2em; font-size: .93rem; }
.sp-sommaire li { margin-bottom: 6px; }
.sp-sommaire a { text-decoration: none; }
.sp-sommaire a:hover { text-decoration: underline; }
.sp-long__verif { font-size: .85rem; color: var(--gris); margin: 12px 0 0; }
.sp-destination .sp-long__verif { margin-bottom: 30px; }
.sp-page { padding-bottom: 60px; }
.sp-page__corps { max-width: 76ch; }
.sp-partenaires__liste { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sp-marques__intro { color: var(--gris); margin-bottom: 10px; }
.sp-marques__liste { display: flex; flex-wrap: wrap; gap: 10px; }
.sp-marque { display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 10px; color: var(--blanc); font-weight: 700; }
.sp-marque:hover { filter: brightness(1.1); }

/* ------------------------------------------------------------------ */
/* Listes, destination                                                 */
/* ------------------------------------------------------------------ */
.sp-liste { padding-bottom: 60px; }
.sp-liste__types { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.sp-pagination { margin-top: 28px; }
.sp-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.sp-pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--ligne); border-radius: 8px; text-decoration: none; }
.sp-pagination .page-numbers.current { background: var(--bleu); color: var(--blanc); border-color: var(--bleu); }
.sp-destination { padding-bottom: 60px; }
.sp-reperes { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); margin-bottom: 36px; }
@media (min-width: 768px) { .sp-reperes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sp-repere { background: var(--ecume); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 16px 18px; }
.sp-repere__titre { font-size: 1rem; margin-bottom: 6px; display: flex; align-items: center; }
.sp-repere p { margin: 0; font-size: .95rem; line-height: 1.55; }
.sp-repere p + p { margin-top: .7em; }
.sp-carte-destination { height: 420px; border-radius: var(--rayon); overflow: hidden; border: 1px solid var(--ligne); }
.sp-destination__texte { max-width: 76ch; }

/* ------------------------------------------------------------------ */
/* Cartes Leaflet                                                      */
/* ------------------------------------------------------------------ */
.sp-carte-globale { height: 440px; border-radius: var(--rayon); overflow: hidden; background: var(--bleu-clair); }
.sp-carte-globale--accueil { height: 520px; }
.leaflet-container { font-family: var(--police-texte); }
.sp-popup { width: 220px; }
.sp-popup img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.sp-popup__sur { margin: 0; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--turquoise); font-weight: 700; }
.sp-popup__titre { margin: 2px 0 4px; font-weight: 700; font-size: 1rem; line-height: 1.25; }
.sp-popup__titre a { text-decoration: none; color: var(--bleu-profond); }
.sp-popup__meta { margin: 0; font-size: .82rem; color: var(--gris); }
.leaflet-popup-content { margin: 12px 14px; }
.leaflet-popup-content-wrapper { border-radius: 12px; }
.sp-repere-secondaire { width: 14px; height: 14px; border-radius: 50%; background: var(--turquoise); border: 2px solid var(--blanc); box-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
.marker-cluster-small div, .marker-cluster-medium div, .marker-cluster-large div { background: var(--turquoise); color: var(--blanc); font-weight: 700; }

/* Page carte */
.sp-carte-page { display: flex; flex-direction: column; }
.sp-carte-page__carte { order: 1; }
.sp-carte-page__aside { order: 2; padding: 18px 16px 24px; background: var(--blanc); border-top: 1px solid var(--ligne); }
.sp-carte-page .sp-carte-globale { height: 60vh; min-height: 360px; border-radius: 0; }
.sp-carte-page__titre { font-size: 1.5rem; margin-bottom: 12px; }
.sp-carte-page__sous-titre { font-size: 1.05rem; margin: 20px 0 10px; }
.sp-filtres { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); } /* une colonne qui ne s'élargit pas : sinon l'option la plus longue d'une liste pousse le bloc hors de l'écran */
.sp-filtres label { font-size: .85rem; font-weight: 700; color: var(--gris); display: grid; gap: 4px; }
.sp-filtres label { min-width: 0; }
.sp-filtres select { width: 100%; max-width: 100%; min-width: 0; text-overflow: ellipsis; font: inherit; font-size: .95rem; padding: 8px 10px; border: 1px solid var(--ligne); border-radius: 8px; background: var(--blanc); color: var(--encre); }
.sp-filtres__groupe { border: 1px solid var(--ligne); border-radius: 10px; padding: 8px 12px 10px; margin: 0; min-width: 0; }
.sp-filtres__groupe legend { font-size: .8rem; font-weight: 700; color: var(--gris); padding: 0 4px; }
.sp-filtres__case { display: inline-flex !important; align-items: center; gap: 6px; font-weight: 500 !important; color: var(--encre) !important; margin: 4px 12px 0 0; font-size: .92rem !important; }
#sp-carte-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
#sp-carte-liste a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--encre); padding: 6px; border-radius: 10px; }
#sp-carte-liste a:hover { background: var(--ecume); }
#sp-carte-liste img { width: 56px; height: 42px; object-fit: cover; border-radius: 6px; flex: 0 0 56px; }
#sp-carte-liste small { display: block; color: var(--gris); }
.sp-carte-liste__vide { color: var(--gris); }
@media (min-width: 1024px) {
    .sp-carte-page { flex-direction: row; height: calc(100vh - var(--entete-hauteur)); }
    .sp-carte-page__aside { order: 1; width: 400px; flex: 0 0 400px; overflow-y: auto; border-top: 0; border-right: 1px solid var(--ligne); }
    .sp-carte-page__carte { order: 2; flex: 1; }
    .sp-carte-page .sp-carte-globale { height: 100%; }
}

/* ------------------------------------------------------------------ */
/* Pied de page                                                        */
/* ------------------------------------------------------------------ */
.sp-pied { background: var(--bleu-profond); color: rgba(255, 255, 255, .85); margin-top: 40px; padding: 44px 0 24px; font-size: .95rem; }
.sp-pied a { color: var(--blanc); text-decoration: none; }
.sp-pied a:hover { text-decoration: underline; }
.sp-pied__grille { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .sp-pied__grille { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); } }
.sp-pied__marque { font-family: var(--police-titre); font-size: 1.4rem; font-weight: 700; color: var(--blanc); margin-bottom: 6px; }
.sp-pied__titre { font-weight: 700; color: var(--blanc); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.sp-pied ul { list-style: none; margin: 0; padding: 0; }
.sp-pied li { margin-bottom: 6px; }
.sp-pied__bas { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .8rem; color: rgba(255, 255, 255, .6); }
body.sp-page-fiche .sp-pied { padding-bottom: 80px; }
@media (min-width: 1024px) { body.sp-page-fiche .sp-pied { padding-bottom: 24px; } }
.sp-carte-animal { margin-bottom: 18px; }

/* Trouver un guide : les sorties réservables (Viator, GetYourGuide). */
.sp-sorties__intro { color: var(--gris); font-size: .95rem; margin: -6px 0 16px; }
.sp-sorties__grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.sp-sorties__carte { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre-legere); transition: transform .15s ease, box-shadow .15s ease; }
.sp-sorties__carte:hover { transform: translateY(-2px); box-shadow: var(--ombre); }
.sp-sorties__lien { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; cursor: pointer; }
.sp-sorties__media { position: relative; aspect-ratio: 16 / 10; background: var(--gris-clair); }
.sp-sorties__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-sorties__media .sp-carte__vide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--gris); }
.sp-sorties__four { position: absolute; display: inline-flex; align-items: center; left: 10px; bottom: 10px; background: rgba(255, 255, 255, .92); color: var(--encre); font-size: .72rem; font-weight: 700; letter-spacing: .02em; padding: 3px 8px; border-radius: 999px; }
/* Le favicon d'une marque partenaire devant son nom (GetYourGuide, Viator), comme sur Trip Planner */
.sp-marque-ico, .sp-sorties__media .sp-marque-ico { display: inline-block; flex: none; width: 14px; height: 14px; object-fit: contain; margin: 0 5px 0 0; vertical-align: -2px; border-radius: 3px; }
.sp-sorties__corps { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; flex: 1; }
.sp-sorties__titre { font-size: 1rem; line-height: 1.3; margin: 0; font-family: var(--police-texte); font-weight: 700; color: var(--encre); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sp-sorties__meta { margin: 0; color: var(--gris); font-size: .9rem; }
.sp-sorties__note { display: inline-flex; align-items: center; gap: 4px; color: var(--encre); font-weight: 700; font-size: .9rem; }
.sp-sorties__note svg { width: 14px; height: 14px; color: var(--lagon); fill: var(--lagon); }
.sp-sorties__note small { font-weight: 400; color: var(--gris); }
.sp-sorties__bouton { margin-top: auto; align-self: flex-start; font-size: .88rem; padding: 7px 14px; }
.sp-sorties__fiches { color: var(--gris); font-size: .95rem; margin: 14px 0 0; }

/* ------------------------------------------------------------------ */
/* Fiche d'un hébergement (sous-domaine) : en-tête centré, barre de dates, mosaïque, onglets, blocs. */
/* ------------------------------------------------------------------ */
.sp-heb-entete { text-align: center; padding: 18px 0 6px; }
.sp-heb-entete .sp-fil { margin-bottom: 14px; }
.sp-heb-entete .sp-fil ol { justify-content: center; }
.sp-heb-etoiles { display: inline-flex; gap: 3px; color: var(--lagon); margin-bottom: 8px; }
.sp-heb-etoiles svg { width: 18px; height: 18px; fill: currentColor; }
.sp-heb-etoiles--petit { margin: 0 0 0 6px; vertical-align: -2px; }
.sp-heb-etoiles--petit svg { width: 13px; height: 13px; }
.sp-heb-entete__titre { font-size: clamp(1.9rem, 4.2vw, 2.9rem); margin: 0 0 6px; text-wrap: balance; }
.sp-heb-entete__sous { color: var(--gris); margin: 0 0 6px; font-size: 1.02rem; }
.sp-heb-entete__ancien { display: block; font-size: .88rem; margin-top: 2px; }
.sp-heb-entete__adresse { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; color: var(--gris); font-size: .94rem; margin: 0; }
.sp-heb-entete__adresse svg { width: 16px; height: 16px; color: var(--turquoise); }
.sp-heb-resa { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 980px; margin: 18px auto 22px; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); box-shadow: var(--ombre-legere); padding: 10px; }
.sp-heb-resa__champ { display: flex; flex-direction: column; gap: 2px; padding: 6px 12px; border: 1px solid var(--ligne); border-radius: 10px; background: var(--blanc); }
.sp-heb-resa__champ span { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; color: var(--gris); }
.sp-heb-resa__champ input, .sp-heb-resa__champ select { border: 0; padding: 2px 0; font: inherit; font-weight: 600; color: var(--bleu-profond); background: transparent; min-width: 0; }
.sp-heb-resa__bouton { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; padding: 14px 26px; border-radius: 10px; background: var(--turquoise); color: var(--blanc); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }
.sp-heb-resa__bouton:hover { background: var(--bleu-profond); color: var(--blanc); text-decoration: none; }
/* Booking.com : ses couleurs et son icône sur la note Booking */
.sp-booking-ico { flex: none; display: block; }
.sp-heb-photos { position: relative; margin-bottom: 0; }
.sp-heb-photos__grille { display: grid; grid-template-columns: 1fr; gap: 6px; border-radius: var(--rayon); overflow: hidden; }
.sp-heb-photos__item { margin: 0; position: relative; overflow: hidden; background: var(--gris-clair); }
.sp-heb-photos__item a, .sp-heb-photos__item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sp-heb-photos__item:first-child { aspect-ratio: 4 / 3; }
.sp-heb-photos__item:not(:first-child) { display: none; }
.sp-heb-photos__item img { transition: transform .4s ease; }
.sp-heb-photos__item:hover img { transform: scale(1.04); }
.sp-heb-photos__note { position: absolute; top: 14px; left: 30px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; background: var(--blanc); color: var(--bleu-profond); border-radius: 10px; padding: 6px 12px 6px 6px; box-shadow: var(--ombre-legere); text-decoration: none; font-size: .85rem; }
.sp-booking-note { color: #1a1a1a; padding: 6px 14px 6px 6px; }
.sp-booking-note__score { background: #003b95; color: #fff; font-weight: 700; font-size: 1.05rem; line-height: 1; padding: 10px 8px; min-width: 40px; text-align: center; border-radius: 8px 8px 8px 0; }
.sp-booking-note__texte { display: flex; flex-direction: column; gap: 3px; line-height: 1.1; }
.sp-booking-note__marque { display: inline-flex; align-items: center; gap: 5px; }
.sp-booking-note__marque .sp-booking-ico { width: 16px; height: 16px; }
.sp-booking-marque { font-weight: 800; color: #003580; letter-spacing: -.01em; }
.sp-booking-marque span { color: #009fe3; }
.sp-booking-note__avis { font-size: .78rem; color: #595959; }
.sp-heb-photos__tout { position: absolute; bottom: 14px; right: 30px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; background: var(--blanc); color: var(--bleu-profond); padding: 9px 16px; font: inherit; font-weight: 700; font-size: .9rem; box-shadow: var(--ombre-legere); cursor: pointer; }
.sp-heb-photos__tout svg { width: 18px; height: 18px; }
/* Équipements par catégorie, règles de l'établissement, autres hôtels du pays */
.sp-heb-groupes { columns: 2 260px; column-gap: 28px; margin-top: 22px; }
.sp-heb-groupe { break-inside: avoid; margin: 0 0 18px; }
.sp-heb-groupe h3 { font-size: 1rem; margin: 0 0 6px; color: var(--bleu-profond); }
.sp-heb-groupe ul { list-style: none; margin: 0; padding: 0; font-size: .93rem; }
.sp-heb-groupe li { padding: 3px 0 3px 20px; position: relative; }
.sp-heb-groupe li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--turquoise); }
.sp-heb-regles { list-style: none; margin: 0; padding: 0; border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; }
.sp-heb-regles li { display: grid; grid-template-columns: minmax(120px, 30%) 1fr; gap: 14px; padding: 11px 16px; border-top: 1px solid var(--ligne); }
.sp-heb-regles li:first-child { border-top: 0; }
.sp-heb-regles strong { color: var(--bleu-profond); }
.sp-heb-voisins__grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.sp-heb-voisin { display: flex; flex-direction: column; border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; background: var(--blanc); color: inherit; text-decoration: none; transition: box-shadow .15s, transform .15s; }
.sp-heb-voisin:hover { box-shadow: var(--ombre-legere); transform: translateY(-2px); text-decoration: none; }
.sp-heb-voisin__photo { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--gris-clair); overflow: hidden; }
.sp-heb-voisin__image { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-heb-voisin__photo .sp-booking-note__score { position: absolute; top: 10px; left: 10px; font-size: .95rem; padding: 7px 7px; min-width: 34px; }
.sp-heb-voisin__corps { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; }
.sp-heb-voisin__nom { color: var(--bleu-profond); line-height: 1.25; }
.sp-heb-voisin__lieu { font-size: .88rem; color: var(--gris); }
.sp-heb-onglets { position: sticky; top: var(--entete-hauteur, 64px); z-index: 40; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--ligne); margin: 18px 0 28px; }
.sp-heb-onglets .sp-contenant { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.sp-heb-onglets a { flex: 0 0 auto; padding: 13px 0 11px; color: var(--bleu-profond); font-weight: 600; text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.sp-heb-onglets a:hover, .sp-heb-onglets a.est-actif { border-bottom-color: var(--lagon); }
.sp-heb-section { scroll-margin-top: 140px; }
.sp-heb-points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.sp-heb-points li { position: relative; padding-left: 22px; }
.sp-heb-points li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--lagon); }
.sp-carte-hebergement { height: 360px; border-radius: var(--rayon); overflow: hidden; border: 1px solid var(--ligne); }
.sp-heb-distances { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 0; }
.sp-heb-distances li { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-top: 1px dashed var(--ligne); }
.sp-heb-distances li:first-child { border-top: 0; }
.sp-heb-distances strong { color: var(--bleu-profond); white-space: nowrap; }
.sp-heb-chambres { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 14px; }
.sp-heb-chambre { border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; background: var(--blanc); }
.sp-heb-chambre h3 { font-size: 1.02rem; margin: 0; }
.sp-heb-chambre__surface { margin: 0; color: var(--gris); font-size: .9rem; }
.sp-heb-chambre .sp-bouton { margin-top: auto; align-self: flex-start; padding: 8px 14px; font-size: .9rem; }
.sp-heb-equipements { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sp-heb-equipements li { padding: 6px 12px; border-radius: 999px; background: var(--turquoise-clair); color: var(--bleu-profond); font-size: .9rem; font-weight: 600; }
.sp-heb-sous-titre { font-size: 1.05rem; margin: 20px 0 8px; }
.sp-heb-restaurants { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.sp-heb-avis { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: center; }
.sp-heb-avis__note { display: flex; align-items: center; gap: 12px; }
.sp-heb-avis__note strong { background: var(--bleu-profond); color: var(--blanc); border-radius: 12px; padding: 12px 14px; font-size: 1.6rem; font-family: var(--police-titre); }
.sp-heb-avis__note span { color: var(--gris); font-size: .92rem; line-height: 1.3; }
.sp-heb-avis__detail { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sp-heb-avis__detail li { display: grid; grid-template-columns: 150px minmax(0, 1fr) 34px; gap: 10px; align-items: center; font-size: .92rem; }
.sp-heb-avis__barre { height: 8px; border-radius: 999px; background: var(--gris-clair); overflow: hidden; }
.sp-heb-avis__barre span { display: block; height: 100%; background: var(--turquoise); border-radius: 999px; }
.sp-heb-avis__valeur { font-weight: 700; text-align: right; color: var(--bleu-profond); }
.sp-heb-source { font-size: .85rem; color: var(--gris); margin: 12px 0 0; }
.sp-heb-encart__bouton { width: 100%; margin-top: 14px; }
.sp-heb-mention { font-size: .86rem; color: var(--gris); border-top: 1px solid var(--ligne); padding-top: 14px; margin-top: 34px; }
@media (min-width: 720px) {
    .sp-heb-resa { grid-template-columns: 1fr 1fr 1fr auto; }
    .sp-heb-resa__bouton { grid-column: auto; }
    .sp-heb-photos__grille { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; }
    .sp-heb-photos__item:first-child { grid-row: 1 / 3; aspect-ratio: auto; }
    .sp-heb-photos__item:nth-child(-n+5) { display: block; }
    .sp-heb-photos__item--cache { display: none !important; }
    .sp-heb-avis { grid-template-columns: auto minmax(0, 1fr); }
}
@media (max-width: 719px) {
    .sp-heb-photos__note { left: 26px; }
    .sp-heb-photos__tout { right: 26px; }
    .sp-heb-avis__detail li { grid-template-columns: 120px minmax(0, 1fr) 30px; }
}

/* Silo des hébergements : hub /hebergement/ et sélection par pays */
.sp-sel-entete { text-align: center; padding: 8px 0 18px; }
.sp-sel-entete .sp-fil ol { justify-content: center; }
.sp-sel-entete__titre { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 6px 0 10px; }
.sp-sel-entete__chapo { max-width: 760px; margin: 0 auto; color: var(--gris); font-size: 1.08rem; }
.sp-sel { max-width: 980px; padding-bottom: 40px; }
.sp-sel-sommaire ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 18px 0 34px; }
/* Une ancre du sommaire ne cache plus le titre du lieu sous l'en-tête collant */
.sp-sel .sp-section { scroll-margin-top: calc(var(--entete-hauteur, 64px) + 16px); }
.sp-sel-sommaire a { display: inline-block; padding: 6px 14px; border: 1px solid var(--ligne); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .92rem; }
.sp-sel-groupe__fiche { margin: -6px 0 16px; font-size: .95rem; }
.sp-sel-carte { display: grid; grid-template-columns: 1fr; border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; background: var(--blanc); margin: 0 0 22px; box-shadow: var(--ombre-legere); }
.sp-sel-carte__photo { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--gris-clair); overflow: hidden; }
.sp-sel-carte__image { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.sp-sel-carte__photo:hover .sp-sel-carte__image { transform: scale(1.04); }
.sp-sel-carte__note { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 10px; background: var(--blanc); border-radius: 10px; padding: 6px 12px 6px 6px; box-shadow: var(--ombre-legere); font-size: .85rem; }
.sp-sel-carte__corps { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.sp-sel-carte__nom { margin: 0; font-size: 1.3rem; }
.sp-sel-carte__nom a { text-decoration: none; color: var(--bleu-profond); }
.sp-sel-carte__lieu { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--gris); font-size: .95rem; }
.sp-sel-carte__repere { margin: 0; display: flex; align-items: center; gap: 6px; font-size: .9rem; color: var(--bleu-profond); font-weight: 600; }
.sp-sel-carte__repere svg { width: 16px; height: 16px; flex: none; }
.sp-sel-carte__texte p { margin: 0 0 8px; }
.sp-sel-carte__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 0; }
.sp-sel-hub { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 10px; }
.sp-sel-hub__carte { display: flex; flex-direction: column; border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; background: var(--blanc); color: inherit; text-decoration: none; box-shadow: var(--ombre-legere); transition: transform .15s; }
.sp-sel-hub__carte:hover { text-decoration: none; transform: translateY(-2px); }
.sp-sel-hub__photo { aspect-ratio: 3 / 2; overflow: hidden; background: var(--gris-clair); }
.sp-sel-hub__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-sel-hub__corps { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.sp-sel-hub__nom { font-size: 1.15rem; color: var(--bleu-profond); }
.sp-sel-hub__texte { color: var(--gris); font-size: .93rem; }
.sp-sel-hub__lien { font-weight: 700; color: var(--turquoise); }
@media (min-width: 760px) {
    .sp-sel-carte { grid-template-columns: 42% 1fr; }
    /* La photo couvre la hauteur du texte sans l'imposer : une photo carrée laissait un vide sous les boutons */
    .sp-sel-carte__photo { aspect-ratio: auto; min-height: 240px; }
    .sp-sel-carte__image { position: absolute; inset: 0; }
}


/* Questions fréquentes (fiches, destinations, hébergements, sélections) */
.sp-faq__item { border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--blanc); margin: 0 0 10px; }
.sp-faq__item summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--bleu-profond); list-style: none; }
.sp-faq__item summary::-webkit-details-marker { display: none; }
.sp-faq__item summary::after { content: "+"; float: right; color: var(--bleu); font-weight: 700; }
.sp-faq__item[open] summary::after { content: "-"; }
.sp-faq__reponse { padding: 0 18px 6px; }


/* Une période longue passe à la ligne dans la vignette (correctif du safari, repris pour tous) */
.sp-carte__repere--saison { color: var(--bleu-profond); font-weight: 700; white-space: normal; align-items: flex-start; line-height: 1.3; min-width: 0; }
.sp-carte__repere--saison svg { margin-top: 2px; }
