/* =========================================================
   Équivil — feuille de style
   Bordeaux = couleur institutionnelle (logo #6D0719)
   Or = accent ponctuel, à petite dose
   ========================================================= */

:root {
  --bordeaux: #6d0719;
  --bordeaux-deep: #4a0511;
  --bordeaux-ink: #2b0309;
  --bordeaux-soft: #f1e3e2;
  --gold: #e2b33f;
  --gold-soft: #f6e7bb;
  --paper: #f7f2ea;
  --paper-2: #efe7da;
  --card: #fbf8f3;
  --ink: #1f1915;
  --ink-2: #4b423b;
  --ink-3: #82776d;
  --line: rgba(31, 25, 21, .12);
  --line-strong: rgba(31, 25, 21, .22);

  --serif: "EB Garamond", "Garamond", "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 30px 60px -30px rgba(74, 5, 17, .28);
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
  font-feature-settings: "kern", "liga", "onum";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
section[id] { scroll-margin-top: 72px; }
.horses { padding-top: 8px; }
a { color: inherit; }
h1, h2, h3 { font-weight: 500; margin: 0; letter-spacing: -.015em; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); line-height: 1.04; }
h2 em, h1 em { font-style: italic; color: var(--bordeaux); font-weight: 500; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--bordeaux); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- petits éléments communs ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--bordeaux);
  margin-bottom: 22px;
}
.eyebrow-rule { width: 28px; height: 1px; background: currentColor; position: relative; }
.eyebrow-rule::after { content: ""; position: absolute; right: -5px; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.eyebrow-light { color: var(--gold-soft); }

.section-head { display: grid; gap: 0; margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.section-head-row { max-width: none; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 40px; }
.section-intro { color: var(--ink-2); max-width: 52ch; margin-top: 20px; font-size: 1.05rem; }

.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px; border-radius: 999px;
  font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: .01em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transform: translate(var(--mx), var(--my));
  transition: transform .5s var(--ease), background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  white-space: nowrap;
}
.btn i { font-size: 18px; transition: transform .4s var(--ease); }
.btn:hover i { transform: translate(2px, -2px) rotate(-8deg); }
.btn:active { transform: translate(var(--mx), calc(var(--my) + 1px)) scale(.98); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-primary { background: var(--bordeaux); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 10px 24px -12px rgba(109, 7, 25, .6); }
.btn-primary:hover { background: var(--bordeaux-deep); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--bordeaux); color: var(--bordeaux); background: rgba(109, 7, 25, .04); }
.btn-gold { background: var(--gold); color: var(--bordeaux-ink); }
.btn-gold:hover { background: #ecc35a; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: .02em;
  padding: 7px 13px; border-radius: 999px; background: var(--bordeaux-soft); color: var(--bordeaux);
}
.pill-light { background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.22); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 15px; font-weight: 500; text-decoration: none; }
.link-arrow i { transition: transform .4s var(--ease); }
.link-arrow:hover i { transform: translateX(5px); }

/* ---------- apparition au scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================
   EN-TÊTE
   ========================================================= */
.site-header { position: sticky; top: 0; z-index: 40; transition: background-color .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s; }
.site-header.is-scrolled { background: rgba(247, 242, 234, .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: auto; }
.brand-name { font-size: 27px; font-weight: 500; letter-spacing: -.01em; color: var(--bordeaux); position: relative; line-height: 1; }
.brand-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-left: 3px; vertical-align: 2px; }
.brand-light .brand-name { color: #fff; }

.nav { display: flex; gap: 6px; }
.nav a {
  position: relative; font-family: var(--sans); font-size: 14.5px; text-decoration: none; color: var(--ink-2);
  padding: 8px 14px; border-radius: 999px; transition: color .3s var(--ease), background-color .3s var(--ease);
}
.nav a:hover { color: var(--bordeaux); background: rgba(109, 7, 25, .06); }
.nav a.is-active { color: var(--bordeaux); }
.nav a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold); }
.header-cta { display: flex; align-items: center; gap: 10px; }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu { display: grid; padding: 8px var(--gutter) 24px; background: var(--paper); border-bottom: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { font-size: 26px; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); }

/* =========================================================
   HÉRO
   ========================================================= */
.hero { position: relative; padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(40px, 6vw, 80px); }
.hero::before {
  content: ""; position: absolute; inset: -76px 0 0 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(109, 7, 25, .07), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(226, 179, 63, .10), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; min-height: min(calc(100dvh - 140px), 760px); }
