/* ============================================================
   geographie.css — Région Anosy
   Fichier  : assets/css/region-anosy/geographie.css
   Version  : 1.0.3 — BREADCRUMB PILL GLASSMORPHISM
   Date     : 2026-05-14
   Périmètre: Page géographie complète — autonome et indépendant
              de histoire-culture.css
   Auteur   : TAKALOU SARL | Partenaire : SMGC Company

   ────────────────────────────────────────────────────────────
   v1.0.3 — Breadcrumb harmonisé sur tourisme/plages-cotes.css
   ────────────────────────────────────────────────────────────
   Le fil d'Ariane passait en texte plat sur fond image (lisibilité
   moyenne selon les photos hero). v1.0.3 adopte le style "pill
   glassmorphism" déjà en place sur tourisme/plages-cotes.php et
   region-anosy/presentation.php pour harmoniser l'identité visuelle.

   Changements .hc-breadcrumb* :
     • __list           : pill arrondi, fond rgba(0,0,0,.28),
                          backdrop-filter blur(8px), bordure subtile,
                          ombre douce, border-radius 999px.
                          display:inline-flex (ne span pas 100%).
     • __link           : padding .2rem .4rem, border-radius 6px,
                          hover background rgba(255,255,255,.10).
     • __link icon      : font-size .65rem (était libre).
     • __link focus     : outline gold #e0c97f pour a11y.
     • __sep            : opacité réduite, padding latéral fin,
                          non sélectionnable / non cliquable.
     • __item--current  : mini-pill blanc translucide rgba(255,255,255,.12),
                          padding .2rem .5rem, border-radius 6px,
                          icône en gold #e0c97f.

   Responsive ≤ 480px :
     • Texte des liens masqué via `__link span` (les icônes
       restent visibles), icônes agrandies à .85rem,
       padding du pill réduit à .35rem .75rem.

   ────────────────────────────────────────────────────────────
   v1.0.2 — Alignement vertical de la bannière sur presentation.css
   ────────────────────────────────────────────────────────────
   La distance nav-bar → breadcrumb était trop grande sur
   region-anosy/geographie.php (banner 480px de haut, padding bottom
   2.5rem) par rapport à la référence visuelle
   region-anosy/presentation.php. v1.0.2 harmonise :

   .hc-banner :
     • min-height           : 340px      (au lieu de 480px)
     • background-position  : center 30% (au lieu de center)
     • isolation: isolate ajouté pour stacking context propre

   .hc-banner__inner :
     • padding              : 2rem 2rem 3.75rem (au lieu de 3rem 2rem 2.5rem)
     • PAS de display:flex/gap : les enfants utilisent margin-bottom
       (1.5rem sur .hc-breadcrumb, etc.). Passer en flex+gap aurait
       additionné les espacements et déséquilibré la mise en page.

   Paliers responsives (mêmes valeurs que presentation.css) :
     • ≤ 768 : min-height 260px · padding 1.5rem 1.25rem 3rem
               + background-position: center 40%
               + subtitle masqué
     • ≤ 600 : min-height 220px · padding 1.25rem 1rem 2.5rem
     • ≤ 480 : padding 1rem .9rem 2.2rem (ajustement Galaxy Fold)
               + breadcrumb compact (icônes seulement)

   ────────────────────────────────────────────────────────────
   CORRECTIFS v1.0.1 (par rapport à v1.0.0) — conservés
   ────────────────────────────────────────────────────────────
   BUG IDENTIFIÉ — débordement horizontal sur mobile (≤900px) :
   La combinaison `min-height: 220px` + `aspect-ratio: 16/9` sur
   .hc-people__img-wrap imposait une largeur minimale de
   220 × 16/9 ≈ 391 px.

   Comme le wrapper est dans un grid item avec `min-width: auto`
   (valeur par défaut), la colonne CSS Grid `1fr` ne pouvait pas
   se réduire sous 391 px. Sur un viewport de 400 px (container
   352 px de large utile), l'article débordait de ~39 px à droite,
   coupant les badges et le texte des blocs (cf. capture
   utilisateur du 2026-05-14, page District de Taolagnaro).

   SOLUTIONS APPLIQUÉES :
   1. Suppression du `min-height: 220px` sur .hc-people__img-wrap
      en mobile. L'aspect-ratio 16/9 suffit pour dimensionner
      l'image proportionnellement à la largeur de colonne.
   2. Ajout de `min-width: 0` sur tous les grid items
      (.hc-people__img-col, .hc-people__body-col) pour autoriser
      le shrink correct dans le contexte CSS Grid.
   3. Ajout de `max-width: 100%` et `box-sizing: border-box`
      défensifs sur .hc-people et ses enfants en mobile.
   4. Ajout de `overflow-wrap: break-word` sur les blocs de texte
      pour éviter qu'un mot trop long crée un overflow.
   ============================================================ */

