/* Turning Points : dossiers partenaires en ligne (socle commun sponsoring / activations).
   Identité de Marc : Franklin Gothic Demi Extra Compressed (titres, approche −33/1000 em),
   Aperçu Pro Mono (repères, chiffres), Suisse Int'l (texte). Palette d'affiche, sans blanc.
   Règles (Marc, 09/10/2026) : jamais de jaune sur le bleu ; aucun filet ne touche une lettre ;
   aucune lettre rognée ; chiffre + mot : le mot toujours à la ligne. */
@font-face { font-family: 'TPFranklin'; src: url(../fonts/TPFranklin.woff2) format('woff2'); font-display: block; }
@font-face { font-family: 'TPMono'; src: url(../fonts/TPMono.woff2) format('woff2'); font-display: block; }
@font-face { font-family: 'TPSuisse'; src: url(../fonts/TPSuisse.woff2) format('woff2'); font-display: swap; }

:root {
  --orange: #E2561B; --bleu: #1F2FD0; --jaune: #FFC20E; --rouge: #D2101F; --noir: #141413; --paper: #F3F2EE;
  --f-title: 'TPFranklin', 'League Gothic', Impact, sans-serif;
  --f-mono: 'TPMono', 'IBM Plex Mono', ui-monospace, monospace;
  --f-text: 'TPSuisse', 'Helvetica Neue', sans-serif;
  --marge: clamp(16px, 4.2vw, 80px);
  --gout: clamp(12px, 1.6vw, 28px);
  --pad: clamp(88px, 11vw, 190px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --fg: var(--paper); --bg: var(--noir);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--noir); -webkit-text-size-adjust: 100%; }
body { background: var(--noir); color: var(--paper); font-family: var(--f-text); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--orange); color: var(--noir); }

/* ── Typo ─────────────────────────────────────────────────────────────── */
/* Interligne .9 et aucune marge négative : les capitales et les accents restent dans leur boîte. */
.tt { font-family: var(--f-title); font-weight: 400; text-transform: uppercase; letter-spacing: -.033em; line-height: .9; }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .02em; text-transform: uppercase; line-height: 1.4; }
strong { font-weight: 400; }
.nl { display: block; }  /* « 100 » puis « jours » : toujours sur deux lignes */

/* ── Sections ─────────────────────────────────────────────────────────── */
.sec { position: relative; background: var(--bg); color: var(--fg); padding: var(--pad) var(--marge); }
.sec[data-t="noir"] { --bg: var(--noir); --fg: var(--paper); --dim: rgba(243,242,238,.58); --filet: rgba(243,242,238,.28); --accent: var(--orange); }
.sec[data-t="paper"] { --bg: var(--paper); --fg: var(--noir); --dim: rgba(20,20,19,.58); --filet: rgba(20,20,19,.22); --accent: var(--orange); }
.sec[data-t="orange"] { --bg: var(--orange); --fg: var(--noir); --dim: rgba(20,20,19,.66); --filet: rgba(20,20,19,.35); --accent: var(--paper); }
.sec[data-t="bleu"] { --bg: var(--bleu); --fg: var(--paper); --dim: rgba(243,242,238,.72); --filet: rgba(243,242,238,.32); --accent: var(--paper); }
.sec[data-t="jaune"] { --bg: var(--jaune); --fg: var(--noir); --dim: rgba(20,20,19,.62); --filet: rgba(20,20,19,.3); --accent: var(--noir); }
.g { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gout); }

/* Filet + repère mono, puis le titre en dessous, jamais collé au filet. */
.chap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gout); border-top: 2px solid var(--fg);
  padding-top: 12px; margin-bottom: clamp(48px, 6.5vw, 110px); }
.chap > .mono { grid-column: 1 / 3; }
.chap h2 { grid-column: 3 / 13; font-size: clamp(56px, 8.6vw, 168px); margin-top: clamp(26px, 3.4vw, 60px); }

