/* ==========================================================================
   AGENCE IMMOBILIÈRE « Keur Yaye Fatou Immo » — vision : « Un toit pour chaque femme »
   Design system premium — mobile-first
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Palette — bleu Keur Yaye Fatou + blanc (logo officiel) */
  --primary: #093A9B;
  --primary-dark: #072B75;
  --primary-light: #2E5DBF;
  --primary-soft: #E3E9F7;
  --secondary: #10265B;
  --secondary-dark: #0A1B40;
  --secondary-light: #1E3E8C;
  --secondary-soft: #E1E8F5;
  --accent: #C9A227;
  --accent-soft: #F5EDD4;
  --bg: #F7F9FD;
  --bg-warm: #EEF2FA;
  --surface: #FFFFFF;
  --text: #16203A;
  --text-muted: #5A6474;
  --border: #DCE3F0;
  --border-light: #E8EDF6;

  /* Statuts */
  --success: #2D6A4F;
  --success-soft: #E3EDE8;
  --warning: #C47B1A;
  --warning-soft: #F9EDD8;
  --danger: #A83232;
  --danger-soft: #F5E0E0;
  --neutral-badge: #6B7280;
  --neutral-soft: #EEEAE4;

  /* Typographie */
  --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', 'Segoe UI', system-ui, sans-serif;

  /* Espacements */
  --space-xs: .5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;

  /* Rayons & ombres */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(26, 31, 28, .06);
  --shadow-md: 0 8px 28px rgba(26, 31, 28, .10);
  --shadow-lg: 0 20px 48px rgba(26, 31, 28, .14);
  --shadow-glow: 0 0 0 1px rgba(255,255,255,.08);

  --container: 1200px;
  --header-h: 80px;

  /* Transitions */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --dur-fast: .2s;
  --dur-med: .45s;
  --dur-slow: .7s;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* Interdit tout défilement horizontal de la page */