/* ── Variables locales (copie des variables de main.css) ─────── */
:root {
  --geo-gold:         #C8952A;
  --geo-gold-light:   #F5E6C2;
  --geo-green:        #2E7D32;
  --geo-green-light:  #C8E6C9;
  --geo-red:          #B71C1C;
  --geo-red-light:    #FFCDD2;
  --geo-sky:          #0284c7;
  --geo-sky-light:    #e0f2fe;
  --geo-neutral:      #455A64;
  --geo-bg:           #FAFAF8;
  --geo-radius:       10px;
  --geo-shadow:       0 4px 18px rgba(0,0,0,.10);
  --geo-shadow-hover: 0 8px 28px rgba(0,0,0,.14);
  --geo-transition:   .28s ease;
}

/* ═══════════════════════════════════════════════════════════════
   §1 — BANNIÈRE
   ───────────────────────────────────────────────────────────────
   v1.0.2 — Alignement vertical sur presentation.css :
     • min-height           : 340px (au lieu de 480px)
     • background-position  : center 30% (au lieu de center)
     • padding inner        : 2rem 2rem 3.75rem (au lieu de 3rem 2rem 2.5rem)
   → Distance nav-bar → breadcrumb identique à celle de
     region-anosy/presentation.php.
   ═══════════════════════════════════════════════════════════════ */
.hc-banner {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(160deg, #0d1b2a 0%, #1b3a4b 60%, #2d6a4f 100%);
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  overflow: hidden;
  isolation: isolate;
}

.hc-banner__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hc-banner__overlay--dark { background: rgba(0,0,0,.45); }
.hc-banner__overlay--grad {
  background: linear-gradient(
    to top,
    rgba(0,0,0,.70) 0%,
    rgba(0,0,0,.20) 55%,
    transparent 100%
  );
}

.hc-banner__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: .5;
}

.hc-banner__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.phc-particle { fill: rgba(255,255,255,.18); }
.phc-particle--1 { animation: geo-float 6s ease-in-out infinite; }
.phc-particle--2 { animation: geo-float 8s ease-in-out infinite 1s; }
.phc-particle--3 { animation: geo-float 7s ease-in-out infinite 2s; }
.phc-particle--4 { animation: geo-float 9s ease-in-out infinite .5s; }
.phc-particle--5 { animation: geo-float 6.5s ease-in-out infinite 1.5s; }
.phc-particle--6 { animation: geo-float 8.5s ease-in-out infinite 3s; }

@keyframes geo-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* Inner — z-index 2 pour passer au-dessus des overlays
   v1.0.2 : padding aligné sur presentation.css (2rem haut, 3.75rem bas).
   Note : on ne passe PAS .hc-banner__inner en display:flex/gap car ses
   enfants (.hc-breadcrumb, .hc-banner__content) utilisent margin-bottom
   pour l'espacement vertical. Conserver flex+gap doublerait l'écart. */
.hc-banner__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem 3.75rem;
}

/* Breadcrumb — v1.0.3 : style "pill" glassmorphism inspiré de plages-cotes.css
   ─────────────────────────────────────────────────────────────────────
   La liste devient un pill arrondi avec fond noir translucide + blur,
   chaque lien obtient un padding + hover-background, et la page actuelle
   reçoit son propre mini-pill blanc translucide. Accent gold sur l'icône
   de la page courante (cohérent avec le thème geographie). */
.hc-breadcrumb {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}
.hc-breadcrumb__list {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .3rem;
  list-style: none;
  margin: 0;
  padding: .4rem 1rem;
  background: rgba(0, 0, 0, .28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .18);
}
.hc-breadcrumb__item {
  display: flex;
  align-items: center;
  gap: .3rem;
}
.hc-breadcrumb__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: rgba(255, 255, 255, .65);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 500;
  padding: .2rem .4rem;
  border-radius: 6px;
  white-space: nowrap;
  transition: color var(--geo-transition),
              background var(--geo-transition);
}
.hc-breadcrumb__link i { font-size: .65rem; }
.hc-breadcrumb__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, .10);
}
.hc-breadcrumb__link:focus-visible {
  outline: 2px solid #e0c97f;   /* gold accent (cohérent geo) */
  outline-offset: 2px;
}
.hc-breadcrumb__sep {
  color: rgba(255, 255, 255, .28);
  font-size: .50rem;
  pointer-events: none;
  user-select: none;
  padding: 0 .1rem;
}
.hc-breadcrumb__item--current {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  padding: .2rem .5rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, .12);
  white-space: nowrap;
}
.hc-breadcrumb__item--current i {
  font-size: .65rem;
  color: #e0c97f;   /* gold accent — cohérent geographie */
}

/* Contenu bannière */
.hc-banner__content { max-width: 720px; }

.hc-banner__eyebrow {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #e0c97f;
  margin: 0 0 .7rem;
}

.hc-banner__title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 .9rem;
}
.hc-banner__title-accent { color: #e0c97f; }

.hc-banner__subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  line-height: 1.6;
  margin: 0 0 1.2rem;
  max-width: 580px;
}

