/* ==========================================================================
   Template PRESTIGE - Sites Vitrines Equimondo
   Charte : noir profond, ivoire, or. La couleur du site (--primary, posee par le
   template) teinte les fonds et les halos ; l'or (--accent) reste la signature.
   Commentaires en ASCII pur (CLAUDE.md 6b, perimetre Sites Vitrines).
   REGLE : rien n'est cache par la feuille seule. Les apparitions au defilement ne
   s'arment que sous html.pr-anim (classe posee par un script, retiree s'il echoue).
   ========================================================================== */

:root {
  --primary: #1e3a5f;
  --accent: #c9a45c;
  --accent-light: #e6cc8f;
  /* L'EXTREMITE FONCEE DU DEGRADE DES BOUTONS OR, et rien d'autre dans ce
     fichier (deux emplois, le meme degrade). Elle valait #8f7134 : sous le texte
     #151515 du bouton, cela ne faisait que 3,98:1 -- mesure du 06/10/2026, sous
     la barre des 4,5:1. C'est le defaut classique d'un degrade : on verifie le
     contraste au MILIEU et on oublie les deux bouts. Eclaircie a 4,67:1, meme
     teinte et meme saturation (les trois canaux multiplies par 1,10), donc
     indiscernable a l'oeil du dore d'origine. */
  --accent-deep: #9d7c39;
  --bg-dark: #0b0b0c;
  --bg-section: #101012;
  --bg-card: #17171a;
  --bg-card-2: #1d1d21;
  --ivory: #f5f0e7;
  --text: #f5f0e7;
  --text-soft: #ddd6ca;
  --text-muted: #bdb5a8;
  --line: rgba(201, 164, 92, .22);
  --line-soft: rgba(245, 240, 231, .10);
  --tint: color-mix(in srgb, var(--primary) 32%, #0b0b0c);
  --tint-glow: color-mix(in srgb, var(--primary) 55%, transparent);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-repli: 88px;
}

/* LE RESET UNIVERSEL EST DANS UNE COUCHE (05/10/2026)
   -----------------------------------------------------------------------
   `*{margin:0;padding:0}` a une specificite NULLE, mais une regle NON layeree
   l'emporte TOUJOURS sur une regle layeree -- quelle que soit sa specificite.
   Ce reset battait donc chaque `padding` et chaque `margin` de sv-kit.css, qui
   vit entierement dans `@layer sv-kit`. Mesure du 05/10/2026 sur ce modele :
   un `.k-btn` y calculait `padding: 0px` et un `.k-input` aussi -- le libelle
   du bouton touchait ses deux bords.

   C'est la raison pour laquelle AUCUN des 8 modeles du catalogue n'employait
   le socle partage : il ne pouvait pas y fonctionner.

   Ce que la couche change, et RIEN D'AUTRE : le reset perd face au kit. Il
   garde tout le reste -- il bat toujours les styles par defaut du navigateur
   (ceux-ci sont dans l'origine "user agent", sous TOUTES les couches d'auteur),
   et il perdait deja face aux regles de ce fichier, qui ont une specificite
   superieure a zero.

   La couche est declaree ICI, donc avant `sv-kit` (injecte en fin de page par
   render.php) : l'ordre des couches suit leur premiere apparition. */
@layer sv-reset {
* { margin: 0; padding: 0; box-sizing: border-box; }
}
/* Pas de scroll-behavior:smooth global : il ralentit window.scrollTo() de tous les
   scripts. Le defilement doux des ancres internes est fait par prestige.js. */
html { min-height: 100%; }
body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 19px;
  font-weight: 500;
  background: var(--bg-dark);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* Sticky footer : le pied de page reste colle en bas meme sur une page courte */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: #111; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.pr-wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }
.pr-ancre { height: 0; }

/* ==========================================================================
   NAV
   ========================================================================== */
.pr-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 22px clamp(20px, 4vw, 56px);
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  background: linear-gradient(to bottom, rgba(8, 8, 9, .92), rgba(8, 8, 9, 0));
  transition: padding .5s var(--ease), background .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
  border-bottom: 1px solid transparent;
}
/* Pas de backdrop-filter : il ferait du nav le bloc conteneur du menu mobile (position:fixed). */
.pr-nav.scrolled {
  padding-top: 12px; padding-bottom: 12px;
  background: rgba(10, 10, 11, .96);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.nav-logo {
  display: inline-flex; align-items: center; gap: 14px;
  text-decoration: none; color: var(--ivory); min-height: 44px;
  position: relative; z-index: 2; min-width: 0;
}
.nav-logo-mark {
  flex: 0 0 auto;
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--accent);
  font-family: 'Playfair Display', serif; font-size: 20px; color: var(--accent);
  background: radial-gradient(circle at 30% 25%, rgba(201, 164, 92, .18), transparent 70%);
  transition: transform .6s var(--ease), background .4s var(--ease);
}
.nav-logo:hover .nav-logo-mark { transform: rotate(-8deg) scale(1.05); background: rgba(201, 164, 92, .2); }
.nav-logo-txt {
  font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 500;
  letter-spacing: .06em; line-height: 1.15;
  max-width: 280px;
}
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); list-style: none; }
.nav-links a {
  text-decoration: none;
  color: #d9d2c6;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  white-space: nowrap;
  padding: 10px 0;
  position: relative;
  transition: color .3s var(--ease);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 4px;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--accent-light); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.nav-cta {
  padding: 12px 22px;
  border: 1px solid var(--accent);
  color: var(--accent-light);
  background: linear-gradient(90deg, var(--accent), var(--accent-light)) no-repeat left / 0 100%;
  transition: background-size .5s var(--ease), color .35s var(--ease);
}
.nav-links a.nav-cta::after { display: none; }
/* Etat actif : le filet dore du modele remplace le souligne generique (sv-nav-active-style.php). */
.pr-nav .nav-links a.is-active, .pr-footer .footer-links a.is-active { text-decoration: none; }
.nav-links a.nav-cta:hover, .nav-links a.nav-cta.is-active { background-size: 100% 100%; color: #141414; }

.nav-burger {
  display: none;
  position: relative; z-index: 2;
  width: 48px; height: 48px; flex: 0 0 auto;
  border: 1px solid var(--line); border-radius: 50%;
  background: rgba(10, 10, 11, .6); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav-burger:hover { border-color: var(--accent); }
.nav-burger span {
  display: block; width: 20px; height: 1.5px; background: var(--ivory);
  transition: transform .45s var(--ease), opacity .3s var(--ease), background .3s;
}
.pr-nav.is-open .nav-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); background: var(--accent); }
.pr-nav.is-open .nav-burger span:nth-child(2) { opacity: 0; }
.pr-nav.is-open .nav-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); background: var(--accent); }