html, body { overflow-x: clip; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 1rem;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.35rem; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding-block: var(--space-lg); }
.section-alt { background: var(--surface); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.hidden { display: none !important; }

.section-head { max-width: 620px; margin-inline: auto; text-align: center; margin-bottom: 2.5rem; }
.section-head p { color: var(--text-muted); margin-top: .75rem; font-size: 1.05rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before {
  content: ""; width: 32px; height: 1.5px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 2px;
}

/* ---------- Scroll reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }
[data-reveal-delay="4"] { transition-delay: .4s; }
[data-reveal-delay="5"] { transition-delay: .5s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.75rem; border-radius: 999px;
  font-weight: 600; font-size: .92rem; line-height: 1.2; letter-spacing: .02em;
  border: 2px solid transparent;
  transition:
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out),
    background var(--dur-fast) ease,
    color var(--dur-fast) ease,
    border-color var(--dur-fast) ease;
  text-align: center; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-secondary:hover { background: var(--secondary-dark); }
.btn-outline {
  border-color: rgba(255,255,255,.55); color: #fff; background: transparent;
}
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-outline-dark { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline-dark:hover { background: var(--primary-soft); }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1DA851; }
.btn-light { background: #fff; color: var(--secondary-dark); }
.btn-light:hover { background: var(--bg-warm); }
.btn-sm { padding: .5rem 1.15rem; font-size: .84rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: .32rem .75rem; border-radius: 999px;
  backdrop-filter: blur(6px);
}
.badge-disponible { background: rgba(45,106,79,.92); color: #fff; }
.badge-reserve { background: rgba(196,123,26,.92); color: #fff; }
.badge-vendu { background: rgba(107,114,128,.88); color: #fff; }
.badge-promo { background: var(--danger); color: #fff; }
.badge-zone { background: rgba(9,58,155,.9); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--header-h);
  transition: background var(--dur-med) ease, box-shadow var(--dur-med) ease, backdrop-filter var(--dur-med) ease;
}
.site-header .header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.site-header--transparent {
  background: transparent;
}
.site-header--transparent .logo-text { color: #fff; }
.site-header--transparent .logo-text small { color: rgba(255, 255, 255, .72); }
.site-header--transparent .main-nav a { color: rgba(255, 255, 255, .92); }
.site-header--transparent .main-nav a:hover,
.site-header--transparent .main-nav a[aria-current="page"] {
  color: #fff; background: rgba(255, 255, 255, .14);
}
.site-header--transparent .nav-toggle { color: #fff; }
.site-header--transparent .nav-toggle:hover { background: rgba(255, 255, 255, .14); }

/* Menu mobile sur header transparent : liens foncés sur le drawer clair */
.site-header--transparent .main-nav.open a { color: var(--text); }
.site-header--transparent .main-nav.open a:hover,
.site-header--transparent .main-nav.open a[aria-current="page"] {
  color: var(--primary); background: var(--primary-soft);
}
.site-header--transparent .main-nav.open .nav-cta { color: #fff; }
.site-header--transparent .main-nav.open .nav-cta:hover,
.site-header--transparent .main-nav.open .nav-cta[aria-current="page"] { background: #1DA851; }

.site-header--scrolled,
body:not([data-page="home"]) .site-header {
  background: rgba(247, 249, 253, .94);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border-light);
}
.site-header--scrolled .logo-text { color: var(--secondary-dark); }
.site-header--scrolled .logo-text small { color: var(--text-muted); }
.site-header--scrolled .main-nav a { color: var(--text); }
.site-header--scrolled .main-nav a:hover,
.site-header--scrolled .main-nav a[aria-current="page"] {
  color: var(--primary); background: var(--primary-soft);
}
.site-header--scrolled .nav-toggle { color: var(--text); }
.site-header--scrolled .nav-toggle:hover { background: var(--primary-soft); }
body:not([data-page="home"]) .site-header { position: sticky; }

.logo { display: flex; align-items: center; gap: .75rem; }
.logo svg { width: 44px; height: 44px; flex-shrink: 0; transition: transform var(--dur-fast) var(--ease-spring); }
.logo .logo-mark { width: 44px; height: 44px; flex-shrink: 0; object-fit: contain; transition: transform var(--dur-fast) var(--ease-spring); }
.logo:hover svg, .logo:hover .logo-mark { transform: scale(1.05); }
.logo-text {
  font-family: var(--font-heading); font-weight: 600;
  font-size: 1.15rem; line-height: 1.1; color: var(--secondary-dark);
}
.logo-text small {
  display: block; font-family: var(--font-body); font-weight: 500;
  font-size: .58rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-muted); margin-top: .15rem;
}

.main-nav {
  position: fixed; inset: var(--header-h) 0 auto 0;
  background: var(--bg); border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; gap: .2rem;
  padding: 1.25rem 1.5rem 1.75rem;
  transform: translateX(100%);
  transition: transform var(--dur-med) var(--ease-out);
  z-index: 205;
}
.main-nav.open { transform: translateX(0); }
.main-nav a {
  padding: .75rem .65rem; font-weight: 500; font-size: .95rem;
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--primary); background: var(--primary-soft); }
.main-nav .nav-cta { margin-top: .75rem; color: #fff; }
.main-nav .nav-cta:hover, .main-nav .nav-cta[aria-current="page"] { background: #1DA851; color: #fff; }

.nav-toggle {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast);
}
.nav-toggle:hover { background: var(--primary-soft); }
.nav-toggle svg { width: 26px; height: 26px; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .main-nav {
    position: static; transform: none; background: none; border: 0; padding: 0;
    flex-direction: row; align-items: center; gap: .15rem;
  }
  .main-nav a { padding: .5rem .9rem; font-size: .9rem; }
  .main-nav .nav-cta { margin: 0 0 0 .65rem; }
}

/* ---------- Hero fullscreen (accueil) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  animation: heroKenBurns 22s var(--ease-out) infinite alternate;
  filter: saturate(1.12) contrast(1.04);
}
@keyframes heroKenBurns {
  from { transform: scale(1.04); }
  to { transform: scale(1.1); }
}
/* Voile sombre léger : photo visible, contraste pour textes clairs */
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(15, 42, 31, 0.62) 0%,
      rgba(15, 42, 31, 0.38) 42%,
      rgba(15, 42, 31, 0.45) 68%,
      rgba(15, 42, 31, 0.72) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  padding-block: calc(var(--header-h) + 2rem) 1.5rem;
  text-align: center; color: #fff;
}
/* Halo sombre transparent derrière le texte (pas de fond blanc) */
.hero-content-panel {
  max-width: 820px; margin-inline: auto;
  padding: 2.25rem 1.75rem 2rem;
  background: radial-gradient(ellipse 90% 80% at 50% 50%,
    rgba(15, 42, 31, 0.52) 0%,
    rgba(15, 42, 31, 0.28) 55%,
    transparent 78%);
  border: none;
  box-shadow: none;
}
@media (min-width: 640px) {
  .hero-content-panel { padding: 2.75rem 2.5rem 2.25rem; }
}
.hero .eyebrow {
  color: var(--accent);
  justify-content: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}
.hero .eyebrow::before { background: linear-gradient(90deg, var(--accent), rgba(255,255,255,.6)); }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  color: #fff;
  max-width: 720px; margin-inline: auto;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .55), 0 1px 4px rgba(0, 0, 0, .4);
  margin-top: .75rem;
}
.hero h1 em { font-style: italic; color: var(--accent); text-shadow: 0 2px 16px rgba(0, 0, 0, .5); }
.hero-lead {
  max-width: 580px; margin: 1.25rem auto 2rem;
  color: rgba(255, 255, 255, .92);
  font-size: 1.05rem; line-height: 1.8;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .55);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem;
  justify-content: center; margin-top: 2.25rem;
  padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, .22);
}
.hero-stat { text-align: center; }
.hero-stat strong {
  display: block; font-family: var(--font-heading);
  font-size: 2rem; font-weight: 600; color: var(--accent);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
}
.hero-stat span {
  font-size: .8rem; color: rgba(255, 255, 255, .82);
  letter-spacing: .02em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}

