/* ============================================================
   iResidence — Édifice 2.0 · ACM Authentique (v3)
   Version 3.0 · Mai 2026
   Auteur : Claude × Alain Giguère
   ============================================================

   Direction visuelle (v3) : reproduction fidèle de l'aesthetic
   ACM (iresidence.ca/acm). Mode sombre profond, or chaud
   vibrant comme accent principal, typographie Cormorant
   Garamond avec signature italique-or sur les mots-clés.

   Pivot par rapport à v2 :
   - Mode sombre (blanc → noir profond)
   - Or chaud vibrant beaucoup plus présent (vs accent discret)
   - Italique or dans les titres serif (signature ACM)
   - Chiffres éditoriaux géants pour les métriques
   - Cartes surface légèrement plus claires que le fond
   - Filtres/selects en charbon profond avec or au focus

   Palette v3 :
   - Bleu petrole sombre plus visible #0d1721 (fond principal)
   - Surface bleutee #16202b (cartes, blocs)
   - Surface plus claire #1f2a37 (filtres, inputs)
   - Crème chaud #f5f0e3 (texte principal)
   - Gris medium #a8a39a (texte secondaire)
   - Gris discret #6a6660 (texte tertiaire)
   - Bordures discrètes #2a2826
   - Or chaud principal #c89545 (accent dominant)
   - Or brillant #e0b35d (hover, focus)
   - Or crème #d4b574 (italique-or des titres)
   - Or sombre #8a6932 (éléments secondaires)

   Typographie :
   - Titres : Cormorant Garamond (500, 600 + italique)
   - Corps : Inter (400, 500, 600)
   ============================================================ */


/* ============================================================
   1. RESET & BASE
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--color-bg);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--color-accent-bright);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}


/* ============================================================
   2. DESIGN TOKENS
   ============================================================ */

:root {
  /* Couleurs — palette dark ACM */
  --color-bg: #0d1721;
  --color-surface: #16202b;
  --color-surface-2: #1f2a37;
  --color-text: #f5f0e3;
  --color-text-secondary: #a8a39a;
  --color-text-tertiary: #6a6660;
  --color-border: #2a2826;
  --color-border-strong: #3d3a36;
  --color-accent: #c89545;
  --color-accent-bright: #e0b35d;
  --color-accent-soft: #d4b574;
  --color-accent-dim: #8a6932;

  /* Typographie */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Espacement (généreux) */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-xxl: 9rem;

  /* Layout */
  --max-width: 1200px;
  --gutter: 2rem;
  --radius-sm: 2px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}


/* ============================================================
   3. TYPOGRAPHIE
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 0;
  line-height: 1.0;
}

h1 em,
h2 em,
h3 em {
  font-style: italic;
  color: var(--color-accent-soft);
  font-weight: 500;
}

h2 {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 500;
  margin: 0;
  line-height: 1.15;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 500;
  margin: var(--space-md) 0 var(--space-xs);
  font-family: var(--font-display);
  letter-spacing: 0;
  color: var(--color-text);
}

.subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-style: italic;
  font-weight: 400;
  color: var(--color-text-secondary);
  margin: var(--space-md) 0 var(--space-lg);
  line-height: 1.4;
  max-width: 60ch;
}

.subtitle em {
  font-style: italic;
  color: var(--color-accent-soft);
}

p {
  margin: 0 0 var(--space-sm);
  max-width: 68ch;
  color: var(--color-text);
}

strong, b {
  font-weight: 600;
  color: var(--color-text);
}

em, i {
  font-style: italic;
}

ul, ol {
  margin: 0 0 var(--space-sm) 1.25rem;
  max-width: 68ch;
}

li {
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

/* Overline / Label en petites capitales or — signature ACM */
.overline,
.label-cap,
.fact-box dt,
form legend,
.page-nav a,
th,
.breadcrumb,
.section-overline {
  font-family: var(--font-body);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: var(--color-accent);
}

.section-overline {
  display: block;
  margin-bottom: var(--space-sm);
}

/* ============================================================
   PAGE MERCI — confirmation après formulaire V3
   ============================================================ */
.merci-page {
  max-width: 620px;
  margin: var(--space-xl) auto var(--space-xxl);
  text-align: center;
  padding: 0 var(--space-md);
}
.merci-icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  margin-bottom: var(--space-md);
  color: var(--color-accent);
  border: 1px solid rgba(200, 149, 69, 0.35);
  border-radius: 50%;
  background: rgba(200, 149, 69, 0.06);
  box-shadow:
    0 0 32px rgba(200, 149, 69, 0.22),
    inset 0 0 18px rgba(200, 149, 69, 0.08);
}
.merci-icone svg {
  width: 38px;
  height: 38px;
}
.merci-titre {
  font-family: var(--font-display) !important;
  font-size: clamp(2rem, 4.5vw, 3rem) !important;
  font-weight: 500 !important;
  color: var(--color-text) !important;
  margin: 0 0 3rem !important;
  line-height: 1.15 !important;
  padding-bottom: 0.5rem !important;
}
.merci-sous {
  font-family: var(--font-display) !important;
  font-style: italic !important;
  font-size: 1.2rem !important;
  color: var(--color-accent-soft) !important;
  margin: 2rem auto var(--space-md) !important;
  max-width: 30em !important;
  padding-top: 1rem !important;
  border-top: 1px solid rgba(200, 149, 69, 0.18) !important;
}
.merci-detail {
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 auto var(--space-lg);
  max-width: 32em;
}
.merci-contact {
  color: var(--color-text-tertiary);
  font-size: 0.92rem;
  margin: 0 auto var(--space-lg);
  max-width: 36em;
}
.merci-contact a {
  color: var(--color-accent);
}
.merci-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  justify-content: center;
  margin-top: var(--space-md);
}
.cta-merci {
  display: inline-block;
  text-align: center;
  padding: 0.95rem 1.8rem !important;
  border-radius: 10px;
  text-decoration: none !important;
  min-width: 240px;
}
@media (max-width: 520px) {
  .merci-actions { flex-direction: column; gap: 0.9rem; }
  .cta-merci { width: 100%; min-width: 0; }
}

/* Icones de section — style ACM (outline or + halo doux) */
.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--space-sm);
  color: var(--color-accent);
  background: rgba(200, 149, 69, 0.05);
  border: 1px solid rgba(200, 149, 69, 0.25);
  border-radius: 50%;
  box-shadow:
    0 0 24px rgba(200, 149, 69, 0.18),
    inset 0 0 12px rgba(200, 149, 69, 0.06);
}
.section-icon svg {
  width: 26px;
  height: 26px;
}
.capture-block .section-icon {
  margin-bottom: var(--space-xs);
}


/* ============================================================
   4. LAYOUT
   ============================================================ */

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-md) var(--gutter);
  background: var(--color-bg);
}

@media (min-width: 768px) {
  main {
    padding: var(--space-lg) var(--gutter);
  }
}


