/* Processus — landing page styles (mobile-first) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/space-grotesk-600.woff2") format("woff2"); }

:root {
  --indigo: #4F46E5;
  --deep: #1E1B4B;
  --lime: #BEF264;
  --lime-dark: #65A30D;
  --ink: #0E0C24;
  --paper: #F6F5FF;
  --violet: #A5A1FF;
  --text-muted: #4B4870;
  --line: #E2E0F5;
  --radius: 18px;
  --header-h: 64px;
  --shadow: 0 1px 2px rgba(14, 12, 36, .06), 0 8px 24px rgba(30, 27, 75, .07);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: "Space Grotesk", "Inter", system-ui, sans-serif; font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }
a { color: var(--indigo); }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* Focus */
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }
.site-header :focus-visible, .hero :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible { outline-color: var(--lime); }

.skip {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 10px;
  font-weight: 600; text-decoration: none; outline: 3px solid var(--ink);
}
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn-lg { min-height: 52px; padding: 14px 28px; font-size: 1.0625rem; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #D4F79A; box-shadow: 0 6px 20px rgba(190, 242, 100, .25); }
.btn-indigo { background: var(--indigo); color: #fff; }
.btn-indigo:hover { background: #4338CA; }
.btn-ghost { color: #fff; border-color: rgba(246, 245, 255, .45); }
.btn-ghost:hover { border-color: var(--lime); }
.btn:hover { transform: translateY(-1px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 12, 36, .92);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid rgba(165, 161, 255, .16);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); position: relative; }
.brand { display: inline-flex; padding: 6px 0; }
.brand img { height: 30px; width: auto; }

.menu-btn {
  display: none; width: 44px; height: 44px; border: 1px solid rgba(165, 161, 255, .35);
  border-radius: 12px; background: transparent; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.bars, .bars::before, .bars::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--paper);
  transition: transform .2s ease, opacity .2s ease;
}
.bars { position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; }
.bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .bars { background: transparent; }
.menu-btn[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.site-nav a:not(.btn) {
  color: var(--paper); text-decoration: none; font-weight: 600; font-size: .9375rem;
  padding: 10px 12px; border-radius: 10px;
}
.site-nav a:not(.btn):hover { color: var(--lime); }

/* Mobile nav (JS enhanced) */
@media (max-width: 759px) {
  .js .menu-btn { display: inline-flex; }
  .js .site-nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px 20px 20px; background: var(--ink);
    border-bottom: 1px solid rgba(165, 161, 255, .2);
    box-shadow: 0 16px 32px rgba(14, 12, 36, .35);
  }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav a:not(.btn) { padding: 12px; font-size: 1.0625rem; }
  .js .site-nav .btn { margin-top: 8px; min-height: 48px; }
  html:not(.js) .header-row { height: auto; flex-wrap: wrap; padding: 8px 20px; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden; color: var(--paper);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(79, 70, 229, .55) 0%, rgba(79, 70, 229, 0) 60%),
    radial-gradient(80% 70% at 0% 100%, rgba(79, 70, 229, .25) 0%, rgba(79, 70, 229, 0) 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--deep) 100%);
}
.hero-inner { position: relative; padding-top: 64px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(2.5rem, 10.5vw, 4.75rem); position: relative; z-index: 1; }
.accent { color: var(--lime); }
.lede { position: relative; z-index: 1; margin-top: 20px; max-width: 36rem; font-size: clamp(1.0625rem, 2.6vw, 1.25rem); color: #DCDAFF; }
.hero-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-mark { display: none; }

/* Problem -> outcome strip */
.problem { background: #fff; border-bottom: 1px solid var(--line); }
.strip { display: grid; gap: 16px; padding-top: 36px; padding-bottom: 36px; align-items: center; }
.strip-problem { font-size: clamp(1.375rem, 4.4vw, 1.75rem); color: var(--text-muted); }
.strip-outcome { font-family: "Space Grotesk", "Inter", system-ui, sans-serif; font-weight: 600; font-size: clamp(1.375rem, 4.4vw, 1.75rem); line-height: 1.2; color: var(--deep); }
.strip-outcome { box-shadow: inset 0 -0.42em 0 rgba(190, 242, 100, .7); display: inline; }
.strip-arrow { color: var(--lime-dark); transform: rotate(90deg); }

/* Sections */
.section { padding: 72px 0; }
.section-title { font-size: clamp(2rem, 6vw, 2.75rem); color: var(--deep); margin-bottom: 28px; }
.grid { display: grid; gap: 16px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card h3 { font-size: 1.375rem; color: var(--deep); }
.card p { color: var(--text-muted); margin-top: 10px; }
.icon { color: var(--indigo); margin-bottom: 16px; }

/* Offers */
.offers { background: linear-gradient(180deg, var(--paper) 0%, #ECEAFF 100%); }
.offer { display: flex; flex-direction: column; position: relative; }
.offer .price { margin-top: 12px; color: var(--deep); font-size: 1rem; font-weight: 600; }
.offer .price strong { font-family: "Space Grotesk", "Inter", system-ui, sans-serif; font-size: 2.125rem; line-height: 1.1; color: var(--indigo); letter-spacing: -0.02em; }
.offer .price .reg { color: var(--text-muted); }
.offer .btn { margin-top: auto; align-self: flex-start; }
.offer p:not(.price) { margin-bottom: 20px; }
.offer-featured { border: 2px solid var(--indigo); }
.offer-featured::before {
  content: ""; position: absolute; top: 24px; right: 24px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 0 4px var(--deep);
}
.note {
  display: flex; gap: 12px; align-items: center; margin-top: 24px; padding: 16px 20px;
  background: #fff; border: 1px dashed var(--indigo); border-radius: 14px; color: var(--deep); font-weight: 600;
}
.note svg { flex: none; }

/* Who */
.who { background: #fff; border-top: 1px solid var(--line); }
.who-inner { display: grid; gap: 20px; align-items: start; }
.who-inner img { width: 64px; height: 64px; }
.who .section-title { margin-bottom: 12px; }
.who p { font-size: clamp(1.125rem, 2.8vw, 1.375rem); color: var(--ink); max-width: 44rem; }

/* CTA band */
.cta-band { background: var(--deep); color: var(--paper); }
.cta-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-top: 56px; padding-bottom: 56px; }
.cta-band h2 { font-size: clamp(1.75rem, 6vw, 2.75rem); }

/* Footer */
.site-footer { background: var(--ink); color: #C9C6F2; padding: 40px 0; font-size: .9375rem; }
.footer-inner { display: grid; gap: 10px; }
.footer-inner img { height: 26px; width: auto; margin-bottom: 6px; }
.site-footer a { color: var(--paper); text-underline-offset: 3px; }
.site-footer a:hover { color: var(--lime); }
.small { font-size: .875rem; color: #A9A6D6; }

/* Tablet+ */
@media (min-width: 600px) {
  .container { padding: 0 32px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .card { padding: 28px; }
}
@media (min-width: 760px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .strip { grid-template-columns: 1fr auto 1fr; gap: 32px; padding-top: 44px; padding-bottom: 44px; }
  .strip-arrow { transform: none; }
  .hero-inner { padding-top: 96px; padding-bottom: 104px; }
  .hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 40px; }
  .hero-mark { display: block; width: 180px; height: auto; }
  .section { padding: 96px 0; }
  .who-inner { grid-template-columns: auto 1fr; gap: 32px; }
  .who-inner img { width: 88px; height: 88px; }
  .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .offer .price strong { font-size: 1.75rem; }
  .hero-mark { width: 280px; margin-right: 24px; }
  .hero h1 { max-width: 18ch; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .btn:hover { transform: none; }
}