/* Pills */
.hc-banner__pills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.hc-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .85rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}
.hc-pill--amber  { background: rgba(200,149,42,.22);  color: #fde68a; border: 1.5px solid rgba(200,149,42,.4);  }
.hc-pill--nature { background: rgba(46,125,50,.22);   color: #bbf7d0; border: 1.5px solid rgba(46,125,50,.4);  }
.hc-pill--sea    { background: rgba(183,28,28,.22);   color: #fecaca; border: 1.5px solid rgba(183,28,28,.4);  }
.hc-pill--sky    { background: rgba(2,132,199,.22);   color: #bae6fd; border: 1.5px solid rgba(2,132,199,.4);  }

/* Vague de transition */
.hc-banner__wave {
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  pointer-events: none;
}
.hc-banner__wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* ═══════════════════════════════════════════════════════════════
   §2 — SECTIONS GÉNÉRALES
   ═══════════════════════════════════════════════════════════════ */
.section {
  padding: 4rem 0;
}
.hc-section { }
.hc-section--intro   { }
.hc-section--peoples { }
.hc-section--culture { }
.hc-section--hydro   { }
.hc-section--heritage{ }
.hc-section--nav     { padding: 3rem 0; }

.bg-white    { background: #ffffff; }
.bg-gray-50  { background: #f9fafb; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Eyebrow ─────────────────────────────────────────────────── */
.mc-eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: .8rem;
}
.mc-eyebrow__line {
  flex: 1;
  max-width: 40px;
  height: 2px;
  background: var(--geo-gold);
  border-radius: 1px;
}
.mc-eyebrow__text {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--geo-gold);
}

/* ── Titres de section ───────────────────────────────────────── */
.mc-section-head { margin-bottom: 2.5rem; }
.mc-section-head--center { text-align: center; }
.mc-section-head--center .mc-eyebrow { justify-content: center; }

.mc-section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.2;
  margin: 0 0 .8rem;
}
.mc-section-title--alt { color: var(--geo-gold); }

.mc-section-lead {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════
   §3 — INTRODUCTION (grille intro + carte visuelle)
   ═══════════════════════════════════════════════════════════════ */
.hc-intro-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: start;
}

.hc-intro__lead {
  font-size: 1.12rem;
  line-height: 1.75;
  color: #333;
  margin-bottom: 1rem;
}
.hc-intro__lead strong { color: var(--geo-gold); }

.hc-intro__body {
  font-size: .97rem;
  line-height: 1.72;
  color: #555;
  margin-bottom: 1.8rem;
}

/* Stats intro */
.hc-intro__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.hc-intro-stat {
  background: #f4f4f2;
  border-radius: var(--geo-radius);
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--geo-gold);
  min-width: 0; /* v1.0.1 : autorise le shrink en grid */
}
.hc-intro-stat__value {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--geo-gold);
  line-height: 1.1;
  margin-bottom: .2rem;
}
.hc-intro-stat__label {
  font-size: .8rem;
  color: #666;
  line-height: 1.4;
}

/* Carte visuelle intro */
.hc-flacourt-card {
  border-radius: var(--geo-radius);
  overflow: hidden;
  box-shadow: var(--geo-shadow);
  background: #fff;
}
.hc-flacourt-card__img-wrap {
  position: relative;
  overflow: hidden;
}
.hc-flacourt-card__img-wrap img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.hc-flacourt-card__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,.45));
}
.hc-flacourt-card__year {
  position: absolute;
  bottom: .9rem;
  right: 1rem;
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
  letter-spacing: .05em;
}
.hc-flacourt-card__quote {
  padding: 1.2rem 1.4rem 1.4rem;
  display: flex;
  gap: .8rem;
  align-items: flex-start;
}
.hc-flacourt-card__quote-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--geo-gold-light);
  color: var(--geo-gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: .9rem;
}
.hc-flacourt-card__quote blockquote {
  margin: 0; padding: 0;
  font-size: .88rem;
  line-height: 1.6;
  color: #444;
  font-style: italic;
}
.hc-flacourt-card__quote blockquote p { margin: 0 0 .4rem; }
.hc-flacourt-card__quote cite {
  font-size: .78rem;
  font-style: normal;
  font-weight: 600;
  color: var(--geo-gold);
}

/* ═══════════════════════════════════════════════════════════════
   §4 — DISTRICTS (réutilise les classes .hc-people de histoire)
   ═══════════════════════════════════════════════════════════════ */
.hc-people {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 2.5rem;
  background: #fff;
  border-radius: var(--geo-radius);
  box-shadow: var(--geo-shadow);
  overflow: hidden;
  margin-bottom: 2.5rem;
  border-top: 4px solid var(--geo-gold);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease, box-shadow var(--geo-transition);
}
.hc-people.hc-people--visible {
  opacity: 1;
  transform: none;
}
.hc-people:hover {
  box-shadow: var(--geo-shadow-hover);
}
.hc-people--amber  { border-top-color: var(--geo-gold);  }
.hc-people--nature { border-top-color: var(--geo-green); }
.hc-people--sea    { border-top-color: var(--geo-red);   }

/* Alternance gauche/droite */
.hc-people--left  { direction: rtl; }
.hc-people--left .hc-people__body-col { direction: ltr; }

/* Colonne image */
.hc-people__img-col {
  display: flex;
  flex-direction: column;
  min-width: 0; /* v1.0.1 : autorise le shrink en grid */
}
.hc-people__img-wrap {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-height: 320px;
}
.hc-people__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.hc-people:hover .hc-people__img-wrap img {
  transform: scale(1.04);
}
.hc-people__img-badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  display: flex;
  align-items: center;
  gap: .35rem;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(4px);
  padding: .28rem .7rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  color: #333;
}
.hc-people__emoji { font-size: 1rem; }