/* ============================================================
   5. SKIP LINK
   ============================================================ */

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-accent);
  color: var(--color-bg);
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}


/* ============================================================
   6. SITE HEADER PLACEHOLDER
   ============================================================ */

header[role="banner"] {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}

header[role="banner"] > p {
  text-align: center;
  padding: 0.75rem var(--gutter);
  margin: 0;
  font-size: 0.78rem;
  color: var(--color-text-tertiary);
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}


/* ============================================================
   7. STICKY CTA — sombre, refined, accent or
   ============================================================ */

.sticky-cta {
  background: var(--color-bg);
  color: var(--color-text);
  padding: 0.85rem var(--gutter);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
}

.sticky-cta form {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.sticky-cta label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-accent);
}

.sticky-cta input[type="email"] {
  flex: 1;
  min-width: 220px;
  height: 44px;
  padding: 0 0.9rem;
  border: 1px solid var(--color-border-strong);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--color-surface-2);
  color: var(--color-text);
}

.sticky-cta input[type="email"]::placeholder {
  color: var(--color-text-tertiary);
}

.sticky-cta input[type="email"]:focus {
  outline: none;
  border-color: var(--color-accent);
}

/* Sélecteur avec spécificité renforcée ([type="submit"]) pour
   l'emporter sur la règle générique "form button[type=submit]"
   qui imposait sinon un margin-top et un padding indésirables. */
.sticky-cta button[type="submit"] {
  height: 44px;
  margin: 0;
  padding: 0 1.4rem;
  background: var(--color-accent);
  color: var(--color-bg);
  border: 1px solid var(--color-accent);
  border-radius: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.sticky-cta button[type="submit"]:hover {
  background: var(--color-accent-bright);
  border-color: var(--color-accent-bright);
}


/* ============================================================
   8. BREADCRUMB
   ============================================================ */

.breadcrumb {
  font-size: 0.72rem;
  color: var(--color-text-tertiary);
  margin: var(--space-md) 0 var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.breadcrumb li::after {
  content: "—";
  color: var(--color-text-tertiary);
  padding-left: 0.5rem;
  font-weight: 300;
}

.breadcrumb li:last-child::after {
  content: "";
}

.breadcrumb a {
  color: var(--color-text-tertiary);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.breadcrumb [aria-current="page"] {
  color: var(--color-accent);
}


/* ============================================================
   9. HERO — éditorial, sombre, grand
   ============================================================ */

/* ============================================================
   HERO IMMERSIF (Direction B) — image en fond + texte superpose
   ============================================================
   Le hero occupe quasi tout l'ecran initial. La photo de l'edifice
   est le fond (background-image inline via PHP). Un double degrade
   sombre garantit la lisibilite du texte sans masquer la facade.
   Le contenu (breadcrumb, overline, h1, sous-titre, CTAs) est
   superpose dans un wrapper .hero-contenu positionne en z-index 2. */
.hero {
  position: relative;
  margin: calc(-1 * var(--space-md)) calc(-1 * var(--gutter, 1.25rem)) 0;
  padding: 0;
  border-bottom: 1px solid rgba(200, 149, 69, 0.18);
  background-color: #0d1721;
  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;
  overflow: hidden;
  isolation: isolate;
}

.hero.hero-immersif {
  min-height: 72vh;
  display: flex;
  align-items: stretch;
  background-position: center 65%;
  /* Halo dore EXTERIEUR (irradie vers la droite du hero) */
  box-shadow: 6px 0 30px -4px rgba(200, 149, 69, 0.45);
}

/* Overlay TRES ALLEGE + BORDURE OR PORTEE PAR L'OVERLAY LUI-MEME.
   Pourquoi sur l'overlay : c'est un VRAI element du DOM (pas un
   pseudo), positionne en absolute inset: 0 z-index: 1, donc sa
   border-left est garantie d'etre peinte au-dessus de l'image
   de fond — aucune regle legacy ne peut masquer ce trait.
   On y resout aussi l'effet "image sombre" en allegeant les
   gradients (cote droit quasi transparent). */
/* Overlay style "couverture magazine" : volet bleu petrole solide
   a gauche, puis transition douce vers transparent. La bordure or
   est positionnee via un pseudo-element a la frontiere droite du
   volet bleu (a 14% du hero), pas a son extreme bord. Elle vit donc
   ENTOUREE de bleu, comme un filet decoratif. */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      #0d1721 0%,
      #0d1721 14%,
      rgba(13, 23, 33, 0.65) 30%,
      rgba(13, 23, 33, 0.25) 55%,
      rgba(13, 23, 33, 0.05) 100%),
    linear-gradient(180deg,
      rgba(13, 23, 33, 0.12) 0%,
      rgba(13, 23, 33, 0.00) 55%,
      rgba(13, 23, 33, 0.28) 100%);
  pointer-events: none;
}

/* Bordure or decoratif INTEGREE dans le volet bleu.
   Positionnee a 3% du hero (le volet bleu solide va jusqu'a 14%),
   donc encerclee de bleu petrole : fine marge bleue a gauche du
   trait, large zone bleue a droite avant la transition vers l'image.
   Trait fin avec degrade vertical et halo doux. */
.hero-overlay::before {
  content: '';
  position: absolute;
  left: 3%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg,
    rgba(200, 149, 69, 0) 0%,
    rgba(200, 149, 69, 0.55) 18%,
    var(--color-accent) 45%,
    var(--color-accent) 60%,
    rgba(200, 149, 69, 0.55) 82%,
    rgba(200, 149, 69, 0) 100%);
  box-shadow: 6px 0 28px 0 rgba(200, 149, 69, 0.40);
  pointer-events: none;
}

.hero-contenu {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--space-md) var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6rem;
  transform: translateY(-25px);
}

/* La fact-box quand elle suit le hero ou le menu page-nav :
   resserrement de l'espace vertical pour eliminer la bande noire morte */
.hero.hero-immersif + .fact-box,
.page-nav + .fact-box {
  margin-top: 0;
  padding-top: var(--space-md);
}

/* Breadcrumb DANS le hero — couleurs adaptees au fond image */
.hero-contenu .breadcrumb {
  margin: 0 0 var(--space-md);
  padding: 0;
  background: transparent;
}
.hero-contenu .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5em;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-contenu .breadcrumb li {
  color: #cccccc;
}
.hero-contenu .breadcrumb li::after {
  content: '—';
  margin-left: 0.5em;
  color: #555;
}
.hero-contenu .breadcrumb li:last-child::after {
  content: '';
}
.hero-contenu .breadcrumb li[aria-current="page"] {
  color: var(--color-accent);
}
.hero-contenu .breadcrumb a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.2s ease;
}
.hero-contenu .breadcrumb a:hover {
  color: var(--color-accent);
}

