/* FB Horse Team — prototype V3 « écurie vivante » (proposition du 2026-09-23)
   Charte inchangée : vert canard profond #0A2E29 · cuivre #B5623A · crème #F3ECE0, sans dégradé.
   Typo : display Jost 600 capitales, noms et titres en Cormorant Garamond italique, accent manuscrit Parisienne.
   V3 : système de mise en page à gouttière fluide, cartes-chevaux avec aperçu vidéo, stories, page News
   (sélecteur de chevaux, filtres, timeline), sous-navigation des fiches, visionneuse plein écran,
   barre d'onglets mobile. Arrondis partout (jetons --r-*). */

:root {
  --green: #0A2E29; --copper: #B5623A; --cream: #F3ECE0;
  --green-deep: #061E1A;                 /* nuance sombre du vert charte (surfaces, lecteurs) */
  --ink-2: rgba(243, 236, 224, 0.74);    /* texte secondaire */
  --line: rgba(243, 236, 224, 0.14);
  --line-strong: rgba(243, 236, 224, 0.34);
  --copper-line: rgba(181, 98, 58, 0.5);
  --surface: rgba(243, 236, 224, 0.035);
  --surface-2: rgba(243, 236, 224, 0.075);
  --glass: rgba(10, 46, 41, 0.9);
  --veil: rgba(6, 30, 26, 0.78);
  --r-xs: 8px; --r-sm: 12px; --r-md: 18px; --r-lg: 26px; --r-xl: 34px; --r-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-1: 0 6px 24px rgba(3, 17, 15, 0.35);
  --shadow-2: 0 18px 50px rgba(3, 17, 15, 0.5);
  --hdr: 80px;
  --gut: clamp(20px, 4vw, 56px);
  --maxw: 1320px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: Jost, 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: calc(var(--hdr) + 16px); }   /* ancres : sous l'en-tête collant (surchargé plus bas pour sections et publications) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }

/* Scrollbars fines, cuivre */
html { scrollbar-width: thin; scrollbar-color: rgba(181, 98, 58, 0.55) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(181, 98, 58, 0.45); border-radius: var(--r-pill); border: 2px solid var(--green); }
::-webkit-scrollbar-thumb:hover { background: var(--copper); }
::selection { background: var(--copper); color: var(--cream); }

body { margin: 0; background: var(--green); color: var(--cream); font-family: var(--sans); font-weight: 400; font-size: 15.5px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--cream); text-decoration: none; cursor: pointer; transition: color 0.25s var(--ease); }
a:hover { color: var(--copper); }
img { display: block; max-width: 100%; }
button { font-family: inherit; }
.wrap { max-width: calc(var(--maxw) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -0.035em; line-height: 1; }
h1.serif, h2.serif, h3.serif, .tz-title { text-wrap: balance; }
.display { font-family: var(--sans); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.02; }
.script { font-family: 'Parisienne', 'Snell Roundhand', cursive; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 1.22em; line-height: 0.8; vertical-align: -0.08em; color: var(--copper); -webkit-text-stroke: 0.3px currentColor; }
.kick { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--copper); margin-bottom: 12px; }
.hl { font-weight: 400; color: var(--copper); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: var(--r-xs); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--cream); color: var(--green); padding: 10px 16px; border-radius: var(--r-pill); }
.skip:focus { top: 12px; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Point « en direct » (news) */
.live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--copper); flex-shrink: 0; animation: live 2.2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(181, 98, 58, 0.6); } 70% { box-shadow: 0 0 0 8px rgba(181, 98, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(181, 98, 58, 0); } }

/* ————— Logo ————— */
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--cream); }
.logo .mono { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 44px; line-height: 0.8; letter-spacing: -0.04em; white-space: nowrap; }
.logo .dot { color: var(--copper); }
.logo .rule { width: 2px; height: 30px; background: var(--copper); border-radius: var(--r-pill); }
.logo .name { display: flex; flex-direction: column; gap: 2px; font-size: 8px; letter-spacing: 0.26em; line-height: 1.1; text-transform: uppercase; }
.logo.lg { gap: 22px; }
.logo.lg .mono { font-size: 76px; }
.logo.lg .rule { height: 52px; }
.logo.lg .name { gap: 4px; font-size: 14px; }

/* ————— En-tête : logo · navigation centrée · actions ————— */
.hdr { position: sticky; top: 0; z-index: 50; height: var(--hdr); display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 28px; padding: 0 var(--gut); background: var(--green); border-bottom: 1px solid var(--copper-line); transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.hdr.scrolled { background: var(--glass); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); box-shadow: var(--shadow-1); }
.hlogo:hover { color: var(--cream); }
.hdr .logo .mono { font-size: 44px; }
.hdr .logo .name { font-size: 8.5px; gap: 3px; }
.links { display: flex; gap: clamp(16px, 1.7vw, 28px); justify-self: center; }
.links a { position: relative; font-size: 12.5px; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; white-space: nowrap; padding: 10px 2px; }
.links a::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: 3px; height: 2px; border-radius: var(--r-pill); background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.links a:hover::after, .links a.on::after { transform: scaleX(1); }
.links a.on { color: var(--copper); }
.links a .live { position: absolute; top: 5px; right: -9px; width: 6px; height: 6px; }
.hact { display: flex; align-items: center; gap: 10px; justify-self: end; }
.lang { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid transparent; background: none; color: var(--cream); font-size: 11.5px; letter-spacing: 0.14em; cursor: pointer; transition: border-color 0.25s var(--ease); }
.lang:hover { border-color: var(--line-strong); }
.hfav { position: relative; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: border-color 0.25s var(--ease), color 0.25s var(--ease); }
.hfav:hover { border-color: var(--copper); }
.hfav.has svg { fill: var(--copper); color: var(--copper); }
.fav-count { position: absolute; top: -5px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: var(--r-pill); background: var(--copper); color: var(--cream); font-size: 10.5px; font-weight: 500; display: grid; place-items: center; line-height: 1; }
.fav-count.bump { animation: bump 0.45s var(--spring); }
.burger { display: none; background: none; border: 1px solid var(--line-strong); color: var(--cream); width: 44px; height: 44px; border-radius: 50%; place-items: center; cursor: pointer; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 48px; padding: 0 24px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; border: 0; cursor: pointer; border-radius: var(--r-pill); font-family: var(--sans); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease); }
.btn.sm { height: 42px; padding: 0 18px; font-size: 11px; }
.btn.copper { background: var(--copper); color: var(--cream); }
.btn.copper:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(181, 98, 58, 0.35); color: var(--cream); }
.btn.line { background: transparent; border: 1px solid var(--cream); color: var(--cream); }
.btn.line:hover { border-color: var(--copper); color: var(--copper); transform: translateY(-2px); }
.btn.full { width: 100%; height: 52px; }
.btn svg { flex-shrink: 0; }

/* Menu mobile plein écran */
.mnav { position: fixed; inset: 0; background: var(--green); z-index: 60; display: none; flex-direction: column; padding: 20px var(--gut) calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; }
.mnav.open { display: flex; animation: fadein 0.25s var(--ease); }
.mnav .mtop { display: flex; align-items: center; justify-content: space-between; height: 56px; border-bottom: 1px solid var(--copper-line); margin: -20px calc(-1 * var(--gut)) 18px; padding: 0 var(--gut); flex-shrink: 0; }
.mnav .mlinks { display: flex; flex-direction: column; }
.mnav .mlink { font-size: 17px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; padding: 15px 4px; border-bottom: 1px solid rgba(243, 236, 224, 0.1); white-space: nowrap; }
.mnav .mlink.on { color: var(--copper); }
.mnav .mlang { display: flex; gap: 20px; margin: 22px 0; font-size: 14px; letter-spacing: 0.18em; }
.mnav .mlang span { cursor: pointer; }
.mnav .mlang .on { color: var(--copper); }
.mnav .mfoot { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; opacity: 0.85; }

