/* Site vitrine StirUp : une page, lisible d'abord. Mêmes polices, couleurs et icônes que l'application. */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Martian Mono"; src: url("../fonts/martianmono-latin.woff2") format("woff2");
  font-weight: 300 700; font-stretch: 75% 112.5%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Martian Mono"; src: url("../fonts/martianmono-latin-ext.woff2") format("woff2");
  font-weight: 300 700; font-stretch: 75% 112.5%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Marque StirUp : bleu, corail, orange. Le bleu foncé sert au texte et aux boutons (contraste suffisant). */
  --brand: #0081cc;
  --brand-ink: #00639e;
  --coral: #ff5757;
  --orange: #ff8210;
  /* Une teinte par domaine, comme dans l'application. */
  --m-it: #1c7ed6;
  --m-cloud: #4263eb;
  --m-licences: #7048e8;
  --m-immobilier: #d6336c;
  --m-automobile: #f03e3e;
  --m-impression: #f76707;
  --m-infra: #e0a100;
  --m-rse: #12b886;
  --m-telecom: #1098ad;

  --ink: #0b1724;
  --ink-2: #3b4b5e;
  --ink-3: #5f7083;
  --line: rgba(16, 38, 64, .10);
  --tint: #f3f6f9;
  --white: #ffffff;
  --shadow: 0 1px 2px rgba(16, 38, 64, .06), 0 24px 60px -28px rgba(16, 38, 64, .35);
  --radius: 18px;
  --wrap: 1160px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 1.125rem/1.6 "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-ink); }
h1, h2, h3 { margin: 0; color: var(--ink); font-stretch: 112%; letter-spacing: -.02em; line-height: 1.12; }
h1 { font-size: clamp(2.2rem, 5vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; font-stretch: 100%; }
p { margin: 0; }
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 30; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* Petit titre au-dessus des grands : la police à chasse fixe de l'application. */
.eyebrow, .step-tag {
  font: 600 .78rem/1.4 "Martian Mono", ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase;
  color: var(--brand-ink); margin-bottom: 14px;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 12px;
  background: var(--brand-ink); color: #fff; font-weight: 650; font-size: 1.05rem; text-decoration: none;
  box-shadow: 0 10px 24px -12px rgba(0, 99, 158, .7); transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { background: #00557f; transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(0, 99, 158, .75); }
.btn .ico { transition: transform .2s ease; }
.btn:hover .ico { transform: translateX(3px); }
.btn-ghost { background: rgba(255, 255, 255, .7); color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(16, 38, 64, .16); }
.btn-ghost:hover { background: var(--tint); box-shadow: inset 0 0 0 1.5px rgba(16, 38, 64, .2); }
.btn-small { padding: 10px 16px; font-size: .95rem; box-shadow: none; }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5); }
.btn-light:hover { background: #eef5fb; }
.btn-outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.btn-outline:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .82); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border-bottom: 1px solid transparent; transition: border-color .25s ease, box-shadow .25s ease; }
.top.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -20px rgba(16, 38, 64, .5); }
.top-in { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo img { width: 92px; height: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: 1rem; }
.nav a:hover, .nav a.is-here { color: var(--ink); }
.nav a.is-here { box-shadow: 0 2px 0 var(--brand); }

/* ---------- Accroche ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
/* Halo de couleurs de la marque, discret, comme le fond de l'application. */
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 120%; z-index: -1;
  background:
    radial-gradient(40% 50% at 15% 25%, rgba(0, 129, 204, .16), transparent 70%),
    radial-gradient(35% 45% at 85% 20%, rgba(255, 87, 87, .11), transparent 70%),
    radial-gradient(40% 40% at 70% 85%, rgba(18, 184, 134, .10), transparent 70%);
}
/* Le texte d'abord, centré ; la capture du produit en grand dessous. */
.hero-in { display: grid; justify-items: center; gap: 56px; text-align: center; }
.hero-text { max-width: 940px; }
.hero-text .actions { justify-content: center; }
.lead { margin: 24px auto 0; font-size: 1.25rem; color: var(--ink-2); max-width: 38em; }
.hero-shot { margin: 0; width: 100%; max-width: 1100px; }
.frame { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow), 0 0 0 1px var(--line); background: #e8edf2; }
figcaption, .note { margin-top: 12px; font-size: .9rem; color: var(--ink-3); }
.note { text-align: center; margin-top: 56px; }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-tint { background: var(--tint); }
.head { max-width: 760px; margin-bottom: 52px; }
.head p:not(.eyebrow) { margin-top: 18px; font-size: 1.2rem; color: var(--ink-2); }

