/*
Theme Name: Activités à faire à Percé
Theme URI: https://example.com
Author: —
Description: Thème bloc sur mesure, converti depuis la maquette validée. Tout le contenu est en blocs natifs, éditable dans Gutenberg.
Version: 1.7.0
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: perce-activites
Tags: block-theme, full-site-editing, travel
*/

/* Icônes : masques CSS générés depuis le sprite de la maquette (src/partials/sprite.html). */
:root {
  --i-coche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --i-feuille: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M12 2l1.6 3.4 1.9-.9-.6 4.3 2.6-2.6.6 1.9 2.6-.4-1.1 3 1.3.9-4.4 3.4.5 1.5-4-.8V22h-1.4v-4.3l-4 .8.5-1.5L3.5 13.6l1.3-.9-1.1-3 2.6.4.6-1.9 2.6 2.6-.6-4.3 1.9.9z'/%3E%3C/svg%3E");
  --i-boussole: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M15.5 8.5l-2 5-5 2 2-5z'/%3E%3C/svg%3E");
  --i-lit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18V6M3 14h18v4M21 14v-2a3 3 0 00-3-3h-7v5'/%3E%3Ccircle cx='7' cy='11' r='2'/%3E%3C/svg%3E");
  --i-assiette: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='6'/%3E%3Cpath d='M3 4v6a2 2 0 002 2v8M5 4v5M21 4c-1.5 0-2 2-2 5h2v11'/%3E%3C/svg%3E");
  --i-calendrier: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
  --i-repere: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0112 2.5a7 7 0 017 7C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E");
  --i-carte: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4L3 6v14l6-2 6 2 6-2V4l-6 2-6-2zM9 4v14M15 6v14'/%3E%3C/svg%3E");
  --i-horloge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
  --i-vague: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 15c2.5 0 2.5-2 5-2s2.5 2 5 2 2.5-2 5-2 2.5 2 5 2M2 19c2.5 0 2.5-2 5-2s2.5 2 5 2 2.5-2 5-2 2.5 2 5 2M7 11l4-7 4 7'/%3E%3C/svg%3E");
  --i-montagne: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 20l7-12 4 6 3-4 6 10z'/%3E%3C/svg%3E");
  --i-etoile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.6 5.6 6.1.7-4.5 4.2 1.2 6L12 16.6 6.6 19.5l1.2-6L3.3 9.3l6.1-.7z'/%3E%3C/svg%3E");
  --i-gauche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E");
  --i-droite: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --i-bas: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  --i-menu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M3 12h18M3 18h18'/%3E%3C/svg%3E");
  --i-fermer: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
  --i-sac: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 13H6zM9 8V6a3 3 0 016 0v2'/%3E%3C/svg%3E");
  --i-verre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h10l-1 9a4 4 0 01-8 0zM12 16v5M8 21h8'/%3E%3C/svg%3E");
  --i-loupe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l5 5'/%3E%3C/svg%3E");
  --i-telephone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 005 5L15 13l5 2v4a2 2 0 01-2 2A16 16 0 013 6a2 2 0 012-2z'/%3E%3C/svg%3E");
  --i-coche-epais: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --i-repere-epais: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0112 2.5a7 7 0 017 7C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E");
  --fleche-gauche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 46'%3E%3Crect x='.5' y='.5' width='45' height='45' rx='7.5' fill='%23fff' stroke='%23D9D9D9'/%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6' transform='translate(13 13) scale(.8333)' fill='none' stroke='%23323031' stroke-width='2.16' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --fleche-droite: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 46'%3E%3Crect x='.5' y='.5' width='45' height='45' rx='7.5' fill='%23fff' stroke='%23D9D9D9'/%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' transform='translate(13 13) scale(.8333)' fill='none' stroke='%23323031' stroke-width='2.16' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --trait-rouge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 60' fill='none' stroke='%23C80E16' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M4 50c18-4 30-22 22-30-8-7-18 10-4 18 16 9 46-4 80-28M92 6l10 4-6 9'/%3E%3C/svg%3E");
  --coche-sarcelle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316807B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --repere-blanc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0112 2.5a7 7 0 017 7C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Activités à faire à Percé — feuille du thème
   Le CSS de la maquette validée, adapté au DOM produit par les blocs natifs :
   - les classes de composant sont posées sur les blocs via className ;
   - les icônes SVG inline sont devenues des masques CSS (variables --i-*) ;
   - les sélecteurs d'images sont qualifiés par .wp-block-image, parce que le
     CSS des blocs est imprimé APRÈS cette feuille (spécificité, pas ordre).
   ========================================================================== */

:root {
  --rouge: #D91F27;
  --rouge-fonce: #C80E16;
  --sarcelle: #16807B;
  --sarcelle-fonce: #0D5C59;
  --sarcelle-clair: #8ED8D6;
  --vert-nuit: #063533;
  --vert-nuit-2: #032120;
  --encre: #323031;
  --texte: #333333;
  --gris-1: #F9F9F9;
  --gris-2: #F9F7F8;
  --gris-3: #F2F2F2;
  --gris-ligne: #E8E8E8;
  --charbon: #1D1D1D;
  --blanc: #FFFFFF;

  --titres: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --corps: 'Open Sans', system-ui, sans-serif;
  --main: 'Square Peg', cursive;

  --conteneur: 1170px;
  --r-s: 4px;
  --r-m: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--corps);
  font-size: 17px;
  line-height: 1.43;
  color: var(--texte);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--titres); margin: 0; color: var(--encre); hyphens: none; text-wrap: balance; }
p { margin: 0; }

/* Espacement automatique de Gutenberg : coupé dans theme.json (blockGap 0),
   filet de sécurité ici À SPÉCIFICITÉ NULLE — jamais .wp-block-group > *. */
:where(.wp-block-group) > :where(*), :where(.wp-block-buttons) { margin-block: 0; }
figure.wp-block-image { margin: 0; }
.wp-block-image img { vertical-align: bottom; }