/* Barre d'onglets mobile (app) */
.tabbar { display: none; }

/* ————— Accueil ————— */
.home-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; padding: 46px 0 26px; }
.home-top h1 { margin: 0; font-size: clamp(34px, 4.4vw, 60px); }
.sub { margin: 14px 0 0; font-size: 15px; color: var(--ink-2); }
.sub b { color: var(--copper); font-weight: 500; }
.ht-stories .kick { margin-bottom: 10px; }

/* Stories (anneau segmenté : un segment par story) */
.stories { display: flex; gap: 16px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 2px; }
.stories::-webkit-scrollbar { display: none; }
.sbubble { background: none; border: 0; padding: 0; color: var(--cream); display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; flex-shrink: 0; font: inherit; }
.sbubble:hover { color: var(--cream); }
.sring { position: relative; width: 78px; height: 78px; display: block; transition: transform 0.35s var(--spring); }
.sbubble:hover .sring { transform: scale(1.07); }
.sring-svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--copper); stroke-width: 2.6; stroke-linecap: round; transition: stroke 0.3s var(--ease); }
.sbubble:hover .sring-svg { animation: spin 6s linear infinite; }
.sring img { position: absolute; inset: 8px; width: 62px; height: 62px; border-radius: 50%; object-fit: cover; }
.sbubble.seen .sring-svg { stroke: var(--line-strong); }
.sring.plain { border: 1.5px dashed var(--line-strong); border-radius: 50%; }
.sicon { position: absolute; inset: 0; display: grid; place-items: center; color: var(--copper); }
.sname { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Barre d'outils de filtres */
.toolbar { margin: 0 0 30px; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); display: flex; align-items: center; gap: 4px; }
.tsep { width: 1px; height: 26px; background: var(--line); margin: 0 6px; flex-shrink: 0; }
.toolbar .search { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 42px; flex: 0 1 250px; min-width: 150px; color: var(--cream); }
.toolbar .search svg { opacity: 0.8; flex-shrink: 0; }
.toolbar .search input { flex: 1; background: none; border: 0; outline: none; color: var(--cream); font-family: inherit; font-size: 13.5px; min-width: 0; }
.toolbar .search input::placeholder { color: var(--cream); opacity: 0.55; }
.chip { height: 42px; border: 0; padding: 0 15px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: 0.04em; white-space: nowrap; cursor: pointer; position: relative; background: transparent; color: var(--cream); border-radius: var(--r-pill); transition: background 0.25s var(--ease); flex-shrink: 0; font-family: inherit; }
.chip:hover { background: var(--surface-2); }
.chip .v { color: var(--copper); font-weight: 500; }
.chip.on { background: var(--cream); color: var(--green); }
.chip.set { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--copper-line); }
.chip > svg { opacity: 0.75; }
.fchip.on svg { fill: var(--copper); color: var(--copper); opacity: 1; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; height: 42px; padding: 0 16px; border-radius: var(--r-pill); position: relative; cursor: pointer; margin-left: auto; transition: background 0.25s var(--ease); flex-shrink: 0; }
.sort:hover { background: var(--surface-2); }
.sort b { font-weight: 500; color: var(--copper); }
.menu { position: absolute; top: calc(100% + 10px); left: 0; z-index: 65; min-width: 100%; background: var(--green); border: 1px solid var(--line-strong); border-radius: var(--r-md); box-shadow: var(--shadow-2); display: none; flex-direction: column; padding: 6px; }
.menu.open { display: flex; animation: pop 0.22s var(--ease) both; }
.menu button { background: none; border: 0; color: var(--cream); font-family: inherit; font-size: 12.5px; letter-spacing: 0.04em; text-align: left; padding: 10px 14px; cursor: pointer; white-space: nowrap; border-radius: var(--r-sm); transition: background 0.2s var(--ease), color 0.2s var(--ease); }
.menu button:hover, .menu button.sel { background: var(--cream); color: var(--green); }
.sort .menu { left: auto; right: 0; }
.empty { display: none; padding: 30px 0 10px; }
.empty p { margin: 0 0 16px; font-size: 15px; }

/* ————— Cartes chevaux ————— */
.hgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; padding: 0 0 56px; }
.hgrid.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hgrid.n1 { grid-template-columns: minmax(0, 660px); }
.hcard { position: relative; display: flex; flex-direction: column; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); overflow: hidden; animation: rise 0.55s var(--ease) both; transition: transform 0.45s var(--ease), border-color 0.3s var(--ease), box-shadow 0.45s var(--ease); }
.hcard:nth-child(2) { animation-delay: 0.08s; } .hcard:nth-child(3) { animation-delay: 0.16s; }
.hcard:hover { transform: translateY(-6px); border-color: var(--copper-line); box-shadow: var(--shadow-2); }
.hc-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--green-deep); }
.hc-media > img, .hc-prev { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hc-media > img { transition: transform 0.9s var(--ease); }
.hcard:hover .hc-media > img { transform: scale(1.05); }
.hc-prev { opacity: 0; transition: opacity 0.5s var(--ease); pointer-events: none; }
.hcard.playing .hc-prev { opacity: 1; }
.st { position: absolute; left: 16px; top: 16px; z-index: 2; background: var(--green); color: var(--cream); padding: 6px 13px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; border-radius: var(--r-pill); }
.fav { position: absolute; right: 14px; top: 14px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; background: var(--veil); border: 1px solid var(--line-strong); color: var(--cream); display: grid; place-items: center; cursor: pointer; transition: transform 0.3s var(--spring), background 0.25s var(--ease), border-color 0.25s var(--ease); }
.fav:hover { transform: scale(1.1); border-color: var(--copper); }
.fav[aria-pressed="true"] { background: var(--copper); border-color: var(--copper); }
.fav[aria-pressed="true"] svg { fill: currentColor; }
.fav.pop { animation: bump 0.5s var(--spring); }
.fav.inline { position: static; width: 40px; height: 40px; background: none; }
.fav.inline[aria-pressed="true"] { background: var(--copper); }
.hc-hint { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 11px; border-radius: var(--r-pill); background: var(--veil); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; transition: opacity 0.3s var(--ease); }
.hcard.playing .hc-hint { opacity: 0; }
.hc-body { padding: 22px 24px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.hcard h2 { margin: 0; font-size: clamp(28px, 2.6vw, 36px); }
.hcard h2 a { transition: color 0.25s var(--ease); }
.hcard:hover h2 a { color: var(--copper); }
.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.sire { font-size: 13px; color: var(--copper); }
.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 4px 0 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.specs div { padding: 10px 12px; border-left: 1px solid var(--line); min-width: 0; }
.specs div:first-child { border-left: 0; }
.specs dt { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper); }
.specs dd { margin: 3px 0 0; font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-news { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: var(--r-md); background: var(--surface-2); font-size: 13px; transition: background 0.25s var(--ease); }
.hc-news:hover { background: rgba(181, 98, 58, 0.2); color: var(--cream); }
.hc-news span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-news b { font-weight: 500; color: var(--copper); margin-right: 6px; }
.hc-news em { font-style: normal; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper); display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.hc-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--copper-line); padding-top: 12px; margin-top: auto; }
.badges { display: flex; gap: 6px; }
.badges span { border: 1px solid var(--line-strong); padding: 3px 10px; font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; border-radius: var(--r-pill); }
.hc-telex { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--copper); }