.hero-contenu .overline {
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.hero-contenu h1 {
  margin: 0 0 0.8rem;
  color: #ffffff;
  max-width: 14em;
}

/* Italique-or du h1 du hero un cran plus chaud/marque que ailleurs */
.hero-contenu h1 em {
  color: var(--color-accent);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

.hero-contenu .subtitle {
  max-width: 36em;
  color: #ececec;
  margin-bottom: var(--space-md);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.55);
}

/* CTA hero remonte de 12px supplementaires (test fin) */
.hero-contenu .hero-cta {
  margin-top: -12px;
}

/* ============================================================
   MINI STATS STRIP — 5 chiffres-cles directement sur l'image
   ============================================================
   Une bande compacte sous les CTAs, qui presente les stats les
   plus parlantes (transactions, prix au pc, prix median, delai,
   ratio). Format minimaliste : valeur en or + etiquette blanche.
   La version complete (avec meta) reste plus bas dans la section
   Marche. */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
  margin-top: var(--space-md);
  padding: 1rem 0 0.2rem;
  border-top: 1px solid rgba(200, 149, 69, 0.22);
  max-width: 880px;
}
a.hero-stat {
  text-align: center;
  padding: 0 0.6rem;
  display: block;
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.25s ease;
  cursor: pointer;
}
a.hero-stat:hover {
  transform: translateY(-2px);
  text-decoration: none !important;
}
.hero-stat-valeur {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-accent);
  text-shadow: 0 0 14px rgba(200, 149, 69, 0.35);
  margin-bottom: 0.3rem;
  white-space: nowrap;
  transition: text-shadow 0.25s ease, color 0.25s ease;
}
a.hero-stat:hover .hero-stat-valeur {
  color: var(--color-accent-bright);
  text-shadow: 0 0 18px rgba(200, 149, 69, 0.55);
}
.hero-stat-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e6e6e6;
  line-height: 1.3;
  opacity: 0.92;
}
.hero-stat-ast {
  color: var(--color-accent);
  font-size: 0.85em;
  margin-left: 0.1em;
  opacity: 0.85;
  font-weight: 700;
  vertical-align: super;
  line-height: 0;
}
a.hero-stat:hover .hero-stat-ast {
  opacity: 1;
  color: var(--color-accent-bright);
}
.hero-stat-sep {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom,
    rgba(200, 149, 69, 0) 0%,
    rgba(200, 149, 69, 0.35) 50%,
    rgba(200, 149, 69, 0) 100%);
}

/* Mobile : passage en 2 lignes avec 3 stats + 2 stats */
@media (max-width: 720px) {
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem 0;
  }
  .hero-stat-sep { display: none; }
  .hero-stat { padding: 0.4rem 0; }
  .hero-stat-valeur { font-size: 1.25rem; }
  .hero-stat-label { font-size: 0.6rem; }
}

/* Sur ecran tres large : eviter que le contenu s'etire trop */
@media (min-width: 1100px) {
  .hero-contenu { padding-left: clamp(var(--space-lg), 6vw, 5rem); padding-right: clamp(var(--space-lg), 6vw, 5rem); }
  .hero.hero-immersif { min-height: 76vh; }
}

/* Mobile : reduire la hauteur, accentuer l'overlay pour lisibilite */
@media (max-width: 720px) {
  .hero.hero-immersif { min-height: 92vh; }
  .hero-overlay {
    background:
      linear-gradient(180deg,
        rgba(10, 10, 10, 0.65) 0%,
        rgba(10, 10, 10, 0.55) 40%,
        rgba(10, 10, 10, 0.8) 100%);
  }
}


/* ============================================================
   10. FACT BOX — éditorial, type "strip métriques ACM"
   ============================================================
   Mise en valeur des chiffres-clés sous le hero, façon
   bande horizontale avec labels or et valeurs serif claires.
*/

.fact-box {
  background: transparent;
  border-top: 1px solid var(--color-border);
  padding: var(--space-md) 0 var(--space-md);
  border-radius: 0;
  margin: var(--space-md) 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .fact-box {
    grid-template-columns: 180px 1fr;
    column-gap: var(--space-lg);
    row-gap: var(--space-md);
  }
}

.fact-box dt {
  align-self: start;
  padding-top: 0.2rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: var(--color-accent);
}

.fact-box dd {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
}

@media (max-width: 767px) {
  .fact-box dd {
    margin-top: -0.5rem;
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
    font-size: 1.05rem;
  }
  .fact-box dd:last-of-type { border-bottom: 0; }
}


/* ============================================================
   11. HERO CTAs — type "outlined block"
   ============================================================ */

.hero-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: var(--space-lg) 0 0;
  max-width: 880px;
}
.hero-cta .cta-primary {
  grid-column: 1 / -1;
}

.hero-cta a {
  padding: 0.95rem 1.75rem;
  border-radius: 0;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: all 0.25s var(--ease);
  font-family: var(--font-body);
}

.cta-primary {
  background: var(--color-accent);
  color: var(--color-bg) !important;
  border: 1px solid var(--color-accent);
}

.cta-primary:hover {
  background: var(--color-accent-bright);
  border-color: var(--color-accent-bright);
  text-decoration: none !important;
  color: var(--color-bg) !important;
}

.cta-secondary {
  background: transparent;
  color: var(--color-text) !important;
  border: 1px solid var(--color-border-strong);
  text-decoration: none !important;
}

.cta-secondary:hover {
  background: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent) !important;
}

/* ============================================================
   CTA HERO « BIJOU SOMBRE »
   ============================================================
   Fond noir profond, bordure or fine, coins arrondis, halo doré
   diffus autour. Deux lignes séparées par un trait or fin :
   compteur d'inscriptions en haut, libellé d'action en bas avec
   le mot-pivot « inscriptions » en or franc. Au hover, le halo
   s'intensifie et le bouton lévite. */
.cta-avec-compteur.cta-primary {
  background: #0d1721;
  border: 1px solid var(--color-accent);
  border-radius: 14px;
  padding: 1.05rem 2.4rem 1.15rem;
  color: #ffffff !important;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow:
    0 0 0 1px rgba(200, 149, 69, 0.15),
    0 8px 30px rgba(200, 149, 69, 0.18),
    0 0 60px 12px rgba(200, 149, 69, 0.12),
    inset 0 0 22px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: visible;
}
.cta-avec-compteur.cta-primary:hover {
  background: #0d1721 !important;
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(200, 149, 69, 0.3),
    0 12px 40px rgba(200, 149, 69, 0.35),
    0 0 90px 20px rgba(200, 149, 69, 0.22),
    inset 0 0 28px rgba(0, 0, 0, 0.55);
}

/* Ligne 1 — compteur, séparée de la ligne 2 par un filet or */
.cta-avec-compteur .cta-chiffres {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1.2rem;
  font-family: var(--font-body);
  width: 100%;
  padding-bottom: 0.9rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(200, 149, 69, 0.32);
}
.cta-avec-compteur .cta-pair {
  display: inline-flex;
  align-items: baseline;
  gap: 0.42rem;
  animation: ctaPulse 2.8s ease-in-out infinite;
}
.cta-avec-compteur .cta-pair:nth-child(3) {
  animation-delay: 1.4s;
}
.cta-avec-compteur .cta-num {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-accent);
  text-shadow: 0 0 12px rgba(200, 149, 69, 0.55);
  line-height: 1;
}
.cta-avec-compteur .cta-mot {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  color: #f5ede0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}
.cta-avec-compteur .cta-sep {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-accent);
  opacity: 0.55;
  align-self: center;
}

