@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/inter-latin.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 500 900; font-display: swap; src: url("/assets/fonts/schibsted-grotesk-latin.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/instrument-serif-italic-latin.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/caveat-latin.woff2") format("woff2"); }
/* Layout : alternance de bandes sombres (encre marine) et claires (papier), colonne de 1200 px.
   Motif du sujet : la réglure Seyès du cahier d'écolier (lignes + marge rouge), en filigrane des bandes sombres.
   Charte unique assumée (pas de bascule claire/sombre) : toutes les couleurs sont posées explicitement. */
:root {
  color-scheme: light;
  --ink-0: #070F2B;
  --ink-1: #0B1740;
  --ink-2: #13235A;
  --navy: #1E3A8A;
  --blue: #3B7BEA;
  --sky: #9DB8FF;
  --gold: #E8AB24;
  --gold-soft: #FFE3A3;
  --red-ink: #E46A6A;
  --text: #1A2340;
  --body: #46506B;
  --muted: #6B7591;
  --paper: #FFFFFF;
  --mist: #F3F5FA;
  --line: #E1E6F0;
  --ok: #1D7A46;
  --f-display: "Schibsted Grotesk", "Inter", "Segoe UI", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --f-text: "Inter", "Segoe UI", system-ui, sans-serif;
  --r: 4px;
  --r-lg: 4px;
  --shadow-1: 0 1px 2px rgba(7, 15, 43, .06), 0 8px 24px -10px rgba(7, 15, 43, .18);
  --shadow-2: 0 2px 4px rgba(7, 15, 43, .08), 0 40px 80px -30px rgba(7, 15, 43, .45);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--body); font: 16px/1.6 var(--f-text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--text); margin: 0; text-wrap: balance; letter-spacing: -.02em; }