/* Titres de section + teasers de news */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 0 0 22px; }
.sec-head h2 { margin: 0; font-size: clamp(28px, 3vw, 40px); }
.sec-head .kick { margin-bottom: 8px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper); white-space: nowrap; transition: gap 0.25s var(--ease); }
.more:hover { gap: 12px; }
.latest { padding: 40px 0 56px; border-top: 1px solid var(--copper-line); }
.tz-grid, .tz-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.tz-row { gap: 14px; }
.teaser { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform 0.4s var(--ease), border-color 0.3s var(--ease); }
.teaser:hover { transform: translateY(-4px); border-color: var(--copper-line); color: var(--cream); }
.tz-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--green-deep); }
.tz-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.teaser:hover .tz-media > img { transform: scale(1.05); }
.tz-media .ptype { position: absolute; left: 12px; top: 12px; }
.tz-play { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: var(--cream); color: var(--green); display: grid; place-items: center; transition: transform 0.3s var(--spring); }
.tz-play svg { margin-left: 2px; }
.teaser:hover .tz-play { transform: scale(1.12); }
.tz-board { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: 18%; gap: 6px; color: var(--copper); }
.tz-board b { font-family: var(--sans); font-weight: 600; font-size: 76px; line-height: 1; }
.tz-board small { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.tz-icon { position: absolute; inset: 0; display: grid; place-items: center; color: var(--copper); }
.tz-icon svg { width: 54px; height: 54px; stroke-width: 1; }
.tz-body { display: flex; flex-direction: column; gap: 8px; padding: 15px 18px 20px; }
.tz-meta { display: flex; align-items: center; gap: 10px; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.tz-meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--copper); }
.tz-horse { display: inline-flex; align-items: center; gap: 8px; color: var(--cream); }
.tz-horse img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.tz-title { font-size: 25px; line-height: 1.05; }

/* Badge de type de publication (3 couleurs de la charte seulement) */
.ptype { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 10px; border-radius: var(--r-pill); background: var(--green); border: 1px solid var(--line-strong); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream); white-space: nowrap; }
.ptype.t-concours { background: var(--copper); border-color: var(--copper); }
.ptype.t-video { background: var(--cream); border-color: var(--cream); color: var(--green); }
.ptype.t-entrainement { border-color: var(--copper); }
.ptype.t-sante { border-color: var(--cream); }

/* Présentation compacte + bandeau + pied de page minimal */
.about { border-top: 1px solid var(--copper-line); padding: 36px 0 44px; display: flex; align-items: center; justify-content: center; gap: 40px; }
.about .pic { width: 132px; height: 132px; overflow: hidden; border-radius: 50%; flex-shrink: 0; border: 1px solid rgba(181, 98, 58, 0.6); }
.about .pic img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 12%; }
.about .atext { display: flex; flex-direction: column; gap: 4px; max-width: 340px; }
.about .an { font-size: 26px; }
.about .atext p { margin: 2px 0 6px; font-size: 13px; color: var(--ink-2); }
.about .atext a { display: inline-flex; align-items: center; gap: 7px; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--copper); }
.strip { border-top: 1px solid rgba(181, 98, 58, 0.4); padding: 22px var(--gut); display: flex; align-items: center; justify-content: center; gap: 18px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; flex-wrap: wrap; color: var(--ink-2); }
.strip i { width: 5px; height: 5px; background: var(--copper); border-radius: 50%; flex-shrink: 0; }
.ftr { border-top: 1px solid rgba(181, 98, 58, 0.3); padding: 18px var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 12px; opacity: 0.78; flex-wrap: wrap; transition: opacity 0.3s var(--ease); }
.ftr:hover { opacity: 1; }
.ftr .flogo { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 22px; letter-spacing: -0.04em; white-space: nowrap; }
.ftr .flogo .dot { color: var(--copper); }
.ftr .fname { font-family: var(--sans); font-style: normal; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; }
.ftr nav { display: flex; gap: 18px; flex-wrap: wrap; }
.ftr nav a { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.ftr .fmeta { display: flex; gap: 14px; align-items: center; font-size: 11.5px; flex-wrap: wrap; }
.ftr .fmeta i { width: 4px; height: 4px; background: var(--copper); border-radius: 50%; }

/* ————— Page News ————— */
.news-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; padding: 48px 0 28px; }
.news-hero h1 { margin: 0 0 14px; font-size: clamp(40px, 5.4vw, 78px); }
.lead { margin: 0 0 8px; max-width: 64ch; font-size: 16.5px; color: rgba(243, 236, 224, 0.92); }
.nstats { display: flex; gap: 12px; margin: 22px 0 0; flex-wrap: wrap; }
.nstats div { border: 1px solid var(--line-strong); border-radius: var(--r-lg); padding: 12px 20px 10px; min-width: 116px; transition: border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.nstats div:hover { border-color: var(--copper); transform: translateY(-3px); }
.nstats dt { font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper); }
.nstats dd { margin: 4px 0 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 36px; line-height: 1; letter-spacing: -0.03em; }
.nh-stories .kick { margin-bottom: 10px; }

.hpick { display: flex; gap: 12px; overflow-x: auto; padding: 6px 2px 22px; scrollbar-width: none; }
.hpick::-webkit-scrollbar { display: none; }
.hp { flex: 0 0 auto; display: flex; align-items: center; gap: 14px; padding: 10px 24px 10px 10px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--surface); color: var(--cream); cursor: pointer; font: inherit; text-align: left; transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), transform 0.3s var(--spring); }
.hp:hover { border-color: var(--copper); transform: translateY(-2px); }
.hp.on { background: var(--cream); color: var(--green); border-color: var(--cream); }
.hp-av { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.hp-avs { display: flex; flex-shrink: 0; }
.hp-avs img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid var(--green); }
.hp-avs img + img { margin-left: -20px; }
.hp.on .hp-avs img { border-color: var(--cream); }
.hp-txt { display: flex; flex-direction: column; gap: 4px; }
.hp-txt b { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 23px; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.hp-txt small { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper); white-space: nowrap; }

