/* Help4Housing · styles
 * Sobriété (Vögeli) + panneaux de couleur pleins (Michalski), déclinés du bordeaux.
 */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-text);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; letter-spacing: 0; }
h1 { font-size: var(--step-4); line-height: 1.08; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { max-width: 62ch; }

.wrap { width: min(100% - var(--gut) * 2, var(--maxw)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--brand); color: var(--on-brand); padding: .6rem 1rem; border-radius: var(--radius); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-text); font-weight: 600; font-size: var(--step--1);
  letter-spacing: .01em; padding: .8rem 1.5rem; border-radius: var(--radius-pill);
  border: 1.5px solid transparent; cursor: pointer; transition: .2s ease;
  text-align: center;
}
.btn-brand { background: var(--brand); color: var(--on-brand); }
.btn-brand:hover { background: var(--brand-deep); }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-ghost:hover { background: var(--brand); color: var(--on-brand); }
.btn-light { background: var(--on-brand); color: var(--brand); }
.btn-light:hover { background: transparent; color: var(--on-brand); border-color: var(--on-brand); }

/* En-tête fixe et épuré */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.site-head.is-scrolled { border-color: var(--line); }
.head-inner { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.6rem); padding: 1.05rem 0; }
.brand img { width: clamp(112px, 11vw, 148px); height: auto; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2.1rem); }
.site-nav > a:not(.btn) { font-size: var(--step--1); font-weight: 500; letter-spacing: .01em; color: var(--ink); padding: .35rem 0; position: relative; opacity: .82; transition: opacity .2s, color .2s; }
.site-nav > a:not(.btn):hover, .site-nav > a:not(.btn)[aria-current="page"] { opacity: 1; color: var(--brand); }
.site-nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -1px; height: 1px; background: var(--brand); transition: right .3s ease; }
.site-nav > a:not(.btn):hover::after, .site-nav > a:not(.btn)[aria-current="page"]::after { right: 0; }
.lang-switch { display: flex; gap: .15rem; font-size: .78rem; font-weight: 600; letter-spacing: .05em; padding-left: clamp(.8rem, 1.6vw, 1.4rem); margin-left: .1rem; border-left: 1px solid var(--line); }
.lang-switch a { padding: .25rem .35rem; color: var(--muted); transition: color .2s; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"] { color: var(--brand); }
.nav-cta { padding: .62rem 1.25rem; font-size: .82rem; letter-spacing: .02em; }
.burger { display: none; }

/* Sections & panneaux */
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.panel-brand { background: var(--brand); color: var(--on-brand); }
.panel-blush { background: var(--blush); }
.panel-sand  { background: var(--sand); }
.eyebrow { font-family: var(--font-text); font-weight: 600; font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.panel-brand .eyebrow { color: var(--on-brand-mut); }
.lead { font-size: var(--step-1); line-height: 1.4; font-family: var(--font-display); font-weight: 400; }

/* Hero */
.hero { position: relative; padding: clamp(3rem, 9vw, 8rem) 0 clamp(2.5rem, 6vw, 5rem); }
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1.1fr .9fr; align-items: center; }
.hero h1 { margin-bottom: 1.2rem; }
.hero h1 em { font-style: italic; color: var(--brand); }
.hero-lead { font-size: var(--step-1); color: var(--muted); font-family: var(--font-text); font-weight: 400; line-height: 1.55; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-media { aspect-ratio: 4 / 5; background: var(--blush); border-radius: var(--radius); overflow: hidden; position: relative; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-tag { position: absolute; left: 1rem; bottom: 1rem; background: var(--brand); color: var(--on-brand); font-size: var(--step--1); font-weight: 600; padding: .5rem 1rem; border-radius: var(--radius-pill); }

/* Bandeau de valeurs */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.value h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.value .num { font-family: var(--font-display); font-size: var(--step-2); color: var(--brand); display: block; margin-bottom: .4rem; }

/* Grille de logements */
.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.card { display: flex; flex-direction: column; background: var(--cream); border-radius: var(--radius); overflow: hidden; }
.card-media { aspect-ratio: 3 / 2; background: var(--blush); overflow: hidden; position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-status { position: absolute; top: .8rem; left: .8rem; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .35rem .7rem; border-radius: var(--radius-pill); background: var(--on-brand); color: var(--brand); }
.card-status.is-reserve { background: var(--sand); color: var(--ink); }
.card-status.is-loue { background: var(--ink); color: var(--cream); }
.card-body { padding: 1.1rem .2rem; display: flex; flex-direction: column; gap: .35rem; }
.card-place { font-size: var(--step--1); color: var(--muted); font-weight: 500; letter-spacing: .02em; }
.card-title { font-size: var(--step-1); }
.card-meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: var(--step--1); color: var(--muted); margin-top: .2rem; }
.card-price { margin-top: .5rem; font-weight: 600; color: var(--brand); }
.card-media-empty { display: grid; place-items: center; color: var(--brand); font-family: var(--font-display); font-size: var(--step-2); opacity: .35; }

/* Filtres */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.filters a { font-size: var(--step--1); font-weight: 500; padding: .5rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-pill); color: var(--muted); transition: .2s; }
.filters a:hover { border-color: var(--brand); color: var(--brand); }
.filters a.is-active { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }

/* Fiche logement */
.fiche-head { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: end; margin-bottom: 2rem; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 1fr; gap: .6rem; }
.gallery a:first-child { grid-column: 1; grid-row: 1 / span 2; }
.gallery a { aspect-ratio: 3/2; overflow: hidden; border-radius: var(--radius); background: var(--blush); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.fiche-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 5vw, 4rem); margin-top: 2.5rem; align-items: start; }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem; margin: 1.5rem 0; }
.spec { border-top: 1px solid var(--line); padding-top: .6rem; }
.spec dt { font-size: var(--step--1); color: var(--muted); }
.spec dd { font-weight: 600; }
.inc-group { margin-bottom: 1.6rem; }
.inc-group h4 { font-family: var(--font-text); font-size: var(--step--1); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: .7rem; }
.inc-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .4rem 1rem; }
.inc-list li { position: relative; padding-left: 1.4rem; font-size: var(--step--1); }
.inc-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: .7rem; height: .7rem; background: var(--brand); border-radius: 50%; }
.aside-card { background: var(--blush); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); position: sticky; top: 90px; }
.aside-card .price { font-family: var(--font-display); font-size: var(--step-2); color: var(--brand); }