@media (max-width: 1240px) {
  .nav-burger { display: inline-flex; }
  .nav-logo-txt { font-size: 18px; max-width: 60vw; }
  .nav-links {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; align-items: center; gap: 6px;
    padding: calc(var(--sv-nav-h, 80px) + 20px) 24px 40px;
    background:
      radial-gradient(ellipse at 50% 0%, var(--tint-glow), transparent 60%),
      linear-gradient(180deg, #0d0d0f, #070708);
    overflow-y: auto;
    opacity: 0; visibility: hidden;
    transition: opacity .45s var(--ease), visibility .45s;
  }
  .pr-nav.is-open .nav-links { opacity: 1; visibility: visible; }
  .nav-links li { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
  .pr-nav.is-open .nav-links li { opacity: 1; transform: none; }
  .pr-nav.is-open .nav-links li:nth-child(2) { transition-delay: .04s; }
  .pr-nav.is-open .nav-links li:nth-child(3) { transition-delay: .08s; }
  .pr-nav.is-open .nav-links li:nth-child(4) { transition-delay: .12s; }
  .pr-nav.is-open .nav-links li:nth-child(5) { transition-delay: .16s; }
  .pr-nav.is-open .nav-links li:nth-child(6) { transition-delay: .20s; }
  .pr-nav.is-open .nav-links li:nth-child(7) { transition-delay: .24s; }
  .pr-nav.is-open .nav-links li:nth-child(8) { transition-delay: .28s; }
  .nav-links a {
    font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 400;
    letter-spacing: .02em; text-transform: none;
    display: inline-flex; align-items: center; min-height: 52px; padding: 6px 4px;
  }
  .nav-links a.nav-cta { margin-top: 14px; font-family: 'Montserrat', sans-serif; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; padding: 14px 30px; }
  .nav-links .sv-lang-switch-li { margin: 18px 0 0 !important; }
  body.pr-menu-ouvert { overflow: hidden; }
}
@media (max-width: 420px) {
  .pr-nav { gap: 12px; }
  .nav-logo-mark { width: 38px; height: 38px; font-size: 18px; }
  .nav-logo-txt { font-size: 16px; }
}

/* ==========================================================================
   BOUTONS
   ========================================================================== */
.pr-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 16px 38px;
  font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--accent);
  transition: color .4s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.pr-btn::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg);
  transition: left .8s var(--ease);
  pointer-events: none;
}
.pr-btn:hover::before { left: 130%; }
.pr-btn:hover { transform: translateY(-2px); }
.pr-btn-or {
  color: #151515;
  background: linear-gradient(135deg, var(--accent-light), var(--accent) 55%, var(--accent-deep));
  box-shadow: 0 10px 30px rgba(201, 164, 92, .22);
}
.pr-btn-or:hover { color: #151515; box-shadow: 0 16px 40px rgba(201, 164, 92, .35); }
.pr-btn-ligne { color: var(--ivory); background: rgba(10, 10, 11, .35); border-color: rgba(245, 240, 231, .45); }
.pr-btn-ligne:hover { color: #151515; background-color: var(--ivory); border-color: var(--ivory); }

.pr-lien {
  display: inline-flex; align-items: center; gap: 14px; min-height: 44px;
  font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  color: var(--accent-light); white-space: nowrap;
}
.pr-lien::after {
  content: ''; width: 36px; height: 1px; background: currentColor;
  transition: width .45s var(--ease);
}
.pr-lien:hover::after { width: 60px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  min-height: 100vh; min-height: 100svh;
  position: relative; isolation: isolate;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--sv-nav-h, var(--nav-repli)) + 40px) clamp(20px, 5vw, 64px) 120px;
  background: radial-gradient(ellipse at 50% 30%, var(--tint) 0%, var(--bg-dark) 70%);
  overflow: hidden;
}
/* Photo plein cadre : on reprend l'image posee en style par le partiel et on la fait
   lentement respirer (Ken Burns). Seulement pour les apparences plein cadre. */
