/* =============================================================
   AZUR HÉBERGEMENTS — Maquette HTML (prototype visuel)
   Feuille de style partagée par toutes les pages.

   Charte (cf. brief) :
   - Or champagne #CCAE88 : titres / accents / grands éléments UNIQUEMENT
     (jamais sur du petit texte → règle d'accessibilité du brief).
   - Encre #232323 (texte), Crème #FAF7F2 (fonds), Blanc, Lignes #E7DECF.
   - Couleur d'action (CTA) : charbon chaud #2B2723 — plus contrasté que l'or,
     lisible en blanc, strictement dans la palette de marque (aucun bleu).
   - Titres : Archivo (fallback web de DIN Neuzeit Grotesk), H1 ≈ 50px.
   - Corps  : Mulish (fallback web d'Avenir Light), interligne 1,7.
     NB : corps porté à 16px (vs 14px du brief) pour la lisibilité écran
     et l'accessibilité — le « ressenti » Avenir Light reste préservé.
   Polices chargées via Google Fonts dans chaque <head>.
   ============================================================= */

/* ----------------------------------------------------------------
   1. Variables de design (tokens)
   ---------------------------------------------------------------- */
:root {
  /* Couleurs de marque */
  --gold:        #CCAE88;
  --gold-strong: #BE9C6E;   /* survol / bordures or */
  --gold-soft:   rgba(204, 174, 136, 0.14);
  --gold-line:   rgba(204, 174, 136, 0.45);

  --ink:        #232323;
  --ink-soft:   #4C4845;    /* texte secondaire */
  --ink-mute:   #726C66;    /* légendes, méta */

  --cream:   #FAF7F2;
  --cream-2: #F3EDE3;       /* fond de section alterné */
  --white:   #FFFFFF;
  --line:    #E7DECF;

  /* Couleur d'action (CTA) — charbon chaud (palette de marque, sans bleu).
     NB : variable historiquement nommée --azur, sa valeur est désormais le charbon. */
  --azur:       #2B2723;
  --azur-dark:  #181512;
  --azur-soft:  rgba(43, 39, 35, 0.07);

  /* Typographie */
  --font-title: "Archivo", "Barlow Semi Condensed", "Segoe UI", sans-serif;
  --font-body:  "Mulish", "Jost", "Segoe UI", system-ui, sans-serif;

  /* Rythme & espacements */
  --section-y: clamp(4rem, 8vw, 7.5rem);
  --container: 1200px;
  --prose:     760px;
  --gutter:    clamp(1.25rem, 4vw, 3rem);

  /* Rayons */
  --radius-sm:   10px;
  --radius:      16px;
  --radius-lg:   24px;
  --radius-pill: 999px;

  /* Ombres (douces, légèrement chaudes) */
  --shadow-sm: 0 1px 4px rgba(35, 35, 35, 0.05);
  --shadow-md: 0 6px 24px rgba(35, 35, 35, 0.10);
  --shadow-lg: 0 16px 44px rgba(35, 35, 35, 0.13);

  /* Transitions */
  --t:      0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Hauteur du header collant (pour le scroll-padding des ancres) */
  --header-h: 90px;
}

/* ----------------------------------------------------------------
   2. Reset & base
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;            /* 16px */
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }

ul { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--azur);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ----------------------------------------------------------------
   3. Typographie
   ---------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 {
  /* H1 ≈ 50px maxi (cf. brief) */
  font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.125rem);
  font-weight: 700;
}

h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1rem + 0.7vw, 1.45rem); }

p { color: var(--ink-soft); }
p + p { margin-top: 1rem; }

strong { color: var(--ink); font-weight: 700; }

/* Mot accentué en or dans les grands titres (assez gros = autorisé) */
.accent { color: var(--gold); }

/* Sur-titre / eyebrow — petit texte → teal, jamais or */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-title);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--azur);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.lead {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ----------------------------------------------------------------
   4. Utilitaires de mise en page
   ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--cream2 { background: var(--cream-2); }
.section--white  { background: var(--white); }
.section--tight  { padding-block: clamp(3rem, 5vw, 4.5rem); }

/* Sections sur fond foncé : titres or/crème, texte clair */
.section--dark {
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(204,174,136,0.18) 0%, transparent 55%),
    var(--azur);
  color: var(--cream);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: rgba(250, 247, 242, 0.82); }
.section--dark .eyebrow { color: var(--gold); }
.section--dark .eyebrow::before { background: var(--gold); }
/* Contenu riche (listes, paragraphes) en section sombre : contraste lisible */
.section--dark .rich, .section--dark .rich p, .section--dark .rich li, .section--dark .rich ol, .section--dark .rich ul { color: rgba(250, 247, 242, 0.9); }
.section--dark .rich strong, .section--dark .rich h2, .section--dark .rich h3, .section--dark .rich h4 { color: var(--white); }
.section--dark .rich a { color: var(--gold); }
.section--dark .rich ol li::marker, .section--dark .rich ul li::marker { color: var(--gold); font-weight: 600; }
.section--dark .rich li { margin-bottom: 0.6rem; }

.section-head { max-width: var(--prose); margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head.center .eyebrow { margin-inline: auto; }
.section-head p { margin-top: 1rem; }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }

/* ----------------------------------------------------------------
   5. Boutons
   ---------------------------------------------------------------- */
.btn {
  --btn-bg: var(--azur);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1.5px solid var(--btn-bg);
  border-radius: var(--radius-pill);
  transition: transform var(--t), box-shadow var(--t), background var(--t), border-color var(--t), color var(--t);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--primary { --btn-bg: var(--azur); --btn-fg: var(--white); }
.btn--primary:hover { background: var(--azur-dark); border-color: var(--azur-dark); }

/* Secondaire : contour, sur fond clair */
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--white); border-color: var(--gold); color: var(--ink); }

