@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("/polices/jetbrains-mono.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/polices/instrument-sans.woff2") format("woff2"); }
:root {
  --fond: #EFEFEC;
  --carte: #FFFFFF;
  --encre: #121315;
  --discret: #5E5E58;
  --trait: #C9C9C3;
  --accent: #FF5B1F;
  --sur-accent: #121315;
  --bandeau: #121315;
  --sur-bandeau: #F2F1EC;
  --sur-bandeau-doux: #9A9A93;
  --fond-doux: #E2E2DF;
  --encre-douce: #353637;
  --controle: #818181;
  --trait-bandeau: #3F3F40;
  --police-titre: "JetBrains Mono", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --police-texte: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --titre-graisse: 800;
  --titre-largeur: 100%;
  --rayon: 12px;
  color-scheme: light;
}
/* La vitrine de l'usine, reprise du site d'Examen VTC (refonte du 28/10) : fond clair, encre presque noire, filets et
   alignements plutôt que cartes ; le bandeau (couleur sombre de l'app) porte l'appel à l'app et le pied de page ;
   l'accent est réservé à l'action principale. Les couleurs et polices viennent de docs/design.md (variables en tête,
   écrites par `usine vitrine`). Aucune ressource d'un autre site : la politique de contenu (_headers) l'interdit. */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--fond); color: var(--encre); font-family: var(--police-texte); font-size: 17px; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--police-titre); font-weight: var(--titre-graisse); font-stretch: var(--titre-largeur); letter-spacing: -.015em; line-height: 1.06; }
h1 { font-size: clamp(36px, 5.4vw, 62px); }
h2 { font-size: clamp(27px, 3.3vw, 38px); }
h3 { font-size: 19px; font-stretch: 100%; letter-spacing: 0; line-height: 1.3; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; background: var(--accent); color: var(--sur-accent); font-weight: 700; padding: 10px 14px; border-radius: var(--rayon); }
.skip:focus { left: 16px; }

/* En-tête */
.top { border-bottom: 1px solid var(--trait); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; min-height: 44px; gap: 10px; text-decoration: none; font-family: var(--police-titre); font-weight: var(--titre-graisse); font-stretch: var(--titre-largeur); font-size: 18px; letter-spacing: -.01em; white-space: nowrap; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; flex-wrap: wrap; gap: 2px; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--encre-douce); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 8px; white-space: nowrap; }
.nav a:hover { background: var(--fond-doux); color: var(--encre); }
.nav a[aria-current="page"] { color: var(--encre); font-weight: 700; }
.get { display: inline-flex; align-items: center; min-height: 44px; background: var(--accent); color: var(--sur-accent); text-decoration: none; font-weight: 700; font-size: 14px; padding: 0 16px; border-radius: 999px; white-space: nowrap; }