/* Formulaires */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem 1.5rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
label { font-size: var(--step--1); font-weight: 600; }
input, select, textarea {
  font: inherit; font-size: var(--step-0); color: var(--ink);
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: .7rem .85rem; width: 100%;
}
.panel-blush input, .panel-blush select, .panel-blush textarea, .panel-sand input, .panel-sand textarea, .panel-sand select { background: #fff; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); outline: none; }
textarea { min-height: 130px; resize: vertical; }
.hint { font-size: .8rem; color: var(--muted); }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .5rem 1rem; }
.checks label { display: flex; align-items: center; gap: .5rem; font-weight: 400; font-size: var(--step--1); }
.checks input { width: auto; }

/* Notices */
.notice { padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.5rem; font-size: var(--step--1); }
.notice-ok { background: var(--blush); color: var(--brand-deep); border-left: 3px solid var(--brand); }
.notice-err { background: #fdecec; color: #8a1c1c; border-left: 3px solid #c0392b; }

/* Mot d'encouragement à la connexion (Pamela) */
.welcome-note { text-align: center; background: var(--blush); border: 1px solid var(--sand); border-radius: var(--radius); padding: 1.5rem 1.3rem; margin-bottom: 1.75rem; }
.welcome-heart { display: block; color: var(--brand); font-size: 1.5rem; line-height: 1; margin-bottom: .6rem; }
.welcome-text { text-align: center; color: var(--brand-deep); font-style: italic; font-size: var(--step-0); line-height: 1.5; margin: 0 auto; max-width: 46ch; }
.welcome-sign { text-align: center; color: var(--brand); font-style: italic; font-weight: 600; font-size: var(--step--1); margin: .6rem auto 0; }

/* Pied de page */
.site-foot { background: var(--ink); color: var(--cream); margin-top: clamp(3rem, 8vw, 6rem); padding: clamp(3rem, 6vw, 5rem) 0 2rem; }
.site-foot img { filter: brightness(0) invert(1); opacity: .92; width: 150px; margin-bottom: 1rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.site-foot h3 { font-family: var(--font-text); font-size: var(--step--1); text-transform: uppercase; letter-spacing: .12em; opacity: .6; margin-bottom: .9rem; }
.site-foot nav a { display: block; padding: .25rem 0; opacity: .9; }
.site-foot nav a:hover { color: var(--brand-bright); }
.site-foot p { opacity: .85; }
.site-foot a:hover { color: var(--brand-bright); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.15); font-size: var(--step--1); }
.foot-bottom > span { opacity: .6; }
.foot-admin { color: var(--brand-bright); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.foot-admin:hover { color: var(--cream); }

/* Pages légales */
.legal-body p { margin-bottom: 1.1rem; }
.legal-body strong { color: var(--brand-deep); }

/* Admin */
.admin-bar { background: var(--ink); color: var(--cream); }
.admin-bar .wrap { display: flex; align-items: center; gap: 1rem; padding: .8rem 0; }
.admin-bar a { color: var(--cream); font-weight: 600; font-size: var(--step--1); }
.admin-bar a:hover { color: var(--brand-bright); }
.admin-bar .spacer { margin-left: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { text-align: left; padding: .8rem .6rem; border-bottom: 1px solid var(--line); font-size: var(--step--1); vertical-align: middle; }
.admin-table th { color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; }
.admin-thumb { width: 68px; height: 46px; object-fit: cover; border-radius: var(--radius); background: var(--blush); }
.badge { display: inline-block; font-size: .72rem; font-weight: 600; padding: .2rem .6rem; border-radius: var(--radius-pill); background: var(--blush); color: var(--brand-deep); }
.badge.is-loue { background: var(--ink); color: var(--cream); }
.badge.is-reserve { background: var(--sand); color: var(--ink); }
.badge.is-brouillon { background: #eee; color: #666; }
.fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin-bottom: 1.5rem; }
.fieldset > legend { font-family: var(--font-text); font-weight: 600; font-size: var(--step--1); text-transform: uppercase; letter-spacing: .08em; color: var(--brand); padding: 0 .5rem; }
.photo-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .8rem; margin-top: .8rem; }
.photo-strip figure { position: relative; }
.photo-strip img { aspect-ratio: 3/2; object-fit: cover; width: 100%; border-radius: var(--radius); }
.photo-strip label { position: absolute; top: .3rem; right: .3rem; background: rgba(0,0,0,.6); color: #fff; padding: .2rem .5rem; border-radius: var(--radius); font-size: .72rem; display: flex; gap: .3rem; align-items: center; }

/* Révélation à l'arrivée (Michalski) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 860px) {
  .hero-grid, .fiche-head, .fiche-hero, .fiche-grid, .fiche-body { grid-template-columns: 1fr; }
  .values, .form-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery a:first-child { grid-column: 1 / -1; grid-row: auto; }
  .aside-card { position: static; }
  .burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; margin-left: auto; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; }
  .burger span { width: 22px; height: 2px; background: var(--ink); transition: .25s; }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 64px 0 auto 0; margin: 0; flex-direction: column; align-items: flex-start;
    gap: .3rem; background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 1.2rem var(--gut) 1.8rem; transform: translateY(-120%); transition: transform .3s ease; box-shadow: 0 20px 40px rgba(0,0,0,.08);
  }
  .site-nav.open { transform: none; }
  .site-nav > a { font-size: var(--step-1); font-family: var(--font-display); }
  .lang-switch { margin-top: .5rem; }
  .nav-cta { margin-top: .8rem; }
  .foot-bottom { flex-direction: column; }
}
@media (max-width: 520px) { .foot-grid, .checks, .listing-grid { grid-template-columns: 1fr; } .specs { grid-template-columns: 1fr; } }

/* ── Harmonisation : un seul dégradé, fin des bandeaux de couleur ─────────── */
body {
  background-color: #FCF9F5;
  background-image: linear-gradient(168deg, #FCF9F5 0%, #F8F0EB 46%, #F1E4E0 100%);
  background-attachment: fixed;
  min-height: 100vh;
}
.site-head {
  background: color-mix(in srgb, #FCF9F5 80%, transparent);
}
/* Les sections ne portent plus d'aplat : elles laissent voir le dégradé */
.panel-blush, .panel-sand { background: transparent; }
/* Aplats doux -> translucides pour se fondre dans le dégradé */
.hero-media { aspect-ratio: 1 / 1; background: rgba(255,255,255,.4); }
.card-media, .gallery a { background: rgba(255,255,255,.4); }
.aside-card {
  background: rgba(255,255,255,.6);
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px -34px rgba(36,20,19,.35);
}
.card-status { background: rgba(255,255,255,.9); }
/* Sections « valeurs » et « étapes » : chaque point devient une carte lisible */
.value {
  background: rgba(255,255,255,.58);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  box-shadow: 0 26px 52px -42px rgba(36,20,19,.32);
}
.value .num { font-size: var(--step-1); margin-bottom: .6rem; }
.value h3 { margin-bottom: .55rem; }
.value p { color: var(--muted); }
/* Watermark : logo du site en bas à droite des photos (hero + biens) */
.gallery a { position: relative; }
.wm {
  position: absolute; left: 50%; bottom: .7rem; transform: translateX(-50%);
  z-index: 3; width: clamp(90px, 28%, 190px); height: auto;
  opacity: .14; pointer-events: none;
  filter: brightness(0) invert(1);
}

/* Lightbox / carousel des photos de biens */
.gallery a { cursor: zoom-in; }
.lb { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(24,12,12,.94); padding: 2rem; }
.lb.open { display: flex; }
.lb-stage { position: relative; margin: 0; display: flex; align-items: center; justify-content: center; max-width: 92vw; max-height: 86vh; }
.lb-img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lb-wm { width: clamp(140px, 28%, 300px); opacity: .12; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; transition: background .2s; display: flex; align-items: center; justify-content: center; }
.lb-nav:hover { background: rgba(255,255,255,.26); }
.lb-prev { left: max(1rem, 2vw); }
.lb-next { right: max(1rem, 2vw); }
.lb-close { position: absolute; top: 1rem; right: 1.3rem; background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; opacity: .85; }
.lb-close:hover { opacity: 1; }
.lb-count { position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%); color: #fff; font-size: .85rem; letter-spacing: .06em; opacity: .85; }
@media (max-width: 560px) { .lb-nav { width: 44px; height: 44px; font-size: 1.6rem; } .lb { padding: 1rem; } }

/* Bouton contact flottant, présent sur toutes les pages */
.fab-contact {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 60;
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--cream); color: var(--brand); border: 1.5px solid var(--brand);
  padding: .72rem 1.25rem; border-radius: var(--radius-pill);
  font-family: var(--font-text); font-weight: 600; font-size: var(--step--1); letter-spacing: .01em;
  box-shadow: 0 4px 14px -9px rgba(36,20,19,.25); transition: background .2s, color .2s, box-shadow .2s;
}
.fab-contact:hover { background: var(--brand); color: var(--on-brand); box-shadow: 0 6px 16px -9px rgba(36,20,19,.3); }
.fab-contact svg { width: 18px; height: 18px; }
@media (max-width: 560px) { .fab-contact span { display: none; } .fab-contact { padding: .95rem; } .fab-contact svg { width: 20px; height: 20px; } }

/* Descriptions des biens : plus élégantes */
.card-body { padding: 1.15rem 1.2rem 1.45rem; gap: .35rem; }
.card-place { text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 600; color: var(--muted); }
.card-title { font-size: var(--step-1); line-height: 1.16; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0; margin-top: .3rem; color: var(--muted); font-size: var(--step--1); }
.card-meta span + span::before { content: "·"; margin: 0 .5rem; color: var(--muted); opacity: .5; }
.card-price { margin-top: .9rem; padding-top: .8rem; border-top: 1px solid var(--line); font-size: var(--step-0); font-weight: 600; letter-spacing: .01em; color: var(--brand); }

/* Fiche : une seule photo de couverture, clic = carousel */
.gallery { display: block; }
.gallery .gallery-item { display: none; }
.gallery .gallery-cover {
  display: block; position: relative; width: 100%; aspect-ratio: 16 / 11;
  border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: rgba(255,255,255,.4);
}
/* Fiche : image à GAUCHE, texte à droite, alignés verticalement au centre */
.fiche-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin: .5rem 0 1rem; }
.fiche-hero-media { order: -1; }
.fiche-price { font-family: var(--font-display); font-size: var(--step-2); color: var(--brand); margin-top: 1.3rem; }
/* Fiche : photo + inclus à gauche, titre + description + boxe (prix + spécs) à droite */
.fiche-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.fiche-desc { margin-top: 1.2rem; max-width: 48ch; }
.fiche-card { margin-top: 1.6rem; }
.fiche-card .fiche-price { margin-top: 0; }
/* Carte de localisation (OpenStreetMap / Leaflet), pleine largeur sous la fiche */
.fiche-map-block { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.fiche-map-title { font-size: var(--step-2); margin-bottom: 1.4rem; }
.fiche-map { height: 380px; border-radius: var(--radius); overflow: hidden; z-index: 0; border: 1px solid var(--line); }
.fiche-map-note { margin-top: .8rem; font-size: var(--step--1); color: var(--ink); opacity: .6; }
.fiche-map .leaflet-control-attribution { font-size: 10px; background: rgba(255,255,255,.7); }
/* Spinner de chargement sur les boutons */
.btn.is-loading { pointer-events: none; opacity: .9; cursor: progress; }
.btn .btn-spin { display: inline-block; width: 1em; height: 1em; margin-right: .55em; vertical-align: -.15em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: h4h-spin .6s linear infinite; }
@keyframes h4h-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn .btn-spin { animation-duration: 1.4s; } }
.fiche-inclusions { margin-top: clamp(1.8rem, 4vw, 2.6rem); }
.fiche-left .inc-groups { columns: 2; column-gap: clamp(1.4rem, 3vw, 2.4rem); }
.inc-groups { columns: 2; column-gap: clamp(2rem, 4vw, 4rem); }
.inc-groups .inc-group { break-inside: avoid; margin-bottom: 1.7rem; }
@media (max-width: 900px) { .fiche-left .inc-groups { columns: 2; } }
@media (max-width: 640px) { .inc-groups, .fiche-left .inc-groups { columns: 1; } }
.gallery .gallery-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery .gallery-cover:hover img { transform: scale(1.03); }
.gallery-count {
  position: absolute; right: 1rem; bottom: 1rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(24,12,12,.68); color: #fff;
  padding: .5rem .9rem; border-radius: var(--radius-pill); font-size: var(--step--1); font-weight: 600;
}
.gallery-count svg { width: 16px; height: 16px; }
/* Appel à l'action : plus de bandeau bordeaux, une carte sobre et centrée */
.panel-brand { background: transparent; color: var(--ink); }
.panel-brand .wrap {
  background: rgba(255,255,255,.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(2.4rem, 6vw, 4.4rem) clamp(1.5rem, 5vw, 4rem);
  box-shadow: 0 34px 64px -44px rgba(36,20,19,.4);
}
.panel-brand .eyebrow { color: var(--brand); }
.panel-brand .btn-light { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.panel-brand .btn-light:hover { background: var(--brand-deep); color: var(--on-brand); border-color: var(--brand-deep); }
/* Transition sobre entre le hero et la première section, puis entre sections :
   un fin filet dégradé centré, sans couleur ni bandeau. */
.hero + .section, .section + .section { position: relative; }
.hero + .section::before, .section + .section::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(100% - var(--gut) * 2, 900px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 28%, var(--line) 72%, transparent);
}
/* Un peu plus d'air autour de la transition du hero */
.hero { padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.hero + .section { padding-top: clamp(3.5rem, 8vw, 6.5rem); }