/* Sur fond foncé */
.btn--gold { --btn-bg: var(--gold); --btn-fg: #2A2113; border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-strong); border-color: var(--gold-strong); }

.btn--light {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}
.btn--light:hover { background: var(--cream); border-color: var(--cream); }

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn--outline-light:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.btn--lg { padding: 1.1rem 2.1rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* Lien fléché (texte) */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--azur);
  transition: gap var(--t), color var(--t);
}
.link-arrow svg { width: 17px; height: 17px; transition: transform var(--t); }
.link-arrow:hover { gap: 0.75rem; color: var(--azur-dark); }
.link-arrow:hover svg { transform: translateX(2px); }

/* ----------------------------------------------------------------
   6. Header / navigation (collant)
   ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.site-header.is-scrolled {
  background: rgba(250, 247, 242, 0.94);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  flex-shrink: 0;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--azur);
  color: var(--gold);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.05rem;
}
.brand__name { line-height: 1; }
.brand__name span { display: block; font-size: 0.62rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }

/* Logo officiel (image) — header sur crème, footer en blanc sur charbon */
.brand__logo { height: 66px; width: auto; display: block; }
.site-footer .brand__logo { height: 58px; filter: brightness(0) invert(1); }
@media (max-width: 880px) { .brand__logo { height: 52px; } }

.nav-menu { display: flex; align-items: center; gap: 0.35rem; }
.nav-menu a {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0.8rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  transition: color var(--t), background var(--t);
}
.nav-menu a:hover { color: var(--ink); }
.nav-menu a.is-active { color: var(--azur); }

/* Sous-menu villes */
.has-dropdown { position: relative; }
.dropdown-toggle { display: inline-flex; align-items: center; gap: 0.3rem; }
.dropdown-toggle svg { width: 14px; height: 14px; transition: transform var(--t); }
.dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 230px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.has-dropdown:hover .dropdown-panel,
.has-dropdown.is-open .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.has-dropdown:hover .dropdown-toggle svg { transform: rotate(180deg); }
.dropdown-panel a { display: block; padding: 0.6rem 0.85rem; font-size: 0.9rem; }
.dropdown-panel a:hover { background: var(--cream); color: var(--azur); }

.nav-actions { display: flex; align-items: center; gap: 0.85rem; flex-shrink: 0; }
.nav-socials { display: flex; align-items: center; gap: 0.3rem; }
.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--white);
  transition: color var(--t), border-color var(--t), transform var(--t);
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { color: var(--azur); border-color: var(--gold); transform: translateY(-1px); }