/* Accueil : ouverture */
.hero { border-bottom: 1px solid var(--trait); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); padding-top: 72px; }
.hero .wrap.avec-ecran { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; padding-top: 64px; }
.hero-text { padding-bottom: 72px; max-width: 46rem; }
.lead { font-size: 20px; line-height: 1.5; color: var(--encre-douce); max-width: 32em; margin: 24px 0 32px; }
.cta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.badge { display: inline-block; border-radius: 9px; }
.badge img { height: 52px; width: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--rayon); font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; text-decoration: none; }
.btn-accent { background: var(--accent); color: var(--sur-accent); }
.btn-ligne { background: transparent; color: var(--encre); box-shadow: inset 0 0 0 1px var(--controle); }
.btn-ligne:hover { box-shadow: inset 0 0 0 1px var(--encre); }
.soon { display: inline-block; border: 1px solid var(--controle); background: var(--carte); color: var(--encre-douce); border-radius: var(--rayon); padding: 10px 16px; font-weight: 700; font-size: 15px; }
.cta-note { margin: 0; font-size: 15px; line-height: 1.45; color: var(--encre-douce); }
.cta-note strong { color: var(--encre); }
.small { font-size: 14.5px; color: var(--discret); margin: 22px 0 0; }
.hero-phone { align-self: end; justify-self: center; width: min(100%, 330px); }
.phone { background: #04070E; border-radius: 46px 46px 0 0; padding: 11px 11px 0; box-shadow: 0 40px 70px -30px rgba(20, 22, 27, .45); }
.phone img { width: 100%; border-radius: 36px 36px 0 0; aspect-ratio: 660 / 1060; object-fit: cover; object-position: top; }

/* Liste d'attente (sans JavaScript : le Worker répond par la page « merci ») */
form.attente { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; width: min(100%, 30rem); }
form.attente label { grid-column: 1 / -1; font-weight: 700; font-size: 15px; }
form.attente input[type="email"] { min-width: 0; min-height: 48px; font: inherit; padding: 0 14px; border-radius: var(--rayon); border: 1px solid var(--controle); background: var(--carte); color: var(--encre); }
form.attente .note { grid-column: 1 / -1; font-size: 14.5px; color: var(--discret); margin: 2px 0 0; }
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Sections */
.section { padding: 88px 0; border-bottom: 1px solid var(--trait); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: end; margin-bottom: 40px; }
.section-head p { color: var(--encre-douce); margin: 0; }
.section-head:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.split { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 56px; }
.split > :first-child p { color: var(--encre-douce); margin-top: 16px; }
.page-head { border-bottom: 1px solid var(--trait); }
.page-head .wrap { padding-top: 8px; padding-bottom: 56px; }
.page-head h1 { margin-top: 28px; font-size: clamp(34px, 4.4vw, 52px); max-width: 17em; }
.page-head .lead { max-width: 40em; margin-bottom: 0; }
.page-head .updated { margin: 20px 0 0; }
.updated { font-size: 14px; color: var(--discret); }
.crumbs { font-size: 14px; color: var(--discret); padding-top: 8px; }
.crumbs a { display: inline-block; padding: 12px 0; color: var(--encre-douce); }
.crumbs span[aria-hidden] { margin: 0 8px; }

/* Écrans de l'app */
.screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.shot { background: #04070E; border-radius: 30px; padding: 9px; }
.shot img { border-radius: 22px; aspect-ratio: 660 / 1350; object-fit: cover; object-position: top; width: 100%; }
.screens h3 { margin: 18px 0 4px; }
.screens p { color: var(--encre-douce); font-size: 15.5px; margin: 0; }

/* Gratuit / Premium */
.offer { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--encre); border-radius: calc(var(--rayon) + 8px); overflow: hidden; background: var(--carte); }
.offer > div { padding: 30px; }
.offer .premium { background: var(--bandeau); color: var(--sur-bandeau); }
.offer h3 { font-family: var(--police-titre); font-size: 21px; font-stretch: var(--titre-largeur); }
.price { font-family: var(--police-titre); font-weight: var(--titre-graisse); font-size: 44px; line-height: 1; margin: 14px 0 4px; font-variant-numeric: tabular-nums; }
.price small { font-size: 17px; font-weight: 600; }
.price-note { font-size: 14.5px; color: var(--discret); margin: 0; }
.premium .price-note { color: var(--sur-bandeau-doux); }
.offer ul { list-style: none; padding: 0; margin: 22px 0 0; }
.offer li { padding: 11px 0; border-top: 1px solid var(--trait); }
.premium li { border-top-color: var(--trait-bandeau); }

/* Liens vers les pages (guides, outils) */
.tools { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--encre); }
.tools a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--trait); text-decoration: none; }
.tools b { font-family: var(--police-titre); font-size: 23px; font-weight: var(--titre-graisse); font-stretch: var(--titre-largeur); letter-spacing: -.01em; line-height: 1.15; }
.tools span { grid-column: 1; color: var(--encre-douce); font-size: 15.5px; }
.tools .arrow { grid-column: 2; grid-row: 1 / span 2; font-size: 26px; color: var(--encre); transition: transform .15s; }
.tools a:hover b { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--accent); }
.tools a:hover .arrow { transform: translateX(4px); }

/* Questions fréquentes */
.faq { border-top: 2px solid var(--encre); }
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font-weight: 700; font-size: 18px; line-height: 1.35; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid; border-bottom: 2px solid; transform: translateY(-75%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p { color: var(--encre-douce); padding: 0 44px 22px 0; margin: 0; }
.contact { margin-top: 24px; padding: 18px 20px; background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rayon); font-size: 15.5px; }

/* Textes (pages légales, guides) */
.prose { max-width: 42em; }
.prose p, .prose li { color: var(--encre-douce); }
.prose a { color: var(--encre); }
.prose strong { color: var(--encre); }
.prose h2 { font-size: 26px; margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 8px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose .meta { font-size: 14px; color: var(--discret); }
.prose .lead { font-size: 19px; margin: 0 0 20px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 15.5px; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--trait); vertical-align: top; }
.prose thead th { border-bottom: 2px solid var(--encre); }
.legal .card { border-top: 2px solid var(--encre); border-bottom: 1px solid var(--trait); padding: 20px 0 8px; margin: 28px 0 40px; }
.legal .card h2 { margin-top: 0; font-size: 22px; }
.petit { font-size: 14.5px; color: var(--discret); }

