@font-face { font-family: 'Space Grotesk'; src: url(/assets/fonts/space-grotesk-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Inter'; src: url(/assets/fonts/inter-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url(/assets/fonts/jetbrains-mono-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
:root { color-scheme: dark; --or: #EAB94F; --fond: #0B1120; --verre: rgba(11,17,32,.82); --verre-plein: rgba(11,17,32,.9); --voix: 'Space Grotesk', system-ui, sans-serif; --frappe: 'JetBrains Mono', ui-monospace, monospace; }
* { box-sizing: border-box; }
html { background: var(--fond); -webkit-text-size-adjust: 100%; }
body { margin: 0; color: #FFFFFF; font: 400 16px/1.65 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 5px; }
.largeur { width: min(1760px, calc(100% - 112px)); margin-inline: auto; }
.evitement { position: fixed; top: -100px; left: 16px; z-index: 5; padding: 12px 18px; background: var(--or); color: var(--fond); }
.evitement:focus { top: 12px; }
.entete { position: absolute; inset: 0 0 auto; z-index: 3; display: flex; align-items: center; gap: 24px; min-height: 100px; border-bottom: 1px solid rgba(234,185,79,.4); }
.marque { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 700 24px/1 var(--voix); letter-spacing: .08em; }
.marque svg { width: 14px; height: 24px; fill: var(--or); }
.retour { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; font-size: 14px; }
.retour:hover, footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.langues { display: flex; }
.langues button { min-width: 44px; min-height: 44px; padding: 0 8px; border: 0; background: transparent; color: #FFFFFF; cursor: pointer; font: 700 13px/1 var(--frappe); }
.langues button[aria-pressed='true'] { color: var(--or); text-decoration: underline; text-underline-offset: 6px; }
.presentation { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; min-height: 100svh; padding: 132px 0 64px; }
.scene, .scene img { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene { z-index: -2; overflow: hidden; background: var(--fond); }
.scene img { display: block; object-fit: cover; }
.presentation::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,17,32,.94), rgba(11,17,32,.08) 26%, rgba(11,17,32,.04) 42%, rgba(11,17,32,.85) 77%, #0B1120), linear-gradient(90deg, rgba(11,17,32,.34), transparent 80%); }
.presentation::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34%; height: 2px; background: var(--or); }
.repere { display: flex; align-items: start; justify-content: space-between; gap: 24px; }
.surtitre, .index { margin: 0; font: 700 13px/1.6 var(--frappe); letter-spacing: .04em; text-transform: uppercase; }
.repere .surtitre { max-width: 560px; padding: 4px 12px; border-left: 2px solid var(--or); background: rgba(11,17,32,.9); }
.index { padding: 4px 8px; flex: none; color: var(--or); background: rgba(11,17,32,.9); }
.introduction { display: grid; grid-template-columns: minmax(0,1fr) 340px; align-items: end; gap: 40px; margin-top: 220px; }
.titre-bloc { min-width: 0; }
h1, h2 { font-family: var(--voix); font-weight: 700; }
h1 { margin: 0 0 24px; letter-spacing: -.065em; line-height: .9; }
.prefixe { display: block; width: fit-content; margin-bottom: 14px; padding: 5px 8px; background: rgba(11,17,32,.94); color: var(--or); font: 700 22px/1 var(--voix); letter-spacing: .16em; }
.domaine { display: block; font-size: clamp(84px, 9vw, 176px); }
body[data-pole='dar'] .domaine, body[data-pole='auto'] .domaine { font-size: clamp(130px, 16vw, 280px); }
.accroche { max-width: 720px; margin: 0; font-size: clamp(24px,2.3vw,38px); line-height: 1.3; letter-spacing: -.025em; text-wrap: balance; }
.accroche::before { content: ''; display: block; width: 68px; height: 3px; margin-bottom: 20px; background: var(--or); }
.cadre { position: relative; border: 1px solid rgba(234,185,79,.4); background: rgba(11,17,32,.94); }
.cadre::before, .cadre::after { content: ''; position: absolute; width: 16px; height: 16px; pointer-events: none; border-color: var(--or); border-style: solid; }
.cadre::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.cadre::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.invitation { padding: 26px; }
.badge { position: relative; isolation: isolate; overflow: hidden; display: inline-block; margin-bottom: 18px; padding: 5px 12px; color: var(--fond); background: var(--or); font: 700 13px/1.6 var(--frappe); text-transform: uppercase; letter-spacing: .03em; }
.description { margin: 0 0 20px; font-size: 16px; }
.lancement { margin: 0 0 12px; color: var(--or); font-size: 14px; }
.ordre { margin: 0 0 22px; font-size: 14px; }
.bouton { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 16px; background: var(--or); color: var(--fond); font: 700 15px/1.4 var(--voix); }
.bouton:hover { background: #FFF6CC; }
.bouton > :last-child { font-size: 24px; line-height: 1; }
.usages, #usages { padding-block: 86px 56px; }
.section-titre { margin-bottom: 36px; }
.section-titre .surtitre { width: fit-content; margin-bottom: 16px; padding: 4px 12px; border-left: 2px solid var(--or); background: var(--verre-plein); color: var(--or); }
h2 { margin: 0; font-size: clamp(34px,4vw,64px); line-height: 1.08; letter-spacing: -.04em; }
.usages ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: usages; }
.usages li { counter-increment: usages; min-height: 210px; padding: 28px; }
.usages li > span { display: block; }
.usages li > span::before { content: counter(usages,decimal-leading-zero); display: block; margin-bottom: 28px; color: var(--or); font: 700 34px/1 var(--frappe); letter-spacing: -.06em; }
.autres { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; padding-bottom: 56px; }
.autres a { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 100px; padding: 0; border: 1px solid rgba(255,255,255,.25); background: var(--verre-plein); font: 700 17px/1.3 var(--voix); }
.vignette { display: block; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; object-position: center 30%; background: var(--fond); }
.bandeau { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; flex: 1; padding: 16px; background: var(--verre-plein); }
.nav-num { flex-basis: 100%; color: var(--or); font: 700 13px/1 var(--frappe); }
.bandeau > :last-child { margin-left: auto; color: var(--or); }
.autres a:hover, .autres a[aria-current] { border-color: var(--or); }
.autres a:hover .bandeau, .autres a[aria-current] .bandeau { box-shadow: inset 0 -2px var(--or); }
.autres a[aria-current] { color: var(--or); }
/* Les mondes de Business et Kulture : même famille que les cartes d’usages, en or sur navy, aucune couleur par monde. */
.compte { max-width: 760px; margin: 20px 0 0; font-size: clamp(16px,1.3vw,18px); line-height: 1.55; }
.barre-mondes { display: none; }
.mondes { display: grid; grid-template-columns: repeat(var(--n),minmax(0,1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.monde { --pad-x: 28px; --pad-y: 28px; --pastille: 48px; scroll-margin-top: 24px; display: flex; flex-direction: column; min-width: 0; padding: var(--pad-y) var(--pad-x); }
/* 03/11 — la photo du monde : bord à bord en haut de la carte, fondue dans le verre ; la pastille la chevauche à moitié. Décorative : les textes restent sous elle. */
.cadre-monde { position: relative; display: block; flex: none; overflow: hidden; margin: calc(var(--pad-y) * -1) calc(var(--pad-x) * -1) 0; aspect-ratio: 16/10; background: var(--fond); }
.cadre-monde::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 66%, rgba(11,17,32,.55) 84%, #0B1120 100%); box-shadow: inset 0 2px var(--or); }
.photo-monde { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.tete-monde { position: relative; z-index: 1; display: flex; align-items: flex-start; gap: 14px; margin: calc(var(--pastille) / -2) 0 20px; }
.pastille { display: grid; place-items: center; flex: none; width: var(--pastille); height: var(--pastille); border: 1px solid var(--or); border-radius: 50%; color: var(--or); background: radial-gradient(circle at 50% 30%, rgba(234,185,79,.2), rgba(234,185,79,.04) 72%); box-shadow: 0 0 0 4px rgba(234,185,79,.07); }
.pastille svg { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.monde h3 { width: fit-content; margin: calc(var(--pastille) / 2 + 6px) 0 0; padding: 0 0 6px; border: 0; border-bottom: 2px solid var(--or); color: var(--or); font: 700 13px/1.4 var(--frappe); letter-spacing: .06em; text-transform: uppercase; }
.domaine-monde { margin: 0 0 8px; font-size: 14px; line-height: 1.5; }
.titre-monde { margin: 0 0 24px; font: 700 clamp(22px,2vw,26px)/1.2 var(--voix); letter-spacing: -.02em; }
.etapes { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: etape; }
.etapes li { counter-increment: etape; display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 14px; align-items: start; font-size: 15px; line-height: 1.55; }
.etapes li::before { content: counter(etape); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--or); color: var(--fond); font: 700 14px/1 var(--frappe); }
.regle { display: flex; flex-direction: column; gap: 8px; width: fit-content; max-width: 100%; margin: 28px 0 0; padding: 14px 24px 14px 20px; border-left: 3px solid var(--or); background: var(--verre-plein); font-weight: 700; font-size: clamp(18px,1.5vw,20px); line-height: 1.4; }
/* 03/11 — « pas assez de vie » : sous le héros, l’affiche du pôle revient en fond, floutée sous un voile navy,
   et les cartes deviennent du verre. Aucun nouveau média : la même image que le héros, déjà en cache. */
.suite { position: relative; isolation: isolate; }
.fond-suite { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--fond); }
.fond-suite img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; filter: blur(18px) saturate(1.3) brightness(1.15); transform: scale(1.15); }
.suite::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, #0B1120 0, rgba(11,17,32,.74) 140px, rgba(11,17,32,.66) 300px, rgba(11,17,32,.34) 48%, rgba(11,17,32,.3) 70%, rgba(11,17,32,.62) 90%, #0B1120 100%), radial-gradient(120% 70% at 50% 50%, transparent 45%, rgba(11,17,32,.4) 100%); }
.monde, .usages li { position: relative; overflow: hidden; border: 1px solid rgba(234,185,79,.34); background: var(--verre-plein); box-shadow: inset 0 2px var(--or), 0 24px 48px -28px rgba(0,0,0,.9); }
/* Le reflet du filet or (::before) et le halo du survol (::after) : opacité et transformation seulement. */
.monde::before, .monde::after { z-index: 2; }
.monde::before, .usages li::before { content: ''; position: absolute; top: 0; left: 0; width: 45%; height: 2px; pointer-events: none; opacity: 0; background: linear-gradient(90deg, transparent, #FFF6CC 50%, transparent); transform: translateX(-100%); }
.monde::after, .usages li::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; box-shadow: inset 0 0 0 1px var(--or), inset 0 2px var(--or), inset 0 0 36px rgba(234,185,79,.18); }
.badge::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; z-index: -1; width: 60%; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255,246,204,.9) 50%, transparent); transform: translateX(-120%); }
@media (min-width: 900px) {
  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .monde, .usages li, .bandeau, .regle { background: var(--verre); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
    .autres a { background: transparent; }
  }
}
@media (hover: hover) and (pointer: fine) {
  .monde:hover::after, .usages li:hover::after { opacity: 1; }
}
footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 24px 32px; border-top: 1px solid rgba(234,185,79,.3); font-size: 13px; }
footer p { margin: 0; }
footer a { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 900px) and (max-width: 1199px) {
  .largeur { width: calc(100% - 64px); }
  .introduction { grid-template-columns: minmax(0,1fr) 300px; gap: 24px; }
  .domaine { font-size: 8.3vw; }
  .autres { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .autres a { grid-column: span 2; }
  .autres a:nth-child(n+4) { grid-column: span 3; }
  .mondes[style*='--n:4'] { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 899px) {
  .largeur { width: calc(100% - 40px); }
  .entete { min-height: 80px; gap: 12px; }
  .marque { font-size: 20px; }
  .retour { font-size: 13px; line-height: 1.3; }
  .langues { margin-left: auto; }
  .presentation { padding: 104px 0 32px; }
  .presentation::before { background: linear-gradient(180deg,rgba(11,17,32,.94),rgba(11,17,32,.02) 19%,rgba(11,17,32,.05) 35%,rgba(11,17,32,.9) 58%,#0B1120); }
  .repere { gap: 12px; }
  .repere .surtitre { max-width: 260px; font-size: 13px; letter-spacing: 0; }
  .index { letter-spacing: 0; }
  .introduction { grid-template-columns: 1fr; gap: 30px; margin-top: 235px; }
  .prefixe { font-size: 18px; margin-bottom: 12px; }
  .domaine { font-size: clamp(64px,18vw,156px); }
  body[data-pole='dar'] .domaine, body[data-pole='auto'] .domaine { font-size: clamp(104px,29vw,240px); }
  .accroche { font-size: 24px; }
  .accroche::before { width: 48px; height: 2px; margin-bottom: 18px; }
  .invitation { padding: 22px; }
  .badge { margin-bottom: 16px; }
  .usages, #usages { padding-block: 56px 32px; }
  .section-titre { margin-bottom: 28px; }
  .usages ol { grid-template-columns: 1fr; gap: 12px; }
  .usages li { min-height: 0; padding: 24px 20px; }
  .usages li > span { display: grid; grid-template-columns: 40px 1fr; gap: 18px; }
  .usages li > span::before { margin: 4px 0 0; font-size: 26px; }
  .autres { grid-template-columns: 1fr 1fr; padding-bottom: 32px; }
  .autres a { font-size: 15px; }
  .autres a:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .autres { container-type: inline-size; }
  .autres a:last-child:nth-child(odd) .vignette { aspect-ratio: 32/10; height: calc((100cqw - 12px) * .3125); }
  .bandeau { padding: 14px; gap: 8px; }
  .mondes { grid-template-columns: 1fr; gap: 12px; }
  .monde { --pad-x: 20px; --pad-y: 24px; --pastille: 44px; }
  .tete-monde { margin-bottom: 18px; }
  .barre-mondes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); gap: 8px; margin: 0 0 20px; }
  .barre-mondes a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 4px; border: 1px solid var(--or); background: var(--verre-plein); color: var(--or); font: 700 13px/1.2 var(--frappe); letter-spacing: 0; text-transform: uppercase; text-align: center; }
  .barre-mondes a:hover { background: linear-gradient(rgba(234,185,79,.14),rgba(234,185,79,.14)), var(--verre-plein); }
  .monde { scroll-margin-top: 16px; }
  .regle { margin-top: 24px; }
  footer { display: block; }
  footer a { margin-top: 8px; }
}
@media (max-width: 379px) {
  .largeur { width: calc(100% - 32px); }
  .entete { gap: 6px; }
  .marque { font-size: 18px; gap: 6px; }
  .retour { max-width: 82px; }
  .introduction { margin-top: 190px; }
  .presentation::before { background: linear-gradient(180deg,rgba(11,17,32,.94),rgba(11,17,32,.02) 19%,rgba(11,17,32,.25) 35%,rgba(11,17,32,.9) 58%,#0B1120); }
  .domaine { font-size: 17.7vw; }
  .invitation { padding: 20px; }
  .autres { grid-template-columns: 1fr; }
  .autres a:last-child:nth-child(odd) .vignette { aspect-ratio: 16/10; height: auto; }
  .bandeau { flex-wrap: nowrap; }
  .nav-num { flex-basis: auto; }
}
/* Le mouvement : seulement si l’on ne demande pas de mouvement réduit ; transformation et opacité seulement. */
@media (prefers-reduced-motion: no-preference) {
  .scene img { transform-origin: 50% 40%; animation: respire 20s ease-in-out infinite alternate; will-change: transform; }
  .titre-bloc h1, .accroche, .invitation { animation: entree 1s cubic-bezier(.2,.7,.2,1) backwards; }
  .titre-bloc h1 { animation-delay: .15s; }
  .accroche { animation-delay: .35s; }
  .invitation { animation-delay: .55s; }
  .badge::after { animation: reflet-badge 7s ease-in-out 1.8s infinite; }
  .monde::before, .usages li::before { animation: reflet-filet 9s ease-in-out infinite; animation-delay: calc(2.4s + var(--i, 0) * .8s); }
  .fond-suite img { animation: derive 40s ease-in-out infinite alternate; }
  html.anime .revele:not(.vu) { opacity: 0; transform: translateY(32px); }
  html.anime .revele.vu { animation: monte .9s cubic-bezier(.2,.7,.2,1) calc(var(--i, 0) * 110ms) backwards; }
  .monde::after, .usages li::after { transition: opacity .35s ease; }
  @media (hover: hover) and (pointer: fine) {
    .monde, .usages li { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
    .monde:hover, .usages li:hover { transform: translateY(-5px); }
    .photo-monde { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
    .monde:hover .photo-monde { transform: scale(1.05); }
    .vignette { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
    .autres a:hover .vignette { transform: scale(1.06); }
  }
}
@keyframes respire { from { transform: scale(1); } to { transform: scale(1.07); } }
@keyframes entree { from { opacity: 0; transform: translateY(26px); } }
@keyframes monte { from { opacity: 0; transform: translateY(32px); } }
@keyframes derive { from { transform: scale(1.15) translate3d(-1.2%, -1%, 0); } to { transform: scale(1.22) translate3d(1.2%, 1%, 0); } }
@keyframes reflet-badge { 0% { transform: translateX(-120%); } 22%, 100% { transform: translateX(260%); } }
@keyframes reflet-filet { 0% { opacity: 0; transform: translateX(-100%); } 3% { opacity: 1; } 18% { opacity: 1; transform: translateX(240%); } 20%, 100% { opacity: 0; transform: translateX(240%); } }