/* Hamburger */
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--radius-sm); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.nav-toggle span { position: relative; margin-inline: auto; }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after  { position: absolute; top: 7px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span::after  { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------------------------------
   7. Placeholders média (blocs légendés, dégradés Côte d'Azur)
   ---------------------------------------------------------------- */
.ph {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, #5F564B 0%, #A1907A 46%, #E8DBC6 100%);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  box-shadow: var(--shadow-md);
}
/* Léger voile + grain pour un rendu « photo » */
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 70% 15%, rgba(255,255,255,0.22), transparent 60%),
    linear-gradient(180deg, transparent 66%, rgba(38, 30, 22, 0.16) 100%);
  z-index: 1;
}
.ph__icon {
  position: absolute;
  top: 1rem; left: 1rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  color: var(--azur);
  backdrop-filter: blur(4px);
}
.ph__icon svg { width: 20px; height: 20px; }
.ph__cap {
  position: relative;
  z-index: 2;
  margin: 1rem;
  padding: 0.4rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
  background: rgba(35, 28, 20, 0.50);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}
/* Variantes d'ambiance */
.ph--sea      { background: linear-gradient(165deg, #6B5D4C 0%, #B79E7A 48%, #F0E6D5 100%); }
.ph--sand     { background: linear-gradient(160deg, #8A7458 0%, #CBB089 55%, #F2E8D6 100%); }
.ph--interior { background: linear-gradient(155deg, #4A443C 0%, #8C8273 50%, #E7DDCC 100%); }
.ph--sunset   { background: linear-gradient(160deg, #7A5C3F 0%, #C89A6B 58%, #ECD7B4 100%); }
.ph--portrait { background: linear-gradient(150deg, #5A4F44 0%, #A88E72 60%, #E7D7BE 100%); }

.ph--ratio-43  { aspect-ratio: 4 / 3; }
.ph--ratio-32  { aspect-ratio: 3 / 2; }
.ph--ratio-11  { aspect-ratio: 1 / 1; }
.ph--ratio-169 { aspect-ratio: 16 / 9; }
.ph--ratio-45  { aspect-ratio: 4 / 5; }

/* ----------------------------------------------------------------
   8. Hero
   ---------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(3rem, 6vw, 5.5rem) var(--section-y);
  background:
    radial-gradient(60% 80% at 85% 0%, var(--gold-soft) 0%, transparent 60%),
    radial-gradient(50% 60% at 0% 100%, var(--azur-soft) 0%, transparent 60%),
    var(--cream);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.hero__content { max-width: 580px; }
.hero h1 { margin-bottom: 1.3rem; }
.hero .lead { margin-bottom: 2rem; max-width: 30em; }

.hero__reassurance {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1.2rem;
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.hero__badge {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.95rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.hero__badge svg { width: 18px; height: 18px; color: var(--gold); }
.hero__reassurance-text { font-size: 0.9rem; color: var(--ink-mute); }
.hero__reassurance-text strong { color: var(--ink); }

/* Visuel du hero (placeholder enrichi) */
.hero__visual { position: relative; }
.hero__visual .ph { aspect-ratio: 4 / 5; }
.hero__floating-card {
  position: absolute;
  left: -22px;
  bottom: 28px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1.1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.hero__floating-card .stat-num { font-size: 1.6rem; }
.hero__floating-card .fc-label { font-size: 0.78rem; color: var(--ink-mute); line-height: 1.3; }

/* ----------------------------------------------------------------
   9. Bandeau chiffres-clés
   ---------------------------------------------------------------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 3vw, 2rem); }
.stat { text-align: center; padding: 0.5rem; }
.stat-num {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(2.2rem, 1.5rem + 2.5vw, 3rem);
  line-height: 1;
  color: var(--gold);     /* grand élément → or autorisé */
}
.stat-label { margin-top: 0.6rem; font-size: 0.92rem; color: var(--ink-soft); }
.section--dark .stat-label { color: rgba(250,247,242,0.8); }

/* ----------------------------------------------------------------
   10. À propos
   ---------------------------------------------------------------- */
.about__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}
.about__media { position: relative; min-height: 460px; }
.about__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about__media .ph { aspect-ratio: 4 / 5; }
.about__sign {
  margin-top: 1.6rem;
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--ink);
}
.about__sign span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.9rem; color: var(--ink-mute); }
.mini-list { margin-top: 1.6rem; display: grid; gap: 0.8rem; }
.mini-list li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--ink-soft); }
.mini-list svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--azur); margin-top: 2px; }

/* ----------------------------------------------------------------
   11. Formules (cartes pricing)
   ---------------------------------------------------------------- */
.formules { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2rem); align-items: stretch; }
@media (max-width: 900px) { .formules { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.formule {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.formule:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.formule--featured { border-color: var(--gold); box-shadow: var(--shadow-md); }
.formule__tag {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  padding: 0.4rem 1rem;
  background: var(--gold);
  color: #2A2113;
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.formule__name { font-size: 1.3rem; }
.formule__price { margin: 0.8rem 0 0.3rem; font-family: var(--font-title); font-weight: 700; color: var(--ink); }
.formule__price b { font-size: 2.6rem; color: var(--azur); }
.formule__price small { font-size: 0.95rem; color: var(--ink-mute); font-weight: 500; }
.formule__desc { color: var(--ink-soft); margin-bottom: 1.4rem; }
.formule__features { display: grid; gap: 0.75rem; margin-bottom: 1.8rem; }
.formule__features li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; color: var(--ink-soft); }
.formule__features svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--gold); margin-top: 2px; }
.formule .btn { margin-top: auto; }

/* ----------------------------------------------------------------
   12. Services (grille d'icônes)
   ---------------------------------------------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 1.5rem); }
.service {
  padding: 1.6rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold-line); }
.service__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--azur-soft);
  color: var(--azur);
  margin-bottom: 1rem;
}
.service__icon svg { width: 26px; height: 26px; }
.service h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.service p { font-size: 0.92rem; }

/* ----------------------------------------------------------------
   13. Pourquoi nous (bénéfices, sur fond foncé)
   ---------------------------------------------------------------- */
.benefits { --bgap: clamp(1.5rem, 3vw, 2.6rem); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--bgap); }
.benefit { flex: 0 1 calc((100% - 2 * var(--bgap)) / 3); padding-top: 1.4rem; border-top: 2px solid var(--gold-line); }
/* variante 4 cartes sur une rangée (ex. garanties propriétaires) — évite la carte orpheline centrée */
.benefits--4 .benefit { flex: 0 1 calc((100% - 3 * var(--bgap)) / 4); }
@media (max-width: 1024px) { .benefits--4 .benefit { flex-basis: calc((100% - var(--bgap)) / 2); } }
@media (max-width: 680px)  { .benefits--4 .benefit { flex-basis: 100%; } }
.benefit__icon { color: var(--gold); margin-bottom: 0.9rem; }
.benefit__icon svg { width: 30px; height: 30px; }
.benefit h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }

/* ----------------------------------------------------------------
   14. Appartements (cartes)
   ---------------------------------------------------------------- */
.apartments { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2rem); }
.apt {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.apt:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.apt .ph { aspect-ratio: 3 / 2; border-radius: 0; box-shadow: none; }
.apt__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; transition: transform var(--t); }
.apt__media { display: block; overflow: hidden; }
.apt__media:hover .apt__img { transform: scale(1.04); }
.apt h3 a { color: inherit; text-decoration: none; }
.apt h3 a:hover { color: var(--azur); }

/* Slideshow d'annonces (HP, scroll-snap + flèches) */
.slider { position: relative; }
.slider__viewport { overflow: hidden; }
.slider__track { display: flex; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 0.25rem 0.25rem 0.75rem; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__track .apt { flex: 0 0 330px; scroll-snap-align: start; }
.slider__nav { display: flex; align-items: center; justify-content: center; gap: 1.4rem; margin-top: 1.8rem; }
.slider__arrow { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); transition: color var(--t), border-color var(--t); flex-shrink: 0; }
.slider__arrow:hover { color: var(--azur); border-color: var(--gold); }
.slider__arrow svg { width: 20px; height: 20px; }
@media (max-width: 600px) { .slider__track .apt { flex-basis: 82%; } }

/* Simulateur — selects */
.sim-select { font: inherit; width: 100%; padding: 0.85rem 1rem; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); cursor: pointer; }
.sim-select:focus { outline: none; border-color: var(--gold); background: var(--white); }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2rem); }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform var(--t), box-shadow var(--t); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card__media { display: block; overflow: hidden; }
.post-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; transition: transform var(--t); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.post-card__tag { align-self: flex-start; font-family: var(--font-title); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--azur); background: var(--gold-soft); padding: 0.3rem 0.7rem; border-radius: var(--radius-pill); }
.post-card h3 { font-size: 1.15rem; line-height: 1.25; }
.post-card h3 a { color: inherit; }
.post-card h3 a:hover { color: var(--azur); }
.post-card__body p { font-size: 0.92rem; color: var(--ink-soft); flex: 1; }
.post-meta { color: var(--ink-mute); font-size: 0.88rem; margin-bottom: 1rem; }
.post-body h2 { margin: 2rem 0 0.8rem; }
.post-body h2:first-child { margin-top: 0; }
.post-body ul { margin: 0 0 1.1rem; padding-left: 1.3rem; }
.post-body li { margin-bottom: 0.5rem; }
.post-cta { margin-top: 2.5rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.post-body h3 { margin: 1.5rem 0 0.6rem; font-size: 1.12rem; }
.post-body ol { margin: 0 0 1.1rem; padding-left: 1.3rem; }
.post-body ol li { margin-bottom: 0.5rem; }
.post-body table { width: 100%; border-collapse: collapse; margin: 1.6rem 0; font-size: 0.93rem; display: block; overflow-x: auto; }
.post-body th, .post-body td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.post-body thead th { background: #F3ECE0; font-family: var(--font-title); font-weight: 600; color: var(--ink); white-space: nowrap; }
.post-body tbody tr:last-child td { border-bottom: none; }
/* Catalogue appartements : filtres + widget Lodgify */
.apt-filters { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; margin-bottom: 2rem; }
.apt-filter { display: flex; flex-direction: column; gap: 0.35rem; }
.apt-filter label { font-size: 0.8rem; font-weight: 600; color: var(--ink-mute); }
.apt-filter .sim-select { min-width: 210px; }
.apt-filter__count { margin-left: auto; align-self: center; color: var(--ink-mute); font-size: 0.9rem; }
.apt-empty { text-align: center; color: var(--ink-mute); padding: 2.5rem 0; }
.lodgify-embed { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.lodgify-embed iframe { width: 100%; height: 860px; border: 0; display: block; }
@media (max-width: 640px) { .apt-filters { flex-direction: column; align-items: stretch; } .apt-filter__count { margin-left: 0; } .lodgify-embed iframe { height: 1100px; } }
/* Article blog : sommaire latéral (TOC) + bandeau CTA inséré */
.article-layout { display: grid; grid-template-columns: 230px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; max-width: 1060px; margin: 0 auto; }
.article-main { min-width: 0; }
.article-toc { position: sticky; top: 100px; font-size: 0.9rem; }
.article-toc__title { font-family: var(--font-title); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; color: var(--ink-mute); margin-bottom: 0.8rem; }
.article-toc nav { display: flex; flex-direction: column; gap: 0.55rem; border-left: 2px solid var(--line); padding-left: 1rem; }
.article-toc a { color: var(--ink-soft); text-decoration: none; line-height: 1.3; transition: color .2s; }
.article-toc a:hover { color: var(--azur); }
.post-inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; background: #F3ECE0; border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem 1.8rem; margin: 2.4rem 0; }
.post-inline-cta strong { font-family: var(--font-title); font-size: 1.15rem; color: var(--ink); }
.post-inline-cta p { color: var(--ink-mute); margin-top: 0.2rem; font-size: 0.95rem; }
.post-inline-cta .btn { white-space: nowrap; }
/* le contenu .rich/.post-body colore les liens en charbon : on rétablit la couleur des boutons */
.post-body a.btn--primary, .rich a.btn--primary { color: var(--white); }
.post-body a.btn--gold, .rich a.btn--gold { color: var(--ink); }
.post-body a.btn--ghost, .rich a.btn--ghost { color: var(--ink); }
/* CTA collant mobile (CRO) : barre fixe vers le simulateur de revenus */
.sticky-cta { display: none; }
@media (max-width: 768px) {
  .sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: flex; align-items: center; justify-content: center; gap: 0.55rem; padding: 0.95rem 1rem calc(0.95rem + env(safe-area-inset-bottom, 0px)); background: var(--ink); color: var(--white); font-family: var(--font-title); font-weight: 600; font-size: 0.97rem; text-decoration: none; box-shadow: 0 -6px 20px rgba(0,0,0,0.18); }
  .sticky-cta svg { width: 20px; height: 20px; flex-shrink: 0; }
  .sticky-cta strong { color: var(--gold); font-weight: 700; }
  body { padding-bottom: 60px; }
}
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } .article-toc { display: none; } }
@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }
.apt__body { padding: 1.3rem 1.4rem 1.5rem; }
.apt__loc { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.82rem; color: var(--ink-mute); margin-bottom: 0.4rem; }
.apt__loc svg { width: 15px; height: 15px; color: var(--gold); }
.apt h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.apt__meta { display: flex; gap: 1.1rem; font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 1rem; }
.apt__meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.apt__meta svg { width: 16px; height: 16px; color: var(--azur); }
.apt__foot { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--line); }
.apt__price { font-family: var(--font-title); font-weight: 700; color: var(--ink); }
.apt__price small { font-weight: 500; color: var(--ink-mute); font-size: 0.8rem; }
.apt__rating { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.85rem; font-weight: 600; }
.apt__rating svg { width: 15px; height: 15px; color: var(--gold); }
.apartments-cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: center; margin-top: 2.5rem; }