/* Ligne 2 — libellé d'action avec mot-pivot en or */
.cta-avec-compteur .cta-libelle {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  white-space: nowrap;
}
.cta-avec-compteur .cta-mot-cle {
  font-style: normal;
  font-weight: 700;
  color: var(--color-accent);
  text-shadow: 0 0 12px rgba(200, 149, 69, 0.5);
}

@keyframes ctaPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.78; }
}

/* Pas d'animation pour qui le demande */
@media (prefers-reduced-motion: reduce) {
  .cta-avec-compteur .cta-pair { animation: none; }
}

/* ============================================================
   CTAs SECONDAIRES PREMIUM — icône dans cercle or + texte
   ============================================================
   Même famille visuelle que le primary (fond noir, bordure or,
   coins arrondis, halo doré) mais halo plus discret pour
   préserver la hiérarchie. */
.cta-secondary-premium {
  background: #0d1721 !important;
  border: 1px solid var(--color-accent) !important;
  border-radius: 14px;
  padding: 1.35rem 1.55rem !important;
  display: inline-flex !important;
  align-items: center;
  gap: 0.95rem;
  text-decoration: none !important;
  color: #ffffff !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  box-shadow:
    0 0 0 1px rgba(200, 149, 69, 0.08),
    0 4px 18px rgba(200, 149, 69, 0.06),
    0 0 40px 8px rgba(200, 149, 69, 0.05),
    inset 0 0 18px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.25s ease;
}
.cta-secondary-premium .cta-arrow {
  margin-left: auto;
  font-size: 1.05rem;
  color: var(--color-accent);
  transition: transform 0.25s ease, color 0.25s ease;
}
.cta-secondary-premium:hover .cta-arrow {
  transform: translateX(4px);
  color: var(--color-accent-bright);
}
.cta-secondary-premium:hover {
  transform: translateY(-2px);
  background: #0d1721 !important;
  border-color: var(--color-accent-bright) !important;
  color: #ffffff !important;
  box-shadow:
    0 0 0 1px rgba(200, 149, 69, 0.22),
    0 8px 26px rgba(200, 149, 69, 0.18),
    0 0 55px 12px rgba(200, 149, 69, 0.1),
    inset 0 0 22px rgba(0, 0, 0, 0.45);
}
.cta-secondary-premium .cta-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
  background: rgba(200, 149, 69, 0.06);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.cta-secondary-premium:hover .cta-icon {
  background: rgba(200, 149, 69, 0.14);
  border-color: var(--color-accent-bright);
}
.cta-secondary-premium .cta-icon svg {
  width: 18px;
  height: 18px;
}
.cta-secondary-premium .cta-secondary-libelle {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: left;
  line-height: 1.3;
  color: #ffffff;
}

/* Empilement vertical sur mobile pour les 3 CTAs du hero */
@media (max-width: 720px) {
  .hero-cta { grid-template-columns: 1fr; }
  .hero-cta .cta-primary { grid-column: 1; }
  .hero-cta > a { justify-content: center; }
}

/* Bouton-lien réutilisable (liens stylés en bouton, ex. Calendly) */
.btn-link {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  text-decoration: none !important;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 0;
  transition: all 0.25s var(--ease);
}

.btn-link.cta-primary {
  background: var(--color-accent);
  color: var(--color-bg) !important;
  border: 1px solid var(--color-accent);
}

.btn-link.cta-primary:hover {
  background: var(--color-accent-bright);
  border-color: var(--color-accent-bright);
  color: var(--color-bg) !important;
}


/* ============================================================
   12. PAGE NAV — typographique, sticky-like
   ============================================================ */

/* ============================================================
   PAGE-NAV PREMIUM avec diamant or central + halo dore rayonnant
   ============================================================
   Conteneur ornemental sticky : forme arrondie, bordure or fine,
   diamant or chevauchant le bord superieur, halos doux au-dessus
   et en dessous. Quand colle en haut (.is-stuck applique par JS),
   l'ornement (halo + diamant) s'estompe doucement pour ne pas
   distraire pendant la lecture. */
.page-nav-sentinel {
  height: 1px;
  width: 100%;
  pointer-events: none;
}

.page-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  margin: var(--space-md) auto;
  max-width: 920px;
  padding: 1rem 2rem;
  background: rgba(13, 23, 33, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(200, 149, 69, 0.55);
  border-radius: 28px;
  box-shadow:
    0 -22px 50px -18px rgba(200, 149, 69, 0.32),
    0 22px 50px -22px rgba(200, 149, 69, 0.22),
    0 0 0 1px rgba(200, 149, 69, 0.08);
  transition:
    box-shadow 0.5s ease,
    border-color 0.4s ease,
    background 0.4s ease;
}

/* Diamant or chevauchant le bord superieur du menu */
.page-nav-diamant {
  position: absolute;
  top: -8px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: #0d1721;
  border: 1px solid var(--color-accent);
  transform: translateX(-50%) rotate(45deg);
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 2;
}

/* Nouvelle structure : <a> directs dans un <div>, pas de ul/li,
   pour echapper aux regles legacy "nav ul li {...}" du site. */
.page-nav-links {
  text-align: center;
  width: 100%;
  line-height: 1.9;
}

.page-nav-links a {
  display: inline-block;
  padding: 0.15rem 1rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: #d4d4d4;
  line-height: 1;
  vertical-align: middle;
  border-left: 1px solid rgba(200, 149, 69, 0.28);
  transition: color 0.2s ease;
}
.page-nav-links a:last-child {
  border-right: 1px solid rgba(200, 149, 69, 0.28);
}
.page-nav-links a:hover {
  color: var(--color-accent-bright);
  text-decoration: none;
}

.page-nav a {
  text-decoration: none;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: #d4d4d4;
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}

.page-nav a:hover {
  color: var(--color-accent-bright);
  text-decoration: none;
}

/* Mode STICKY — l'ornement s'estompe pour ne pas distraire au scroll.
   La barre reste visible mais devient plus discrete (halo eteint,
   diamant invisible, bordure plus sobre). Active par JS via la
   classe .is-stuck quand le sentinel sort du viewport. */
.page-nav.is-stuck {
  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(200, 149, 69, 0.1);
  border-color: rgba(200, 149, 69, 0.28);
  background: rgba(13, 23, 33, 0.95);
}
.page-nav.is-stuck .page-nav-diamant {
  opacity: 0;
  transform: translateX(-50%) rotate(45deg) scale(0.6);
}

