/* Livetime — la feuille commune à toutes les pages.
   Une direction : noir, blanc, et la vie en vidéo plein écran, comme The Light Phone. Pas de
   couleur d'accent : ce sont les vidéos qui donnent la couleur. Polices et haut de page repris
   du site Framer de Livetime (Sentient pour le logo et les italiques, Switzer pour le reste). */

@font-face { font-family: "Switzer"; src: url("/assets/fonts/switzer-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/assets/fonts/switzer-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/assets/fonts/switzer-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/assets/fonts/switzer-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Sentient"; src: url("/assets/fonts/sentient-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Sentient"; src: url("/assets/fonts/sentient-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Sentient"; src: url("/assets/fonts/sentient-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --blanc: #ffffff;
  --papier: #f3f3f0;
  --encre: #111214;
  --gris: #5f636a;
  --trait: #e2e2de;
  --nuit: #0e0f11;
  --nuit-2: #18191c;
  --trait-nuit: rgba(255, 255, 255, 0.14);
  --pale: rgba(255, 255, 255, 0.72);
  --f-texte: "Switzer", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-logo: "Sentient", Georgia, "Times New Roman", serif;
  --f-cri: "Instrument Sans", "Switzer", "Helvetica Neue", Arial, sans-serif;
  --g: max(20px, env(safe-area-inset-left, 0px));
  --d: max(20px, env(safe-area-inset-right, 0px));
  --max: 1240px;
  --haut: 64px;
  --sous-entete: calc(var(--haut) + env(safe-area-inset-top, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--sous-entete) + 16px); }
body { margin: 0; background: var(--blanc); color: var(--encre); font: 400 17px/1.6 var(--f-texte); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body:has(.menu[open]) { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; text-wrap: balance; }
p, figure, blockquote { margin: 0; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
.evitement { position: absolute; left: -9999px; top: 12px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--blanc); color: var(--encre); }
.evitement:focus { left: 12px; }
.cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-left: var(--g); padding-right: var(--d); }
.etroit { max-width: 860px; }
.eyebrow { font: 500 12px/1.3 var(--f-texte); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gris); }
.nuit .eyebrow, .plan .eyebrow { color: var(--pale); }
.papier { background: var(--papier); }
.nuit { background: var(--nuit); color: var(--blanc); }
.bande { padding-block: clamp(76px, 11vw, 132px); }

/* ---------- Haut de page : rien qu'un logo et des liens, posés sur la vidéo ---------- */
.entete { position: fixed; top: 0; left: 0; right: 0; z-index: 40; padding-top: env(safe-area-inset-top, 0px); color: var(--blanc); transition: color 0.3s, background-color 0.3s, box-shadow 0.3s; }
.entete.clair { color: var(--encre); background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06); }
.entete.sombre { background: rgba(14, 15, 17, 0.82); -webkit-backdrop-filter: saturate(1.2) blur(14px); backdrop-filter: saturate(1.2) blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06); }
.entete:has(.menu[open]) { color: var(--encre); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.entete__barre { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--haut); }
.logo { position: relative; z-index: 1; font: 400 23px/1 var(--f-logo); letter-spacing: -0.01em; text-decoration: none; }
.nav { display: none; gap: 26px; }
.nav a { font: 500 14px/1 var(--f-texte); text-decoration: none; opacity: 0.8; transition: opacity 0.2s; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 7px; }
.entete__actions { display: flex; align-items: center; gap: 14px; }
.bouton-entete { display: inline-flex; align-items: center; height: 36px; padding: 0 15px; border: 1px solid currentColor; border-radius: 999px; font: 500 14px/1 var(--f-texte); text-decoration: none; white-space: nowrap; transition: background-color 0.2s, color 0.2s; }
.entete:not(.clair) .bouton-entete:hover { background: var(--blanc); color: var(--encre); border-color: var(--blanc); }
.entete.clair .bouton-entete:hover { background: var(--encre); color: var(--blanc); }
.menu summary { list-style: none; cursor: pointer; font: 500 14px/1 var(--f-texte); padding: 10px 0; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary .ouvrir, .menu:not([open]) summary .fermer { display: none; }
.menu__panneau { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; gap: 4px; padding: calc(var(--sous-entete) + 28px) var(--d) 40px var(--g); background: var(--blanc); color: var(--encre); overflow-y: auto; }
.menu__panneau a { font: 500 clamp(30px, 8vw, 40px)/1.3 var(--f-texte); letter-spacing: -0.025em; text-decoration: none; }
.menu__panneau .pilule { margin-top: 28px; align-self: flex-start; }

/* ---------- Boutons ---------- */
.pilule { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; text-decoration: none; font: 600 16px/1 var(--f-texte); white-space: nowrap; transition: transform 0.2s, background-color 0.2s, color 0.2s; }
.pilule:hover { transform: translateY(-1px); }
.pilule.grande { padding: 19px 30px; font-size: 17px; }
.pilule.blanche { background: var(--blanc); color: var(--encre); }
.pilule.noire { background: var(--encre); color: var(--blanc); }
.pilule svg { width: 18px; height: 18px; flex: none; }
.lien-suite { display: inline-flex; align-items: center; gap: 10px; margin-top: 44px; padding-bottom: 6px; border-bottom: 1px solid currentColor; font: 500 16px/1 var(--f-texte); text-decoration: none; }
.lien-suite::after { content: "→"; transition: transform 0.2s; }
.lien-suite:hover::after { transform: translateX(4px); }

/* ---------- Les plans vidéo, plein écran ---------- */
.plan { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 100svh; background: #000; color: var(--blanc); }
.plan .fond, .sequence .fond { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.plan::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.1) 36%, rgba(0, 0, 0, 0.06) 64%, rgba(0, 0, 0, 0.46) 100%); }
.plan__haut { padding-top: calc(var(--sous-entete) + clamp(20px, 6vh, 60px)); }
.plan__bas { padding-bottom: clamp(28px, 6vh, 56px); }
.plan.court { min-height: 78svh; }
.enonce { font: 500 clamp(31px, 5.6vw, 64px)/1.08 var(--f-texte); letter-spacing: -0.032em; max-width: 19ch; text-wrap: balance; }
.enonce em, .enonce i { font: italic 400 1em/1 var(--f-logo); letter-spacing: -0.01em; }
.plan .chapeau { margin-top: 20px; max-width: 46ch; font-size: clamp(17px, 1.6vw, 19px); color: rgba(255, 255, 255, 0.88); }
.legende { display: inline-flex; align-items: center; gap: 10px; font: 500 14px/1.35 var(--f-texte); text-decoration: none; }
.legende svg { width: 30px; height: 30px; }

/* Une phrase qui reste en place pendant que la vie défile dessous */
.sequence { position: relative; background: #000; color: var(--blanc); }
.sequence__texte { position: sticky; top: 0; z-index: 2; height: 100svh; pointer-events: none; padding-top: calc(var(--sous-entete) + clamp(20px, 6vh, 60px)); }
.sequence__texte .enonce { max-width: 21ch; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.28); }
/* Le premier plan remonte sous la phrase ; la phrase garde sa hauteur, donc s'arrête avec la section */
.sequence__texte + .sequence__plan { margin-top: -100svh; }
.sequence__plan { position: relative; isolation: isolate; height: 100svh; overflow: hidden; }
.sequence__plan::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.06) 42%, rgba(0, 0, 0, 0.42)); }
.sequence__plan figcaption { position: absolute; left: var(--g); right: var(--d); bottom: clamp(28px, 7vh, 64px); max-width: calc(var(--max) - var(--g) - var(--d)); margin-inline: auto; font: 500 clamp(22px, 2.6vw, 32px)/1.15 var(--f-texte); letter-spacing: -0.02em; }