/* Texte hero visible immédiatement */
.hero [data-reveal] {
  opacity: 1;
  transform: none;
}

/* Barre de recherche flottante (style Homeland) */
.hero-search-wrap {
  position: relative; z-index: 3;
  margin-top: auto; padding-bottom: 3rem;
}
.hero-search {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem 1.25rem;
  display: grid; gap: 1rem;
  max-width: 960px; margin-inline: auto;
}
.hero-search-title {
  font-family: var(--font-heading); font-size: 1.1rem;
  color: var(--secondary-dark); text-align: center;
}
.hero-search-fields {
  display: grid; gap: .85rem;
}
.hero-search .field label {
  display: block; font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-muted); margin-bottom: .35rem;
}
.hero-search .field select,
.hero-search .field input {
  width: 100%; padding: .72rem .9rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg); transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.hero-search .field select:focus,
.hero-search .field input:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(184,97,58,.12);
}
.hero-search-submit {
  align-self: end;
}
@media (min-width: 768px) {
  .hero-search { padding: 1.75rem 2rem; }
  .hero-search-fields {
    grid-template-columns: 1.2fr 1fr 1fr auto;
    align-items: end; gap: 1rem;
  }
}

/* ---------- Bandeau promotions (marquee) ---------- */
.promo-marquee-section {
  background: linear-gradient(180deg, var(--secondary-dark) 0%, var(--secondary) 100%);
  padding: 1.35rem 0 1.6rem;
  position: relative;
  overflow: hidden;
}
.promo-marquee-section::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 85% 0%, rgba(201,162,39,.14), transparent 55%);
  pointer-events: none;
}
.promo-marquee-head {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: .7rem 1.25rem;
  margin-bottom: 1rem; position: relative;
}
.promo-marquee-head h2 {
  color: #fff; font-size: clamp(1.2rem, 2.5vw, 1.55rem); margin-top: .3rem;
}
.promo-marquee-head .eyebrow { color: var(--accent); }
.promo-marquee-head .eyebrow::before { background: linear-gradient(90deg, var(--accent), rgba(255,255,255,.5)); }
.promo-marquee-link {
  font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.85);
  transition: color var(--dur-fast);
  white-space: nowrap;
}
.promo-marquee-link:hover { color: var(--accent); }

.promo-marquee-viewport {
  position: relative; overflow: hidden;
  cursor: grab; touch-action: pan-y pinch-zoom;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 36px, #000 calc(100% - 36px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 36px, #000 calc(100% - 36px), transparent);
}
.promo-marquee-viewport.is-dragging { cursor: grabbing; user-select: none; }

.promo-marquee-track {
  display: flex; gap: .75rem; width: max-content;
  will-change: transform;
}

.promo-marquee-set {
  display: flex; gap: .75rem; flex-shrink: 0;
}

.promo-marquee-card {
  flex: 0 0 min(235px, 68vw);
  display: flex; flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) ease;
  text-decoration: none; color: inherit;
}
.promo-marquee-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-lg);
}
.promo-marquee-card-media {
  position: relative; aspect-ratio: 2 / 1; overflow: hidden;
  background: var(--bg-warm);
}
.promo-marquee-card-media img, .promo-marquee-card-media video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .65s var(--ease-out);
}
.promo-marquee-card:hover .promo-marquee-card-media img,
.promo-marquee-card:hover .promo-marquee-card-media video { transform: scale(1.06); }
.promo-marquee-card-media .badge-promo {
  position: absolute; top: .45rem; right: .45rem; z-index: 1;
}
.promo-marquee-card-body {
  padding: .65rem .85rem .85rem;
  display: flex; flex-direction: column; gap: .22rem; flex: 1;
}
.promo-marquee-card-zone {
  font-size: .65rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--secondary-light);
  display: inline-flex; align-items: center; gap: .28rem;
}
.promo-marquee-card-zone svg { width: 11px; height: 11px; }
.promo-marquee-card-title {
  font-family: var(--font-heading); font-size: .92rem; font-weight: 600;
  line-height: 1.3; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.promo-marquee-prices {
  margin-top: .3rem; padding-top: .4rem;
  border-top: 1px solid var(--border-light);
}
.promo-marquee-prices s {
  display: block; font-size: .7rem; color: var(--text-muted);
  text-decoration: line-through; margin-bottom: .05rem;
}
.promo-marquee-prices strong {
  font-family: var(--font-heading); font-size: 1rem;
  font-weight: 600; color: var(--primary-dark);
}

@media (prefers-reduced-motion: reduce) {
  .promo-marquee-viewport { cursor: auto; }
  .promo-marquee-card:hover { transform: none; }
}

/* ---------- Grille de biens / cards ---------- */
.grid-cards { display: grid; grid-template-columns: 1fr; gap: 1.6rem; }
@media (min-width: 640px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-cards { grid-template-columns: repeat(3, 1fr); } }

.card-property {
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--dur-med) var(--ease-out),
    box-shadow var(--dur-med) var(--ease-out);
  display: flex; flex-direction: column;
}
.card-property:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card-media {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--bg-warm);
}
.card-media img, .card-media video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .65s var(--ease-out);
}
.card-property:hover .card-media img,
.card-property:hover .card-media video { transform: scale(1.07); }
.card-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,27,64,.40), transparent 50%);
  opacity: 0; transition: opacity var(--dur-med) ease;
}
.card-property:hover .card-media::after { opacity: 1; }
.card-badges {
  position: absolute; top: .85rem; left: .85rem; right: .85rem;
  display: flex; gap: .45rem; flex-wrap: wrap; z-index: 1;
}
.card-media .badge-promo { margin-left: auto; }
.card-body {
  padding: 1.25rem 1.35rem 1.4rem;
  display: flex; flex-direction: column; gap: .5rem; flex: 1;
}
.card-zone {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .78rem; font-weight: 500; color: var(--secondary-light);
  text-transform: uppercase; letter-spacing: .06em;
}
.card-zone svg { width: 13px; height: 13px; }
.card-title { font-size: 1.15rem; font-family: var(--font-heading); font-weight: 600; }
.card-title a { transition: color var(--dur-fast); }
.card-title a:hover { color: var(--primary); }
.card-doctype { display: block; font-size: .8rem; color: var(--text-muted); margin-top: .25rem; }
.card-meta {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: .8rem; margin-top: auto; padding-top: .6rem;
  border-top: 1px solid var(--border-light);
}
.card-price {
  font-family: var(--font-heading); font-weight: 600;
  font-size: 1.25rem; color: var(--primary-dark);
}
.card-price s {
  display: block; font-family: var(--font-body);
  font-weight: 400; font-size: .78rem; color: var(--text-muted);
}
.card-superficie { font-size: .82rem; color: var(--text-muted); white-space: nowrap; }