.hero[data-sv-hero="centre"]::before,
.hero[data-sv-hero="photo"]::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background: inherit;
  transform-origin: 60% 40%;
  animation: prKenBurns 22s var(--ease) both;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 8, 9, .55) 0%, rgba(8, 8, 9, .10) 30%, rgba(8, 8, 9, .30) 62%, var(--bg-dark) 100%),
    radial-gradient(ellipse at 50% 55%, transparent 40%, rgba(0, 0, 0, .45) 100%);
}
.hero[data-sv-hero="image-texte"]::after,
.hero[data-sv-hero="texte-image"]::after {
  background: linear-gradient(180deg, transparent 70%, var(--bg-dark) 100%);
}
.hero-content { text-align: center; position: relative; z-index: 2; max-width: 980px; }
.hero-content > * { animation: prHeroIn 1.1s var(--ease) both; }
.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 500;
  letter-spacing: .5em; text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 28px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .6);
  animation-delay: .15s !important;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 7.2vw, 104px);
  font-weight: 400; line-height: 1.04; letter-spacing: -.01em;
  color: var(--ivory);
  text-shadow: 0 4px 40px rgba(0, 0, 0, .5);
  margin-bottom: 26px;
  overflow-wrap: anywhere;
  animation-delay: .3s !important;
}
.hero-rule {
  display: block; width: 90px; height: 1px; margin: 0 auto 28px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: prRegle 1.2s var(--ease) .65s both !important;
}
.hero-desc {
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 500; font-style: italic;
  color: #ece6db;
  max-width: 620px; margin: 0 auto 44px; line-height: 1.7;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .7);
  animation-delay: .75s !important;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; animation-delay: .9s !important; }