@media (max-width: 720px) {
  .page-nav {
    border-radius: 18px;
    padding: 0.85rem 1rem;
    margin-left: var(--space-sm);
    margin-right: var(--space-sm);
  }
  .page-nav li {
    padding: 0.2rem 0.6rem;
    border-left-width: 1px;
  }
  .page-nav a { font-size: 0.62rem; letter-spacing: 0.12em; }
}


/* ============================================================
   13. SECTION ACCORDIONS — refined, accent or
   ============================================================ */

details.section {
  margin: 0;
  padding: var(--space-md) 0 var(--space-sm);
  border-top: 1px solid var(--color-border);
}

details.section > summary {
  cursor: pointer;
  list-style: none;
  padding: var(--space-sm) 0;
  user-select: none;
  position: relative;
  transition: padding 0.2s var(--ease);
}

details.section > summary::-webkit-details-marker {
  display: none;
}

details.section > summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--color-accent);
  transition: all 0.25s var(--ease);
  line-height: 0.5;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

details.section[open] > summary::after {
  content: "−";
  color: var(--color-accent-bright);
}

details.section > summary:hover::after {
  color: var(--color-accent-bright);
}

details.section > summary h2 {
  display: inline-block;
  padding-right: 3rem;
  transition: color 0.2s var(--ease);
}

details.section > summary:hover h2 {
  color: var(--color-accent-soft);
}

.section-content {
  padding: var(--space-md) 0 var(--space-md);
  animation: fadeIn 0.4s ease;
  max-width: 75ch;
}

.section-content table,
.section-content .gallery-grid,
.section-content .map-embed,
.section-content .video-embed,
.section-content .stats-strip {
  max-width: none;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


/* ============================================================
   14. SECTIONS TOUJOURS VISIBLES
   ============================================================ */

.always-visible {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-border);
}

.always-visible h2 {
  display: block;
  margin: 0 0 var(--space-md);
}


/* ============================================================
   15. AGENT CARD — type "signature en bas de document"
   ============================================================ */

.agent-card {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  background: transparent;
  padding: var(--space-md) 0;
  border-radius: 0;
  margin: var(--space-lg) 0 0;
  border: 0;
  border-top: 1px solid var(--color-border);
}

.agent-card img {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  filter: grayscale(0.15);
  border: 1px solid var(--color-border-strong);
}

.agent-card > div {
  font-size: 0.95rem;
  line-height: 1.6;
}

.agent-card strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  display: block;
  margin-bottom: 0.15rem;
  color: var(--color-text);
}

.agent-card a {
  color: var(--color-text-secondary);
  font-weight: 400;
  text-decoration: none;
}

.agent-card a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}


/* ============================================================
   16. TABLES — minimales, type document
   ============================================================ */

table {
  border-collapse: collapse;
  width: 100%;
  margin: var(--space-md) 0;
  font-size: 0.95rem;
}

thead {
  border-bottom: 1px solid var(--color-accent-dim);
}

th {
  text-align: left;
  padding: 0.85rem 0;
  padding-right: var(--space-md);
  color: var(--color-accent);
}

td {
  padding: 1rem 0;
  padding-right: var(--space-md);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

tbody tr:hover {
  background: rgba(200, 149, 69, 0.04);
}


/* ============================================================
   17. DATA TIMESTAMP
   ============================================================ */

.data-timestamp {
  background: var(--color-surface);
  border: 0;
  border-left: 2px solid var(--color-accent);
  padding: 0.85rem var(--space-md);
  margin: var(--space-md) 0;
  border-radius: 0;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  font-style: italic;
}

.data-timestamp time {
  font-weight: 600;
  color: var(--color-accent);
  font-style: normal;
}


/* ============================================================
   18. PLACEHOLDERS (dev)
   ============================================================ */

.placeholder {
  background: var(--color-surface);
  padding: var(--space-md);
  text-align: center;
  color: var(--color-text-tertiary);
  border-radius: 0;
  margin: var(--space-md) 0;
  font-style: italic;
  font-size: 0.9rem;
  border: 1px dashed var(--color-border-strong);
}


/* ============================================================
   19. STATS STRIP — chiffres éditoriaux géants (signature ACM)
   ============================================================
   Pour la section "Marché en chiffres", chiffres énormes en or
   serif, labels en petites capitales gold.
*/

.stats-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  margin: var(--space-md) 0;
}

@media (min-width: 540px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .stats-strip { grid-template-columns: repeat(5, 1fr); }
}

.stats-strip > .stat {
  background: var(--color-surface);
  padding: var(--space-md);
}

.stats-strip .stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 500;
  color: var(--color-accent);
  line-height: 1.05;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.stats-strip .stat-number .unit {
  font-family: var(--font-body);
  font-size: 0.42em;
  color: #d8c89a;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-left: 0.35em;
  vertical-align: middle;
  white-space: nowrap;
}

.stats-strip .stat-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-top: var(--space-sm);
  line-height: 1.4;
}

.stats-strip .stat-meta {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--color-text-tertiary);
  margin-top: 0.5rem;
}


/* ============================================================
   20. CAPTURE BLOCKS — sombres, refined
   ============================================================ */

.capture-block {
  background: var(--color-surface);
  border: 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-lg) var(--space-md);
  margin: var(--space-md) 0;
  border-radius: 0;
}

.capture-block.cta-primary-block {
  background: var(--color-bg);
  border: 1px solid var(--color-accent-dim);
  padding: var(--space-lg) var(--space-md);
  color: var(--color-text);
}

.capture-block.cta-primary-block h3 {
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  margin-top: 0;
}

.capture-block.cta-primary-block p {
  color: var(--color-text-secondary);
}

.capture-block.cta-primary-block a {
  color: var(--color-accent);
}

.capture-block.cta-primary-block a:hover {
  color: var(--color-accent-bright);
}

.capture-block.cta-primary-block .cta-primary {
  background: var(--color-accent);
  color: var(--color-bg) !important;
  border-color: var(--color-accent);
}

.capture-block.cta-primary-block .cta-primary:hover {
  background: var(--color-accent-bright);
  border-color: var(--color-accent-bright);
}

.capture-block h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin: 0 0 var(--space-xs);
  font-weight: 500;
  color: var(--color-text);
}

.capture-block p {
  margin: 0 0 var(--space-sm);
  max-width: 60ch;
  color: var(--color-text-secondary);
}


/* ============================================================
   21. FORMS — sombres, signature ACM
   ============================================================ */

form fieldset {
  border: 0;
  border-top: 1px solid var(--color-border);
  padding: var(--space-md) 0;
  border-radius: 0;
  margin: var(--space-sm) 0;
  background: transparent;
}

form legend {
  padding: 0 0.75rem 0 0;
  background: transparent;
  color: var(--color-accent);
}

form .field {
  margin: var(--space-sm) 0;
  display: flex;
  flex-direction: column;
}

form label {
  font-weight: 500;
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-tertiary);
}