/* ----------------------------------------------------------------
   15. Témoignages (carrousel)
   ---------------------------------------------------------------- */
.carousel { position: relative; }
.carousel__viewport { overflow: hidden; }
.carousel__track {
  display: flex;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  transition: transform var(--t-slow);
}
.testimonial {
  flex: 0 0 calc((100% - 2 * clamp(1rem, 2.5vw, 1.75rem)) / 3);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
}
.testimonial__stars { display: flex; gap: 2px; color: var(--gold); margin-bottom: 1rem; }
.testimonial__stars svg { width: 18px; height: 18px; }
.testimonial__quote { color: var(--ink); font-size: 1rem; line-height: 1.65; margin-bottom: 1.4rem; }
.testimonial__author { display: flex; align-items: center; gap: 0.8rem; }
.testimonial__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(150deg, var(--azur), var(--gold));
  display: grid; place-items: center;
  color: var(--white); font-family: var(--font-title); font-weight: 700;
  flex-shrink: 0;
}
.testimonial__name { font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.testimonial__meta { font-size: 0.82rem; color: var(--ink-mute); }
.carousel__nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2.2rem; }
.carousel__dots { display: flex; gap: 0.5rem; }
.carousel__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: background var(--t), transform var(--t); }
.carousel__dot.is-active { background: var(--gold); transform: scale(1.25); }
.carousel__arrow {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  transition: color var(--t), border-color var(--t), background var(--t);
}
.carousel__arrow:hover { color: var(--azur); border-color: var(--gold); }
.carousel__arrow svg { width: 20px; height: 20px; }
.google-badge { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--ink-mute); margin-top: 1rem; }
.google-badge strong { color: var(--ink); }