.nbar { position: sticky; top: var(--hdr); z-index: 30; display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--r-lg); background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line); transition: box-shadow 0.3s var(--ease); }
.nbar.stuck { box-shadow: var(--shadow-1); }
.nchips { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.nchips::-webkit-scrollbar { display: none; }
.nchip { height: 40px; flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 0 12px 0 14px; border-radius: var(--r-pill); border: 0; background: transparent; color: var(--cream); font: inherit; font-size: 12.5px; cursor: pointer; white-space: nowrap; transition: background 0.25s var(--ease), color 0.25s var(--ease), opacity 0.25s var(--ease); }
.nchip:hover { background: var(--surface-2); }
.nchip.on { background: var(--cream); color: var(--green); }
.nchip svg { opacity: 0.85; }
.nchip .nc { font-size: 10.5px; min-width: 22px; height: 20px; padding: 0 6px; border-radius: var(--r-pill); background: var(--surface-2); display: inline-grid; place-items: center; }
.nchip.on .nc { background: var(--copper); color: var(--cream); }
.nchip:disabled { opacity: 0.32; cursor: default; background: none; }
.nview { display: flex; padding: 4px; border-radius: var(--r-pill); background: var(--surface-2); flex-shrink: 0; }
.nview button { height: 32px; padding: 0 14px; border-radius: var(--r-pill); border: 0; background: none; color: var(--cream); font: inherit; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; transition: background 0.25s var(--ease); }
.nview button.on { background: var(--copper); }
.nempty { text-align: center; padding: 50px 0 20px; }
.nempty p { margin: 0 0 16px; color: var(--ink-2); }

.chapter { padding: 30px 0 6px; }
.chapter + .chapter { border-top: 1px solid var(--copper-line); margin-top: 26px; padding-top: 44px; }
.profile { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.pf-cover { height: 210px; position: relative; overflow: hidden; background: var(--green-deep); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; }
.pf-cover img { width: 100%; height: 100%; object-fit: cover; }
.pf-body { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "av id stats" "av act act"; gap: 14px 28px; padding: 0 30px 26px; align-items: end; }
.pf-av { grid-area: av; width: 136px; height: 136px; border-radius: 50%; object-fit: cover; border: 5px solid var(--green); margin-top: -64px; align-self: start; position: relative; z-index: 1; }
.pf-id { grid-area: id; padding-top: 18px; min-width: 0; }
.pf-id .kick { margin-bottom: 8px; }
.pf-id h2 { margin: 0; font-size: clamp(32px, 3.4vw, 48px); }
.pf-kl { font-size: 14px; margin: 8px 0 4px; }
.pf-stats { grid-area: stats; display: grid; grid-template-columns: repeat(4, auto); gap: 8px; margin: 0; }
.pf-stats div { text-align: center; padding: 10px 14px 8px; border-radius: var(--r-md); background: var(--surface-2); min-width: 78px; }
.pf-stats dt { font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--copper); }
.pf-stats dd { margin: 2px 0 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 32px; line-height: 1.05; }
.pf-actions { grid-area: act; display: flex; gap: 10px; flex-wrap: wrap; }

/* Timeline des publications */
.timeline { position: relative; max-width: 900px; margin: 22px auto 0; padding: 0 0 10px 62px; }
.tl-line { position: absolute; left: 23px; top: 10px; bottom: 30px; width: 2px; border-radius: var(--r-pill); background: rgba(181, 98, 58, 0.22); overflow: hidden; }
.tl-line i { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--copper); border-radius: var(--r-pill); }
.tl-month { position: relative; margin: 24px 0 14px; font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--copper); }
.tl-month::before { content: ""; position: absolute; left: -46px; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--green); border: 2px solid var(--copper); transform: translateY(-50%); }
.post { position: relative; margin: 0 0 20px; scroll-margin-top: calc(var(--hdr) + 84px); }
.post-dot { position: absolute; left: -43px; top: 30px; width: 8px; height: 8px; border-radius: 50%; background: var(--copper); }
.post-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 22px 24px 16px; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.post-card:hover { border-color: var(--copper-line); }
.post.flash .post-card { border-color: var(--copper); animation: flash 1.2s var(--ease) 2; }
.post-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.post-head time { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); }
.phorse { display: none; margin-left: auto; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 12px 4px 4px; border-radius: var(--r-pill); background: var(--surface-2); }
.phorse img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.feed .phorse { display: inline-flex; }
.post h3 { margin: 14px 0 8px; font-size: clamp(26px, 2.4vw, 32px); }
.ptext { margin: 0 0 14px; max-width: 66ch; font-size: 15px; color: rgba(243, 236, 224, 0.9); }
.board { display: flex; align-items: stretch; border-radius: var(--r-md); overflow: hidden; background: var(--green-deep); border: 1px solid var(--line); margin: 4px 0 14px; }
.bscore { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 112px; padding: 14px 18px; border-right: 1px solid var(--line); }
.bscore b { font-family: var(--sans); font-weight: 600; font-size: 56px; line-height: 1; font-variant-numeric: tabular-nums; }
.bscore small { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; margin-top: 2px; }
.board.clear .bscore { background: var(--copper); border-right-color: var(--copper); }
.bmain { flex: 1; padding: 14px 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.bverdict { font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; font-size: 13.5px; color: var(--copper); }
.binfo { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px 18px; margin: 0; }
.binfo dt { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper); }
.binfo dd { margin: 1px 0 0; font-size: 13.5px; }
.pvid { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--green-deep); margin: 4px 0 12px; }
.pvid.r-16x9 { aspect-ratio: 16 / 9; }
.pvid.r-9x16 { aspect-ratio: 9 / 16; max-width: 320px; }
.pvid.r-1x1 { aspect-ratio: 1 / 1; max-width: 460px; }
.pvid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: var(--green-deep); }
.pvid.on video { object-fit: contain; }
.vbig { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; border: 0; background: var(--cream); color: var(--green); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-2); transition: transform 0.35s var(--spring), opacity 0.25s var(--ease); }
.vbig svg { width: 22px; height: 22px; margin-left: 4px; }
.vbig:hover { transform: translate(-50%, -50%) scale(1.1); }
.vcap { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--veil); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; pointer-events: none; transition: opacity 0.25s var(--ease); }
.pvid.on .vbig, .pvid.on .vcap { opacity: 0; pointer-events: none; }
.pgal { display: grid; gap: 8px; margin: 4px 0 12px; border-radius: var(--r-md); overflow: hidden; grid-auto-rows: 170px; }
.pgal.n1 { grid-template-columns: 1fr; grid-auto-rows: 340px; }
.pgal.n2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 260px; }
.pgal.n3 { grid-template-columns: 2fr 1fr; }
.pgal.n3 .gimg:first-child { grid-row: span 2; }
.pgal.n4 { grid-template-columns: 2fr 1fr 1fr; }
.pgal.n4 .gimg:first-child { grid-row: span 2; }
.pgal.n4 .gimg:nth-child(4) { grid-column: span 2; }
.gimg { position: relative; display: block; border: 0; padding: 0; margin: 0; cursor: zoom-in; overflow: hidden; background: var(--green-deep); color: var(--cream); font: inherit; min-width: 0; }
.gimg img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gimg:hover img { transform: scale(1.05); }
.gmore { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(6, 30, 26, 0.6); font-family: var(--serif); font-style: italic; font-size: 38px; }
.post-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 6px; }
.psrc { font-size: 11.5px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.pact { display: flex; gap: 6px; margin-left: auto; }
.plink, .pshare { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: none; color: var(--cream); font: inherit; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; white-space: nowrap; transition: border-color 0.25s var(--ease), color 0.25s var(--ease); }
.plink:hover, .pshare:hover { border-color: var(--copper); color: var(--copper); }
.follow { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin: 44px 0 64px; padding: 34px 40px; border-radius: var(--r-xl); background: var(--cream); color: var(--green); }
.follow h2 { margin: 0 0 8px; font-size: clamp(28px, 3vw, 40px); }
.follow p { margin: 0; max-width: 56ch; font-size: 15px; }

/* ————— Fiche cheval ————— */
.crumbs { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0 14px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.crumbs nav { display: flex; gap: 10px; min-width: 0; }
.crumbs nav span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crumbs i { color: var(--copper); font-style: normal; }
.cact { display: flex; gap: 8px; flex-shrink: 0; }
.share { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: none; color: var(--cream); font: inherit; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; transition: border-color 0.25s var(--ease); }
.share:hover { border-color: var(--copper); }
.main { display: grid; grid-template-columns: minmax(0, 1fr) 404px; grid-template-areas: "gal panel" "sections panel"; gap: 0 36px; padding: 0 0 64px; align-items: start; }
.mgal { grid-area: gal; animation: rise 0.5s var(--ease) both; }
.msections { grid-area: sections; min-width: 0; }
.main > .panel { grid-area: panel; animation: rise 0.5s 0.12s var(--ease) both; }
.big { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-xl); overflow: hidden; background: var(--green-deep); touch-action: pan-y; }
.big > img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: opacity 0.25s var(--ease); }
.big > img.swap { opacity: 0.15; }
.big .st { left: 18px; top: 18px; }
.gnav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--veil); color: var(--cream); display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity 0.3s var(--ease), background 0.25s var(--ease); z-index: 2; }
.big:hover .gnav, .gnav:focus-visible { opacity: 1; }
.gnav:hover { background: var(--copper); }
.gprev { left: 16px; } .gnext { right: 16px; }
.gbar { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; pointer-events: none; z-index: 2; }
.gbar > * { pointer-events: auto; }
.count { background: var(--cream); color: var(--green); padding: 7px 14px; border-radius: var(--r-pill); font-size: 11px; letter-spacing: 0.1em; white-space: nowrap; }
.gbtns { display: flex; gap: 8px; }
.gbtn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: var(--r-pill); border: 0; background: var(--veil); color: var(--cream); font: inherit; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; transition: background 0.25s var(--ease); }
.gbtn:hover { background: var(--copper); }
.thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.th { height: 74px; border: 0; padding: 0; border-radius: var(--r-sm); overflow: hidden; cursor: pointer; background: var(--green-deep); outline: 2px solid transparent; outline-offset: -2px; opacity: 0.7; transition: opacity 0.25s var(--ease), outline-color 0.25s var(--ease), transform 0.25s var(--ease); }
.th:hover { opacity: 1; transform: translateY(-2px); }
.th.on { outline-color: var(--copper); opacity: 1; }
.th img { width: 100%; height: 100%; object-fit: cover; }