/* Bande de statistiques */
.geo-stat-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 3px solid var(--geo-gold);
  background: #fff;
}
.geo-stat-strip--nature { border-top-color: var(--geo-green); }
.geo-stat-strip--sea    { border-top-color: var(--geo-red);   }
.geo-stat-strip--amber  { border-top-color: var(--geo-gold);  }

.geo-stat-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: .85rem .5rem;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
  text-align: center;
  gap: .18rem;
  min-width: 0; /* v1.0.1 */
}
.geo-stat-strip__item:nth-child(even)  { border-right: none; }
.geo-stat-strip__item:nth-child(3),
.geo-stat-strip__item:nth-child(4)     { border-bottom: none; }

.geo-stat-strip__item i {
  font-size: .95rem;
  color: var(--geo-gold);
  margin-bottom: .05rem;
}
.geo-stat-strip--nature .geo-stat-strip__item i { color: var(--geo-green); }
.geo-stat-strip--sea    .geo-stat-strip__item i { color: var(--geo-red);   }

.geo-stat-strip__item strong {
  font-size: .98rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.15;
  overflow-wrap: anywhere; /* v1.0.1 : évite débordement valeur longue */
}
.geo-stat-strip__item span {
  font-size: .7rem;
  color: #777;
  line-height: 1.3;
  overflow-wrap: break-word; /* v1.0.1 */
}

/* Colonne corps district */
.hc-people__body-col {
  padding: 2rem 2rem 2rem 0;
  display: flex;
  flex-direction: column;
  min-width: 0; /* v1.0.1 : autorise le shrink en grid */
}
.hc-people--left .hc-people__body-col {
  padding: 2rem 0 2rem 2rem;
}

.hc-people__meta {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  margin-bottom: .6rem;
}
.hc-people__subtitle {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--geo-neutral);
}
.hc-people__zone {
  font-size: .83rem;
  color: #888;
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-wrap: wrap;
}
.hc-people__zone i { font-size: .75rem; }

.hc-people__name {
  font-size: 1.55rem;
  font-weight: 800;
  margin: 0 0 .8rem;
  color: #1a1a1a;
  overflow-wrap: break-word; /* v1.0.1 */
}
.hc-people--amber  .hc-people__name { color: var(--geo-gold);  }
.hc-people--nature .hc-people__name { color: var(--geo-green); }
.hc-people--sea    .hc-people__name { color: var(--geo-red);   }

.hc-people__intro {
  font-size: .97rem;
  line-height: 1.72;
  color: #444;
  margin-bottom: 1.1rem;
  overflow-wrap: break-word; /* v1.0.1 */
}

/* Badges méta (superficie, communes, coords…) */
.geo-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1.1rem;
  max-width: 100%; /* v1.0.1 */
}
.geo-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: #f0f0ee;
  border-radius: 999px;
  padding: .22rem .7rem;
  font-size: .77rem;
  color: #444;
  font-weight: 500;
  max-width: 100%; /* v1.0.1 : badge ne peut jamais dépasser sa rangée */
  white-space: nowrap;
}
.geo-meta-badge i { font-size: .72rem; color: #999; flex-shrink: 0; }

/* Blocs info */
.hc-people__block {
  background: #f7f7f5;
  border-radius: 8px;
  padding: .9rem 1.1rem;
  margin-bottom: .8rem;
  max-width: 100%; /* v1.0.1 */
}
.hc-people__block-title {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  display: flex;
  align-items: center;
  gap: .4rem;
  margin: 0 0 .5rem;
  color: var(--geo-neutral);
}
.hc-people__block-title i { font-size: .85rem; }
.hc-people--amber  .hc-people__block-title { color: var(--geo-gold);  }
.hc-people--nature .hc-people__block-title { color: var(--geo-green); }
.hc-people--sea    .hc-people__block-title { color: var(--geo-red);   }

.hc-people__block p {
  font-size: .9rem;
  line-height: 1.68;
  color: #444;
  margin: 0;
  overflow-wrap: break-word; /* v1.0.1 */
}

/* Tags */
.hc-people__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .5rem;
}
.hc-people__tag {
  font-size: .75rem;
  font-weight: 600;
  padding: .22rem .65rem;
  border-radius: 999px;
  border: 1.5px solid currentColor;
  max-width: 100%; /* v1.0.1 */
}
.hc-people__tag--amber  { color: var(--geo-gold);  }
.hc-people__tag--nature { color: var(--geo-green); }
.hc-people__tag--sea    { color: var(--geo-red);   }

/* ═══════════════════════════════════════════════════════════════
   §5 — GRILLE RELIEF (hc-culture-card)
   ═══════════════════════════════════════════════════════════════ */
.hc-culture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 1rem;
}

