/*
 * Fiche d'hébergement (prestation/show). Mobile d'abord, puis on élargit.
 * Plain CSS volontairement (pas de compilation) : les réglages se lisent ici, en tête de fichier.
 *
 * Gamme : <main data-gamme="vert"> fournit --g (r g b, réglé dans l'admin, table backgroundcolor).
 * Tout le reste en dérive : fond clair, trait, texte foncé. Changer une gamme = changer UNE couleur.
 */
.fiche {
  /* Espacement : une seule échelle de 8 px. Les sections respirent de la même façon partout. */
  --sp-1: .5rem; --sp-2: 1rem; --sp-3: 1.5rem; --sp-4: 2rem; --sp-5: 3rem;
  --section-y: clamp(2.5rem, 1.5rem + 4vw, 5rem);   /* blanc entre deux sections */
  --gutter: clamp(1rem, .5rem + 2.5vw, 2rem);       /* marge latérale */
  --measure: 62ch;                                    /* largeur de lecture */

  /* Couleurs dérivées de la gamme */
  --g-main: rgb(var(--g, 63 120 63));
  --g-deep: color-mix(in srgb, var(--g-main) 58%, #000);   /* texte, boutons : contraste AA sur blanc */
  --g-soft: color-mix(in srgb, var(--g-main) 14%, #fff);   /* fonds de bloc */
  --g-tint: color-mix(in srgb, var(--g-main) 6%, #fff);    /* fond de page alternatif */
  --ink: #2b2b2b; --ink-soft: #5b5b5b; --line: #e6e1d8; --paper: #fbf9f4;

  /* Typographie : titres Lora en graisse moyenne, texte Alegreya Sans. Pas de gras partout. */
  --fs-body: clamp(1rem, .96rem + .2vw, 1.0625rem);
  --fs-lead: clamp(1.125rem, 1.02rem + .5vw, 1.35rem);
  --fs-h2: clamp(1.5rem, 1.15rem + 1.4vw, 2.1rem);
  --fs-title: clamp(1.85rem, 1.2rem + 2.6vw, 3rem);

  color: var(--ink);
  font-size: var(--fs-body);
  line-height: 1.6;
}
.fiche *, .fiche *::before, .fiche *::after { box-sizing: border-box; }

/* Largeur unique pour TOUS les blocs de la page : fini les largeurs qui changent d'une section à l'autre. */
.fiche-wrap { max-width: 1160px; margin-inline: auto; padding-inline: var(--gutter); }
.fiche-section { padding-block: var(--section-y); }
.fiche-section:nth-of-type(even) { background: var(--paper); }
.fiche-intro { background: #fff; padding-top: clamp(1.5rem, 1rem + 3vw, 3.5rem); }

.fiche h2, .fiche h3 { background: none; padding: 0; border-radius: 0; text-shadow: none; font-family: var(--font-title); font-weight: 500; line-height: 1.2; color: var(--g-deep); margin: 0; }
.fiche-h2 { font-size: var(--fs-h2); margin-bottom: var(--sp-3) !important; }
.fiche-h3 { font-size: 1.2rem; margin-bottom: var(--sp-2) !important; }

/* ── Icônes ─────────────────────────────────────────────── */
.ico { width: 1.5rem; height: 1.5rem; flex: none; color: var(--g-deep); }

/* ── 1. Identité ────────────────────────────────────────── */
.fiche-grid { display: grid; gap: var(--sp-4); }
@media (min-width: 992px) {
  .fiche-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 4vw, 4rem); align-items: stretch; }
}
.fiche-eyebrow { font-size: .8125rem !important; letter-spacing: .12em; text-transform: uppercase; color: var(--g-deep); margin: 0 0 var(--sp-1); }
.fiche-title { font-family: var(--font-title); font-weight: 500; font-size: var(--fs-title) !important; line-height: 1.12 !important; color: var(--g-deep); margin: 0 0 var(--sp-2) !important; text-wrap: balance; }
.fiche-lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink); max-width: var(--measure); margin: 0 0 var(--sp-3); }