/* Icône générique : un pseudo-élément masqué par la variable --ic. */
[class*="ic-"]::before { -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.ic-coche { --ic: var(--i-coche); }
.ic-boussole { --ic: var(--i-boussole); }
.ic-lit { --ic: var(--i-lit); }
.ic-assiette { --ic: var(--i-assiette); }
.ic-calendrier { --ic: var(--i-calendrier); }
.ic-repere { --ic: var(--i-repere); }
.ic-carte { --ic: var(--i-carte); }
.ic-duree { --ic: var(--i-horloge); }
.ic-mer { --ic: var(--i-vague); }
.ic-montagne { --ic: var(--i-montagne); }
.ic-etoile { --ic: var(--i-etoile); }
.ic-verre { --ic: var(--i-verre); }
.ic-sac { --ic: var(--i-sac); }

.conteneur { width: min(var(--conteneur), 100% - 32px); margin-inline: auto; }

.surtitre {
  font-family: var(--titres);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--texte);
  margin-bottom: 10px;
}
.titre-section { font-size: clamp(28px, 3.2vw, 39px); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }

/* ---------- Boutons ----------
   La classe d'un core/button atterrit sur le conteneur div.wp-block-button :
   le conteneur est neutralisé, le style va sur le lien. */
.wp-block-button.bouton { display: inline-block; line-height: inherit; background: none; border: 0; padding: 0; border-radius: 0; }
.bouton .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--titres); font-weight: 600; font-size: 14px; line-height: inherit;
  padding: 13px 22px; border-radius: var(--r-m); border: 1px solid transparent;
  cursor: pointer; transition: background .2s, color .2s;
}
.bouton--rouge .wp-block-button__link { background: var(--rouge); color: var(--blanc); }
.bouton--rouge .wp-block-button__link:hover { background: var(--rouge-fonce); }
.bouton--contour .wp-block-button__link { border-color: var(--sarcelle-clair); color: var(--sarcelle-clair); background: transparent; }
.bouton--contour .wp-block-button__link:hover { background: rgba(142, 216, 214, .1); }

/* Flèche ↗ des titres liés (était un <span class="fleche">). */
.style h3 a::after, .une h3 a::after, .article h3 a::after {
  content: '↗'; color: var(--sarcelle); font-weight: 600; margin-left: 8px; display: inline-block; transition: transform .2s;
}
.style:hover h3 a::after { transform: translate(2px, -2px); }

/* ---------- Bandeau d'annonce ---------- */
.annonce { background: #2D2A2B; color: var(--blanc); font-family: var(--titres); font-size: 13px; }
.annonce .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.annonce strong { font-weight: 700; }
.annonce__texte a { color: var(--sarcelle-clair); text-decoration: underline; margin-left: 4px; }
.annonce__droite { display: flex; align-items: center; gap: 18px; }
.annonce__rdv { border: 1px solid var(--sarcelle-clair); color: var(--sarcelle-clair); border-radius: var(--r-s); padding: 4px 10px; font-weight: 600; }

/* ---------- En-tête ---------- */
.entete { position: absolute; left: 0; right: 0; top: 40px; z-index: 20; color: var(--blanc); }
.admin-bar .entete { top: 72px; }
.entete.est-colle { position: fixed; top: 0; background: var(--blanc); color: var(--encre); box-shadow: 0 1px 0 var(--gris-ligne); }
.admin-bar .entete.est-colle { top: 32px; }
.entete > .conteneur { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.logo__nom { font-family: var(--titres); font-weight: 500; font-size: 25px; letter-spacing: .18em; }
.logo__nom a { display: flex; align-items: center; gap: 8px; }
.logo__nom a::before { content: ''; width: 17px; height: 17px; background: var(--rouge); -webkit-mask: var(--i-feuille) center / contain no-repeat; mask: var(--i-feuille) center / contain no-repeat; }
.logo__sous { font-family: var(--titres); font-size: 9px; letter-spacing: .5em; margin: 6px 0 0 25px; font-weight: 600; }

/* core/navigation */
.wp-block-navigation.nav { font-family: var(--titres); font-weight: 600; font-size: 14px; }
.nav .wp-block-navigation__container { gap: 26px; align-items: center; }
.nav .wp-block-navigation-item__content { padding: 0; }
.nav .wp-block-navigation-item__content:hover { opacity: .8; }
.nav .wp-block-navigation__submenu-icon { width: 12px; height: 12px; margin-left: 4px; }
.nav .wp-block-navigation__submenu-container {
  color: var(--encre); background: var(--blanc) !important; border: 0 !important; border-radius: var(--r-m);
  box-shadow: 0 10px 30px rgba(0,0,0,.15); min-width: 190px !important; padding: 6px 0; margin-top: 14px;
}
.nav .wp-block-navigation__submenu-container::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 10px 18px; }
.nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.nav .wp-block-navigation__submenu-container .est-courant > .wp-block-navigation-item__content { color: var(--sarcelle-fonce); opacity: 1; }
.nav .wp-block-navigation__container > .est-courant > .wp-block-navigation-item__content { box-shadow: 0 2px 0 var(--rouge); }
.nav .nav__cta .wp-block-navigation-item__content { background: var(--rouge); color: var(--blanc); border-radius: var(--r-m); padding: 10px 16px; }
.nav .nav__cta .wp-block-navigation-item__content:hover { background: var(--rouge-fonce); opacity: 1; }
.nav .wp-block-navigation__responsive-container-open svg, .nav .wp-block-navigation__responsive-container-close svg { width: 26px; height: 26px; }
/* Le panneau mobile de core/navigation s'ouvre blanc sur blanc sans ceci :
   le CSS du bloc est imprimé après cette feuille. */
.wp-block-navigation.nav .wp-block-navigation__responsive-container.is-menu-open {
  background-color: var(--blanc) !important; color: var(--encre) !important; padding: 28px 24px;
}
.nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 60px; }
.nav .wp-block-navigation__responsive-container.is-menu-open { --navigation-layout-justification-setting: flex-start; --navigation-layout-justify: flex-start; text-align: left; }
.nav .is-menu-open .wp-block-navigation__submenu-container { align-items: stretch !important; width: 100%; }
.nav .is-menu-open .wp-block-navigation__container { gap: 0; align-items: stretch !important; width: 100%; }
.nav .is-menu-open .wp-block-navigation-item { width: 100%; }
.nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { display: block; width: 100%; font-size: 18px; padding: 14px 0; border-bottom: 1px solid var(--gris-ligne); box-shadow: none; }
.nav .is-menu-open .wp-block-navigation__submenu-container { box-shadow: none; padding: 0 0 6px 16px !important; margin: 0; }
.nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 10px 0; font-size: 16px; font-weight: 500; }
.nav .is-menu-open .nav__cta { margin-top: 24px; }
.nav .is-menu-open .nav__cta .wp-block-navigation-item__content { text-align: center; padding: 15px !important; font-size: 16px !important; border: 0 !important; }