/* ----------------------------------------------------------------
   16. Processus (étapes)
   ---------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); counter-reset: step; }
.step { position: relative; }
.step__num {
  display: grid; place-items: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--gold);
  color: var(--azur);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}
.section--dark .step__num { background: rgba(255,255,255,0.08); color: var(--gold); }
.step h3 { margin-bottom: 0.5rem; }
/* Ligne pointillée entre les étapes (desktop) */
.steps .step:not(:last-child) .step__num::after {
  content: "";
  position: absolute;
  top: 30px; left: 60px;
  width: calc(100% - 60px);
  border-top: 2px dashed var(--gold-line);
  z-index: -1;
}

/* ----------------------------------------------------------------
   17. FAQ (accordéon)
   ---------------------------------------------------------------- */
.faq { max-width: var(--prose); margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.4rem 0.25rem;
  text-align: left;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--ink);
  transition: color var(--t);
}
.faq__q:hover { color: var(--azur); }
.faq__icon {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--azur);
  transition: transform var(--t), background var(--t), color var(--t), border-color var(--t);
}
.faq__icon svg { width: 16px; height: 16px; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--azur); color: var(--white); border-color: var(--azur); }
.faq__a { overflow: hidden; max-height: 0; transition: max-height var(--t-slow); }
.faq__a-inner { padding: 0 0.25rem 1.5rem; color: var(--ink-soft); max-width: 60ch; }

/* ----------------------------------------------------------------
   18. Bandeau CTA final
   ---------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding: clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(90% 140% at 100% 0%, rgba(204,174,136,0.22) 0%, transparent 55%),
    var(--azur);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.cta-band__text { max-width: 38ch; }
.cta-band__text h2 { color: var(--white); margin-bottom: 0.6rem; }
.cta-band__text p { color: rgba(250,247,242,0.85); }

/* ----------------------------------------------------------------
   19. Footer
   ---------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(250, 247, 242, 0.72); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand { color: var(--white); margin-bottom: 1rem; }
.footer-brand p { color: rgba(250,247,242,0.6); font-size: 0.92rem; max-width: 32ch; }
.footer-col h4 { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: 0.65rem; }
.footer-col a, .footer-contact a, .footer-contact p { font-size: 0.92rem; color: rgba(250,247,242,0.72); transition: color var(--t); }
.footer-col a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-contact { display: grid; gap: 0.7rem; }
.footer-contact div { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer-contact svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--gold); margin-top: 3px; }
.footer-socials { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.footer-socials a {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--cream);
  transition: background var(--t), color var(--t), border-color var(--t);
}
.footer-socials a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.footer-socials svg { width: 18px; height: 18px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  padding-top: 1.8rem; font-size: 0.84rem; color: rgba(250,247,242,0.5);
}
.footer-bottom a { color: rgba(250,247,242,0.5); }
.footer-bottom a:hover { color: var(--gold); }

/* ----------------------------------------------------------------
   20. Éléments flottants (WhatsApp + chatbot) & pop-up
   ---------------------------------------------------------------- */
.floaters { position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 0.85rem; }
@media (max-width: 768px) { .floaters { bottom: 86px; } } /* au-dessus du CTA collant */
.float-btn {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transition: transform var(--t);
}
.float-btn:hover { transform: scale(1.06); }
.float-btn svg { width: 28px; height: 28px; }
.float-btn--wa { background: #25D366; }
.float-btn--chat { background: var(--azur); position: relative; }
.float-btn--chat .badge-dot {
  position: absolute; top: 2px; right: 2px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--gold); border: 2px solid var(--cream);
}

