/* =========================================================
   Terra Vision Sénégal (TVS) — feuille de style principale
   ========================================================= */

/* ---------- Reset minimal ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

/* ---------- Variables ---------- */
:root {
  /* Couleurs de marque */
  --green-900: #0b3a2a;
  --green-800: #0e4a35;
  --green-700: #135c41;
  --green-600: #1a7350;
  --green-100: #e6efe8;
  --ocre-700: #a9611f;
  --ocre-600: #c1732e;
  --ocre-400: #e0954f;
  --ocre-100: #fbeee0;
  --gold-600: #b9922f;
  --gold-400: #d4af5a;
  --cream: #faf7f0;
  --white: #ffffff;
  --ink-900: #182019;
  --ink-700: #3b463e;
  --ink-500: #667169;
  --line: #e2ddd0;
  --success: #1a7350;
  --danger: #b3311c;

  /* Typographie */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Work Sans", "Segoe UI", Arial, sans-serif;

  /* Rythme */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(11, 58, 42, 0.08);
  --shadow-md: 0 8px 30px rgba(11, 58, 42, 0.14);
  --container: 1180px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--green-900);
  line-height: 1.15;
  font-weight: 600;
}
h1 { font-size: clamp(2rem, 5vw + 1rem, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw + 1rem, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1.4vw + 1rem, 1.5rem); }
p { color: var(--ink-700); }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
section { padding: 32px 0; }
@media (min-width: 640px) {
  section { padding: 56px 0; }
}
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-green { background: var(--green-900); color: var(--white); }
.section-green h2, .section-green h3 { color: var(--white); }
.section-green p { color: rgba(255,255,255,0.82); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ocre-600);
  margin-bottom: 10px;
}
.section-green .eyebrow { color: var(--gold-400); }
.section-head { max-width: 720px; margin-bottom: 14px; }
@media (min-width: 640px) {
  .section-head { margin-bottom: 36px; }
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.08rem; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ocre-600); color: var(--white); }
.btn-primary:hover { background: var(--ocre-700); box-shadow: var(--shadow-sm); }
.btn-light { background: var(--white); color: var(--green-900); }
.btn-light:hover { background: var(--green-100); }
.btn-outline { background: transparent; border-color: currentColor; color: var(--green-900); }
.btn-outline:hover { background: var(--green-900); color: var(--white); border-color: var(--green-900); }
.section-green .btn-outline { color: var(--white); }
.section-green .btn-outline:hover { background: var(--white); color: var(--green-900); }
.btn-whatsapp { background: #1fa855; color: var(--white); }
.btn-whatsapp:hover { background: #188a45; }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-lg { padding: 18px 38px; font-size: 1.08rem; }

/* ---------- En-tête / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(250, 247, 240, 0.98);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--green-700), var(--green-900));
  color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-family: var(--font-display);
  color: var(--green-900);
  font-size: 1.12rem;
  font-weight: 700;
}
.brand-text span {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ocre-600);
  font-weight: 600;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  z-index: 600;
}
.nav-toggle span {
  width: 26px; height: 2.5px;
  background: var(--green-900);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.main-nav {
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--cream);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 28px 20px 40px;
}
.main-nav.is-open { transform: translateX(0); }
.main-nav ul { display: flex; flex-direction: column; gap: 4px; }
.main-nav a {
  display: block;
  padding: 16px 6px;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--green-900);
  border-bottom: 1px solid var(--line);
}
.main-nav a.is-active { color: var(--ocre-600); }
.main-nav .nav-cta { margin-top: 20px; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .main-nav {
    position: static;
    inset: auto;
    transform: none;
    background: transparent;
    padding: 0;
    overflow: visible;
  }
  .main-nav ul { flex-direction: row; align-items: center; gap: 30px; }
  .main-nav a { border-bottom: none; padding: 6px 0; font-size: 0.98rem; position: relative; }
  .main-nav a::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: -4px;
    height: 2px; background: var(--ocre-600);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.2s ease;
  }
  .main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
  .main-nav .nav-cta { margin-top: 0; }
}

/* Mise en avant du lien "Terrains & programmes" dans la nav */
.main-nav a.nav-highlight { color: var(--ocre-700); font-weight: 700; }
@media (min-width: 960px) {
  .main-nav a.nav-highlight {
    background: var(--ocre-100);
    padding: 7px 16px;
    border-radius: 999px;
  }
  .main-nav a.nav-highlight::after { display: none; }
  .main-nav a.nav-highlight:hover { background: var(--ocre-400); color: var(--white); }
}

/* ---------- Hero ---------- */
.hero {
  padding: 14px 0 16px;
  background: radial-gradient(circle at 85% 0%, var(--green-100), var(--cream) 55%);
}
@media (min-width: 900px) {
  .hero { padding: 48px 0 60px; }
}
.hero-grid {
  display: grid;
  gap: 20px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 50px; }
}
.hero-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 10px 0 14px;
}
@media (min-width: 560px) {
  .hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 30px; }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-800);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 560px) {
  .hero-badge { padding: 9px 14px; font-size: 0.84rem; }
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ocre-600); flex-shrink: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 6px solid var(--white);
  aspect-ratio: 16 / 10;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media (min-width: 900px) {
  .hero-media { aspect-ratio: 16 / 11; }
}
.hero-media-tag {
  position: absolute;
  bottom: 16px; left: 16px;
  background: rgba(11, 58, 42, 0.88);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---------- Bandeau zone d'intervention ---------- */
.zone-banner {
  background: var(--green-900);
  color: var(--white);
  padding: 30px 0;
}
.zone-banner .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 40px;
}
.zone-banner-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(212, 175, 90, 0.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--gold-400);
}
.zone-banner h3 { color: var(--white); margin-bottom: 6px; }
.zone-banner p { color: rgba(255,255,255,0.82); margin: 0; max-width: 780px; }
.zone-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.zone-tag {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
}