/* ── Barre ────────────────────────────────────────────────────────────── */
.barre { position: fixed; z-index: 20; inset: 0 0 auto 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 14px var(--marge); color: var(--bfg, var(--paper)); pointer-events: none; transition: color .5s var(--ease), opacity .5s; }
.barre > * { pointer-events: auto; }
.barre-logo { display: flex; gap: 12px; align-items: center; text-decoration: none; justify-self: start; opacity: 0; transition: opacity .5s var(--ease); }
.barre.fond .barre-logo { opacity: 1; }  /* le logotype n'apparaît qu'une fois sorti de l'ouverture (pas de doublon) */
.barre-logo .es { height: 22px; width: 76px; background: currentColor; -webkit-mask: url(../logos/europastar.png) left center / contain no-repeat; mask: url(../logos/europastar.png) left center / contain no-repeat; }
.barre-logo .tt { font-size: 24px; line-height: 1; }
.barre-section { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.barre-actions { justify-self: end; display: flex; gap: 22px; align-items: center; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.langues button { opacity: .45; padding: 4px 3px; transition: opacity .3s; }
.langues button.on { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.barre-pdf { text-decoration: none; border: 1px solid currentColor; padding: 6px 10px 5px; transition: background .3s, color .3s; }
.barre-pdf:hover { background: var(--bfg, var(--paper)); color: var(--bbg, var(--noir)); }
.barre::before { content: ""; position: absolute; inset: 0; background: var(--bbg, var(--noir)); opacity: 0; transition: opacity .4s, background .5s; z-index: -1; }
.barre.fond::before { opacity: 1; }
body.intro .barre { opacity: 0; }
body.intro { overflow: hidden; }

/* ── Ouverture cinétique (1 9 2 7 → 1927 → 2027 → Turning Points) ─────── */
.cine { position: fixed; inset: 0; z-index: 30; background: var(--noir); color: var(--paper); display: grid; place-items: center; overflow: hidden; cursor: pointer; }
.cine.paper { background: var(--paper); color: var(--noir); }
.cine .an { font-family: var(--f-title); text-transform: uppercase; letter-spacing: -.033em; line-height: .9; display: flex; font-size: min(44vw, 72vh); white-space: nowrap; }
.cine .an span { display: inline-block; clip-path: inset(-.3em -.2em 0 -.2em); }
.cine .an i { display: inline-block; font-style: normal; }
.cine .es-c { position: absolute; left: 50%; top: 50%; height: clamp(46px, 7vw, 110px); width: clamp(160px, 24.4vw, 383px); transform: translate(-50%, -50%);
  background: currentColor; -webkit-mask: url(../logos/europastar.png) center / contain no-repeat; mask: url(../logos/europastar.png) center / contain no-repeat; }
.cine .tps { font-family: var(--f-title); text-transform: uppercase; letter-spacing: -.033em; line-height: .86; text-align: center; font-size: min(27vw, 46vh); }
.cine .tps span { display: block; clip-path: inset(-.3em -.2em 0 -.2em); }
.cine .tps i { display: block; font-style: normal; }
.cine .passer, .cine .coin { position: absolute; bottom: 24px; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; opacity: .6; }
.cine .passer { right: var(--marge); } .cine .coin { left: var(--marge); }

/* ── Ouverture (page) ─────────────────────────────────────────────────── */
#ouverture { min-height: 100svh; padding-top: clamp(76px, 7vw, 110px); padding-bottom: clamp(28px, 3.4vw, 52px);
  display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; }
#ouverture canvas.sph { position: absolute; top: 50%; right: -10vw; width: min(92vh, 56vw); aspect-ratio: 1; transform: translateY(-46%); }
.org { position: relative; z-index: 1; display: flex; align-items: center; gap: clamp(18px, 2vw, 32px); }
.org .es { height: clamp(38px, 4.2vw, 64px); width: auto; }
.org .x { font-family: var(--f-mono); font-size: 14px; opacity: .6; }
.org .gal { height: clamp(14px, 1.3vw, 21px); width: auto; }
.ouv-titre { position: relative; z-index: 1; align-self: end; padding-top: clamp(40px, 6vh, 90px); }
.eyebrow { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-bottom: clamp(34px, 4vw, 64px); }
.eyebrow .tag { background: var(--orange); color: var(--noir); padding: 5px 8px 4px; }
.ouv-titre h1 { font-size: clamp(96px, min(19.5vw, 30vh), 380px); line-height: .86; }
.ouv-titre h1 .l { display: block; }
.ouv-sous { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gout); row-gap: 20px;
  margin-top: clamp(24px, 3vw, 48px); padding-top: 18px; border-top: 1px solid var(--filet); align-items: start; }
.ouv-sous h2 { grid-column: 1 / 7; font-size: clamp(44px, 6vw, 116px); color: var(--orange); }
.ouv-sous .info { grid-column: 7 / 11; display: grid; gap: 10px; color: var(--dim); text-shadow: 0 0 14px var(--noir), 0 0 4px var(--noir); }
.ouv-sous .info b { font-weight: 400; color: var(--paper); }
.ouv-sous .bas { grid-column: 11 / 13; justify-self: end; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
.ouv-sous .bas::after { content: "↓"; font-size: 14px; animation: bas 2.4s var(--ease) infinite; }
@keyframes bas { 50% { transform: translateY(5px); } }

/* ── Intro ────────────────────────────────────────────────────────────── */
#intro .g { row-gap: clamp(40px, 5vw, 80px); align-items: start; }
.cent { grid-column: 1 / 5; position: sticky; top: 100px; }
.cent p { color: var(--orange); font-size: clamp(64px, 7.4vw, 146px); }
.cent p + p { margin-top: clamp(16px, 1.6vw, 26px); }
.cent .u { font-size: .46em; margin-top: .08em; }
.lede { grid-column: 6 / 13; font-size: clamp(22px, 2.3vw, 40px); line-height: 1.22; letter-spacing: -.012em; }
.lede .es-sig { display: block; height: clamp(40px, 4vw, 70px); width: auto; margin-bottom: clamp(20px, 2vw, 32px); }
.lede2 { grid-column: 6 / 13; display: grid; grid-template-columns: minmax(120px, 2fr) 5fr; column-gap: var(--gout); row-gap: 16px; align-items: start;
  border-top: 1px solid var(--filet); padding-top: 18px; }
.lede2 .ww { width: 100%; max-width: 210px; height: auto; }
.lede2 .ww-k { margin-top: 12px; color: var(--dim); }
.lede2 p { font-size: clamp(16px, 1.25vw, 20px); line-height: 1.55; }
#intro strong { background: linear-gradient(var(--orange) 0 0) 0 94%/100% 2px no-repeat; }

/* ── Archives : défilement horizontal ─────────────────────────────────── */
.archives { padding-left: 0; padding-right: 0; overflow: hidden; }
.archives .tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 0 var(--marge); margin-bottom: clamp(28px, 3vw, 48px); }
.archives .tete .es { height: clamp(40px, 4.4vw, 76px); width: auto; }
.archives .tete .tt { font-size: clamp(40px, 5vw, 96px); text-align: right; max-width: 12ch; }
.piste { display: flex; gap: clamp(12px, 1.4vw, 24px); padding: 0 var(--marge); will-change: transform; }
.piste figure { flex: 0 0 auto; height: clamp(300px, 50vh, 600px); }
.piste img { height: 100%; width: auto; }
.archives .bas-a { padding: 0 var(--marge); margin-top: clamp(24px, 3vw, 44px); display: flex; justify-content: space-between; gap: 20px; color: var(--dim); }

/* ── En bref ──────────────────────────────────────────────────────────── */
.chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--fg); }
.chiffres > div { padding: 22px 0 0 var(--gout); border-left: 1px solid var(--filet); }
.chiffres > div:first-child { border-left: 0; padding-left: 0; }
.chiffres .n { font-size: clamp(100px, 13vw, 250px); line-height: .84; }
.chiffres .u { font-size: clamp(34px, 4.2vw, 82px); margin-top: .18em; }
.faits { margin-top: clamp(56px, 6vw, 100px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--gout); }
.faits > div { border-top: 1px solid var(--fg); padding-top: 12px; }
.faits dt { margin-bottom: 10px; }
.faits dd { font-size: clamp(16px, 1.3vw, 21px); line-height: 1.3; }
.bref-bas { margin-top: clamp(56px, 6vw, 100px); row-gap: 28px; align-items: start; }
.bref-bas figure { grid-column: 1 / 7; }
.bref-bas figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bref-bas figcaption { margin-top: 10px; }
.bref-bas .txt { grid-column: 8 / 13; display: grid; gap: 18px; font-size: clamp(16px, 1.25vw, 20px); line-height: 1.55; }