/* Carte chatbot (placeholder) */
.chat-card {
  width: min(330px, 80vw);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform-origin: bottom right;
  transition: opacity var(--t), transform var(--t);
}
.chat-card[hidden] { display: none; }
.chat-card.is-hidden { opacity: 0; transform: scale(0.9) translateY(10px); pointer-events: none; }
.chat-card__head { display: flex; align-items: center; gap: 0.7rem; padding: 1rem 1.2rem; background: var(--azur); color: var(--white); }
.chat-card__head .av { width: 38px; height: 38px; border-radius: 50%; background: var(--white); display: grid; place-items: center; overflow: hidden; flex-shrink: 0; }
.chat-card__head .av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chat-card__head strong { color: var(--white); font-size: 0.95rem; display: block; }
.chat-card__head span { font-size: 0.78rem; color: rgba(255,255,255,0.75); }
.chat-card__head .online { display: inline-flex; align-items: center; gap: 0.3rem; }
.chat-card__head .online::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; }
.chat-card__close { margin-left: auto; color: rgba(255,255,255,0.8); }
.chat-card__close svg { width: 18px; height: 18px; }
.chat-card__body { padding: 1.2rem; background: var(--cream); }
.chat-bubble { background: var(--white); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 0.75rem 0.95rem; font-size: 0.9rem; color: var(--ink-soft); box-shadow: var(--shadow-sm); margin-bottom: 0.8rem; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chat-quick button { padding: 0.45rem 0.8rem; font-size: 0.82rem; font-weight: 600; color: var(--azur); background: var(--white); border: 1px solid var(--gold-line); border-radius: var(--radius-pill); transition: background var(--t); }
.chat-quick button:hover { background: var(--gold-soft); }
.chat-quick button { cursor: pointer; }
#chat-body { max-height: 300px; overflow-y: auto; display: flex; flex-direction: column; }
#chat-body .chat-bubble { width: fit-content; max-width: 92%; align-self: flex-start; }
.chat-bubble--me { background: var(--azur); color: var(--white); border-color: var(--azur); border-radius: 14px 14px 4px 14px; align-self: flex-end; }
.chat-bubble__cta { display: block; margin-top: 0.45rem; font-weight: 700; color: var(--gold); text-decoration: none; }
.chat-quick { padding: 0.8rem 1rem; border-top: 1px solid var(--line); background: var(--white); }
.chat-card__foot a { color: var(--azur); text-decoration: none; font-weight: 600; }
/* Bandeau de confiance (héros villes) */
.trust-row { display: flex; flex-wrap: wrap; gap: 0.55rem 1.4rem; margin-top: 1.8rem; }
.trust-item { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }
.trust-item svg { width: 17px; height: 17px; color: var(--gold); flex-shrink: 0; }
.chat-card__foot { padding: 0.7rem 1rem; font-size: 0.72rem; color: var(--ink-mute); text-align: center; background: var(--white); border-top: 1px solid var(--line); }

/* Pop-up « Estimer mon bien » */
.popup-overlay {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center;
  padding: 1.5rem;
  background: rgba(20, 25, 28, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t), visibility var(--t);
}
.popup-overlay.is-open { opacity: 1; visibility: visible; }
.popup {
  position: relative;
  width: min(540px, 100%);
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  transform: translateY(16px) scale(0.98);
  transition: transform var(--t);
}
.popup-overlay.is-open .popup { transform: none; }
.popup__media { position: relative; min-height: 100%; }
.popup__media .ph { height: 100%; border-radius: 0; }
.popup__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.popup__body { padding: clamp(1.5rem, 4vw, 2.2rem); }
.popup__body .eyebrow { margin-bottom: 0.7rem; }
.popup__body h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.popup__body p { font-size: 0.95rem; margin-bottom: 1.4rem; }
.popup__close {
  position: absolute; top: 0.9rem; right: 0.9rem; z-index: 3;
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm);
  transition: transform var(--t), color var(--t);
}
.popup__close:hover { transform: rotate(90deg); color: var(--azur); }
.popup__close svg { width: 18px; height: 18px; }
.popup__note { font-size: 0.78rem; color: var(--ink-mute); margin-top: 0.9rem; }

/* ----------------------------------------------------------------
   21. Bandeau de page (pages internes)
   ---------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-block: clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(60% 90% at 88% 0%, var(--gold-soft) 0%, transparent 55%),
    var(--cream-2);
  border-bottom: 1px solid var(--line);
}
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; font-size: 0.84rem; color: var(--ink-mute); margin-bottom: 1.2rem; }
.breadcrumb a:hover { color: var(--azur); }
.breadcrumb svg { width: 14px; height: 14px; opacity: 0.6; }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.page-hero__content { max-width: 600px; }
.page-hero h1 { margin-bottom: 1.2rem; }
.page-hero .lead { margin-bottom: 1.8rem; }
.page-hero__visual .ph { aspect-ratio: 4 / 3; }

/* Liste « ce que nous gérons » / check-lists */
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; }
.check-grid li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--ink-soft); }
.check-grid svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }

/* Bloc texte + média alterné */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(3rem, 6vw, 5rem); }
.feature-row--reverse .feature-row__media { order: 2; }
.feature-row__media .ph { aspect-ratio: 4 / 3; }
.feature-row__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); display: block; }
.duo-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 2.5vw, 1.75rem); }
.duo-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm); }
.duo-card__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--gold-soft); color: var(--azur); margin-bottom: 1.1rem; }
.duo-card__icon svg { width: 26px; height: 26px; }
.duo-card h3 { font-size: 1.3rem; margin-bottom: 0.8rem; }
.section--dark .duo-card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }
@media (max-width: 800px) { .duo-cards { grid-template-columns: 1fr; } }
/* « Le coin des proprios » : cartes d'info ville VISIBLES + listes scannables (remplace l'accordéon, SEO + CRO) */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 2.5vw, 1.75rem); align-items: start; }
.info-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t); }
.info-block:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.info-block__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--gold-soft); color: var(--azur); margin-bottom: 1rem; }
.info-block__icon svg { width: 24px; height: 24px; }
.info-block h3 { font-size: 1.25rem; margin-bottom: 0.7rem; }
.info-block > p { color: var(--ink-soft); margin-bottom: 0.9rem; font-size: 0.97rem; line-height: 1.6; }
.tick-list { list-style: none; display: grid; gap: 0.6rem; }
.tick-list li { position: relative; padding-left: 1.4rem; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.5; }
.tick-list li::before { content: ""; position: absolute; left: 0.1rem; top: 0.52em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.tick-list strong { color: var(--ink); font-weight: 600; }
.tick-list--2col { grid-template-columns: 1fr 1fr; gap: 0.6rem 1.6rem; }
@media (max-width: 760px) { .info-grid { grid-template-columns: 1fr; } .tick-list--2col { grid-template-columns: 1fr; } }
.feature-row ul { margin-top: 1.2rem; display: grid; gap: 0.7rem; }
.feature-row ul li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--ink-soft); }
.feature-row ul svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--azur); margin-top: 3px; }