/* ---------- Ouverture : comme Opal, tout est dit dès la première seconde ---------- */
.ouverture { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; display: flex; align-items: center; padding-block: calc(var(--sous-entete) + 48px) 72px; text-align: center; background: #000; color: var(--blanc); }
.ouverture .fond { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.82); }
.ouverture::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 50% 42%, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.55)); }
.ouverture .wrap { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 500 13px/1 var(--f-texte); }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--blanc); }
.ouverture h1 { font: 600 clamp(56px, 15vw, 136px)/0.92 var(--f-texte); letter-spacing: -0.045em; }
.ouverture h1 em { font: italic 400 1em/1 var(--f-logo); letter-spacing: -0.02em; }
.ouverture .chapeau { max-width: 36ch; font-size: clamp(17px, 2.1vw, 21px); color: rgba(255, 255, 255, 0.9); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 24px; }
.preuve { display: flex; flex-direction: column; align-items: center; gap: 8px; font: 500 15px/1.3 var(--f-texte); }
.preuve .note { justify-content: center; }
.preuve small { font-size: 13px; color: var(--pale); font-weight: 400; }

/* ---------- En-tête des pages ---------- */
.tete-page { padding-top: calc(var(--sous-entete) + clamp(48px, 9vw, 104px)); padding-bottom: clamp(48px, 7vw, 80px); }
.tete-page h1 { font: 600 clamp(42px, 8.4vw, 96px)/0.98 var(--f-texte); letter-spacing: -0.045em; max-width: 15ch; }
.tete-page h1 em { font: italic 400 1em/1 var(--f-logo); letter-spacing: -0.02em; }
.tete-page .chapeau { margin-top: 26px; max-width: 54ch; font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--gris); }
.plan .tete-page h1, .plan h1 { font: 600 clamp(42px, 8.4vw, 96px)/0.98 var(--f-texte); letter-spacing: -0.045em; max-width: 15ch; }
.tete { display: grid; gap: 16px; margin-bottom: clamp(36px, 6vw, 64px); }
.tete h2 { font: 500 clamp(32px, 5.2vw, 58px)/1.04 var(--f-texte); letter-spacing: -0.035em; max-width: 21ch; }
.tete h2 em { font: italic 400 1em/1 var(--f-logo); letter-spacing: -0.015em; }
.tete .chapeau { max-width: 58ch; font-size: 18px; color: var(--gris); }
.nuit .tete .chapeau { color: var(--pale); }