.hero-title { font-size: clamp(2.8rem, 5.6vw, 5rem); line-height: .98; letter-spacing: -.025em; font-weight: 500; }
.hero-title em { position: relative; white-space: nowrap; }
.hero-title em::after {
  content: ""; position: absolute; left: 2%; right: 2%; bottom: .06em; height: .09em; border-radius: 99px;
  background: var(--gold); transform-origin: left; transform: scaleX(0);
  transition: transform 1.1s var(--ease) .9s;
}
.hero-title.is-in em::after { transform: scaleX(1); }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--ink-2); max-width: 44ch; margin-top: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-stats { display: flex; gap: clamp(20px, 3.5vw, 48px); margin: 52px 0 0; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-stats div { display: grid; gap: 2px; }
.hero-stats dt { font-size: 2rem; line-height: 1; color: var(--bordeaux); font-variant-numeric: lining-nums tabular-nums; }
.hero-stats dd { margin: 0; font-family: var(--sans); font-size: 13px; color: var(--ink-3); letter-spacing: .02em; }

.hero-visual { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; height: min(680px, calc(100dvh - 160px)); min-height: 480px; }
.reel { position: relative; overflow: hidden; border-radius: var(--radius); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent); }
.reel-track { display: grid; gap: 14px; animation: reel-up 46s linear infinite; }
.reel-b .reel-track { animation-duration: 54s; animation-direction: reverse; }
.reel-b { margin-top: 48px; }
.hero-visual:hover .reel-track { animation-play-state: paused; }
.reel figure { position: relative; margin: 0; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); }
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.reel figure:hover img { transform: scale(1.06); }
.reel figcaption {
  position: absolute; left: 10px; bottom: 10px; font-family: var(--sans); font-size: 12px; font-weight: 500;
  padding: 5px 10px; border-radius: 999px; background: rgba(247, 242, 234, .9); color: var(--bordeaux);
}
@keyframes reel-up { to { transform: translateY(calc(-50% - 7px)); } }

