/* AkiliTalent — site public. Palette et polices alignées sur l'application (tokens.css). */

@font-face { font-family: "Sora"; font-weight: 600; font-display: swap; src: url("fonts/sora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 700; font-display: swap; src: url("fonts/sora-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --ink: #1c2333;
  --brand: #1f2a44;
  --brand-2: #2f3d61;
  --accent: #e8a33d;
  --accent-dark: #c9821f;
  --paper: #f7f5f1;
  --surface: #ffffff;
  --line: #d8d3c8;
  --muted: #5d5c55;
  --ok: #2f8f5b;
  --ok-bg: #e7f4ec;
  --warn-bg: #fbf1de;
  --display: "Sora", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 10px;
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--brand); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--display); color: var(--brand); line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h1 { font-weight: 700; font-size: clamp(2.2rem, 5.4vw, 3.7rem); }
h2 { font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-weight: 600; font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink); max-width: 56ch; }
.measure { max-width: 66ch; }
.muted { color: var(--muted); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(32px, 4.5vw, 56px); }
.section--tight { padding-block: clamp(24px, 3vw, 40px); }
.section--rule { border-top: 1px solid var(--line); }
.section__head { max-width: 46rem; margin-bottom: clamp(18px, 2.5vw, 28px); }
.section__head p { margin: 14px 0 0; color: var(--muted); }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 245, 241, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header__bar { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: block; flex: none; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.97rem; padding: 8px 12px; border-radius: 6px; }
.nav a:hover { background: rgba(31, 42, 68, 0.07); color: var(--brand); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.nav__login { margin-left: 8px; border: 1px solid var(--line); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 9px 13px; font: 600 0.95rem var(--body); color: var(--brand); cursor: pointer; }

/* ---------- Boutons ---------- */
.btn { display: inline-block; font: 600 1rem/1 var(--body); padding: 15px 22px; border-radius: 8px; text-decoration: none; border: 2px solid var(--brand); cursor: pointer; transition: background-color .15s, color .15s; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-2); color: #fff; }
.btn--ghost { background: transparent; color: var(--brand); }
.btn--ghost:hover { background: var(--brand); color: #fff; }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--brand); }
.btn--accent:hover { background: #f0b659; border-color: #f0b659; color: var(--brand); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- Accueil : héros ---------- */
.hero { padding-block: clamp(28px, 4vw, 56px) clamp(32px, 4.5vw, 56px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero__note { margin-top: 22px; font-size: 0.95rem; color: var(--muted); }

/* Démonstration : score expliqué */
.demo { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 2px rgba(28, 35, 51, .06), 0 14px 40px -18px rgba(28, 35, 51, .28); overflow: hidden; }
.demo__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--brand); color: #fff; }
.demo__title { font: 600 0.98rem var(--display); }
.demo__fiction { font-size: 0.8rem; color: #c9d0e0; }
.demo__body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.demo__col { padding: 18px 20px 20px; }
.demo__col + .demo__col { border-left: 1px solid var(--line); background: #fbfaf7; }
.demo__label { font: 600 0.82rem var(--body); color: var(--muted); margin: 0 0 10px; }
.crit { display: block; width: 100%; text-align: left; background: none; border: 1px solid transparent; border-radius: 8px; padding: 10px 12px; margin: 0 0 4px -12px; width: calc(100% + 24px); cursor: pointer; font: inherit; color: inherit; }
.crit:hover { background: var(--paper); }
.crit[aria-pressed="true"] { background: var(--warn-bg); border-color: #ecd29b; }
.crit__row { display: flex; justify-content: space-between; gap: 12px; font-weight: 500; font-size: 0.95rem; line-height: 1.35; }
.crit__w { color: var(--muted); font-weight: 400; font-size: 0.85rem; white-space: nowrap; }
.crit__bar { height: 6px; border-radius: 3px; background: #ebe7de; margin-top: 8px; overflow: hidden; }
.crit__fill { display: block; height: 100%; background: var(--brand); border-radius: 3px; transition: width .35s ease; }
.crit__lvl { font-size: 0.82rem; margin-top: 5px; color: var(--muted); }
.evid { list-style: none; margin: 0; padding: 0; }
.evid li { display: flex; gap: 10px; align-items: baseline; padding: 8px 10px; margin: 0 0 4px -10px; border-radius: 6px; font-size: 0.9rem; line-height: 1.4; color: var(--muted); border: 1px solid transparent; }
.evid code { font: 600 0.78rem/1 ui-monospace, "SFMono-Regular", Menlo, monospace; background: #ebe7de; color: var(--brand); padding: 3px 5px; border-radius: 4px; flex: none; }
.evid li.is-on { background: var(--ok-bg); border-color: #b7dcc6; color: var(--ink); }
.evid li.is-on code { background: var(--ok); color: #fff; }
.evid small { display: block; color: var(--muted); font-size: 0.8rem; }
.demo__why { margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 0.88rem; line-height: 1.5; }
.demo__score { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line); background: var(--paper); }
.demo__score strong { font: 700 1.9rem var(--display); color: var(--brand); letter-spacing: -0.02em; }
.demo__score > span { font-size: 0.85rem; color: var(--muted); }

/* ---------- Étapes ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 2px solid var(--brand); }
.steps li { counter-increment: step; padding: 22px 24px 8px 0; position: relative; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(step); font: 700 1rem var(--display); color: var(--accent-dark); display: block; margin-bottom: 10px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 0.97rem; margin: 0 0 14px; }

/* ---------- Deux publics ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.split > div { padding-right: clamp(20px, 4vw, 56px); }
.split > div + div { padding-right: 0; padding-left: clamp(20px, 4vw, 56px); border-left: 1px solid var(--line); }
.split h3 { font-size: 1.45rem; margin-bottom: 12px; }
.split ul, .checks { list-style: none; margin: 18px 0 0; padding: 0; }
.split li, .checks li { position: relative; padding-left: 26px; margin-bottom: 11px; }
.split li::before, .checks li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 10px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg) translateY(-50%); }

/* ---------- Bande sombre ---------- */
.band { background: var(--brand); color: #e8ebf3; }
.band h2, .band h3 { color: #fff; }
.band a { color: var(--accent); }
.band a:hover { color: #f0b659; }
.band a.btn--accent, .band a.btn--accent:hover { color: var(--brand); }
.band .muted { color: #b9c1d6; }
.band__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.ledger li { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.ledger b { display: block; color: #fff; font-weight: 600; margin-bottom: 2px; }
.ledger span { color: #c9d0e0; font-size: 0.97rem; }

/* ---------- Blocs de contenu des pages intérieures ---------- */
.page-head { padding-block: clamp(32px, 4vw, 52px) clamp(16px, 2vw, 24px); }
.page-head h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); margin-bottom: 18px; }
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 72px); padding-block: clamp(20px, 2.6vw, 32px); border-top: 1px solid var(--line); }
.feature h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); }
.feature__aside { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; align-self: start; font-size: 0.95rem; }
.feature__aside h3 { font-size: 0.98rem; margin-bottom: 8px; }
.feature__aside ul { margin: 0; padding-left: 1.1em; }
.feature__aside li { margin-bottom: 5px; }
.stages { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 12px 0 0; padding: 0; }
.stages li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 0.9rem; font-weight: 500; }
.callout { border-left: 4px solid var(--accent); background: var(--warn-bg); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; max-width: 66ch; }
.callout h3 { margin-bottom: 6px; }
.callout p:last-child { margin-bottom: 0; }

/* ---------- Tarifs ---------- */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
.plan { padding: 26px 22px 28px; display: flex; flex-direction: column; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan h3 { font-size: 1.25rem; }
.plan__price { font: 700 1.7rem var(--display); color: var(--brand); margin: 14px 0 2px; letter-spacing: -0.02em; }
.plan__price small { font: 400 0.9rem var(--body); color: var(--muted); letter-spacing: 0; }
.plan__credits { font-weight: 600; margin: 0 0 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 20px; font-size: 0.95rem; color: var(--muted); }
.plan li { margin-bottom: 8px; padding-left: 18px; position: relative; }
.plan li::before { content: "–"; position: absolute; left: 0; color: var(--accent-dark); font-weight: 700; }
.plan .btn { margin-top: auto; text-align: center; }
table.cost { border-collapse: collapse; width: 100%; max-width: 640px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.cost th, table.cost td { padding: 12px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.cost th { font-weight: 500; }
table.cost td { text-align: right; font-weight: 600; white-space: nowrap; }
table.cost tr:last-child th, table.cost tr:last-child td { border-bottom: 0; }
.faq { max-width: 46rem; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 600 1.05rem var(--display); color: var(--brand); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.4rem; line-height: 1; color: var(--accent-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* ---------- Contact ---------- */
.form { display: grid; gap: 18px; max-width: 560px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }
.form input, .form select, .form textarea { font: 400 1rem var(--body); padding: 12px 14px; border: 1px solid #b9b3a4; border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--brand); }
.form__hint { font-size: 0.9rem; color: var(--muted); margin: 0; }
.status { margin: 0; padding: 12px 14px; border-radius: 8px; background: var(--ok-bg); display: none; }
.status.is-on { display: block; }

/* ---------- Texte juridique ---------- */
.prose { max-width: 66ch; }
.prose h2 { font-size: 1.35rem; margin: 2em 0 0.6em; }
.prose ul { padding-left: 1.2em; }
mark.todo { background: #ffd9a0; color: #5a3500; padding: 1px 6px; border-radius: 4px; font-weight: 600; }

/* ---------- Pied de page ---------- */
.site-footer { background: #151c2f; color: #b9c1d6; padding-block: 48px 36px; font-size: 0.95rem; }
.site-footer a { color: #e8ebf3; text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer__grid img { height: 28px; width: auto; filter: brightness(0) invert(1); opacity: .9; margin-bottom: 12px; }
.footer__grid h2 { font: 600 0.95rem var(--body); letter-spacing: 0; color: #fff; margin: 0 0 10px; }
.footer__grid ul { list-style: none; margin: 0; padding: 0; }
.footer__grid li { margin-bottom: 7px; }
.footer__legal { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 0.88rem; }

/* ---------- Adaptation ---------- */
@media (max-width: 1024px) {
  .hero__grid, .band__grid, .feature { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 8px; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan:nth-child(3) { border-left: 0; }
  .plan:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 18px; gap: 0; }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; font-weight: 600; color: var(--accent-dark); }
  .nav__login { margin: 12px 0 0; text-align: center; border-radius: 8px !important; }
  .demo__body { grid-template-columns: 1fr; }
  .demo__col + .demo__col { border-left: 0; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 20px 0 6px; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line); }
  .split { grid-template-columns: 1fr; }
  .split > div, .split > div + div { padding: 0; border-left: 0; }
  .split > div + div { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--line); }
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .crit__fill, .btn { transition: none; }
}

/* utilitaires (aucun style en ligne : CSP style-src 'self') */
.mt-8{margin:8px 0 0}.mt-10{margin:10px 0 0}.mt-14{margin-top:14px}.mt-2em{margin-top:2em}.m-0{margin:0}
.pt-lg{padding-top:clamp(24px,3vw,40px)}
.pb-xl{padding-bottom:clamp(32px,4.5vw,56px)}
.spacer-xl{height:clamp(32px,4.5vw,56px)}
.lead--dark{color:#e8ebf3}
.crit__fill{width:0}
/* liste de négations : croix à la place de la coche */
.nots li::before { content: "\00d7"; border: 0; transform: none; width: auto; height: auto; top: -0.12em; left: 2px; font-size: 1.35em; line-height: 1.2; color: var(--muted, #5b6478); }

/* ---- Schéma d'accueil ---- */
.schema { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(18px, 3vw, 28px); box-shadow: 0 1px 2px rgba(28, 35, 51, .06), 0 14px 40px -18px rgba(28, 35, 51, .28); }
.schema__row { display: grid; gap: 12px; }
.schema__row--2 { grid-template-columns: 1fr 1fr; }
.schema__box { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; background: var(--paper); }
.schema__box b { display: block; font: 600 1rem var(--display); color: var(--brand); margin-bottom: 4px; }
.schema__box span { display: block; font-size: 0.9rem; color: var(--muted); line-height: 1.4; }
.schema__box--core { background: var(--brand); border-color: var(--brand); }
.schema__box--core b { color: #fff; }
.schema__box--core span { color: #cfd5e4; }
.schema__box--end { background: var(--ok-bg); border-color: #b9dcc7; }
.schema__link { display: grid; gap: 12px; margin: 0; padding: 22px 0 12px; position: relative; text-align: center; font-size: 0.82rem; color: var(--muted); }
.schema__link--2 { grid-template-columns: 1fr 1fr; }
.schema__link::before { content: "\2193"; position: absolute; top: 0; left: 50%; transform: translateX(-50%); font: 700 1.1rem var(--display); color: var(--accent-dark); }
.schema__link--2::before { content: none; }
.schema__link--2 span { position: relative; padding-top: 0; }
.schema__link--2 span::before { content: "\2193"; display: block; font: 700 1.1rem var(--display); color: var(--accent-dark); margin-bottom: 2px; }
.schema__link span { padding: 0 6px; }

/* ---- Colonnes de contenu ---- */
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 48px); }
.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px) clamp(28px, 5vw, 72px); }
.cols3 > div, .cols2 > div { border-top: 2px solid var(--brand); padding-top: 16px; }
.cols3 p, .cols2 p, .fgrid p { color: var(--muted); margin: 8px 0 0; }
.fgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px clamp(18px, 3vw, 36px); }
.fgrid li { border-top: 1px solid var(--line); padding-top: 14px; }
.fgrid h3 { font-size: 1.05rem; }
.fgrid p { font-size: 0.95rem; }
.ledger--wide { margin-top: 26px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 4vw, 48px); }
.band .ledger--wide + p { margin-top: 28px; }

@media (max-width: 1024px) {
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .cols3, .cols2, .fgrid, .ledger--wide { grid-template-columns: 1fr; }
  .schema__row--2, .schema__link--2 { grid-template-columns: 1fr; }
}
.band + .band { border-top: 1px solid rgba(255, 255, 255, .18); }
.schema__link--2 { padding-bottom: 18px; }
.feature h2 { margin-bottom: 12px; }
.plan__annual { margin: 0 0 10px; font-size: 0.88rem; color: var(--muted); }
.plan__annual[hidden], [data-annual-note][hidden] { display: none; }

/* ---- Bascule mensuel / annuel ---- */
.billing { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; }
.billing[hidden] { display: none; }
.billing__label { font-weight: 600; color: var(--brand); }
.billing__toggle { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.billing__toggle button { font: 600 0.95rem var(--body); color: var(--muted); background: transparent; border: 0; border-radius: 999px; padding: 8px 18px; cursor: pointer; }
.billing__toggle button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.billing__toggle button:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 2px; }
.billing__save { font-weight: 700; color: var(--accent-dark); margin-left: 4px; }
.billing__toggle button[aria-pressed="true"] .billing__save { color: #ffd88f; }
.billing__save:empty { display: none; }

/* ---- Formulaire : champ piège et vérification anti-robot ---- */
.form .hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.ts { min-height: 0; }
.status.is-error { background: #fbe9e7; }

.lead--long { font-size: 1.05rem; max-width: 60ch; }
.lead--long + .lead--long { margin-top: -0.2em; }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.hero__grid { align-items: start; }

/* Accueil : boutons côte à côte quand la place le permet */
.hero .btn { padding: 14px 18px; font-size: 0.97rem; }
@media (min-width: 1025px) {
  .hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .hero .btn-row { flex-wrap: nowrap; }
}