form input,
form select,
form textarea {
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--color-border-strong);
  border-radius: 0;
  font-size: 0.95rem;
  font-family: var(--font-body);
  background: var(--color-surface-2);
  color: var(--color-text);
  transition: border-color 0.2s var(--ease);
}

form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c89545' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(200, 149, 69, 0.15);
}

form input::placeholder,
form textarea::placeholder {
  color: var(--color-text-tertiary);
}

form textarea {
  resize: vertical;
  min-height: 80px;
}

form .row {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

form .row .field {
  flex: 1;
  min-width: 200px;
  margin: var(--space-sm) 0 0;
}

form .row + .row {
  margin-top: var(--space-sm);
}

form button[type="submit"] {
  background: var(--color-accent);
  color: var(--color-bg);
  padding: 0.95rem 2rem;
  border: 0;
  border-radius: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  margin-top: var(--space-md);
  transition: background 0.2s var(--ease);
}

form button[type="submit"]:hover {
  background: var(--color-accent-bright);
}


/* ============================================================
   22. FAQ — épurée, sombre
   ============================================================ */

.faq-item {
  margin: 0;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
}

.faq-item:first-of-type {
  border-top: 1px solid var(--color-border);
}

.faq-item > summary {
  cursor: pointer;
  padding: var(--space-xs) 2.5rem var(--space-xs) 0;
  list-style: none;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--color-text);
  position: relative;
  transition: color 0.2s var(--ease);
  font-family: var(--font-body);
}

.faq-item > summary::-webkit-details-marker {
  display: none;
}

.faq-item > summary:hover {
  color: var(--color-accent);
}

.faq-item > summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--color-text-tertiary);
  transition: all 0.2s var(--ease);
  line-height: 1;
}

.faq-item[open] > summary::after {
  content: "−";
  color: var(--color-accent);
}

.faq-item[open] > summary {
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.faq-item p {
  color: var(--color-text-secondary);
  margin: 0 0 var(--space-xs);
  padding: 0 2.5rem 0 0;
  font-size: 0.95rem;
  line-height: 1.7;
  animation: fadeIn 0.3s ease;
}

/* "Voir plus" — questions FAQ supplémentaires repliées */
.faq-more {
  margin-top: var(--space-md);
}

.faq-more > summary {
  cursor: pointer;
  list-style: none;
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border: 1px solid var(--color-border-strong);
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  transition: all 0.2s var(--ease);
}

.faq-more > summary::-webkit-details-marker { display: none; }

.faq-more > summary:hover {
  border-color: var(--color-accent);
  background: rgba(200, 149, 69, 0.06);
}

/* Bascule du libellé Voir / Masquer en CSS pur */
.faq-more .more-hide { display: none; }
.faq-more[open] .more-show { display: none; }
.faq-more[open] .more-hide { display: inline; }

.faq-more[open] > summary {
  margin-bottom: var(--space-sm);
}

.faq-more-content {
  animation: fadeIn 0.4s ease;
}


/* ============================================================
   23. GALLERY — grille sobre, séparateurs subtils
   ============================================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: var(--space-md) 0;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

@media (min-width: 540px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-grid figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  cursor: pointer;
  background: var(--color-bg);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s var(--ease);
  filter: brightness(0.88);
}

.gallery-grid figure:hover img {
  filter: brightness(1);
}

/* ============================================================
   LIGHTBOX GALERIE — clic sur une photo = plein ecran + navigation
   ============================================================ */
.gal-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 10, 15, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 3rem;
  animation: gal-fade 0.18s ease;
}
@keyframes gal-fade { from { opacity: 0; } to { opacity: 1; } }
.gal-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(200, 149, 69, 0.3);
}
.gal-lightbox-close,
.gal-lightbox-prev,
.gal-lightbox-next {
  position: absolute;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(200, 149, 69, 0.5);
  color: #c89545;
  width: 48px; height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.gal-lightbox-close:hover,
.gal-lightbox-prev:hover,
.gal-lightbox-next:hover {
  background: #c89545;
  color: #0d1721;
}
.gal-lightbox-close { top: 1rem; right: 1rem; }
.gal-lightbox-prev  { left:  1rem; top: 50%; transform: translateY(-50%); }
.gal-lightbox-next  { right: 1rem; top: 50%; transform: translateY(-50%); }
.gal-lightbox-caption {
  position: absolute;
  bottom: 1rem; left: 50%;
  transform: translateX(-50%);
  color: #e8dfcf;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  max-width: 80%;
  text-align: center;
}
@media (max-width: 540px) {
  .gal-lightbox { padding: 1rem; }
  .gal-lightbox-close { top: 0.5rem; right: 0.5rem; }
  .gal-lightbox-prev { left: 0.5rem; }
  .gal-lightbox-next { right: 0.5rem; }
}


/* ============================================================
   24. EMBEDS — vidéo + carte
   ============================================================ */

.video-embed,
.map-embed {
  width: 100%;
  margin: var(--space-md) 0;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.video-embed {
  aspect-ratio: 16/9;
}

.map-embed {
  aspect-ratio: 16/10;
}

iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.3) brightness(0.9);
}


/* ============================================================
   25. LEGAL NOTES
   ============================================================ */

.legal-note {
  font-size: 0.82rem;
  color: var(--color-text-tertiary);
  background: transparent;
  padding: var(--space-sm) 0;
  border-radius: 0;
  margin: var(--space-md) 0;
  border-left: 0;
  border-top: 1px solid var(--color-border);
  font-style: italic;
  padding-top: var(--space-sm);
  padding-bottom: 0;
}

.legal-note strong {
  color: var(--color-text-secondary);
  font-style: normal;
}


/* ============================================================
   26. FOOTER PLACEHOLDER
   ============================================================ */

footer {
  max-width: var(--max-width);
  margin: var(--space-xl) auto 0;
  padding: var(--space-lg) var(--gutter);
  color: var(--color-text-tertiary);
  font-size: 0.85rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

footer p {
  text-align: center;
  margin: 0;
  font-style: italic;
}


/* ============================================================
   27. RESPONSIVE
   ============================================================ */

@media (max-width: 540px) {
  .sticky-cta form {
    flex-direction: column;
    align-items: stretch;
  }
  .sticky-cta input[type="email"] {
    min-width: 100%;
  }
  .hero-cta {
    flex-direction: column;
  }
  .hero-cta a {
    text-align: center;
  }
  .page-nav ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }
  .page-nav li {
    flex-shrink: 0;
  }
  .agent-card {
    flex-direction: column;
    text-align: center;
  }
}

@media (min-width: 1100px) {
  main {
    padding-left: var(--space-xl);
    padding-right: var(--space-xl);
  }
  .hero {
    padding: var(--space-xl) 0;
  }
}


/* ============================================================
   28. PRINT
   ============================================================ */