/* Bandeau de l'app */
.app-band { background: var(--bandeau); color: var(--sur-bandeau); overflow: hidden; }
.app-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr); padding-top: 64px; }
.app-band .wrap.avec-ecran { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: end; }
.app-band .text { padding-bottom: 64px; }
.app-band p { color: var(--sur-bandeau-doux); font-size: 18px; margin: 16px 0 26px; max-width: 30em; }
.app-band .phone { box-shadow: none; background: var(--trait-bandeau); }
.app-band .hero-phone { width: min(100%, 300px); }
.app-band .soon { background: transparent; border-color: var(--trait-bandeau); color: var(--sur-bandeau); }
.app-band form.attente label, .app-band form.attente .note { color: var(--sur-bandeau-doux); }
.app-band a { color: var(--sur-bandeau); }

/* Pied de page */
.foot { background: var(--bandeau); color: var(--sur-bandeau-doux); padding: 60px 0 36px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 32px; }
.foot .brand { color: var(--sur-bandeau); margin-bottom: 12px; }
.foot-title { font-size: 14px; font-weight: 700; color: var(--sur-bandeau); margin: 0 0 4px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin: 0; line-height: 1.35; }
.foot a { display: inline-block; padding: 12px 0; color: var(--sur-bandeau-doux); text-decoration: none; }
.foot a.brand { display: flex; padding: 0; }
.foot a:hover { color: var(--sur-bandeau); text-decoration: underline; }
.foot-legal { border-top: 1px solid var(--trait-bandeau); margin-top: 44px; padding-top: 20px; font-size: 14px; }
.foot :focus-visible, .app-band :focus-visible, .offer .premium :focus-visible { outline-color: var(--sur-bandeau); }

@keyframes fondu-ecrans { 0%, 90% { opacity: 1; } 100% { opacity: 0; } }
@media (max-width: 860px) {
  .get { display: none; }
  .hero .wrap, .hero .wrap.avec-ecran { grid-template-columns: minmax(0, 1fr); padding-top: 40px; gap: 8px; }
  .hero-text { padding-bottom: 40px; }
  .hero-phone { width: min(100%, 270px); }
  .phone { border-radius: 40px 40px 0 0; padding: 9px 9px 0; }
  .phone img { border-radius: 32px 32px 0 0; aspect-ratio: 660 / 820; }
  .section { padding: 64px 0; }
  .section-head, .split { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .page-head .wrap { padding-bottom: 40px; }
  .screens { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin: 0 -24px; padding: 0 24px 8px; scroll-padding-inline: 24px; scrollbar-width: none; }
  .screens li { flex: 0 0 68%; scroll-snap-align: start; }
  /* L'indice qu'on peut faire défiler (la 2e carte dépasse déjà) : un fondu sur le bord droit, collé au bord visible, qui
     s'efface en fin de course (là où la fenêtre sait lier l'animation au défilement) ; la politique de contenu interdit tout script. */
  .screens { scroll-timeline: --ecrans inline; }
  /* Sans animation liée au défilement (Firefox, iOS avant 26), le fondu ne s'efface pas : il se range après la dernière
     carte (sans marge négative), au bout de la course il ne couvre que le fond. */
  .screens::after { content: ""; flex: 0 0 36px; position: sticky; right: -24px; align-self: stretch; pointer-events: none; background: linear-gradient(to right, transparent, var(--fond)); }
  @supports (animation-timeline: --ecrans) {
    .screens::after { margin-left: -52px; animation: fondu-ecrans linear both; animation-timeline: --ecrans; }
  }
  .offer { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .app-band .wrap.avec-ecran { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .app-band .text { padding-bottom: 8px; }
  .app-band .hero-phone { width: min(100%, 250px); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  body { font-size: 16.5px; }
  .lead { font-size: 18px; }
  .screens { margin: 0 -16px; padding: 0 16px 8px; scroll-padding-inline: 16px; }
  .screens::after { right: -16px; }
  .screens li { flex-basis: 74%; }
  .tools b { font-size: 21px; }
  .offer > div { padding: 24px 20px; }
  .brand { font-size: 16px; gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .nav a { font-size: 14px; padding: 8px 6px; }
  .top .wrap { gap: 8px; min-height: 58px; }
  form.attente { grid-template-columns: minmax(0, 1fr); }
  .faq summary { font-size: 17px; }
}
@media (max-width: 360px) { .top .brand span { display: none; } }