[data-sv-hero="image-texte"] .hero-content, [data-sv-hero="texte-image"] .hero-content { text-align: left; }
[data-sv-hero="image-texte"] .hero-rule, [data-sv-hero="texte-image"] .hero-rule { margin-left: 0; }
[data-sv-hero="image-texte"] .hero-actions, [data-sv-hero="texte-image"] .hero-actions { justify-content: flex-start; }
.hero-scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  min-height: 44px; text-decoration: none;
  color: #d9d2c6;
  font-family: 'Montserrat', sans-serif; font-size: 10px; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase;
  animation: prFade 1s var(--ease) 1.4s both;
}
.hero-scroll .line { position: relative; width: 1px; height: 46px; background: rgba(245, 240, 231, .2); overflow: hidden; }
.hero-scroll .line::after {
  content: ''; position: absolute; left: 0; top: -50%; width: 1px; height: 50%;
  background: var(--accent-light);
  animation: prGoutte 2.2s var(--ease) infinite;
}
.hero-scroll:hover { color: var(--accent-light); }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.page-int { padding-top: calc(var(--sv-nav-h, var(--nav-repli)) + clamp(36px, 6vw, 80px)); }
.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: .38em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 18px;
}
.section-label::before { content: ''; width: 44px; height: 1px; background: var(--accent); flex: 0 0 auto; }
.section-label.is-centre { justify-content: center; }
.section-label.is-centre::after { content: ''; width: 44px; height: 1px; background: var(--accent); }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 400; line-height: 1.14;
  color: var(--ivory);
  overflow-wrap: anywhere;
}
.section-title em { font-style: italic; color: var(--accent); }
.section-desc {
  margin-top: 18px;
  font-size: 21px; font-style: italic;
  color: var(--text-soft);
  line-height: 1.7; max-width: 680px;
}
.divider { width: 80px; height: 1px; background: var(--accent); margin: 30px 0; }
.divider-center { margin: 30px auto; }
.page-head { margin-bottom: clamp(36px, 5vw, 64px); }
.page-head .divider { margin-bottom: 0; }

/* ==========================================================================
   STRUCTURE
   ========================================================================== */
.structure { background: var(--bg-section); overflow: hidden; }
.structure::before {
  content: ''; position: absolute; width: 560px; height: 560px; right: -180px; top: -120px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, var(--tint-glow), transparent 70%); opacity: .35;
}
.structure-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.structure--seul .structure-grid { grid-template-columns: minmax(0, 1fr); max-width: 820px; margin: 0 auto; text-align: center; }
.structure--seul .section-label { justify-content: center; }
.structure--seul .section-label::after { content: ''; width: 44px; height: 1px; background: var(--accent); }
.structure--seul .divider { margin-left: auto; margin-right: auto; }
.structure-image { position: relative; aspect-ratio: 4 / 5; margin: 0 18px 18px 0; }
.structure-image img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.structure-image .frame {
  position: absolute; inset: 18px -18px -18px 18px; z-index: 0;
  border: 1px solid var(--accent); opacity: .7;
  transition: inset .8s var(--ease);
}
.structure-image:hover .frame { inset: 26px -26px -26px 26px; }
.structure-text p { font-size: 20px; line-height: 1.85; color: var(--text-soft); }
.structure-faits { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px 36px; margin-top: 40px; text-align: left; }
.structure-faits > div { padding-top: 18px; border-top: 1px solid var(--line); }
.structure-faits dt {
  font-family: 'Montserrat', sans-serif; font-size: 10px; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px;
}
.structure-faits dd { font-size: 19px; color: var(--ivory); line-height: 1.6; }

/* ==========================================================================
   CHAPITRES (sommaire du site)
   ========================================================================== */
.chapitres { background: var(--bg-dark); padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.chapitres:not(:has(.chap)) { display: none; }
.chap-list { counter-reset: chap; border-bottom: 1px solid var(--line); }
.chap {
  counter-increment: chap;
  position: relative;
  display: flex; align-items: center; gap: clamp(18px, 3vw, 40px);
  min-height: 64px; padding: clamp(18px, 2.4vw, 28px) 8px;
  border-top: 1px solid var(--line);
  text-decoration: none; color: var(--ivory);
  overflow: hidden;
}
.chap::before {
  content: counter(chap, upper-roman);
  flex: 0 0 64px;
  font-family: 'Playfair Display', serif; font-style: italic; font-size: 18px;
  color: var(--accent);
}
.chap::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(201, 164, 92, .12), transparent 70%);
  transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease);
}
.chap-t {
  font-family: 'Playfair Display', serif; font-size: clamp(26px, 3.6vw, 46px); font-weight: 400;
  line-height: 1.1;
  transition: transform .6s var(--ease), color .4s var(--ease);
}
.chap-f { flex: 1 1 auto; height: 1px; background: var(--line); position: relative; min-width: 30px; }
.chap-f::after {
  content: ''; position: absolute; right: 0; top: -4px; width: 9px; height: 9px;
  border-top: 1px solid var(--accent); border-right: 1px solid var(--accent);
  transform: rotate(45deg);
  transition: right .6s var(--ease);
}
.chap:hover::after, .chap:focus-visible::after { transform: scaleX(1); }
.chap:hover .chap-t, .chap:focus-visible .chap-t { transform: translateX(14px); color: var(--accent-light); }
.chap:hover .chap-f::after { right: -4px; }
.chap:hover .chap-f { background: var(--accent); }

