/* Thème du site public (version 2). Chargé après les styles de base : il ne change que l'apparence.
   Principes : texte de base à 15 px, trois épaisseurs (400, 500, 600), une seule couleur d'accent,
   surfaces blanches séparées par des traits fins, de l'air entre les sections. */
:root {
  --texte: #101828; --discret: #667085; --pale: #98a2b3; --trait: #eaecf0; --trait-fort: #d0d5dd;
  --fond: #ffffff; --carte: #f7f8fa; --accent: #0e5a8a; --accent-fonce: #0a4469; --accent-clair: #eef5fa;
  --chaud: #c2512a; --baisse: #05603a; --rayon: 14px; --rayon-petit: 10px;
  --ombre: 0 1px 2px rgb(16 24 40 / .05); --ombre-forte: 0 12px 32px rgb(16 24 40 / .12);
  color-scheme: light;
}
html { background: var(--fond); container-type: inline-size; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Arabic", Tahoma, sans-serif;
  font-size: .9375rem; line-height: 1.55; max-width: 76rem; padding: 0 1rem 0; background: var(--fond); color: var(--texte);
  -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; min-height: 100dvh; box-sizing: border-box;
}
body > main { flex: 1 0 auto; }
a { color: var(--vert-moyen-texte); text-underline-offset: .15em; }
a:hover { color: var(--vert-texte); }
h1 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.85rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; margin: 1.25rem 0 .5rem; }
h2 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; margin: 1.75rem 0 .6rem; }
h3 { font-size: 1rem; font-weight: 600; margin: 0 0 .3rem; }
.icone { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.17em; }
.icone-grande { width: 2.2rem; height: 2.2rem; opacity: .45; }
[dir="rtl"] .icone-fleche { transform: scaleX(-1); }
.discret { color: var(--discret); font-size: .875rem; }
:focus-visible { outline: 3px solid rgb(14 90 138 / .3); outline-offset: 2px; }

/* ===== En-tête : toute la largeur, logo, rubriques, langue et compte ===== */
.entete-site {
  position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem;
  margin: 0 calc((100% - 100cqw) / 2) 0; padding: .7rem 1rem; border: 0;
  background: rgb(255 255 255 / .9); backdrop-filter: saturate(1.5) blur(10px); box-shadow: 0 1px 0 var(--trait);
}
.logo { display: inline-flex; align-items: center; gap: .55rem; font-size: 1.05rem; font-weight: 600; letter-spacing: -.02em; color: var(--texte); text-decoration: none; }
.logo::before {
  content: ""; width: 2rem; height: 2rem; border-radius: 9px; flex: none;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5 9.5V21h14V9.5'/%3E%3Cpath d='M10 21v-6h4v6'/%3E%3C/svg%3E") center / 1.15rem no-repeat;
}
.nav-site { display: flex; gap: .25rem; }
.nav-site a { padding: .45rem .8rem; border-radius: 999px; color: var(--texte); text-decoration: none; font-weight: 500; font-size: .9rem; }
.nav-site a:hover { background: var(--carte); color: var(--texte); }
.langue { margin-inline-start: auto; }
.compte { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; }
.entete-site .langue a, .entete-site .compte > a {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 2.4rem; box-sizing: border-box; padding: .3rem .9rem;
  border: 1px solid var(--trait-fort); border-radius: 999px; background: var(--surface); color: var(--texte); font-weight: 500; font-size: .9rem; text-decoration: none;
}
.entete-site .compte > a { padding-inline-start: .3rem; }
.entete-site .compte > a::before {
  content: ""; width: 1.8rem; height: 1.8rem; border-radius: 50%; flex: none;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 4-6 8-6s8 2 8 6'/%3E%3C/svg%3E") center / 1rem no-repeat;
}
.entete-site .langue a:hover, .entete-site .compte > a:hover { border-color: var(--accent); color: var(--vert-texte); box-shadow: 0 0 0 3px rgb(14 90 138 / .12); }
@media (min-width: 62rem) { .entete-site { padding-inline: 1.5rem; } }
@media (max-width: 45rem) {
  .entete-site { position: relative; gap: .5rem .75rem; }
  .nav-site { order: 5; width: 100%; overflow-x: auto; scrollbar-width: none; margin-inline: -.4rem; }
  .nav-site a { white-space: nowrap; }
}

/* Menu « Mon compte » / « Mon espace » */
.menu-compte { position: relative; }
.menu-compte summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .5rem; min-height: 2.4rem; box-sizing: border-box;
  padding: .3rem .75rem .3rem .3rem; border: 1px solid var(--trait-fort); border-radius: 999px; background: var(--surface);
  font-weight: 500; font-size: .9rem; color: var(--texte); user-select: none;
}
.menu-compte summary::-webkit-details-marker { display: none; }
.menu-compte summary::after { content: "▾"; color: var(--discret); font-size: .8em; }
.menu-compte[open] summary { border-color: var(--accent); box-shadow: 0 0 0 3px rgb(14 90 138 / .12); }
.initiale { display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--accent); color: #fff; font-size: .8rem; font-weight: 600; }
.menu-compte-liens {
  position: absolute; z-index: 30; inset-inline-end: 0; margin-top: .4rem; min-width: 15rem; padding: .35rem 0;
  background: var(--surface); border: 1px solid var(--trait); border-radius: 12px; box-shadow: var(--ombre-forte);
}
.menu-compte-liens a { display: block; padding: .5rem 1rem; color: var(--texte); text-decoration: none; font-size: .9rem; }
.menu-compte-liens a:hover { background: var(--carte); color: var(--vert-texte); }
.menu-compte-qui { margin: 0; padding: .5rem 1rem .6rem; border-bottom: 1px solid var(--trait); color: var(--discret); font-size: .82rem; overflow-wrap: anywhere; }
.menu-compte-qui strong { color: var(--texte); font-size: .9rem; font-weight: 600; }
.menu-compte-liens form { margin: .35rem 0 0; padding-top: .35rem; border-top: 1px solid var(--trait); }
.menu-compte-liens button.deconnexion, .menu-compte-liens button.deconnexion:hover {
  display: block; width: 100%; margin: 0; padding: .5rem 1rem; text-align: start; background: none; border: 0; border-radius: 0;
  color: #b42318; font-weight: 500; font-size: .9rem;
}
.menu-compte-liens button.deconnexion:hover { background: #fef3f2; }
@media (max-width: 45rem) { .menu-compte { position: static; } .menu-compte-liens { inset-inline: 0; min-width: 0; } }

/* ===== Formulaires et boutons ===== */
label { font-size: .85rem; font-weight: 500; color: var(--texte-doux); }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea {
  min-height: 2.6rem; border: 1px solid var(--trait-fort); border-radius: var(--rayon-petit); background: var(--fond); color: var(--texte);
  padding: .55rem .75rem; font-size: .9375rem; box-shadow: var(--ombre); transition: border-color .15s, box-shadow .15s;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(14 90 138 / .16); }
input[type=checkbox], input[type=radio] { accent-color: var(--accent); }
.bouton, button {
  border-radius: var(--rayon-petit); padding: .6rem 1.1rem; font-weight: 600; font-size: .9rem; border: 1px solid var(--accent);
  background: var(--accent); color: #fff; transition: background .15s, box-shadow .15s;
}
.bouton:hover, button:hover { background: var(--accent-fonce); border-color: var(--accent-fonce); color: #fff; }
.bouton-discret, .bouton-discret:is(button) { background: var(--surface); color: var(--texte); border-color: var(--trait-fort); box-shadow: var(--ombre); }
.bouton-discret:hover, .bouton-discret:is(button):hover { background: var(--carte); color: var(--texte); border-color: var(--trait-fort); }
button.lien, button.lien:hover { background: none; border: 0; color: var(--vert-moyen-texte); padding: 0; box-shadow: none; }
.fermer, .fermer:hover { background: none; border: 0; color: var(--texte); }
.errorlist { font-size: .85rem; }

/* ===== Accueil ===== */
.accueil-hero {
  margin: 1rem 0 0; padding: clamp(2rem, 6vw, 4.5rem) clamp(1rem, 4vw, 3rem) clamp(1.75rem, 4vw, 3rem); text-align: center;
  border-radius: 24px; background:
    radial-gradient(40rem 20rem at 85% 0%, rgb(31 138 138 / .10), transparent 70%),
    radial-gradient(40rem 20rem at 10% 100%, rgb(14 90 138 / .10), transparent 70%), #f3f7fa;
}
.accueil-hero h1 { margin: 0 auto .6rem; max-width: 40rem; font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3rem); font-weight: 650; letter-spacing: -.035em; line-height: 1.1; }
.accueil-hero .accroche { margin: 0 auto 1.75rem; max-width: 34rem; color: var(--discret); font-size: 1.02rem; }
.recherche-rapide { max-width: 52rem; margin: 0 auto; }
.recherche-rapide .operations { margin-bottom: .9rem; background: rgb(255 255 255 / .7); }
.rr-champs {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; align-items: center; text-align: start; padding: .4rem;
  background: var(--surface); border: 1px solid var(--trait); border-radius: 999px; box-shadow: var(--ombre-forte);
}
.rr-champ { display: block; margin: 0; padding: .3rem 1.1rem; border-inline-start: 1px solid var(--trait); cursor: pointer; }
.rr-champ:first-child { border: 0; }
.rr-libelle { display: flex; align-items: center; gap: .35rem; font-size: .75rem; font-weight: 600; color: var(--texte); }
.rr-libelle .icone { color: var(--vert-moyen-texte); }
.rr-champ select, .rr-champ input:not([type=radio]) {
  width: 100%; min-height: 0; padding: .1rem 0; border: 0 !important; box-shadow: none !important; background: transparent;
  font-size: .9rem; color: var(--discret); appearance: none; -webkit-appearance: none;
}
.rr-champ:focus-within { background: var(--carte); border-radius: 999px; }
.rr-bouton { display: inline-flex; align-items: center; gap: .45rem; margin: 0; height: 3.2rem; padding: 0 1.4rem; border-radius: 999px; font-size: .95rem; }
.hero-compteur { margin: 1.1rem 0 0; color: var(--discret); font-size: .85rem; }
@media (max-width: 45rem) {
  .accueil-hero { border-radius: 18px; text-align: start; }
  .accueil-hero h1, .accueil-hero .accroche { margin-inline: 0; }
  .rr-champs { grid-template-columns: 1fr; border-radius: 18px; padding: .35rem; }
  .rr-champ { border: 0; border-bottom: 1px solid var(--trait); padding: .55rem .75rem; }
  .rr-champ:focus-within { border-radius: 12px; }
  .rr-bouton { justify-content: center; margin-top: .35rem; height: 3rem; border-radius: 12px; }
}

/* Sections de l'accueil */
.section { margin-top: clamp(2.25rem, 5vw, 3.5rem); }
.section-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: .5rem 1rem; margin-bottom: 1rem; }
.section-tete h2 { margin: 0; font-size: clamp(1.2rem, 1rem + .6vw, 1.45rem); letter-spacing: -.02em; }
.section-sous { margin: .2rem 0 0; color: var(--discret); font-size: .9rem; }
.lien-suite { display: inline-flex; align-items: center; gap: .35rem; font-weight: 500; font-size: .9rem; text-decoration: none; }
.lien-suite:hover { text-decoration: underline; }
.vide { color: var(--discret); padding: 2rem; text-align: center; background: var(--carte); border-radius: var(--rayon); }

