/* SIGES Academy — page de présentation
   Identité : vert tableau d'école, or « craie », rouge du drapeau. Titres en Fraunces (serif), texte en Figtree. */
:root {
  --paper: #fbf9f4;
  --surface: #ffffff;
  --surface-2: #f3efe6;
  --ink: #14201b;
  --muted: #4f5f58;
  --line: #e4dfd2;
  --g9: #0a3528;
  --g8: #0d4632;
  --g7: #0f5a3f;
  --g6: #14724f;
  --g1: #e3f1ea;
  --gold: #f4b400;
  --gold-soft: #fff1c2;
  --red: #c8312b;
  --red-soft: #fbe4e2;
  --brand: #0f5a3f;
  --brand-text: #0f5a3f;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(20, 32, 27, .06), 0 14px 32px -18px rgba(20, 32, 27, .28);
  --header-bg: rgba(251, 249, 244, .92);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0b1410;
    --surface: #12201a;
    --surface-2: #182a22;
    --ink: #ecf3ef;
    --muted: #a2b5ac;
    --line: #24382f;
    --g1: rgba(78, 196, 147, .14);
    --gold-soft: rgba(244, 180, 0, .16);
    --red-soft: rgba(200, 49, 43, .2);
    --brand: #1a8a5f;
    --brand-text: #74d6ab;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 32px -18px rgba(0, 0, 0, .7);
    --header-bg: rgba(11, 20, 16, .9);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.i { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: #1b1500; padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ── Boutons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 12px; border: 2px solid transparent;
  font: 700 16px/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn .i { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #1b1500; }
.btn-gold:hover { background: #ffc61f; }
.btn-green { background: var(--g7); color: #fff; }
.btn-green:hover { background: var(--g6); }
.btn-ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-line:hover { border-color: var(--g6); color: var(--brand-text); }
.btn-white { background: #fff; color: var(--g8); }
.btn-sm { min-height: 42px; padding: 9px 16px; font-size: 15px; }

/* ── En-tête ── */
header { position: fixed; inset: 0 0 auto 0; z-index: 50; border-bottom: 1px solid transparent; transition: background-color .25s, border-color .25s; }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 11px; font: 700 21px/1 var(--font-display); color: #fff; text-decoration: none; }
.logo-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--gold); display: grid; place-items: center; flex: none; }
.logo-mark svg { width: 24px; height: 24px; }
.logo-sub { font-weight: 500; opacity: .8; }
nav { display: flex; align-items: center; gap: 28px; }
nav .link { color: rgba(255, 255, 255, .85); text-decoration: none; font-weight: 600; font-size: 15.5px; }
nav .link:hover { color: #fff; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.lang-btn { display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .35); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .05em; text-decoration: none; }
.lang-btn:hover { background: rgba(255, 255, 255, .12); }
header.scrolled, header.menu-open { background: var(--header-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--line); }
header.scrolled .logo, header.menu-open .logo { color: var(--ink); }
header.scrolled nav .link, header.menu-open nav .link { color: var(--muted); }
header.scrolled nav .link:hover { color: var(--ink); }
header.scrolled .lang-btn, header.menu-open .lang-btn { color: var(--ink); border-color: var(--line); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .35); background: none; color: #fff; cursor: pointer; place-items: center; }
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .x, .menu-open .menu-btn .bars { display: none; }
.menu-open .menu-btn .x { display: block; }
header.scrolled .menu-btn, header.menu-open .menu-btn { color: var(--ink); border-color: var(--line); }
.mobile-menu { display: none; }
.mobile-menu.open {
  display: grid; gap: 2px; position: absolute; left: 0; right: 0; top: 72px; padding: 10px 16px 20px;
  background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .4);
}
.mobile-menu a:not(.btn) { padding: 15px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 17px; }
.mobile-menu a:not(.btn):hover { background: var(--g1); }
.mobile-menu .btn { margin-top: 10px; }

/* ── Accroche (tableau d'école) ── */
.hero {
  position: relative; color: #fff; overflow: hidden; padding: 148px 0 0;
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(244, 180, 0, .14), transparent 70%),
    repeating-linear-gradient(to bottom, transparent 0 43px, rgba(255, 255, 255, .045) 43px 44px),
    var(--g9);
}
.hero .wrap { text-align: center; }
h1 { font-size: clamp(38px, 6vw, 66px); line-height: 1.06; max-width: 880px; margin: 0 auto 22px; font-weight: 600; }
h1 .kw { display: block; font: 700 clamp(13px, 1.5vw, 15px)/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
h1 .hl { color: var(--gold); }
.lead { font-size: clamp(18px, 2vw, 21px); color: rgba(255, 255, 255, .82); max-width: 620px; margin: 0 auto 32px; }
.cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.cta-note { margin-top: 16px; font-size: 14.5px; color: rgba(255, 255, 255, .7); }
.ticks { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; margin: 28px 0 60px; padding: 0; list-style: none; font-size: 15px; color: rgba(255, 255, 255, .82); }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks .i { width: 18px; height: 18px; color: var(--gold); stroke-width: 2.6; }

.stage { max-width: 980px; margin: 0 auto; }
.app { background: var(--surface); color: var(--ink); text-align: left; border-radius: 16px 16px 0 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .25); border-bottom: 0; box-shadow: 0 -12px 70px -20px rgba(244, 180, 0, .35); }
.app-bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.app-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e86a5f; }
.app-bar i:nth-child(2) { background: #f4b400; } .app-bar i:nth-child(3) { background: #4ec493; }
.app-bar .url { margin: 0 auto; display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 4px 16px; }
.app-bar .url .i { width: 12px; height: 12px; color: #2a9d6c; }
.app-main { display: grid; grid-template-columns: 200px 1fr; min-height: 360px; }
.side { padding: 16px 12px; border-right: 1px solid var(--line); background: var(--paper); }
.side .school { display: flex; align-items: center; gap: 10px; padding: 0 8px 14px; font: 700 13.5px/1.25 var(--font-display); }
.side .school span { width: 30px; height: 30px; border-radius: 8px; background: var(--g7); flex: none; }
.side a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 13px; color: var(--muted); }
.side a .i { width: 16px; height: 16px; }
.side a.on { background: var(--g7); color: #fff; font-weight: 600; }
.content { padding: 20px; display: grid; gap: 14px; align-content: start; }
.content h4 { margin: 0; font: 600 18px/1.3 var(--font-display); }
.content h4 small { display: block; margin-top: 2px; font: 500 12.5px var(--font-body); color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; }
.kpi small { display: block; color: var(--muted); font-size: 11.5px; }
.kpi b { font: 700 22px/1.2 var(--font-display); }
.kpi em { font-style: normal; font-size: 11px; font-weight: 700; color: #2a9d6c; margin-left: 4px; }
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.panel { border: 1px solid var(--line); border-radius: 12px; padding: 13px; }
.panel small { color: var(--muted); font-size: 11.5px; }
.chart { display: flex; align-items: flex-end; gap: 8px; height: 100px; margin-top: 10px; }
.chart div { flex: 1; border-radius: 5px 5px 2px 2px; background: var(--g1); transform-origin: bottom; animation: grow .9s cubic-bezier(.2, .7, .2, 1) both; }
.chart div.on { background: var(--g7); }
.chart div:nth-child(2) { animation-delay: .08s; } .chart div:nth-child(3) { animation-delay: .16s; } .chart div:nth-child(4) { animation-delay: .24s; }
.chart div:nth-child(5) { animation-delay: .32s; } .chart div:nth-child(6) { animation-delay: .4s; } .chart div:nth-child(7) { animation-delay: .48s; }
.rows div { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; padding: 7px 0; }
.rows div + div { border-top: 1px solid var(--line); }
.pill { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.pill.g { background: var(--g1); color: var(--brand-text); }
.pill.o { background: var(--gold-soft); color: #8a6400; }
.pill.r { background: var(--red-soft); color: var(--red); }
@media (prefers-color-scheme: dark) { .pill.o { color: #f4c542; } .pill.r { color: #ff8a82; } }

.stripe { height: 6px; background: linear-gradient(90deg, var(--g6) 0 33.34%, var(--red) 33.34% 66.67%, var(--gold) 66.67%); }

/* ── Sections ── */
section { padding: clamp(64px, 9vw, 108px) 0; }
.head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-text); margin-bottom: 14px; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; }
h2 .mk { background: linear-gradient(transparent 62%, var(--gold-soft) 62% 94%, transparent 94%); }
.head p { margin-top: 14px; font-size: 18px; color: var(--muted); }

/* Les trois priorités */
.wins { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; align-items: stretch; }
.wins .win-1 { grid-row: span 2; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.card h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; margin-bottom: 10px; }
.card > p { color: var(--muted); max-width: 46ch; }
.win-1 h3 { font-size: clamp(26px, 3vw, 34px); }
.demo { margin-top: 26px; padding: 18px; border-radius: 16px; background: var(--paper); border: 1px dashed var(--line); }
.demo .in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--gold-soft); border: 2px solid var(--gold); }
.demo .in small { display: block; font-size: 12.5px; color: var(--muted); }
.demo .in b { font: 700 24px/1.2 var(--font-display); }
.demo .arrow { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0; font-size: 13.5px; font-weight: 700; color: var(--brand-text); }
.demo .arrow .i { width: 18px; height: 18px; }
.tranches { display: grid; gap: 12px; }
.tr { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; font-size: 14px; }
.tr .state { font-size: 13px; font-weight: 700; color: var(--brand-text); }
.tr .state.part { color: #8a6400; }
@media (prefers-color-scheme: dark) { .tr .state.part { color: #f4c542; } }
.bar { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 99px; background: var(--g6); transform-origin: left; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1) .3s; }
.bar span.part { background: var(--gold); }
.tr:nth-child(2) .bar span { transition-delay: .55s; } .tr:nth-child(3) .bar span { transition-delay: .8s; }
.demo.reset .bar span { transform: scaleX(0); transition: none; }
.demo .total { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; }
.demo .total b { font: 700 19px var(--font-display); }
.replay { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 8px 0; color: var(--brand-text); font: 700 14.5px var(--font-body); cursor: pointer; }
.replay .i { width: 17px; height: 17px; }
.replay:hover { text-decoration: underline; text-underline-offset: 4px; }

.mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.mini div { border-radius: 12px; padding: 11px 12px; background: var(--paper); border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.mini b { display: block; font: 700 22px/1.2 var(--font-display); color: var(--ink); }
.mini div.hl { background: var(--g7); border-color: var(--g7); color: rgba(255, 255, 255, .85); }
.mini div.hl b { color: #fff; }
.verify { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.qr { width: 84px; height: 84px; flex: none; background: #fff; padding: 6px; border-radius: 10px; border: 1px solid var(--line); }
.verify small { display: block; color: var(--muted); font-size: 13px; }
.verify b { display: block; font-size: 15px; margin-bottom: 6px; }

/* Modules */
.modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mod { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .2s, transform .2s; }
.mod:hover { border-color: var(--g6); transform: translateY(-3px); }
.ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; background: var(--g1); color: var(--brand-text); }
.ico .i { width: 23px; height: 23px; }
.ico.gold { background: var(--gold-soft); color: #8a6400; }
.ico.red { background: var(--red-soft); color: var(--red); }
@media (prefers-color-scheme: dark) { .ico.gold { color: #f4c542; } .ico.red { color: #ff8a82; } }
.mod h3 { font-size: 19px; line-height: 1.2; margin-bottom: 6px; }
.mod p { font-size: 15.5px; color: var(--muted); }

/* Tarifs */
#tarifs { background: var(--surface-2); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px; }
.plan.best { border: 2px solid var(--g7); box-shadow: var(--shadow); }
.plan .tag { position: absolute; top: -14px; left: 28px; background: var(--gold); color: #1b1500; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 26px; }
.plan .for { color: var(--muted); font-size: 15.5px; margin-top: 2px; }
.price { margin: 22px 0 6px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price small { font-size: 14px; color: var(--muted); }
.price b { font: 700 40px/1 var(--font-display); letter-spacing: -.02em; }
.price span { font-size: 15px; color: var(--muted); }
.plan .more { margin: 18px 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.plan ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 11px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 11px; font-size: 16px; }
.plan li .i { width: 22px; height: 22px; flex: none; padding: 3px; border-radius: 50%; background: var(--g1); color: var(--brand-text); stroke-width: 3; margin-top: 1px; }
.plan .btn { width: 100%; }
.plans-note { max-width: 700px; margin: 32px auto 0; text-align: center; color: var(--muted); font-size: 15.5px; }
.plans-note b { color: var(--ink); }

/* Confiance */
.trust { background: var(--g9); color: #fff; }
.trust .eyebrow { color: var(--gold); }
.trust h2 .mk { background: none; color: var(--gold); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-item { padding: 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.trust-item .ico { background: rgba(244, 180, 0, .18); color: var(--gold); }
.trust-item h3 { font-size: 19px; line-height: 1.2; margin-bottom: 6px; }
.trust-item p { font-size: 15.5px; color: rgba(255, 255, 255, .78); }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; list-style: none; padding: 0; margin: 0; }
.steps::before { content: ""; position: absolute; top: 27px; left: 16.6%; right: 16.6%; border-top: 2px dashed var(--line); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step .n { width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: var(--gold); color: #1b1500; font: 700 22px var(--font-display); box-shadow: 0 0 0 8px var(--paper); position: relative; }
.step h3 { font-size: 21px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 16px; max-width: 30ch; margin: 0 auto; }
.step code { font: 700 14px var(--font-body); background: var(--g1); color: var(--brand-text); padding: 1px 7px; border-radius: 6px; white-space: nowrap; }

/* Questions */
#questions { background: var(--surface-2); }
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
details[open] { border-color: var(--g6); }
summary { list-style: none; cursor: pointer; padding: 19px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 26px; font-weight: 400; line-height: 1; color: var(--brand-text); flex: none; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 20px; color: var(--muted); font-size: 16.5px; }

/* Contact */
.contact {
  position: relative; border-radius: 28px; padding: clamp(28px, 5vw, 56px); color: #fff;
  display: grid; grid-template-columns: 1fr 1.1fr; grid-template-areas: "top form" "alt form"; grid-template-rows: auto 1fr; column-gap: clamp(28px, 5vw, 56px); row-gap: 0; align-items: start;
  background: radial-gradient(520px 280px at 15% 0%, rgba(244, 180, 0, .18), transparent 70%), var(--g8);
}
.contact h2 { color: #fff; margin-bottom: 14px; }
.ci-top > p { color: rgba(255, 255, 255, .86); font-size: 19px; max-width: 460px; }
.contact-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; font-size: 16.5px; }
.contact-points li { display: flex; align-items: center; gap: 10px; }
.contact-points .i { width: 20px; height: 20px; color: var(--gold); stroke-width: 2.6; flex: none; }
.contact .alt { margin: 34px 0 12px; font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.contact .cta { justify-content: flex-start; }

/* Formulaire « Demander une démo » */
.ci-top { grid-area: top; }
.ci-alt { grid-area: alt; }
.demo-form { grid-area: form; background: var(--surface); color: var(--ink); border-radius: 20px; padding: clamp(22px, 3vw, 32px); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .55); }
.demo-form h3 { font-size: 24px; margin-bottom: 4px; }
.demo-form .sub { color: var(--muted); font-size: 15.5px; margin-bottom: 20px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field { display: grid; gap: 6px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 700; }
.field label i { font-style: normal; color: var(--red); margin-left: 2px; }
.field label small { font-weight: 500; color: var(--muted); font-size: 13px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--paper); color: var(--ink); font: 500 16px/1.4 var(--font-body);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .75; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--g6); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--g6); box-shadow: 0 0 0 3px rgba(20, 114, 79, .25); }
.field input:user-invalid, .field select:user-invalid { border-color: var(--red); }
.demo-form .btn { width: 100%; margin-top: 18px; }
.demo-form .btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.demo-form .note { margin-top: 12px; font-size: 13.5px; color: var(--muted); text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { border-radius: 14px; padding: 20px 22px; font-size: 16px; }
.form-msg h3 { font-size: 22px; margin-bottom: 6px; }
.form-msg.ok { background: var(--g1); color: var(--ink); border: 1px solid var(--g6); }
.form-msg.ko { background: var(--red-soft); border: 1px solid var(--red); margin-bottom: 18px; }
.form-msg[hidden], .demo-form form[hidden] { display: none; }
.mail-wrap { position: relative; display: inline-flex; }
.mail-menu { position: absolute; z-index: 5; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: 280px; padding: 8px; border-radius: 14px; text-align: left; background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); }
.mail-menu[hidden] { display: none; }
.mail-menu small { display: block; padding: 6px 10px 8px; color: var(--muted); font-size: 13px; }
.mail-menu a, .mail-menu button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 8px 10px; border: 0; border-radius: 10px; background: none; color: var(--ink); font: 600 15px/1.25 var(--font-body); text-decoration: none; cursor: pointer; text-align: left; }
.mail-menu a:hover, .mail-menu button:hover { background: var(--g1); }
.mail-menu i { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; color: #fff; flex: none; }
.mail-menu i svg { width: 15px; height: 15px; }

footer { padding: 36px 0 44px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; }
footer .logo { color: var(--ink); font-size: 19px; }
footer .logo-mark { width: 32px; height: 32px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--brand-text); text-decoration: underline; }

/* ── Animations (sobres) ── */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes grow { from { transform: scaleY(0); } }
.hero .kw, .hero h1, .hero .lead, .hero .cta, .hero .cta-note, .hero .ticks { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero h1 { animation-delay: .08s; } .hero .lead { animation-delay: .16s; } .hero .cta { animation-delay: .24s; } .hero .cta-note { animation-delay: .3s; } .hero .ticks { animation-delay: .36s; }
.stage { animation: rise 1s .35s cubic-bezier(.2, .7, .2, 1) both; }
.js .reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal:not(.in) { opacity: 0; transform: translateY(28px); }
.js .reveal:not(.in) .bar span { transform: scaleX(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal:not(.in) { opacity: 1; transform: none; }
}

/* ── Tablette ── */
@media (max-width: 1040px) {
  nav .link { display: none; }
  nav { gap: 10px; }
  .menu-btn { display: grid; }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .contact { grid-template-columns: 1fr; grid-template-areas: "top" "form" "alt"; grid-template-rows: none; row-gap: 28px; }
  .wins { grid-template-columns: 1fr; }
  .wins .win-1 { grid-row: auto; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 28px; }
  .app-main { grid-template-columns: 1fr; }
  .side { display: none; }
}
/* ── Téléphone ── */
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 16px; }
  nav .btn { display: none; }
  .hero { padding-top: 112px; }
  .cta .btn { width: 100%; }
  .ticks { margin-bottom: 40px; justify-content: flex-start; }
  .head { margin-bottom: 36px; }
  .card { padding: 24px 20px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .modules, .trust-grid, .steps { grid-template-columns: 1fr; }
  .steps { gap: 36px; }
  .steps::before { display: none; }
  .mail-wrap, .mail-wrap .btn { width: 100%; }
  .contact { border-radius: 22px; padding: 28px 16px; }
  .fields { grid-template-columns: 1fr; }
  .mini b { font-size: 19px; }
}
@media (max-width: 400px) { .logo-sub { display: none; } .lang-btn { padding: 0 10px; } }