/* ---------- Avis ---------- */
.etoiles { display: flex; gap: 3px; color: currentColor; }
.etoiles svg { width: 17px; height: 17px; }
.note { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font: 500 15px/1.3 var(--f-texte); }
.note .etoiles svg { width: 20px; height: 20px; }
.grille-avis { display: grid; gap: 14px; }
.carrousel { display: grid; grid-auto-flow: column; grid-auto-columns: min(84%, 380px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--g) * -1) calc(var(--d) * -1); padding: 0 var(--d) 10px var(--g); scroll-padding-inline: var(--g); scrollbar-width: none; }
.carrousel::-webkit-scrollbar { display: none; }
.carrousel > * { scroll-snap-align: start; }
.avis { display: flex; flex-direction: column; gap: 18px; padding: 26px; border-radius: 22px; background: var(--blanc); border: 1px solid var(--trait); }
.avis blockquote { font: italic 400 clamp(19px, 2vw, 22px)/1.42 var(--f-logo); }
.avis__qui { margin-top: auto; font: 500 14px/1.4 var(--f-texte); color: var(--gris); }
.avis__qui b { color: var(--encre); font-weight: 600; }
.avis__capture { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--trait); }
.avis--chiffre { background: var(--encre); border-color: var(--encre); color: var(--blanc); justify-content: space-between; }
.avis--chiffre b { font: 500 clamp(76px, 14vw, 118px)/0.85 var(--f-texte); letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.avis--chiffre p { font-size: 18px; max-width: 26ch; }
.avis--chiffre .avis__qui, .avis--chiffre .avis__qui b { color: var(--pale); }
.murs { columns: 1; column-gap: 14px; }
.murs figure { break-inside: avoid; margin-bottom: 14px; }
.murs img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--trait); background: var(--blanc); }
.murs figcaption { margin-top: 8px; font-size: 13px; color: var(--gris); }