.subnav { position: sticky; top: calc(var(--hdr) + 10px); z-index: 20; display: flex; gap: 4px; padding: 6px; margin: 26px 0 0; border-radius: var(--r-pill); background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { flex-shrink: 0; height: 36px; display: inline-flex; align-items: center; gap: 8px; padding: 0 15px; border-radius: var(--r-pill); font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase; white-space: nowrap; transition: background 0.25s var(--ease), color 0.25s var(--ease); }
.subnav a:hover { color: var(--copper); }
.subnav a.on { background: var(--cream); color: var(--green); }
.subnav .cnt { min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--r-pill); background: var(--copper); color: var(--cream); font-size: 10px; display: inline-grid; place-items: center; letter-spacing: 0; }

.section { margin-top: 40px; border-top: 1px solid var(--copper-line); padding-top: 22px; scroll-margin-top: calc(var(--hdr) + 72px); }
.section:first-of-type { margin-top: 26px; }
.section h2 { margin: 0 0 16px; font-size: 32px; }
.shead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 16px; }
.shead h2 { margin: 0; }
.src { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper); text-align: right; }
.news-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.tz-row .tz-title { font-size: 22px; }

.gens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 8px; }
.gen { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); }
.tree { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tree .col { display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.tree .col:not(:first-child) { border-left: 1px solid var(--line); padding-left: 12px; }
.node { border: 1px solid var(--line-strong); padding: 12px 16px; display: flex; flex-direction: column; gap: 3px; border-radius: var(--r-md); transition: border-color 0.25s var(--ease), transform 0.25s var(--ease); }
.node:hover { border-color: var(--copper); transform: translateY(-2px); }
.node b { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 22px; letter-spacing: -0.03em; line-height: 1; }
.node small { font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper); }

.tbl { display: grid; grid-template-columns: 118px minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) 130px; gap: 0; font-size: 13.5px; }
.tbl div { padding: 10px 16px 10px 0; border-top: 1px solid rgba(181, 98, 58, 0.4); }
.tbl .hd { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper); border-top: 0; padding-bottom: 4px; }
.tbl .b { border-bottom: 1px solid rgba(181, 98, 58, 0.4); }
.plist { display: none; flex-direction: column; gap: 10px; margin-top: 4px; }
.prow { border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 16px; display: flex; flex-direction: column; gap: 3px; }
.prow b { font-weight: 500; font-size: 13px; letter-spacing: 0.04em; }
.prow span { font-size: 13px; color: rgba(243, 236, 224, 0.9); }
.health { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.health > div { border: 1px solid var(--line-strong); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; border-radius: var(--r-md); transition: border-color 0.25s var(--ease); }
.health > div:hover { border-color: var(--copper); }
.health small { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper); }
.health b { font-weight: 400; font-size: 15px; }
.ask { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper); background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; transition: gap 0.25s var(--ease); }
.ask:hover { gap: 12px; color: var(--copper); }
.desc { max-width: 64ch; margin: 0; font-size: 15.5px; }
.desc b { font-weight: 400; color: var(--copper); }
.srcline { font-size: 11.5px; color: rgba(243, 236, 224, 0.62); margin: 10px 0 0; letter-spacing: 0.02em; }
.note { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--copper); }