/* ── Pourquoi ─────────────────────────────────────────────────────────── */
.maisons { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gout); align-items: end; margin-bottom: clamp(56px, 6vw, 100px); }
.maisons .n { grid-column: 1 / 7; font-size: clamp(170px, 24vw, 460px); color: var(--orange); line-height: .84; display: flex; }
.maisons .n sup { font-size: .4em; line-height: 1; padding-top: .08em; }
.maisons p { grid-column: 7 / 13; font-size: clamp(36px, 4.2vw, 80px); padding-bottom: .1em; }
.raisons { list-style: none; }
.raisons li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gout); border-top: 1px solid var(--filet);
  padding: clamp(20px, 2.2vw, 36px) 0; transition: color .5s var(--ease); }
.raisons li:last-child { border-bottom: 1px solid var(--filet); }
.raisons .n { grid-column: 1 / 3; font-size: clamp(44px, 4.4vw, 84px); color: var(--orange); line-height: .84; }
.raisons p { grid-column: 3 / 12; font-size: clamp(20px, 2.1vw, 37px); line-height: 1.24; letter-spacing: -.01em; }
@media (hover: hover) { .raisons:hover li { color: var(--dim); } .raisons li:hover { color: var(--fg); } }
.photo-pleine { margin: clamp(56px, 6vw, 100px) calc(var(--marge) * -1) calc(var(--pad) * -1); position: relative; overflow: hidden; }
.photo-pleine img { width: 100%; height: min(80vh, 800px); object-fit: cover; }
.photo-pleine figcaption { position: absolute; left: var(--marge); bottom: 20px; color: var(--paper); text-shadow: 0 0 16px rgba(0,0,0,.6); }

