/* STANSIA — site vitrine. Charte : web/stansia/brand/BRAND.md (navy, crème, corail).
   Polices auto-hébergées (jamais de Google Fonts en production). */
@font-face { font-family: "Space Grotesk"; font-weight: 500; font-display: swap; src: url("/assets/fonts/space-grotesk-500.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url("/assets/fonts/space-grotesk-700.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-500.woff2") format("woff2"); }

:root {
  --navy: #22314F;
  --cream: #FAF7F2;
  --accent: #E8734A;
  --accent-deep: #C25A33;
  --ink: #1A1A1A;
  --gray: #6B6B6B;
  --night: #14131F;
  --night-2: #1E1B2E;
  --line: rgba(255, 255, 255, .12);
  --radius: 16px;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--night); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(720px, 100% - 32px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Logo */
.logo { display: inline-flex; align-items: baseline; font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1; color: #fff; text-decoration: none; }
.logo--small { font-size: 22px; }
.logo { flex: none; }
.logo svg { flex: none; }  /* le i du logo ne doit jamais etre ecrase par ce qui est a cote (bug mobile : STANSA) */

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(20, 19, 31, .86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { color: #d7d3e6; text-decoration: none; font-size: 15px; }
.nav__links a:hover { color: #fff; }
.nav__cta { display: flex; align-items: center; gap: 16px; }
.nav__login { color: #d7d3e6; font-size: 15px; text-decoration: none; }
.nav__login:hover { color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; font: 500 16px/1 var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--accent { background: linear-gradient(135deg, #F08A5D, var(--accent-deep)); color: #fff; box-shadow: 0 10px 30px rgba(232, 115, 74, .35); }
.btn--ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .06); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--dark { background: var(--navy); color: #fff; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(60% 70% at 8% 12%, rgba(232, 115, 74, .30), transparent 60%), radial-gradient(45% 55% at 92% 80%, rgba(232, 115, 74, .22), transparent 65%), var(--night); color: #fff; }
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; padding: 72px 0 96px; min-height: 560px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: #f3c1ae; background: rgba(232, 115, 74, .14); border: 1px solid rgba(232, 115, 74, .4); margin-bottom: 28px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { margin-top: 24px; max-width: 52ch; color: #c9c5d8; font-size: 18px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__orb { display: flex; justify-content: center; }
.orb { position: relative; width: min(300px, 70vw); aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(circle at 30% 25%, #F08A5D, #8A3A22 75%); box-shadow: 0 0 0 26px rgba(232, 115, 74, .10), 0 0 0 64px rgba(232, 115, 74, .06), 0 30px 80px rgba(0, 0, 0, .45); }
.orb strong { font: 700 clamp(46px, 7vw, 66px)/1 var(--display); }
.orb span { margin-top: 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #ffe1d4; }

/* Band */
.band { overflow: hidden; background: linear-gradient(90deg, #4a2a2f, var(--accent)); color: #fff; }
.band__track { display: flex; align-items: center; gap: 40px; width: max-content; padding: 22px 0; font: 700 18px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; animation: slide 38s linear infinite; }
.band__track i { width: 6px; height: 6px; border-radius: 50%; background: #fff; opacity: .85; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 96px 0; }
.section--cream { background: var(--cream); }
.section--white { background: #fff; }
.section--dark { background: radial-gradient(50% 60% at 5% 0%, rgba(232, 115, 74, .16), transparent 60%), var(--night); color: #fff; }
.section--grad { background: linear-gradient(120deg, #2a1d2b, #7d3f33 55%, var(--accent)); color: #fff; }
.section h2 { font-size: clamp(30px, 4vw, 42px); text-align: center; }
.section__sub { margin: 14px auto 0; max-width: 60ch; text-align: center; color: var(--gray); }
.section--dark .section__sub { color: #b9b4cc; }
.section__sub--left { text-align: left; margin-left: 0; }
.split h2 { text-align: left; }

/* Steps */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; text-align: center; }
.steps::before { content: ""; position: absolute; top: 20px; left: 12%; right: 12%; height: 2px; background: #f2c9b8; z-index: 0; }
.steps li { position: relative; z-index: 1; }
.step__n { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; font: 700 17px/1 var(--display); background: radial-gradient(circle at 30% 25%, #C25A33, #5a2a1e); box-shadow: 0 0 0 6px var(--cream); }
.steps h3 { margin-top: 20px; font-size: 18px; font-family: var(--body); font-weight: 500; }
.steps p { margin-top: 8px; color: var(--gray); font-size: 15px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.card { position: relative; padding: 26px; border-radius: var(--radius); background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid rgba(232, 115, 74, .22); }
.card--soon { opacity: .78; border-color: var(--line); }
.card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--accent); background: rgba(232, 115, 74, .12); border: 1px solid rgba(232, 115, 74, .3); }
.card h3 { margin-top: 18px; font: 500 19px/1.3 var(--body); }
.card p { margin-top: 8px; color: #b9b4cc; font-size: 15px; }
.tag { position: absolute; top: 22px; right: 22px; padding: 4px 10px; border-radius: 999px; font: 500 11px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: rgba(232, 115, 74, .14); border: 1px solid rgba(232, 115, 74, .4); }
.tag--soon { color: #b9b4cc; background: rgba(255, 255, 255, .06); border-color: var(--line); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 30px; border-radius: 20px; background: #fff; border: 1px solid #e9e2d8; }
.plan--featured { border: 2px solid var(--accent); box-shadow: 0 24px 60px rgba(232, 115, 74, .18); }
.plan__flag { position: absolute; top: -13px; left: 30px; padding: 5px 12px; border-radius: 999px; font: 500 12px/1 var(--body); color: #fff; background: var(--accent-deep); }
.plan h3 { font-size: 24px; }
.plan__price { margin-top: 14px; color: var(--gray); }
.plan__price strong { font: 700 40px/1 var(--display); color: var(--ink); }
.plan ul { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 10px; flex: 1; font-size: 15px; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.fineprint { margin: 30px auto 0; max-width: 78ch; text-align: center; font-size: 14px; color: var(--gray); }
.fineprint--dark { color: #9d98b3; }
.contact-line { margin-top: 26px; color: #d7d3e6; font-size: 16px; }
.contact-line a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* White label */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.checks { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 22px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.mock { position: relative; padding: 40px 30px; border-radius: 28px; background: linear-gradient(160deg, #f6d9cd, #f3e4dc); transform: rotate(-3deg); }
.mock__row { display: flex; align-items: center; gap: 16px; padding: 14px 18px; margin: 12px 0; border-radius: 14px; background: #fff; box-shadow: 0 10px 30px rgba(60, 30, 20, .10); transform: rotate(3deg); }
.sw { flex: none; width: 34px; height: 34px; border-radius: 9px; }
.sw--grad { background: linear-gradient(135deg, #F08A5D, #5a2a1e); }
.sw--dark { background: var(--night); }
.sw--soft { background: #F4A97F; }
.ln { flex: 1; height: 10px; border-radius: 6px; background: #ece7df; }

/* Values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.values article { padding: 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .22); }
.values h3 { font: 500 19px/1.3 var(--body); }
.values p { margin-top: 10px; font-size: 15px; color: #f5e6de; }
.values a { color: #fff; }

/* Demo form */
.section--cta { text-align: center; }
.demo { display: grid; gap: 14px; margin: 34px auto 0; text-align: left; }
.demo input[type="tel"], .demo input[type="url"] { width: 100%; min-height: 52px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .07); color: #fff; font: 400 16px var(--body); }
.demo input::placeholder { color: #8f8aa6; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #b9b4cc; }
.consent input { margin-top: 4px; accent-color: var(--accent); }
.demo .btn { justify-self: center; }
.demo__step { display: grid; gap: 14px; }
.demo__step[hidden] { display: none; }
.demo__hint { text-align: center; color: #d7d3e6; }
.demo input[type="text"] { width: 100%; min-height: 52px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .07); color: #fff; font: 500 22px var(--body); letter-spacing: .4em; text-align: center; }
.btn--link { background: none; border: 0; color: #b9b4cc; text-decoration: underline; min-height: 36px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__status { min-height: 1.4em; text-align: center; font-size: 15px; color: #f3c1ae; }
.form__status--ok { color: #9be3b4; }

/* Footer */
.footer { background: var(--night); color: #9d98b3; border-top: 1px solid var(--line); padding: 36px 0; font-size: 14px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.footer nav { display: flex; gap: 22px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }

/* Legal pages */
.legal { background: var(--cream); padding: 64px 0 96px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: 38px; }
.legal h2 { font-size: 24px; margin-top: 40px; text-align: left; }
.legal p, .legal li { margin-top: 12px; color: #3b3b3b; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #e6dfd4; vertical-align: top; }
.legal blockquote { margin: 18px 0; padding: 4px 22px 18px; background: #fff; border: 1px solid #e6dfd4; border-left: 4px solid var(--accent); border-radius: 12px; }
.legal blockquote p { margin-top: 14px; }
.legal .todo { background: #fff3cd; color: #6b5200; padding: 1px 6px; border-radius: 6px; font-weight: 600; }
.legal code { font-size: .9em; background: #efe9de; padding: 1px 6px; border-radius: 6px; }
.legal .draft { margin-top: 20px; padding: 14px 18px; border-radius: 12px; background: #fff3cd; border: 1px solid #f0d98a; color: #6b5200; font-size: 15px; }

/* Responsive */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .hero__inner, .split { grid-template-columns: 1fr; }
  .hero__orb { display: none; }
  .hero__inner { padding: 56px 0 72px; min-height: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .cards, .values, .plans { grid-template-columns: 1fr; }
  .mock { transform: none; }
  .mock__row { transform: none; }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .nav__login { display: none; }
  .btn { width: 100%; }
  .nav__cta .btn { width: auto; padding: 0 18px; }
  .nav__inner > .btn { width: auto; flex: none; padding: 0 18px; }
  .hero__actions { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .band__track { animation: none; }
  .btn { transition: none; }
}

.consent-note { margin: 0; font-size: 13px; line-height: 1.55; color: #b9b4cc; }
.consent-note a { color: inherit; text-decoration: underline; }

/* WhatsApp */
.fineprint--left { margin-left: 0; text-align: left; }
.wa { display: grid; gap: 14px; padding: 34px 28px; border-radius: 28px; background: linear-gradient(160deg, #e7f4ea, #f3ece2); }
.wa__label { margin: 0; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--gray); font-weight: 600; }
.wa__bubble { position: relative; padding: 14px 18px 26px; max-width: 360px; border-radius: 4px 16px 16px 16px; background: #fff; box-shadow: 0 10px 30px rgba(30, 40, 30, .10); font-size: 14.5px; line-height: 1.5; color: #1f2a24; }
.wa__bubble p { margin: 0 0 6px; }
.wa__bubble--rdv { margin-left: 28px; }
.wa__small { font-size: 12.5px; color: #6b7a70; }
.wa__time { position: absolute; right: 12px; bottom: 7px; font-size: 11px; color: #8a978f; }
@media (max-width: 960px) { .wa { padding: 24px 18px; } .wa__bubble--rdv { margin-left: 0; } }