.panel { border: 1px solid var(--line-strong); padding: 28px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: calc(var(--hdr) + 20px); border-radius: var(--r-xl); background: rgba(6, 30, 26, 0.45); }
.panel .st2 { display: inline-flex; align-self: flex-start; background: var(--cream); color: var(--green); padding: 5px 12px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; border-radius: var(--r-pill); }
.panel h1 { margin: 4px 0 0; font-size: 44px; }
.panel .kl { font-size: 14px; }
.panel .sire { font-size: 13px; }
.price { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--copper-line); border-bottom: 1px solid var(--copper-line); padding: 12px 0; margin-top: 4px; }
.price small { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper); }
.price b { font-weight: 400; font-size: 16px; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pnews { display: flex; flex-direction: column; gap: 10px; padding: 15px 16px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); transition: border-color 0.25s var(--ease), background 0.25s var(--ease); }
.pnews:hover { border-color: var(--copper); color: var(--cream); background: rgba(181, 98, 58, 0.14); }
.pn-kick { display: flex; align-items: center; gap: 9px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper); }
.pn-last { display: flex; gap: 12px; align-items: center; }
.pn-last img { width: 66px; height: 50px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.pn-last time { display: block; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.pn-last b { display: block; font-weight: 500; font-size: 14px; line-height: 1.3; }
.pn-cta { display: inline-flex; align-items: center; gap: 8px; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; }
.pass { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; margin: 2px 0 0; }
.pass > div { border-top: 1px solid rgba(181, 98, 58, 0.4); padding: 8px 0 7px; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pass dt { font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper); }
.pass dd { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.similar { border-top: 1px solid var(--copper-line); padding: 44px 0 56px; }

/* Barre CTA fixe (fiche, mobile) */
.bar { display: none; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); height: 70px; background: var(--cream); align-items: center; gap: 8px; padding: 0 10px; z-index: 55; border-radius: 22px; box-shadow: var(--shadow-2); }
.bar .cta { flex: 1; height: 50px; background: var(--copper); color: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; border: 0; cursor: pointer; border-radius: var(--r-pill); font-family: inherit; }
.bar .ic { width: 48px; height: 48px; border: 1px solid var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 50%; color: var(--green); }

/* ————— Pages éditoriales ————— */
.hero { padding: 60px 0 44px; text-align: center; }
.hero h1 { margin: 0 0 16px; font-size: clamp(34px, 4.6vw, 62px); }
.hero .lead { margin: 0 auto; }
.hero .kick { margin-bottom: 18px; text-wrap: balance; }
.facts { display: flex; justify-content: center; gap: 16px; padding: 8px 0 40px; flex-wrap: wrap; }
.fact { border: 1px solid rgba(243, 236, 224, 0.3); border-radius: var(--r-lg); padding: 20px 30px; text-align: center; min-width: 180px; transition: border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.fact:hover { border-color: var(--copper); transform: translateY(-3px); }
.fact b { display: block; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 36px; letter-spacing: -0.03em; margin-bottom: 4px; }
.fact b sup { font-size: 0.5em; position: relative; top: -0.55em; line-height: 0; }
.fact span { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper); }
.journey { max-width: 820px; margin: 0 auto; padding: 24px 0 48px; position: relative; }
.jline { position: absolute; left: 34px; top: 40px; bottom: 40px; width: 2px; background: rgba(181, 98, 58, 0.25); border-radius: var(--r-pill); overflow: hidden; }
.jline i { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--copper); border-radius: var(--r-pill); transition: height 0.2s linear; }
.jstep { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 26px; padding: 22px 0; align-items: start; }
.jstep .dotn { width: 70px; height: 70px; border-radius: 50%; border: 1px solid rgba(181, 98, 58, 0.55); background: var(--green); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 30px; color: var(--copper); z-index: 1; transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--spring); }
.jstep:hover .dotn { background: var(--copper); color: var(--cream); transform: scale(1.08); }
.jstep .jcard { border: 1px solid rgba(243, 236, 224, 0.25); border-radius: var(--r-lg); padding: 22px 26px; transition: border-color 0.3s var(--ease), background 0.3s var(--ease); }
.jstep:hover .jcard { border-color: var(--copper); background: var(--surface); }
.jstep .jcard b { display: block; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 26px; letter-spacing: -0.02em; margin-bottom: 6px; }
.jstep .jcard p { margin: 0; font-size: 14.5px; color: rgba(243, 236, 224, 0.92); }
.cards2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; padding: 8px 0 48px; }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 8px 0 48px; }
.ecard { border: 1px solid rgba(243, 236, 224, 0.3); border-radius: var(--r-lg); padding: 30px 32px; transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease); position: relative; }
.ecard:hover { border-color: var(--copper); transform: translateY(-4px); background: var(--surface); }
.ecard.pick { cursor: pointer; }
.ecard.pick.sel { border-color: var(--copper); background: rgba(181, 98, 58, 0.12); }
.ecard.pick.sel::after { content: "✓"; position: absolute; top: 18px; right: 20px; width: 30px; height: 30px; border-radius: 50%; background: var(--copper); color: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.ecard .ic { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--copper); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--copper); }
.ecard h2, .ecard h3 { margin: 0 0 10px; font-size: 28px; }
.ecard p { margin: 0 0 8px; font-size: 14.5px; color: rgba(243, 236, 224, 0.92); }
.ecard ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.ecard ul li { display: block; padding-left: 16px; position: relative; }
.ecard ul li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 5px; height: 5px; border-radius: 50%; background: var(--copper); }
.pickhint { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 9px 18px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease); }
.ecard.pick:hover .pickhint { border-color: var(--copper); color: var(--copper); }
.ecard.pick.sel .pickhint { background: var(--copper); border-color: var(--copper); color: var(--cream); }
.sectionhead { text-align: center; padding: 32px 0 8px; }
.sectionhead h2 { margin: 0 0 8px; font-size: clamp(30px, 3.2vw, 40px); }
.sectionhead p { margin: 0 auto; max-width: 60ch; font-size: 14.5px; color: var(--ink-2); }
.who { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 44px; align-items: center; max-width: 920px; margin: 0 auto; padding: 32px 0 48px; }
.who .pic { height: 360px; overflow: hidden; border-radius: var(--r-xl); }
.who .pic img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.who h2 { margin: 0 0 14px; font-size: 34px; }
.who p { margin: 0 0 12px; max-width: 58ch; font-size: 15px; }
.who p a, .ecard a, .desc a, .jcard a, .lead a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(181, 98, 58, 0.6); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 8px 0 48px; }
.gallery .gph { height: 300px; border-radius: var(--r-lg); }
.gallery .gph small { position: absolute; left: 14px; bottom: 12px; right: 14px; width: max-content; max-width: calc(100% - 28px); background: rgba(6, 30, 26, 0.85); padding: 5px 12px; border-radius: var(--r-pill); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quote { max-width: 820px; margin: 0 auto; padding: 24px 0 56px; text-align: center; }
.quote blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 30px; letter-spacing: -0.02em; line-height: 1.25; text-wrap: balance; }
.quote blockquote::before { content: "« "; color: var(--copper); }
.quote blockquote::after { content: " »"; color: var(--copper); }
.quote cite { display: block; margin-top: 16px; font-style: normal; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--copper); }
.ctaband { text-align: center; padding: 40px 0 64px; }
.ctaband h2 { margin: 0 0 18px; font-size: clamp(30px, 3.2vw, 40px); }
.ctaband .btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* Formulaires */
.form { margin: 0 auto; padding: 16px 0 48px; max-width: 880px; }
.formcard { border: 1px solid rgba(243, 236, 224, 0.25); border-radius: var(--r-xl); padding: 34px 38px; margin-bottom: 20px; }
.formcard > h2 { margin: 0 0 22px; font-size: 28px; }
.frow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.wide { grid-column: 1 / -1; }
.field > label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper); }
.field input, .field select, .field textarea { background: rgba(243, 236, 224, 0.045); border: 1px solid rgba(243, 236, 224, 0.35); color: var(--cream); font-family: inherit; font-size: 15px; padding: 13px 18px; outline: none; border-radius: var(--r-md); width: 100%; color-scheme: dark; transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--copper); box-shadow: 0 0 0 3px rgba(181, 98, 58, 0.22); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23F3ECE0' stroke-width='1.5'%3E%3Cpath d='M2.5 4.5l3.5 3.5 3.5-3.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field select option { background: var(--green); color: var(--cream); }
.field textarea { min-height: 110px; resize: vertical; }
.field input[type="file"] { padding: 11px 14px; }
.field input[type="file"]::file-selector-button { background: transparent; border: 1px solid var(--cream); color: var(--cream); font-family: inherit; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; padding: 8px 16px; border-radius: var(--r-pill); margin-right: 14px; cursor: pointer; }
.field input:-webkit-autofill { -webkit-box-shadow: 0 0 0 100px var(--green-deep) inset; -webkit-text-fill-color: var(--cream); }
.checks { display: flex; gap: 12px 22px; flex-wrap: wrap; }
.checks label { display: flex; align-items: center; gap: 9px; font-size: 14px; letter-spacing: 0.02em; text-transform: none; color: var(--cream); cursor: pointer; }
.checks input { appearance: none; -webkit-appearance: none; width: 19px; height: 19px; border: 1px solid var(--line-strong); border-radius: 6px; background: transparent; cursor: pointer; position: relative; flex-shrink: 0; transition: background 0.2s var(--ease), border-color 0.2s var(--ease); }
.checks input:checked { background: var(--copper); border-color: var(--copper); }
.checks input:checked::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23F3ECE0' stroke-width='2'%3E%3Cpath d='M2.5 6.5l2.5 2.5 4.5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.consent { font-size: 12px; color: var(--ink-2); margin: 16px 0 20px; max-width: 60ch; }
.form .btn { margin-top: 4px; }