/* ── Formules ─────────────────────────────────────────────────────────── */
#formules { padding-bottom: 0; }
.formules { margin: 0 calc(var(--marge) * -1); }
.f { position: relative; padding: clamp(40px, 5.6vw, 96px) var(--marge); overflow: hidden; }
.f-tete { display: flex; justify-content: space-between; gap: 20px; }
.f .prix { display: flex; align-items: flex-start; gap: .14em; margin-top: clamp(24px, 3vw, 48px); }
.f .prix .tt { font-size: clamp(120px, 18vw, 360px); line-height: .84; }
.f .prix .dev { font-family: var(--f-mono); font-size: clamp(14px, 1.4vw, 22px); margin-top: .4em; }
.f .accroche { font-size: clamp(20px, 2vw, 34px); line-height: 1.22; letter-spacing: -.01em; max-width: 30ch; margin-top: clamp(22px, 2.6vw, 40px); }
.f .exclu { display: inline-flex; margin-top: 20px; background: var(--paper); color: var(--bleu); padding: 6px 9px 5px; }
.f ul { list-style: none; margin-top: clamp(36px, 4.4vw, 72px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gout); }
.f li { border-top: 1px solid var(--filet); padding: 14px 0 22px; display: grid; gap: 6px; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.45; }
.f li .mono { color: var(--dim); }
.f-principal .haut { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gout); row-gap: 30px; align-items: start; }
.f-principal .haut > div:first-child { grid-column: 1 / 8; }
.vitrine { grid-column: 8 / 13; position: relative; }
.vitrine .cadre { position: relative; overflow: hidden; }
.vitrine img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.vitrine .pastille { position: absolute; left: 50%; top: 56%; transform: translate(-50%, -50%); background: var(--bleu); color: var(--paper); padding: 12px 16px 10px; display: grid; gap: 6px; text-align: center; white-space: nowrap; }
.vitrine .pastille .tt { font-size: clamp(20px, 1.8vw, 32px); }
.vitrine figcaption { margin-top: 10px; }
.f-duo { display: grid; grid-template-columns: 7fr 5fr; }
.f-duo .f ul { grid-template-columns: 1fr; }
.f-duo .f-officiel ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.f-duo .f .prix .tt { font-size: clamp(100px, 12vw, 240px); }
.f-associe li:last-child { color: var(--dim); }
.note { background: var(--noir); color: var(--paper); padding: 22px var(--marge); display: flex; gap: 16px; align-items: baseline; font-size: clamp(15px, 1.2vw, 19px); }
.note .mono { color: var(--orange); }

/* ── Tableau ──────────────────────────────────────────────────────────── */
.tab-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 calc(var(--marge) * -1); padding: 0 var(--marge); }
table { width: 100%; min-width: 760px; border-collapse: collapse; }
th, td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-top: 1px solid var(--filet); font-weight: 400; }
thead th { border-top: 2px solid var(--fg); padding-top: 18px; padding-bottom: 22px; vertical-align: bottom; }
thead th .tt { display: block; font-size: clamp(40px, 4.2vw, 78px); }
thead th .mono { display: block; margin-top: 10px; }
tbody th { font-size: clamp(15px, 1.15vw, 18px); width: 28%; }
td { font-size: clamp(15px, 1.15vw, 18px); width: 24%; padding-left: 16px; }
thead th:not(:first-child) { padding-left: 16px; }
.col-p { background: var(--bleu); color: var(--paper); }
thead th.col-p { border-top-color: var(--bleu); }
td.col-p { border-top-color: rgba(243,242,238,.25); }
@media (hover: hover) { tbody tr:hover th, tbody tr:hover td:not(.col-p) { background: rgba(20,20,19,.06); } }
td.non { color: var(--dim); }
.tab-note { margin-top: 22px; color: var(--dim); font-size: 14px; }

/* ── Partenaires ──────────────────────────────────────────────────────── */
.p-texte { font-size: clamp(20px, 2vw, 34px); line-height: 1.24; max-width: 34ch; margin-bottom: clamp(56px, 6vw, 100px); margin-left: calc((100% + var(--gout)) / 12 * 2); }
.groupes { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gout); row-gap: clamp(44px, 4.6vw, 76px); }
.groupe { grid-column: span 6; border-top: 1px solid var(--fg); padding-top: 12px; }
.groupe.large { grid-column: 1 / -1; }
.groupe .k { display: flex; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.groupe .k span + span { color: var(--dim); text-transform: none; font-family: var(--f-text); font-size: 14px; letter-spacing: 0; }
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(28px, 4vw, 72px); margin-top: clamp(24px, 2.6vw, 40px); min-height: 70px; }
.logo { display: block; height: var(--h, 52px); width: auto; }