.types { display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: .75rem; }
.type {
  display: grid; gap: .15rem; padding: 1rem; border: 1px solid var(--trait); border-radius: var(--rayon); background: var(--surface);
  color: var(--texte); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s;
}
.type:hover { color: var(--texte); border-color: var(--trait-fort); box-shadow: var(--ombre-forte); transform: translateY(-2px); }
.type-icone { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; margin-bottom: .5rem; border-radius: 12px; background: var(--accent-clair); color: var(--vert-moyen-texte); }
.type-icone .icone { width: 1.35rem; height: 1.35rem; }
.type-vacances .type-icone { background: #fef6ee; color: var(--chaud); }
.type-nom { font-weight: 600; font-size: .92rem; }
.type-nombre { color: var(--discret); font-size: .8rem; }

.wilayas { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: .75rem; }
.wilaya {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 7.5rem; padding: 1rem;
  border-radius: var(--rayon); color: #fff; text-decoration: none; overflow: hidden; background: #0e5a8a;
  transition: transform .15s, box-shadow .15s;
}
.wilaya:nth-child(6n+2) { background: #0f6e56; } .wilaya:nth-child(6n+3) { background: #9a3f1f; }
.wilaya:nth-child(6n+4) { background: #4a3f9a; } .wilaya:nth-child(6n+5) { background: #1d6f8a; } .wilaya:nth-child(6n) { background: #7a5a12; }
.wilaya::after { content: ""; position: absolute; inset: auto -2rem -3rem auto; width: 8rem; height: 8rem; border-radius: 50%; background: rgb(255 255 255 / .08); }
.wilaya:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--ombre-forte); }
.wilaya-code { position: absolute; top: .8rem; inset-inline-start: 1rem; font-size: .75rem; font-weight: 600; opacity: .7; }
.wilaya-nom { font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; }
.wilaya-nombre { font-size: .8rem; opacity: .85; }

.section-vacances { padding: clamp(1.25rem, 3vw, 2rem); border-radius: 24px; background: #fdf8f3; }
.atouts { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; padding-block: 1.5rem; border-block: 1px solid var(--trait); }
.atout { display: flex; gap: .85rem; align-items: flex-start; }
.atout-icone { display: grid; place-items: center; flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--accent-clair); color: var(--vert-moyen-texte); }
.atout p { margin: 0; color: var(--discret); font-size: .875rem; }
.appels { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1rem; }
.appel { padding: clamp(1.25rem, 3vw, 2rem); border-radius: 20px; }
.appel h3 { font-size: 1.15rem; letter-spacing: -.01em; }
.appel p { margin: 0 0 1.1rem; max-width: 28rem; font-size: .9rem; }
.appel .bouton { margin: 0; }
.appel-agence { background: #0b2233; color: #c8d3dc; }
.appel-agence h3 { color: #fff; }
.appel-agence .bouton { background: #fff; border-color: #fff; color: #0b2233; }
.appel-agence .bouton:hover { background: #e6edf2; border-color: #e6edf2; color: #0b2233; }
.appel-hote { background: var(--carte); border: 1px solid var(--trait); }
.appel-hote p { color: var(--discret); }

/* ===== Recherche ===== */
.recherche-tete { margin: 1rem 0 1.5rem; }
.recherche-tete h1 { margin: 0 0 .9rem; }
.barre-recherche { padding: .75rem; background: var(--surface); border: 1px solid var(--trait); border-radius: 18px; box-shadow: var(--ombre); }
.operations { display: inline-flex; flex-wrap: wrap; gap: .2rem; padding: .25rem; margin-bottom: .7rem; background: var(--carte); border-radius: 999px; }
.choix-operation { position: relative; margin: 0; font-weight: 500; cursor: pointer; }
.choix-operation input, .puce input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; margin: 0; inset-inline-start: 0; top: 0; }
.choix-operation span { display: block; padding: .4rem .95rem; border-radius: 999px; color: var(--discret); font-size: .875rem; }
.choix-operation input:checked + span { background: var(--surface); color: var(--texte); font-weight: 600; box-shadow: 0 1px 3px rgb(16 24 40 / .12); }
.choix-operation input:focus-visible + span, .puce input:focus-visible + span { outline: 3px solid rgb(14 90 138 / .3); outline-offset: 2px; }
.filtres-ligne { position: relative; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.filtre { position: relative; }
.filtre summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; max-width: 18rem; min-height: 2.4rem; box-sizing: border-box;
  padding: .4rem .85rem; border: 1px solid var(--trait-fort); border-radius: 999px; background: var(--surface); font-weight: 500; font-size: .875rem; user-select: none;
}
.filtre summary .icone { color: var(--discret); }
.filtre summary::-webkit-details-marker { display: none; }
.filtre summary::after { content: "▾"; color: var(--pale); font-size: .8em; }
.filtre summary:hover { border-color: var(--texte); }
.filtre[open] summary { border-color: var(--texte); box-shadow: 0 0 0 3px rgb(16 24 40 / .06); }
.filtre-actif summary { background: var(--accent-clair); border-color: var(--accent); color: var(--vert-texte); }
.filtre-actif summary .icone { color: var(--vert-moyen-texte); }
.filtre-valeur { font-weight: 500; color: var(--vert-texte); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.filtre-valeur::before { content: "· "; }
.filtre-panneau {
  position: absolute; z-index: 25; inset-inline-start: 0; margin-top: .4rem; width: 19rem; padding: 1rem;
  background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon); box-shadow: var(--ombre-forte);
}
.filtre-panneau label:first-child { margin-top: 0; }
.filtre-panneau > button { width: 100%; margin-top: .9rem; }
.filtre-deux { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .75rem; width: 22rem; }
.filtre-deux button { grid-column: 1 / -1; }
.filtres-actions { display: flex; gap: .5rem; margin-inline-start: auto; }
.filtres-actions .bouton, .filtres-actions button { margin: 0; white-space: nowrap; }
.bouton-rechercher { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.4rem; padding: .4rem 1.2rem; border-radius: 999px; }
.filtres-actions .bouton-discret { border-radius: 999px; min-height: 2.4rem; padding: .4rem 1rem; display: inline-flex; align-items: center; }
.resultats-entete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; margin: 0 0 1rem; }
.resultats-total { margin: 0; font-weight: 600; font-size: 1rem; }
.resultats-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.resultats-actions .bouton { margin: 0; padding: .45rem .9rem; font-size: .85rem; }
.tri { display: inline-flex; align-items: center; gap: .5rem; margin: 0; font-weight: 500; color: var(--discret); }
.tri select { width: auto; min-height: 2.3rem; padding-block: .35rem; font-size: .875rem; }
@media (max-width: 45rem) {
  .operations { display: flex; flex-wrap: nowrap; overflow-x: auto; border-radius: 12px; scrollbar-width: none; }
  .choix-operation span { white-space: nowrap; }
  .filtre { position: static; }
  .filtre-panneau, .filtre-deux { inset-inline: 0; width: auto; }
  .filtres-actions { width: 100%; margin: 0; }
  .filtres-actions button { flex: 1; justify-content: center; }
}
.pagination { justify-content: center; align-items: center; margin: 2rem 0 0; font-size: .9rem; }
.pagination a { padding: .45rem .9rem; border: 1px solid var(--trait-fort); border-radius: 999px; text-decoration: none; color: var(--texte); }
.pagination a:hover { background: var(--carte); }

/* ===== Cartes d'annonces ===== */
.liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: 1.5rem 1.25rem; }
.carte { position: relative; border: 0; border-radius: 0; overflow: visible; background: transparent; box-shadow: none; }
.carte a { display: block; height: 100%; color: inherit; text-decoration: none; }
.carte-image { position: relative; overflow: hidden; border-radius: var(--rayon); background: var(--carte); }
.carte-image img, .carte-image .sans-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.carte:hover .carte-image img { transform: scale(1.04); }
.sans-photo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; color: var(--pale); font-size: .85rem; background: var(--carte); }
.carte-image .operation {
  position: absolute; top: .7rem; inset-inline-start: .7rem; margin: 0; padding: .2rem .6rem; border-radius: 999px;
  background: rgb(255 255 255 / .95); color: var(--texte); font-size: .75rem; font-weight: 600; box-shadow: 0 1px 3px rgb(16 24 40 / .15);
}
.carte-texte { display: grid; gap: .15rem; padding: .7rem .15rem 0; }
.carte-texte .prix { margin: 0; font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; color: var(--texte); }
.prix-unite { font-size: .82em; font-weight: 400; color: var(--discret); }
.carte-texte .baisse { margin: 0; font-size: .8rem; font-weight: 500; }
.carte-titre { margin: 0; font-size: .9rem; font-weight: 500; color: var(--texte); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.carte-infos { list-style: none; display: flex; flex-wrap: wrap; gap: .2rem .8rem; margin: .1rem 0 0; padding: 0; color: var(--discret); font-size: .8rem; }
.carte-infos li, .carte-lieu { display: inline-flex; align-items: center; gap: .3rem; }
.carte-infos .icone, .carte-lieu .icone { color: var(--pale); }
.carte-lieu { margin: 0; color: var(--discret); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.carte-agence { margin: .2rem 0 0; color: var(--pale); font-size: .78rem; }
.carte-agence strong { color: var(--chaud); font-weight: 600; }
.favori-compact { position: absolute; top: .55rem; inset-inline-end: .55rem; z-index: 1; margin: 0; }
.favori-compact button, .carte a.favori-compact {
  display: grid; place-items: center; width: 2.1rem; height: 2.1rem; margin: 0; padding: 0; font-size: 1.05rem; line-height: 1;
  background: rgb(255 255 255 / .95); border: 0; border-radius: 50%; box-shadow: 0 1px 3px rgb(16 24 40 / .18); color: var(--chaud);
}
.favori-compact button:hover { background: var(--surface); color: var(--chaud); }

/* ===== Fiche d'annonce ===== */
.fiche { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 2fr) minmax(17rem, 1fr); }
@media (max-width: 45rem) { .fiche { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; } }
.galerie { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .5rem; margin-bottom: 1.5rem; }
.galerie img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rayon); transition: filter .2s; }
.galerie a:first-child { grid-column: 1 / -1; }
.galerie a:first-child img { aspect-ratio: 16 / 9; }
.galerie a:hover img { filter: brightness(.92); }
.galerie-mosaique { grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 9.5rem; border-radius: 18px; overflow: hidden; }
.galerie-mosaique a:first-child { grid-column: 1; grid-row: span 2; }
.galerie-mosaique a, .galerie-mosaique img { height: 100%; }
.galerie-mosaique img, .galerie-mosaique a:first-child img { aspect-ratio: auto; border-radius: 0; }
@media (max-width: 45rem) {
  .galerie-mosaique { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 85%; grid-auto-rows: 14rem; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--rayon); }
  .galerie-mosaique a { scroll-snap-align: start; }
  .galerie-mosaique a:first-child { grid-row: auto; }
  .galerie-mosaique img { border-radius: var(--rayon); }
}
.encadre { background: var(--surface); border: 1px solid var(--trait); border-radius: 18px; padding: 1.25rem; align-self: start; overflow-wrap: anywhere; box-shadow: var(--ombre-forte); }
@media (min-width: 45rem) { aside.encadre { position: sticky; top: 5rem; } }
aside.encadre .prix { font-size: 1.5rem; font-weight: 650; letter-spacing: -.02em; margin: .25rem 0; }
aside.encadre h2 { margin: 0; font-size: 1rem; }
.encadre .operation { display: inline-block; margin: 0; padding: .15rem .6rem; border-radius: 999px; background: var(--accent-clair); color: var(--vert-texte); font-size: .75rem; font-weight: 600; }
.encadre .titre-agence { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--trait); }
dl { display: grid; grid-template-columns: minmax(7rem, 12rem) 1fr; gap: 0; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon); overflow: hidden; font-size: .9rem; }
dt, dd { margin: 0; padding: .6rem 1rem; border-bottom: 1px solid var(--trait); }
dt { color: var(--discret); background: var(--carte); }
dl > :nth-last-child(-n+2) { border-bottom: 0; }
.description { white-space: pre-line; overflow-wrap: anywhere; font-size: .95rem; line-height: 1.65; color: var(--texte-doux); }
.baisse { color: var(--baisse); font-weight: 500; font-size: .85rem; margin: 0; }