.hc-culture-card {
  background: #fff;
  border-radius: var(--geo-radius);
  box-shadow: var(--geo-shadow);
  padding: 1.5rem 1.3rem 1.6rem;
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--geo-gold);
  opacity: 0;
  transform: translateY(16px);
  transition: transform var(--geo-transition), box-shadow var(--geo-transition);
  min-width: 0; /* v1.0.1 */
}
.hc-culture-card.hc-culture-card--visible {
  opacity: 1;
  transform: none;
}
.hc-culture-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--geo-shadow-hover);
}
.hc-culture-card--amber  { border-top-color: var(--geo-gold);  }
.hc-culture-card--nature { border-top-color: var(--geo-green); }
.hc-culture-card--sea    { border-top-color: var(--geo-red);   }
.hc-culture-card--sky    { border-top-color: var(--geo-sky);   }

.hc-culture-card__icon {
  font-size: 1.8rem;
  margin-bottom: .5rem;
  color: var(--geo-gold);
}
.hc-culture-card--amber  .hc-culture-card__icon { color: var(--geo-gold);  }
.hc-culture-card--nature .hc-culture-card__icon { color: var(--geo-green); }
.hc-culture-card--sea    .hc-culture-card__icon { color: var(--geo-red);   }
.hc-culture-card--sky    .hc-culture-card__icon { color: var(--geo-sky);   }

.hc-culture-card__people-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  padding: .18rem .55rem;
  border-radius: 999px;
  margin-bottom: .55rem;
  background: var(--geo-gold-light);
  color: var(--geo-gold);
}
.hc-culture-card--nature .hc-culture-card__people-badge {
  background: var(--geo-green-light); color: var(--geo-green);
}
.hc-culture-card--sea .hc-culture-card__people-badge {
  background: var(--geo-red-light); color: var(--geo-red);
}
.hc-culture-card--sky .hc-culture-card__people-badge {
  background: var(--geo-sky-light); color: var(--geo-sky);
}

.hc-culture-card__title {
  font-size: .97rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 .5rem;
  line-height: 1.3;
}
.hc-culture-card__body {
  font-size: .87rem;
  color: #555;
  line-height: 1.65;
  flex: 1;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   §6 — HYDROGRAPHIE (cartes rivières)
   ═══════════════════════════════════════════════════════════════ */
.geo-hydro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
  margin-top: 1rem;
}

.geo-river-card {
  background: #fff;
  border-radius: var(--geo-radius);
  box-shadow: var(--geo-shadow);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  border-left: 4px solid var(--geo-gold);
  opacity: 0;
  transform: translateY(16px);
  transition: transform var(--geo-transition), box-shadow var(--geo-transition);
  min-width: 0; /* v1.0.1 */
}
.geo-river-card.geo-card--visible {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease, transform .5s ease;
}
.geo-river-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--geo-shadow-hover);
}
.geo-river-card--nature { border-left-color: var(--geo-green); }
.geo-river-card--sea    { border-left-color: var(--geo-red);   }
.geo-river-card--amber  { border-left-color: var(--geo-gold);  }
.geo-river-card--sky    { border-left-color: var(--geo-sky);   }

.geo-river-card__icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--geo-gold-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.05rem;
  color: var(--geo-gold);
}
.geo-river-card--nature .geo-river-card__icon {
  background: var(--geo-green-light); color: var(--geo-green);
}
.geo-river-card--sea .geo-river-card__icon {
  background: var(--geo-red-light); color: var(--geo-red);
}
.geo-river-card--sky .geo-river-card__icon {
  background: var(--geo-sky-light); color: var(--geo-sky);
}

.geo-river-card__body { flex: 1; min-width: 0; /* v1.0.1 */ }
.geo-river-card__header {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  margin-bottom: .3rem;
  flex-wrap: wrap; /* v1.0.1 : nom et km peuvent passer sur 2 lignes si nécessaire */
}
.geo-river-card__name {
  font-size: .98rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}
.geo-river-card__km {
  font-size: .77rem;
  color: #888;
  font-weight: 600;
  white-space: nowrap;
}
.geo-river-card__role {
  font-size: .87rem;
  color: #555;
  line-height: 1.55;
  margin: 0;
  overflow-wrap: break-word; /* v1.0.1 */
}

/* Note d'alerte hydrographique */
.geo-hydro-note {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  background: #fff8e1;
  border-left: 4px solid #F59E0B;
  border-radius: var(--geo-radius);
  padding: 1rem 1.4rem;
  margin-top: 2rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.geo-hydro-note i {
  font-size: 1.15rem;
  color: #F59E0B;
  flex-shrink: 0;
  margin-top: .1rem;
}
.geo-hydro-note p {
  font-size: .9rem;
  line-height: 1.65;
  color: #555;
  margin: 0;
}
.geo-hydro-note strong { color: #92400e; }

/* ═══════════════════════════════════════════════════════════════
   §7 — PATRIMOINE / GRILLE CARTE CLIMAT (hc-heritage-card)
   ═══════════════════════════════════════════════════════════════ */
.hc-heritage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.hc-heritage-card {
  border-radius: var(--geo-radius);
  overflow: hidden;
  box-shadow: var(--geo-shadow);
  background: #111;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  cursor: default;
  transition: transform var(--geo-transition), box-shadow var(--geo-transition);
  opacity: 0;
  transform: translateY(18px);
  min-width: 0; /* v1.0.1 */
}
.hc-heritage-card.geo-card--visible {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease, transform .5s ease;
}
.hc-heritage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--geo-shadow-hover);
}

