/* Tackvel, site vitrine. Mêmes couleurs que l'outil (firebase/site/style.css) ; deux thèmes choisis par le système. */
:root {
  --plan: #f9f9f7; --surface: #ffffff; --encre: #0b0b0b; --encre-2: #52514e; --trait: #e1e0d9;
  --bord: rgba(11, 11, 11, 0.10); --accent: #1c5cab; --accent-encre: #ffffff; --teinte: #eaf1fb; --axe: #c3c2b7; --soleil: #fab219;
  --police: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --plan: #0d0d0d; --surface: #1a1a19; --encre: #f0efec; --encre-2: #c3c2b7; --trait: #2c2c2a;
    --bord: rgba(255, 255, 255, 0.12); --accent: #6da7ec; --accent-encre: #0b0b0b; --teinte: #132238; --axe: #383835;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--plan); color: var(--encre); font: 17px/1.55 var(--police); }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.entete { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 14px 20px; max-width: 1120px; margin: 0 auto; }
.marque { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; font-weight: 700; font-size: 1.25rem;
  letter-spacing: -0.02em; color: var(--encre); text-decoration: none; }
.entete nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; font-size: 0.9375rem; }
.entete nav a:not(.bouton) { color: var(--encre-2); text-decoration: none; }
.entete nav a:not(.bouton):hover { color: var(--encre); }
@media (max-width: 640px) { .entete nav a:not(.bouton) { display: none; } }

.bouton { display: inline-block; padding: 12px 20px; border-radius: 10px; background: var(--accent); color: var(--accent-encre);
  font-weight: 600; text-decoration: none; border: 1px solid var(--accent); }
.bouton.discret { background: transparent; color: var(--accent); border-color: var(--bord); }
.bouton:hover { filter: brightness(1.08); }
.entete .bouton { padding: 8px 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

main { max-width: 1120px; margin: 0 auto; padding: 0 20px 72px; }
.hero { padding: 56px 0 64px; max-width: 800px; }
.surtitre { color: var(--accent); font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.02em; margin-bottom: 14px; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 750; text-wrap: balance; }
h1 .accent { color: var(--accent); }
.chapeau { font-size: clamp(1.0625rem, 2vw, 1.25rem); color: var(--encre-2); margin: 22px 0 28px; max-width: 62ch; }
.note { margin-top: 18px; font-size: 0.875rem; color: var(--encre-2); }

.bloc { padding: 56px 0; border-top: 1px solid var(--trait); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 28px; }
h3 { font-size: 1.1875rem; letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 8px; }
.bloc p, .bloc li { color: var(--encre-2); }

.etapes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.etapes li { background: var(--surface); border: 1px solid var(--bord); border-radius: 14px; padding: 22px; }
.etapes h3 { color: var(--encre); }
.numero { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--teinte);
  color: var(--accent); font-weight: 700; margin-bottom: 14px; }

.apercu { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; margin-bottom: 64px; }
.apercu.inverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.apercu.inverse .texte { order: 2; }
.apercu h3 { font-size: 1.5rem; color: var(--encre); margin-bottom: 12px; }
.apercu p + p { margin-top: 12px; }
.apercu figure { background: #fcfcfb; border: 1px solid var(--bord); border-radius: 14px; overflow: hidden;
  box-shadow: 0 12px 32px rgba(11, 11, 11, 0.08); }
.principe { border-left: 3px solid var(--soleil); padding-left: 14px; color: var(--encre) !important; font-weight: 500; }
.legende { font-size: 0.8125rem; text-align: center; }
@media (max-width: 820px) {
  .apercu, .apercu.inverse { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: 48px; }
  .apercu.inverse .texte { order: 0; }
}

.atouts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px 32px; }
.atouts h3 { color: var(--encre); font-size: 1.0625rem; }
.deux { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.deux h2 { margin-bottom: 18px; }
.liste li { position: relative; padding-left: 22px; margin-bottom: 10px; }
.liste li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.appel { background: var(--teinte); border-radius: 18px; padding: 44px 28px; text-align: center; margin-top: 8px; }
.appel h2 { margin-bottom: 12px; }
.appel p { color: var(--encre-2); max-width: 56ch; margin: 0 auto; }
.appel .actions { justify-content: center; margin-top: 24px; }

.pied { display: flex; flex-wrap: wrap; gap: 8px 24px; max-width: 1120px; margin: 0 auto; padding: 24px 20px 40px;
  border-top: 1px solid var(--trait); font-size: 0.875rem; color: var(--encre-2); }
.pied span { margin-right: auto; font-weight: 600; color: var(--encre); }

.intro { font-size: 1.125rem; max-width: 68ch; margin: -12px 0 28px; }
.raisons { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.raisons li { border-top: 3px solid var(--accent); padding-top: 16px; }
.raisons h3 { color: var(--encre); }
.liste.colonnes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 4px 40px; }
.encart { margin-top: 28px; background: var(--teinte); border-radius: 14px; padding: 22px 24px; }
.encart h3 { color: var(--encre); }
.encart p { color: var(--encre) !important; max-width: 72ch; }
.sous-titre { color: var(--encre); margin: 32px 0 14px; }
.liste strong { color: var(--encre); font-weight: 600; }
.precision { font-size: 0.9375rem; margin-top: 6px; }

/* Vue 3D de la polaire (registre T21) : mêmes classes que l'outil (firebase/site/style.css). */
.demo-3d { margin-bottom: 64px; }
.demo-3d .texte { max-width: 72ch; margin-bottom: 18px; }
.demo-3d h3 { font-size: 1.5rem; color: var(--encre); margin-bottom: 12px; }
.zone-3d { background: var(--surface); border: 1px solid var(--bord); border-radius: 14px; padding: 16px; box-shadow: 0 12px 32px rgba(11, 11, 11, 0.08); }
.demo-3d .legende { margin-top: 10px; }
.muet { color: var(--encre-2); }
.petit { font-size: 0.875rem; }
.barre-3d { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 10px; align-items: center; }
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puce { padding: 6px 12px; border: 1px solid var(--axe); border-radius: 999px; background: var(--surface); color: var(--encre-2); cursor: pointer; font: inherit; font-size: 0.875rem; }
.puce[aria-pressed=true] { background: var(--accent); border-color: var(--accent); color: var(--accent-encre); font-weight: 600; }
.puce:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.scene-3d { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 14px; align-items: start; }
@media (max-width: 760px) { .scene-3d { grid-template-columns: 1fr; } }
.toile-3d { width: 100%; height: min(520px, 78vw); border: 1px solid var(--bord); border-radius: 10px; background: var(--plan); touch-action: none; cursor: grab; display: block; }
.legende-3d { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 0.8125rem; margin-bottom: 10px; color: var(--encre-2); }
.pastille { display: inline-flex; align-items: center; gap: 5px; }
.pastille i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.pastille i.tirets { height: 0; border-top: 2px dashed var(--encre); border-radius: 0; width: 16px; }
.pastille i.tirets-ia { height: 0; border-top: 2px dotted #b234d9; border-radius: 0; width: 16px; background: none; }
.cartouche { border: 1px solid var(--bord); border-radius: 10px; padding: 10px 12px; background: var(--surface); display: grid; gap: 3px; min-height: 96px; }
.cartouche p { color: var(--encre); }
.cartouche .vitesse { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em; }
.cartouche .lien { background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; cursor: pointer; font: inherit; }