/* ---------- Résultats ---------- */
.resultats { display: grid; gap: 14px; }
.resultat { display: grid; align-content: space-between; gap: 18px; min-height: 220px; padding: 28px; border-radius: 22px; background: var(--papier); }
.papier .resultat { background: var(--blanc); }
.resultat b { font: 500 clamp(60px, 10vw, 100px)/0.88 var(--f-texte); letter-spacing: -0.055em; font-variant-numeric: tabular-nums; }
.resultat p { max-width: 34ch; }
.resultat small { font-size: 13px; color: var(--gris); }
.resultat--noir { background: var(--encre) !important; color: var(--blanc); }
.resultat--noir small { color: var(--pale); }
.en-cours { display: inline-flex; align-items: center; gap: 10px; font: 500 14px/1 var(--f-texte); }
.en-cours i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; animation: pouls 1.8s ease-in-out infinite; }
@keyframes pouls { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.25; transform: scale(0.7); } }
.barre { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.16); overflow: hidden; }
.barre i { display: block; width: 38%; height: 100%; border-radius: 4px; background: currentColor; animation: avance 2.4s ease-in-out infinite; }
@keyframes avance { 0% { transform: translateX(-110%); } 100% { transform: translateX(270%); } }

/* ---------- Fonctionnalités : la section sombre, avec les vraies captures ---------- */
.fonctions { display: grid; gap: clamp(88px, 12vw, 140px); }
.fonction { display: grid; gap: 34px; align-items: center; justify-items: center; }
.fonction .mots { display: grid; gap: 16px; width: 100%; max-width: 46ch; }
.fonction h3 { font: 500 clamp(28px, 4vw, 46px)/1.06 var(--f-texte); letter-spacing: -0.03em; }
.fonction p { color: rgba(255, 255, 255, 0.78); }
.fonction ul, .liste-points { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.fonction li, .liste-points li { position: relative; padding-left: 18px; }
.fonction li { color: rgba(255, 255, 255, 0.88); }
.fonction li::before, .liste-points li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tel { position: relative; flex: none; width: min(290px, 72vw); aspect-ratio: 1080 / 2264; padding: 10px; border-radius: 46px; background: #050608; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), inset 0 0 0 1.5px #2b2f39; }
.tel video, .tel img { width: 100%; height: 100%; object-fit: cover; border-radius: 37px; background: #000; }
.trio { display: flex; justify-content: center; gap: 14px; width: 100%; }
.trio figure { display: grid; gap: 10px; justify-items: center; }
.trio .tel { width: min(150px, 28vw); padding: 6px; border-radius: 26px; }
.trio .tel img { border-radius: 21px; }
.trio figcaption { font: 500 11px/1 var(--f-texte); letter-spacing: 0.16em; text-transform: uppercase; color: var(--pale); }
.grille-aussi { display: grid; gap: 1px; overflow: hidden; border: 1px solid var(--trait-nuit); border-radius: 20px; background: var(--trait-nuit); }
.grille-aussi div { display: grid; align-content: start; gap: 8px; padding: 24px; background: var(--nuit-2); }
.grille-aussi b { font: 500 18px/1.25 var(--f-texte); }
.grille-aussi span { font-size: 15px; color: var(--pale); }

/* ---------- Études ---------- */
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filtres button { padding: 10px 16px; border: 1px solid var(--trait); border-radius: 999px; background: var(--blanc); color: var(--encre); font: 500 14px/1 var(--f-texte); cursor: pointer; }
.filtres button[aria-pressed="true"] { background: var(--encre); color: var(--blanc); border-color: var(--encre); }
.grille-etudes { display: grid; gap: 14px; }
.etude { display: grid; align-content: start; gap: 14px; padding: 24px; border-radius: 18px; background: var(--blanc); border: 1px solid var(--trait); }
.etude[hidden] { display: none; }
.etude .theme { font: 500 11px/1 var(--f-texte); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gris); }
.etude b { font: 500 44px/1 var(--f-texte); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.etude h3 { font: 500 18px/1.3 var(--f-texte); }
.etude p { font-size: 15px; color: #34373d; }
.etude a { font-size: 13px; color: var(--gris); }

/* ---------- Questions ---------- */
.questions { border-top: 1px solid var(--encre); }
.question { border-bottom: 1px solid var(--trait); }
.question summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 22px; cursor: pointer; list-style: none; font: 500 19px/1.3 var(--f-texte); }
.question summary::-webkit-details-marker { display: none; }
.question summary::after { content: "+"; flex: none; font: 300 28px/1 var(--f-texte); color: var(--gris); transition: transform 0.25s; }
.question[open] summary::after { transform: rotate(45deg); }
.reponse { display: grid; gap: 12px; max-width: 64ch; padding-bottom: 26px; color: #34373d; }

/* ---------- Ce qui inspire ---------- */
.activites { display: flex; flex-wrap: wrap; gap: 10px; max-width: 760px; margin: 0; padding: 0; list-style: none; }
.activites li { padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 500 15px/1 var(--f-texte); }
.vivons { font: 700 clamp(64px, 17vw, 220px)/0.86 var(--f-cri); letter-spacing: -0.02em; text-transform: uppercase; }

/* ---------- Comparatif ---------- */
.axe { margin: 0; padding: 4px 0 0; }
.axe { display: grid; }
.axe__borne { font: 500 13px/1.2 var(--f-texte); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gris); }
.axe__points { position: relative; margin: 18px 0; padding: 0 0 0 30px; list-style: none; display: grid; gap: 20px; border-left: 2px solid var(--encre); }
.axe__points li { position: relative; display: grid; gap: 2px; }
.axe__points li::before { content: ""; position: absolute; left: -39px; top: 5px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--encre); background: var(--blanc); }
.axe__points b { font: 600 17px/1.3 var(--f-texte); }
.axe__points span { font-size: 14px; color: var(--gris); }
.axe__points li.nous::before { width: 20px; height: 20px; left: -42px; top: 2px; background: var(--encre); }
.axe__points li.nous b { font-size: 20px; }
.categorie { display: grid; gap: 22px; padding-block: 40px; border-top: 1px solid var(--trait); }
.categorie h3 { font: 500 clamp(24px, 3vw, 32px)/1.15 var(--f-texte); letter-spacing: -0.02em; }
.solutions { display: grid; gap: 14px; }
.solution { display: grid; gap: 10px; padding: 22px; border-radius: 18px; background: var(--papier); }
.solution h4 { font: 600 18px/1.3 var(--f-texte); }
.solution .ex { font-size: 14px; color: var(--gris); }
.solution .pour, .solution .contre { position: relative; padding-left: 22px; font-size: 16px; }
.solution .pour::before, .solution .contre::before { position: absolute; left: 0; top: 0; font: 600 16px/1.6 var(--f-texte); }
.solution .pour::before { content: "+"; }
.solution .contre::before { content: "−"; }

/* ---------- Tableaux ---------- */
.tableau { overflow-x: auto; margin-inline: calc(var(--g) * -1) calc(var(--d) * -1); padding-inline: var(--g) var(--d); }
.tableau table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.tableau th, .tableau td { padding: 14px 12px; border-bottom: 1px solid var(--trait); text-align: left; vertical-align: top; }
.tableau thead th { font: 600 13px/1.3 var(--f-texte); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gris); }
.tableau td:first-child { font-weight: 500; }
.tableau .nous { background: var(--encre); color: var(--blanc); }
.tableau thead .nous { color: var(--blanc); }

/* ---------- Manifeste ---------- */
.manifeste-texte { display: grid; gap: 28px; }
.manifeste-texte p:not(.eyebrow) { font: 400 clamp(21px, 2.6vw, 28px)/1.45 var(--f-texte); letter-spacing: -0.01em; max-width: 34ch; }
.manifeste-texte p strong { font-weight: 600; }
.frigo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; width: min(300px, 70vw); padding: 22px; border-radius: 36px; border: 2px solid var(--encre); }
.frigo i { aspect-ratio: 1; border-radius: 26%; background: var(--encre); }
.frigo i.mal { background: transparent; border: 2px dashed var(--gris); }
@supports (animation-timeline: view()) {
  .frigo i.mal { animation: retire linear both; animation-timeline: view(); animation-range: cover 48% cover 62%; }
  @keyframes retire { to { opacity: 0; transform: scale(0.5); } }
}
.legende-frigo { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--gris); }
.legende-frigo span { display: inline-flex; align-items: center; gap: 8px; }
.legende-frigo span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--encre); }
.legende-frigo span.mal::before { background: transparent; border: 2px dashed var(--gris); }
.frigo-bloc { display: grid; gap: 44px; align-items: center; }
.cercles { width: 100%; max-width: 760px; height: auto; color: var(--encre); }
.frise { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--trait); }
.frise li { position: relative; display: grid; gap: 6px; padding: 0 0 32px 28px; }
.frise li::before { content: ""; position: absolute; left: -5px; top: 7px; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--encre); background: var(--blanc); }
.frise li:last-child::before { background: var(--encre); }
.frise time { font: 600 13px/1.2 var(--f-texte); letter-spacing: 0.08em; text-transform: uppercase; }
.frise p { max-width: 56ch; color: #34373d; }

/* ---------- Blog ---------- */
.categories-blog { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.categories-blog a { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--trait); font: 500 14px/1 var(--f-texte); text-decoration: none; }
.categories-blog a:hover { border-color: var(--encre); }
.rubrique { padding-block: 36px; border-top: 1px solid var(--trait); }
.rubrique h2 { margin-bottom: 24px; font: 500 clamp(24px, 3vw, 32px)/1.15 var(--f-texte); letter-spacing: -0.02em; }
.cartes { display: grid; gap: 14px; }
.carte { display: grid; align-content: start; gap: 12px; padding: 18px; border-radius: 20px; background: var(--papier); text-decoration: none; transition: transform 0.2s; }
.carte:hover { transform: translateY(-2px); }
.carte img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: #ddd; }
.carte .eyebrow { font-size: 11px; }
.carte h3 { font: 500 20px/1.25 var(--f-texte); letter-spacing: -0.01em; }
.carte p { font-size: 15px; color: var(--gris); }

/* ---------- Article ---------- */
.article { padding-top: calc(var(--sous-entete) + clamp(32px, 6vw, 64px)); padding-bottom: clamp(64px, 10vw, 112px); }
.fil { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; font-size: 14px; color: var(--gris); }
.fil a { text-decoration: none; }
.fil a:hover { text-decoration: underline; }
.fil li + li::before { content: "›"; margin-right: 8px; }
.article h1 { font: 600 clamp(34px, 6vw, 62px)/1.04 var(--f-texte); letter-spacing: -0.035em; max-width: 22ch; }
.article__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font-size: 14px; color: var(--gris); }
.article__chapeau { margin-top: 28px; max-width: 62ch; font-size: clamp(19px, 2.2vw, 22px); line-height: 1.5; }
.article__image { margin: 40px 0 8px; overflow: hidden; border-radius: 22px; aspect-ratio: 16 / 9; background: #ddd; }
.article__image img { width: 100%; height: 100%; object-fit: cover; }
.prose { max-width: 68ch; font-size: 18px; line-height: 1.72; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font: 600 clamp(24px, 3vw, 31px)/1.2 var(--f-texte); letter-spacing: -0.02em; }
.prose h3 { margin-top: 1.8em; font: 600 20px/1.35 var(--f-texte); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose strong { font-weight: 600; }
.prose .encadre { padding: 22px 24px; border-radius: 18px; background: var(--papier); font-size: 17px; }
.prose .encadre > * + * { margin-top: 0.7em; }
.prose .encadre--livetime { background: var(--encre); color: var(--blanc); }
.prose .encadre--livetime a { color: var(--blanc); }
.prose .verdict { padding: 24px; border-radius: 18px; border: 2px solid var(--encre); }
.prose .duo { display: grid; gap: 14px; }
.prose .duo > div { padding: 20px 22px; border-radius: 16px; background: var(--papier); }
.prose .duo h3 { margin-top: 0; }
.prose .duo ul { margin-top: 0.6em; }
.prose .tableau table { font-size: 15px; }
.sources { margin-top: 3em; padding-top: 1.4em; border-top: 1px solid var(--trait); font-size: 14px; color: var(--gris); }
.sources ol { padding-left: 1.2em; }
.auteur { display: flex; align-items: center; gap: 14px; margin-top: 2.4em; font-size: 15px; color: var(--gris); }
.auteur b { color: var(--encre); }
.a-lire { padding-block: clamp(56px, 8vw, 96px); }

/* ---------- Fin et pied de page ---------- */
.final { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 82svh; padding-block: 96px; text-align: center; background: #000; color: var(--blanc); }
.final .fond { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, 0.32); }
.final .wrap { display: grid; justify-items: center; gap: 28px; }
.final h2 { font: 600 clamp(40px, 8vw, 96px)/0.96 var(--f-texte); letter-spacing: -0.045em; max-width: 14ch; }
.final h2 em { font: italic 400 1em/1 var(--f-logo); }
.pied { padding-block: 56px 40px; background: var(--nuit); color: var(--blanc); }
.pied__haut { display: grid; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid var(--trait-nuit); }
.pied .logo { font-size: 26px; }
.pied__devise { margin-top: 10px; color: var(--pale); max-width: 30ch; }
.pied__colonnes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.pied h2 { margin-bottom: 12px; font: 500 12px/1 var(--f-texte); letter-spacing: 0.16em; text-transform: uppercase; color: var(--pale); }
.pied ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.pied ul a { text-decoration: none; color: rgba(255, 255, 255, 0.86); font-size: 15px; }
.pied ul a:hover { color: var(--blanc); text-decoration: underline; }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; font-size: 13px; color: var(--pale); }
.pied__bas a { color: var(--pale); }
.vivons-pied { font: 700 13px/1 var(--f-cri); letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Mouvement : visible au repos, et seulement si l'on n'a pas demandé moins ---------- */
@keyframes monte { from { opacity: 0.2; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes arrive { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.ouverture .wrap > * { animation: arrive 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.ouverture .wrap > *:nth-child(2) { animation-delay: 0.08s; }
.ouverture .wrap > *:nth-child(3) { animation-delay: 0.16s; }
.ouverture .wrap > *:nth-child(4) { animation-delay: 0.26s; }
.ouverture .wrap > *:nth-child(5) { animation-delay: 0.38s; }
@keyframes efface { to { opacity: 0; transform: translateY(-12px); } }
@supports (animation-timeline: view()) {
  .apparait { animation: monte linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
  /* La légende d'un plan s'efface avant de croiser la phrase qui reste en haut */
  .sequence__plan figcaption { animation: efface linear both; animation-timeline: view(); animation-range: cover 38% cover 52%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .apparait, .ouverture .wrap > *, .frigo i.mal, .en-cours i, .barre i, .sequence__plan figcaption { animation: none !important; }
}

/* ---------- Tablette et ordinateur ---------- */
@media (min-width: 700px) {
  .grille-etudes, .cartes, .resultats, .solutions, .grille-aussi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grille-avis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .murs { columns: 2; }
  .prose .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pied__colonnes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .carrousel { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; }
  .axe { grid-template-columns: 1fr 1fr; }
  .axe__borne { grid-row: 1; }
  .axe__borne--fin { grid-column: 2; text-align: right; }
  .axe__points { grid-column: 1 / -1; grid-row: 2; display: block; height: 260px; margin: 34px 0; padding: 0; border-left: 0; }
  .axe__points::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px solid var(--encre); }
  .axe__points li { position: absolute; left: var(--x); top: calc(50% + 24px); width: 150px; transform: translateX(-50%); text-align: center; }
  .axe__points li:nth-child(even) { top: auto; bottom: calc(50% + 24px); }
  .axe__points li::before { left: 50%; top: -31px; transform: translateX(-50%); }
  .axe__points li:nth-child(even)::before { top: auto; bottom: -33px; }
  .axe__points li.nous::before { left: 50%; top: -34px; }
  .categorie { grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 40px; }
  .frigo-bloc { grid-template-columns: auto minmax(0, 1fr); gap: 80px; }
}
@media (min-width: 1000px) {
  .nav { display: flex; }
  .menu { display: none; }
  .fonction { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; justify-items: stretch; }
  .fonction .tel, .fonction .trio { justify-self: center; }
  .fonction:nth-child(even) .mots { order: 2; }
  .tel { width: 300px; }
  .grille-etudes, .cartes, .grille-aussi { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grille-avis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .resultats { grid-template-columns: 1.2fr 1fr 1fr; }
  .murs { columns: 3; }
  .pied__haut { grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); }
}

/* « clip » plutôt que « hidden » : une boîte en hidden devient un conteneur de défilement, et les
   animations liées au défilement (view()) de ce qu'elle contient ne bougent plus */
.plan, .sequence__plan, .ouverture, .final { overflow: clip; }