/* ===== Boutique ===== */
.couverture { width: 100%; height: auto; aspect-ratio: 16 / 5; object-fit: cover; margin: 1rem 0 .75rem; border-radius: 20px; }
/* ===== Boutique d'agence, façon page Facebook ===== */
.vitrine { margin: 1rem 0 1.25rem; border: 1px solid var(--trait); border-radius: 20px; background: var(--surface); box-shadow: var(--ombre); overflow: hidden; }
/* En-tête de boutique : couverture basse, logo à moitié dessus, nom et contacts alignés sur une même ligne. */
.vitrine-couverture { aspect-ratio: 4 / 1; max-height: 16rem; width: 100%; background: linear-gradient(120deg, var(--accent), color-mix(in srgb, var(--accent) 40%, #fff)); }
.vitrine-couverture img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vitrine-tete { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: 0 1.25rem; padding: 0 1.75rem 1.5rem; }
.vitrine-logo {
  display: grid; place-items: center; width: 8rem; height: 8rem; margin-top: -4rem; /* à moitié dans la couverture */ overflow: hidden;
  border: 4px solid #fff; border-radius: 22px; background: var(--accent); color: #fff; font-size: 3rem; font-weight: 700;
  box-shadow: 0 4px 14px rgb(16 24 40 / .18);
}
.vitrine-logo img { width: 100%; height: 100%; object-fit: cover; background: var(--surface); }
.vitrine-identite { min-width: 0; }
.vitrine-identite h1 { margin: 0 0 .3rem; font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: -.02em; line-height: 1.15; }
.vitrine-infos { display: grid; gap: .25rem; color: var(--discret); font-size: .9rem; }
.vitrine-infos span { display: inline-flex; align-items: center; gap: .35rem; }
.vitrine-infos-ligne { flex-wrap: wrap; gap: .3rem 1.1rem !important; }
.vitrine-infos .icone { color: var(--pale); }
.vitrine-infos a { color: var(--vert-moyen-texte); font-weight: 600; text-decoration: none; }
.vitrine-infos a:hover { text-decoration: underline; }
.vitrine-actions { display: flex; align-items: center; gap: .5rem; }
.vitrine-contact { display: flex; flex-wrap: wrap; gap: .5rem; }
.vitrine-contact .bouton { display: inline-flex; align-items: center; gap: .45rem; margin: 0; white-space: nowrap; }
.vitrine-contact .bouton .icone { width: 1.05rem; height: 1.05rem; }
.bouton-whatsapp-boutique .icone { color: #25d366; }
.vitrine-partage { flex: none; }
@media (max-width: 60rem) {
  .vitrine-tete { grid-template-columns: auto minmax(0, 1fr); }
  .vitrine-actions { grid-column: 1 / -1; flex-wrap: wrap; justify-content: space-between; margin-top: 1.1rem; }
}
.reseau {
  display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; margin: 0; padding: 0; border: 0; border-radius: 50%;
  color: #fff; cursor: pointer; text-decoration: none; transition: transform .15s, box-shadow .15s;
}
.reseau:hover, .reseau:focus-visible { transform: translateY(-1px) scale(1.06); box-shadow: 0 3px 8px rgb(0 0 0 / .2); color: #fff; }
.reseau .icone { width: 1.15rem; height: 1.15rem; vertical-align: 0; }
.reseau-whatsapp, .reseau-whatsapp:hover { background: #25d366; border: 0; }
.reseau-facebook, .reseau-facebook:hover { background: #1877f2; border: 0; }
.reseau-instagram, .reseau-instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); border: 0; }
.vitrine-apropos { display: grid; grid-template-columns: minmax(0, 2fr) minmax(14rem, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.vitrine-apropos > div { padding: 1.1rem 1.3rem; border: 1px solid var(--trait); border-radius: var(--rayon); background: var(--carte); }
.vitrine-apropos h2 { display: flex; align-items: center; gap: .4rem; margin: 0 0 .5rem; font-size: 1rem; }
.vitrine-apropos p { margin: 0; white-space: pre-line; color: var(--texte); }
.vitrine-apropos > div:only-child { grid-column: 1 / -1; }
.vitrine-titre-annonces { margin-top: .5rem; }
@media (max-width: 40rem) {
  .vitrine-tete { position: relative; grid-template-columns: 1fr; padding: 0 1rem 1.1rem; }
  .vitrine-partage { position: absolute; top: .75rem; inset-inline-end: 1rem; } /* à droite du logo, place libre */
  .vitrine-logo { width: 6rem; height: 6rem; margin-top: -3rem; border-radius: 18px; font-size: 2.2rem; }
  .vitrine-identite { padding-top: .6rem; }
  .vitrine-actions { margin-top: .9rem; }
  .vitrine-contact { flex: 1 1 100%; }
  .vitrine-contact .bouton { flex: 1 1 auto; justify-content: center; }
  .vitrine-apropos { grid-template-columns: 1fr; }
}
}
.titre-agence { display: flex; align-items: center; gap: .75rem; }
.titre-agence h1 { margin: .5rem 0; }
.titre-agence img { width: auto; max-height: 64px; background: var(--surface); padding: 4px; border: 1px solid var(--trait); border-radius: 12px; }
.encadre .titre-agence img { max-height: 40px; }
.partage-public { margin: 1rem 0; }
.partage-public summary { cursor: pointer; color: var(--vert-moyen-texte); font-weight: 500; font-size: .9rem; }

/* ===== Messages, encadrés, onglets, fenêtre ===== */
.message { padding: .6rem .9rem; background: var(--accent-clair); border: 1px solid #c9dceb; border-radius: 12px; font-size: .9rem; }
.message.error { background: #fef3f2; border-color: #fecdca; }
.message.error, .erreur { color: #b42318; }
.avertissement, .avertissement-public { background: #fffaeb; border: 1px solid #fedf89; border-radius: 12px; padding: .65rem .9rem; font-size: .875rem; }
.onglets { display: flex; flex-wrap: wrap; gap: .25rem; margin: 1rem 0; padding: .25rem; background: var(--carte); border-radius: 999px; width: fit-content; max-width: 100%; }
.onglets a { padding: .4rem .9rem; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .875rem; color: var(--discret); }
.onglets a:hover { color: var(--texte); }
.onglets a[aria-current] { background: var(--surface); color: var(--texte); font-weight: 600; box-shadow: 0 1px 3px rgb(16 24 40 / .12); }
.fenetre { border-radius: 18px; box-shadow: var(--ombre-forte); }
.etoiles { color: #dc6803; }
table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: .9rem; background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon); overflow: hidden; }
th, td { padding: .6rem .8rem; text-align: start; border-bottom: 1px solid var(--trait); }
th { background: var(--carte); color: var(--discret); font-weight: 500; font-size: .82rem; }
tr:last-child td { border-bottom: 0; }

/* ===== Pages de compte : une carte au milieu de la page ===== */
.carte-centree, .carte-mdp { max-width: 27rem; margin: 2.5rem auto 3rem; padding: 1.75rem; background: var(--surface); border: 1px solid var(--trait); border-radius: 20px; box-shadow: var(--ombre-forte); }
.carte-centree h1, .carte-mdp h1 { margin-top: 0; font-size: 1.5rem; }
.carte-centree form { max-width: none !important; }
.carte-centree input:not([type=checkbox]):not([type=radio]) { max-width: none; width: 100%; }
.carte-centree button[type=submit], .mdp-actions button { width: 100%; }
.carte-centree .liens-sous { margin: 1rem 0 0; text-align: center; font-size: .9rem; color: var(--discret); }
.mdp-saisie { position: relative; }
.mdp-saisie input { width: 100%; padding-inline-end: 5.5rem !important; }
.mdp-voir, .mdp-voir:hover {
  position: absolute; inset-inline-end: .3rem; top: 50%; transform: translateY(-50%); margin: 0; padding: .25rem .6rem;
  background: none; border: 0; color: var(--vert-moyen-texte); font-size: .82rem; font-weight: 600; box-shadow: none;
}
@media (max-width: 45rem) { .carte-centree, .carte-mdp { margin: 1rem 0 2rem; padding: 1.25rem; } }

/* ===== Pied de page : toute la largeur, toujours en bas ===== */
.pied {
  flex: none; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; margin: 4rem calc((100% - 100cqw) / 2) 0;
  padding: 2.5rem 1rem; background: #0b2233; color: #aebdca; border: 0; font-size: .875rem;
}
@media (min-width: 62rem) { .pied { padding-inline: 1.5rem; } }
.pied .logo { color: #fff; }
.pied .logo::before { background-color: #1f8a8a; }
.pied-marque p { margin: .6rem 0 0; max-width: 26rem; }
.pied-liens { display: grid; gap: .5rem; }
.pied-liens a { color: #e6edf2; text-decoration: none; }
.pied-liens a:hover { color: #fff; text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .carte-image img, .type, .wilaya, .bouton, button { transition: none; }
  .carte:hover .carte-image img, .type:hover, .wilaya:hover { transform: none; }
}

/* Sur téléphone : types et wilayas sur deux colonnes, plus compacts */
@media (max-width: 45rem) {
  .types, .wilayas { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .type { padding: .8rem; }
  .type-icone { width: 2.2rem; height: 2.2rem; margin-bottom: .35rem; }
  .type-nom { font-size: .85rem; }
  .wilaya { min-height: 5.5rem; padding: .8rem; }
  .wilaya-nom { font-size: .95rem; }
  .liste { gap: 1.25rem; }
}

/* Rubrique en cours dans l'en-tête */
.nav-site a[aria-current] { background: var(--accent-clair); color: var(--vert-texte); font-weight: 600; }

/* Pastilles de statut (tickets de support des particuliers) */
.statut { display: inline-flex; align-items: center; gap: .35rem; padding: .12rem .55rem; border-radius: 999px; font-size: .75rem; font-weight: 500; white-space: nowrap; background: #f2f4f7; color: var(--texte-doux); }
.statut-vert { background: #ecfdf3; color: #067647; } .statut-bleu { background: #eff8ff; color: #175cd3; }
.statut-orange { background: #fffaeb; color: #b54708; } .statut-rouge { background: #fef3f2; color: #b42318; }

/* Choix de fichiers (photos, logo, reprise) : même style que les boutons secondaires */
input[type=file] {
  display: block; width: 100%; max-width: 28rem; box-sizing: border-box; padding: .35rem; font: inherit; font-size: .85rem; color: #667085;
  background: var(--surface); border: 1px dashed #d0d5dd; border-radius: 10px; cursor: pointer;
}
input[type=file]:hover { border-color: #0e5a8a; background: #f9fafb; }
input[type=file]::file-selector-button {
  margin-inline-end: .75rem; padding: .4rem .85rem; font: inherit; font-weight: 600; font-size: .82rem; color: var(--texte-doux); cursor: pointer;
  background: var(--surface); border: 1px solid #d0d5dd; border-radius: 8px; box-shadow: 0 1px 2px rgb(16 24 40 / .05);
}
input[type=file]::file-selector-button:hover { background: #eef5fa; border-color: #0e5a8a; color: #0a4469; }
.carte-dispo { margin: .1rem 0 0; color: #b54708; font-size: .8rem; font-weight: 500; }

/* Visionneuse de photos de la fiche : en grand, sans quitter la page */
.galerie a[data-visionneuse] { cursor: zoom-in; }
.visionneuse { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgb(10 14 20 / .96); color: #fff; }
.visionneuse::backdrop { background: rgb(10 14 20 / .9); }
.visionneuse[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
body:has(.visionneuse[open]) { overflow: hidden; }
.visionneuse-haut { display: flex; justify-content: space-between; align-items: center; padding: .75rem 1rem; }
.visionneuse-compteur { font-size: .9rem; color: #d0d5dd; font-variant-numeric: tabular-nums; }
.visionneuse-fermer, .visionneuse-fermer:hover { margin: 0; padding: .1rem .7rem; font-size: 1.9rem; line-height: 1; background: none; border: 0; box-shadow: none; color: #fff; border-radius: 999px; }
.visionneuse-fermer:hover { background: rgb(255 255 255 / .12); }
.visionneuse-scene { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 4rem; }
.visionneuse-scene img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; user-select: none; touch-action: pan-y; }
.visionneuse-fleche, .visionneuse-fleche:hover {
  position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 3rem; height: 3rem; margin: 0; padding: 0;
  font-size: 2rem; line-height: 1; border-radius: 50%; border: 0; background: rgb(255 255 255 / .14); color: #fff; box-shadow: none;
}
.visionneuse-fleche:hover { background: rgb(255 255 255 / .26); }
.visionneuse-precedente { inset-inline-start: 1rem; }
.visionneuse-suivante { inset-inline-end: 1rem; }
[dir="rtl"] .visionneuse-fleche { transform: translateY(-50%) scaleX(-1); }
.visionneuse-vignettes { display: flex; gap: .5rem; justify-content: center; overflow-x: auto; padding: .75rem 1rem 1rem; scrollbar-width: none; }
.visionneuse-vignettes button, .visionneuse-vignettes button:hover { flex: none; margin: 0; padding: 0; width: 4.5rem; height: 3.3rem; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: none; box-shadow: none; opacity: .55; }
.visionneuse-vignettes button[aria-current] { border-color: #fff; opacity: 1; }
.visionneuse-vignettes img { width: 100%; height: 100%; object-fit: cover; }
.visionneuse.une-seule .visionneuse-fleche, .visionneuse.une-seule .visionneuse-vignettes, .visionneuse.une-seule .visionneuse-compteur { visibility: hidden; }
@media (max-width: 45rem) {
  .visionneuse-scene { padding: 0; }
  .visionneuse-scene img { border-radius: 0; }
  .visionneuse-fleche { width: 2.5rem; height: 2.5rem; font-size: 1.6rem; background: rgb(0 0 0 / .35); }
  .visionneuse-precedente { inset-inline-start: .5rem; }
  .visionneuse-suivante { inset-inline-end: .5rem; }
}

/* Visionneuse : une grande fenêtre centrée, pas tout l'écran ; la page reste visible, assombrie, autour */
.visionneuse {
  width: min(68rem, calc(100vw - 4rem)); max-width: none; height: min(48rem, calc(100dvh - 4rem)); max-height: none;
  margin: auto; border-radius: 18px; background: #0e131a; box-shadow: 0 24px 64px rgb(0 0 0 / .45);
}
.visionneuse::backdrop { background: rgb(10 14 20 / .7); backdrop-filter: blur(3px); }
@media (max-width: 45rem) {
  .visionneuse { width: calc(100vw - 1.5rem); height: min(36rem, calc(100dvh - 3rem)); border-radius: 14px; }
}

/* Choix du type de compte et demande d'ouverture d'agence */
.choix-compte { max-width: 52rem; margin: 2.5rem auto 3rem; text-align: center; }
.choix-compte h1 { margin-bottom: .3rem; }
.choix-compte-cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; margin-top: 1.5rem; text-align: start; }
.choix-carte {
  display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--trait); border-radius: 20px;
  color: var(--texte); text-decoration: none; box-shadow: var(--ombre); transition: border-color .15s, box-shadow .15s, transform .15s;
}
.choix-carte:hover { color: var(--texte); border-color: var(--accent); box-shadow: var(--ombre-forte); transform: translateY(-2px); }
.choix-carte strong { font-size: 1.1rem; font-weight: 600; }
.choix-carte > span:not(.choix-icone):not(.choix-suite) { color: var(--discret); font-size: .9rem; }
.choix-icone { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; background: var(--accent-clair); color: var(--vert-moyen-texte); }
.choix-icone .icone { width: 1.5rem; height: 1.5rem; }
.choix-icone-agence { background: #0b2233; color: #fff; }
.choix-icone-hotel { background: #7a5af8; color: #fff; }
.choix-suite { display: inline-flex; align-items: center; gap: .35rem; margin-top: auto; padding-top: .5rem; color: var(--vert-moyen-texte); font-weight: 600; font-size: .9rem; }
.carte-large { max-width: 38rem; }
.titre-section { margin: 1.4rem 0 .2rem; font-size: .95rem; color: var(--vert-texte); }
.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .9rem; }
@media (max-width: 45rem) { .deux-colonnes { grid-template-columns: 1fr; } }
.appel-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.appel-lien { color: #c8d3dc; font-size: .88rem; }
.appel-lien:hover { color: #fff; }

/* ===== Bandeau d'accueil avec photo (static/img/accueil-1 à 5.jpg : photos Unsplash, licence Unsplash, usage libre) ===== */
.accueil-hero {
  position: relative; overflow: visible; isolation: isolate; color: #fff;
  padding: clamp(3rem, 9vw, 7rem) clamp(1rem, 4vw, 3rem) clamp(2.25rem, 5vw, 3.5rem);
  background: #0b2233 url("../img/accueil-1.e5330828519a.jpg") center 60% / cover no-repeat;
}
.accueil-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgb(6 20 32 / .55) 0%, rgb(6 20 32 / .35) 45%, rgb(6 20 32 / .7) 100%),
    radial-gradient(60rem 30rem at 50% 30%, rgb(6 20 32 / .25), transparent 70%);
}
.accueil-hero h1 { color: #fff; text-shadow: 0 2px 24px rgb(0 0 0 / .35); }
.accueil-hero .accroche { color: rgb(255 255 255 / .9); text-shadow: 0 1px 12px rgb(0 0 0 / .4); }
.accueil-hero .hero-compteur { color: rgb(255 255 255 / .85); }
.recherche-rapide .operations { background: rgb(255 255 255 / .16); backdrop-filter: blur(10px); border: 1px solid rgb(255 255 255 / .25); }
.recherche-rapide .choix-operation span { color: rgb(255 255 255 / .9); }
.recherche-rapide .choix-operation input:checked + span { background: var(--surface); color: var(--texte); }
.rr-champs { border: 0; box-shadow: 0 24px 60px rgb(0 0 0 / .35); }

/* Les trois champs alignés : libellé puis valeur, à la même hauteur */
.rr-champ { display: flex; flex-direction: column; justify-content: center; gap: .15rem; min-height: 3.2rem; }
.rr-champ select, .rr-champ input:not([type=radio]) { height: 1.5rem; line-height: 1.5rem; padding: 0 !important; margin: 0; }
.rr-champ input::placeholder { color: var(--discret); opacity: 1; }
@media (max-width: 45rem) {
  .accueil-hero { padding-top: 2.5rem; background-position: 60% center; }
  .rr-champ { min-height: 0; }
}

/* Le champ Budget hérite sinon de la hauteur minimale des champs de saisie : même hauteur que les deux listes */
.rr-champs .rr-champ input:not([type=radio]):not([type=checkbox]):not([type=file]) { min-height: 0; height: 1.5rem; box-shadow: none; border: 0; }

/* Fond du bandeau : cinq photos qui se succèdent en fondu (6 s chacune), avec un léger zoom */
.accueil-hero { background: #0b2233; }
.hero-fonds { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-fonds span { position: absolute; inset: 0; background: center 60% / cover no-repeat; opacity: 0; }
.hero-fonds span:first-child { opacity: 1; }
.hero-fonds.en-route span { animation: fondu-accueil 30s infinite; }
.hero-fonds.en-route span:nth-child(2) { animation-delay: 4.5s; }
.hero-fonds.en-route span:nth-child(3) { animation-delay: 10.5s; }
.hero-fonds.en-route span:nth-child(4) { animation-delay: 16.5s; }
.hero-fonds.en-route span:nth-child(5) { animation-delay: 22.5s; }
.hero-fonds.en-route span:first-child { animation-delay: -1.5s; }  /* déjà visible : pas de fondu au chargement */
@keyframes fondu-accueil {
  0% { opacity: 0; transform: scale(1.08); }
  4% { opacity: 1; }
  20% { opacity: 1; }
  25% { opacity: 0; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-fonds.en-route span { animation: none; opacity: 0; }
  .hero-fonds.en-route span:first-child { opacity: 1; }
}

/* Cartes d'annonces : les photos du bien défilent (doigt, flèches au survol), points pour se repérer */
.carte .carte-lien { height: auto; }
.carte-photos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.carte-photos::-webkit-scrollbar { display: none; }
.carte-photos > a { flex: 0 0 100%; scroll-snap-align: start; height: auto; }
.carte-image .carte-photos img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.carte:hover .carte-image img { transform: none; }
.carte-image > a.sans-photo { display: flex; aspect-ratio: 4 / 3; height: auto; }
.carte-fleche, .carte-fleche:hover {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); display: grid; place-items: center; width: 2rem; height: 2rem;
  margin: 0; padding: 0 0 .15rem; border: 0; border-radius: 50%; background: rgb(255 255 255 / .92); color: var(--texte);
  font-size: 1.35rem; line-height: 1; box-shadow: 0 1px 4px rgb(16 24 40 / .25); opacity: 0; transition: opacity .15s;
}
.carte-precedente { inset-inline-start: .55rem; }
.carte-suivante { inset-inline-end: .55rem; }
[dir="rtl"] .carte-fleche { transform: translateY(-50%) scaleX(-1); }
.carte:hover .carte-fleche, .carte-fleche:focus-visible { opacity: 1; }
.carte-fleche[disabled] { opacity: 0 !important; pointer-events: none; }
.carte-points { position: absolute; bottom: .6rem; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; gap: .3rem; pointer-events: none; }
.carte-points i { width: .4rem; height: .4rem; border-radius: 50%; background: rgb(255 255 255 / .6); box-shadow: 0 0 2px rgb(0 0 0 / .4); transition: transform .15s, background .15s; }
.carte-points i.actif { background: var(--surface); transform: scale(1.3); }
@media (hover: none) { .carte-fleche { display: none; } }

/* Listes déroulantes au thème : flèche dessinée, bordure fine, focus doux (la barre d'accueil garde son style) */
select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding-inline-end: 2.2rem !important;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .75rem center / 1rem;
}
[dir="rtl"] select { background-position: left .75rem center; }
select:hover { border-color: var(--texte); }
.rr-champ select { background-color: transparent; background-position: right 0 center; padding-inline-end: 1.4rem !important; }
[dir="rtl"] .rr-champ select { background-position: left 0 center; }
/* « Trier par » : une pastille comme les filtres */
.tri { font-size: .875rem; }
.tri select {
  min-height: 2.4rem; height: 2.4rem; padding: 0 2.3rem 0 .95rem; border: 1px solid var(--trait-fort); border-radius: 999px;
  font-size: .875rem; font-weight: 500; color: var(--texte); box-shadow: none;
}
.tri select:focus-visible { border-color: var(--texte); box-shadow: 0 0 0 3px rgb(16 24 40 / .06); }

/* ===== Bouton « Partager » et son menu (boutique publique et Ma boutique) ===== */
.menu-partage { position: relative; }
.menu-partage > summary { list-style: none; }
.menu-partage > summary::-webkit-details-marker { display: none; }
.bouton-partage {
  display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border: 1px solid var(--trait-fort, #d0d5dd); border-radius: 999px;
  background: var(--surface, #fff); color: var(--texte); font-size: .9rem; font-weight: 600; cursor: pointer; user-select: none;
  box-shadow: 0 1px 2px rgb(16 24 40 / .05); transition: border-color .15s, box-shadow .15s;
}
.bouton-partage:hover, .menu-partage[open] > .bouton-partage { border-color: var(--accent); color: var(--vert-texte); box-shadow: 0 0 0 3px rgb(14 90 138 / .12); }
.bouton-partage .icone { width: 1.05rem; height: 1.05rem; }
.menu-partage-choix {
  position: absolute; inset-inline-end: 0; top: calc(100% + .4rem); z-index: 20; display: grid; min-width: 16rem; padding: .35rem;
  background: var(--surface, #fff); border: 1px solid var(--trait, #eaecf0); border-radius: 12px; box-shadow: 0 12px 32px rgb(16 24 40 / .16);
}
.menu-partage-choix a, .menu-partage-choix button {
  display: flex; align-items: center; justify-content: flex-start; gap: .7rem; width: 100%; margin: 0; padding: .45rem .6rem; border: 0; border-radius: 8px; white-space: nowrap;
  background: none; color: var(--texte); font: inherit; font-size: .9rem; font-weight: 500; text-align: start; text-decoration: none; cursor: pointer; box-shadow: none;
}
.menu-partage-choix a:hover, .menu-partage-choix button:hover { background: var(--survol, var(--carte, #f7f8fa)); color: var(--vert-texte); border: 0; }
.menu-partage-choix .copie { color: #05603a; }
.menu-partage-choix hr { margin: .3rem .4rem; border: 0; border-top: 1px solid var(--trait, #eaecf0); }
.menu-partage-choix .reseau { width: 2rem; height: 2rem; flex: none; }
.menu-partage-choix .reseau .icone { width: 1.05rem; height: 1.05rem; }
.menu-partage-choix button:hover .reseau, .menu-partage-choix a:hover .reseau { transform: none; box-shadow: none; }
.reseau-neutre { background: var(--survol, var(--carte, #f2f4f7)); color: var(--texte) !important; border: 1px solid var(--trait, #eaecf0) !important; }
.menu-partage + .partage-info { display: block; max-width: 16rem; margin-top: .4rem; color: var(--vert-texte); font-size: .8rem; text-align: end; }
.menu-partage + .partage-info[hidden] { display: none; }
/* Sur téléphone, le menu s'ouvre en bas de l'écran, quelle que soit la place du bouton */
@media (max-width: 40rem) {
  .menu-partage-choix { position: fixed; inset: auto 0 0 0; z-index: 50; min-width: 0; padding: .5rem .5rem max(.75rem, env(safe-area-inset-bottom));
    border-radius: 20px 20px 0 0; box-shadow: 0 -12px 32px rgb(16 24 40 / .18); }
  .menu-partage + .partage-info { text-align: start; }
}
/* Le menu « Partager » dépasse de la carte : la carte ne coupe plus, la couverture garde ses coins arrondis. */
.vitrine { overflow: visible; }
.vitrine-couverture, .vitrine-couverture img { border-radius: 20px 20px 0 0; }

/* ===== Bas de page d'une boutique d'agence ===== */
.pied-agence { align-items: flex-start; gap: 2rem 3rem; }
.pied-agence-identite { display: flex; align-items: center; gap: .9rem; flex: 1 1 18rem; }
.pied-agence-logo {
  flex: none; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; overflow: hidden; border-radius: 12px;
  background: var(--surface); color: var(--vert-moyen-texte); font-size: 1.4rem; font-weight: 700;
}
.pied-agence-logo img { width: 100%; height: 100%; object-fit: cover; }
.pied-agence-identite strong { color: #fff; font-size: 1.05rem; }
.pied-agence-identite p { margin: .2rem 0 0; }
.pied-agence-bloc { display: grid; gap: .45rem; align-content: start; min-width: 12rem; }
.pied-agence-bloc h2 { margin: 0 0 .15rem; color: #fff; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.pied-agence-bloc p { margin: 0; white-space: pre-line; }
.pied-agence-bloc a { display: inline-flex; align-items: center; gap: .5rem; color: #e6edf2; text-decoration: none; }
.pied-agence-bloc a:hover { color: #fff; text-decoration: underline; }
.pied-agence-bloc .icone { color: #7fc4c4; }
.pied-agence-propulse { flex-basis: 100%; margin: .5rem 0 0; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / .1); font-size: .78rem; color: #7d8f9e; }

/* ===== Fiche d'annonce (version 2) : galerie en mosaïque, chiffres clés, équipements, carte de contact ===== */
.fiche-gerer { margin: 1rem 0 0; }
.fiche-tete { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin: 1.25rem 0 1.1rem; }
.fiche-tete h1 { margin: .45rem 0 .35rem; }
.fiche-pastilles { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; }
.pastille { display: inline-block; padding: .2rem .7rem; border-radius: 999px; background: var(--accent-clair); color: var(--vert-texte); font-size: .78rem; font-weight: 600; }
.pastille-hote { background: #fef6ee; color: #b93815; }
.fiche-lieu { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .45rem; margin: 0; color: var(--discret); font-size: .95rem; }
.fiche-ref { margin-inline-start: .5rem; padding-inline-start: .9rem; border-inline-start: 1px solid var(--trait-fort); font-size: .85rem; }
.fiche-tete-actions { display: flex; align-items: center; gap: .5rem; }
.fiche-tete-actions .favori { margin: 0; }
.fiche-tete-actions .favori button, .fiche-tete-actions a.favori { margin: 0; padding: .55rem 1rem; border-radius: 999px; font-size: .9rem; }

.galerie-fiche { position: relative; margin-bottom: 2rem; }
.galerie-piste { display: grid; gap: .5rem; height: clamp(18rem, 42vw, 30rem); border-radius: 20px; overflow: hidden; }
.galerie-piste a { position: relative; display: block; min-height: 0; overflow: hidden; background: var(--carte); cursor: zoom-in; }
.galerie-piste img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, filter .2s; }
.galerie-piste a:hover img { transform: scale(1.03); filter: brightness(.94); }
.galerie-cachee { display: none !important; }
.galerie-1 .galerie-piste { grid-template-columns: 1fr; }
.galerie-2 .galerie-piste { grid-template-columns: 1fr 1fr; }
.galerie-3 .galerie-piste { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.galerie-3 .galerie-piste a:first-child { grid-row: span 2; }
.galerie-4 .galerie-piste { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.galerie-4 .galerie-piste a:first-child { grid-row: span 2; }
.galerie-4 .galerie-piste a:nth-child(2) { grid-column: span 2; }
.galerie-5 .galerie-piste { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.galerie-5 .galerie-piste a:first-child { grid-row: span 2; }
.galerie-tout, .galerie-tout:hover {
  position: absolute; inset-block-end: 1rem; inset-inline-end: 1rem; display: inline-flex; align-items: center; gap: .45rem; margin: 0;
  padding: .5rem .95rem; border-radius: 10px; border: 1px solid var(--texte); background: var(--surface); color: var(--texte); font-size: .85rem; box-shadow: var(--ombre-forte);
}
.galerie-tout:hover { background: var(--carte); }
.galerie-compteur { display: none; }

.fiche { display: grid; gap: 3rem; grid-template-columns: minmax(0, 1fr) 22rem; align-items: start; }
.fiche-chiffres { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: .75rem; margin: 0 0 .5rem; padding: 0; list-style: none; }
.fiche-chiffres li { display: grid; gap: .1rem; padding: 1rem; border: 1px solid var(--trait); border-radius: var(--rayon); background: var(--surface); }
.fiche-chiffres .icone { width: 1.4rem; height: 1.4rem; margin-bottom: .45rem; color: var(--vert-moyen-texte); }
.fiche-chiffres span { color: var(--discret); font-size: .8rem; }
.fiche-chiffres strong { font-size: 1rem; font-weight: 600; overflow-wrap: anywhere; }
.fiche-section { padding-top: 1.75rem; margin-top: 1.75rem; border-top: 1px solid var(--trait); }
.fiche-section h2 { margin: 0 0 .9rem; }
.fiche-section .description { margin: 0; }
.fiche-equipements { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: .9rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.fiche-equipements li { display: flex; align-items: center; gap: .75rem; font-size: .95rem; }
.fiche-equipements .icone { width: 1.5rem; height: 1.5rem; color: var(--texte); opacity: .8; }
.fiche-annonceur { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: 1.1rem; border: 1px solid var(--trait); border-radius: var(--rayon); }
.fiche-annonceur > div { flex: 1 1 12rem; }
.fiche-annonceur strong { font-size: 1.05rem; }
.fiche-annonceur p { margin: .15rem 0 0; }
.fiche-annonceur .bouton { margin: 0; }
.fiche-annonceur-logo {
  flex: none; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; overflow: hidden; border-radius: 50%;
  background: var(--accent-clair); color: var(--vert-moyen-texte); font-size: 1.35rem; font-weight: 700; border: 1px solid var(--trait);
}
.fiche-annonceur-logo img { width: 100%; height: 100%; object-fit: cover; }

.fiche-encadre { padding: 1.5rem; border-radius: 20px; }
.fiche-encadre .prix { font-size: 1.65rem; }
.fiche-contact { display: grid; gap: .6rem; margin-top: 1.1rem; }
.fiche-contact p { margin: 0; }
.fiche-contact .bouton { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; box-sizing: border-box; margin: 0; padding: .75rem 1rem; text-decoration: none; }
.fiche-encadre .avertissement-public { display: flex; gap: .6rem; align-items: flex-start; margin: 1.1rem 0 0; }
.fiche-encadre .avertissement-public .icone { flex: none; margin-top: .15rem; color: #b54708; }
.fiche-barre { display: none; }

@media (max-width: 52rem) {
  .fiche { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .fiche-encadre { position: static; }
}
@media (max-width: 45rem) {
  .fiche-tete { align-items: flex-start; }
  /* Défilement au doigt, photo par photo, sur toute la largeur */
  .galerie-fiche { margin-inline: -1rem; margin-bottom: 1.5rem; }
  .galerie-piste { display: flex; height: auto; gap: 0; border-radius: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .galerie-piste::-webkit-scrollbar { display: none; }
  .galerie-piste a { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 3; }
  .galerie-cachee { display: block !important; }
  .galerie-piste a:hover img { transform: none; }
  .galerie-tout { display: none; }
  .galerie-compteur {
    display: block; position: absolute; inset-block-end: .75rem; inset-inline-end: .75rem; padding: .2rem .6rem; border-radius: 999px;
    background: rgb(16 24 40 / .65); color: #fff; font-size: .8rem; font-variant-numeric: tabular-nums;
  }
  .fiche-chiffres, .fiche-equipements { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Le prix et « Contacter » restent en bas de l'écran */
  .fiche-barre {
    position: sticky; bottom: 0; z-index: 15; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    margin: 1.5rem -1rem 0; padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom));
    background: rgb(255 255 255 / .96); backdrop-filter: blur(8px); border-top: 1px solid var(--trait); box-shadow: 0 -6px 20px rgb(16 24 40 / .06);
  }
  .fiche-barre-prix .prix { margin: 0; font-size: 1.1rem; font-weight: 650; }
  .fiche-barre-prix .baisse { display: none; }
  .fiche-barre .bouton { margin: 0; padding: .7rem 1.4rem; border-radius: 999px; }
}

/* ===== Disponibilités d'une location de vacances ===== */
.calendrier { position: relative; }
.calendrier-nav { position: absolute; inset-inline: 0; top: 0; display: flex; justify-content: space-between; pointer-events: none; }
.calendrier-fleche { pointer-events: auto; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; border: 1px solid var(--trait); background: var(--surface); color: var(--texte); font-size: 1.25rem; text-decoration: none; }
.calendrier-fleche:hover { border-color: var(--texte); color: var(--texte); }
[dir="rtl"] .calendrier-fleche { transform: scaleX(-1); }
.sans-precedent .calendrier-fleche:first-child, .sans-suivant .calendrier-fleche:last-child { visibility: hidden; }
.calendrier-mois-liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.75rem; }
.calendrier-mois h3 { margin: .35rem 0 .7rem; text-align: center; font-size: .98rem; }
.calendrier table { width: 100%; border: 0; border-collapse: separate; border-spacing: 3px; table-layout: fixed; }
.calendrier th { padding: .2rem 0; text-align: center; font-size: .72rem; font-weight: 500; color: var(--discret); border: 0; background: none; }
.calendrier td.jour { padding: 0; text-align: center; height: 2.3rem; border-radius: 10px; font-size: .86rem; font-weight: 500; border: 0; }
.calendrier .jour-libre { background: #ecfdf3; color: #067647; }
.calendrier .jour-reserve, .calendrier .jour-bloque { background: #f2f4f7; color: #98a2b3; text-decoration: line-through; }
.calendrier .jour-passe, .calendrier .hors-mois { background: none; color: #d0d5dd; }
.calendrier td.aujourdhui span { display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; box-shadow: inset 0 0 0 2px currentColor; }
.calendrier td.cliquable { cursor: pointer; transition: transform .1s; }
.calendrier td.cliquable:hover, .calendrier td.cliquable:focus-visible { outline: 2px solid var(--texte); outline-offset: -2px; }
.calendrier-legende { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 1rem 0 0; font-size: .8rem; color: var(--discret); }
.calendrier-legende span { display: inline-flex; align-items: center; gap: .4rem; }
.calendrier-legende i { display: inline-block; width: .95rem; height: .95rem; border-radius: 4px; }
.calendrier-legende i.jour-reserve { background: #f2f4f7; }

/* ===== Espace d'un particulier : calendrier et réservations ===== */
.ligne-compte { margin: 0 0 .75rem; }
.ligne-compte > p { margin: .2rem 0; }
.actions-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .75rem 0; }
.actions-ligne form { margin: 0; }
.volet-hote { margin: 0 0 1rem; }
.volet-hote > summary { cursor: pointer; font-weight: 600; }
.volet-hote[open] > summary { margin-bottom: 1rem; }
.volet-hote form, form.encadre { display: grid; gap: .85rem; margin-bottom: 1rem; }
.volet-hote form > button, form.encadre > button { justify-self: start; }
.grille-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .85rem; }
.champ { display: grid; gap: .3rem; }
.champ input, .champ select, .champ textarea { width: 100%; }
.champ .helptext { color: var(--discret); font-size: .78rem; }
.champ-erreur input, .champ-erreur select { border-color: #b42318; }
.champ .errorlist { margin: 0; padding: 0; list-style: none; color: #b42318; font-size: .82rem; }
.sejour-en_attente { border-inline-start: 4px solid #f79009; }
.sejour-refusee, .sejour-annulee { opacity: .7; }
.pastille-compte { display: inline-grid; place-items: center; min-width: 1.3rem; height: 1.3rem; padding: 0 .3rem; border-radius: 999px; background: #f79009; color: #fff; font-size: .72rem; }
.calendrier .jour-attente { background: #fef0c7; color: #b54708; }
.calendrier .jour-bloque { background: repeating-linear-gradient(45deg, #f2f4f7 0 6px, #e4e7ec 6px 12px); color: var(--discret); text-decoration: none; }
.calendrier-legende i.jour-attente { background: #fef0c7; }
.calendrier-legende i.jour-bloque { background: repeating-linear-gradient(45deg, #f2f4f7 0 3px, #d0d5dd 3px 6px); }

/* Choix d'un séjour dans le calendrier : arrivée, nuits, départ */
.calendrier td.sel-dans { background: #d1e9ff; color: #175cd3; text-decoration: none; }
.calendrier td.sel-debut, .calendrier td.sel-fin { background: #1570ef; color: #fff; text-decoration: none; }
.calendrier td.sel-debut { border-start-end-radius: 4px; border-end-end-radius: 4px; }
.calendrier td.sel-fin { border-start-start-radius: 4px; border-end-start-radius: 4px; }
.calendrier-aide { margin: .9rem 0 0; font-size: .86rem; font-weight: 500; color: #175cd3; }

/* Horaires affichés : jours regroupés à gauche, heures à droite */
.horaires-liste { display: grid; grid-template-columns: none; gap: .35rem; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; overflow: visible; }
.horaires-liste > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .1rem 1rem; }
.horaires-liste dt, .horaires-liste dd { margin: 0; padding: 0; border: 0; background: none; }
.horaires-liste dt { font-weight: 600; color: var(--texte); }
.horaires-liste dd { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 .6rem; color: var(--texte); }
.horaires-liste dd span { white-space: nowrap; }
.horaires-liste .horaires-ferme dt, .horaires-liste .horaires-ferme dd { color: var(--discret); font-weight: 500; }

/* ===== Marque KachPlassa ===== */

.logo .logo-accent { color: #c98f1f; }  /* l'or foncé du thème (lisible sur fond blanc) */
.logo::before { background-color: #0f3a30; }
.pied .logo::before { background-color: #e5b04c; }
.pied .logo .logo-accent { color: #e5b04c; }
.slogan-ar { margin: .7rem 0 0; font-size: 1.15rem; font-weight: 700; color: #fff; }
.slogan-ar span { color: #e5b04c; font-size: .95rem; }
.slogan-fr { margin: .25rem 0 0; color: #e6edf2; font-style: italic; }
.slogan-metiers { margin: .35rem 0 0; font-size: .8rem; letter-spacing: .02em; }
.hero-slogan { margin: 0 auto .5rem; font-size: clamp(1.05rem, .9rem + .8vw, 1.4rem); font-weight: 700; color: #fff; text-shadow: 0 1px 12px rgb(0 0 0 / .45); }
.hero-slogan span { color: #f3c969; }
.page-perdue { text-align: center; }
.page-perdue-code { margin: 0; font-size: 4rem; font-weight: 800; letter-spacing: -.05em; color: #e5b04c; line-height: 1; }
.initiale-logo { overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px var(--trait); }
.initiale-logo img { width: 100%; height: 100%; object-fit: cover; }
.slogan-ar { width: fit-content; }

/* ===== Hôtels ===== */
.recherche-hotels { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; margin: 1rem 0 1.5rem; }
.recherche-hotels > div { display: grid; gap: .25rem; }
.carte-hotel .sans-photo { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; color: var(--discret); }
.etoiles { color: #d99a1e; letter-spacing: .05em; }
.hotel-infos, .hotel-equipements { display: flex; flex-wrap: wrap; gap: .4rem .6rem; padding: 0; list-style: none; }
.hotel-equipements li { padding: .3rem .7rem; border-radius: 999px; background: var(--carte); font-size: .85rem; }
.hotel-infos li::after { content: "·"; margin-inline-start: .6rem; color: var(--discret); }
.hotel-infos li:last-child::after { content: ""; }
.hotel-section { margin-top: 2rem; }
.hotel-section-tete { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .75rem 1.5rem; }
.hotel-section-tete h2 { margin: 0; }
.hotel-dates { display: flex; flex-wrap: wrap; align-items: end; gap: .6rem; margin: 0; }
.hotel-dates > div { display: grid; gap: .2rem; }
.hotel-dates label { font-size: .8rem; color: var(--discret); }
.hotel-chambres { display: grid; gap: .9rem; margin-top: 1rem; }
.hotel-chambre { display: grid; grid-template-columns: 13rem minmax(0, 1fr) auto; gap: 1.1rem; align-items: center; padding: .75rem;
  border: 1px solid var(--trait); border-radius: var(--rayon); background: var(--surface); box-shadow: var(--ombre); }
.hotel-chambre .carte-image { border-radius: var(--rayon-petit); }
.hotel-chambre .carte-image img, .hotel-chambre .sans-photo { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; display: flex; align-items: center; justify-content: center; }
.hotel-chambre:hover .carte-fleche { opacity: 1; }
.hotel-chambre h3 { margin: 0 0 .2rem; font-size: 1.05rem; }
.hotel-chambre .petit { font-size: .82rem; margin: .25rem 0 0; color: var(--discret); }
.hotel-chambre-prix { display: grid; gap: .3rem; justify-items: end; text-align: end; min-width: 9rem; }
.hotel-chambre-prix .prix { margin: 0; }
.choix-nombre { display: flex; align-items: center; gap: .5rem; margin-top: .3rem; font-size: .85rem; color: var(--discret); }
.choix-nombre input { width: 4.2rem; margin: 0; text-align: center; font-weight: 600; }
@media (max-width: 45rem) {
  .hotel-chambre { grid-template-columns: 1fr; }
  .hotel-chambre-prix { justify-items: start; text-align: start; }
}
.complet { color: #b42318; font-weight: 600; margin: 0; }
.hotel-demande { padding: 1.5rem; border: 1px solid var(--trait); border-radius: var(--rayon); background: var(--surface); box-shadow: var(--ombre); border-top: 4px solid var(--or); }
.hotel-demande h2 { margin-top: 0; }
.hotel-demande-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .25rem 1rem; }
.hotel-demande-message { grid-column: 1 / -1; }
.hotel-recap { margin: .5rem 0 1rem; padding: .6rem .9rem; border-radius: var(--rayon-petit); background: var(--or-clair); color: var(--vert-texte); font-weight: 600; }
.bouton-reserver, .bouton.bouton-reserver { background: var(--or); border-color: var(--or); color: var(--vert); font-weight: 700; }
.bouton-reserver:hover, .bouton.bouton-reserver:hover { background: var(--or-fonce); border-color: var(--or-fonce); color: #fff; }
.hotel-pratique { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; margin: .5rem 0 .75rem; }
.hotel-pratique dt { font-weight: 600; }
.hotel-pratique dd { margin: 0; text-align: end; }
/* Logo KachPlassa (static/marque/) : grande épingle dorée marquée « kp », fond vert foncé, sans point blanc */
.logo::before, .pied .logo::before { background: url("../marque/kachplassa-icone.cc40b936691c.svg?v=kp3") center / contain no-repeat; border-radius: 0; }

/* ===== Créer un compte ===== */
.inscription { max-width: 30rem; margin: 2.5rem auto 3rem; display: grid; gap: 1.25rem; }
.carte-inscription { overflow: hidden; background: var(--surface); border: 1px solid var(--trait); border-radius: 14px; box-shadow: var(--ombre-forte); }
.carte-inscription-tete { margin: 0; padding: 1rem; background: #0f3a30; color: #fff; text-align: center; font-size: 1.35rem; font-weight: 600; }
.carte-inscription-corps { padding: 1.5rem 2rem 1.25rem; }
@media (max-width: 30rem) { .carte-inscription-corps { padding: 1.25rem; } }
.inscription-accroche { margin: 0 auto 1.25rem; max-width: 22rem; text-align: center; }
.carte-inscription form { display: grid; gap: .7rem; }
.carte-inscription input:not([type=checkbox]) { width: 100%; max-width: none; box-sizing: border-box; padding: .7rem .85rem; border: 1px solid var(--trait-fort); border-radius: 6px; font-size: 1rem; }
.carte-inscription .accord label { font-size: .85rem; }
.inscription-mentions { margin: .2rem 0 .4rem; text-align: center; font-size: .78rem; color: var(--discret); line-height: 1.45; }
.bouton-creer { justify-self: center; min-width: 14rem; padding: .8rem 2rem; border: 0; border-radius: 999px; background: #e5b04c; color: #0f3a30; font-size: 1.1rem; font-weight: 700; cursor: pointer; }
.bouton-creer:hover { background: #d99a1e; }
.carte-inscription .liens-sous { margin: 1rem 0 0; text-align: center; }
.encart-pro { padding: 1.25rem 1.5rem; text-align: center; background: var(--surface); border: 1px solid var(--trait); border-radius: 14px; box-shadow: var(--ombre); }
.encart-pro h2 { margin: 0; font-size: 1.15rem; color: #0f3a30; }
.encart-pro p { margin: .25rem 0 .8rem; color: var(--discret); font-size: .9rem; }
.bouton-avantages { display: inline-block; padding: .55rem 1.4rem; border-radius: 999px; background: #0f3a30; color: #fff; font-weight: 600; text-decoration: none; }
.bouton-avantages:hover { background: #164c40; color: #fff; text-decoration: none; }
/* ===== Page des professionnels ===== */
.pro { max-width: 62rem; margin: 2.5rem auto 3rem; }
.pro-tete { text-align: center; margin-bottom: 1.5rem; }
.pro-tete h1 { margin: 0 0 .5rem; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem); }
.pro-tete p { margin: 0 auto; max-width: 38rem; color: var(--discret); }
.pro-cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1rem; }
.pro-carte { display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--trait); border-radius: 16px; box-shadow: var(--ombre); }
.pro-carte h2 { margin: .25rem 0 0; }
.pro-carte ul { flex: 1; margin: .25rem 0 1rem; padding-inline-start: 1.1rem; display: grid; gap: .45rem; }
.pro-carte li::marker { color: #d99a1e; }
.pro-carte .bouton { align-self: flex-start; }
.pro-pied { margin-top: 1.25rem; text-align: center; color: var(--discret); font-size: .9rem; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pro-hero { margin: 1.25rem 0 0; padding: clamp(2rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem); border-radius: 22px; color: #fff;
  background: linear-gradient(90deg, rgb(10 30 25 / .88), rgb(10 30 25 / .55)), var(--fond-pro) center / cover; }
.pro-hero-intro { max-width: 30rem; margin: 0 0 1.25rem; font-size: 1rem; line-height: 1.55; color: rgb(255 255 255 / .92); }
.pro-hero h1 { margin: 0 0 1.25rem; font-size: clamp(1.8rem, 1.3rem + 2.4vw, 2.8rem); color: #fff; }
.pro-choix { display: flex; flex-wrap: wrap; gap: 1rem; }
.pro-choix a { min-width: 9.5rem; padding: .8rem 1.6rem; border: 1.5px solid #fff; border-radius: 10px; color: #fff; font-weight: 700; font-size: 1.05rem; text-align: center; text-decoration: none; }
.pro-choix a[aria-current="page"] { background: var(--surface); color: #0f3a30; }
.pro-choix a:hover { background: rgb(255 255 255 / .15); }
.pro-choix a[aria-current="page"]:hover { background: var(--surface); }
.pro-tete h2 { margin: 0 0 .4rem; font-size: 1.7rem; }
.pro-colonnes { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1rem; }
.pro-carte h3 { margin: 0; }
.pro-carte-plus { border-top: 4px solid #e5b04c; }
.pro-titre-offres { margin: 2.25rem 0 1rem; text-align: center; }
.pro-offres { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem; }
.pro-offre { padding: 1.4rem 1.2rem; text-align: center; background: var(--surface); border: 1px solid var(--trait); border-radius: 16px; box-shadow: var(--ombre); }
.pro-offre h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.pro-offre-prix { margin: 0; font-size: 1.6rem; font-weight: 800; color: #0f3a30; }
.pro-offre-prix span { font-size: .9rem; font-weight: 500; color: var(--discret); }
.pro-offre-limite { margin: .4rem 0 0; font-weight: 600; }
.pro-offre-mise-en-avant { border: 2px solid #e5b04c; box-shadow: 0 10px 30px rgb(229 176 76 / .25); }
.pro-action { margin: 1.75rem 0 0; text-align: center; }
.pro-offre-prix { white-space: nowrap; font-size: clamp(1.25rem, 1rem + 1vw, 1.5rem); }

/* ===================================================================================================
   Charte KachPlassa (couleurs du logo) : vert profond + doré, et un peu plus de vie.
   Placée en dernier : elle remplace les teintes bleues du thème précédent.
   =================================================================================================== */
:root {
  --vert: #0f3a30; --vert-moyen: #146b52; --vert-clair: #e8f3ee; --or: #e5b04c; --or-fonce: #c98f1f; --or-clair: #fdf4e3;
  --accent: var(--vert-moyen); --accent-fonce: var(--vert); --accent-clair: var(--vert-clair);
  --carte: #f5f8f6; --trait: #e4ebe7;
  /* Mode sombre : ce qui change d'une palette à l'autre (fonds blancs, verts employés comme texte). */
  --surface: #fff; --texte-doux: #344054; --vert-texte: var(--vert); --vert-moyen-texte: var(--vert-moyen);
}
:focus-visible { outline-color: rgb(229 176 76 / .55); }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--vert-moyen); box-shadow: 0 0 0 3px rgb(20 107 82 / .18); }
.entete-site .langue a:hover, .entete-site .compte > a:hover, .menu-compte[open] summary { border-color: var(--vert-moyen); box-shadow: 0 0 0 3px rgb(20 107 82 / .14); }

/* En-tête : liseré doré, rubriques en pastilles vertes */
.entete-site { box-shadow: 0 1px 0 var(--trait), inset 0 3px 0 var(--or); }
.nav-site a:hover { background: var(--vert-clair); color: var(--vert-texte); }
.nav-site a[aria-current] { background: var(--vert); color: #fff; }

/* Barre de recherche de l'en-tête */
.recherche-entete { display: flex; align-items: center; flex: 1 1 14rem; max-width: 24rem; margin: 0; border: 1.5px solid var(--trait-fort);
  border-radius: 999px; background: var(--surface); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.recherche-entete:focus-within { border-color: var(--vert-moyen); box-shadow: 0 0 0 3px rgb(20 107 82 / .15); }
.recherche-entete input { flex: 1; min-width: 0; margin: 0; padding: .5rem .9rem; border: 0; background: transparent; font-size: .9rem; box-shadow: none !important; }
.recherche-entete button { flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; margin: .15rem; padding: 0; border: 0; border-radius: 50%; background: var(--or); color: var(--vert); }
.recherche-entete button:hover { background: var(--or-fonce); color: #fff; }
@media (max-width: 45rem) { .recherche-entete { order: 5; flex-basis: 100%; max-width: none; } }
.recherche-mots { margin: -.25rem 0 .75rem; color: var(--discret); }

/* Boutons : vert plein ; l'action principale de recherche en doré */
.bouton, button { background: var(--vert-moyen); border-color: var(--vert-moyen); }
.bouton:hover, button:hover { background: var(--vert); border-color: var(--vert); }
.rr-bouton { background: var(--or) !important; border-color: var(--or) !important; color: var(--vert) !important; font-weight: 700; }
.rr-bouton:hover { background: var(--or-fonce) !important; border-color: var(--or-fonce) !important; color: #fff !important; }
.bouton-discret, .bouton.bouton-discret { background: var(--surface); border-color: var(--trait-fort); color: var(--vert-texte); }
.bouton-discret:hover, .bouton.bouton-discret:hover { background: var(--vert-clair); border-color: var(--vert-moyen); color: var(--vert-texte); }

/* Accueil : bandeau photo teinté de vert, titre avec un mot doré */
.accueil-hero { background-color: var(--vert); }
.accueil-hero::before { background:
  linear-gradient(180deg, rgb(8 33 27 / .55) 0%, rgb(8 33 27 / .3) 45%, rgb(8 33 27 / .78) 100%),
  radial-gradient(60rem 30rem at 50% 30%, rgb(8 33 27 / .2), transparent 70%); }
.recherche-rapide .choix-operation input:checked + span { background: var(--or); color: var(--vert); }
.rr-libelle .icone { color: var(--or-fonce); }

/* Titres de section : petit trait doré */
.section-tete h2, .section > h2 { position: relative; padding-bottom: .45rem; }
.section-tete h2::after, .section > h2::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 2.5rem; height: 3px; border-radius: 3px; background: var(--or); }

/* Cartes d'annonces : relief au survol, étiquette d'opération verte, prix en vert profond */
.carte-image { box-shadow: 0 1px 2px rgb(15 58 48 / .08); }
.carte:hover .carte-image { box-shadow: 0 14px 30px rgb(15 58 48 / .18); }
.carte-image .operation { background: var(--vert); color: #fff; }
.prix { color: var(--vert-texte); }
.carte-dispo { color: var(--or-fonce); }
.type-icone, .atout-icone, .choix-icone { background: var(--or-clair); color: var(--or-fonce); }
.types a:hover, .type:hover { border-color: var(--or); }

/* Encarts sombres et pied de page : vert du logo */
.appel-agence { background: var(--vert); color: #d6e2dd; }
.appel-agence .bouton { background: var(--or); border-color: var(--or); color: var(--vert); }
.appel-agence .bouton:hover { background: #fff; border-color: #fff; color: var(--vert); }
.pied { background: var(--vert); color: #b9cdc5; }
.pied-liens a { color: #e8f3ee; }
.pied-liens a:hover { color: var(--or); }
.message { background: var(--vert-clair); border-color: #c5e0d4; }
.vitrine-couverture { background: linear-gradient(120deg, var(--vert), var(--vert-moyen)); }
.choix-icone-agence { background: var(--vert); color: #fff; }
.choix-icone-hotel { background: var(--or); color: var(--vert); }
a.choix-operation { text-decoration: none; }
a.choix-operation:hover span { color: var(--vert-texte); }
a.choix-operation[aria-current="page"] span { background: var(--surface); color: var(--texte); font-weight: 600; box-shadow: 0 1px 3px rgb(16 24 40 / .12); }
/* Rubriques de l'en-tête : toutes centrées sur la même ligne, quels que soient les accents (« Hôtels ») */
.nav-site { align-items: center; }
.nav-site a { display: inline-flex; align-items: center; line-height: 1.2; }
/* Sélecteur de langue : les deux autres langues, en pastilles */
.langue { display: inline-flex; gap: .35rem; }
.entete-site .langue a { min-width: 2.4rem; justify-content: center; padding-inline: .7rem; font-weight: 600; }

/* ===== Publier une annonce ===== */
.bouton-publier { display: inline-flex; align-items: center; gap: .35rem; flex: none; min-height: 2.4rem; padding: .3rem 1rem; border-radius: 999px;
  border: 1.5px solid var(--vert); background: var(--surface); color: var(--vert-texte); font-weight: 650; font-size: .88rem; text-decoration: none; white-space: nowrap; margin-inline-start: auto; }
.bouton-publier span { font-size: 1.15rem; line-height: 1; }
.bouton-publier:hover { background: var(--vert); color: #fff; text-decoration: none; }
@media (max-width: 45rem) { .bouton-publier { order: 4; } }
.publier { max-width: 62rem; margin: 2.5rem auto 3rem; }
.publier-choix { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.publier-carte { display: flex; flex-direction: column; gap: .55rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--trait);
  border-radius: 16px; box-shadow: var(--ombre); color: inherit; text-decoration: none; }
a.publier-carte:hover { border-color: var(--or); box-shadow: var(--ombre-forte); color: inherit; text-decoration: none; transform: translateY(-2px); }
.publier-carte-principale { border: 2px solid var(--or); }
.publier-carte span:not(.choix-icone):not(.choix-suite) { color: var(--discret); font-size: .9rem; }
.publier-formulaire { max-width: 46rem; margin: 2rem auto 3rem; }
.publier-etape { margin: 1.25rem 0; padding: 1.25rem 1.4rem; border: 1px solid var(--trait); border-radius: 16px; background: var(--surface); box-shadow: var(--ombre); }
.publier-etape legend { display: inline-flex; align-items: center; gap: .55rem; padding: 0 .4rem; font-weight: 700; font-size: 1.05rem; }
.publier-etape legend span { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--vert); color: #fff; font-size: .85rem; }
.publier-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .2rem 1rem; }
.publier-large { grid-column: 1 / -1; }
.publier-formulaire .bouton-creer { display: block; margin: 0 auto; }
.carte-equipements { margin: .3rem 0 0; color: var(--discret); font-size: .8rem; }

/* ===== En-tête allégé : langue en menu, recherche par onglets à l'accueil ===== */
.menu-langue summary { gap: .35rem; padding-inline: .75rem; font-weight: 600; }
.menu-langue summary .icone { width: 1.05rem; height: 1.05rem; color: var(--vert-moyen-texte); }
.menu-langue .menu-compte-liens { min-width: 9rem; }
.menu-langue .menu-compte-liens a[aria-current] { font-weight: 700; color: var(--vert-texte); }
.menu-langue .menu-compte-liens a[aria-current]::after { content: " ✓"; }
.menu-langue + .compte { margin-inline-start: 0; }
.rr-champ input[type="date"] { border: 0; background: transparent; font: inherit; color: var(--texte); }
@media (max-width: 45rem) {
  .bouton-publier { margin-inline-start: 0; }
  .recherche-rapide .operations { display: flex; justify-content: space-between; }
  .recherche-rapide .choix-operation { flex: 1; text-align: center; }
}
@media (max-width: 45rem) {
  .entete-site { flex-wrap: wrap; gap: .5rem; padding-inline: .75rem; }
  .entete-site .logo { margin-inline-end: auto; }
  .bouton-publier { order: 0; padding-inline: .75rem; }
  .compte-libelle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .menu-compte:not(.menu-langue) summary, .entete-site .compte > a { padding-inline: .2rem; gap: 0; }
  .menu-compte:not(.menu-langue) summary::after { display: none; }
  .menu-langue summary { padding-inline: .55rem; }
  .menu-langue summary::after { display: none; }
}
/* Barre de recherche de l'en-tête : un seul contour, celui de la pastille */
.recherche-entete input[type="search"] { border: 0 !important; border-radius: 999px; background: transparent !important; outline: none; -webkit-appearance: none; appearance: none; }

/* ===== Recherche : « Où ? », dates du séjour, voyageurs ===== */
.accueil-hero::before, .hero-fonds { border-radius: inherit; }
.rr-champs { display: flex; align-items: center; position: relative; z-index: 5; }
.rr-champ { flex: 1 1 0; min-width: 0; position: relative; }
.recherche-rapide .rr-sejour { display: none; }
.recherche-rapide[data-onglet="VACANCES"] .rr-sejour, .recherche-rapide[data-onglet="HOTELS"] .rr-sejour { display: flex; }
.recherche-rapide[data-onglet="VACANCES"] .rr-budget, .recherche-rapide[data-onglet="HOTELS"] .rr-budget,
.recherche-rapide[data-onglet="HOTELS"] .rr-bien { display: none; }
.recherche-sejour { margin: 1rem 0 1.5rem; }
.recherche-sejour .rr-champs { border: 1px solid var(--trait); box-shadow: var(--ombre); border-radius: 999px; padding: .4rem; background: var(--surface); }
.rr-champs .champ-lieu input[type="text"] { width: 100%; border: 0 !important; background: transparent; box-shadow: none !important; outline: none; font: inherit; color: var(--texte); }
.rr-champ .rr-libelle { cursor: pointer; }

/* Le bouton qui ouvre un volet ressemble à une valeur de champ */
.champ-bouton { all: unset; display: block; width: 100%; height: 1.5rem; line-height: 1.5rem; cursor: pointer; color: var(--discret);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: start; }
.champ-dates.rempli .champ-bouton, .champ-voyageurs .champ-bouton { color: var(--texte); }
.champ-bouton:focus-visible { outline: 2px solid var(--vert-moyen); outline-offset: 2px; border-radius: 4px; }
.champ-dates:not(.avec-script) .champ-bouton, .champ-voyageurs:not(.avec-script) .champ-bouton { display: none; }
.champ-dates.avec-script .dates-sans-script { display: none; }
.dates-sans-script { display: flex; gap: .5rem; }
.dates-sans-script label { margin: 0; font-weight: 400; font-size: .8rem; }

/* Volets */
.volet { display: none; position: absolute; z-index: 40; top: calc(100% + .9rem); inset-inline-start: 0; min-width: 20rem; padding: 1rem;
  background: var(--surface); color: var(--texte); border: 1px solid var(--trait); border-radius: 18px; box-shadow: 0 24px 60px rgb(16 24 40 / .22); text-align: start; cursor: default; }
.rr-champ.ouvert .volet { display: block; }
.champ-voyageurs:not(.avec-script) .volet { display: block; position: static; min-width: 0; padding: 0; border: 0; box-shadow: none; }
.champ-voyageurs:not(.avec-script) .volet-pied { display: none; }
.volet-dates { width: min(42rem, calc(100vw - 2rem)); left: 50%; right: auto; inset-inline-start: auto; transform: translateX(-50%); }
.volet-voyageurs { inset-inline-start: auto; inset-inline-end: 0; width: 20rem; }
.volet-pied { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--trait); }
.volet-pied .lien { color: var(--discret); }
.volet-ok { margin: 0; padding: .5rem 1.25rem; border-radius: 999px; border: 0; background: var(--vert); color: #fff; font-weight: 600; }
.volet-ok:hover { background: var(--vert-moyen); }

/* Calendrier sur deux mois */
.plage-mois { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.5rem; }
.plage-nav { position: absolute; inset-inline: 0; top: -.2rem; display: flex; justify-content: space-between; pointer-events: none; }
.plage-fleche { pointer-events: auto; margin: 0; width: 2.1rem; height: 2.1rem; padding: 0; border-radius: 50%; border: 1px solid var(--trait);
  background: var(--surface); color: var(--texte); font-size: 1.3rem; line-height: 1; }
.plage-fleche:hover:not(:disabled) { border-color: var(--texte); }
.plage-fleche:disabled { opacity: .3; cursor: default; }
.plage-titre { margin: 0 0 .75rem; text-align: center; font-weight: 700; text-transform: capitalize; line-height: 1.8rem; }
.plage-grille { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: .15rem; }
.plage-semaine { padding-bottom: .35rem; text-align: center; font-size: .75rem; color: var(--discret); text-transform: capitalize; }
.plage-jour { margin: 0; height: 2.4rem; padding: 0; border: 0; border-radius: 0; background: none; color: var(--texte); font: inherit; font-size: .9rem; cursor: pointer; }
.plage-jour:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--texte); border-radius: 999px; }
.plage-jour:disabled { color: #b8c0c8; cursor: default; }
.plage-jour.aujourdhui { font-weight: 700; color: var(--vert-moyen-texte); }
.plage-jour.dedans { background: var(--vert-clair); }
.plage-jour.debut, .plage-jour.fin { background: var(--vert); color: #fff; font-weight: 700; border-radius: 999px; }
.plage-jour.provisoire { background: var(--vert-moyen); }
.plage-aide { margin: .75rem 0 0; font-size: .85rem; color: var(--discret); }

/* Voyageurs */
.compteur { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem 0; }
.compteur[hidden] { display: none; }
.compteur + .compteur { border-top: 1px solid var(--trait); }
.compteur label { margin: 0; font-weight: 500; }
.compteur-boutons { display: flex; align-items: center; gap: .5rem; }
.compteur-boutons button { margin: 0; width: 2.2rem; height: 2.2rem; padding: 0; border-radius: 50%; border: 1px solid var(--vert-moyen);
  background: var(--surface); color: var(--vert-texte); font-size: 1.2rem; line-height: 1; }
.compteur-boutons button:disabled { border-color: var(--trait); color: #b8c0c8; cursor: default; }
.compteur-boutons input { width: 2.5rem !important; min-height: 0 !important; height: 2.2rem !important; padding: 0 !important; border: 0 !important;
  text-align: center; font-weight: 600; background: transparent; box-shadow: none !important; -moz-appearance: textfield; }
.compteur-boutons input::-webkit-inner-spin-button, .compteur-boutons input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* Suggestions de « Où ? » */
.suggestions { position: absolute; z-index: 40; top: calc(100% + .9rem); inset-inline-start: 0; width: max(100%, 18rem); margin: 0; padding: .4rem;
  list-style: none; background: var(--surface); border: 1px solid var(--trait); border-radius: 16px; box-shadow: 0 24px 60px rgb(16 24 40 / .22); text-align: start; }
.suggestions li { display: flex; align-items: center; gap: .65rem; padding: .55rem .7rem; border-radius: 10px; cursor: pointer; color: var(--texte); }
.suggestions li[aria-selected="true"], .suggestions li:hover { background: var(--vert-clair); }
.suggestion-code { display: inline-grid; place-items: center; min-width: 2rem; height: 2rem; border-radius: 8px; background: var(--carte);
  color: var(--vert-texte); font-size: .8rem; font-weight: 700; }
.suggestions li[aria-selected="true"] .suggestion-code { background: var(--surface); }

/* Dans un filtre de la page de résultats : calendrier et compteurs affichés directement */
.filtre-sejour .rr-champ { padding: 0; border: 0; min-height: 0; }
.filtre-sejour .rr-libelle, .filtre-sejour .champ-bouton, .filtre-sejour .volet-pied [data-fermer] { display: none; }
.filtre-sejour .volet { display: block; position: static; transform: none; width: auto; min-width: 0; padding: 0; border: 0; box-shadow: none; }
.filtre-sejour .volet-dates { width: min(36rem, calc(100vw - 3rem)); }
.filtre-sejour .volet-voyageurs { width: 17rem; }

@media (max-width: 45rem) {
  .rr-champs, .recherche-sejour .rr-champs { flex-direction: column; align-items: stretch; border-radius: 18px; }
  .rr-champ { flex: none; }
  .volet, .volet-dates, .volet-voyageurs, .suggestions { position: fixed; inset: auto 0 0 0; top: auto; left: 0; right: 0; transform: none; width: auto; min-width: 0;
    max-height: 85dvh; overflow: auto; border-radius: 20px 20px 0 0; }
  .filtre-sejour .volet { position: static; max-height: none; }
  .suggestions { position: absolute; top: calc(100% + .3rem); bottom: auto; border-radius: 16px; }
}
.recherche-rapide { max-width: 62rem; }

/* Type de bien en liste illustrée */
.champ-liste.avec-script select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.champ-liste:not(.avec-script) .champ-bouton { display: none; }
.champ-liste .suggestions { display: none; }
.champ-liste.ouvert .suggestions { display: block; }
.champ-liste .champ-bouton { color: var(--texte); }
.suggestions li.actif { background: var(--vert-clair); }
.suggestions li[aria-selected="true"] { font-weight: 600; }
.suggestion-code .icone { width: 1.05rem; height: 1.05rem; }
/* Calendrier dans le filtre « Dates » : le panneau prend la largeur des deux mois */
.filtre-sejour .filtre-panneau { width: max-content; max-width: calc(100vw - 2rem); }
/* Sur téléphone, tous les panneaux de filtre prennent la largeur de la barre, sans dépasser */
@media (max-width: 45rem) {
  .filtre-sejour .filtre-panneau, .filtre-lieu .filtre-panneau { width: auto; max-width: none; }
  .filtre-sejour .volet-dates, .filtre-sejour .volet-voyageurs { width: auto; }
}
/* Un volet ouvert passe au-dessus des sections qui suivent */
.accueil-hero:has(.rr-champ.ouvert, .champ-lieu .suggestions:not([hidden])) { z-index: 19; }  /* sous l'en-tête (20) */
.recherche-sejour:has(.rr-champ.ouvert), .barre-recherche:has(.rr-champ.ouvert, .champ-lieu .suggestions:not([hidden])) { position: relative; z-index: 19; }
/* Les champs-boutons gardent leur allure de champ au survol (le style général des boutons ne s'y applique pas) */
.rr-champ .champ-bouton:hover, .rr-champ .champ-bouton:active, .rr-champ .champ-bouton:focus { background: transparent !important; border: 0 !important; box-shadow: none !important; }
.champ-dates:not(.rempli) .champ-bouton:hover { color: var(--discret); }
.champ-liste .champ-bouton:hover, .champ-voyageurs .champ-bouton:hover, .champ-dates.rempli .champ-bouton:hover { color: var(--texte); }
.rr-champ:hover { background: var(--carte); border-radius: 999px; }
.rr-champs .rr-champ:hover + .rr-champ, .rr-champs .rr-champ:hover { border-color: transparent; }
@media (max-width: 45rem) { .rr-champ:hover { border-radius: 12px; } }
.plage-jour:hover:not(:disabled):not(.debut):not(.fin) { background: var(--surface); color: var(--texte); }
.plage-jour.dedans:hover:not(:disabled):not(.debut):not(.fin) { background: var(--vert-clair); }
.plage-jour.debut:hover, .plage-jour.fin:hover { background: var(--vert); color: #fff; }
.plage-jour:disabled:hover { background: none; color: #b8c0c8; }
.plage-fleche:hover:not(:disabled) { background: var(--surface); color: var(--texte); }
.plage-fleche:disabled:hover { background: var(--surface); border-color: var(--trait); color: var(--texte); }
.compteur-boutons button:hover:not(:disabled) { background: var(--vert-clair); color: var(--vert-texte); border-color: var(--vert); }
.compteur-boutons button:disabled:hover { background: var(--surface); color: #b8c0c8; border-color: var(--trait); }
.volet-pied button.lien:hover { background: none; color: var(--texte); border: 0; }

/* « Lieu » des pages de résultats : le même champ « Où ? » que l'accueil */
.filtre-lieu .filtre-panneau { width: 20rem; max-width: calc(100vw - 2rem); }
.filtre-lieu .rr-champ { padding: 0; border: 0; min-height: 0; }
.filtre-lieu .rr-champ:hover { background: none; }
.filtre-lieu .rr-libelle { display: none; }
.filtre-lieu .champ-lieu input[type="text"] { width: 100%; padding: .55rem .75rem; border: 1.5px solid var(--trait-fort); border-radius: 10px; font: inherit; background: var(--surface); }
.filtre-lieu .champ-lieu input[type="text"]:focus { border-color: var(--vert-moyen); box-shadow: 0 0 0 3px rgb(20 107 82 / .15); outline: none; }
.filtre-lieu .suggestions { top: calc(100% + .3rem); width: 100%; }
@media (max-width: 45rem) { .filtre-lieu .suggestions { position: absolute; inset: calc(100% + .3rem) 0 auto 0; } }
/* Filtres à deux cases (budget, pièces, surface) : les deux cases toujours alignées, quelle que soit la longueur des libellés */
.filtre-deux { min-width: 22rem; align-items: end; }
.filtre-deux > div { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.filtre-deux > div label { flex: 1; display: flex; align-items: flex-end; }
@media (max-width: 45rem) { .filtre-deux { min-width: 0; } }
.filtre-lieu .rr-champ.champ-lieu input[type="text"] { height: auto !important; min-height: 2.6rem; padding: .55rem .75rem !important; border: 1.5px solid var(--trait-fort) !important; border-radius: 10px; background: var(--surface) !important; }

/* Une commune proposée dans « Où ? » : sa wilaya en petit */
.suggestion-wilaya { color: var(--discret); font-size: .8rem; }

/* --- Accueil vivant --- */
/* Fil « en direct » : une nouveauté à la fois, qui change toutes les quelques secondes */
.fil-direct { display: flex; align-items: center; gap: .9rem; margin: 1rem 0 0; padding: .65rem 1rem; background: var(--surface); border: 1px solid var(--trait);
  border-radius: 999px; box-shadow: var(--ombre); overflow: hidden; }
.fil-pastille { display: inline-flex; align-items: center; gap: .45rem; flex: none; padding: .2rem .65rem; border-radius: 999px; background: var(--vert-clair);
  color: var(--vert-texte); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.fil-pastille i { width: .5rem; height: .5rem; border-radius: 50%; background: #12b76a; box-shadow: 0 0 0 0 rgb(18 183 106 / .6); animation: pouls 1.8s infinite; }
@keyframes pouls { 70% { box-shadow: 0 0 0 .45rem rgb(18 183 106 / 0); } 100% { box-shadow: 0 0 0 0 rgb(18 183 106 / 0); } }
.fil-liste { position: relative; flex: 1; min-width: 0; height: 1.5rem; margin: 0; padding: 0; list-style: none; }
.fil-liste li { position: absolute; inset: 0; display: flex; align-items: center; gap: .6rem; opacity: 0; transform: translateY(.6rem); transition: opacity .45s, transform .45s; pointer-events: none; }
.fil-liste li.actif { opacity: 1; transform: none; pointer-events: auto; }
.fil-liste li.sortant { opacity: 0; transform: translateY(-.6rem); }
.fil-liste a { min-width: 0; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--texte); font-size: .9rem; }
.fil-liste a:hover { color: var(--vert-moyen-texte); }
.fil-liste b { color: var(--vert-texte); }
.fil-quand { flex: none; color: var(--pale); font-size: .8rem; }
@media (max-width: 40rem) { .fil-direct { border-radius: 16px; } .fil-quand { display: none; } }

/* Les chiffres du site, qui défilent à l'arrivée */
.chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 1rem; margin: 2rem 0 0; padding: 1.4rem 1.5rem;
  border-radius: var(--rayon); background: var(--vert); color: #fff; }
.chiffre { display: flex; flex-direction: column; gap: .15rem; }
.chiffre b { color: var(--or); font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.chiffre span { color: rgb(255 255 255 / .8); font-size: .9rem; }

/* Pastille d'une carte « coup de cœur » */
.carte-badge { display: inline-flex; align-items: center; gap: .3rem; margin: 0 0 .4rem; padding: .15rem .55rem; border-radius: 999px; font-size: .75rem; font-weight: 600; }
.carte-badge .icone { width: .85rem; height: .85rem; }
.carte-badge-vue { background: #fff1e6; color: #b54708; }
.carte-badge-favori { background: #fdecf1; color: #a3214f; }
.carte-badge-baisse { background: var(--vert-clair); color: var(--vert-texte); }

/* Les agences qui publient : leurs logos */
.logos-agences-liste { display: flex; flex-wrap: wrap; gap: .8rem; }
.logo-agence { display: flex; flex-direction: column; align-items: center; gap: .45rem; width: 7.5rem; padding: .9rem .6rem; border: 1px solid var(--trait); border-radius: var(--rayon);
  background: var(--surface); color: var(--texte); text-align: center; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.logo-agence:hover { transform: translateY(-3px); box-shadow: var(--ombre-forte); border-color: var(--or); text-decoration: none; }
.logo-agence img { width: 3.5rem; height: 3.5rem; object-fit: contain; border-radius: 12px; }
.logo-agence span { font-size: .78rem; font-weight: 600; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* Animations discrètes : les sections apparaissent en glissant, les photos zooment un peu au survol */
.carte-image { overflow: hidden; }
.carte-photos img { transition: transform .5s ease; }
@media (hover: hover) { .carte:hover .carte-photos img { transform: scale(1.05); } }
.type, .wilaya { transition: transform .2s, box-shadow .2s; }
@media (hover: hover) { .type:hover, .wilaya:hover { transform: translateY(-3px); } }
html.animer .apparait { opacity: 0; transform: translateY(1.2rem); transition: opacity .6s ease, transform .6s ease; }
html.animer .apparait.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.animer .apparait { opacity: 1; transform: none; transition: none; }
  .fil-pastille i { animation: none; }
  .fil-liste li { transition: none; }
  .carte-photos img, .type, .wilaya, .logo-agence { transition: none; }
}

/* Plassa, la mascotte */
.mascotte { display: inline-flex; align-items: center; gap: .6rem; }
.mascotte-dessin { width: 7.5rem; height: auto; flex: none; overflow: visible; }
.mascotte-bulle { position: relative; margin: 0; padding: .55rem .9rem; border-radius: 16px; background: var(--vert); color: #fff; font-weight: 700; font-size: .95rem; white-space: nowrap; }
.mascotte-bulle::before { content: ""; position: absolute; top: 50%; inset-inline-start: -.45rem; width: .9rem; height: .9rem; background: inherit; transform: translateY(-50%) rotate(45deg); border-radius: 2px; }
.mascotte-corps { animation: flotter 3.2s ease-in-out infinite; transform-origin: 62px 125px; }
.mascotte-ombre { animation: ombre 3.2s ease-in-out infinite; transform-origin: 62px 142px; }
.mascotte-yeux { animation: cligner 4.5s infinite; transform-origin: 62px 52px; }
.mascotte-loupe { animation: chercher 2.4s ease-in-out infinite; transform-origin: 100px 74px; }
.mascotte-question { animation: flotter 2s ease-in-out infinite; }
@keyframes flotter { 50% { transform: translateY(-5px); } }
@keyframes ombre { 50% { transform: scaleX(.85); opacity: .1; } }
@keyframes cligner { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes chercher { 50% { transform: rotate(-12deg) translate(-3px, 2px); } }
[dir="rtl"] .mascotte-dessin { transform: scaleX(-1); }
.vide-mascotte { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin: 1.5rem 0; padding: 1.5rem; border: 1px dashed var(--trait-fort); border-radius: var(--rayon); background: var(--carte); }
.vide-mascotte .vide-titre { margin: 0 0 .3rem; font-weight: 700; font-size: 1.05rem; color: var(--texte); }
.vide-mascotte p { margin: 0; color: var(--discret); }
.vide-mascotte > div { flex: 1 1 16rem; }
.page-perdue .mascotte { margin: 0 auto .5rem; }
@media (prefers-reduced-motion: reduce) { .mascotte-corps, .mascotte-ombre, .mascotte-yeux, .mascotte-loupe, .mascotte-question { animation: none; } }
.vide-mascotte > .mascotte { flex: none; }
.vide-mascotte .mascotte-bulle { color: #fff; }
@media (max-width: 40rem) { .chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 1.1rem 1.2rem; } }

/* Liste illustrée dans un formulaire (thème de l'appli) : même allure que « Type de bien » de l'accueil */
.champ-illustre { position: relative; }
.champ-illustre.avec-script select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.champ-illustre .champ-bouton { display: flex; align-items: center; gap: .65rem; box-sizing: border-box; width: 100%; height: auto; min-height: 2.65rem; padding: .25rem 2.4rem .25rem .35rem;
  border: 1.5px solid var(--trait-fort); border-radius: 12px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .8rem center / 1rem;
  color: var(--texte); font: inherit; line-height: 1.3; }
[dir="rtl"] .champ-illustre .champ-bouton { padding: .25rem .35rem .25rem 2.4rem; background-position: left .8rem center; }
.champ-illustre .champ-bouton:hover { border-color: var(--texte); }
.champ-illustre .champ-bouton:focus-visible, .champ-illustre.ouvert .champ-bouton { outline: none; border-color: var(--vert-moyen); box-shadow: 0 0 0 3px rgb(20 107 82 / .15); }
.champ-illustre-icone { display: inline-grid; place-items: center; flex: none; width: 1.8rem; height: 1.8rem; border-radius: 8px; background: var(--or-clair); color: var(--or-fonce); }
.champ-illustre-icone .icone { width: 1.05rem; height: 1.05rem; }
.champ-illustre .suggestions { top: calc(100% + .35rem); width: 100%; }
.champ-illustre.sans-icone .champ-bouton { padding-inline-start: .8rem; }
.champ-illustre .suggestions { max-height: min(22rem, 60vh); overflow-y: auto; }
.champ-illustre.sans-icone .suggestions li { padding: .6rem .8rem; }
/* « Trier par » garde sa pastille compacte */
.tri .champ-illustre { display: inline-block; min-width: 11rem; }
.tri .champ-illustre .champ-bouton { min-height: 2.3rem; padding-block: .2rem; border-width: 1px; border-radius: 999px; font-size: .875rem; }
.tri .champ-illustre .suggestions { inset-inline-start: auto; inset-inline-end: 0; width: max(100%, 14rem); }

/* « Où se trouve le logement ? » dans un formulaire : le champ « Où ? » de l'accueil, à l'allure des autres champs */
.champ-formulaire-lieu .rr-champ { padding: 0; border: 0; min-height: 0; flex: none; }
.champ-formulaire-lieu .rr-champ:hover { background: none; }
.champ-formulaire-lieu .rr-libelle { display: flex; align-items: center; gap: .35rem; margin: .5rem 0 .3rem; color: var(--texte); font-size: inherit; font-weight: 500; text-transform: none; letter-spacing: 0; }
.champ-formulaire-lieu .rr-libelle .icone { color: var(--or-fonce); }
.champ-formulaire-lieu .rr-champ.champ-lieu input[type="text"] { height: auto !important; min-height: 2.65rem; padding: .55rem .8rem !important; border: 1.5px solid var(--trait-fort) !important;
  border-radius: 12px; background: var(--surface) !important; font: inherit; width: 100%; box-sizing: border-box; }
.champ-formulaire-lieu .rr-champ.champ-lieu input[type="text"]:focus { border-color: var(--vert-moyen) !important; box-shadow: 0 0 0 3px rgb(20 107 82 / .15); outline: none; }
.champ-formulaire-lieu .suggestions { top: calc(100% + .35rem); width: 100%; }
.champ-formulaire-lieu small.discret { display: block; margin-top: .3rem; }

/* Cases à cocher multiples (équipements…) : des pastilles au thème de l'appli */
main div[id^="id_"]:has(> div > label > input[type="checkbox"]) { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .3rem; }
main div[id^="id_"] > div > label:has(> input[type="checkbox"]) { display: inline-flex; align-items: center; gap: .45rem; margin: 0; padding: .45rem .85rem;
  border: 1.5px solid var(--trait-fort); border-radius: 999px; background: var(--surface); font-weight: 500; cursor: pointer; transition: border-color .15s, background .15s; }
main div[id^="id_"] > div > label:has(> input[type="checkbox"]):hover { border-color: var(--texte); }
main div[id^="id_"] > div > label > input[type="checkbox"] { width: 1rem; height: 1rem; margin: 0; accent-color: var(--vert-moyen); }
main div[id^="id_"] > div > label:has(> input[type="checkbox"]:checked) { border-color: var(--vert-moyen); background: var(--vert-clair); color: var(--vert-texte); }
main div[id^="id_"] > div > label:has(> input:focus-visible) { box-shadow: 0 0 0 3px rgb(20 107 82 / .2); }

/* Pied de page en colonnes : peu de liens, tous utiles */
.pied-compact { flex-direction: column; gap: 0; }
.pied-colonnes { display: grid; grid-template-columns: minmax(14rem, 1.6fr) repeat(4, minmax(9rem, 1fr)); gap: 2rem; width: 100%; }
.pied-bloc { display: grid; gap: .55rem; align-content: start; }
.pied-bloc h2 { margin: 0 0 .25rem; color: #fff; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.pied-bloc a { color: #e8f3ee; text-decoration: none; }
.pied-bloc a:hover { color: var(--or); }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; width: 100%; margin-top: 2rem; padding-top: 1.2rem;
  border-top: 1px solid rgb(255 255 255 / .12); font-size: .8rem; }
.pied-langues { display: inline-flex; gap: 1rem; }
.pied-langues a { color: #e8f3ee; text-decoration: none; }
.pied-langues a:hover { color: var(--or); }
@media (max-width: 62rem) { .pied-colonnes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pied-marque { grid-column: 1 / -1; } }
.mascotte-bras-salut { animation: saluer 1.6s ease-in-out infinite; transform-origin: 86px 72px; }
@keyframes saluer { 50% { transform: rotate(18deg); } }
.publier-tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; }
.publier-tete .mascotte-dessin { width: 5rem; }
@media (prefers-reduced-motion: reduce) { .mascotte-bras-salut { animation: none; } }

/* Fil « en direct » et chiffres : une seule ligne fine, discrète */
.bande-direct { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1.5rem; margin: .8rem .25rem 0; font-size: .82rem; color: var(--discret); }
.bande-direct .fil-direct { flex: 1 1 20rem; min-width: 0; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; gap: .6rem; }
.bande-direct .fil-pastille { padding: 0; background: none; color: var(--vert-moyen-texte); font-size: .7rem; }
.bande-direct .fil-liste { height: 1.3rem; }
.bande-direct .fil-liste a { font-size: .82rem; color: var(--discret); }
.bande-direct .fil-liste b { font-weight: 600; color: var(--texte); }
.chiffres-ligne { display: flex; flex-wrap: wrap; gap: .2rem 1rem; margin: 0; }
.chiffres-ligne b { color: var(--vert-texte); font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 40rem) { .bande-direct { font-size: .78rem; } .chiffres-ligne { gap: .2rem .8rem; } }

/* Annonce sans photo : Plassa la cherche */
.sans-photo-mascotte { flex-direction: column; gap: .2rem; background: var(--vert-clair) !important; color: var(--vert-texte) !important; font-weight: 600; font-size: .85rem; text-decoration: none; }
.sans-photo-mascotte .mascotte-dessin { width: 4.5rem; }
.sans-photo-mascotte .mascotte-ombre { opacity: .1; }
.sans-photo-mascotte .mascotte-corps, .sans-photo-mascotte .mascotte-ombre { animation: none; }
.carte-centree > .mascotte, .carte-inscription > .mascotte { margin-bottom: .2rem; }
.carte-centree > .mascotte .mascotte-dessin, .carte-inscription .mascotte .mascotte-dessin { width: 4.5rem; }
.pied-legal { display: inline-flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.pied-legal a { color: #e8f3ee; text-decoration: none; }
.pied-legal a:hover { color: var(--or); }
.pied-bas-second { margin-top: .6rem; padding-top: 0; border-top: 0; color: #8fb1a5; }

/* Pages légales : lecture simple */
.page-legale { max-width: 44rem; margin: 0 auto; }
.page-legale h2 { margin: 1.8rem 0 .4rem; font-size: 1.1rem; }
.page-legale p, .page-legale li { color: var(--texte); line-height: 1.7; }
.page-legale-fiche { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.2rem; margin: 0; }
.page-legale-fiche dt { color: var(--discret); }
.page-legale-fiche dd { margin: 0; }
.page-legale-liens { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--trait); font-size: .9rem; }

/* Bas de page vert compact : le logo et une ligne de liens, puis le copyright */
.pied-compact { padding-block: 1.6rem 1.2rem; }
.pied-haut { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 2rem; width: 100%; }
.pied-haut .logo { text-decoration: none; }
.pied-liens-ligne { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.pied-liens-ligne a { color: #e8f3ee; text-decoration: none; font-size: .9rem; }
.pied-liens-ligne a:hover { color: var(--or); }
.pied-compact .pied-bas { margin-top: 1.2rem; padding-top: 1rem; }
@media (max-width: 40rem) { .pied-liens-ligne { gap: .5rem 1.1rem; } }
.pied-identite { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .3rem .9rem; }
.pied-slogan { color: #9fc4b6; font-size: .85rem; font-style: italic; }

/* Wilaya et commune d'un formulaire : mêmes libellés et hauteurs que les autres champs */
.champ-formulaire-lieu .rr-libelle { display: block; margin: .5rem 0 0; color: inherit; font-size: inherit; font-weight: 500; }
.champ-formulaire-lieu .rr-libelle .icone { display: none; }
.champ-formulaire-lieu .rr-champ.champ-lieu input[type="text"] { min-height: 0; height: auto !important; }
.champ-commune .commune-nouvelle { margin-top: .4rem; }
.champ-commune .commune-nouvelle small { display: block; margin-top: .25rem; }
.publier-formulaire .champ-formulaire-lieu .rr-libelle, .champ-formulaire-lieu .rr-libelle { margin: .5rem 0 .35rem; font-size: .85rem; color: var(--texte-doux); line-height: 1.5; }
.champ-formulaire-lieu .rr-champ, .champ-formulaire-lieu .rr-champ:hover, .champ-formulaire-lieu .rr-champ:focus-within { background: none !important; box-shadow: none !important; }
.champ-formulaire-lieu .rr-champ.champ-lieu input[type="text"] { min-height: 2.65rem; padding-block: .45rem !important; }
.champ-formulaire-lieu .rr-champ { gap: 0; }
.publier-formulaire .champ-formulaire-lieu .rr-libelle, .champ-formulaire-lieu .rr-libelle { margin-bottom: 0; }

/* Plassa montre le bouton « Publier » (premières visites) */
.astuce-publier { position: absolute; z-index: 21; display: flex; align-items: center; gap: .5rem; max-width: min(19rem, calc(100vw - 1rem)); padding: .45rem 2rem .45rem .5rem;
  background: var(--vert); color: #fff; border-radius: 14px; box-shadow: 0 12px 32px rgb(16 24 40 / .25); animation: astuce-entree .4s ease both; }
.astuce-publier[hidden] { display: none; }
.astuce-publier::before { content: ""; position: absolute; top: -.4rem; left: var(--fleche, 50%); width: .8rem; height: .8rem; margin-left: -.4rem; background: inherit; transform: rotate(45deg); border-radius: 2px; }
.astuce-publier .mascotte-dessin { width: 2.6rem; }
.astuce-publier .mascotte-ombre { display: none; }
.astuce-publier p { margin: 0; font-size: .85rem; font-weight: 700; line-height: 1.3; }
.astuce-fermer { all: unset; position: absolute; top: .2rem; inset-inline-end: .45rem; padding: .1rem .3rem; color: rgb(255 255 255 / .7); font-size: 1.1rem; line-height: 1; cursor: pointer; }
.astuce-fermer:hover { color: #fff; }
.astuce-fermer:focus-visible { outline: 2px solid var(--or); border-radius: 4px; }
@keyframes astuce-entree { from { opacity: 0; transform: translateY(-.4rem); } }
@media (prefers-reduced-motion: reduce) { .astuce-publier { animation: none; } }

/* « Khebbitha ! » : petite bulle quand on garde une annonce en favori */
form[data-favori] { position: relative; }
.favori-bulle { position: absolute; top: calc(100% + .35rem); inset-inline-end: 0; z-index: 6; padding: .25rem .6rem; border-radius: 999px; background: var(--vert); color: #fff;
  font-size: .78rem; font-weight: 700; white-space: nowrap; pointer-events: none; animation: astuce-entree .3s ease both; }
.deconnexion { white-space: nowrap; }

/* Aperçu d'une annonce pour la plateforme, avant validation */
.message-apercu { margin: 0 0 1rem; padding: .7rem 1rem; border-radius: var(--rayon); background: #fffaeb; border: 1px solid #fedf89; color: #93370d; font-weight: 600; }

/* Horaires dans le bas de page d'une boutique : lisibles sur le fond vert */
.pied .horaires-liste dt { color: #fff; }
.pied .horaires-liste dd { color: #cfe3da; }


.accueil-hero h1 { text-wrap: balance; }

/* Types de biens et atouts : icônes modernes aux couleurs du site (vert, or, fond doré pâle des pastilles) */
.type-illustration { display: block; width: 3.9rem; height: 3.9rem; margin-bottom: .55rem; transition: transform .25s ease; }
@media (hover: hover) { .type:hover .type-illustration { transform: translateY(-2px) rotate(-3deg); } }
@media (max-width: 45rem) { .type-illustration { width: 3.2rem; height: 3.2rem; margin-bottom: .4rem; } }
@media (prefers-reduced-motion: reduce) { .type-illustration { transition: none; } }
.atout-illustration { display: block; flex: none; width: 3.4rem; height: 3.4rem; }
@media (max-width: 45rem) { .atout-illustration { width: 3rem; height: 3rem; } }

/* Panneau d'un filtre proche du bord : aligné sur la fin de son bouton pour rester dans l'écran (sur ordinateur) */
@media (min-width: 45.01rem) {
  .filtre-panneau.vers-la-gauche { inset-inline-start: auto; inset-inline-end: 0; }
}

/* Logo aux couleurs du thème : « Kach » en vert du site (le bas de page, vert, garde « Kach » en blanc) */
.logo { color: #0f3a30; }
.pied .logo { color: #fff; }

/* ===== Mode sombre (bouton lune / soleil en haut ; « automatique » suit l'appareil tant qu'on n'a rien choisi) ===== */
html[data-mode="sombre"] {
  color-scheme: dark;
  --texte: #e7ecea; --texte-doux: #c3ccc8; --discret: #9aa8a2; --pale: #74827c;
  --trait: #26322e; --trait-fort: #374541;
  --fond: #0e1412; --carte: #151d1a; --surface: #18211e;
  --vert-clair: #15302a; --accent-clair: #15302a; --or-clair: #2c2416;
  --vert-texte: #9ad9bd; --vert-moyen-texte: #6cc7a0;
  --ombre: 0 1px 2px rgb(0 0 0 / .4); --ombre-forte: 0 12px 32px rgb(0 0 0 / .55);
}
html[data-mode="sombre"] img:not([src$=".svg"]) { filter: brightness(.92); }
html[data-mode="sombre"] input, html[data-mode="sombre"] select, html[data-mode="sombre"] textarea { background-color: var(--surface); color: var(--texte); border-color: var(--trait-fort); }
html[data-mode="sombre"] ::placeholder { color: var(--pale); }
/* Le logo garde « Kach » lisible sur fond sombre ; « Plassa » reste or. */
html[data-mode="sombre"] .logo { color: #e7ecea; }
.bouton-mode { display: inline-grid; place-items: center; flex: none; width: 2.4rem; height: 2.4rem; margin: 0; padding: 0; box-shadow: none; border: 1px solid var(--trait-fort); border-radius: 999px; background: var(--surface); color: var(--texte); cursor: pointer; }
.bouton-mode:hover { border-color: var(--vert-moyen-texte); }
.bouton-mode .icone { width: 1.15rem; height: 1.15rem; }
.bouton-mode .icone-soleil, html[data-mode="sombre"] .bouton-mode .icone-lune { display: none; }
html[data-mode="sombre"] .bouton-mode .icone-soleil { display: block; }
html[data-mode="sombre"] .entete-site { background: rgb(14 20 18 / .9); }
html[data-mode="sombre"] .fiche-barre { background: rgb(14 20 18 / .96); }

/* Formulaire : « Arrivée — Départ » en un seul champ (le calendrier de la recherche), à l'allure d'un champ de saisie. */
.champ-formulaire-dates { position: relative; }
.champ-formulaire-dates .rr-champ { padding: 0; border: 0; min-height: 0; flex: none; }
.champ-formulaire-dates .rr-champ:hover { background: none; }
.champ-formulaire-dates .rr-libelle { display: flex; align-items: center; gap: .35rem; margin: 0 0 .3rem; color: var(--texte); font-size: .85rem; font-weight: 500; text-transform: none; letter-spacing: 0; }
.champ-formulaire-dates .rr-libelle .icone { color: var(--or-fonce); }
.champ-formulaire-dates .champ-bouton { box-sizing: border-box; height: auto; min-height: 2.65rem; padding: .55rem .8rem; line-height: 1.5; border: 1.5px solid var(--trait-fort); border-radius: 12px; background: var(--surface); min-width: 15rem; }
.champ-formulaire-dates .champ-bouton:focus-visible, .champ-formulaire-dates .ouvert .champ-bouton { border-color: var(--vert-moyen); box-shadow: 0 0 0 3px rgb(20 107 82 / .15); outline: none; }
.champ-formulaire-dates .volet-dates { top: calc(100% + .4rem); left: 0; transform: none; inset-inline-start: 0; }
[dir="rtl"] .champ-formulaire-dates .volet-dates { left: auto; right: 0; }
.hotel-demande-dates { grid-column: span 2; }
@media (max-width: 40rem) { .hotel-demande-dates { grid-column: auto; } }
.hotel-demande-dates .rr-libelle { margin: .5rem 0 0; }
.hotel-demande-dates .champ-bouton { border-radius: 10px; }