/* ---------- Grilles / cartes ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 54px; height: 54px;
  border-radius: var(--radius-sm);
  background: var(--green-100);
  color: var(--green-800);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card-link {
  cursor: pointer;
  border-color: transparent;
}
.card-link:hover { border-color: var(--ocre-400); }
.card-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green-900);
  color: var(--gold-400);
  font-family: var(--font-display);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card ul { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.card ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.94rem;
  color: var(--ink-700);
}
.card ul li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ocre-600);
  margin-top: 8px;
  flex-shrink: 0;
}
.card-more {
  display: inline-block;
  margin-top: 18px;
  font-weight: 700;
  color: var(--ocre-600);
  font-size: 0.92rem;
}

/* Cartes compactes (activités complémentaires) */
.card-compact {
  background: var(--green-100);
  border: 1px solid transparent;
}
.card-compact .card-icon { background: var(--white); }

/* ---------- Confiance / arguments ---------- */
.trust-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.trust-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ocre-100);
  color: var(--ocre-700);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.trust-item p { font-size: 0.92rem; margin: 0; }

/* ---------- Offres (cartes produits) ---------- */
.offer-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.offer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.offer-photo {
  position: relative;
  aspect-ratio: 2 / 1;
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85);
}
@media (min-width: 640px) {
  .offer-photo { aspect-ratio: 4 / 3; }
}
.offer-photo svg { width: 100%; height: 100%; }
.offer-status {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,0.92);
  color: var(--green-900);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
}
.offer-type {
  position: absolute; top: 12px; right: 12px;
  background: var(--ocre-600);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
}
.offer-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
@media (min-width: 640px) {
  .offer-body { padding: 20px; gap: 10px; }
}
.offer-loc { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--ocre-600); }
.offer-title { font-size: 1.1rem; margin: 0; }
.offer-meta { display: flex; gap: 14px; font-size: 0.85rem; color: var(--ink-500); flex-wrap: wrap; }
.offer-price { font-family: var(--font-display); font-size: 1.35rem; color: var(--green-900); font-weight: 700; margin-top: auto; }
.offer-price small { font-family: var(--font-body); font-size: 0.7rem; font-weight: 600; color: var(--ink-500); display: block; }
.offer-footer { display: flex; gap: 10px; padding: 0 20px 20px; }
.offer-footer .btn { flex: 1; }