/* Image dans heritage-card */
.hc-heritage-card__img-wrap {
  position: relative;
  flex-shrink: 0;
}
.hc-heritage-card__img-wrap img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.hc-heritage-card:hover .hc-heritage-card__img-wrap img {
  transform: scale(1.04);
}
.hc-heritage-card__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.55));
}

/* Visuel coloré pour les cartes climat (pas d'image) */
.geo-climate-card__visual {
  flex-shrink: 0;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.geo-climate-card__visual--amber  {
  background: linear-gradient(135deg, #0d4f3c 0%, #1b5e20 50%, #1a3c5e 100%);
}
.geo-climate-card__visual--sea    {
  background: linear-gradient(135deg, #7c1010 0%, #b45309 50%, #92400e 100%);
}
.geo-climate-card__visual--nature {
  background: linear-gradient(135deg, #1e3a5f 0%, #374151 50%, #1f2937 100%);
}
.geo-climate-card__icon {
  font-size: 3.2rem;
  color: rgba(255,255,255,.70);
  position: relative;
  z-index: 1;
}
.hc-heritage-card__img-overlay { pointer-events: none; }

/* Badge sur image */
.hc-heritage-card__badge {
  position: absolute;
  bottom: .65rem;
  left: .75rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 700;
  padding: .22rem .6rem;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: #333;
  backdrop-filter: blur(4px);
  z-index: 2;
  max-width: calc(100% - 1.5rem); /* v1.0.1 : ne dépasse pas l'image */
}
.hc-heritage-card__badge--amber  { background: var(--geo-gold-light);  color: var(--geo-gold);  }
.hc-heritage-card__badge--nature { background: var(--geo-green-light); color: var(--geo-green); }
.hc-heritage-card__badge--sea    { background: var(--geo-red-light);   color: var(--geo-red);   }

/* Corps de la carte */
.hc-heritage-card__body {
  padding: 1.1rem 1.2rem 1.3rem;
  background: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hc-heritage-card__title {
  font-size: .97rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 .4rem;
  line-height: 1.3;
}
.hc-heritage-card__text {
  font-size: .87rem;
  color: #555;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

/* ═══════════════════════════════════════════════════════════════
   §8 — SECTION MÉMORIALE
   ═══════════════════════════════════════════════════════════════ */
.hc-memorial {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}
.hc-memorial__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hc-memorial__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hc-memorial__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,20,30,.72);
  z-index: 1;
}
.hc-memorial__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.hc-memorial__icon {
  font-size: 2.5rem;
  color: rgba(255,255,255,.25);
  margin-bottom: .8rem;
}
.hc-memorial__quote {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.45;
  margin: 0 0 .7rem;
}
.hc-memorial__author {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  font-style: italic;
  margin: 0 0 2.5rem;
}

/* Grille de sites clés */
.hc-sites-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.hc-site-card {
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--geo-radius);
  padding: 1.2rem 1rem 1.3rem;
  text-align: left;
  transition: background var(--geo-transition);
  min-width: 0; /* v1.0.1 */
}
.hc-site-card:hover { background: rgba(255,255,255,.16); }
.hc-site-card__icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  margin-bottom: .7rem;
}
.hc-site-card__icon--amber  { background: rgba(200,149,42,.35); color: #fde68a; }
.hc-site-card__icon--nature { background: rgba(46,125,50,.35);  color: #bbf7d0; }
.hc-site-card__icon--sea    { background: rgba(183,28,28,.35);  color: #fecaca; }
.hc-site-card__icon--sky    { background: rgba(2,132,199,.35);  color: #bae6fd; }

.hc-site-card__title {
  font-size: .93rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 .35rem;
}
.hc-site-card__text {
  font-size: .83rem;
  color: rgba(255,255,255,.72);
  line-height: 1.55;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   §9 — SOURCES
   ═══════════════════════════════════════════════════════════════ */
.hc-sources-grid { max-width: 860px; margin: 0 auto; }
.hc-sources-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.hc-sources-list li {
  font-size: .875rem;
  color: #555;
  line-height: 1.55;
  padding-left: 1.1rem;
  position: relative;
}
.hc-sources-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--geo-gold);
  font-weight: 700;
}
.hc-sources-list a {
  color: var(--geo-sky);
  text-decoration: none;
  transition: color var(--geo-transition);
  overflow-wrap: anywhere; /* v1.0.1 : les URLs longues peuvent wrapper */
}
.hc-sources-list a:hover { color: var(--geo-gold); text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════
   §10 — NAVIGATION SOUS-RUBRIQUES
   ═══════════════════════════════════════════════════════════════ */
.hc-subnav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.hc-subnav-card {
  display: flex;
  align-items: center;
  gap: .9rem;
  background: #fff;
  border: 1.5px solid #e5e5e3;
  border-radius: var(--geo-radius);
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--geo-transition),
              box-shadow var(--geo-transition),
              transform var(--geo-transition);
  min-width: 0; /* v1.0.1 */
}
.hc-subnav-card:hover {
  border-color: var(--geo-gold);
  box-shadow: 0 4px 16px rgba(200,149,42,.15);
  transform: translateY(-2px);
}
.hc-subnav-card--current {
  border-color: var(--geo-sky);
  background: var(--geo-sky-light);
  pointer-events: none;
}
.hc-subnav-card__icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #f0f0ee;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  color: var(--geo-neutral);
  flex-shrink: 0;
  transition: background var(--geo-transition), color var(--geo-transition);
}
.hc-subnav-card:hover .hc-subnav-card__icon {
  background: var(--geo-gold-light);
  color: var(--geo-gold);
}
.hc-subnav-card__icon--amber  { background: var(--geo-gold-light);  color: var(--geo-gold);  }
.hc-subnav-card__icon--nature { background: var(--geo-green-light); color: var(--geo-green); }
.hc-subnav-card__icon--sea    { background: var(--geo-red-light);   color: var(--geo-red);   }
.hc-subnav-card__icon--sky    { background: var(--geo-sky-light);   color: var(--geo-sky);   }

.hc-subnav-card__body { flex: 1; min-width: 0; }
.hc-subnav-card__title {
  font-size: .9rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 .1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hc-subnav-card__text {
  font-size: .78rem;
  color: #888;
  margin: 0;
}
.hc-subnav-card--current .hc-subnav-card__title { color: var(--geo-sky); }
.hc-subnav-card__arrow {
  font-size: .78rem;
  color: #ccc;
  flex-shrink: 0;
  transition: color var(--geo-transition), transform var(--geo-transition);
}
.hc-subnav-card:hover .hc-subnav-card__arrow {
  color: var(--geo-gold);
  transform: translateX(3px);
}
.hc-subnav-card--current .hc-subnav-card__arrow { color: var(--geo-sky); }

/* ═══════════════════════════════════════════════════════════════
   §11 — REVEAL ANIMATIONS (mc-reveal)
   ═══════════════════════════════════════════════════════════════ */
.mc-reveal { will-change: transform, opacity; }
.mc-reveal--fade-up    { opacity: 0; transform: translateY(28px); transition: opacity .55s ease, transform .55s ease; }
.mc-reveal--fade-down  { opacity: 0; transform: translateY(-28px);transition: opacity .55s ease, transform .55s ease; }
.mc-reveal--fade-left  { opacity: 0; transform: translateX(28px); transition: opacity .55s ease, transform .55s ease; }
.mc-reveal--fade-right { opacity: 0; transform: translateX(-28px);transition: opacity .55s ease, transform .55s ease; }
.mc-reveal--scale-in   { opacity: 0; transform: scale(.94);       transition: opacity .55s ease, transform .55s ease; }
.mc-reveal--visible    { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════════════════════════
   §12 — BACK-TO-TOP
   ═══════════════════════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--geo-gold);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.20);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, background .2s ease;
  z-index: 999;
}
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.back-to-top:hover { background: #b07a1e; }
.btt-ring {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.btt-ring circle {
  fill: none;
  stroke: rgba(255,255,255,.45);
  stroke-width: 2.5;
  stroke-dashoffset: 94.25;
  transition: stroke-dashoffset .1s linear;
}

/* ═══════════════════════════════════════════════════════════════
   §13 — RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

/* ≤ 1280px */
@media (max-width: 1280px) {
  .hc-people { grid-template-columns: 320px 1fr; }
  .hc-culture-grid { grid-template-columns: repeat(2, 1fr); }
  .hc-sites-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ≤ 1100px */
@media (max-width: 1100px) {
  .hc-intro-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hc-intro__visual { display: none; }
}

/* ≤ 900px — FIX CRITIQUE v1.0.1 */
@media (max-width: 900px) {
  .hc-people {
    grid-template-columns: 1fr;
    direction: ltr !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .hc-people__img-col,
  .hc-people__body-col {
    min-width: 0;     /* v1.0.1 : autorise le shrink dans CSS Grid */
    max-width: 100%;  /* v1.0.1 : ne peut jamais dépasser la colonne */
    box-sizing: border-box;
  }
  .hc-people__body-col {
    padding: 1.5rem !important;
    direction: ltr !important;
  }
  /* v1.0.1 — CORRECTION CRITIQUE :
     L'ancienne règle `min-height: 220px; aspect-ratio: 16/9;`
     forçait width ≥ 220 * 16/9 ≈ 391px sur le wrapper d'image.
     Combiné à `min-width: auto` du grid item, cela forçait la
     colonne grid `1fr` à ≥ 391px, dépassant la largeur du
     conteneur sur les viewports < 440px. La largeur excessive
     se propageait à la body-col (même colonne grid), créant
     le débordement visible dans la capture utilisateur.
     SOLUTION : on remplace min-height par height adaptative,
     et on s'assure que la largeur ne peut jamais déborder. */
  .hc-people__img-wrap {
    min-height: 0;           /* SUPPRIME le min-height qui forçait min-width */
    aspect-ratio: 16/9;       /* conserve les proportions, mais sans plancher */
    width: 100%;
    max-width: 100%;
  }
  .hc-culture-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ≤ 768px */
@media (max-width: 768px) {
  /* Banner aligné sur presentation.css */
  .hc-banner          { min-height: 260px; background-position: center 40%; }
  .hc-banner__inner   { padding: 1.5rem 1.25rem 3rem; }
  .hc-banner__subtitle{ display: none; }

  .geo-stat-strip { grid-template-columns: repeat(2, 1fr); }
  .hc-subnav-grid { grid-template-columns: repeat(2, 1fr); }
  .hc-sites-grid { grid-template-columns: repeat(2, 1fr); }
  .hc-intro__stats { grid-template-columns: repeat(2, 1fr); }
}

/* ≤ 600px */
@media (max-width: 600px) {
  /* Banner aligné sur presentation.css (palier <576) */
  .hc-banner          { min-height: 220px; }
  .hc-banner__inner   { padding: 1.25rem 1rem 2.5rem; }

  .hc-culture-grid { grid-template-columns: 1fr; }
  .geo-hydro-grid  { grid-template-columns: 1fr; }
  .hc-heritage-grid{ grid-template-columns: 1fr; }
  .hc-sites-grid   { grid-template-columns: 1fr; }
  .hc-subnav-grid  { grid-template-columns: 1fr; }
  .hc-intro__stats { grid-template-columns: 1fr; }
  .section { padding: 2.5rem 0; }
  .hc-memorial { padding: 3rem 0; }
  /* v1.0.1 : container plus serré sur très petits écrans */
  .container { padding: 0 1rem; }
  .hc-people__body-col { padding: 1.25rem !important; }
}

/* ≤ 480px */
@media (max-width: 480px) {
  /* Banner : padding inner encore réduit (Galaxy Fold etc.) */
  .hc-banner__inner   { padding: 1rem .9rem 2.2rem; }

  /* Breadcrumb compact : icônes seulement, texte masqué
     (HTML doit avoir <span> autour du texte de chaque lien) */
  .hc-breadcrumb__link span,
  .hc-breadcrumb__item--current span { display: none; }
  .hc-breadcrumb__link i,
  .hc-breadcrumb__item--current i    { font-size: .85rem; }
  .hc-breadcrumb__list  { padding: .35rem .75rem; }

  .hc-banner__pills .hc-pill { font-size: .72rem; padding: .22rem .6rem; }
  .geo-meta-row { gap: .3rem; }
  .geo-meta-badge { font-size: .72rem; padding: .18rem .55rem; }
  .geo-stat-strip__item { padding: .6rem .4rem; }
  .geo-stat-strip__item strong { font-size: .88rem; }
  .back-to-top { bottom: 1.2rem; right: 1.2rem; width: 40px; height: 40px; }
  /* v1.0.1 : sur très petits écrans, autoriser le wrap dans les badges
     si vraiment nécessaire (rare, mais filet de sécurité) */
  .geo-meta-badge {
    white-space: normal;
    line-height: 1.3;
  }
}

/* ═══════════════════════════════════════════════════════════════
   FIN geographie.css v1.0.3 — BREADCRUMB PILL GLASSMORPHISM
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   v2.6.1 — Photos du relief, des climats et de l'hydrographie
   ═══════════════════════════════════════════════════════════════ */
.geo-relief-photo {
  position: relative;
  margin: -1.5rem -1.3rem 1rem;            /* photo à fond perdu en haut de la carte */
  border-radius: var(--geo-radius) var(--geo-radius) 0 0;
  overflow: hidden;
  aspect-ratio: 5 / 3;
  background: linear-gradient(135deg, #1e3a5f, #14532d);
}
.geo-relief-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s ease;
}
.hc-culture-card:hover .geo-relief-photo img { transform: scale(1.05); }
.geo-relief-photo__alt {
  position: absolute; left: .6rem; bottom: .6rem;
  font-size: .72rem; font-weight: 700; color: #fff;
  background: rgba(15, 23, 42, .72); padding: .2rem .55rem; border-radius: 999px;
  backdrop-filter: blur(3px);
}
.hc-culture-card:has(.geo-relief-photo) .hc-culture-card__people-badge { display: none; }   /* altitude déjà sur la photo */

.geo-climate-card__photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: .78; mix-blend-mode: luminosity;              /* teinte du dégradé de la zone conservée */
  transition: opacity .4s ease, transform .5s ease;
}
.hc-heritage-card:hover .geo-climate-card__photo { opacity: .95; mix-blend-mode: normal; transform: scale(1.04); }
.geo-climate-card__visual { min-height: 190px; overflow: hidden; }
.geo-climate-card__icon { text-shadow: 0 2px 12px rgba(0, 0, 0, .45); }

.geo-hydro-photos {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem;
  margin: 2rem 0 1.4rem;
}
.geo-hydro-photos .fdp-figure { margin: 0; }
.geo-hydro-photos img {
  width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; display: block;
  border-radius: var(--geo-radius); box-shadow: var(--geo-shadow);
}
.geo-hydro-photos figcaption { font-size: .8rem; color: #64748b; margin-top: .55rem; line-height: 1.5; }
.geo-hydro-photos figcaption a { color: inherit; }
@media (max-width: 600px) {
  .geo-hydro-photos { grid-template-columns: 1fr; }
}