@media print {
  body { background: #fff; color: #000; }
  .sticky-cta,
  .page-nav,
  .capture-block,
  .video-embed,
  footer p { display: none; }
  details.section, details.faq-item { open: open; }
  details > summary::after { display: none; }
}


/* ============================================================
   29. ACCESSIBILITÉ
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: 0;
}


/* ============================================================
   FIN iresidence-edifice.css v3
   ============================================================ */


/* ============================================================
   SITE HEADER & FOOTER — V3
   (entete-v2.php / baspage-v2.php)
   ============================================================ */

.site-header,
header.site-header,
header[role="banner"].site-header {
  background: var(--color-bg) !important;
  border-bottom: 1px solid var(--color-border) !important;
}
.site-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.9rem var(--gutter, 1.5rem);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.site-logo-link { display: inline-flex; flex: 0 0 auto; }
.site-logo { height: 42px; width: auto; }

.site-nav {
  display: flex;
  gap: var(--space-md);
  margin-left: auto;
}
.site-nav a {
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-nav a:hover { color: var(--color-accent-bright); }

/* ============================================================
   DROPDOWN « Territoires » du menu principal
   ============================================================
   Le lien « Territoires » ouvre un menu contextuel au hover sur
   desktop, au tap sur mobile. Liste dynamique des territoires
   V3 actifs (territoires.v3_actif = 1), triee alphabetiquement. */
.site-nav-item {
  position: relative;
}
.site-nav-has-dropdown > .site-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}
.site-nav-caret {
  opacity: 0.6;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-nav-has-dropdown:hover .site-nav-caret,
.site-nav-has-dropdown:focus-within .site-nav-caret {
  opacity: 1;
  transform: translateY(1px);
}

.site-nav-dropdown {
  position: absolute;
  /* Colle au trigger (top:100%) pour eviter le gap qui casse le hover.
     La marge visuelle est faite via un padding-top interne, qui reste
     dans la meme zone de hover que le trigger.
     Alignement a gauche du trigger (left:0) plutot que centre : evite
     que le dropdown deborde a gauche de l'ecran quand le trigger est
     proche du bord gauche (cas tablette / laptop etroit). */
  top: 100%;
  left: 0;
  transform: translateY(-6px);
  min-width: 240px;
  padding: 0.85rem 0 0.5rem;   /* le padding-top fait office de tampon */
  background: transparent;      /* le fond est sur le .site-nav-dropdown-inner */
  border: 0;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  z-index: 100;
}
/* Zone visible du dropdown : styles deplaces ici depuis .site-nav-dropdown
   directement. Le wrapper transparent au-dessus etend le hover jusqu au
   trigger sans creer de gap. */
.site-nav-dropdown::after {
  content: "";
  position: absolute;
  top: 0.85rem;   /* commence apres le padding tampon */
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 23, 33, 0.98);
  border: 1px solid rgba(205, 167, 92, 0.3);
  border-radius: 12px;
  box-shadow:
    0 20px 40px -12px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(205, 167, 92, 0.08);
  z-index: -1;
}
.site-nav-dropdown::before {
  /* Petit triangle au-dessus de la zone visible, aligne sous le trigger
     (24px du bord gauche) plutot que centre sur le dropdown. */
  content: "";
  position: absolute;
  top: calc(0.85rem - 5px);   /* juste au-dessus de la zone visible */
  left: 24px;
  transform: rotate(45deg);
  width: 10px;
  height: 10px;
  background: rgba(13, 23, 33, 0.98);
  border-top: 1px solid rgba(205, 167, 92, 0.3);
  border-left: 1px solid rgba(205, 167, 92, 0.3);
}
.site-nav-has-dropdown:hover .site-nav-dropdown,
.site-nav-has-dropdown:focus-within .site-nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-nav-dropdown a {
  display: block;
  padding: 0.65rem 1.1rem;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: none;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.site-nav-dropdown a:hover {
  background: rgba(205, 167, 92, 0.1);
  color: var(--color-accent-bright);
}
.site-nav-dropdown-all {
  border-top: 1px solid rgba(205, 167, 92, 0.15);
  margin-top: 0.35rem;
  padding-top: 0.75rem !important;
  font-style: italic;
  font-size: 0.72rem !important;
  color: var(--color-accent-soft) !important;
  letter-spacing: 0.08em !important;
}
.site-nav-dropdown-all:hover {
  color: var(--color-accent-bright) !important;
}

/* Premiere entree du dropdown : "Nos territoires phares" (hub V3).
   Signature avec petit diamant or (langage visuel iResidence), fond
   subtil teinte or et separee des territoires individuels par une
   fine ligne doree. */
.site-nav-dropdown-v3 {
  position: relative;
  border-bottom: 1px solid rgba(205, 167, 92, 0.15);
  margin-bottom: 0.35rem;
  padding-bottom: 0.75rem !important;
  padding-left: 1.6rem !important;    /* espace pour le diamant */
  background: linear-gradient(to right,
    rgba(205, 167, 92, 0.08) 0%,
    rgba(205, 167, 92, 0.03) 60%,
    transparent 100%);
  color: var(--color-accent-bright) !important;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease;
}
.site-nav-dropdown-v3::before {
  content: '\2756';                    /* petit diamant plein ❖ */
  position: absolute;
  left: 0.6rem;
  top: 50%;
  transform: translateY(-60%);
  color: var(--color-accent-bright);
  font-size: 0.85em;
  line-height: 1;
  transition: transform 0.25s ease;
}
.site-nav-dropdown-v3:hover {
  color: var(--color-accent-soft) !important;
  background: linear-gradient(to right,
    rgba(205, 167, 92, 0.14) 0%,
    rgba(205, 167, 92, 0.05) 60%,
    transparent 100%);
}
.site-nav-dropdown-v3:hover::before {
  transform: translateY(-60%) rotate(90deg);
  color: var(--color-accent-soft);
}

@media (max-width: 768px) {
  /* Sur mobile ET tablette, le dropdown devient un simple bloc dessous
     (pas de positionnement absolu qui peut deborder de l ecran). Le
     breakpoint 768px couvre toutes les tablettes en portrait et les
     petits laptops. */
  .site-nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;   /* affiche uniquement au tap */
    min-width: 100%;
    margin-top: 0.35rem;
    box-shadow: none;
  }
  .site-nav-dropdown::before { display: none; }
  .site-nav-has-dropdown.is-open .site-nav-dropdown { display: block; }
}

.site-lang {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.site-lang a { color: var(--color-text-tertiary); }
.site-lang a.is-active { color: var(--color-accent); }
.site-lang a:hover { color: var(--color-accent-bright); }
.site-lang-sep { color: var(--color-border-strong); }

@media (max-width: 640px) {
  .site-header-inner { flex-wrap: wrap; gap: var(--space-sm); }
  .site-nav { order: 3; width: 100%; margin-left: 0; gap: var(--space-md); }
  .site-lang { margin-left: auto; }
  .site-logo { height: 36px; }
}

.site-footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-xl);
}
.site-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-lg) var(--gutter, 1.5rem) var(--space-md);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}
.footer-col { flex: 1 1 220px; }
.footer-logo { height: 38px; width: auto; margin-bottom: var(--space-sm); }
.footer-brand p {
  color: var(--color-text-tertiary);
  font-size: 0.85rem;
  font-style: italic;
  line-height: 1.6;
}
.footer-nav { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-nav a {
  color: var(--color-text-secondary);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-nav a:hover { color: var(--color-accent-bright); }
.footer-agent { color: var(--color-text-secondary); font-size: 0.88rem; }
.footer-agent strong {
  display: block;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}
.footer-agent span { display: block; color: var(--color-text-tertiary); font-size: 0.82rem; margin-bottom: 0.4rem; }
.footer-agent a { display: block; color: var(--color-accent); }
.footer-agent a:hover { color: var(--color-accent-bright); }
.site-footer-base {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-sm) var(--gutter, 1.5rem);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-tertiary);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
}