/* core/navigation ne bascule en menu burger qu'à 600 px ; la maquette le fait à 1000 px. */
@media (min-width: 600px) and (max-width: 1000px) {
  .nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  .nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}

/* ---------- Héros ---------- */
.heros { position: relative; min-height: 720px; display: flex; align-items: center; color: var(--blanc); text-align: center; overflow: visible; }
.wp-block-image.heros__fond { position: absolute; inset: 0; overflow: hidden; }
.wp-block-image.heros__fond img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; animation: zoom 24s ease-out both; }
.heros__fond::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.18) 40%, rgba(0,0,0,.35) 100%); }
@keyframes zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.heros > .conteneur { position: relative; padding: 150px 0 110px; }
.heros h1 { color: var(--blanc); font-size: clamp(34px, 4.7vw, 60px); font-weight: 600; line-height: 1.18; letter-spacing: -.015em; max-width: 760px; margin-inline: auto; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.heros__atouts { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 32px; margin: 26px 0 50px; list-style: none; padding: 0; font-family: var(--titres); font-size: 15px; font-weight: 500; }
.heros__atouts li { display: flex; align-items: center; gap: 8px; }
.heros__atouts li::before { content: ''; width: 16px; height: 16px; background: var(--sarcelle-clair); -webkit-mask: var(--i-coche-epais) center / contain no-repeat; mask: var(--i-coche-epais) center / contain no-repeat; }

.recherche { background: var(--blanc); color: var(--texte); border-radius: var(--r-m); box-shadow: 0 10px 40px rgba(0,0,0,.18); text-align: left; max-width: 1170px; margin-inline: auto; }
.recherche__onglets { display: flex; gap: 6px; padding: 0 20px; border-bottom: 1px solid var(--gris-ligne); }
.recherche__onglet { display: flex; align-items: center; gap: 10px; line-height: normal; border-bottom: 2px solid transparent; padding: 16px 14px 14px; font-family: var(--titres); font-weight: 600; font-size: 14px; color: #6b6b6b; cursor: pointer; margin-bottom: -1px; }
.recherche__onglet::before { content: ''; width: 18px; height: 18px; background: currentColor; }
.recherche__onglet.est-actif { color: var(--sarcelle-fonce); border-bottom-color: var(--sarcelle); }
.recherche__panneau { display: none; grid-template-columns: repeat(3, 1fr) 1.15fr; gap: 12px; padding: 20px; }
.recherche__panneau.est-actif { display: grid; }
.champ { display: flex; align-items: center; justify-content: space-between; border: 1px solid #D9D9D9; border-radius: var(--r-s); padding: 0 14px; height: 48px; font-size: 14px; color: #6b6b6b; font-family: var(--titres); }
.champ::before { content: ''; order: 2; width: 18px; height: 18px; background: var(--sarcelle); }
.recherche__boutons, .recherche__boutons .wp-block-button { display: block; }
.recherche .bouton .wp-block-button__link { display: flex; width: 100%; height: 48px; font-size: 15px; }

/* ---------- En vedette ---------- */
.vedette { background: var(--gris-1); padding: 70px 0 80px; }
.vedette--blanc { background: var(--blanc); }
.vedette__tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.vedette__tete + .vedette__groupe { margin-top: 30px; }
/* Flèches de carrousel de la référence : purement décoratives, dessinées en CSS. */
.vedette--accueil .vedette__tete::after {
  content: ''; flex: 0 0 104px; height: 46px;
  background: var(--fleche-gauche) 0 0 / 46px 46px no-repeat, var(--fleche-droite) 58px 0 / 46px 46px no-repeat;
}
.pastilles { display: flex; gap: 10px; margin: 26px 0 30px; }
.pastille { font-family: var(--titres); font-weight: 600; font-size: 13px; line-height: normal; padding: 9px 18px; border-radius: 100px; border: 1px solid #DDD; background: var(--blanc); color: var(--encre); cursor: pointer; user-select: none; }
.pastille.est-actif { background: var(--sarcelle); border-color: var(--sarcelle); color: var(--blanc); }
.vedette__groupe { display: none; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vedette__groupe.est-actif { display: grid; }
.vedette__groupe.liste-filtrable { row-gap: 32px; }
.carte.est-cache { display: none; }

.carte { background: var(--blanc); border-radius: var(--r-s); box-shadow: 0 4px 8px rgba(0,0,0,.1); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.carte:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,.12); }
.wp-block-image.carte__image { aspect-ratio: 367 / 238; overflow: hidden; }
.wp-block-image.carte__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.carte:hover .carte__image img { transform: scale(1.04); }
.carte__corps { padding: 22px 24px 18px; flex: 1; }
.carte h3 { font-size: 20px; font-weight: 600; line-height: 1.3; }
.carte__lieu { display: flex; align-items: center; gap: 6px; font-family: var(--titres); font-size: 13px; font-weight: 600; color: var(--texte); margin: 8px 0 26px; }
.carte__lieu::before { content: ''; width: 14px; height: 14px; flex-shrink: 0; background: var(--sarcelle); -webkit-mask: var(--i-repere-epais) center / contain no-repeat; mask: var(--i-repere-epais) center / contain no-repeat; }
.prix__libelle { font-size: 13px; color: var(--texte); line-height: 1.43; }
.prix__montant { font-family: var(--titres); font-size: 17px; font-weight: 600; color: var(--encre); line-height: 1.43; }
.prix__note { font-size: 12px; font-family: var(--titres); font-weight: 500; line-height: 1.43; }
.carte__pied { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--gris-ligne); }
.carte__info { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 8px; font-family: var(--titres); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--encre); }
.carte__info + .carte__info { border-left: 1px solid var(--gris-ligne); }
.carte__info::before { content: ''; width: 17px; height: 17px; flex-shrink: 0; background: var(--encre); }

/* ---------- Choisis ton style ---------- */
.styles { padding: 70px 0 80px; }
.styles__tete { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: center; margin-bottom: 44px; }
.styles__tete h2 { padding-right: 30px; }
.styles__tete p { border-left: 2px solid var(--sarcelle); padding: 6px 0 6px 32px; font-size: 15px; line-height: 1.6; }
.styles__grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wp-block-image.style__image { aspect-ratio: 287 / 362; border-radius: var(--r-s); overflow: hidden; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.wp-block-image.style__image a { display: block; height: 100%; }
.wp-block-image.style__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.style:hover .style__image img { transform: scale(1.05); }
.style h3 { font-size: 19px; font-weight: 600; margin-top: 16px; }

/* ---------- Bande photo ---------- */
.bande { position: relative; min-height: 560px; display: flex; align-items: flex-end; color: var(--blanc); overflow: hidden; }
.wp-block-image.bande__photo { position: absolute; inset: 0; }
.wp-block-image.bande__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.bande::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,0) 100%); pointer-events: none; }
.bande > .conteneur { position: relative; z-index: 1; padding: 100px 0 64px; }
.bande h2 { color: var(--blanc); font-size: clamp(40px, 5vw, 60px); font-weight: 600; line-height: 1.12; letter-spacing: -.025em; max-width: 520px; }
.bande p { max-width: 300px; font-size: 15px; margin: 22px 0 28px; }