/* Filtres */
.filters {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 720px) {
  .filters { grid-template-columns: repeat(3, 1fr) auto; align-items: end; }
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.8rem; font-weight: 700; color: var(--green-900); text-transform: uppercase; letter-spacing: 0.03em; }
.field select, .field input {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink-900);
}
.field select:focus, .field input:focus, textarea:focus {
  outline: 2px solid var(--green-600);
  outline-offset: 1px;
}
.results-empty {
  display: none;
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-500);
}
.results-empty.is-visible { display: block; }

/* ---------- Témoignages ---------- */
.testimonial {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.testimonial p { font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green-700);
  color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.92rem; color: var(--green-900); }
.testimonial-author span { font-size: 0.8rem; color: var(--ink-500); }
.stars { color: var(--ocre-600); font-size: 0.9rem; margin-bottom: 10px; }

/* ---------- CTA WhatsApp bloc ---------- */
.cta-block {
  background: linear-gradient(135deg, var(--green-800), var(--green-900));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.cta-block h2 { color: var(--white); }
.cta-block p { color: rgba(255,255,255,0.85); max-width: 560px; }

/* ---------- Schéma chaîne de valeur (a-propos) ---------- */
.chain {
  display: grid;
  gap: 18px;
  counter-reset: step;
}
@media (min-width: 800px) {
  .chain { grid-template-columns: repeat(4, 1fr); }
}
.chain-step {
  position: relative;
  background: var(--white);
  border: 2px solid var(--green-700);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
}
.chain-step .chain-icon {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--green-900);
  color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
}
.chain-step h3 { font-size: 1rem; margin-bottom: 6px; }
.chain-step p { font-size: 0.85rem; margin: 0; }
.chain-arrow {
  display: none;
  position: absolute;
  top: 50%; right: -28px;
  transform: translateY(-50%);
  color: var(--ocre-600);
  font-size: 1.4rem;
}
@media (min-width: 800px) {
  .chain-step:not(:last-child) .chain-arrow { display: block; }
}

.values-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.value-card { text-align: center; padding: 10px; }
.value-card .card-icon { margin: 0 auto 14px; }