/* Contact */
.ctiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1160px; margin: 0 auto; padding: 8px 0 36px; }
.ctile { border: 1px solid rgba(243, 236, 224, 0.3); border-radius: var(--r-lg); padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease); min-width: 0; }
.ctile:hover { border-color: var(--copper); transform: translateY(-3px); background: var(--surface); color: var(--cream); }
.ctile .ic { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--copper); display: flex; align-items: center; justify-content: center; color: var(--copper); margin-bottom: 10px; }
.ctile small { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper); }
.ctile b { font-weight: 400; font-size: 14.5px; overflow-wrap: anywhere; }
.cvisit { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 20px; max-width: 1160px; margin: 0 auto; padding: 0 0 44px; align-items: stretch; }
.cmap { position: relative; border-radius: var(--r-xl); overflow: hidden; border: 1px solid rgba(243, 236, 224, 0.3); min-height: 440px; }
.cmap::before { content: "Carte Google Maps — connexion requise"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.6; }
.cmap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.cside { border: 1px solid rgba(243, 236, 224, 0.3); border-radius: var(--r-xl); padding: 32px; display: flex; flex-direction: column; gap: 8px; justify-content: center; align-items: flex-start; }
.cside h2 { margin: 0 0 6px; font-size: 30px; }
.cside p { margin: 0 0 6px; font-size: 15px; line-height: 1.6; }
.cside p b { font-weight: 500; }
.cside .btn { margin-top: 10px; }
.cside .ask { margin-top: 12px; }

/* ————— Popup de conversion ————— */
.pop { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(4, 18, 16, 0.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pop.open { display: flex; }
.popbox { position: relative; width: 100%; max-width: 590px; max-height: calc(100vh - 48px); overflow: auto; background: var(--green); border: 1px solid rgba(243, 236, 224, 0.3); border-radius: var(--r-xl); padding: 36px 40px 40px; animation: pop 0.3s var(--ease) both; box-shadow: var(--shadow-2); }
.popx { position: absolute; top: 16px; right: 16px; }
.pophorse { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--copper-line); padding-bottom: 18px; margin-bottom: 22px; padding-right: 44px; }
.pophorse img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--r-md); }
.pophorse .n { font-size: 24px; }
.pophorse small { display: block; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper); margin-top: 3px; }
.pop h3 { margin: 0 0 18px; font-size: 30px; padding-right: 40px; }
.pintro { margin: -8px 0 18px; color: var(--ink-2); font-size: 14px; }
.tiles { display: flex; flex-direction: column; gap: 10px; }
.tiles button { background: none; border: 1px solid rgba(243, 236, 224, 0.4); color: var(--cream); font-family: inherit; text-align: left; padding: 15px 20px; cursor: pointer; display: flex; flex-direction: column; gap: 3px; border-radius: var(--r-md); transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease); }
.tiles button:hover { border-color: var(--copper); background: var(--surface); transform: translateX(4px); }
.tiles b { font-weight: 400; font-size: 14.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.tiles span { font-size: 12.5px; color: var(--ink-2); }
.popback { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; color: var(--copper); font-family: inherit; font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; padding: 0; margin-bottom: 16px; cursor: pointer; }
.popnote { margin-top: 18px; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper); opacity: 0.85; }
.popok { text-align: center; padding: 12px 0 4px; }
.popok .mk { font-size: 56px; margin-bottom: 10px; }
.popok p { font-size: 15px; margin: 0 0 20px; }
.xbtn { width: 40px; height: 40px; background: none; border: 1px solid rgba(243, 236, 224, 0.5); color: var(--cream); font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; transition: border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease); }
.xbtn:hover { border-color: var(--copper); color: var(--copper); transform: rotate(90deg); }

/* ————— Visionneuse plein écran ————— */
.lb { position: fixed; inset: 0; z-index: 110; background: rgba(4, 18, 16, 0.95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 72px 90px 40px; animation: fadein 0.25s var(--ease); touch-action: pan-y; }
.lb-fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb-fig img { max-width: 100%; max-height: calc(100vh - 150px); border-radius: var(--r-lg); object-fit: contain; animation: pop 0.3s var(--ease); }
.lb-fig figcaption { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); text-align: center; }
.lb-top { position: absolute; top: 18px; left: 24px; right: 24px; display: flex; justify-content: space-between; align-items: center; }
.lb-count { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--veil); color: var(--cream); display: grid; place-items: center; cursor: pointer; transition: background 0.25s var(--ease), border-color 0.25s var(--ease); }
.lb-nav:hover { background: var(--copper); border-color: var(--copper); }
.lb-prev { left: 20px; } .lb-next { right: 20px; }