/* ==========================================================================
   APERCUS (accueil)
   ========================================================================== */
.apercu-chevaux { background: var(--bg-section); }
.apercu-activites { background: var(--bg-dark); }
.apercu-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
  margin-bottom: clamp(36px, 5vw, 60px);
}
a.ch-card, a.act-card { text-decoration: none; color: inherit; display: block; }
/* Apercu d'accueil : aligne sur le titre du bloc (les pages dediees centrent). */
.pr-wrap .ch-mosaique--apercu { justify-content: start; }

/* ==========================================================================
   CHEVAUX / EQUIPE (portraits)
   ========================================================================== */
.chevaux, .equipe { background: var(--bg-dark); }
.ch-mosaique, .equipe-mosaique {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 270px));
  justify-content: center;
  gap: clamp(22px, 3vw, 40px);
}
.ch-card, .member { text-align: center; }
.ch-photo, .member-photo {
  position: relative; width: 100%; aspect-ratio: 3 / 4; margin-bottom: 22px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--tint), var(--bg-card) 70%);
}
.ch-photo img, .member-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.1s var(--ease), filter .6s var(--ease);
  filter: saturate(.92);
}
.ch-photo::after, .member-photo::after {
  content: ''; position: absolute; inset: 14px; pointer-events: none;
  border: 1px solid var(--accent-light);
  opacity: 0; transform: scale(1.04);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.ch-card:hover .ch-photo img, .member:hover .member-photo img { transform: scale(1.08); filter: saturate(1.05); }
.ch-card:hover .ch-photo::after, .member:hover .member-photo::after { opacity: .8; transform: scale(1); }
.ch-photo.is-mono, .member-photo.is-mono { display: flex; align-items: center; justify-content: center; }
.mono {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: clamp(64px, 8vw, 96px); line-height: 1;
  color: var(--accent);
  text-shadow: 0 6px 30px rgba(0, 0, 0, .5);
  transition: transform .8s var(--ease);
}
.ch-card:hover .mono, .member:hover .mono { transform: scale(1.1); }
.ch-name, .member-name {
  font-family: 'Playfair Display', serif; font-size: 23px; font-weight: 400;
  color: var(--ivory); margin-bottom: 6px;
}
.ch-sub, .member-role {
  font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
}
.member-dip { margin-top: 8px; font-size: 17px; font-style: italic; color: var(--text-muted); }
.ch-desc { margin-top: 12px; font-size: 18px; color: var(--text-soft); line-height: 1.65; }

/* ==========================================================================
   ACTIVITES
   ========================================================================== */
.activites { background: var(--bg-section); }
.act-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}
.act-card {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--bg-card-2), var(--bg-card));
  border: 1px solid var(--line-soft);
  padding: clamp(30px, 3.4vw, 44px);
  transition: border-color .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
}
.act-card::before {
  content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease);
}
.act-card:hover { border-color: var(--line); transform: translateY(-4px); box-shadow: 0 24px 50px rgba(0, 0, 0, .45); }
.act-card:hover::before { transform: scaleX(1); }
.act-num {
  display: block; margin-bottom: 22px;
  font-family: 'Playfair Display', serif; font-style: italic; font-size: 40px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--accent);
  transition: color .5s var(--ease);
}
.act-card:hover .act-num { color: var(--accent); }
.act-card h2, .act-card h3 {
  font-family: 'Playfair Display', serif; font-size: 25px; font-weight: 400;
  color: var(--ivory); margin-bottom: 14px; line-height: 1.25;
}
.act-card p { font-size: 18px; line-height: 1.7; color: var(--text-soft); }
.act-tag {
  display: inline-block; margin-top: 20px; padding: 7px 16px;
  border: 1px solid var(--line);
  font-family: 'Montserrat', sans-serif; font-size: 10px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--accent-light);
}

/* ==========================================================================
   TARIFS (carte)
   ========================================================================== */