.cards { display: grid; gap: 20px; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: 0 0 0 1px var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line), 0 20px 40px -26px rgba(16, 38, 64, .45); }
.card h3 { margin-top: 18px; }
.card p { margin-top: 8px; color: var(--ink-2); font-size: 1.05rem; }
.badge {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; flex: none;
  color: var(--c); background: color-mix(in srgb, var(--c) 12%, white); font-size: 1.35rem;
}

/* Les quatre temps de l'application : texte et capture, en alternance. */
.feature { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.feature + .feature { margin-top: 88px; }
.feature-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.feature-flip .feature-text { order: 2; }
.feature-text h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); font-weight: 800; font-stretch: 108%; letter-spacing: -.02em; }
.feature-text p:not(.step-tag) { margin-top: 16px; color: var(--ink-2); }
.feature-shot { border-radius: var(--radius); box-shadow: var(--shadow), 0 0 0 1px var(--line); }

/* Les neuf domaines. */
.modules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.modules li { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .25s ease, transform .25s ease; }
.modules li:hover { transform: translateY(-2px); box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--c) 45%, transparent), 0 18px 36px -26px rgba(16, 38, 64, .5); }
.modules h3 { font-size: 1.1rem; }
.modules p { margin-top: 4px; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }

/* Mise en route. */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 24px; left: 24px; right: 24px; height: 2px; background: linear-gradient(90deg, var(--brand), var(--m-rse)); opacity: .35; }
.steps li { position: relative; }
.num { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--brand-ink); color: #fff; font: 700 1.15rem/1 "Martian Mono", monospace; box-shadow: 0 0 0 6px var(--tint); }
.steps h3 { margin-top: 22px; }
.steps p { margin-top: 8px; color: var(--ink-2); font-size: 1.05rem; }

/* Appel final. */
.cta { position: relative; overflow: hidden; padding: 112px 0; background: var(--ink); color: #fff; text-align: center; }
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(45% 70% at 20% 0%, rgba(0, 129, 204, .45), transparent 70%), radial-gradient(40% 60% at 85% 100%, rgba(255, 87, 87, .3), transparent 70%);
}
.cta-in { position: relative; }
.cta h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); }
.cta p { margin: 18px auto 0; max-width: 36em; font-size: 1.2rem; color: rgba(255, 255, 255, .82); }
.cta .actions { justify-content: center; }
.cta .cta-small { margin-top: 14px; font-size: .95rem; color: rgba(255, 255, 255, .68); }
.cta .cta-mail { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 28px; font-size: 1.05rem; }
.cta-mail a { color: #fff; font-weight: 600; }

/* Mentions légales : une colonne de texte. */
.legal { max-width: 760px; padding-top: 64px; padding-bottom: 96px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.3rem; margin-top: 44px; font-stretch: 100%; }
.legal p { margin-top: 12px; color: var(--ink-2); }

/* Pied de page. */
.foot { padding: 40px 0; border-top: 1px solid var(--line); }
.foot-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; color: var(--ink-3); font-size: .95rem; }
.foot img { width: 70px; }
.foot nav { display: flex; gap: 20px; margin-left: auto; }
.foot a { color: var(--ink-2); }

/* ---------- Apparition au défilement (seulement si le script tourne et si le mouvement est accepté) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .hero-text > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .js .hero-text > :nth-child(2) { animation-delay: .08s; }
  .js .hero-text > :nth-child(3) { animation-delay: .16s; }
  .js .hero-text > :nth-child(4) { animation-delay: .24s; }
  .js .hero-shot { animation: rise 1s .2s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Écrans plus étroits ---------- */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .top-in { justify-content: space-between; }
  .hero { padding: 48px 0 72px; }
  .hero-in { gap: 40px; }
  .feature, .feature-flip { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .feature-flip .feature-text { order: 0; }
  .feature + .feature { margin-top: 64px; }
  .cards.three, .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .steps::before { top: 24px; bottom: 24px; left: 23px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--brand), var(--m-rse)); }
  .steps li { padding-left: 72px; }
  .num { position: absolute; left: 0; top: 0; }
  .steps h3 { margin-top: 10px; }
  .section { padding: 80px 0; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 1.0625rem; }
  .lead, .head p:not(.eyebrow), .cta p { font-size: 1.1rem; }
  .cards.three, .cards.four, .modules { grid-template-columns: minmax(0, 1fr); }
  .actions .btn { width: 100%; justify-content: center; }
  .section { padding: 64px 0; }
  .head { margin-bottom: 36px; }
  .foot nav { margin-left: 0; flex-wrap: wrap; gap: 10px 20px; }
  .foot nav a { white-space: nowrap; }
}