/* ── Fin : mots qui se rassemblent, puis le pied de page en blocs ─────── */
.conv { position: relative; height: 240vh; background: var(--noir); color: var(--paper); }
.conv-in { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.conv .es-c { position: absolute; left: 50%; top: 50%; width: clamp(150px, 16vw, 280px); height: auto; transform: translate(-50%, -50%); z-index: 1; }
.conv .mot { position: absolute; left: 50%; top: 50%; font-family: var(--f-title); text-transform: uppercase; letter-spacing: -.033em; line-height: .9;
  font-size: clamp(26px, 3vw, 56px); white-space: nowrap; will-change: transform; }

.pied { background: var(--noir); padding: clamp(10px, 1.2vw, 20px); display: grid; gap: clamp(6px, .6vw, 10px); }
.pied-photo { position: relative; min-height: min(80vh, 780px); display: grid; align-content: space-between; padding: clamp(20px, 2.6vw, 44px); overflow: hidden; color: var(--paper); }
.pied-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pied-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,19,.6), rgba(20,20,19,0) 42%, rgba(20,20,19,.7)); }
.pied-photo > *:not(img) { position: relative; z-index: 1; }
.pied-photo .tt { font-size: clamp(72px, 11vw, 210px); line-height: .86; }
.pied-barre { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: stretch; }
.pied-barre .champ { border: 1px solid rgba(243,242,238,.6); padding: 16px 18px; display: flex; gap: 12px; align-items: center; font-size: clamp(15px, 1.3vw, 20px); background: rgba(20,20,19,.25); }
.pied-barre .champ::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }
.pied-barre a.go { background: var(--orange); color: var(--noir); text-decoration: none; display: flex; align-items: center; gap: 14px; padding: 0 24px; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .03em; transition: background .3s; }
.pied-barre a.go:hover { background: var(--paper); }
.pied-bande { background: var(--bleu); color: var(--paper); padding: clamp(20px, 2.6vw, 44px); }
.pied-bande .geant { display: flex; align-items: center; justify-content: space-between; gap: 3vw; border-bottom: 1px solid rgba(243,242,238,.35); padding-bottom: clamp(18px, 2vw, 32px); }
.pied-bande .geant .es { height: clamp(48px, 7.4vw, 140px); width: auto; }
.pied-bande .geant .x { font-family: var(--f-mono); font-size: clamp(14px, 1.4vw, 22px); }
.pied-bande .geant .gal { height: clamp(24px, 3vw, 54px); width: auto; }
.pied-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pied-cols > div { border-left: 1px solid rgba(243,242,238,.35); padding: clamp(20px, 2.4vw, 40px) clamp(14px, 1.4vw, 24px) 6px; display: grid; gap: 6px; align-content: end; min-height: clamp(180px, 18vw, 300px); }
.pied-cols .nom { font-size: clamp(36px, 3.6vw, 68px); }
.pied-cols .role { font-size: 14px; line-height: 1.4; opacity: .8; }
.pied-cols a { justify-self: start; text-decoration: none; border-bottom: 1px solid currentColor; font-size: 15px; }
.pied-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(6px, .6vw, 10px); }
.pied-actions a { background: var(--orange); color: var(--noir); text-decoration: none; display: flex; justify-content: center; align-items: center; gap: 14px;
  min-height: clamp(72px, 7vw, 116px); padding: 12px; text-align: center; font-family: var(--f-title); text-transform: uppercase; letter-spacing: -.033em; font-size: clamp(26px, 2.6vw, 50px); line-height: 1; transition: background .3s var(--ease); }
.pied-actions a:hover { background: var(--paper); }
.pied-legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: rgba(243,242,238,.6); padding: 26px 4px 10px; }