/* Encart d'info / réglementation */
.callout {
  display: flex;
  gap: 1.1rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.callout__icon { flex-shrink: 0; color: var(--azur); }
.callout__icon svg { width: 30px; height: 30px; }
.callout h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }

/* Simulateur (placeholder) */
.simulator {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.sim-field { margin-bottom: 1.1rem; }
.sim-field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; }
.sim-input {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink-mute);
  font-size: 0.95rem;
}
.sim-input svg { width: 18px; height: 18px; color: var(--gold); }
.sim-result { text-align: center; padding: 1.5rem; background: var(--azur-soft); border-radius: var(--radius); }
.sim-result .stat-num { color: var(--azur); }
.sim-result span { display: block; font-size: 0.85rem; color: var(--ink-mute); margin-top: 0.3rem; }

/* Quartiers / tags */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tag {
  padding: 0.5rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.tag--gold { border-color: var(--gold-line); color: var(--azur); background: var(--gold-soft); }
a.tag { text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
a.tag:hover { background: var(--gold-soft); border-color: var(--gold-line); transform: translateY(-1px); }

/* ----------------------------------------------------------------
   22. Contact
   ---------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.contact-form { display: grid; gap: 1.1rem; padding: clamp(1.75rem, 4vw, 2.5rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.form-field { display: grid; gap: 0.4rem; }
.form-field label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea {
  font: inherit;
  padding: 0.85rem 1rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  transition: border-color var(--t), background var(--t);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--gold); background: var(--white);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.contact-aside { display: grid; gap: 1.2rem; align-content: start; }
.contact-card { display: flex; gap: 1rem; padding: 1.3rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card__icon { flex-shrink: 0; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--azur-soft); color: var(--azur); }
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 1.02rem; margin-bottom: 0.2rem; }
.contact-card p, .contact-card a { font-size: 0.92rem; color: var(--ink-soft); }
.contact-card a:hover { color: var(--azur); }
.map-ph { aspect-ratio: 16 / 7; border-radius: var(--radius); }

/* ----------------------------------------------------------------
   22b. Contenu riche importé du CMS (pages villes / guides)
   ---------------------------------------------------------------- */
.prose-block { margin-inline: auto; }
.rich { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.8; }
.rich > :first-child { margin-top: 0; }
.rich p { margin: 0 0 1rem; color: var(--ink-soft); }
.rich p:last-child { margin-bottom: 0; }
.rich h2, .rich h3 { color: var(--ink); margin: 1.6rem 0 0.6rem; }
.rich ul, .rich ol { margin: 0 0 1rem; padding-left: 1.3rem; }
.rich li { margin-bottom: 0.4rem; color: var(--ink-soft); }
.rich a { color: var(--azur); text-decoration: underline; }
.rich strong, .rich b { color: var(--ink); }
.faq__a-inner.rich { font-size: 1rem; line-height: 1.7; }

/* Listes à puces (contenu guides : lignes avec emoji en tête) */
.emoji-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.8rem; max-width: 760px; }
.emoji-list.cols-2 { grid-template-columns: 1fr 1fr; gap: 0.7rem 2.2rem; max-width: none; }
.emoji-list li { color: var(--ink-soft); line-height: 1.55; font-size: 1.02rem; }

/* Photos (hero & galerie des guides) */
.page-hero__visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); display: block; }
.guide-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
.guide-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); display: block; transition: transform var(--t); }
.guide-gallery img:hover { transform: scale(1.02); }
@media (max-width: 700px) { .emoji-list.cols-2 { grid-template-columns: 1fr; } .guide-gallery { grid-template-columns: 1fr 1fr; } }

/* ---- Guides : design retravaillé ---- */
.guide-hero { padding-block: clamp(2rem, 5vw, 4rem); background: radial-gradient(60% 90% at 88% 0%, var(--gold-soft) 0%, transparent 55%), var(--cream); }
.guide-hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.guide-hero__content { max-width: 560px; }
.guide-hero h1 { margin: 0.4rem 0 1rem; }
.guide-hero__sub { color: var(--ink-soft); font-size: 1.02rem; margin: -0.5rem 0 1rem; }
.guide-hero__addr { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ink-mute); font-size: 0.92rem; margin-bottom: 1.6rem; }
.guide-hero__addr svg { width: 17px; height: 17px; color: var(--gold); }
.guide-hero__visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: block; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 0.9rem; }
.gallery-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); display: block; transition: transform var(--t); }
.gallery-grid img:hover { transform: scale(1.02); }
.gallery-grid__lead { grid-column: span 2; grid-row: span 2; }

/* Photos : ni ombre portée (évite la « bande sombre »), ni cadre (cohérence avec les autres images) — juste les coins arrondis */
.page-hero__visual img,
.feature-row__media img,
.guide-hero__visual img,
.guide-gallery img,
.gallery-grid img,
.about__media > img,
.hero__visual img { box-shadow: none !important; border: none !important; }
/* Recadrage de 2px en bas : masque le fin liseré sombre du bord inférieur (artefact de rendu, pas la photo) */
.feature-row__media img,
.guide-hero__visual img,
.about__media > img { clip-path: inset(0 0 2px 0 round var(--radius-lg)); }
.page-hero__visual img { clip-path: inset(0 0 2px 0 round var(--radius)); }

