/* Accueil, recherche et page des lieux (19 octobre 2026) : bandeau photo, critères en puces, régions en cartes. */

/* ---------- Bandeau de l'accueil : grande photo d'un lieu, voile, titre, recherche ---------- */
:root .rt-hero{position:relative;isolation:isolate;margin:0 calc(-1*var(--rt-gouttiere));padding:56px var(--rt-gouttiere) 64px;min-height:min(86vh,760px);display:flex;flex-direction:column;justify-content:center;background:var(--rt-encre);color:#fff;overflow:visible}
:root .rt-hero__fond{position:absolute;inset:0;z-index:-2;overflow:hidden}
:root .rt-hero__photo{width:100%;height:100%;object-fit:cover;display:block}
:root .rt-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(32,27,23,.64) 0%,rgba(32,27,23,.62) 55%,rgba(32,27,23,.8) 100%)}
:root .rt-hero__contenu{max-width:980px;margin:0 auto;width:100%;text-align:center}
:root .rt-hero .rt-surtitre{color:#F1E3B5;margin:0;font-size:.9rem;letter-spacing:.16em;text-transform:uppercase;font-weight:600}
:root .rt-hero h1{color:#fff;font-size:clamp(2.1rem,6.2vw,4.6rem);line-height:1.08;margin:.35em auto .4em;max-width:18ch;text-wrap:balance;text-shadow:0 2px 18px rgba(0,0,0,.35)}
:root .rt-hero .rt-chapo{color:#fff;font-size:clamp(1.05rem,2.2vw,1.25rem);line-height:1.55;max-width:640px;margin:0 auto 28px;text-shadow:0 1px 10px rgba(0,0,0,.4)}
:root .rt-hero__suite{margin:18px 0 0}
:root .rt-hero__suite a{display:inline-flex;align-items:center;min-height:44px;color:#fff;font-weight:600;text-underline-offset:4px}
:root .rt-hero__suite a:hover{color:#F1E3B5}
:root .rt-hero__credit{position:absolute;right:16px;bottom:6px;margin:0;font-size:.85rem;color:#EDE6DA;max-width:calc(100% - 32px);text-align:right;text-shadow:0 1px 6px rgba(0,0,0,.6)}
:root .rt-hero__credit a{color:#fff;display:inline-block;padding:12px 0;text-underline-offset:3px}
.home .rt-entete::after{margin-bottom:0}

/* Recherche du bandeau : une carte blanche, gros champs, bouton or. */
:root .rt-cherche{display:grid;gap:12px;grid-template-columns:1fr;max-width:940px;margin:0 auto;padding:18px;background:var(--rt-blanc);border-radius:28px 28px 10px 10px;box-shadow:0 18px 50px rgba(0,0,0,.28);text-align:left;color:var(--rt-encre)}
:root .rt-cherche__champ{display:flex;flex-direction:column;gap:6px;min-width:0}
:root .rt-cherche label{font-weight:700;font-size:1rem;color:var(--rt-encre)}
:root .rt-cherche select{font:inherit;font-size:17px;width:100%;min-height:54px;padding:10px 40px 10px 14px;border:1px solid #CFC3B2;border-radius:10px;background:#FBF9F5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%238A3624' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center;color:var(--rt-encre);appearance:none;-webkit-appearance:none;box-sizing:border-box}
:root .rt-cherche select:focus{outline:3px solid var(--rt-or);outline-offset:1px;border-color:var(--rt-terre)}
:root .rt-cherche__bouton{font:inherit;font-size:1.1rem;font-weight:700;min-height:56px;padding:12px 26px;border:0;border-radius:999px;background:var(--rt-terre);color:#fff;cursor:pointer;align-self:end}
:root .rt-cherche__bouton:hover,:root .rt-cherche__bouton:focus-visible{background:var(--rt-encre);color:#fff}
:root .rt-cherche__bouton:focus-visible{outline:3px solid var(--rt-or);outline-offset:2px}
@media (max-width:781px){
	:root .rt-hero{padding:32px var(--rt-gouttiere) 56px;min-height:0}
	:root .rt-hero .rt-surtitre{font-size:.78rem;letter-spacing:.12em}
	:root .rt-hero h1{font-size:2rem;margin:.3em auto .35em}
	:root .rt-hero .rt-chapo{font-size:1.02rem;margin-bottom:20px}
	:root .rt-cherche{padding:16px;gap:10px}
	:root .rt-cherche select{min-height:50px}
	:root .rt-cherche label{font-size:.95rem}
}
@media (min-width:782px){
	:root .rt-hero{padding:80px var(--rt-gouttiere) 96px;margin:0 calc(-1*var(--rt-gouttiere))}
	:root .rt-cherche{grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:end;padding:20px 20px 20px 24px}
	:root .rt-hero__credit{right:28px}
}

/* Recherche centrée : pleine largeur du conteneur tant qu'il ne reste pas une marge franche de chaque
   côté (sinon elle tombait 16 px en retrait des bords du contenu). */
@media (min-width:782px) and (max-width:1099px){:root :is(.rt-cherche,.rt-hero__contenu){max-width:none}}

/* ---------- Sections de l'accueil : fonds qui alternent, sans débordement ---------- */
:root .rt-accueil__section{padding:56px 0;border-top:0}
:root .rt-accueil__section h2{font-size:clamp(1.7rem,4.4vw,2.6rem);line-height:1.15;margin:0 0 .45em}
:root .rt-accueil__stages,:root .rt-accueil__etapes{background:var(--rt-blanc);box-shadow:0 0 0 100vmax var(--rt-blanc);clip-path:inset(0 -100vmax)}
:root .rt-accueil__stages{background:var(--rt-or-pale);box-shadow:0 0 0 100vmax var(--rt-or-pale)}
:root .rt-lien-suite a{font-weight:700;text-underline-offset:4px}

/* Régions en cartes : photo d'un lieu, nom et nombre de lieux sur un dégradé. */
:root .rt-regions{list-style:none;margin:0 0 8px;padding:0;display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}
:root .rt-regions>li{min-width:0}
:root .rt-region{position:relative;display:flex;align-items:flex-end;aspect-ratio:1/1;border-radius:40px 40px 6px 6px;overflow:hidden;background:linear-gradient(160deg,#B9A27C,#8A3624);color:#fff;text-decoration:none!important;box-shadow:0 6px 20px rgba(60,54,48,.12);transition:transform .2s,box-shadow .2s}
:root .rt-region img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s}
:root .rt-region::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(32,27,23,0) 35%,rgba(32,27,23,.82) 100%)}
:root .rt-region__texte{position:relative;z-index:1;display:flex;flex-direction:column;gap:6px;padding:14px 14px 14px;width:100%}
:root .rt-region__nom{font-family:var(--rt-titres);font-size:clamp(1.05rem,3.6vw,1.45rem);line-height:1.15;color:#fff;overflow-wrap:anywhere}
:root .rt-region__nombre{align-self:flex-start;background:rgba(255,255,255,.94);color:var(--rt-encre);border-radius:999px;padding:3px 11px;font-size:.88rem;font-weight:700}
:root .rt-region:hover,:root .rt-region:focus-visible{transform:translateY(-3px);box-shadow:0 14px 34px rgba(60,54,48,.2)}
:root .rt-region:hover img{transform:scale(1.04)}
:root .rt-region:focus-visible{outline:3px solid var(--rt-or);outline-offset:3px}
@media (min-width:600px){:root .rt-regions{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}:root .rt-region{aspect-ratio:4/3}}
@media (min-width:1100px){:root .rt-regions{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Grandes villes, pays, départements : puces avec le nombre de lieux. */
:root .rt-zones__groupe{margin-top:28px}
:root .rt-zones__groupe h3,:root .rt-zones__groupe h4{font-size:1.3rem;margin:0 0 12px}
:root .rt-zones__groupe--pays{margin-top:44px}
:root .rt-zones__groupe--pays>h3,:root .rt-zones__groupe--pays>h4,:root .rt-zones__groupe--pays>h2{font-size:clamp(1.6rem,3.2vw,2.2rem);margin:0 0 18px}
:root .rt-puces{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
:root .rt-puces a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 16px;border:1px solid #D9CFC0;border-radius:999px;background:var(--rt-blanc);color:var(--rt-encre);text-decoration:none!important;font-weight:600;box-sizing:border-box}
:root .rt-puces a span{font-weight:700;color:var(--rt-terre);font-size:.9rem}
:root .rt-puces a:hover,:root .rt-puces a:focus-visible{border-color:var(--rt-terre);background:var(--rt-or-pale)}
:root .rt-zones__departements{margin-top:28px;border-top:1px solid #D9CFC0;padding-top:8px}
:root .rt-zones__departements summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:700;font-size:1.1rem;color:var(--rt-terre)}
:root .rt-zones__departements[open] summary{margin-bottom:12px}

/* Professionnels : section sombre, deux cartes claires. */
:root .rt-accueil__pros{background:var(--rt-encre);box-shadow:0 0 0 100vmax var(--rt-encre);clip-path:inset(0 -100vmax);color:#fff;text-align:left;border-radius:0;margin:0;padding:56px 0}
:root .rt-accueil__pros h2{color:#fff}
:root .rt-pros{display:grid;gap:16px;grid-template-columns:1fr}
:root .rt-pro{background:var(--rt-lin);color:var(--rt-encre);border-radius:40px 40px 6px 6px;padding:26px 22px;display:flex;flex-direction:column}
:root .rt-pro h3{font-size:1.5rem;margin:0 0 .4em;color:var(--rt-encre)}
:root .rt-pro p{margin:0 0 14px}
:root .rt-pro__faits{list-style:none;margin:0 0 18px;padding:0;display:grid;gap:8px}
:root .rt-pro__faits li{position:relative;padding-left:28px;font-weight:600}
:root .rt-pro__faits li::before{content:"";position:absolute;left:2px;top:.35em;width:14px;height:8px;border-left:3px solid var(--rt-terre);border-bottom:3px solid var(--rt-terre);transform:rotate(-45deg)}
:root .rt-pro__action{margin-top:auto!important}
:root .rt-pro .rt-bouton{min-height:48px;font-size:1.05rem;padding:10px 24px}
@media (min-width:782px){:root .rt-pros{grid-template-columns:1fr 1fr;gap:24px}:root .rt-pro{padding:34px 32px}}

/* ---------- Recherche des lieux (page des lieux et autres pages de recherche) ---------- */
:root .rc-recherche__formulaire{gap:16px;padding:20px;border-radius:28px 28px 10px 10px;border:1px solid #E4DACB;box-shadow:0 10px 30px rgba(60,54,48,.08);background:var(--rt-blanc)}
:root .rc-recherche__champ label,:root .rc-recherche__cases legend{font-size:1rem;font-weight:700;color:var(--rt-encre);margin-bottom:8px}
:root .rc-recherche__formulaire select,:root .rc-recherche__formulaire input:not([type=checkbox]):not([type=radio]){min-height:52px;font-size:17px;box-sizing:border-box}
/* Cases à cocher en puces : toute la puce est cliquable, la case reste au clavier. */
:root .rc-recherche__cases{border:0;background:none;padding:0;gap:8px;display:flex;flex-wrap:wrap}
:root .rc-recherche__cases legend{float:left;width:100%;padding:0}
:root .rc-recherche__cases label{position:relative;display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;border:1px solid #CFC3B2;border-radius:999px;background:#FBF9F5;color:var(--rt-encre);font-weight:600;cursor:pointer;box-sizing:border-box;transition:background .15s,border-color .15s}
:root .rc-recherche__cases label input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
:root .rc-recherche__cases label:hover{border-color:var(--rt-terre)}
:root .rc-recherche__cases label:has(input:checked){background:var(--rt-terre);border-color:var(--rt-terre);color:#fff}
:root .rc-recherche__cases label:has(input:checked)::before{content:"";width:10px;height:6px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg);margin:-3px 8px 0 0}
:root .rc-recherche__cases label:has(input:focus-visible){outline:3px solid var(--rt-or);outline-offset:2px}
/* Critères secondaires repliés. */
:root .rc-recherche__plus{grid-column:1/-1;border-top:1px solid #E4DACB;padding-top:4px}
:root .rc-recherche__plus summary{cursor:pointer;min-height:44px;display:inline-flex;align-items:center;gap:10px;font-weight:700;color:var(--rt-terre);list-style:none}
:root .rc-recherche__plus summary::-webkit-details-marker{display:none}
:root .rc-recherche__plus summary::before{content:"+";display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--rt-or-pale);color:var(--rt-terre);font-size:20px;line-height:1}
:root .rc-recherche__plus[open] summary::before{content:"−"}
:root .rc-recherche__plus-champs{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));align-items:end;padding:12px 0 4px}
:root .rc-recherche__plus-champs .rc-recherche__cases{grid-column:1/-1}
:root .rc-recherche__envoi{grid-column:1/-1;gap:12px 20px}
:root .rc-recherche__envoi .rc-bouton{font:inherit;font-size:1.1rem;font-weight:700;min-height:54px;padding:12px 32px;background:var(--rt-terre);color:#fff!important}
:root .rc-recherche__envoi .rc-bouton:hover,:root .rc-recherche__envoi .rc-bouton:focus-visible{background:var(--rt-encre)}
:root .rc-recherche__nombre{font-size:1.05rem;color:var(--rt-encre);font-weight:600}
:root .rc-recherche__carte{height:420px;border-radius:28px 28px 6px 6px}
@media (max-width:781px){
	:root .rc-recherche__formulaire{padding:16px}
	:root .rc-recherche__envoi .rc-bouton{width:100%}
	:root .rc-recherche__carte{height:320px}
}

/* ---------- Page des lieux : intro courte, puis recherche, résultats, carte, régions ---------- */
:root .rt-lieux__intro{font-size:1.1rem;max-width:760px;margin:0 0 20px;color:var(--rt-gris)}
:root .rt-lieux__zones{margin:48px 0 40px}
:root .rt-lieux__zones>h2{font-size:clamp(1.6rem,4vw,2.3rem);margin:0 0 16px}
:root #regions,:root #etranger{scroll-margin-top:24px}

@media (prefers-reduced-motion:reduce){:root .rt-region,:root .rt-region img{transition:none}:root .rt-region:hover img{transform:none}}
:root .rt-accueil__etapes .rt-etapes li{background:var(--rt-lin);border-color:#E4DACB}
/* Couleurs de liens imposées : les règles générales des contenus (liens terre cuite) ne s'appliquent pas ici. */
:root .rt-hero__suite a,:root .rt-hero__credit a{color:#fff!important}
:root .rt-hero__suite a:hover{color:#F1E3B5!important}
:root .rt-puces a{color:var(--rt-encre)!important}
:root .rt-region,:root .rt-region__nom{color:#fff!important}
:root .rt-pro a.rt-bouton{color:var(--rt-encre)!important}
:root .rt-pro a.rt-bouton:hover{color:#fff!important}
/* Page de recherche : un seul cadre (celui du formulaire), puces côte à côte. */
:root .rc-page.rc-recherche{background:transparent;padding:0;border:0;box-shadow:none}
:root .rc-recherche__formulaire .rc-recherche__cases{flex-direction:row;flex-wrap:wrap;align-items:center}
/* Listes longues (activités, équipements) : 8 pastilles + champ « Un autre critère », même style que les puces. */
:root .rc-recherche__formulaire .rc-activites{display:flex;flex-direction:column;gap:10px;width:100%}
:root .rc-recherche__formulaire .rc-activites__populaires,:root .rc-recherche__formulaire .rc-activites__choisies{display:flex;flex-wrap:wrap;gap:8px}
:root .rc-recherche__formulaire .rc-activites__choisies:empty{display:none}
:root .rc-recherche__formulaire :is(.rc-activites__pastille,.rc-activites__choisie){font:inherit;font-weight:600;min-height:44px;padding:8px 16px;border:1px solid #CFC3B2;border-radius:999px;background:#FBF9F5;color:var(--rt-encre);cursor:pointer}
:root .rc-recherche__formulaire .rc-activites__pastille:hover{border-color:var(--rt-terre)}
:root .rc-recherche__formulaire .rc-activites__choisie{background:var(--rt-terre);border-color:var(--rt-terre);color:#fff}
:root .rc-recherche__formulaire :is(.rc-activites__pastille,.rc-activites__choisie):focus-visible{outline:3px solid var(--rt-or);outline-offset:2px}
:root .rc-recherche__formulaire .rc-activites__autre{position:relative}
:root .rc-recherche__formulaire .rc-activites__suggestions{position:absolute;left:0;right:0;top:100%;z-index:30;margin:4px 0 0;padding:6px 0;list-style:none;background:#fff;border:1px solid #CFC3B2;border-radius:10px;box-shadow:0 12px 30px rgba(60,54,48,.15)}
:root .rc-recherche__formulaire .rc-activites__suggestions li{min-height:44px;display:flex;align-items:center;padding:6px 14px;cursor:pointer}
:root .rc-recherche__formulaire .rc-activites__suggestions li:hover{background:var(--rt-or-pale)}
:root .rt-accueil .rt-accueil__pros>*{max-width:1240px}
:root .rt-accueil__pros{margin-top:56px}