/* ---------- Formulaire contact ---------- */
.contact-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; gap: 18px; margin-bottom: 18px; }
@media (min-width: 560px) {
  .form-row.cols-2 { grid-template-columns: 1fr 1fr; }
}
.field textarea { resize: vertical; min-height: 130px; }
.radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--cream);
}
.radio-chip input { position: absolute; opacity: 0; pointer-events: none; }
.radio-chip:has(input:checked) {
  background: var(--green-900);
  color: var(--white);
  border-color: var(--green-900);
}
.field-hint { font-size: 0.78rem; color: var(--ink-500); }
.form-msg {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}
.form-msg.is-success { display: block; background: var(--green-100); color: var(--green-900); }
.form-msg.is-error { display: block; background: #fbe6e2; color: var(--danger); }
.honeypot-field { position: absolute; left: -9999px; opacity: 0; }

.contact-info-list { display: flex; flex-direction: column; gap: 20px; margin: 26px 0; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-item .icon-badge {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--green-100); color: var(--green-800);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-item strong { display: block; color: var(--green-900); }
.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.map-frame iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.82);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 36px;
}
.footer-brand .brand-text strong { color: var(--white); }
.footer-brand p { color: rgba(255,255,255,0.7); margin-top: 14px; font-size: 0.92rem; }
.footer-col h4 { color: var(--white); font-family: var(--font-body); font-size: 0.92rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.92rem; color: rgba(255,255,255,0.78); }
.footer-col a:hover { color: var(--gold-400); }
.footer-badge {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-400);
  border: 1px solid rgba(212,175,90,0.4);
  padding: 6px 12px;
  border-radius: 999px;
}
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
}
.social-row a:hover { background: var(--gold-400); color: var(--green-900); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

/* ---------- Bouton WhatsApp flottant ---------- */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 800;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  color: var(--white);
  animation: pulse 2.4s infinite;
}
.whatsapp-float:hover { background: #1ebe5b; }
@keyframes pulse {
  0% { box-shadow: 0 6px 20px rgba(0,0,0,0.25), 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 6px 20px rgba(0,0,0,0.25), 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 6px 20px rgba(0,0,0,0.25), 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Fil d'ariane / bannière page ---------- */
.page-banner {
  background: linear-gradient(135deg, var(--green-800), var(--green-900));
  color: var(--white);
  padding: 54px 0 46px;
  text-align: center;
}
.page-banner h1 { color: var(--white); }
.page-banner p { color: rgba(255,255,255,0.82); max-width: 640px; margin: 12px auto 0; }
.breadcrumb { font-size: 0.82rem; color: rgba(255,255,255,0.7); margin-bottom: 14px; }
.breadcrumb a { color: var(--gold-400); }

/* ---------- Encarts info (facilités paiement / diaspora) ---------- */
.info-panel {
  background: var(--ocre-100);
  border: 1px solid var(--ocre-400);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.info-panel .icon-badge {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--white); color: var(--ocre-700);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-panel h3 { margin-bottom: 6px; }

/* ---------- Utilitaires ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 0.78rem; font-weight: 600;
  padding: 5px 12px; border-radius: 999px;
  background: var(--green-100); color: var(--green-800);
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--green-900); color: var(--white);
  padding: 12px 18px; z-index: 1000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 20px; text-align: center; }
.stat-row strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--gold-400); }
.stat-row span { font-size: 0.82rem; color: rgba(255,255,255,0.75); }

img[loading="lazy"] { background: var(--green-100); }

/* ---------- Badges statut juridique (offres) ---------- */
.offer-status--titre { background: rgba(255,255,255,0.94); color: var(--green-800); }
.offer-status--bail { background: var(--gold-400); color: var(--green-900); }
.offer-status--deliberation { background: rgba(255,255,255,0.85); color: var(--ink-500); }

.offer-time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--ink-500);
  margin-top: -4px;
}
.offer-time svg { flex-shrink: 0; color: var(--ocre-600); }

/* ---------- Footer : mentions légales ---------- */
.footer-legal {
  text-align: center;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.55);
  padding-top: 14px;
  margin-top: 6px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-legal mark {
  background: rgba(212,175,90,0.22);
  color: var(--gold-400);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
}

/* ---------- FAQ (details/summary) ---------- */
.faq-group { margin-bottom: 36px; }
.faq-group h2 { margin-bottom: 18px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--green-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--ocre-600);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 22px 20px;
  margin: 0;
}

/* ---------- Témoignage vidéo (lite embed) ---------- */
.video-testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.video-lite {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--green-900);
  cursor: pointer;
  overflow: hidden;
}
.video-lite img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.85;
}
.video-lite .play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(11,58,42,0.82);
  border: 2px solid rgba(255,255,255,0.85);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: transform 0.2s ease, background 0.2s ease;
}
.video-lite:hover .play-btn { transform: translate(-50%, -50%) scale(1.08); background: var(--ocre-600); }
.video-lite iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-caption { padding: 16px 20px; }
.video-caption strong { color: var(--green-900); display: block; font-size: 0.94rem; }
.video-caption span { font-size: 0.82rem; color: var(--ink-500); }

/* ---------- Réalisations (offres) ---------- */
.realized-badge { background: var(--gold-400); color: var(--green-900); }