/* ============================================================
   BLOC ALERTE — deux options en confrontation gauche/droite
   ============================================================ */
.alerte-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-md);
}
.alerte-option {
  display: flex;
  flex-direction: column;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  padding: var(--space-md);
}
.alerte-option-vedette {
  border-color: var(--color-accent);
  border-top-width: 3px;
}
.alerte-tag {
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  margin-bottom: var(--space-sm);
  color: var(--color-accent);
  border: 1px solid var(--color-border-strong);
}
.alerte-option-vedette .alerte-tag {
  color: var(--color-bg);
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.alerte-option h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
  margin: 0 0 0.5rem;
}
.alerte-option > p {
  color: var(--color-text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 0 var(--space-md);
}
.alerte-option form {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.alerte-option .row {
  display: block;
}
.alerte-option form button[type="submit"] {
  margin-top: auto;
}
@media (max-width: 680px) {
  .alerte-duo { grid-template-columns: 1fr; }
}


/* ============================================================
   BLOC INSCRIPTIONS ACTUELLES — cartes + formulaire courriel
   ============================================================
   Stratégie « gate courriel » : les URLs Centris ne sont jamais
   exposées directement; on capture le visiteur via un formulaire
   et on envoie un courriel développé avec les liens demandés.
   ============================================================ */
.inscriptions-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-md);
}
.inscriptions-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid rgba(200, 149, 69, 0.35);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  text-align: left;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.inscriptions-card:hover {
  border-color: var(--color-accent);
  background: rgba(200, 149, 69, 0.05);
}
.inscriptions-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}
.inscriptions-card-vide {
  opacity: 0.65;
}
.inscriptions-icon {
  width: 42px;
  height: 60px;
  color: var(--color-accent);
  opacity: 0.75;
  flex-shrink: 0;
}
.inscriptions-card-cta {
  display: inline-block;
  margin-top: var(--space-sm);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.inscriptions-card-cta:hover {
  border-bottom-color: var(--color-accent);
}
.inscriptions-tag {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}
.inscriptions-nombre {
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 600;
  line-height: 1;
  color: var(--color-accent);
  margin: 0.2rem 0;
}
.inscriptions-nombre-zero {
  color: var(--color-text-tertiary);
}
.inscriptions-libelle {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  margin: var(--space-xs) 0;
  max-width: 22em;
}

/* Formulaire courriel sous les cartes */
.inscriptions-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  padding: var(--space-lg);
  margin-top: var(--space-md);
}
.inscriptions-form h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}
.inscriptions-form-intro {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
}
.inscriptions-form-transparence {
  color: var(--color-text-tertiary);
  font-size: 0.92rem;
  line-height: 1.55;
  padding: var(--space-sm) var(--space-md);
  border-left: 2px solid var(--color-accent);
  background: rgba(200, 149, 69, 0.04);
  margin-bottom: var(--space-md);
}
.inscriptions-form-conf {
  font-size: 0.85rem;
  color: var(--color-text-tertiary);
  font-style: italic;
  margin-top: var(--space-sm);
  margin-bottom: 0;
}

/* Cases de consentement Loi 25 + opt-in infolettre (formulaires Services + Inscriptions) */
.svc-consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.6rem 0;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  cursor: pointer;
}
.svc-consent input[type=checkbox] {
  margin-top: 0.25rem;
  flex-shrink: 0;
  cursor: pointer;
}
.svc-consent a {
  color: var(--color-accent-soft, #c89545);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.svc-consent.svc-newsletter {
  padding-top: 0.1rem;
  opacity: 0.92;
}

/* Champ honeypot — invisible mais accessible aux bots */
.inscriptions-form .hp,
.capture-block .hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.inscriptions-choix {
  border: 1px solid var(--color-border);
  padding: var(--space-sm) var(--space-md);
  margin: var(--space-md) 0;
  background: rgba(0,0,0,0.15);
}
.inscriptions-choix legend {
  padding: 0 0.5rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.choix-case {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0;
  cursor: pointer;
  font-size: 0.98rem;
  color: var(--color-text);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.choix-case:last-child {
  border-bottom: none;
}
.choix-case input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.15rem;
  height: 1.15rem;
  border: 1.5px solid var(--color-accent);
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  margin: 0;
}
.choix-case input[type="checkbox"]:checked {
  background: var(--color-accent);
}
.choix-case input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 0.28rem;
  top: 0.05rem;
  width: 0.32rem;
  height: 0.62rem;
  border: solid var(--color-bg);
  border-width: 0 0.16rem 0.16rem 0;
  transform: rotate(45deg);
}
.choix-case input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--color-accent-bright);
  outline-offset: 2px;
}

.inscriptions-aucun {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: var(--space-lg);
  margin-top: var(--space-md);
  text-align: center;
}
.inscriptions-aucun h3 {
  margin-top: 0;
}

.inscriptions-cta-invite {
  color: var(--color-accent);
  font-size: 0.95rem;
  text-decoration: underline;
}
.inscriptions-cta-invite:hover {
  color: var(--color-accent-bright);
}

@media (max-width: 680px) {
  .inscriptions-duo { grid-template-columns: 1fr; }
  .inscriptions-form { padding: var(--space-md); }
}

/* ============================================================
   Marché : graphiques Chart.js (édifice V3)
   Grille 2 colonnes, canvas contraints à 240px de hauteur
   pour éviter l'explosion verticale (bug responsive Chart.js).
   ============================================================ */
.marche-charts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0 1rem;
}
@media (max-width: 720px) {
  .marche-charts { grid-template-columns: 1fr; }
}
.marche-chart-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border, rgba(205,167,92,0.18));
  border-radius: 10px;
  padding: 1rem 1.15rem 1.15rem;
  position: relative;
}
.marche-chart-card h3 {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--color-accent-soft);
  margin: 0 0 0.5rem;
}
.marche-chart-card canvas {
  width: 100% !important;
  max-height: 240px;
}
.marche-source {
  font-size: 0.82rem;
  color: var(--color-text-tertiary);
  font-style: italic;
  text-align: center;
  line-height: 1.6;
  max-width: 640px;
  margin: 0.75rem auto 0;
}