/* Équipements : une ligne d'icônes, lisible d'un coup d'œil */
.facts { list-style: none; margin: 0 0 var(--sp-4); padding: var(--sp-2) 0; display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); border-block: 1px solid var(--line); }
.fact { display: flex; align-items: center; gap: .625rem; font-size: 1rem; }
.fact strong { font-weight: 600; }
.fact-label { color: var(--ink-soft); }
.facts--compact { margin: var(--sp-1) 0 0; padding: 0; border: 0; gap: .25rem var(--sp-2); }
.facts--compact .fact { font-size: .9375rem; gap: .375rem; }
.facts--compact .ico { width: 1.25rem; height: 1.25rem; }

/* Les plus : liste à coches, deux colonnes dès que la place existe */
.plus-list ul { list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px) { .plus-list ul { column-count: 2; column-gap: 2.5rem; } }
.plus-list li { position: relative; padding-left: 1.75rem; margin-bottom: .85rem; break-inside: avoid; }
.plus-list li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.1rem; height: 1.1rem; background: var(--g-main); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat; }
.plus-list i, .plus-list em { color: var(--ink-soft); }

/* Carte prix : collante sur grand écran, sous le texte sur mobile */
.aside-card { background: var(--g-soft); border-radius: 1rem; padding: var(--sp-3); }

.aside-price { margin: 0 0 var(--sp-2); display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .5rem; }
.aside-from { font-size: .9375rem; color: var(--ink-soft); }
.aside-price strong { font-family: var(--font-title); font-weight: 500; font-size: 2.25rem; line-height: 1; color: var(--g-deep); }
.aside-price small { color: var(--ink-soft); }
.aside-cta { display: block; text-align: center; background: var(--g-deep); color: #fff; text-decoration: none; padding: .85rem 1rem; border-radius: .6rem; font-weight: 600; }
.aside-cta:hover, .aside-cta:focus-visible { background: color-mix(in srgb, var(--g-deep) 80%, #000); color: #fff; }

/* ── 2. Réservation ─────────────────────────────────────── */
.fiche-booking { background: var(--g-tint) !important; padding-block: var(--sp-5); }
.booking-closed { position: relative; overflow: hidden; display: flex; gap: var(--sp-2); align-items: flex-start; background: #fff; border-radius: .75rem; padding: var(--sp-3) var(--sp-3) var(--sp-3) calc(14px + var(--sp-3)); box-shadow: 0 0 0 1px var(--line); }
.booking-closed::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 14px; background: var(--g-main); }
.booking-closed .ico { width: 2rem; height: 2rem; margin-top: .15rem; }
.booking-closed-title { margin: 0; font-family: var(--font-title); font-size: 1.25rem; color: var(--g-deep); }
.booking-closed-sub { margin: .25rem 0 0; color: var(--ink-soft); }
.booking-card { background: #fff; border-radius: .75rem; overflow: hidden; border: 1px solid var(--line); }
.booking-head { display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-3); padding: var(--sp-2) var(--sp-3); background: var(--g-soft); color: var(--g-deep); }
.booking-dates { font-weight: 600; }

/* ── 3. Photos ──────────────────────────────────────────── */
.gallery-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--sp-1) var(--sp-3); margin-bottom: var(--sp-3); }
.gallery-head .fiche-h2 { margin: 0 !important; }
.gallery-count { font-family: "Alegreya Sans", sans-serif; font-size: .9375rem; color: var(--ink-soft); margin-left: .5rem; }
.gallery-full { display: inline-flex; align-items: center; gap: .5rem; background: none; border: 1px solid var(--line); border-radius: .6rem; padding: .5rem .9rem; color: var(--g-deep); cursor: pointer; font: inherit; }
.gallery-full:hover { background: var(--g-soft); }
.gallery-mosaic { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
.gallery-mosaic .g-main { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .gallery-mosaic { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); }
  .gallery-mosaic .g-main { grid-column: 1 / 3; grid-row: 1 / 3; }
}
.g-item { position: relative; display: block; overflow: hidden; border-radius: .5rem; background: var(--g-soft); line-height: 0; }
.g-item img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; transition: transform .4s; }
.g-item:hover img { transform: scale(1.03); }
.g-main img { aspect-ratio: auto; min-height: 100%; }
@media (max-width: 767px) { .g-main img { aspect-ratio: 16 / 10; } }
.g-more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgb(0 0 0 / .5); color: #fff; font: 600 1.5rem var(--font-title); line-height: 1; }
.gallery-rest { display: grid; gap: 8px; margin-top: 8px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .gallery-rest { grid-template-columns: repeat(4, 1fr); } }
.gallery-rest[hidden] { display: none; }
.gallery-toggle { margin-top: var(--sp-3); background: none; border: 1px solid var(--g-deep); color: var(--g-deep); border-radius: .6rem; padding: .7rem 1.25rem; font: inherit; font-weight: 600; cursor: pointer; }
.gallery-toggle:hover { background: var(--g-soft); }