p { margin: 0; }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
section { padding-block: 112px; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12.5px var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); }
.head { display: grid; gap: 16px; max-width: 780px; margin-bottom: 56px; }
.head h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.04; font-weight: 800; }
.head h2 .serif { font-size: 1.08em; color: var(--navy); }
.lead { font-size: 18px; max-width: 62ch; }
.center { text-align: center; margin-inline: auto; justify-items: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font: 600 15px/1 var(--f-text); padding: 15px 22px; border-radius: var(--r); border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: transform .18s ease, background-color .18s, box-shadow .18s, border-color .18s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; transition: transform .18s; }
.btn:hover svg { transform: translateX(3px); }
.btn-gold { background: var(--gold); color: #1B1300; }
.btn-gold:hover { background: #F2B735; transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #18307A; transform: translateY(-1px); }
.btn-line { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .22); }
.btn-line:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
:focus-visible { outline: 3px solid rgba(59, 123, 234, .55); outline-offset: 3px; }

/* Bandes sombres : encre + réglure de cahier */
.dark { background: var(--ink-1); color: #C3CCE6; overflow: hidden; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: var(--sky); }
.dark .head h2 .serif { color: var(--gold-soft); }
.ruled { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(90deg, transparent 0 calc(6% - 1px), rgba(228, 106, 106, .28) calc(6% - 1px) 6%, transparent 6%),
  repeating-linear-gradient(180deg, transparent 0 39px, rgba(157, 184, 255, .07) 39px 40px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%); }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }

/* Fenêtre d'application */
.frame { border-radius: 4px; overflow: hidden; background: #fff; box-shadow: var(--shadow-2); border: 1px solid rgba(255, 255, 255, .5); }
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F7F8FB; border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #DCE1EB; }
.frame-bar span { margin-left: 12px; font: 500 12px var(--f-text); color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 3px 14px; display: inline-flex; gap: 6px; align-items: center; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.frame-bar span svg { width: 11px; height: 11px; color: var(--ok); flex: none; }
.card-shot { border-radius: 4px; overflow: hidden; background: #fff; box-shadow: var(--shadow-2); border: 1px solid var(--line); }

/* En-tête : toujours blanc */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 30; padding-top: env(safe-area-inset-top, 0px); background: #fff; border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 17px/1 var(--f-display); letter-spacing: .16em; color: var(--navy); }
.brand img { width: 34px; }
.nav { display: flex; gap: 30px; }
.nav a { color: var(--body); text-decoration: none; font: 500 15px var(--f-text); position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--gold); transition: right .2s; }
.nav a:hover { color: var(--navy); }
.nav a:hover::after { right: 0; }
.actions { display: flex; align-items: center; gap: 10px; position: relative; }
.actions .btn { padding: 11px 16px; font-size: 14px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--navy); border-radius: var(--r); padding: 8px; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; display: block; }
.login-pop { position: absolute; right: 0; top: calc(100% + 12px); width: 340px; max-width: calc(100vw - 40px); background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-1); padding: 18px; display: grid; gap: 10px; color: var(--body); }
.login-pop label { font: 600 13px var(--f-text); color: var(--text); }
.code-field { display: flex; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.code-field:focus-within { border-color: var(--navy); }
.code-field input { flex: 1; min-width: 0; border: 0; padding: 11px; font: 500 15px var(--f-text); color: var(--text); outline: none; }
.code-field span { padding: 11px; background: var(--mist); color: var(--muted); font-size: 13px; white-space: nowrap; }
.login-pop small { font-size: 12.5px; color: var(--muted); }

/* Hero : page de cahier claire, texte à gauche, empilement 3D de vraies captures à droite */
.hero { --rule-y: 0px; position: relative; padding-block: 150px 96px; overflow: hidden; background:
  repeating-linear-gradient(180deg, transparent 0 37px, rgba(59, 123, 234, .2) 37px 38px, transparent 38px 48px) 0 var(--rule-y) / 100% 48px,
  radial-gradient(60% 60% at 85% 35%, rgba(59, 123, 234, .10), transparent 70%),
  linear-gradient(180deg, #F8FAFE 0%, #FFFFFF 100%); }
/* Double marge rouge du cahier, sur toute la hauteur, juste à gauche du texte. */
.hero::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(max(0px, (100% - 1200px) / 2) + 2px); width: 6px; border-left: 1px solid rgba(228, 106, 106, .55); border-right: 1px solid rgba(228, 106, 106, .35); pointer-events: none; }
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.badge { display: inline-flex; align-items: center; gap: 10px; font: 500 13.5px var(--f-text); color: #6B4A05; background: #FFF6DE; border: 1px solid #F1D48A; padding: 6px 12px 6px 6px; border-radius: var(--r); }
.badge b { font-weight: 700; color: #1B1300; background: var(--gold); border-radius: var(--r); padding: 2px 8px; font-size: 12px; }
.hero h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.04; font-weight: 900; letter-spacing: -.03em; color: var(--ink-1); }
.hero h1 .serif { color: var(--navy); font-size: 1.1em; background: linear-gradient(transparent 70%, rgba(232, 171, 36, .5) 70% 90%, transparent 90%); padding: 0 .06em; }
/* Le texte d'accroche est écrit à la main sur les lignes du cahier du fond (voir le calage dans le script). */
.notebook { width: 100%; max-width: 640px; margin: 0; font: 400 34px/48px "Caveat", "Segoe Print", cursive; color: #1F3FA8; }
.notebook .bl { display: inline-block; width: 0; height: 0; vertical-align: baseline; }
.notebook mark { background: none; color: #B4341F; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.proof span { display: inline-flex; align-items: center; gap: 8px; }
.proof svg { width: 16px; height: 16px; color: var(--ok); }

.iso { position: relative; height: 560px; perspective: 2400px; }
.stack { position: absolute; left: 50%; top: 46%; width: 470px; height: 300px; transform-style: preserve-3d; transform: translate(-50%, -50%) rotateX(54deg) rotateZ(-36deg); animation: hover-float 8s ease-in-out infinite; }
@keyframes hover-float { 50% { transform: translate(-50%, calc(-50% - 12px)) rotateX(54deg) rotateZ(-36deg); } }
.layer { position: absolute; inset: 0; border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid #CFD7E8; transform: translateZ(calc(var(--z) * 58px)); transition: transform 1.1s cubic-bezier(.2, .7, .2, 1), opacity .7s ease; box-shadow: 0 1px 0 rgba(7, 15, 43, .05), -18px 26px 30px -16px rgba(7, 15, 43, .28); }
.layer img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.layer.lift { transform: translateZ(calc(var(--z) * 58px + 140px)) translateX(40px); opacity: 0; }
.layer.drop { transition: none; opacity: 0; }
.layer span { position: absolute; left: 10px; top: 10px; font: 600 11.5px var(--f-text); background: var(--ink-1); color: #fff; padding: 3px 8px; border-radius: var(--r); }
.phone { position: absolute; right: 2%; bottom: 0; width: 196px; aspect-ratio: 9 / 19.2; border-radius: 30px; background: #0B1228; padding: 8px; box-shadow: -20px 30px 40px -18px rgba(7, 15, 43, .45); animation: hover-float-phone 8s ease-in-out infinite; animation-delay: -4s; z-index: 2; }
.phone::before { content: ""; position: absolute; left: 50%; top: 13px; width: 56px; height: 16px; margin-left: -28px; border-radius: 4px; background: #0B1228; z-index: 2; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 23px; }
@keyframes hover-float-phone { 50% { transform: translateY(-10px); } }

/* Bande de repères */
.facts-band { padding-block: 0; }
.facts { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 36px 24px; display: grid; gap: 6px; border-right: 1px solid rgba(255, 255, 255, .1); }
.fact:last-child { border-right: 0; }
.fact strong { font: 800 clamp(30px, 3.4vw, 44px)/1 var(--f-display); color: #fff; letter-spacing: -.02em; }
.fact strong em { font-style: normal; color: var(--gold); }
.fact span { font-size: 14.5px; color: #9AA6C8; }

/* Problèmes : cahier corrigé */
.fixes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.fix { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; transition: transform .25s, box-shadow .25s; }
.fix:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); }
.fix .before { position: relative; padding: 22px 26px 20px 46px; background:
  linear-gradient(90deg, transparent 0 28px, rgba(228, 106, 106, .5) 28px 29px, transparent 29px),
  repeating-linear-gradient(180deg, #FBFBFD 0 23px, #EDF0F7 23px 24px); }
.fix .before small { font: 700 11.5px var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: #B4473F; }
.fix .before p { color: #6B7591; font-size: 15px; margin-top: 4px; text-decoration: line-through; text-decoration-color: rgba(228, 106, 106, .7); text-decoration-thickness: 2px; }
.fix .after { padding: 22px 26px 26px; display: grid; gap: 8px; }
.fix .after h3 { font-size: 21px; display: flex; gap: 10px; align-items: flex-start; }
.fix .after h3 svg { width: 24px; height: 24px; flex: none; color: #fff; background: var(--navy); border-radius: 50%; padding: 5px; margin-top: 1px; }
.fix .after p { font-size: 15.5px; }

/* Fonctionnalités : mosaïque */
.features { background: var(--mist); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(180px, auto); gap: 18px; }
.tile { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 28px; overflow: hidden; display: flex; flex-direction: column; gap: 10px; transition: transform .25s, box-shadow .25s, border-color .25s; min-width: 0; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); border-color: #CBD4E6; }
.tile .ic { width: 42px; height: 42px; border-radius: 4px; display: grid; place-items: center; background: #EAF0FD; color: var(--navy); flex: none; }
.tile .ic svg { width: 21px; height: 21px; }
.tile h3 { font-size: 22px; line-height: 1.15; }
.tile p { font-size: 15px; max-width: 46ch; }
.tile .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tile .tags span { font-size: 12.5px; padding: 3px 10px; border-radius: 4px; background: var(--mist); color: var(--navy); font-weight: 500; }
.tile .peek { margin-top: auto; padding-top: 18px; margin-right: -28px; margin-bottom: -28px; }
.tile .peek img { border-radius: 4px 0 0 0; border: 1px solid var(--line); border-right: 0; border-bottom: 0; box-shadow: -10px -10px 40px -20px rgba(7, 15, 43, .25); transition: transform .4s ease; }
.tile:hover .peek img { transform: translate(-6px, -6px); }
.t-fin { grid-column: span 4; grid-row: span 2; }
.t-eval { grid-column: span 2; grid-row: span 2; }
.t-vie { grid-column: span 3; grid-row: span 2; }
.t-edt { grid-column: span 3; grid-row: span 2; }
.t-sm { grid-column: span 2; }
.t-dark { background: var(--ink-1); border-color: var(--ink-1); color: #C3CCE6; }
.t-dark h3 { color: #fff; }
.t-dark .ic { background: rgba(232, 171, 36, .15); color: var(--gold); }
.t-dark .tags span { background: rgba(255, 255, 255, .08); color: #DCE3F6; }

/* Espaces */
.spaces .head { margin-bottom: 40px; }
.seg-tabs { position: relative; display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 4px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); margin-bottom: 44px; }
.seg-tab { position: relative; z-index: 1; font: 600 15px var(--f-text); color: #C3CCE6; background: none; border: 0; padding: 11px 20px; border-radius: 4px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: color .2s; }
.seg-tab svg { width: 17px; height: 17px; }
.seg-tab[aria-selected="true"] { color: var(--ink-1); }
.seg-pill { position: absolute; z-index: 0; top: 5px; height: calc(100% - 10px); border-radius: 4px; background: #fff; transition: left .35s cubic-bezier(.3, .8, .3, 1), width .35s cubic-bezier(.3, .8, .3, 1); }
.space-panel { display: grid; grid-template-columns: .9fr 1.4fr; gap: 56px; align-items: center; }
.space-panel > * { min-width: 0; }
.space-copy { display: grid; gap: 20px; }
.space-copy h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.1; }
.space-copy > p { font-size: 17px; }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15.5px; }
.list li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: rgba(157, 184, 255, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8AB24' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 8'/%3E%3C/svg%3E") center/12px no-repeat; }
.space-copy .list li { color: #DCE3F6; }
.note { justify-self: start; font-size: 13px; color: var(--gold-soft); border: 1px solid rgba(232, 171, 36, .4); border-radius: 4px; padding: 5px 12px; }
.space-shot { perspective: 1800px; }
.space-shot .frame { transform: rotateY(-8deg) rotateX(3deg); transition: transform .6s ease; border-color: rgba(255, 255, 255, .15); }
.space-shot:hover .frame { transform: rotateY(-2deg) rotateX(1deg); }
.space-phone { display: grid; justify-items: center; gap: 16px; }
.space-phone .phone { position: relative; right: auto; bottom: auto; width: min(300px, 78vw); animation: none; box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .7); border: 1px solid rgba(255, 255, 255, .15); }
.phone-cap { font-size: 13.5px; color: #9AA6C8; text-align: center; }
.swap { animation: swap .45s ease; }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } }

/* Documents */
.docs { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.docs > * { min-width: 0; }
.doc-list { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 8px; }
.doc-row { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.doc-row svg { width: 22px; height: 22px; color: var(--navy); margin-top: 2px; }
.doc-row strong { font: 700 17px var(--f-display); color: var(--text); display: block; }
.doc-row span { font-size: 14.5px; color: var(--muted); }
.fan { position: relative; height: 560px; }
.fan .card-shot { position: absolute; transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; }
.fan .d1 { width: 64%; left: 0; top: 30px; transform: rotate(-5deg); z-index: 1; }
.fan .d2 { width: 62%; right: 0; top: 0; transform: rotate(4deg); z-index: 2; }
.fan .d3 { width: 58%; left: 22%; bottom: 0; transform: rotate(-1deg); z-index: 3; }
.fan:hover .d1 { transform: rotate(-8deg) translate(-16px, 6px); }
.fan:hover .d2 { transform: rotate(7deg) translate(16px, -8px); }
.fan:hover .d3 { transform: rotate(0) translateY(8px); }
.mini-doc { --p: #1E3A8A; --a: #E8AB24; font-size: 12.5px; }
.mini-doc header { background: var(--p); color: #fff; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; transition: background-color .35s; }
.mini-doc header strong { font: 700 15px var(--f-display); }
.mini-doc header small { display: block; opacity: .85; }
.mini-doc .crest { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: grid; place-items: center; font: 700 13px var(--f-display); flex: none; }
.mini-doc .rule { height: 4px; background: var(--a); transition: background-color .35s; }
.mini-doc .body { padding: 12px 16px 16px; display: grid; gap: 8px; }
.mini-doc table { width: 100%; border-collapse: collapse; }
.mini-doc th { text-align: left; font-size: 11px; color: var(--muted); font-weight: 600; padding: 5px 3px; border-bottom: 2px solid var(--p); transition: border-color .35s; }
.mini-doc td { padding: 5px 3px; border-bottom: 1px solid var(--line); color: var(--text); font-variant-numeric: tabular-nums; }
.mini-doc .n { text-align: right; }
.mini-doc .avg { display: flex; justify-content: space-between; align-items: center; border-left: 4px solid var(--a); background: #F5F7FC; padding: 8px 10px; font-weight: 600; color: var(--text); transition: border-color .35s; }
.mini-doc .avg b { font: 800 16px var(--f-display); color: var(--p); transition: color .35s; }
.swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; }
.swatches > span { font-size: 14px; color: var(--muted); }
.sw { width: 36px; height: 36px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; position: relative; overflow: hidden; transition: transform .15s; }
.sw:hover { transform: scale(1.08); }
.sw::after { content: ""; position: absolute; right: 0; bottom: 0; width: 50%; height: 50%; background: var(--a); }
.sw[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--text); }
.lab-note { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* Pilotage annoté */
.pilot { background: var(--mist); }
.annot { position: relative; }
.pin { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: var(--gold); color: #1B1300; font: 800 15px var(--f-display); display: grid; place-items: center; border: 3px solid #fff; box-shadow: 0 6px 16px rgba(7, 15, 43, .35); cursor: pointer; z-index: 2; }
.pin::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid var(--gold); animation: ping 2.4s ease-out infinite; }
.pin[aria-pressed="true"] { background: var(--navy); color: #fff; }
.pin[aria-pressed="true"]::before { border-color: var(--navy); }
@keyframes ping { 0% { transform: scale(.7); opacity: .9; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
.callouts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.callout { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 6px; align-content: start; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; text-align: left; font: inherit; color: inherit; }
.callout:hover { transform: translateY(-2px); }
.callout[aria-pressed="true"] { border-color: var(--navy); box-shadow: var(--shadow-1); }
.callout b { width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: #1B1300; display: grid; place-items: center; font: 800 13px var(--f-display); }
.callout[aria-pressed="true"] b { background: var(--navy); color: #fff; }
.callout h3 { font-size: 17px; }
.callout p { font-size: 14.5px; }
.views { display: flex; flex-wrap: wrap; gap: 6px; }
.views span { font-size: 12px; padding: 2px 9px; border-radius: var(--r); background: var(--mist); color: var(--navy); font-weight: 600; }

/* Avantages */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.adv { position: relative; border-radius: 4px; padding: 30px; background: #fff; border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; transition: transform .25s, box-shadow .25s; isolation: isolate; }
.adv::before { content: ""; position: absolute; inset: -1px; border-radius: 4px; padding: 1px; background: linear-gradient(135deg, var(--gold), var(--blue)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .25s; z-index: -1; }
.adv:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); }
.adv:hover::before { opacity: 1; }
.adv .ic { width: 46px; height: 46px; border-radius: 4px; display: grid; place-items: center; background: #EAF0FD; color: var(--navy); }
.adv .ic svg { width: 23px; height: 23px; }
.adv h3 { font-size: 20px; }
.adv p { font-size: 15px; }
.adv.lead-card { grid-row: span 2; background: radial-gradient(120% 90% at 100% 0%, var(--ink-2), var(--ink-1)); border-color: var(--ink-1); color: #C3CCE6; overflow: hidden; }
.adv.lead-card h3 { color: #fff; font-size: 28px; line-height: 1.15; }
.adv.lead-card .ic { background: rgba(232, 171, 36, .15); color: var(--gold); }
.adv.lead-card .peek { margin: 14px -30px -30px 0; }
.adv.lead-card .peek img { border-radius: 4px 0 0 0; border: 1px solid rgba(255, 255, 255, .2); }

/* Tarifs */
.pricing { background: linear-gradient(180deg, #fff 0%, var(--mist) 100%); }
.toggles { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 28px; align-items: center; margin-bottom: 40px; }
.seg { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 4px; box-shadow: var(--shadow-1); }
.seg button { font: 600 14.5px var(--f-text); border: 0; background: none; color: var(--body); padding: 10px 18px; border-radius: 4px; cursor: pointer; transition: background-color .2s, color .2s; }
.seg button[aria-pressed="true"] { background: var(--ink-1); color: #fff; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 980px; margin: 0 auto; }
.plans.single { grid-template-columns: minmax(0, 520px); justify-content: center; }
.plan { position: relative; border-radius: 4px; padding: 36px; display: grid; gap: 22px; align-content: start; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.plan.star { background: radial-gradient(120% 80% at 100% 0%, var(--ink-2), var(--ink-1) 60%); border-color: var(--ink-1); color: #C3CCE6; box-shadow: var(--shadow-2); }
.plan.star h3 { color: #fff; }
.plan .tag { position: absolute; top: -13px; left: 34px; font: 700 12px var(--f-text); color: #1B1300; background: var(--gold); padding: 5px 12px; border-radius: 4px; letter-spacing: .02em; }
.plan h3 { font-size: 24px; }
.plan .sub { font-size: 14.5px; margin-top: 6px; }
.price { display: grid; gap: 6px; padding-block: 4px 2px; }
.price .launch { justify-self: start; font: 700 12px var(--f-text); color: #8A5C00; background: #FFF4D6; padding: 4px 10px; border-radius: 4px; }
.plan.star .price .launch { color: #1B1300; background: var(--gold-soft); }
.price .now { font: 900 clamp(34px, 4.4vw, 48px)/1 var(--f-display); color: var(--text); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.plan.star .price .now { color: #fff; }
.price .now small { font: 600 15px var(--f-text); color: var(--muted); letter-spacing: 0; display: block; margin-top: 6px; line-height: 1.3; }
.plan.star .price .now small { color: #9AA6C8; }
.price .was { font-size: 14px; color: var(--muted); }
.plan.star .price .was { color: #9AA6C8; }
.plan .list li { color: var(--body); font-size: 15px; }
.plan .list li::before { background-color: #EAF0FD; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E3A8A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 8'/%3E%3C/svg%3E"); }
.plan.star .list li { color: #DCE3F6; }
.plan.star .list li::before { background-color: rgba(157, 184, 255, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8AB24' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 8'/%3E%3C/svg%3E"); }
.plan .after { font-size: 14px; border-top: 1px dashed var(--line); padding-top: 16px; }
.plan .btn { width: 100%; }
.launch-band { max-width: 980px; margin: 28px auto 0; display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 24px 28px; border-radius: 4px; background: #FFF8E6; border: 1px solid #F3D88E; }
.launch-band .ic { width: 48px; height: 48px; border-radius: 4px; background: var(--gold); color: #1B1300; display: grid; place-items: center; }
.launch-band .ic svg { width: 24px; height: 24px; }
.launch-band h3 { font-size: 19px; }
.launch-band p { font-size: 14.5px; color: #5F4A12; }
.fine { max-width: 980px; margin: 22px auto 0; display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: center; font-size: 13.5px; color: var(--muted); }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 72px; }
.faq > * { min-width: 0; }
.faq .head { position: sticky; top: 110px; align-self: start; }
.phone-card { margin-top: 10px; padding: 20px; border-radius: var(--r-lg); background: var(--mist); display: grid; gap: 6px; font-size: 14.5px; }
.phone-card b { font: 700 18px var(--f-display); color: var(--text); user-select: all; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 22px 4px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font: 600 18px var(--f-display); color: var(--text); transition: color .2s; }
summary:hover { color: var(--navy); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E3A8A' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .25s, background-color .25s; }
details[open] summary::after { transform: rotate(45deg); background-color: #EAF0FD; }
details p { padding: 0 4px 24px; font-size: 16px; max-width: 66ch; }

/* CTA final */
.final { padding-block: 120px; background: radial-gradient(100% 120% at 0% 100%, var(--ink-2), var(--ink-1) 50%, var(--ink-0)); }
.final .glow { width: 520px; height: 520px; background: rgba(59, 123, 234, .3); right: -140px; bottom: -200px; }
.final-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.final-grid > * { min-width: 0; }
.final h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.02; font-weight: 900; }
.final h2 .serif { color: var(--gold); }
.steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 0; counter-reset: s; position: relative; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding-bottom: 22px; position: relative; font-size: 15.5px; }
.steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(232, 171, 36, .5); color: var(--gold); display: grid; place-items: center; font: 800 15px var(--f-display); background: rgba(232, 171, 36, .08); }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 19.5px; top: 42px; bottom: 2px; width: 1px; background: rgba(255, 255, 255, .15); }
.steps b { color: #fff; display: block; font: 700 16px var(--f-display); }
form.demo { background: #fff; border-radius: 4px; padding: 32px; display: grid; gap: 14px; color: var(--body); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
form.demo h3 { font-size: 24px; }
form.demo > p { font-size: 14.5px; margin-top: -6px; }
.field { display: grid; gap: 6px; }
.field label { font: 600 13px var(--f-text); color: var(--text); }
.field input { font: 15px var(--f-text); color: var(--text); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 13px; background: #fff; width: 100%; transition: border-color .15s, box-shadow .15s; }
.field input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(30, 58, 138, .12); outline: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-ok { background: #E7F5EC; color: var(--ok); border-radius: var(--r); padding: 12px; font-size: 14px; font-weight: 600; }
.contact-line { font-size: 13.5px; color: var(--muted); text-align: center; }
.contact-line b { color: var(--text); user-select: all; }

/* Pied de page : gris clair, comme la section Pilotage */
footer.site { background: var(--mist); color: var(--body); padding-block: 72px 36px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.foot-grid h4 { font: 600 12.5px var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--text); margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; }
.foot-grid a { text-decoration: none; color: var(--body); }
.foot-grid a:hover { color: var(--navy); }
.foot-bottom { margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--muted); }


/* Apparition au défilement : état de repos visible, l'animation se joue à l'entrée dans l'écran. */
.reveal.in { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.reveal.in.d1 { animation-delay: .08s; } .reveal.in.d2 { animation-delay: .16s; } .reveal.in.d3 { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

@media (max-width: 1060px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .nav.open { display: grid; position: absolute; left: 0; right: 0; top: 72px; background: #fff; box-shadow: var(--shadow-1); padding: 10px max(20px, env(safe-area-inset-left, 0px)); gap: 0; }
  .nav.open a { color: var(--text); padding: 12px 0; border-bottom: 1px solid var(--line); }
  .space-panel, .docs, .faq, .final-grid, .hero-grid { grid-template-columns: 1fr; }
  .iso { height: 480px; max-width: 640px; width: 100%; margin: 0 auto; }
  .faq .head { position: static; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .t-fin, .t-eval, .t-vie, .t-edt { grid-column: span 2; grid-row: auto; }
  .t-sm { grid-column: span 1; }
  .callouts { grid-template-columns: 1fr 1fr; }
  .adv-grid { grid-template-columns: 1fr 1fr; }
  .adv.lead-card { grid-column: span 2; grid-row: auto; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .space-shot .frame { transform: none; }
}
@media (max-width: 680px) {
  section { padding-block: 76px; }
  .hero { padding-top: 120px; }
  .actions .btn-ghost { display: none; }
  .actions .btn-gold { padding: 10px 12px; }
  .fixes, .adv-grid, .plans, .row2, .foot-grid, .callouts, .bento { grid-template-columns: 1fr; }
  .t-sm, .t-fin, .t-eval, .t-vie, .t-edt, .adv.lead-card { grid-column: auto; }
  .iso { height: 380px; }
  .stack { width: 300px; height: 192px; }
  .iso .phone { width: 128px; right: 0; }
  .notebook { font-size: 27px; line-height: 40px; }
  .hero { padding-block: 120px 64px; }
  .stage { margin-top: 48px; }
  .stage .main { transform: rotateX(8deg); }
  .fan { height: 420px; }
  .launch-band { grid-template-columns: 1fr; text-align: left; }
  .plan { padding: 28px 22px; }
  form.demo { padding: 24px 18px; }
  .seg-tabs { border-radius: 4px; }
  .seg-pill { display: none; }
  .seg-tab[aria-selected="true"] { background: #fff; }
  .pin { width: 28px; height: 28px; margin: -14px 0 0 -14px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .stage .main { transform: none !important; } }

/* Formulaire : champ piège invisible pour les robots, message d'erreur. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-err { background: #FDECEA; color: #A3271B; border-radius: var(--r); padding: 12px; font-size: 14px; font-weight: 600; }
.field input[aria-invalid="true"] { border-color: #C2413A; }

/* Page introuvable (404.html). */
.notfound { min-height: 100vh; display: grid; place-content: center; justify-items: start; gap: 20px; max-width: 640px; margin: 0 auto; padding: 40px max(20px, env(safe-area-inset-left, 0px)); }
.notfound h1 { font-size: clamp(30px, 5vw, 46px); }