.stamp {
  position: absolute; left: -54px; bottom: 9%; width: 132px; height: 132px; border-radius: 50%;
  background: var(--bordeaux); display: grid; place-items: center; box-shadow: var(--shadow);
}
.stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.stamp text { font-family: var(--sans); font-size: 15.5px; letter-spacing: .2em; text-transform: uppercase; fill: var(--gold-soft); }
.stamp img { width: 44px; height: auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   ACCÈS RAPIDE
   ========================================================= */
.quick { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-inline: 0; max-width: calc(1320px - 2 * 48px); width: calc(100% - 2 * var(--gutter)); }
.quick a {
  display: flex; align-items: center; gap: 12px; padding: 22px 18px; text-decoration: none;
  font-family: var(--sans); font-size: 13.5px; line-height: 1.3; color: var(--ink-2);
  border-right: 1px solid var(--line); position: relative; overflow: hidden;
  transition: color .3s var(--ease);
}
.quick a:last-child { border-right: 0; }
.quick a::before { content: ""; position: absolute; inset: 0; background: var(--bordeaux); transform: translateY(101%); transition: transform .5s var(--ease); z-index: -1; }
.quick a { isolation: isolate; }
.quick a:hover { color: #fff; }
.quick a:hover::before { transform: none; }
.quick i { font-size: 28px; color: var(--bordeaux); transition: color .3s, transform .5s var(--spring); flex: none; }
.quick a:hover i { color: var(--gold); transform: rotate(-10deg) scale(1.1); }

/* =========================================================
   BANDEAU DÉFILANT
   ========================================================= */
.marquee { overflow: hidden; padding: clamp(36px, 5vw, 64px) 0; }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { font-size: clamp(2.6rem, 6vw, 5rem); font-style: italic; color: var(--bordeaux); line-height: 1; white-space: nowrap; }
.marquee span:nth-child(4n+3) { color: transparent; -webkit-text-stroke: 1px var(--bordeaux); }
.marquee b { color: var(--gold); font-size: 1.6rem; font-weight: 400; }
@keyframes marquee { to { transform: translateX(calc(-50% - 18px)); } }

/* =========================================================
   LES CLUBS — explorateur
   ========================================================= */
.clubs { padding-bottom: clamp(80px, 10vw, 140px); }
.explorer { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.explorer-side { position: sticky; top: 100px; display: grid; gap: 22px; }

.map { color: var(--bordeaux); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.map svg { width: 100%; height: auto; display: block; overflow: visible; }
.map-paris { fill: rgba(109, 7, 25, .05); stroke: var(--bordeaux); stroke-width: 1; stroke-dasharray: 3 4; }
.map-paris-label { font-family: var(--serif); font-style: italic; font-size: 22px; fill: var(--bordeaux); opacity: .55; }
.map-seine { fill: none; stroke: #8fa9b6; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--ease); opacity: .75; }
.map.is-in .map-seine { stroke-dashoffset: 0; }
.map-wood { color: #50703a; }
.map-note { font-family: var(--sans); font-size: 10.5px; letter-spacing: .06em; fill: var(--ink-3); }
.map-south { fill: none; stroke: var(--bordeaux); stroke-width: 1.2; stroke-dasharray: 2 5; }

.pin { cursor: pointer; }
.pin .pin-halo { fill: var(--gold); opacity: 0; transform-box: fill-box; transform-origin: center; }
.pin .pin-dot { fill: var(--card); stroke: var(--bordeaux); stroke-width: 2; transition: fill .3s, r .3s var(--spring); }
.pin .pin-num { font-family: var(--sans); font-size: 8.5px; font-weight: 600; fill: var(--bordeaux); text-anchor: middle; dominant-baseline: central; pointer-events: none; transition: fill .3s; }
.pin .pin-label { font-family: var(--sans); font-size: 11.5px; font-weight: 500; fill: var(--ink-2); paint-order: stroke; stroke: var(--card); stroke-width: 4px; stroke-linejoin: round; transition: fill .3s; }
.pin:hover .pin-dot { fill: var(--bordeaux-soft); }
.pin.is-active .pin-dot { fill: var(--bordeaux); r: 10; }
.pin.is-active .pin-num { fill: #fff; }
.pin.is-active .pin-label { fill: var(--bordeaux); font-weight: 600; }
.pin.is-active .pin-halo { animation: halo 2.2s var(--ease) infinite; }
@keyframes halo { 0% { opacity: .55; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.6); } }

.club-list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.club-list button {
  width: 100%; display: grid; grid-template-columns: 36px 1fr auto; align-items: baseline; gap: 10px;
  padding: 12px 6px; background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; text-align: left;
  transition: padding .4s var(--ease), color .3s;
}
.club-list .cl-num { font-style: italic; color: var(--ink-3); font-size: 15px; }
.club-list .cl-name { font-size: 21px; line-height: 1.2; }
.club-list .cl-dept { font-family: var(--sans); font-size: 12px; color: var(--ink-3); letter-spacing: .04em; display: inline-flex; align-items: center; gap: 8px; }
.club-list .cl-swatch { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.club-list button:hover { padding-left: 12px; color: var(--bordeaux); }
.club-list button[aria-pressed="true"] { color: var(--bordeaux); padding-left: 12px; }
.club-list button[aria-pressed="true"] .cl-num { color: var(--bordeaux); }
.club-list button[aria-pressed="true"] .cl-name { font-style: italic; }

.stage { position: relative; aspect-ratio: 4 / 3.1; border-radius: var(--radius); background: var(--paper-2); box-shadow: var(--shadow); }
.stage-main { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; }
.stage-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s ease-in-out infinite alternate; }
.stage-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(43, 3, 9, .45), transparent 40%); pointer-events: none; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.stage-wipe { position: absolute; inset: 0; border-radius: inherit; background: var(--bordeaux); transform: scaleX(0); transform-origin: left; pointer-events: none; z-index: 2; }
.stage-tag, .stage-index {
  position: absolute; z-index: 3; font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: .06em;
  padding: 7px 12px; border-radius: 999px; background: rgba(247, 242, 234, .92); color: var(--bordeaux);
}
.stage-tag { top: 16px; left: 16px; text-transform: uppercase; }
.stage-index { top: 16px; right: 16px; font-family: var(--serif); font-size: 15px; letter-spacing: 0; font-style: italic; }

.postcard {
  position: absolute; z-index: 3; right: -18px; bottom: -34px; width: 42%; padding: 9px 9px 0;
  background: #fffdf9; border: 0; border-radius: 6px; cursor: pointer; text-align: left;
  box-shadow: 0 24px 40px -18px rgba(43, 3, 9, .45), 0 2px 6px rgba(43, 3, 9, .12);
  transform: rotate(4deg); transition: transform .6s var(--spring);
}
.postcard:hover { transform: rotate(1deg) translateY(-6px) scale(1.03); }
.postcard:active { transform: rotate(1deg) scale(.97); }
.postcard-img { display: block; position: relative; aspect-ratio: 760 / 420; overflow: hidden; border-radius: 3px; background: var(--paper-2); }
.postcard-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.postcard-label { display: flex; align-items: center; gap: 7px; padding: 9px 4px 11px; font-style: italic; font-size: 17px; color: var(--bordeaux); }
.postcard-label i { font-size: 16px; transition: transform .6s var(--ease); }
.postcard:hover .postcard-label i { transform: rotate(180deg); }
.postcard.flip { animation: flip .7s var(--ease); }
@keyframes flip { 0% { transform: rotate(4deg); } 45% { transform: rotate(-6deg) rotateY(80deg) scale(.95); } 100% { transform: rotate(4deg); } }

.img-in { animation: imgIn .9s var(--ease) both, kenburns 18s ease-in-out infinite alternate !important; }
.postcard-img img.img-in { animation: imgIn .7s var(--ease) both !important; }
@keyframes imgIn { from { opacity: 0; filter: blur(6px); } to { opacity: 1; filter: none; } }

.club-info { padding-top: 56px; display: grid; gap: 22px; }
.club-kicker { font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 10px; }
.club-kicker::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--bordeaux)); }
.club-name { font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.04; margin-top: 8px; }
.club-name em { color: var(--bordeaux); }
.club-blurb { color: var(--ink-2); margin-top: 12px; max-width: 54ch; }
.club-meta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin: 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.club-meta dt { font-family: var(--sans); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.club-meta dd { margin: 0; font-size: 18px; line-height: 1.35; }
.club-meta a { text-decoration: none; border-bottom: 1px solid var(--line-strong); transition: border-color .3s, color .3s; }
.club-meta a:hover { color: var(--bordeaux); border-color: var(--bordeaux); }
.club-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.club-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.club-info.swap > * { animation: infoIn .7s var(--ease) both; }
.club-info.swap > *:nth-child(2) { animation-delay: .06s; }
.club-info.swap > *:nth-child(3) { animation-delay: .12s; }
.club-info.swap > *:nth-child(4) { animation-delay: .18s; }
@keyframes infoIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* =========================================================
   SHETLAND
   ========================================================= */
.shetland { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(80px, 10vw, 140px) 0; }
.shetland-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.shetland-head { position: sticky; top: 110px; }
.shetland-photo { margin-top: 36px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; }
.shetland-photo img { width: 100%; height: 100%; object-fit: cover; }
.reasons { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.reasons li { display: grid; grid-template-columns: 84px 1fr; gap: 20px; padding: 34px 0; border-top: 1px solid var(--line); }
.reasons li:last-child { border-bottom: 1px solid var(--line); }
.reason-num { font-size: 3.4rem; line-height: .9; font-style: italic; color: var(--bordeaux); transition: transform .6s var(--spring); display: inline-block; transform-origin: left bottom; }
.reasons li:hover .reason-num { transform: rotate(-6deg) scale(1.08); }
.reasons h3 { font-size: 1.6rem; line-height: 1.15; margin-bottom: 10px; }
.reasons p { color: var(--ink-2); max-width: 56ch; }

.pullquote { margin: clamp(70px, 9vw, 120px) auto 0; }
.pullquote blockquote { margin: 0 auto; max-width: 22ch; font-size: clamp(2rem, 4.4vw, 3.8rem); line-height: 1.1; font-style: italic; text-align: left; color: var(--ink); letter-spacing: -.015em; }
.pullquote blockquote::before { content: "«"; color: var(--bordeaux); margin-right: .15em; }
.pullquote blockquote::after { content: "»"; color: var(--bordeaux); margin-left: .15em; }
.pullquote mark { background: linear-gradient(transparent 62%, var(--gold-soft) 62%, var(--gold-soft) 92%, transparent 92%); color: var(--bordeaux); padding: 0 .05em; }

/* =========================================================
   OFFRES — bento
   ========================================================= */
.offers { padding: clamp(80px, 10vw, 140px) 0; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(120px, auto); gap: 16px; }
.tile { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 36px); overflow: hidden; display: flex; flex-direction: column; gap: 14px; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile h3 { font-size: 1.75rem; line-height: 1.1; }
.tile p { color: var(--ink-2); }
.tile-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.tile-icon { font-size: 34px; color: var(--bordeaux); flex: none; }

.tile-sologne { grid-column: span 7; grid-row: span 2; padding: 0; min-height: 520px; color: #fff; justify-content: flex-end; }
.tile-sologne img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.tile-sologne:hover img { transform: scale(1.05); }
.tile-sologne::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(43, 3, 9, .86) 0%, rgba(43, 3, 9, .35) 45%, transparent 75%); }
.tile-sologne-body { position: relative; z-index: 1; padding: clamp(26px, 3vw, 40px); display: grid; gap: 14px; justify-items: start; }
.tile-sologne h3 { font-size: clamp(2rem, 3.2vw, 2.8rem); line-height: 1.02; }
.tile-sologne p { color: rgba(255,255,255,.86); max-width: 46ch; }
.tile-sologne .link-arrow { color: var(--gold-soft); }

.tile-private { grid-column: span 5; }
.tile-pension { grid-column: span 5; }
.tile-school { grid-column: span 4; background: var(--bordeaux); color: #fff; border-color: transparent; }
.tile-school p { color: rgba(255,255,255,.8); }
.tile-school .tile-icon { color: var(--gold); }
.tile-galops { grid-column: span 8; }

.seg { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--paper-2); border-radius: 999px; padding: 4px; margin-top: 6px; }
.seg button { position: relative; z-index: 1; background: none; border: 0; padding: 10px 6px; border-radius: 999px; cursor: pointer; font-family: var(--sans); font-size: 14px; color: var(--ink-2); transition: color .3s; }
.seg button[aria-checked="true"] { color: #fff; }
.seg-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 999px; background: var(--bordeaux); transition: transform .55s var(--spring); }
.price { font-size: 3.2rem; line-height: 1; color: var(--bordeaux); margin-top: auto; font-variant-numeric: lining-nums tabular-nums; display: flex; align-items: baseline; gap: 6px; }
.price small { font-family: var(--sans); font-size: 13px; color: var(--ink-3); }

.bars { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 14px; }
.bars li { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 14px; font-family: var(--sans); font-size: 14px; }
.bars span { color: var(--ink-2); }
.bars b { height: 10px; border-radius: 99px; background: var(--paper-2); position: relative; overflow: hidden; }
.bars b::after { content: ""; position: absolute; inset: 0; background: var(--bordeaux); border-radius: inherit; transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease); }
.bars li:nth-child(2) b::after { transition-delay: .12s; }
.bars li:nth-child(3) b::after { transition-delay: .24s; }
.tile-pension.is-in .bars b::after { transform: scaleX(var(--w)); }
.bars em { font-family: var(--serif); font-style: normal; font-size: 19px; color: var(--ink); white-space: nowrap; }

.mini-list { list-style: none; margin: auto 0 0; padding: 16px 0 0; border-top: 1px solid rgba(255,255,255,.18); display: grid; gap: 8px; font-family: var(--sans); font-size: 14px; }
.mini-list li { display: flex; align-items: center; gap: 10px; }
.mini-list i { color: var(--gold); font-size: 18px; }

/* piste des Galops */
.track { --hop: 40px; position: relative; margin-top: auto; padding-top: 70px; }
.hurdles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); border-bottom: 1.5px solid var(--line-strong); }
.hurdles li { display: grid; justify-items: center; gap: 0; position: relative; }
.hurdles i { display: block; width: 26px; height: 22px; border: 1.5px solid var(--bordeaux); border-bottom: 0; border-radius: 3px 3px 0 0; background: repeating-linear-gradient(90deg, var(--bordeaux) 0 5px, transparent 5px 10px) top / 100% 4px no-repeat; }
.hurdles span { position: absolute; top: 100%; margin-top: 8px; font-family: var(--sans); font-size: 12px; color: var(--ink-3); letter-spacing: .04em; }
.hurdles .flag i { width: 2px; height: 34px; border: 0; background: var(--bordeaux); border-radius: 0; position: relative; }
.hurdles .flag i::after { content: ""; position: absolute; left: 2px; top: 0; border-left: 16px solid var(--gold); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.hurdles .flag span { color: var(--bordeaux); font-style: italic; font-family: var(--serif); font-size: 15px; margin-top: 5px; }
.track { padding-bottom: 30px; }
.runner { position: absolute; left: 0; right: 0; bottom: 30px; height: 0; animation: run 9s linear infinite; width: calc(100% / 8 * 7.5); }
.horse { position: absolute; left: 0; bottom: 0; width: 40px; height: 40px; margin-left: -6px; display: grid; place-items: center; border-radius: 50%; background: var(--bordeaux); color: #fff; font-size: 24px; animation: hop calc(9s / 8) var(--ease) infinite; box-shadow: 0 8px 14px -6px rgba(109, 7, 25, .6); }
.horse i { transform: scaleX(-1); }
.tile-galops:hover .runner, .tile-galops:hover .horse { animation-play-state: paused; }
@keyframes run { from { transform: translateX(0); } to { transform: translateX(100%); } }
@keyframes hop {
  0%, 18% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(calc(var(--hop) * -1)) rotate(-12deg); }
  82%, 100% { transform: translateY(0) rotate(0); }
}

.summer { display: flex; align-items: center; gap: 22px; margin-top: 16px; padding: 22px clamp(22px, 3vw, 34px); border-radius: var(--radius); background: var(--gold-soft); color: var(--bordeaux-ink); }
.summer p { max-width: 90ch; }
.summer strong { font-weight: 600; color: var(--bordeaux); }
.summer-sun { font-size: 40px; color: var(--bordeaux); animation: spin 30s linear infinite; flex: none; }

/* =========================================================
   NOS PONEYS
   ========================================================= */
.horses { padding: 0 0 clamp(80px, 10vw, 140px); }
.horses-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.horses-photos { position: relative; min-height: 560px; }
.print { position: absolute; margin: 0; padding: 12px 12px 0; background: #fffdf9; border-radius: 4px; box-shadow: 0 30px 50px -24px rgba(43, 3, 9, .4), 0 2px 6px rgba(43, 3, 9, .08); transition: transform .7s var(--spring); }
.print img { width: 100%; height: auto; border-radius: 2px; }
.print figcaption { font-style: italic; font-size: 16px; color: var(--ink-2); padding: 10px 2px 14px; }
.print-a { width: 78%; left: 0; top: 0; transform: rotate(-3deg); }
.print-b { width: 52%; right: 0; bottom: 0; transform: rotate(4deg); }
.print-a.is-in { transform: rotate(-3deg); }
.print-b.is-in { transform: rotate(4deg); }
.print:hover { transform: rotate(0deg) scale(1.03) !important; z-index: 2; }

.accordion { margin-top: 36px; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; font-size: 1.45rem; transition: color .3s; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--bordeaux); }
.accordion summary i { font-size: 20px; color: var(--bordeaux); transition: transform .5s var(--spring); flex: none; }
.accordion details[open] summary { color: var(--bordeaux); font-style: italic; }
.accordion details[open] summary i { transform: rotate(135deg); }
.accordion details p { color: var(--ink-2); padding: 0 0 22px; max-width: 58ch; animation: infoIn .6s var(--ease); }

/* =========================================================
   EQUIJOB
   ========================================================= */
.jobs { background: var(--bordeaux); color: #fff; padding: clamp(80px, 10vw, 130px) 0; position: relative; overflow: hidden; }
.jobs::before { content: ""; position: absolute; width: 640px; height: 640px; right: -200px; top: -260px; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.02); }
.jobs-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 100px); align-items: start; position: relative; }
.jobs h2 em { color: var(--gold); }
.jobs-intro { color: rgba(255,255,255,.78); margin: 22px 0 34px; max-width: 44ch; }
.jobs-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.18); }
.jobs-list li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.18); transition: padding .5s var(--ease); }
.jobs-list li:hover { padding-left: 10px; }
.job-n { font-family: var(--sans); font-size: 13px; color: var(--gold); letter-spacing: .08em; padding-top: 8px; }
.jobs-list h3 { font-size: 1.65rem; line-height: 1.15; }
.jobs-list p { color: rgba(255,255,255,.72); margin-top: 4px; }
.jobs-perks { align-items: center; }
.jobs-perks i { font-size: 28px; color: var(--gold); }
.jobs-perks p { margin: 0; font-style: italic; font-size: 1.1rem; color: #fff; }

/* =========================================================
   PIED DE PAGE
   ========================================================= */
.footer { background: var(--bordeaux-ink); color: rgba(255,255,255,.78); padding-top: clamp(64px, 8vw, 100px); position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 100px); padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-about p { margin: 22px 0; max-width: 44ch; }
.footer-fb { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 14px; text-decoration: none; color: var(--gold-soft); }
.footer-fb i { font-size: 20px; }
.footer-h { font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 18px; }
.footer-clubs ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.footer-clubs li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); display: grid; gap: 2px; }
.footer-clubs a { text-decoration: none; color: #fff; font-size: 20px; transition: color .3s; }
.footer-clubs a:hover { color: var(--gold); }
.footer-clubs small { font-family: var(--sans); font-size: 12.5px; color: rgba(255,255,255,.55); }
.footer-legal { padding: 26px 0 30px; font-family: var(--sans); font-size: 13px; color: rgba(255,255,255,.55); display: grid; gap: 10px; }
.footer-legal a { color: rgba(255,255,255,.8); }
.credits summary { cursor: pointer; color: rgba(255,255,255,.7); width: max-content; }
.credits p { margin-top: 10px; line-height: 1.7; max-width: 120ch; }
.footer-word { font-size: clamp(6rem, 22vw, 20rem); line-height: .78; font-style: italic; color: rgba(255,255,255,.05); text-align: center; letter-spacing: -.04em; user-select: none; margin-bottom: -.12em; }

/* grain papier */
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: inline-block; }
  .quick { grid-template-columns: repeat(3, 1fr); }
  .quick a:nth-child(3) { border-right: 0; }
  .quick a:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .tile-galops { grid-column: span 12; }
  .tile-school { grid-column: span 12; }
  .tile-sologne { grid-column: span 12; grid-row: auto; min-height: 460px; }
  .tile-private, .tile-pension { grid-column: span 6; }
}