/* ---------- Planifier ---------- */
.planifier { background: var(--gris-2); padding: 80px 0; overflow: hidden; }
.planifier > .conteneur { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.planifier > .conteneur > * { min-width: 0; }
.planifier h2 { max-width: 430px; }
.atouts { padding: 0; margin: 34px 0 0; display: grid; gap: 22px; }
.atout { display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; }
.atout::before { content: ''; grid-row: span 2; width: 28px; height: 28px; margin-top: 2px; border-radius: 50%; background: #DDF1EF var(--coche-sarcelle) center / 15px no-repeat; }
.atout h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.atout p { font-size: 15px; line-height: 1.6; }

/* Trait rouge dessiné à la main : pseudo-élément, plus de SVG dans le contenu. */
.ecrans::before, .photo-annotee::before { content: ''; position: absolute; width: 110px; height: 60px; background: var(--trait-rouge) center / contain no-repeat; z-index: 1; }

.ecrans { position: relative; height: 470px; }
.ecrans::before { left: -66px; top: 268px; }
.ecran { position: absolute; background: var(--blanc); border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.14); padding: 14px; width: 200px; font-family: var(--titres); }
.ecran--a { left: 30px; top: 0; }
.ecran--b { left: 270px; top: 18px; width: 190px; }
.ecran__barre { display: flex; justify-content: space-between; align-items: center; font-size: 9px; font-weight: 600; letter-spacing: .2em; color: var(--encre); padding: 2px 4px 10px; border-bottom: 1px solid var(--gris-ligne); margin-bottom: 12px; line-height: 1.43; }
.ecran__barre::before { content: ''; width: 12px; height: 2px; background: var(--encre); box-shadow: 0 4px 0 var(--encre), 0 -4px 0 var(--encre); }
.ecran__barre::after { content: ''; width: 18px; }
.ecran--a .ecran__barre::after { content: '9:41'; letter-spacing: 0; }
.ecran h4 { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.ecran__champ { border: 1px solid #CFCFCF; border-radius: 3px; font-size: 8px; text-align: center; padding: 6px; margin-bottom: 7px; color: #777; line-height: 1.43; }
.ecran__cta { background: var(--rouge); color: var(--blanc); border-radius: 3px; font-size: 8px; text-align: center; padding: 7px; font-weight: 700; letter-spacing: .04em; margin-bottom: 14px; line-height: 1.43; }
.ecran__fiche { display: grid; grid-template-columns: 46px 1fr; gap: 8px; align-items: center; padding: 7px 0; border-top: 1px solid var(--gris-ligne); }
.wp-block-image.fiche__photo img { width: 46px; height: 38px; object-fit: cover; border-radius: 3px; }
.fiche__nom { font-size: 9px; font-weight: 700; color: var(--rouge); line-height: 1.43; }
.fiche__info { font-size: 8px; color: #666; line-height: 1.43; }
.wp-block-image.ecran__photo { border-radius: 6px; overflow: visible; height: 150px; margin-bottom: 10px; position: relative; }
.wp-block-image.ecran__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.ecran__photo::after { content: ''; position: absolute; left: -24px; top: 120px; width: 42px; height: 42px; border-radius: 50%; background: var(--rouge) var(--repere-blanc) center / 20px no-repeat; box-shadow: 0 4px 12px rgba(217,31,39,.35); }
.ecran__jour { font-size: 9px; font-weight: 700; color: var(--encre); padding: 6px 0; border-top: 1px solid var(--gris-ligne); line-height: 1.43; }
.ecran__jour strong { color: var(--rouge); font-weight: 700; }
.wp-block-image.ecran__bulle { position: absolute; right: -14px; bottom: 54px; width: 38px; height: 38px; border-radius: 50%; overflow: hidden; border: 3px solid var(--blanc); box-shadow: 0 4px 10px rgba(0,0,0,.2); }
.wp-block-image.ecran__bulle img { width: 100%; height: 100%; object-fit: cover; }
.annotation { position: absolute; font-family: var(--main); color: var(--rouge-fonce); font-size: 30px; line-height: 1; transform: rotate(-6deg); white-space: nowrap; }
.annotation--prix { right: 18px; bottom: 30px; background: var(--blanc); padding: 6px 14px 4px; box-shadow: 0 6px 18px rgba(0,0,0,.1); }

.photo-annotee { position: relative; padding: 0 0 40px 40px; }
.photo-annotee::before { left: -50px; top: 46%; }
.wp-block-image.photo-annotee__cadre { border-radius: var(--r-m); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: 0 12px 40px rgba(0,0,0,.14); }
.wp-block-image.photo-annotee__cadre img { width: 100%; height: 100%; object-fit: cover; }
.photo-annotee .annotation--prix { right: -10px; bottom: 6px; }

/* ---------- Découvrir (articles) ---------- */
.decouvrir { background: linear-gradient(135deg, var(--vert-nuit), var(--vert-nuit-2)); color: var(--blanc); padding: 40px 0 80px; }
.decouvrir .surtitre { color: var(--blanc); margin-top: 0; }
.decouvrir__tete { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; padding-top: 40px; }
.decouvrir h2 { color: var(--blanc); }
.etiquette { position: absolute; left: 14px; top: 14px; background: var(--sarcelle); color: var(--blanc); font-family: var(--titres); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 7px; border-radius: var(--r-s); z-index: 2; line-height: 1.43; pointer-events: none; }
.une { position: relative; display: block; border-radius: var(--r-m); overflow: hidden; aspect-ratio: 1170 / 625; }
.wp-block-image.une__image { position: absolute; inset: 0; }
.wp-block-image.une__image a { display: block; height: 100%; }
.wp-block-image.une__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.une:hover .une__image img { transform: scale(1.03); }
.une::after { content: ''; position: absolute; inset: 0; background: linear-gradient(20deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,0) 70%); pointer-events: none; }
.une__texte { position: absolute; left: 40px; bottom: 36px; z-index: 2; max-width: 300px; }
.date { font-family: var(--titres); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.une h3, .article h3 { color: var(--blanc); font-size: 21px; font-weight: 600; line-height: 1.3; margin: 12px 0 18px; }
.categorie { font-family: var(--titres); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.decouvrir h3 a::after { color: var(--blanc); font-size: 17px; margin-left: 4px; }
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.article__image { position: relative; border-radius: var(--r-m); overflow: hidden; aspect-ratio: 375 / 233; margin-bottom: 22px; }
.wp-block-image.article__photo { height: 100%; }
.wp-block-image.article__photo a { display: block; height: 100%; }
.wp-block-image.article__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.article:hover .article__photo img { transform: scale(1.04); }
.article h3 { margin-top: 14px; }

/* ---------- FAQ (core/details) ---------- */
.faq { padding: 90px 0 70px; text-align: center; }
.faq__liste { max-width: 980px; margin: 40px auto 0; display: grid; gap: 14px; text-align: left; }
.faq .wp-block-details { background: var(--gris-2); border-radius: var(--r-m); }
.faq .wp-block-details summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 32px; font-family: var(--titres); font-size: 18px; font-weight: 600; color: var(--encre); cursor: pointer; }
.faq .wp-block-details summary::-webkit-details-marker { display: none; }
.faq .wp-block-details summary::after { content: ''; width: 18px; height: 18px; flex-shrink: 0; background: #888; -webkit-mask: var(--i-bas) center / contain no-repeat; mask: var(--i-bas) center / contain no-repeat; transition: transform .25s; }
.faq .wp-block-details[open] summary::after { transform: rotate(180deg); }
.faq .wp-block-details p { padding: 0 32px 26px; font-size: 15px; line-height: 1.65; max-width: 800px; }

/* ---------- Guide gratuit ---------- */
.guide { padding: 60px 0 100px; }
.guide > .conteneur { display: grid; grid-template-columns: 455px 1fr; gap: 105px; align-items: center; max-width: 1100px; }
.guide__visuel { background: var(--gris-2); border-radius: 0 100px; height: 545px; display: grid; place-items: center; position: relative; }
/* Points du carrousel de la référence : décoratifs. */
.guide__visuel::after { content: ''; position: absolute; bottom: -26px; left: 50%; transform: translateX(-50%); width: 26px; height: 7px; background: radial-gradient(circle 3.5px at 3.5px 50%, #DDD 99%, transparent) , radial-gradient(circle 3.5px at 22.5px 50%, var(--sarcelle) 99%, transparent); }
.livre { position: relative; width: 210px; transform: perspective(900px) rotateY(-14deg); transform-origin: left center; }
.livre__couv { position: relative; z-index: 1; background: var(--blanc); box-shadow: 10px 12px 26px rgba(0,0,0,.25); border-radius: 2px 4px 4px 2px; overflow: hidden; aspect-ratio: 210 / 290; }
.livre::before { content: ''; position: absolute; right: -12px; top: 5px; bottom: 5px; width: 14px; background: repeating-linear-gradient(90deg, #EEE 0 1px, #FFF 1px 3px); transform: skewY(-10deg); transform-origin: left; }
.livre__marque { padding-top: 16px; text-align: center; font-family: var(--titres); font-size: 6px; letter-spacing: .3em; font-weight: 700; line-height: 1.43; }
.livre__nom { text-align: center; font-family: var(--titres); font-size: 23px; font-weight: 800; letter-spacing: -.02em; color: #111; margin-top: 6px; line-height: 1; padding-bottom: 10px; }
.wp-block-image.livre__photo { height: 70%; }
.wp-block-image.livre__photo img { width: 100%; height: 100%; object-fit: cover; }
.livre__titre { position: absolute; left: 14px; top: 92px; color: var(--blanc); font-family: var(--titres); font-weight: 700; font-size: 18px; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.guide__main { position: absolute; bottom: 74px; left: 0; right: 0; text-align: center; font-family: var(--main); font-size: 38px; color: var(--encre); }
.guide__main::after { content: ''; display: block; width: 210px; height: 4px; margin: 2px auto 0; background: var(--rouge); border-radius: 4px; transform: rotate(-1.5deg); }
.guide h2 { font-family: var(--corps); font-weight: 800; font-size: 26px; text-transform: uppercase; letter-spacing: .01em; color: #111; }
.guide__texte p { font-size: 14px; line-height: 1.55; margin: 18px 0 32px; max-width: 450px; }

/* Formulaires Contact Form 7 (core/shortcode) */
.wpcf7 form { margin: 0; }
.form-guide { display: grid; gap: 10px; max-width: 352px; }
.wpcf7 .wpcf7-form-control-wrap { display: block; }
.champ-form { display: block; width: 100%; height: 40px; border: 1px solid #DDD; border-radius: var(--r-s); padding: 0 16px; font: 12px var(--corps); background: var(--blanc); color: #000; }
.bouton-form { justify-self: start; display: inline-flex; align-items: center; justify-content: center; font-family: var(--titres); font-weight: 600; font-size: 14px; line-height: 1.2; padding: 13px 22px; border-radius: var(--r-m); border: 1px solid transparent; background: var(--rouge); color: var(--blanc); cursor: pointer; }
.form-guide .bouton-form { margin-top: 8px; }
.bouton-form--sarcelle { background: var(--sarcelle); }
.wpcf7-spinner { display: none !important; }
.wpcf7-not-valid-tip { font-size: 12px; color: var(--rouge-fonce); margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: 12px 0 0; padding: 10px 14px; border-radius: var(--r-s); font-size: 13px; border-color: var(--sarcelle); }
.pied__infolettre .wpcf7 form .wpcf7-response-output { color: var(--blanc); }

/* ---------- Chiffres ---------- */
.chiffres { background: linear-gradient(90deg, #F9F9F9, #E4E3E3); padding: 64px 0 70px; text-align: center; }
.chiffres .surtitre { margin-bottom: 14px; }
.chiffres h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 600; text-transform: uppercase; line-height: 1.1; max-width: 640px; margin-inline: auto; }
.chiffres__grille { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 760px; margin: 46px auto 0; }
.chiffre__valeur { font-family: var(--titres); font-size: 34px; font-weight: 700; color: var(--sarcelle-fonce); line-height: 1; }
.chiffre__libelle { font-family: var(--titres); font-size: 13px; font-weight: 600; margin-top: 10px; color: var(--encre); }

/* ---------- Pied de page ---------- */
.pied { background: var(--charbon); color: #ABA6AA; font-size: 14px; line-height: 1.85; }
.pied__haut { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding: 70px 0 60px; }
.pied .logo { color: var(--blanc); }
.pied__devise { font-family: var(--main); color: var(--blanc); font-size: 30px; margin: 22px 0 18px; }
.pied h4 { color: var(--blanc); font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.pied__liste { list-style: none; padding: 0; margin: 0; }
.pied a:hover { color: var(--blanc); }
.pied__boutons { margin-top: 18px; }
.wp-block-social-links.reseaux { display: flex; gap: 10px; margin: 10px 0 0; padding: 0; }
.reseaux .wp-social-link { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.12) !important; color: var(--blanc) !important; display: grid; place-items: center; margin: 0; }
.reseaux .wp-social-link a { padding: 0; display: grid; place-items: center; width: 100%; height: 100%; }
.reseaux .wp-social-link svg { width: 15px; height: 15px; fill: var(--blanc); }
.pied__infolettre { background: linear-gradient(135deg, var(--vert-nuit), var(--vert-nuit-2)); padding: 56px 0 60px; text-align: center; }
.pied__infolettre h2 { color: var(--blanc); font-size: 30px; font-weight: 600; }
.pied__infolettre p { color: rgba(255,255,255,.8); font-size: 14px; max-width: 560px; margin: 12px auto 26px; line-height: 1.6; }
.form-infolettre { display: flex; justify-content: center; max-width: 560px; margin-inline: auto; }
.form-infolettre .wpcf7-form-control-wrap { flex: 1; }
.form-infolettre .champ-form { height: 46px; border: 0; border-radius: var(--r-m) 0 0 var(--r-m); padding: 0 18px; font-size: 14px; }
.form-infolettre .bouton-form { border-radius: 0 var(--r-m) var(--r-m) 0; }
.pied__bas { background: #000; color: #8A8589; font-size: 12px; padding: 14px 0; }

/* ---------- Pages internes ---------- */
.heros--page { min-height: 520px; }
.heros--page > .conteneur { padding: 160px 0 90px; }
.heros--page h1 { max-width: 820px; }
.heros--page .heros__fond img { object-position: center 45%; }
.ariane { font-family: var(--titres); font-size: 13px; font-weight: 500; color: rgba(255,255,255,.85); margin-bottom: 26px; }
.ariane a { text-decoration: underline; text-underline-offset: 3px; }
.surtitre--clair { color: var(--blanc); }
.heros__texte { max-width: 560px; margin: 22px auto 0; font-size: 17px; text-shadow: 0 1px 12px rgba(0,0,0,.3); }
.styles--intro { padding-bottom: 10px; }
.styles--intro .styles__tete { margin-bottom: 0; }
.styles--intro + .vedette--blanc { padding-top: 40px; }

/* Variantes affichées par bascule de classe, jamais par injection JS. */
:where(a, [role="button"], input, button, summary):focus-visible { outline: 3px solid var(--sarcelle); outline-offset: 3px; border-radius: 6px; }


/* ---------- Moteur de recherche fonctionnel (contrôles créés par recherche.js) ---------- */
.ic-loupe { --ic: var(--i-loupe); }
.champ { position: relative; gap: 10px; }
.champ__options { display: none; }
.champ__libelle { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.champ.est-actif-js .champ__libelle { position: absolute; left: 14px; right: 44px; }
.champ.est-actif-js.a-valeur .champ__libelle, .champ--texte.est-actif-js .champ__libelle, .champ--liste.est-actif-js .champ__libelle { visibility: hidden; }
.champ__controle { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font: inherit; color: var(--encre); padding: 0; margin: 0; outline: none; -webkit-appearance: none; appearance: none; cursor: pointer; }
.champ--texte .champ__controle { cursor: text; }
.champ--texte .champ__controle::placeholder { color: #6b6b6b; opacity: 1; }
.champ--liste:not(.a-valeur) select { color: #6b6b6b; }
.champ:not(.a-valeur) input[type=date] { color: transparent; }
.champ input[type=date]::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: auto; height: auto; opacity: 0; cursor: pointer; }
.champ:focus-within { border-color: var(--sarcelle); box-shadow: 0 0 0 3px rgba(22,128,123,.15); }
.recherche__panneau--4 { grid-template-columns: repeat(4, 1fr) 1.15fr; }

/* Saison d'ouverture sur les fiches */
.carte__lieu:has(+ .carte__saison) { margin-bottom: 4px; }
.carte__saison { display: flex; align-items: center; gap: 6px; font-family: var(--titres); font-size: 13px; font-weight: 500; color: var(--texte); margin: 0 0 26px; }
.carte__saison::before { content: ''; width: 14px; height: 14px; flex-shrink: 0; background: var(--sarcelle); }

/* Bandeau de résultats sur les pages de liste */
.resultats-recherche { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 24px; background: #E8F4F3; border-left: 3px solid var(--sarcelle); border-radius: var(--r-s); padding: 14px 20px; margin: 0 0 28px; font-family: var(--titres); font-size: 14px; scroll-margin-top: 100px; }
.resultats-recherche[hidden] { display: none; }
.resultats-recherche__resume { font-weight: 600; color: var(--encre); }
.resultats-recherche__actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.resultats-recherche__actions a { color: var(--sarcelle-fonce); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.resultats-recherche__actions button { background: none; border: 0; padding: 0; font: inherit; color: var(--texte); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }


/* ---------- Répertoire compact (hébergements réels, sans photo) ---------- */
.ic-telephone { --ic: var(--i-telephone); }
.repertoire__grille.vedette__groupe { grid-template-columns: repeat(3, 1fr); gap: 18px; row-gap: 18px; }
.fiche { background: var(--blanc); border-radius: var(--r-s); box-shadow: 0 4px 8px rgba(0,0,0,.1); padding: 20px 22px 18px; display: flex; flex-direction: column; gap: 6px; font-family: var(--titres); font-size: 13px; color: var(--texte); }
.fiche.est-cache { display: none; }
.fiche__categorie { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sarcelle-fonce); line-height: 1.43; }
.fiche h3 { font-size: 17px; font-weight: 600; line-height: 1.3; margin-bottom: 6px; }
.fiche__adresse, .fiche .carte__saison, .fiche__tel { display: flex; align-items: flex-start; gap: 7px; margin: 0; font-weight: 500; line-height: 1.45; }
.fiche__adresse::before, .fiche .carte__saison::before, .fiche__tel::before { content: ''; width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; background: var(--sarcelle); }
.fiche__tel a { color: var(--encre); font-weight: 600; }
.fiche__site { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--gris-ligne); line-height: 1.43; }
.fiche__site a { color: var(--sarcelle-fonce); font-weight: 600; word-break: break-all; }
.fiche__site a::after { content: ' ↗'; }
.repertoire__source { margin-top: 30px; font-family: var(--titres); font-size: 12px; color: #6b6b6b; max-width: 720px; }


/* Champ « Rechercher par nom » du répertoire */
.vedette__tete { flex-wrap: wrap; }
.champ-filtre { position: relative; flex: 0 1 360px; margin: 0; }
.champ-filtre:not(.est-actif-js) { font-family: var(--titres); font-size: 14px; color: #6b6b6b; border: 1px solid #D9D9D9; border-radius: var(--r-s); height: 46px; display: flex; align-items: center; padding: 0 16px 0 42px; background: var(--blanc); }
.champ-filtre__saisie { width: 100%; height: 46px; border: 1px solid #D9D9D9; border-radius: var(--r-s); padding: 0 16px 0 42px; font: 14px var(--titres); color: var(--encre); background: var(--blanc); outline: none; -webkit-appearance: none; appearance: none; }
.champ-filtre__saisie::placeholder { color: #6b6b6b; opacity: 1; }
.champ-filtre__saisie:focus { border-color: var(--sarcelle); box-shadow: 0 0 0 3px rgba(22,128,123,.15); }
@media (max-width: 640px) { .champ-filtre { flex-basis: 100%; } }
.champ-filtre::before { content: ''; position: absolute; left: 15px; top: 50%; width: 17px; height: 17px; margin-top: -8.5px; background: var(--sarcelle); z-index: 1; pointer-events: none; }


/* Bascule « Ouvert aujourd'hui seulement » */
.repertoire .vedette__tete { align-items: center; gap: 16px 28px; }
.repertoire .vedette__tete > :first-child { flex-basis: 100%; }
.repertoire .vedette__tete { justify-content: flex-start; }
.bascule-ouvert { margin: 0; font-family: var(--titres); font-size: 14px; font-weight: 600; color: var(--encre); }
.bascule-ouvert__bouton { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; padding: 6px 0; font: inherit; color: inherit; cursor: pointer; }
.bascule-ouvert__piste { position: relative; width: 44px; height: 24px; border-radius: 100px; background: #CFCFCF; transition: background .2s; flex-shrink: 0; }
.bascule-ouvert__piste::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--blanc); box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.bascule-ouvert__bouton[aria-checked="true"] .bascule-ouvert__piste { background: var(--sarcelle); }
.bascule-ouvert__bouton[aria-checked="true"] .bascule-ouvert__piste::after { transform: translateX(20px); }
.bascule-ouvert__bouton:focus-visible { outline: 3px solid var(--sarcelle); outline-offset: 3px; border-radius: 6px; }
.resultats-recherche__note { flex-basis: 100%; font-size: 13px; font-weight: 500; color: var(--texte); margin-top: -4px; }


/* Photo d'établissement (facultative) : figure de la maquette ou bloc Image ajouté dans Gutenberg */
.fiche > .fiche__photo, .fiche > .wp-block-image { order: -1; margin: -20px -22px 10px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-s) var(--r-s) 0 0; background: var(--gris-3); }
.fiche > .fiche__photo img, .fiche > .wp-block-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fiche > .wp-block-image figcaption { display: none; }


/* Bouton « tarifs » des fiches */
.fiche__via { font-size: 11px; color: #6b6b6b; text-align: center; margin-top: 2px; line-height: 1.43; }
/* Bannière de consentement : n'apparaît qu'avec un widget tiers et sans choix enregistré */
.consentement { display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 760px; margin-inline: auto; background: var(--blanc); color: var(--texte); border-radius: var(--r-m); box-shadow: 0 10px 40px rgba(0,0,0,.25); padding: 20px 24px; font-family: var(--titres); font-size: 14px; line-height: 1.5; gap: 14px 24px; align-items: center; }
.consentement.est-visible { display: flex; flex-wrap: wrap; }
.consentement__texte { flex: 1 1 320px; margin: 0; }
.consentement__actions { display: flex; gap: 10px; margin: 0; }
.repertoire__affiliation { margin-top: 8px; font-family: var(--titres); font-size: 12px; color: #6b6b6b; max-width: 720px; }
.wp-block-buttons.fiche__action { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--gris-ligne); display: block; }
.fiche__action .wp-block-button.bouton--fiche { display: block; width: 100%; }
.fiche__action .bouton--fiche .wp-block-button__link { display: flex; width: 100%; justify-content: center; background: var(--sarcelle); color: var(--blanc); font-size: 13px; padding: 10px 14px; }
.fiche__action .bouton--fiche .wp-block-button__link:hover { background: var(--sarcelle-fonce); }
.bouton--contour-sombre .wp-block-button__link { border-color: #CFCFCF; color: var(--encre); background: transparent; }
.consentement .wp-block-buttons { gap: 10px; }


/* Note de saison (précisions du répertoire : derniers services, réouverture…) */
.fiche__note { font-size: 12px; line-height: 1.45; color: #6b6b6b; margin: -2px 0 0 21px; }

/* ---------- Page de résultats de recherche WordPress (templates/search.html) ---------- */
.bandeau-titre { background: linear-gradient(135deg, var(--vert-nuit), var(--vert-nuit-2)); color: var(--blanc); padding: 170px 0 60px; }
.bandeau-titre .titre-recherche { color: var(--blanc); font-size: clamp(30px, 3.6vw, 44px); font-weight: 600; line-height: 1.2; }
.wp-block-search.recherche-site { margin-top: 26px; max-width: 560px; }
.recherche-site .wp-block-search__inside-wrapper { display: flex; border: 0; padding: 0; background: var(--blanc); border-radius: var(--r-m); overflow: hidden; }
.recherche-site .wp-block-search__input { border: 0; height: 48px; padding: 0 18px; font: 15px var(--titres); }
.recherche-site .wp-block-search__button { margin: 0; border: 0; border-radius: 0; background: var(--rouge); color: var(--blanc); font: 600 14px/1.2 var(--titres); padding: 0 24px; }
.resultats { padding: 60px 0 90px; }
.resultats__liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.resultats__liste > li { background: var(--gris-2); border-radius: var(--r-m); padding: 22px 28px; }
.resultats__liste .wp-block-post-title { font-size: 20px; font-weight: 600; }
.resultats__liste .wp-block-post-title a:hover { color: var(--sarcelle-fonce); }
.resultats__liste .wp-block-post-title a::after { content: '↗'; color: var(--sarcelle); margin-left: 8px; }
.resultats__liste .wp-block-post-excerpt { margin-top: 8px; font-size: 15px; line-height: 1.6; }
.resultats__liste .wp-block-post-excerpt__more-text { display: none; }
.resultats .wp-block-query-pagination { margin-top: 30px; font-family: var(--titres); font-weight: 600; gap: 14px; }
.resultats .wp-block-query-no-results p { font-size: 17px; }
.resultats .wp-block-query-no-results a { color: var(--sarcelle-fonce); text-decoration: underline; }

/* ---------- Réactif ---------- */
@media (max-width: 1000px) {
  .recherche__panneau, .recherche__panneau--4 { grid-template-columns: 1fr 1fr; }
  .vedette__groupe, .articles, .styles__grille, .repertoire__grille.vedette__groupe { grid-template-columns: 1fr 1fr; }
  .planifier > .conteneur, .styles__tete, .guide > .conteneur { grid-template-columns: minmax(0, 1fr); }
  .styles__tete p { margin-top: 20px; }
  .ecrans { width: 480px; max-width: 100%; margin-inline: auto; }
  .guide > .conteneur { gap: 60px; }
  .guide__visuel { max-width: 455px; }
  .pied__haut { grid-template-columns: 1fr 1fr; }
  .photo-annotee { max-width: 520px; margin: 30px auto 0; padding-left: 0; }
}
@media (max-width: 640px) {
  .annonce__droite { display: none; }
  .heros { min-height: 0; }
  .heros > .conteneur { padding: 130px 0 60px; }
  .heros--page > .conteneur { padding: 140px 0 70px; }
  .recherche__onglet:not(.est-actif) { font-size: 0; gap: 0; }
  .recherche__panneau, .recherche__panneau--4 { grid-template-columns: 1fr; }
  .bandeau-titre { padding: 140px 0 44px; }
  .vedette__groupe, .articles, .styles__grille, .repertoire__grille.vedette__groupe { grid-template-columns: 1fr; }
  .vedette--accueil .vedette__tete::after { display: none; }
  .pastilles { flex-wrap: wrap; }
  .bande { min-height: 520px; }
  .ecrans { height: 440px; transform: scale(.78); transform-origin: left top; width: 480px; margin-bottom: -96px; }
  .une { aspect-ratio: 4 / 5; }
  .une__texte { left: 22px; bottom: 22px; }
  .decouvrir__tete { flex-direction: column; align-items: flex-start; gap: 18px; }
  .faq .wp-block-details summary { padding: 20px; font-size: 16px; }
  .faq .wp-block-details p { padding: 0 20px 22px; }
  .guide__visuel { height: 440px; border-radius: 0 70px; }
  .chiffres__grille { grid-template-columns: 1fr; gap: 28px; }
  .pied__haut { grid-template-columns: 1fr; }
  .form-infolettre { flex-direction: column; gap: 10px; }
  .form-infolettre .champ-form, .form-infolettre .bouton-form { border-radius: var(--r-m); width: 100%; }
  .photo-annotee::before { display: none; }
  .photo-annotee .annotation--prix { right: 0; font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