/* ---------- About preview grid ---------- */
.about-preview-grid {
  display: grid; gap: 2.5rem; align-items: center;
}
@media (min-width: 900px) {
  .about-preview-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.about-preview-img {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--bg-warm);
}
.about-preview-img img {
  width: 100%; aspect-ratio: 4/3; object-fit: contain;
  transition: transform .8s var(--ease-out);
}
.about-preview-img:hover img { transform: scale(1.04); }
.about-preview-img::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-lg);
  pointer-events: none;
}
.about-preview-badge {
  position: absolute; bottom: 1.25rem; left: 1.25rem; z-index: 2;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  padding: .85rem 1.15rem; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}
.about-preview-badge strong {
  display: block; font-family: var(--font-heading);
  font-size: 1.5rem; color: var(--secondary);
}
.about-preview-badge span { font-size: .78rem; color: var(--text-muted); }

.spec {
  display: flex; align-items: flex-start; gap: .65rem;
  font-size: .93rem; color: var(--text-muted);
}
.spec svg {
  width: 20px; height: 20px; color: var(--secondary-light);
  flex-shrink: 0; margin-top: .15rem;
}

/* ---------- Zones ---------- */
.zones-more-row { display: flex; justify-content: flex-end; margin-bottom: 1rem; }
.zones-more-link { font-weight: 600; color: var(--primary); font-size: .92rem; }
.zones-more-link:hover { text-decoration: underline; }
/* Mobile : une ligne qui défile au doigt, pour éviter une carte isolée en bout de grille */
.zones-grid {
  display: flex; gap: 1rem; overflow-x: auto; padding-bottom: .4rem;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.zones-grid .zone-card { flex: 0 0 42%; scroll-snap-align: start; }
@media (min-width: 800px) {
  .zones-grid {
    display: grid; grid-template-columns: repeat(5, 1fr);
    overflow-x: visible; scroll-snap-type: none;
  }
  .zones-grid .zone-card { flex: initial; }
}

.zone-card {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  aspect-ratio: 3 / 4; display: flex; align-items: flex-end;
  color: #fff; box-shadow: var(--shadow-sm);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.zone-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-lg);
}
.zone-card img, .zone-card video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease-out);
}
.zone-card:hover img, .zone-card:hover video { transform: scale(1.1); }
.zone-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,27,64,.85) 0%, rgba(10,27,64,.1) 60%);
  transition: background var(--dur-med) ease;
}
.zone-card:hover::after {
  background: linear-gradient(to top, rgba(10,27,64,.92) 0%, rgba(10,27,64,.2) 60%);
}
.zone-card span {
  position: relative; z-index: 1; padding: 1rem 1.1rem;
  font-family: var(--font-heading); font-weight: 600; font-size: 1.1rem;
}
.zone-card em {
  display: block; font-family: var(--font-body); font-style: normal;
  font-size: .72rem; font-weight: 400; opacity: .8; margin-top: .2rem;
  letter-spacing: .02em;
}