/* ── Apparitions ──────────────────────────────────────────────────────── */
/* Les masques coupent seulement le bas (clip-path) : rien n'est rogné en haut (S, accents). */
.masque { display: block; clip-path: inset(-.5em -.3em 0 -.3em); }
.masque.m { display: inline-block; vertical-align: top; }
.js .masque > span { display: block; transform: translateY(105%); }
.js .vu .masque > span, .js .masque.vu > span { transform: none; transition: transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js .rv { opacity: 0; transform: translateY(36px); }
.js .rv.vu { opacity: 1; transform: none; transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }

/* ── Mobile ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .barre { grid-template-columns: 1fr auto; padding: 12px var(--marge); }
  .barre-section { display: none; }
  .barre-logo .tt { display: none; }
  .barre-actions { gap: 14px; }
  .chap { grid-template-columns: 1fr; }
  .chap > .mono, .chap h2 { grid-column: 1; }
  .chap h2 { margin-top: 22px; }
  #ouverture canvas.sph { right: -34vw; top: 40%; width: 112vw; opacity: .7; }
  .ouv-sous { grid-template-columns: 1fr; }
  .ouv-sous h2, .ouv-sous .info, .ouv-sous .bas { grid-column: 1; justify-self: start; }
  .cent { grid-column: 1 / -1; position: static; display: flex; gap: 22px; flex-wrap: wrap; }
  .cent p + p { margin-top: 0; }
  .lede, .lede2 { grid-column: 1 / -1; }
  .lede2 { grid-template-columns: 1fr; }
  .archives .tete { flex-direction: column; align-items: flex-start; }
  .archives .tete .tt { text-align: left; }
  .piste { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .piste figure { height: 52vh; scroll-snap-align: start; }
  .chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chiffres > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .chiffres > div:nth-child(n+3) { border-top: 1px solid var(--filet); margin-top: 22px; }
  .faits { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .bref-bas figure, .bref-bas .txt { grid-column: 1 / -1; }
  .maisons { grid-template-columns: 1fr; row-gap: 12px; }
  .maisons .n, .maisons p { grid-column: 1; }
  .raisons .n { grid-column: 1 / -1; margin-bottom: 8px; }
  .raisons p { grid-column: 1 / -1; }
  .photo-pleine img { height: 56vh; }
  .f-principal .haut > div:first-child, .vitrine { grid-column: 1 / -1; }
  .f ul, .f-duo .f-officiel ul { grid-template-columns: 1fr; }
  .f-duo { grid-template-columns: 1fr; }
  .p-texte { margin-left: 0; }
  .groupe { grid-column: 1 / -1; }
  .logo { --h: 40px; }
  .conv { height: 200vh; }
  .conv .mot { font-size: 22px; }
  .pied-photo { min-height: 72vh; }
  .pied-barre { grid-template-columns: 1fr; }
  .pied-barre a.go { padding: 16px 18px; }
  .pied-bande .geant { flex-wrap: wrap; }
  .pied-cols, .pied-actions { grid-template-columns: 1fr; }
  .pied-cols > div { border-left: 0; border-top: 1px solid rgba(243,242,238,.35); min-height: 0; padding: 18px 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .masque > span { opacity: 1 !important; transform: none !important; }
}

/* ── PDF (A4 paysage, ?print) ─────────────────────────────────────────── */
@page { size: 297mm 210mm; margin: 0; }
.print, .print body { background: var(--paper); overflow: visible; }
.print .barre, .print .cine, .print .ouv-sous .bas, .print .conv { display: none !important; }
.print .rv, .print .masque > span { opacity: 1 !important; transform: none !important; transition: none !important; }
.print .sec { --marge: 44px; --pad: 50px; }
.print main > .sec, .print main > .pied { break-before: page; }
.print main > .sec:first-child { break-before: auto; }
.print main > .sec { min-height: 210mm; }
.print .chap { margin-bottom: 26px; }
.print .chap h2 { font-size: 80px; margin-top: 18px; }
.print #ouverture { height: 210mm; min-height: 0; }
.print .ouv-titre h1 { font-size: 220px; }
.print .ouv-sous h2 { font-size: 66px; }
.print .org .es { height: 46px; }
.print .cent { position: static; }
.print .cent p { font-size: 80px; }
.print .lede { font-size: 24px; }
.print .lede2 p { font-size: 13.5px; }
.print .archives { padding-top: 50px; height: 210mm; }
.print .piste { transform: none !important; }
.print .piste figure { height: 120mm; }
.print .chiffres .n { font-size: 120px; }
.print .chiffres .u { font-size: 44px; }
.print .faits { margin-top: 26px; }
.print .faits dd { font-size: 14px; }
.print .bref-bas { margin-top: 26px; }
.print .bref-bas figure img { aspect-ratio: 16 / 6; }
.print .bref-bas .txt { font-size: 12px; gap: 10px; }
.print .maisons { margin-bottom: 18px; }
.print .maisons .n { font-size: 150px; }
.print .maisons p { font-size: 42px; }
.print .raisons li { padding: 8px 0; }
.print .raisons p { font-size: 16px; }
.print .raisons .n { font-size: 32px; }
.print .photo-pleine { display: none; }
.print #formules { padding-bottom: 0; }
.print #formules > .chap { margin-bottom: 14px; }
.print #formules > .chap h2 { font-size: 56px; margin-top: 10px; }
.print .f { padding: 24px var(--marge); }
.print .f-principal .prix .tt { font-size: 130px; }
.print .f .prix { margin-top: 12px; }
.print .f .accroche { font-size: 17px; margin-top: 12px; }
.print .f ul { margin-top: 14px; }
.print .f li { padding: 6px 0 8px; font-size: 12px; }
.print .vitrine img { aspect-ratio: 4 / 3.6; }
.print .f-duo { break-before: page; }
.print .f-duo .f .prix .tt { font-size: 130px; }
.print th, .print td { padding-top: 7px; padding-bottom: 7px; font-size: 13px; }
.print thead th { padding-bottom: 12px; }
.print thead th .tt { font-size: 44px; }
.print .tab-note { margin-top: 12px; font-size: 12px; }
.print #partenaires .chap { margin-bottom: 14px; }
.print .p-texte { margin-left: 0; font-size: 16px; margin-bottom: 16px; max-width: 60ch; }
.print .groupe { grid-column: span 4; padding-top: 8px; }
.print .groupe.large { grid-column: span 8; }
.print .groupes { row-gap: 14px; }
.print .logo { height: calc(var(--h) * .52); }
.print .logos { margin-top: 8px; gap: 22px; min-height: 0; }
.print .pied { height: 210mm; padding: 14px; }
.print .pied-photo { min-height: 0; height: 84mm; }
.print .pied-photo .tt { font-size: 100px; }
.print .pied-cols > div { min-height: 0; padding-top: 16px; }
.print .pied-cols .nom { font-size: 34px; }
.print .pied-actions a { min-height: 56px; font-size: 28px; }
.print .pied-legal { padding: 12px 4px 0; }
.print .f-principal .haut { row-gap: 10px; }
.print .vitrine figcaption { display: none; }
.print .vitrine img { aspect-ratio: 5 / 3.4; }
.print .f-principal li { padding: 5px 0 6px; font-size: 11.5px; }
.print .f-principal .accroche { font-size: 16px; }
.print .pied-actions a:first-child { display: none; } .print .pied-actions { grid-template-columns: 1fr 1fr; }

/* ── Fin (v4, retour de Marc : retour à la forme d'origine, trois contacts) ── */
.fin { min-height: 100svh; display: grid; grid-template-rows: auto auto 1fr auto auto; overflow: hidden; padding-top: clamp(90px, 8vw, 140px); padding-bottom: clamp(24px, 3vw, 44px); }
.fin canvas.sph { position: absolute; right: -12vw; top: 8vh; width: min(88vh, 56vw); aspect-ratio: 1; }
.fin > *:not(canvas) { position: relative; z-index: 1; }
.fin-haut { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 2px solid var(--fg); padding-top: 14px; }
.fin-haut .org-fin { display: flex; align-items: center; gap: 16px; }
.fin-haut .es { height: clamp(26px, 2.4vw, 38px); width: auto; }
.fin-haut .gal { height: clamp(12px, 1vw, 16px); width: auto; }
.fin .grand { font-size: clamp(96px, min(15vw, 27vh), 300px); line-height: .86; margin-top: clamp(30px, 4vw, 70px); }
.personnes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gout); row-gap: 28px; margin-top: clamp(40px, 5vw, 80px); align-self: end; }
.personnes > div { border-top: 1px solid var(--fg); padding-top: 12px; display: grid; gap: 4px; align-content: start; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.4; }
.personnes .nom { font-family: var(--f-title); text-transform: uppercase; letter-spacing: -.033em; font-size: clamp(32px, 2.9vw, 54px); line-height: .95; margin-bottom: 6px; }
.personnes .role { color: var(--dim); margin-bottom: 8px; }
.personnes a { text-decoration: none; border-bottom: 1px solid currentColor; justify-self: start; }
.fin-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 3vw, 48px); }
.btn { display: inline-flex; align-items: center; gap: 18px; background: var(--noir); color: var(--paper); text-decoration: none; font-family: var(--f-mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: .03em; padding: 16px 18px 15px 20px; transition: transform .5s var(--ease), background .3s; }
.btn i { font-style: normal; display: inline-block; transition: transform .5s var(--ease); }
.btn:hover i { transform: translate(3px, -2px); }
.btn:active { transform: scale(.98); }
.btn.clair { background: transparent; color: var(--noir); box-shadow: inset 0 0 0 1.5px var(--noir); }
.fin .signature { border-top: 2px solid var(--fg); padding-top: 12px; margin-top: clamp(28px, 3vw, 48px); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .fin canvas.sph { right: -50vw; top: 18vh; width: 130vw; opacity: .5; }
  .personnes { grid-template-columns: 1fr; }
}
.print .fin { height: 210mm; min-height: 0; padding-top: 40px; padding-bottom: 26px; }
.print .fin .grand { font-size: 150px; margin-top: 20px; }
.print .personnes { margin-top: 24px; }
.print .personnes .nom { font-size: 30px; }
.print .personnes > div { font-size: 12px; }
.print .fin-actions .clair { display: none; }
.print .fin-actions { margin-top: 16px; }
.print .fin .signature { margin-top: 16px; }
.vitrine figcaption { display: grid; gap: 6px; margin-top: 14px; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.4; }
.vitrine figcaption .mono { color: var(--dim); }
.print .vitrine figcaption { display: grid; font-size: 12px; margin-top: 6px; }
.print .vitrine img { aspect-ratio: 16 / 9; }
/* réglages v4 : la fin tient dans un écran, la sphère reste derrière le titre */
.fin { padding-top: clamp(76px, 6vw, 110px); }
.fin .grand { font-size: clamp(90px, min(13vw, 21vh), 260px); margin-top: clamp(20px, 2.6vw, 44px); }
.fin canvas.sph { top: 14vh; right: -4vw; width: min(62vh, 40vw); opacity: .55; }
.personnes { margin-top: clamp(28px, 3.4vw, 56px); }
.fin-actions { margin-top: clamp(20px, 2.2vw, 36px); }
.fin .signature { margin-top: clamp(20px, 2.2vw, 36px); }
.org .gal { height: clamp(18px, 1.75vw, 27px); }

/* Barre : Europa Star toujours présent une fois l'ouverture passée (Marc), aligné sur Turning Points (lignes de base mesurées). */
.barre-logo { gap: 14px; }
.barre-logo .es { height: 25px; width: 87px; flex: none; transform: translateY(-1.5px); }
.barre-logo .sep { width: 1px; height: 17px; background: currentColor; opacity: .45; flex: none; transform: translateY(-4px); }
.barre-logo .tt { font-size: 24px; line-height: 1; }
@media (max-width: 900px) { .barre-logo .sep { display: none; } }

/* Crédit en pied de page (Marc) */
.credit { margin-top: 14px; color: var(--dim); }
.credit a { color: var(--fg); text-decoration: none; border-bottom: 1px solid currentColor; letter-spacing: .08em; }
.credit a:hover { border-bottom-color: transparent; }
.print .credit { margin-top: 8px; }

/* Archives sur mobile (iPhone) : la règle img { max-width: 100% } donnait une largeur nulle aux pages
   dans la piste qui défile à l'horizontale. La hauteur fixe la taille, la largeur suit l'image. */
.piste figure { width: max-content; }
.piste img { max-width: none; height: 100%; width: auto; }
@media (max-width: 900px) { .piste figure { height: 52svh; } .piste { padding-bottom: 6px; } }

/* v8 (Marc) — Archives : chaque page a sa largeur réelle avant même d'être chargée (attributs width/height),
   plus de largeur calculée sur le contenu : fiable sur Safari iOS. */
.piste figure { width: auto; flex: none; }
.piste img { display: block; height: clamp(300px, 50vh, 600px); width: auto; max-width: none; }
@media (max-width: 900px) { .piste figure { height: auto; } .piste img { height: 52vh; } }
/* Devanture du partenaire principal : photo entière, sans recadrage, sur une colonne plus large. */
.f-principal .haut > div:first-child { grid-column: 1 / 7; }
.vitrine { grid-column: 7 / 13; }
.vitrine img { aspect-ratio: auto; height: auto; object-fit: initial; }
.f-principal .prix .tt { font-size: clamp(110px, 13.5vw, 280px); }
@media (max-width: 900px) { .f-principal .haut > div:first-child, .vitrine { grid-column: 1 / -1; } }
.print .vitrine img { aspect-ratio: auto; height: auto; max-height: 70mm; width: auto; max-width: 100%; }

/* v9 (Marc : archives invisibles sur son iPhone) : sur mobile, plus de piste horizontale — une grille simple
   de deux colonnes dans le flux normal de la page, sans défilement horizontal ni hauteur calculée. */
@media (max-width: 900px) {
  .piste { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; overflow: visible; scroll-snap-type: none; transform: none !important; padding-bottom: 0; }
  .piste figure { height: auto; width: auto; }
  .piste img { width: 100%; height: auto; max-width: 100%; }
}

/* Titres Franklin : l'approche serrée d'origine est gardée ; lettres.js écarte seulement les paires dont les dessins se touchent, juste assez (Marc, 04/12/2026). */