.tarifs { background: var(--bg-dark); }
.tf-carte { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 30px clamp(30px, 5vw, 70px); align-items: start; }
.tf-bloc {
  padding: clamp(28px, 3vw, 42px);
  background: linear-gradient(170deg, var(--bg-card-2), var(--bg-section));
  border: 1px solid var(--line-soft);
  position: relative;
}
.tf-bloc::before {
  content: ''; position: absolute; inset: 8px; pointer-events: none;
  border: 1px solid rgba(201, 164, 92, .12);
}
.tarifs-cat {
  font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.tf-liste { list-style: none; }
.tf-ligne {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 6px;
  border-bottom: 1px solid var(--line-soft);
  transition: background .4s var(--ease), padding .4s var(--ease);
}
.tf-ligne:last-child { border-bottom: 0; }
.tf-ligne:hover { background: rgba(201, 164, 92, .05); padding-left: 12px; padding-right: 12px; }
.tf-vign { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; border: 1px solid var(--line); }
.tf-corps { flex: 1 1 auto; min-width: 0; }
.tf-haut { display: flex; align-items: baseline; gap: 12px; }
.tf-titre { font-family: 'Playfair Display', serif; font-size: 21px; color: var(--ivory); line-height: 1.3; overflow-wrap: anywhere; }
.tf-pointille { flex: 1 1 20px; min-width: 20px; border-bottom: 1px dotted rgba(201, 164, 92, .45); transform: translateY(-5px); }
.tf-prix { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--accent-light); white-space: nowrap; }
.tf-desc { margin-top: 6px; font-size: 17px; font-style: italic; color: var(--text-muted); line-height: 1.55; }

/* ==========================================================================
   LIGHTBOX - photo cheval plein ecran. Backdrop TOUJOURS clair meme sur ce
   template sombre (CLAUDE.md section 2 : jamais de fond sombre sur un overlay).
   ========================================================================== */
.sv-trombi-photo-btn { border: 0; padding: 0; background: none; cursor: zoom-in; display: block; width: 100%; height: 100%; min-height: 44px; }
.sv-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  padding: 24px;
  animation: prFade .3s var(--ease) both;
}
.sv-lightbox[hidden] { display: none; }
.sv-lightbox-img { max-width: 90vw; max-height: 85vh; box-shadow: 0 25px 60px rgba(0, 0, 0, .4); animation: prZoom .45s var(--ease) both; }
.sv-lightbox-close {
  position: absolute; top: 20px; right: 24px; width: 48px; height: 48px;
  border: none; border-radius: 999px; background: var(--accent); color: #151515;
  font-size: 26px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease);
}
.sv-lightbox-close:hover { transform: rotate(90deg); }
.sv-lightbox-close:focus-visible { outline: 3px solid #151515; outline-offset: 2px; }

/* ==========================================================================
   TEMOIGNAGES
   ========================================================================== */
.temoignages { background: var(--bg-section); }
.temoignage-featured { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 50px); }
.temoignage-featured.is-seul { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.temoignage-main {
  padding: clamp(36px, 5vw, 64px);
  background: linear-gradient(160deg, var(--bg-card-2), var(--bg-card));
  border-left: 2px solid var(--accent);
  position: relative;
}
.temoignage-main .quote-mark {
  font-family: 'Playfair Display', serif; font-size: 140px; line-height: .8;
  color: var(--accent); opacity: .22;
  position: absolute; top: 18px; right: 30px;
}
.temoignage-main blockquote {
  font-size: clamp(21px, 2.3vw, 27px); font-style: italic; font-weight: 500;
  line-height: 1.7; color: var(--ivory);
  position: relative; z-index: 1;
}
.temoignage-author {
  margin-top: 26px;
  font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--accent-light);
}
.temoignage-author::before { content: ''; display: inline-block; width: 26px; height: 1px; background: var(--accent); vertical-align: middle; margin-right: 12px; }
.temoignage-side { display: flex; flex-direction: column; gap: 20px; }
.temoignage-small {
  padding: 30px;
  background: var(--bg-card);
  border-left: 1px solid var(--line);
  flex: 1;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.temoignage-small:hover { border-left-color: var(--accent); background: var(--bg-card-2); }
.temoignage-small blockquote { font-size: 19px; font-style: italic; line-height: 1.65; color: var(--text-soft); }
.temoignage-small .temoignage-author { margin-top: 16px; }
.stars { color: var(--accent); font-size: 15px; letter-spacing: .25em; margin-bottom: 16px; }
.stars-off { color: rgba(201, 164, 92, .25); }

/* ==========================================================================
   INVITATION (accueil)
   ========================================================================== */
.invitation { background: var(--bg-dark); }
.invitation-box {
  position: relative; overflow: hidden; isolation: isolate;
  text-align: center;
  padding: clamp(50px, 7vw, 96px) clamp(22px, 5vw, 80px);
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 50% -10%, var(--tint-glow), transparent 65%),
    linear-gradient(180deg, var(--bg-card), var(--bg-section));
}
.invitation-box::before {
  content: ''; position: absolute; inset: 10px; z-index: -1; pointer-events: none;
  border: 1px solid rgba(201, 164, 92, .14);
}
.invitation-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ==========================================================================
   CONTACT (le formulaire vient de templates/_shared/contact-form.php)
   ========================================================================== */