/* ── 4. Vidéos ──────────────────────────────────────────── */
.videos-grid { display: grid; gap: var(--sp-3); }
@media (min-width: 768px) { .videos-grid { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); } }

/* ── 5. Mot du directeur ────────────────────────────────── */
.director-card { display: grid; gap: var(--sp-3); margin: 0; align-items: center; background: white; border-radius: .75rem; padding: var(--sp-3); }
@media (min-width: 768px) { .director-card {  gap: var(--sp-5); } }
.director-photo { width: 100%; max-width: 220px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.director-title { font-size: 1.25rem !important; margin-bottom: var(--sp-1) !important; }
.director-quote { font-family: var(--font-read); font-size: var(--fs-lead); line-height: 1.55; font-style: italic; max-width: var(--measure); }

/* ── 6. Comparer ────────────────────────────────────────── */
.compare-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); grid-template-columns: 1fr; }
@media (min-width: 640px) { .compare-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .compare-grid { grid-template-columns: repeat(3, 1fr); } }
.compare-card { --g-main: rgb(var(--g, 63 120 63)); --g-deep: color-mix(in srgb, var(--g-main) 58%, #000); display: flex; flex-direction: column; height: 100%; background: #fff; position: relative; box-shadow: 0 0 0 1px var(--line); border-radius: .75rem; overflow: hidden; color: var(--ink); text-decoration: none; transition: box-shadow .2s, transform .2s; }
.compare-card:hover, .compare-card:focus-visible { box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.1); transform: translateY(-2px); color: var(--ink); }
.compare-card::before { content: ""; display: block; height: 12px; background: var(--g-main); }
.compare-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.compare-body { display: flex; flex-direction: column; gap: .35rem; padding: var(--sp-2) var(--sp-3) var(--sp-3); flex: 1; }
.compare-name { font-family: var(--font-title); font-weight: 500; font-size: 1.2rem; color: var(--g-deep); }
.compare-diff { font-size: .9375rem; color: var(--ink); }
.compare-diff + .compare-diff { color: var(--ink-soft); }
.compare-price { margin-top: auto; padding-top: var(--sp-1); color: var(--ink-soft); }
.compare-price strong { color: var(--g-deep); font-size: 1.15rem; }

/* ── 7. Offres ──────────────────────────────────────────── */
.fiche-offers .fiche-h2 { text-align: center; }

@media (prefers-reduced-motion: reduce) { .compare-card { transition: none; } }

/* Le carrousel d'offres (tiny-slider) déborde de quelques pixels sur mobile : on le contient. */
.fiche-offers { overflow-x: clip; }

/* ── Colonne latérale : prix, accès rapides, atouts ───────── */
.aside-limited { margin: 0 0 var(--sp-2); font-size: .9375rem; color: var(--g-deep); font-weight: 600; }
.aside-secure { margin: var(--sp-2) 0 0; display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--ink-soft); }
.aside-secure .ico { width: 1.1rem; height: 1.1rem; color: var(--ink-soft); }
.aside-block { margin-top: var(--sp-4); }
.aside-title { font-family: "Alegreya Sans", sans-serif !important; font-size: .8125rem !important; font-weight: 700 !important; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft) !important; margin: 0 0 var(--sp-2) !important; }
.aside-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.aside-links a { display: flex; align-items: center; gap: .6rem; padding: .4rem 0; color: var(--ink); text-decoration: none; }
.aside-links a:hover { color: var(--g-deep); }
.atouts-compact { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.atout { display: flex; gap: 1rem; align-items: center; }
.atout img { flex: none; width: 64px; height: 64px; }
.atout span { display: grid; line-height: 1.3; }
.atout small { color: var(--ink-soft); font-size: .875rem; }
.ico-sm { width: 1.1rem; height: 1.1rem; }

/* ── Sommaire : discret, seulement sur grands écrans ──────── */
.fiche { position: relative; }
.fiche-rail { display: none; }
@media (min-width: 1200px) {
  /* Le rail va du milieu de « Caractéristiques » au milieu de « Offres » (posé par le script) ;
     le sommaire y est collant : il suit le défilement sans jamais sortir de ces deux bornes. */
  .fiche-rail { display: block; position: absolute; z-index: 20; top: 0; height: 0; left: max(8px, calc((100% - 1160px) / 2 - 64px)); width: 0; }
  .fiche-nav { position: sticky; top: calc(38vh - 50px); width: max-content; padding: .5rem .35rem; border-radius: .9rem; background: rgb(255 255 255 / .5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
  .fiche-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
  .fiche-nav a { position: relative; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; text-decoration: none; }
  .fiche-nav a::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: color-mix(in srgb, var(--g-main) 35%, #fff); transition: background .2s, transform .2s; }
  .fiche-nav a.active::before { background: var(--g-deep); transform: scale(1.5); }
  .fiche-nav a span { position: absolute; left: 100%; margin-left: 8px; white-space: nowrap; font-size: .8125rem; color: var(--g-deep); background: #fff; padding: .15rem .5rem; border-radius: .35rem; box-shadow: 0 1px 4px rgb(0 0 0 / .12); opacity: 0; pointer-events: none; transition: opacity .15s; }
  .fiche-nav a:hover span, .fiche-nav a:focus-visible span, .fiche-nav a.active span { opacity: 1; }
}
@media (min-width: 1460px) {
  /* assez de marge : les libellés restent visibles, à gauche des points */
  .fiche-rail { left: max(8px, calc((100% - 1160px) / 2 - 190px)); }
  .fiche-nav a { width: auto; min-width: 150px; justify-content: flex-start; gap: .75rem; flex-direction: row-reverse; }
  .fiche-nav a span { position: static; opacity: 1; background: none; box-shadow: none; padding: 0; margin: 0; color: var(--ink-soft); flex: 1; text-align: right; }
  .fiche-nav a.active span { color: var(--g-deep); font-weight: 600; }
}
.fiche [id] { scroll-margin-top: 4.5rem; }

/* Colonne latérale : tout le bloc reste visible pendant la lecture de la section (écrans assez hauts). */
@media (min-width: 992px) and (min-height: 760px) { .fiche-aside-inner { position: sticky; top: 1.5rem; } }
.aside-closed { display: flex; gap: .6rem; align-items: flex-start; margin: 0; font-size: .9375rem; color: var(--ink-soft); line-height: 1.4; }
.aside-closed .ico { margin-top: .1rem; width: 1.25rem; height: 1.25rem; }

/* Avantages propres au mobil-home (climatisation, télévision…) : sur fond léger, dans « Les plus » */
.facts--extras { margin: 0 0 var(--sp-3); padding: var(--sp-2) var(--sp-3); background: var(--g-tint); border: 0; border-radius: .75rem; gap: .5rem var(--sp-4); }

/* Barre de prix : fine, en bas de l'écran, sur tous les appareils */
.fiche-bar { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; background: rgb(255 255 255 / .96); box-shadow: 0 -2px 12px rgb(0 0 0 / .12); }
.fiche-bar[hidden] { display: none; }
.fiche-bar-in { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); padding-block: .6rem; }
.bar-price { color: var(--ink-soft); }
.bar-price strong { font-family: var(--font-title); font-weight: 500; font-size: 1.35rem; color: var(--g-deep); }
.bar-cta { background: var(--g-deep); color: #fff; text-decoration: none; padding: .55rem 1.1rem; border-radius: .5rem; font-weight: 600; white-space: nowrap; }
.bar-note { font-size: .875rem; color: var(--ink-soft); text-align: right; }

/* ═══ Liste des mobil-homes (prestation/index) : filtre, cartes, comparatif ═══ */
.fleet-intro { padding-top: clamp(1.5rem, 1rem + 3vw, 3rem); background: #fff; }
.fleet [hidden] { display: none !important; }

/* Filtre en puces */
.fleet-filter { display: grid; gap: var(--sp-3); margin: var(--sp-3) 0 var(--sp-4); }
@media (min-width: 768px) { .fleet-filter { grid-template-columns: repeat(2, auto) 1fr; align-items: start; column-gap: var(--sp-5); } }
.fleet-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.fleet-group legend { float: none; width: auto; padding: 0; margin: 0 0 var(--sp-1); font: 700 .8125rem "Alegreya Sans", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.fleet-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.fleet-pill { display: inline-flex; align-items: center; gap: .45rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .45rem .9rem; font: inherit; color: var(--ink); cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.fleet-pill .ico { width: 1.15rem; height: 1.15rem; }
.fleet-pill:hover { border-color: var(--g-main); }
.fleet-pill[aria-pressed="true"] { background: var(--g-deep); border-color: var(--g-deep); color: #fff; }
.fleet-pill[aria-pressed="true"] .ico { color: #fff; }
.fleet-status { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-1) var(--sp-3); }
@media (min-width: 768px) { .fleet-status { justify-content: flex-end; align-self: end; } }
.fleet-sort { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink-soft); font-size: .9375rem; }
.fleet-sort select { font: inherit; color: var(--ink); border: 1px solid var(--line); border-radius: .5rem; padding: .3rem .5rem; background: #fff; }
.fleet-reset { background: none; border: 0; padding: 0; color: var(--g-deep); text-decoration: underline; cursor: pointer; font: inherit; }
.fleet-empty { margin: var(--sp-4) 0; padding: var(--sp-3); background: var(--g-tint); border-radius: .75rem; text-align: center; }

/* Cartes : bandeau de gamme en haut, photo, ce qui distingue ce mobil-home */
.fleet-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); grid-template-columns: 1fr; }
@media (min-width: 700px) { .fleet-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .fleet-grid { grid-template-columns: repeat(3, 1fr); } }
.fleet-card { --g-main: rgb(var(--g, 63 120 63)); --g-deep: color-mix(in srgb, var(--g-main) 58%, #000); --g-soft: color-mix(in srgb, var(--g-main) 14%, #fff); height: 100%; display: flex; flex-direction: column; background: #fff; box-shadow: 0 0 0 1px var(--line); border-radius: .75rem; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.fleet-card::before { content: ""; display: block; height: 12px; background: var(--g-main); }
.fleet-card:hover { box-shadow: 0 0 0 1px var(--line), 0 .5rem 1.5rem rgb(0 0 0 / .1); transform: translateY(-2px); }
.fleet-media { display: block; line-height: 0; background: var(--g-soft); }
.fleet-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.fleet-body { display: flex; flex-direction: column; gap: var(--sp-1); padding: var(--sp-2) var(--sp-3) var(--sp-3); flex: 1; }
.fleet-name { margin: 0 !important; font-size: 1.3rem !important; }
.fleet-name a { color: var(--g-deep); text-decoration: none; }
.fleet-name a:hover { text-decoration: underline; }
.fleet-pitch { margin: 0; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fleet-feats { list-style: none; margin: .25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem .9rem; font-size: .9375rem; color: var(--ink-soft); }
.fleet-feats li { display: inline-flex; align-items: center; gap: .35rem; }
.fleet-feats .ico { width: 1.15rem; height: 1.15rem; }
.fleet-foot { margin-top: auto; padding-top: var(--sp-2); display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); }
.fleet-price { color: var(--ink-soft); }
.fleet-price strong { font-family: var(--font-title); font-weight: 500; font-size: 1.35rem; color: var(--g-deep); }
.fleet-cta { background: var(--g-deep); color: #fff; text-decoration: none; padding: .55rem 1rem; border-radius: .5rem; font-weight: 600; white-space: nowrap; }
.fleet-cta:hover { background: color-mix(in srgb, var(--g-deep) 80%, #000); color: #fff; }

/* Comparatif */
.fleet-compare { background: var(--paper); }
.fleet-diff { display: inline-flex; gap: .5rem; align-items: center; margin-bottom: var(--sp-2); color: var(--ink-soft); cursor: pointer; }
.fleet-table-wrap { overflow-x: auto; background: #fff; border-radius: .75rem; box-shadow: 0 0 0 1px var(--line); }
.fleet-table { border-collapse: collapse; width: 100%; min-width: 560px; }
.fleet-table th, .fleet-table td { padding: .75rem 1rem; text-align: center; border-bottom: 1px solid var(--line); vertical-align: middle; }
.fleet-table thead th { border-bottom: 0; position: relative; padding-top: 1.1rem; }
.fleet-table thead th[data-gamme]::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 8px; background: rgb(var(--g, 63 120 63)); }
.fleet-table thead a { font-family: var(--font-title); font-weight: 500; color: var(--g-deep); text-decoration: none; }
.fleet-table thead th[data-gamme] a { color: color-mix(in srgb, rgb(var(--g, 63 120 63)) 58%, #000); }
.fleet-table thead th:first-child, .fleet-table tbody th { text-align: left; font-weight: 500; color: var(--ink-soft); position: sticky; left: 0; background: #fff; }
.fleet-table tbody th .ico { vertical-align: -.3em; margin-right: .4rem; }
.fleet-table .ico.yes { color: var(--g-deep); margin: 0 auto; }
.fleet-table .no { color: #b5b0a5; }
.fleet-table .price-row th, .fleet-table .price-row td { border-bottom: 0; }
.fleet-table .price-row strong { font-size: 1.15rem; color: var(--g-deep); }
.fleet-table.only-diff tr[data-same="1"] { display: none; }

/* Texte à lire : Mrs Eaves (corps un peu plus grand : son œil est petit) */
.fiche .fiche-lead, .fiche .fiche-main p, .fiche .fiche-main li, .fiche .plus-list li, .fiche .director-quote, .fiche .booking-closed-sub { font-family: var(--font-read); }
.fiche .fiche-lead, .fiche .fiche-main p, .fiche .plus-list li { font-size: 1.1em; }
/* Les « plus » au-dessus des repères, sur une hauteur fixe : les repères s'alignent d'une carte à l'autre */
.compare-diffs { display: flex; flex-direction: column; gap: .2rem; min-height: 3.1em; }

/* Lien « Voir l'inventaire » sous le bouton de réservation */
.aside-inventory { margin: .9rem 0 0; text-align: center; }
.aside-inventory a { color: var(--hd-blue, #2b4a7c); font: 500 1.05rem var(--font-ui); text-decoration: none; border-bottom: 1px solid rgb(43 74 124 / .35); padding-bottom: 1px; }
.aside-inventory a:hover { border-bottom-color: currentColor; }


/* === Plan du mobil-home et services (fiche v3) === */

.fiche-plus .plus-list .plus-limited { font-weight: 700; }

/* === Aside harmonisé : trois cartes, même rayon, même respiration === */
.fiche-aside .aside-card, .fiche-aside .aside-block, .fiche-aside .aside-inventory { border-radius: 2rem; padding: 1em; margin: 0 0 var(--sp-3); }
.fiche-aside .aside-block, .fiche-aside .aside-inventory { background: #fff; box-shadow: 0 .125rem .6rem rgb(0 0 0 / .07); }
.fiche-aside .aside-inventory { text-align: center; background: #f8f8fc; }
.fiche-aside .aside-inventory a, .fiche-aside .aside-inventory button { margin: 0 0 .35rem; background: white; }
.fiche-aside .aside-inventory-note { margin: 0; font-size: .875rem; color: var(--ink-soft); }

/* === Services + mot du directeur : deux colonnes carrées (≥ lg), qui grandissent avec leur texte === */
.fiche-duo .row { align-items: stretch; } /* les deux colonnes ont la même hauteur et les mêmes bords haut et bas */
.fiche-duo .duo-col { container-type: inline-size; display: flex; }
.fiche-duo .duo-card { flex: 1 1 auto; margin: 0; border-radius: var(--bs-border-radius-xxl, 2rem); padding: var(--sp-4); background: var(--g-soft); display: flex; flex-direction: column; justify-content: flex-start; }
/* Carte du directeur : la vignette à gauche, le titre « flottant » à sa droite, puis la citation sur toute la largeur. */
.fiche-duo .duo-card.director-card { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: center; column-gap: var(--sp-3); row-gap: var(--sp-3); justify-content: stretch; background: #fff; box-shadow: 0 .125rem .6rem rgb(0 0 0 / .07); }
.fiche-duo .director-card .director-text { display: contents; }
.fiche-duo .director-card .director-photo { grid-column: 1; grid-row: 1; }
.fiche-duo .director-card .director-title { grid-column: 2; grid-row: 1; margin: 0 !important; align-self: center; }
.fiche-duo .director-card .director-quote { grid-column: 1 / -1; grid-row: 2; align-self: start; }
.fiche-duo .director-photo { width: 6.5rem; max-width: 6.5rem; flex: none; } /* mobile : la place va au titre */
@media (min-width: 768px) { .fiche-duo .director-photo { width: 10rem; max-width: 10rem; } }
@media (min-width: 992px) {
    .fiche-duo { --duo-pad: var(--sp-5); }
    .fiche-duo .duo-card { padding: var(--duo-pad); }
    /* ratio_1_1 : la carte de chaque colonne fait AU MOINS 1 / 1,1 (plancher), et son texte est plafonné pour ne pas dépasser ce format.
       Plancher + plafond plutôt qu'un aspect-ratio : dans une colonne étroite, un rapport fixe écrasait la carte jusqu'à ne laisser que la photo et le titre.
       Le texte en trop est masqué par un dégradé (classe is-clipped, posée par le script de la fiche) ; le lien reste visible. */
    .fiche-duo .ratio_1_1 > .duo-card { min-height: calc(110cqw); }
    .fiche-duo .ratio_1_1 .services-body { flex: none; max-height: calc(110cqw - 2 * var(--duo-pad) - 3.5rem); overflow: hidden; }
    .fiche-duo .ratio_1_1 .director-quote { flex: none; min-height: 7rem; max-height: max(7rem, calc(110cqw - 2 * var(--duo-pad) - 12rem)); overflow: hidden; }
    .fiche-duo .is-clipped { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 4.5rem), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 4.5rem), transparent); }
}
.fiche-duo .services-body h2, .fiche-duo .services-body h3 { font-size: 1.1rem; margin: 0 0 .75rem; }
.fiche-duo .services-body ul { padding-left: 1.2rem; margin: 0; }
.fiche-duo .services-body li { margin-bottom: .7rem; }
.fiche-duo .services-more { margin: auto 0 0; padding-top: var(--sp-2); font-weight: 600; flex: none; }
.fiche-duo .director-quote { max-width: none; }

/* Encart « documents » : inventaire + plan */
.fiche-aside .aside-docs { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.fiche-aside .aside-doc { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border: 1px solid rgb(43 74 124 / .35); border-radius: 2rem; background: transparent; color: var(--hd-blue, #2b4a7c); font: 500 1rem var(--font-ui); text-decoration: none; cursor: pointer; }
.fiche-aside .aside-doc:hover, .fiche-aside .aside-doc:focus-visible { background: rgb(43 74 124 / .08); border-color: currentColor; }
.fiche-aside .aside-inventory-note { margin-top: .6rem; }
/* Plan en modale */
.plan-dialog { width: min(60rem, calc(100vw - 1.5rem)); max-height: calc(100vh - 1.5rem); padding: 1rem; border: 0; border-radius: 1.5rem; background: #fff; overflow: auto; }
.plan-dialog::backdrop { background: rgb(0 0 0 / .6); }
.plan-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 .75rem; }
.plan-dialog-title { margin: 0; font-size: 1.25rem; }
.plan-dialog-close { border: 0; background: transparent; font-size: 2rem; line-height: 1; cursor: pointer; }
.plan-dialog img { display: block; max-width: 100%; max-height: 70vh; width: auto; height: auto; margin-inline: auto; background: #fff; }
.plan-dialog .plan-note { margin: .85rem 0 0; padding: .65rem 1rem; border-radius: .6rem; background: rgba(0,0,0,.05); font-weight: 600; text-align: center; }