/* ---------- Promotions ---------- */
.promo-banner {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: #fff; border-radius: var(--radius-lg);
  padding: 2rem 1.75rem; display: flex; flex-direction: column; gap: .75rem;
  margin-bottom: 2rem; position: relative; overflow: hidden;
}
.promo-banner::before {
  content: ""; position: absolute; top: -50%; right: -20%;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(201,162,39,.12);
}
.promo-banner h3 { font-size: 1.45rem; position: relative; }
.promo-banner p { opacity: .85; font-size: .93rem; position: relative; }
@media (min-width: 800px) {
  .promo-banner {
    flex-direction: row; align-items: center; justify-content: space-between;
    padding: 2rem 2.5rem;
  }
}

/* ---------- Témoignages ---------- */
.t-carousel { position: relative; }
.t-track { display: flex; transition: transform .5s var(--ease-out); }
.t-slide { flex: 0 0 100%; padding: .25rem; }
@media (min-width: 800px) { .t-slide { flex-basis: 50%; } }
.t-card {
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 1.75rem 1.5rem;
  height: 100%; display: flex; flex-direction: column; gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-med) ease, transform var(--dur-med) var(--ease-out);
}
.t-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.t-stars { color: var(--accent); letter-spacing: .12em; font-size: .9rem; }
.t-text {
  font-style: italic; color: var(--text-muted); flex: 1;
  font-size: 1.02rem; line-height: 1.75;
}
.t-author { display: flex; align-items: center; gap: .85rem; }
.t-avatar {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
  background: var(--accent-soft); display: grid; place-items: center;
  font-weight: 700; color: var(--primary-dark);
  border: 2px solid var(--border-light);
}
.t-name { font-weight: 600; font-size: .93rem; }
.t-role { font-size: .76rem; color: var(--text-muted); }
.t-nav { display: flex; gap: .65rem; justify-content: center; margin-top: 1.5rem; }
.t-btn {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface); border: 1.5px solid var(--border);
  display: grid; place-items: center;
  transition: all var(--dur-fast) var(--ease-out);
}
.t-btn:hover { background: var(--secondary); border-color: var(--secondary); color: #fff; }
.t-dots { display: flex; gap: .45rem; justify-content: center; margin-top: 1.1rem; }
.t-dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--border); transition: all var(--dur-fast) ease;
}
.t-dot.active { background: var(--primary); width: 24px; }

.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
@media (min-width: 700px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Diaspora ---------- */
.diaspora {
  background:
    radial-gradient(ellipse at 10% 20%, rgba(201,162,39,.18), transparent 45%),
    linear-gradient(160deg, var(--secondary-dark) 0%, var(--secondary) 55%, #1a2d5e 100%);
  color: #fff; position: relative; overflow: hidden;
}
.diaspora::before {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.diaspora-grid { display: grid; gap: 2.5rem; align-items: center; position: relative; }
@media (min-width: 900px) { .diaspora-grid { grid-template-columns: 1.15fr .85fr; } }
.diaspora .eyebrow { color: var(--accent); }
.diaspora h2 { color: #fff; }
.diaspora p { opacity: .88; margin-top: .85rem; }
.diaspora-list { margin-top: 1.4rem; display: grid; gap: .75rem; }
.diaspora-list li { display: flex; gap: .65rem; align-items: flex-start; font-size: .95rem; }
.diaspora-list svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: .15rem; color: var(--accent); }
.diaspora-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg); padding: 2rem 1.75rem; text-align: center;
  transition: transform var(--dur-med) var(--ease-out), background var(--dur-med) ease;
}
.diaspora-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); }
.diaspora-card h3 { color: #fff; }
.diaspora-card p { font-size: .9rem; }
.diaspora-card .btn { margin-top: 1.25rem; }

/* ---------- Page hero (pages internes) ---------- */
.page-hero {
  background:
    linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
  color: #fff; padding-block: 3.5rem 3rem; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(201,162,39,.15), transparent 50%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
.page-hero p { max-width: 560px; margin: .75rem auto 0; color: rgba(255,255,255,.8); }
.breadcrumb { font-size: .8rem; color: rgba(255,255,255,.65); margin-bottom: 1rem; }
.breadcrumb a { transition: color var(--dur-fast); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 .35rem; opacity: .5; }

/* ---------- Catalogue : filtres ---------- */
.catalog-layout { display: grid; gap: 1.75rem; }
@media (min-width: 980px) {
  .catalog-layout { grid-template-columns: 290px 1fr; align-items: start; }
  .filters-panel { position: sticky; top: calc(var(--header-h) + 1.25rem); }
}
.filters-panel {
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.filters-panel h2 {
  font-size: 1.05rem; margin-bottom: 1.1rem;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-body); font-weight: 600;
}
.filter-group { margin-bottom: 1.15rem; }
.filter-group label {
  display: block; font-size: .72rem; font-weight: 600;
  margin-bottom: .4rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .06em;
}
.filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.filters-toggle { display: none; width: 100%; margin-bottom: 1rem; }
@media (max-width: 979px) {
  .filters-toggle { display: inline-flex; }
  .filters-panel { display: none; }
  .filters-panel.open { display: block; }
}
.results-head {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: .8rem; margin-bottom: 1.3rem;
}
.results-count { font-size: .88rem; color: var(--text-muted); }

/* ---------- Formulaires ---------- */
.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: .35rem; }
.form-field label .req { color: var(--danger); }
.form-control {
  width: 100%; padding: .78rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.form-control:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(184,97,58,.12);
}
textarea.form-control { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0 1rem; }
@media (min-width: 640px) {
  .field-row.cols-2 { grid-template-columns: 1fr 1fr; }
  .field-row.cols-3 { grid-template-columns: repeat(3, 1fr); }
}
.phone-input { display: grid; grid-template-columns: 118px 1fr; gap: .6rem; }
.form-error { display: none; font-size: .78rem; color: var(--danger); margin-top: .3rem; }
.form-field.invalid .form-control { border-color: var(--danger); }
.form-field.invalid .form-error { display: block; }
.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-note { font-size: .78rem; color: var(--text-muted); margin-top: .8rem; }
.form-success {
  display: none;
  background: var(--success-soft); border: 1px solid var(--success);
  color: var(--secondary-dark); border-radius: var(--radius-sm);
  padding: 1rem 1.2rem; margin-bottom: 1.2rem; font-size: .93rem;
}
.form-success.show { display: block; }
.checkbox-field { display: flex; align-items: flex-start; gap: .55rem; }
.checkbox-field input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--primary); }
.checkbox-field label { font-weight: 400; font-size: .86rem; margin: 0; }