.contact {
  background: var(--bg-dark);
  --bg: #141416; --text: var(--ivory); --border: rgba(201, 164, 92, .28);
}
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 18px; margin-bottom: 10px;
}
.contact-item {
  display: flex; flex-direction: column; gap: 10px;
  padding: 28px 30px; min-height: 44px;
  background: linear-gradient(160deg, var(--bg-card-2), var(--bg-card));
  border: 1px solid var(--line-soft);
  text-decoration: none; color: var(--ivory);
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
a.contact-item:hover { border-color: var(--accent); transform: translateY(-3px); }
.contact-k {
  font-family: 'Montserrat', sans-serif; font-size: 10px; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase; color: var(--accent);
}
.contact-v { font-size: 20px; line-height: 1.5; overflow-wrap: anywhere; }
body .contact .svcf label { opacity: 1; color: var(--text-soft); font-family: 'Montserrat', sans-serif; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
body .contact .svcf input:not([type="checkbox"]), body .contact .svcf textarea, body .contact .svcf select { border-radius: 0; font-size: 17px; min-height: 48px; }
body .contact .svcf label.svcf-consent {
  display: flex; flex-direction: row; align-items: flex-start; gap: 12px;
  font-family: inherit; font-size: 16px; letter-spacing: 0; text-transform: none; line-height: 1.5;
}
body .contact .svcf-consent input[type="checkbox"] { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--accent); }
body .contact .svcf input::placeholder, body .contact .svcf textarea::placeholder { color: #8f887d; }
body .contact .svcf input:focus, body .contact .svcf textarea:focus, body .contact .svcf select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(201, 164, 92, .18); }
body .contact .svcf-consent { opacity: 1; color: var(--text-soft); }
body .contact .svcf .sv-submit {
  border-radius: 0; min-height: 52px; padding: 16px 38px;
  font-family: 'Montserrat', sans-serif; font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: #151515; background: linear-gradient(135deg, var(--accent-light), var(--accent) 55%, var(--accent-deep));
  /* Une ombre AU REPOS, comme en porte deja .pr-btn-or : ce bouton n'en avait
     qu'au survol et paraissait plat ("un peu fade", client du 06/10/2026).
     Elle est tiree de --accent, le dore du bouton ; le rgba qui precede est le
     repli des navigateurs qui ne connaissent pas color-mix(). */
  box-shadow: 0 10px 30px rgba(201, 164, 92, .22);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 24%, transparent);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
body .contact .svcf .sv-submit:hover { opacity: 1; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(201, 164, 92, .3); }
body .contact .svcf-map-link { color: var(--accent-light); }
body .contact .svcf-map-addr { color: var(--text-soft); opacity: 1; }
body .contact .svcf-success { color: var(--ivory); background: rgba(201, 164, 92, .08); border-color: var(--line); }

/* ==========================================================================
   PLANNING (bloc partage sv-planning-render.php) : l'or remplace la couleur du
   site, trop sombre sur ce fond ; texte fonce sur les aplats dores.
   ========================================================================== */
body .svpl-wrap, body .svpl-modal { --svpl-c: var(--accent); }
body .svpl-wrap .svpl-tag { color: var(--accent-light); background: rgba(201, 164, 92, .12); }
body .svpl-wrap .svpl-title { font-family: 'Playfair Display', serif; font-weight: 400; color: var(--ivory); }
body .svpl-filter.is-active, body .svpl-cta, body .svpl-cta:hover, body .svr-submit, body .svr-submit:hover { color: #151515; }
body .svpl-wrap .svpl-weeknav-btn, body .svpl-wrap .svpl-filter { color: var(--ivory); }
body .svpl-wrap .svpl-filter.is-active { color: #151515; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.pr-footer {
  margin-top: auto;
  padding: clamp(50px, 6vw, 80px) clamp(20px, 5vw, 64px) 26px;
  background: linear-gradient(180deg, #0d0d0f, #070708);
  border-top: 1px solid var(--line);
}
.footer-top {
  max-width: 1220px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line-soft);
}
.footer-brand-col { display: flex; flex-direction: column; gap: 14px; }
.footer-brand { font-family: 'Playfair Display', serif; font-size: 26px; color: var(--ivory); letter-spacing: .03em; }
.footer-slogan { font-size: 18px; font-style: italic; color: var(--text-soft); line-height: 1.6; }
.footer-links { display: flex; flex-direction: column; gap: 2px; }
.footer-links a, .footer-line a {
  display: inline-flex; align-items: center; min-height: 36px;
  font-family: 'Montserrat', sans-serif; font-size: 13px;
  color: var(--text-soft); text-decoration: none; letter-spacing: .04em;
  transition: color .3s var(--ease), transform .3s var(--ease);
}
.footer-links a:hover { color: var(--accent-light); transform: translateX(4px); }
.footer-links a.is-active { color: var(--accent-light); }
.footer-coords { display: flex; flex-direction: column; gap: 4px; }
.footer-line { font-family: 'Montserrat', sans-serif; font-size: 13px; color: var(--text-soft); line-height: 1.7; }
.footer-line a { min-height: 32px; }
.footer-line a:hover { color: var(--accent-light); }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-social a {
  font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent-light); text-decoration: none;
  min-height: 44px; display: inline-flex; align-items: center;
}
.footer-social a:hover { color: var(--ivory); }
.footer-bottom {
  max-width: 1220px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px 24px;
  padding-top: 22px;
  font-family: 'Montserrat', sans-serif; font-size: 11px; letter-spacing: .06em;
  color: var(--text-muted);
}
.footer-powered a { color: var(--accent-light); text-decoration: none; }
.footer-powered a:hover { text-decoration: underline; }

/* ==========================================================================
   APPARITIONS (armees par html.pr-anim, cf. template)
   ========================================================================== */
.pr-anim .reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity .9s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s);
}
.pr-anim .reveal.visible { opacity: 1; transform: none; }
.pr-anim .structure-image.reveal { transform: translateY(36px) scale(.96); }
.pr-anim .structure-image.reveal.visible { transform: none; }