@media (max-width: 900px) {
  body { font-size: 18px; }
  .hero-grid, .explorer, .shetland-grid, .horses-grid, .jobs-grid, .footer-top, .section-head-row { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; }
  .hero-visual { height: 420px; min-height: 0; }
  .stamp { left: auto; right: 10px; bottom: -36px; width: 112px; height: 112px; }
  .explorer-side, .shetland-head { position: static; }
  .explorer-side { order: 2; }
  .explorer-stage { order: 1; }
  .map { display: none; }
  .club-list { display: flex; gap: 8px; overflow-x: auto; border-top: 0; padding-bottom: 6px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .club-list li { flex: none; scroll-snap-align: start; }
  .club-list button { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 9px 16px; }
  .club-list button:hover, .club-list button[aria-pressed="true"] { padding-left: 16px; }
  .club-list button[aria-pressed="true"] { background: var(--bordeaux); color: #fff; border-color: var(--bordeaux); }
  .club-list button[aria-pressed="true"] .cl-num { color: var(--gold-soft); }
  .club-list .cl-dept { display: none; }
  .club-list .cl-name { font-size: 17px; }
  .explorer-side { order: 0; }
  .postcard { right: 10px; bottom: -28px; width: 46%; }
  .club-meta { grid-template-columns: 1fr; gap: 14px; }
  .horses-photos { min-height: 0; display: grid; gap: 20px; }
  .print { position: relative; width: 88% !important; }
  .print-b { justify-self: end; margin-top: -40px; }
  .footer-clubs ul { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .header-inner { height: 64px; }
  .header-cta .btn { display: none; }
  .hero-title { font-size: 2.7rem; }
  .hero-stats { gap: 22px; }
  .hero-stats dt { font-size: 1.6rem; }
  .hero-visual { height: 340px; gap: 10px; }
  .reel-b { margin-top: 30px; }
  .quick { grid-template-columns: repeat(2, 1fr); }
  .quick a { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line); padding: 18px 14px; }
  .quick a:nth-child(2n) { border-right: 0 !important; }
  .quick a:nth-last-child(-n+2) { border-bottom: 0; }
  .tile-private, .tile-pension { grid-column: span 12; }
  .bars li { grid-template-columns: 92px 1fr auto; gap: 10px; }
  .reasons li { grid-template-columns: 54px 1fr; gap: 12px; }
  .reason-num { font-size: 2.4rem; }
  .summer { flex-direction: column; align-items: flex-start; gap: 12px; }
  .track { --hop: 30px; }
  .horse { width: 32px; height: 32px; font-size: 19px; margin-left: -4px; }
  .hurdles i { width: 18px; height: 16px; }
  .hurdles span { font-size: 10.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