/* ————— Lecteur de stories ————— */
.sv { position: fixed; inset: 0; z-index: 120; background: rgba(4, 18, 16, 0.96); display: flex; align-items: center; justify-content: center; animation: fadein 0.25s var(--ease); }
.sv-frame { position: relative; height: min(92vh, 880px); aspect-ratio: 9 / 16; max-width: 100vw; border-radius: var(--r-xl); overflow: hidden; background: var(--green-deep); box-shadow: var(--shadow-2); animation: pop 0.35s var(--ease); }
.sv-media { position: absolute; inset: 0; }
.sv-media video, .sv-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sv-media .contain { object-fit: contain; }
.sv-bars { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 3; display: flex; gap: 4px; }
.sv-bars span { flex: 1; height: 3px; border-radius: var(--r-pill); background: rgba(243, 236, 224, 0.3); overflow: hidden; }
.sv-bars i { display: block; height: 100%; width: 0; background: var(--cream); }
.sv-head { position: absolute; top: 24px; left: 10px; right: 10px; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 6px; border-radius: var(--r-pill); background: var(--veil); }
.sv-av { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid var(--copper); flex-shrink: 0; }
.sv-name { display: block; font-size: 13px; font-weight: 500; line-height: 1.2; }
.sv-date { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.sv-mute { margin-left: auto; height: 32px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: none; color: var(--cream); font: inherit; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; }
.sv-head .xbtn { margin-left: auto; width: 34px; height: 34px; }
.sv-mute:not([hidden]) + .xbtn { margin-left: 0; }
.sv-tap { position: absolute; top: 90px; bottom: 130px; z-index: 2; width: 42%; background: none; border: 0; cursor: pointer; }
.sv-tprev { left: 0; } .sv-tnext { right: 0; }
.sv-foot { position: absolute; left: 12px; right: 12px; bottom: 14px; z-index: 3; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.sv-cap { padding: 8px 16px; border-radius: var(--r-pill); background: var(--veil); font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 21px; letter-spacing: -0.02em; }
.sv-cta { display: flex; gap: 8px; }
.sv-cta .btn.line { background: var(--veil); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px); background: var(--cream); color: var(--green); padding: 13px 24px; font-size: 12.5px; letter-spacing: 0.04em; opacity: 0; pointer-events: none; transition: all 0.35s var(--ease); z-index: 130; max-width: calc(100vw - 32px); text-align: center; border-radius: var(--r-pill); box-shadow: var(--shadow-1); }
.toast.show { opacity: 1; transform: translateX(-50%); }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.28); } 100% { transform: scale(1); } }
@keyframes flash { 0%, 100% { box-shadow: 0 0 0 0 rgba(181, 98, 58, 0); } 50% { box-shadow: 0 0 0 6px rgba(181, 98, 58, 0.35); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* ————— Responsive ————— */
@media (max-width: 1260px) {
  .links, .hact .lang, .hact .btn { display: none; }
  .hdr { grid-template-columns: auto 1fr auto auto; }
  .hact { grid-column: 3; }
  .burger { display: grid; grid-column: 4; }
}

@media (max-width: 1100px) {
  .hgrid, .hgrid.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .home-top { grid-template-columns: 1fr; align-items: start; gap: 22px; padding: 30px 0 20px; }
  .news-hero { grid-template-columns: 1fr; gap: 24px; padding: 32px 0 20px; }
  .toolbar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .toolbar::-webkit-scrollbar { display: none; }
  .toolbar .search { flex: 0 0 170px; }
  .sort { margin-left: 0; }
  .main { grid-template-columns: 1fr; grid-template-areas: "gal" "panel" "sections"; gap: 24px; padding: 0 0 48px; }
  .panel { position: static; }
  .tz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tz-grid .teaser:nth-child(3) { display: none; }
  .pf-body { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "av id" "stats stats" "act act"; }
  .pf-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cards2, .cards3 { grid-template-columns: 1fr; }
  .who { grid-template-columns: 1fr; gap: 24px; padding: 20px 0; }
  .who .pic { height: 400px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ctiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cvisit { grid-template-columns: 1fr; }
  .cmap { min-height: 320px; }
  .jline { left: 27px; }
  .jstep { grid-template-columns: 56px minmax(0, 1fr); gap: 18px; }
  .jstep .dotn { width: 56px; height: 56px; font-size: 24px; }
}

@media (max-width: 900px) {
  :root { --hdr: 64px; }
  .hdr .logo .mono { font-size: 36px; }
  .hdr .logo .rule { height: 25px; }
  .hdr .logo .name { font-size: 7px; gap: 1px; }
  .hfav { display: none; }
  .tabbar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 55; height: 64px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: rgba(6, 30, 26, 0.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line-strong); border-radius: 22px; box-shadow: var(--shadow-2); }
  .tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
  .tabbar a.on { color: var(--copper); }
  .tabbar a.on::before { content: ""; position: absolute; top: 6px; width: 22px; height: 3px; border-radius: var(--r-pill); background: var(--copper); }
  .tabbar .live { position: absolute; top: 12px; left: calc(50% + 9px); width: 6px; height: 6px; }
  .tabbar .fav-count { top: 7px; right: auto; left: calc(50% + 6px); }
  .tabbar a[data-tab="favoris"].has svg { fill: var(--copper); color: var(--copper); }
  body { padding-bottom: 92px; }
  .fiche .tabbar { display: none; }
  .fiche .bar { display: flex; }
  .fiche { padding-bottom: 96px; }
  .toast { bottom: 100px; }
  .gnav { opacity: 1; width: 42px; height: 42px; }
  .lb { padding: 64px 12px 30px; }
  .lb-nav { top: auto; bottom: 22px; transform: none; width: 50px; height: 50px; }
  .lb-fig img { max-height: calc(100vh - 190px); }
  .lb-prev { left: calc(50% - 62px); } .lb-next { right: calc(50% - 62px); }
  .timeline { padding-left: 40px; }
  .tl-line { left: 12px; }
  .tl-month::before { left: -35px; width: 12px; height: 12px; }
  .post-dot { left: -32px; }
  .post-card { padding: 18px 18px 14px; }
  .follow { flex-direction: column; align-items: flex-start; padding: 28px 26px; }
}

@media (max-width: 680px) {
  .hgrid, .hgrid.n2 { grid-template-columns: 1fr; gap: 22px; }
  .hc-body { padding: 18px 18px 16px; }
  .specs div { padding: 9px 10px; }
  .specs dd { font-size: 14px; }
  .home-top h1 { font-size: 34px; }
  .tz-grid, .tz-row { grid-template-columns: 1fr; }
  .tz-grid .teaser:nth-child(3) { display: flex; }
  .tz-row .teaser { flex-direction: row; }
  .tz-row .tz-media { width: 38%; aspect-ratio: auto; min-height: 100px; flex-shrink: 0; }
  .tz-row .tz-media .ptype { display: none; }
  .tz-row .tz-board b { font-size: 44px; }
  .tz-row .tz-board { padding-top: 0; align-items: center; }
  .tz-row .tz-body { padding: 12px 14px; }
  .tz-row .tz-title { font-size: 20px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .big { aspect-ratio: 4 / 3; border-radius: var(--r-lg); }
  .gbtn span { display: none; }
  .gbtn { width: 38px; padding: 0; justify-content: center; }
  .gbtn[data-story] { width: auto; padding: 0 12px; }
  .thumbs { gap: 8px; }
  .th { height: 50px; }
  .panel { padding: 22px; }
  .panel h1 { font-size: 36px; }
  .tbl { display: none; }
  .plist { display: flex; }
  .health { grid-template-columns: 1fr; }
  .gens { display: none; }
  .tree { grid-template-columns: 1fr; }
  .tree .col:not(:first-child) { border-left: 0; padding-left: 0; }
  .shead { flex-direction: column; align-items: flex-start; gap: 4px; }
  .src { text-align: left; }
  .crumbs .share span { display: none; }
  .crumbs .share { width: 40px; padding: 0; justify-content: center; }
  .facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .fact { min-width: 0; padding: 16px 14px; }
  .fact b { font-size: 28px; }
  .strip i { display: none; }
  .strip { gap: 8px 16px; font-size: 10px; }
  .ftr { justify-content: center; text-align: center; }
  .ftr .fmeta i { display: none; }
  .form .btn { width: 100%; }
  .frow { grid-template-columns: 1fr; }
  .formcard { padding: 24px 20px; }
  .popbox { padding: 28px 20px 30px; }
  .about { flex-direction: column; gap: 16px; text-align: center; }
  .about .atext { align-items: center; }
  .about .pic { width: 104px; height: 104px; }
  .logo.lg .mono { font-size: 56px; }
  .logo.lg .rule { height: 38px; }
  .logo.lg .name { font-size: 11px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .gph { height: 260px; }
  .ctiles { grid-template-columns: 1fr; }
  .nstats div { min-width: 0; flex: 1 1 40%; padding: 10px 14px 8px; }
  .nstats dd { font-size: 30px; }
  .hp { padding: 8px 18px 8px 8px; gap: 10px; }
  .hp-av, .hp-avs img { width: 44px; height: 44px; }
  .hp-txt b { font-size: 19px; }
  .nbar { flex-wrap: wrap; border-radius: var(--r-md); padding: 6px; gap: 6px; }
  .nchips { flex: 1 1 100%; order: 2; }
  .nview { order: 1; margin-left: auto; }
  .nchip { height: 36px; font-size: 12px; padding: 0 10px 0 12px; }
  .pf-cover { height: 140px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-cover img:nth-child(n + 3) { display: none; }
  .pvid.r-1x1 { max-width: 100%; }
  .pf-body { padding: 0 18px 20px; gap: 12px 16px; }
  .pf-av { width: 96px; height: 96px; margin-top: -48px; border-width: 4px; }
  .pf-id { padding-top: 8px; }
  .pf-stats { gap: 6px; }
  .pf-stats div { min-width: 0; padding: 8px 4px 6px; }
  .pf-stats dd { font-size: 26px; }
  .pf-actions .btn { flex: 1 1 auto; }
  .board { flex-direction: row; }
  .bscore { min-width: 84px; padding: 12px; }
  .bscore b { font-size: 44px; }
  .binfo { grid-template-columns: 1fr; gap: 6px; }
  .pvid.r-9x16 { max-width: 100%; }
  .pgal { grid-auto-rows: 120px; }
  .pgal.n2 { grid-auto-rows: 160px; }
  .pgal.n1 { grid-auto-rows: 240px; }
  .post-foot { flex-direction: column; align-items: stretch; }
  .pact { margin-left: 0; }
  .pact > * { flex: 1; justify-content: center; }
  .phorse { margin-left: 0; }
  .sv-frame { height: 100%; width: 100%; border-radius: 0; aspect-ratio: auto; }
  .sv-head { top: calc(24px + env(safe-area-inset-top)); }
  .sv-bars { top: calc(12px + env(safe-area-inset-top)); }
  .sv-foot { bottom: calc(18px + env(safe-area-inset-bottom)); }
  .jstep .jcard { padding: 18px 18px; }
  .who .pic { height: 340px; }
  .quote blockquote { font-size: 24px; }
  .ecard { padding: 24px 22px; }
}