/* ---------- Carte Leaflet ---------- */
.map-wrap {
  border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--border-light); box-shadow: var(--shadow-sm);
}
#map, .leaflet-container { width: 100%; height: 340px; z-index: 1; }
#mapDetail, #mapContact { width: 100%; height: 340px; position: relative; }
#mapDetail iframe, #mapContact iframe { display: block; width: 100%; height: 100%; border: 0; pointer-events: none; }
.map-open-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: flex-end; padding: .7rem;
  text-decoration: none; cursor: pointer;
}
.map-open-overlay > span {
  background: var(--surface); color: var(--text);
  font-size: .8rem; font-weight: 600;
  padding: .45rem .8rem; border-radius: 999px; box-shadow: var(--shadow-md);
}
.map-open-overlay:hover > span { background: var(--primary); color: #fff; }
@media (min-width: 900px) { #mapDetail, #mapContact { height: 420px; } }

/* ---------- Fiche détail ---------- */
.detail-layout { display: grid; gap: 2rem; }
@media (min-width: 960px) { .detail-layout { grid-template-columns: 1.5fr 1fr; align-items: start; } }
.gallery-main {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  aspect-ratio: 16 / 10; background: var(--bg-warm); box-shadow: var(--shadow-md);
}
.gallery-main img, .gallery-main video {
  width: 100%; height: 100%; object-fit: cover; border: 0;
  transition: transform .5s var(--ease-out);
}
.gallery-main:hover img { transform: scale(1.02); }
.gal-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.92); box-shadow: var(--shadow-md);
  display: grid; place-items: center;
  transition: background var(--dur-fast), transform var(--dur-fast);
  opacity: 0; transition: opacity var(--dur-fast), background var(--dur-fast);
}
.gallery-main:hover .gal-arrow { opacity: 1; }
.gal-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.gal-prev { left: .85rem; } .gal-next { right: .85rem; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: .55rem; margin-top: .7rem; }
.gallery-thumbs button {
  border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3;
  border: 2px solid transparent; opacity: .7;
  transition: all var(--dur-fast) ease;
}
.gallery-thumbs button.active { border-color: var(--primary); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.detail-info {
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  position: sticky; top: calc(var(--header-h) + 1.25rem);
}
.detail-price {
  font-family: var(--font-heading); font-size: 2rem;
  color: var(--primary-dark); font-weight: 600;
}
.detail-price s {
  display: block; font-family: var(--font-body);
  font-size: .95rem; color: var(--text-muted); font-weight: 400;
}
.price-indicative { font-size: .78rem; color: var(--text-muted); margin-top: .2rem; }
.detail-specs { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-block: 1.3rem; }
.detail-actions { display: grid; gap: .7rem; margin-top: 1.3rem; }
.detail-desc { margin-top: .6rem; }
.detail-desc h2 { margin-bottom: .85rem; }
.detail-desc p { white-space: pre-line; color: var(--text-muted); margin-bottom: .8rem; }
.conditions-box {
  background: var(--accent-soft); border-left: 3px solid var(--accent);
  padding: 1rem 1.2rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-block: 1.2rem; font-size: .92rem;
}
.conditions-box strong { display: block; margin-bottom: .25rem; color: var(--secondary-dark); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(15,20,18,.96);
  display: none; align-items: center; justify-content: center;
  flex-direction: column; gap: 1rem; padding: 2rem;
  backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; }
.lightbox img, .lightbox video { max-width: 92vw; max-height: 78vh; border-radius: var(--radius-sm); }
.lightbox-close {
  position: absolute; top: 1.1rem; right: 1.1rem; color: #fff;
  font-size: 1.9rem; width: 48px; height: 48px;
  transition: transform var(--dur-fast);
}
.lightbox-close:hover { transform: scale(1.1); }
.lightbox .t-btn { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #fff; }
.lightbox-caption { color: rgba(255,255,255,.7); font-size: .84rem; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: 2rem; }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.info-card {
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.info-item {
  display: flex; gap: .9rem; padding-block: .9rem;
  border-bottom: 1px dashed var(--border-light); font-size: .92rem;
}
.info-item:last-of-type { border-bottom: 0; }
.info-item svg { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; margin-top: .1rem; }
.info-item strong {
  display: block; font-size: .72rem; text-transform: uppercase;
  letter-spacing: .06em; color: var(--text-muted); margin-bottom: .15rem;
}

/* ---------- À propos ---------- */
.prose { max-width: 760px; margin-inline: auto; }
.prose p { margin-bottom: 1rem; color: var(--text-muted); line-height: 1.8; }
.values-grid { display: grid; gap: 1.3rem; grid-template-columns: 1fr; margin-top: 2rem; }
@media (min-width: 700px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
.value-card {
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-icon {
  width: 54px; height: 54px; border-radius: var(--radius-md);
  background: var(--primary-soft); color: var(--primary-dark);
  display: grid; place-items: center; margin-bottom: 1.1rem;
}
.value-icon svg { width: 26px; height: 26px; }
.value-card p { font-size: .9rem; color: var(--text-muted); margin-top: .45rem; }

.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff; border-radius: var(--radius-lg);
  padding: 2.5rem 1.75rem; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; top: -30%; left: -10%;
  width: 250px; height: 250px; border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { opacity: .9; max-width: 520px; margin: .6rem auto 1.5rem; position: relative; }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: .4rem; justify-content: center; flex-wrap: wrap; margin-top: 2.2rem; }
.page-btn {
  min-width: 42px; height: 42px; padding: 0 .7rem;
  border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  background: var(--surface); font-weight: 600; font-size: .88rem;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all var(--dur-fast) ease;
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.page-btn[disabled] { opacity: .4; pointer-events: none; }

/* ---------- WhatsApp flottant ---------- */
.wa-float {
  position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
  transition: transform var(--dur-fast) var(--ease-spring);
  animation: waPulse 3s infinite;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 30px; height: 30px; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.3); }
  50% { box-shadow: 0 8px 24px rgba(37,211,102,.4), 0 0 0 12px rgba(37,211,102,0); }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--secondary-dark); color: rgba(255,255,255,.78);
  margin-top: 0;
}
.footer-grid {
  display: grid; gap: 2.5rem;
  padding-block: 3.5rem 2.5rem; grid-template-columns: 1fr;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer-brand .logo-text { color: #E6EDFB; }
.site-footer .logo-mark { width: 40px; height: 40px; }
.site-footer h3 {
  color: #fff; font-size: .85rem; margin-bottom: 1rem;
  font-family: var(--font-body); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
}
.footer-links li { margin-bottom: .5rem; }
.footer-links a {
  font-size: .88rem; opacity: .8;
  transition: opacity var(--dur-fast), color var(--dur-fast);
}
.footer-links a:hover { opacity: 1; color: var(--accent); }
.footer-contact li {
  display: flex; gap: .65rem; font-size: .88rem;
  margin-bottom: .6rem; opacity: .85;
}
.footer-contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: .2rem; color: var(--accent); }
.social-links { display: flex; gap: .7rem; margin-top: 1.25rem; }
.social-links a {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  transition: background var(--dur-fast), transform var(--dur-fast) var(--ease-spring);
}
.social-links a:hover { background: var(--primary); transform: translateY(-3px); }
.social-links svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 1.25rem;
  display: flex; flex-wrap: wrap; gap: .6rem;
  justify-content: space-between; font-size: .78rem; opacity: .65;
}
.footer-owner-link { color: inherit; text-decoration: underline; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 5.5rem; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text); color: #fff;
  padding: .85rem 1.5rem; border-radius: 999px; font-size: .88rem;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: all .35s var(--ease-out);
  z-index: 400; max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }

/* ---------- Skeleton loading ---------- */
.skeleton {
  background: linear-gradient(90deg, var(--bg-warm) 25%, #fff 50%, var(--bg-warm) 75%);
  background-size: 200% 100%;
  animation: skel 1.4s infinite;
  border-radius: var(--radius-md);
}
@keyframes skel { to { background-position: -200% 0; } }
.skeleton-card { height: 340px; }

/* ---------- Accessibilité ---------- */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.skip-link {
  position: absolute; left: -999px; top: .5rem; z-index: 500;
  background: var(--primary); color: #fff;
  padding: .6rem 1.2rem; border-radius: 999px;
}
.skip-link:focus { left: .5rem; }

/* Spacer pour header fixe sur pages internes */
body:not([data-page="home"]) main { padding-top: 0; }

@media print {
  .site-header, .site-footer, .wa-float, .detail-actions, .t-nav, .hero-search-wrap { display: none !important; }
}

/* ==========================================================================
   AMÉLIORATIONS v2 — inspirées du template Homebuilder
   (hero slider, compteurs animés, reveal au scroll, newsletter,
    bouton retour en haut, header au scroll)
   ========================================================================== */

/* ---------- Hero slider ---------- */
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg-item {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.1s ease, transform 6.5s linear;
}
.hero-bg-item.active { opacity: 1; transform: scale(1); }
.hero-text { transition: opacity .45s ease, transform .45s ease; }
.hero-text.swapping { opacity: 0; transform: translateY(10px); }
.hero-dots { display: flex; gap: .5rem; justify-content: flex-start; margin-top: 1.8rem; }
.hero-dot {
  width: 34px; height: 6px; border-radius: 999px;
  background: rgba(192,86,33,.28); border: none; padding: 0;
  transition: background .25s ease, transform .25s ease;
}
.hero-dot:hover { transform: scaleY(1.4); }
.hero-dot.active { background: var(--primary); }

/* ---------- Compteurs animés ---------- */
.hero-stat strong[data-count-to] { font-variant-numeric: tabular-nums; }

/* ---------- Reveal au scroll ---------- */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.grid-cards .reveal:nth-child(2) { transition-delay: .08s; }
.grid-cards .reveal:nth-child(3) { transition-delay: .16s; }
.grid-cards .reveal:nth-child(4) { transition-delay: .24s; }
.grid-cards .reveal:nth-child(5) { transition-delay: .32s; }
.grid-cards .reveal:nth-child(6) { transition-delay: .40s; }
.zones-grid .reveal:nth-child(2),
.values-grid .reveal:nth-child(2) { transition-delay: .07s; }
.zones-grid .reveal:nth-child(3),
.values-grid .reveal:nth-child(3) { transition-delay: .14s; }
.zones-grid .reveal:nth-child(4),
.values-grid .reveal:nth-child(4) { transition-delay: .21s; }
.zones-grid .reveal:nth-child(5),
.values-grid .reveal:nth-child(5) { transition-delay: .28s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Bandeau newsletter ---------- */
.newsletter-band {
  background:
    radial-gradient(circle at 88% 15%, rgba(233,160,59,.35), transparent 42%),
    linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 78%);
  color: #fff; border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  display: flex; flex-direction: column; gap: 1.3rem;
}
@media (min-width: 860px) {
  .newsletter-band { flex-direction: row; align-items: center; justify-content: space-between; padding: 2.4rem 2.6rem; }
}
.newsletter-band h2 { font-size: clamp(1.25rem, 3vw, 1.7rem); }
.newsletter-band p { opacity: .88; font-size: .93rem; margin-top: .3rem; max-width: 420px; }
.newsletter-form { display: flex; gap: .6rem; width: 100%; max-width: 460px; }
.newsletter-form .form-control { border: none; flex: 1; min-width: 0; }
.newsletter-note { font-size: .76rem; opacity: .75; margin-top: .5rem; }

/* ---------- Bouton retour en haut ---------- */
.to-top {
  position: fixed; bottom: 1.2rem; left: 1.2rem; z-index: 190;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--secondary); color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, background .15s ease;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--secondary-dark); }