.amenities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem 2.2rem; }
.amenity { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--ink-soft); line-height: 1.5; }
.amenity svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--gold); margin-top: 3px; }

.discover-grid, .info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 1.75rem); }
.discover-card, .info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2rem); box-shadow: var(--shadow-sm); }
.discover-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--gold-soft); color: var(--azur); margin-bottom: 1rem; }
.discover-card__icon svg { width: 24px; height: 24px; }
.discover-card h3, .info-card h3 { margin-bottom: 0.9rem; }
.discover-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.discover-list li { position: relative; padding-left: 1.2rem; color: var(--ink-soft); line-height: 1.55; }
.discover-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.info-card__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.1rem; }
.info-card__actions .btn { padding: 0.62rem 1.1rem; font-size: 0.9rem; }
.info-card--accent { border-color: var(--gold); background: linear-gradient(180deg, var(--gold-soft), var(--white) 62%); }
.discover-card { transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.discover-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold-line); }
.poub-photo { display: block; width: 100%; max-height: 200px; object-fit: cover; border-radius: var(--radius); margin-top: 1rem; border: 1px solid var(--line); transition: transform var(--t); }
.poub-photo:hover { transform: scale(1.02); }
.map-wrap { max-width: 900px; margin-inline: auto; }
/* Plan du site (page temporaire de navigation interne) */
.plan-group { margin-bottom: 2.4rem; }
.plan-group h2 { font-size: 1.25rem; margin-bottom: 0.9rem; }
.plan-group h2 span { color: var(--ink-mute); font-weight: 400; font-size: 0.85rem; }
.plan-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 2.5rem; }
.plan-list li { break-inside: avoid; margin-bottom: 0.45rem; }
.plan-list a { color: var(--ink-soft); }
.plan-list a:hover { color: var(--azur); }
@media (max-width: 640px) { .plan-list { columns: 1; } }
/* Cartes annonce sans tarif (page location étudiante) + note d'explication */
.apt__price-note { font-family: var(--font-title); font-weight: 600; color: var(--azur); font-size: 0.95rem; }
.apt-note { max-width: 700px; margin: 1.5rem auto 0; text-align: center; font-size: 0.92rem; color: var(--ink-soft); line-height: 1.55; }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.map-embed iframe { width: 100%; min-height: 380px; border: 0; display: block; }

@media (max-width: 980px) { .guide-hero__grid { grid-template-columns: 1fr; } .gallery-grid { grid-template-columns: repeat(3, 1fr); } .amenities { grid-template-columns: repeat(2, 1fr); } .discover-grid, .info-cards { grid-template-columns: 1fr; } .gallery-grid__lead { grid-column: span 2; grid-row: span 1; } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } .amenities { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------
   23. Animations d'apparition au scroll
   ---------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }

/* ----------------------------------------------------------------
   24. Responsive
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit       { flex-basis: calc((100% - var(--bgap)) / 2); }
  .apartments    { grid-template-columns: repeat(2, 1fr); }
  .testimonial   { flex-basis: calc((100% - clamp(1rem, 2.5vw, 1.75rem)) / 2); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  /* Navigation mobile */
  .nav-toggle { display: grid; place-items: center; }
  .nav-socials { display: none; }
  .nav-menu {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--gutter) 1.5rem;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    /* fermé : on dégage TOUTE la hauteur du menu + le décalage du header (sinon une bande dépasse en haut) */
    transform: translateY(calc(-100% - var(--header-h) - 8px));
    visibility: hidden;
    transition: transform var(--t), visibility 0s linear var(--t);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav-menu.is-open { transform: translateY(0); visibility: visible; transition: transform var(--t), visibility 0s; }
  .nav-menu a { padding: 0.9rem 0.5rem; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .dropdown-panel {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; border-radius: 0;
    padding: 0 0 0 1rem;
    max-height: 0; overflow: hidden;
    transition: max-height var(--t);
  }
  .has-dropdown.is-open .dropdown-panel { max-height: 360px; }
  .has-dropdown:hover .dropdown-panel { max-height: 0; }
  .has-dropdown.is-open .dropdown-panel { max-height: 360px; }
  .nav .btn { display: none; }

  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__content { max-width: none; }
  .hero__visual { max-width: 460px; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 440px; }
  .page-hero__grid { grid-template-columns: 1fr; }
  .feature-row, .feature-row--reverse { grid-template-columns: 1fr; }
  .feature-row--reverse .feature-row__media { order: 0; }
  .simulator { grid-template-columns: minmax(0, 1fr); }
  .simulator > * { min-width: 0; }
  .simulator .btn { white-space: normal; }
  .contact-grid { grid-template-columns: 1fr; }
  .popup { grid-template-columns: 1fr; max-height: calc(100dvh - 3rem); overflow-y: auto; }
  .popup__media { display: block; position: relative; height: 150px; min-height: 0; }
}

@media (max-width: 680px) {
  .stats-band   { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1rem; }
  .formules     { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .benefit      { flex-basis: 100%; }
  .apartments   { grid-template-columns: 1fr; }
  .testimonial  { flex-basis: 100%; }
  .steps        { grid-template-columns: 1fr; gap: 2rem; }
  .steps .step:not(:last-child) .step__num::after { display: none; }
  .check-grid   { grid-template-columns: 1fr; }
  .form-row     { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .hero__floating-card { left: 0; }
}

/* ----------------------------------------------------------------
   25. Préférence « mouvement réduit »
   ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