@keyframes prHeroIn { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes prRegle { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: scaleX(1); } }
@keyframes prFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes prZoom { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes prKenBurns { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes prGoutte { 0% { top: -50%; } 100% { top: 110%; } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .structure-grid { grid-template-columns: minmax(0, 1fr); }
  .structure-image { max-width: 520px; width: calc(100% - 18px); }
  .temoignage-featured { grid-template-columns: minmax(0, 1fr); }
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand-col { grid-column: 1 / -1; }
}
/* sv-responsive-base.php impose une taille a TOUS les h2 sous 480 px (!important) :
   nos h2 de cartes et de rubriques sont de petits titres, on les soustrait a la regle. */
@media (max-width: 480px) {
  .tf-bloc h2.tarifs-cat { font-size: 12px !important; line-height: 1.4; }
  .ch-card h2.ch-name, .member h2.member-name { font-size: 19px !important; }
  .act-card h2 { font-size: 23px !important; }
}
@media (max-width: 640px) {
  body { font-size: 18px; }
  .hero { padding-bottom: 110px; }
  .hero-subtitle { letter-spacing: .3em; font-size: 11px; }
  .hero-actions, .invitation-actions { flex-direction: column; align-items: stretch; }
  .pr-btn { padding: 16px 24px; }
  .chap::before { flex-basis: 34px; font-size: 16px; }
  .chap-f { display: none; }
  .tf-vign { width: 46px; height: 46px; }
  .tf-haut { flex-wrap: wrap; row-gap: 4px; }
  .tf-pointille { display: none; }
  .tf-prix { margin-left: auto; }
  .ch-mosaique, .equipe-mosaique { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .ch-mosaique--apercu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ch-name, .member-name { font-size: 19px; }
  .ch-sub, .member-role { font-size: 10px; letter-spacing: .14em; }
  .mono { font-size: 58px; }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pr-anim .reveal { opacity: 1 !important; transform: none !important; }
}