/* ---------- Header au scroll ---------- */
.site-header.scrolled { box-shadow: var(--shadow-md); }

/* ---------- Programmes (page à propos) ---------- */
.programs-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 2.5rem; }
@media (min-width: 700px) { .programs-grid { grid-template-columns: repeat(2, 1fr); } }
.program-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.program-card h3 { font-family: var(--font-heading); font-size: 1.12rem; margin-bottom: .4rem; color: var(--text); }
.program-card p { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* ---------- Cartes de location (page locations) ---------- */
.card-rental {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-fast) ease;
}
.card-rental:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-rental-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.card-rental-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card-rental:hover .card-rental-media img { transform: scale(1.05); }
.badge-rental {
  position: absolute; top: .8rem; left: .8rem;
  background: rgba(255,255,255,.92); color: var(--primary);
  font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em;
  padding: .3rem .6rem; border-radius: 999px;
}
.card-rental-body { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.card-rental-desc { font-size: .9rem; color: var(--text-muted); margin: 0; line-height: 1.5; }
.card-rental-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-top: .4rem; }
.card-rental-price { font-weight: 800; color: var(--text); font-size: 1.05rem; }
.card-rental-price small { display: block; font-weight: 600; font-size: .72rem; color: var(--text-muted); }

/* ---------- Pages légales (prose) ---------- */
.prose h2 { margin: 1.9rem 0 .75rem; font-family: var(--font-heading); font-size: 1.5rem; color: var(--text); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.4rem 0 .5rem; font-size: 1.05rem; color: var(--text); }
.prose ul { margin: 0 0 1rem 1.3rem; color: var(--text-muted); line-height: 1.8; }
.prose ul li { margin-bottom: .35rem; }
.prose strong { color: var(--text); }
.prose a { color: var(--primary); }
