/* =========================================================
   DEVPARAM — Feuille de style principale
   Design system + composants + pages
   ========================================================= */

:root {
  /* Palette */
  --navy-900: #070f24;
  --navy-800: #0b1736;
  --navy-700: #122046;
  --navy-600: #1b2c5c;
  --teal: #00e0c6;
  --teal-dark: #06b6a3;
  --blue: #4f7cff;
  --violet: #7c5cff;

  --ink: #0b1736;
  --text: #2c3553;
  --muted: #6a7490;
  --line: #e6e9f2;
  --bg: #ffffff;
  --bg-soft: #f5f7fc;

  --white: #ffffff;
  --surface: #ffffff;        /* fond des cartes / formulaires */
  --header-bg: rgba(255,255,255,.82);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --shadow-sm: 0 4px 14px rgba(11, 23, 54, .06);
  --shadow: 0 18px 50px rgba(11, 23, 54, .10);
  --shadow-lg: 0 30px 80px rgba(11, 23, 54, .16);

  --grad: linear-gradient(120deg, var(--teal), var(--blue) 55%, var(--violet));
  --max: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light;
}

/* ---------- Thème sombre ---------- */
:root[data-theme="dark"] {
  --ink: #eef2fb;
  --text: #c2cadd;
  --muted: #8b93ad;
  --line: #233055;
  --bg: #070f24;
  --bg-soft: #0d1834;
  --surface: #101c3d;
  --header-bg: rgba(8, 14, 31, .82);

  --shadow-sm: 0 4px 14px rgba(0, 0, 0, .35);
  --shadow: 0 18px 50px rgba(0, 0, 0, .5);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, .6);

  color-scheme: dark;
}

/* transition douce lors du changement de thème */
body, .site-header, .card, .step, .contact-form,
.field input, .field textarea, .legal-meta, .legal-toc, .info-table th {
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: "Sora", "Inter", sans-serif; color: var(--ink); line-height: 1.15; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: "Sora", sans-serif; font-weight: 600; font-size: .95rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn-sm { padding: .6rem 1.1rem; font-size: .88rem; }
.btn-lg { padding: 1.05rem 2.2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--grad); color: #06121f; box-shadow: 0 10px 26px rgba(0, 224, 198, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(79, 124, 255, .4); }

.btn-ghost { background: rgba(255,255,255,.06); color: var(--white); border-color: rgba(255,255,255,.25); }
.btn-ghost:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--teal-dark); color: var(--teal-dark); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: "Sora", sans-serif; font-weight: 800; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--grad); color: #06121f; font-size: 1.25rem; font-weight: 800;
  box-shadow: 0 6px 16px rgba(0, 224, 198, .35);
}
.brand-text { font-size: 1.2rem; color: var(--ink); letter-spacing: .5px; }
.brand-accent { color: var(--teal-dark); }

.main-nav { display: flex; gap: 1.8rem; }
.main-nav a { font-weight: 500; color: var(--text); font-size: .95rem; position: relative; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad); transition: width .25s var(--ease);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { width: 100%; }

.nav-cta { margin-left: .5rem; }

/* Bouton thème (clair / sombre) */
.theme-toggle {
  width: 40px; height: 40px; flex: 0 0 auto; border-radius: 11px;
  display: grid; place-items: center; cursor: pointer;
  background: transparent; border: 1px solid var(--line); color: var(--ink);
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.theme-toggle:hover { border-color: var(--teal); color: var(--teal-dark); transform: translateY(-1px); }
.theme-toggle:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .ic-sun { display: none; }
.theme-toggle .ic-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .ic-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .ic-sun { display: block; }

/* Bouton de langue (FR / EN) */
.lang-toggle {
  height: 40px; flex: 0 0 auto; padding: 0 .85rem; border-radius: 11px;
  display: inline-flex; align-items: center; gap: .45rem; cursor: pointer;
  background: transparent; border: 1px solid var(--line); color: var(--ink);
  font-family: "Sora", sans-serif; font-weight: 600; font-size: .82rem; letter-spacing: .3px;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.lang-toggle:hover { border-color: var(--teal); color: var(--teal-dark); transform: translateY(-1px); }
.lang-toggle:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.lang-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; padding: 0 24px; background: var(--surface); border-bottom: 1px solid var(--line); overflow: hidden; max-height: 0; transition: max-height .35s var(--ease); }
.mobile-nav.open { max-height: 360px; }
.mobile-nav a { padding: .95rem 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.mobile-nav a:last-child { border-bottom: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy-800); color: var(--white); }
.hero-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(120deg, rgba(7,15,36,.86), rgba(11,23,54,.72) 55%, rgba(7,15,36,.86)),
    url("image/hero.png");
  background-size: cover;
  background-position: center;
}
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.orb-1 { width: 480px; height: 480px; background: radial-gradient(circle, var(--teal), transparent 70%); top: -120px; right: -80px; }
.orb-2 { width: 460px; height: 460px; background: radial-gradient(circle, var(--violet), transparent 70%); bottom: -160px; left: -100px; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 60% 30%, #000 30%, transparent 80%);
}
.hero-inner { position: relative; padding: 92px 24px 96px; text-align: center; max-width: 920px; }
.eyebrow {
  display: inline-block; font-family: "Sora", sans-serif; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; font-size: .76rem;
  color: var(--teal); margin-bottom: 1.1rem;
}
.hero .eyebrow { color: var(--teal); }
.hero-title { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; color: #fff; letter-spacing: -1px; }
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin: 1.5rem auto 0; max-width: 660px; color: rgba(255,255,255,.78); font-size: 1.1rem; }
.hero-actions { margin-top: 2.2rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-stats { margin-top: 3.4rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: 720px; margin-inline: auto; }
.stat { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 1.1rem .6rem; }
.stat-num { display: block; font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.7rem; color: #fff; }
.stat-label { font-size: .78rem; color: rgba(255,255,255,.65); }

/* ---------- Trust band ---------- */
.trust-band { background: var(--navy-900); color: rgba(255,255,255,.7); }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; padding: 16px 24px; font-size: .85rem; text-align: center; }
.trust-inner .dot { color: var(--teal); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; letter-spacing: -.5px; }
.section-lead { margin-top: 1rem; color: var(--muted); font-size: 1.08rem; }

/* ---------- Cards grid (services) ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.5rem; margin-bottom: 1.1rem;
  background: linear-gradient(135deg, rgba(0,224,198,.16), rgba(124,92,255,.16));
}
.service-card h3 { font-size: 1.18rem; margin-bottom: .6rem; }
.service-card p { color: var(--muted); font-size: .96rem; }
.highlight-card { background: linear-gradient(150deg, var(--navy-800), var(--navy-700)); color: #fff; border-color: transparent; }
.highlight-card h3 { color: #fff; }
.highlight-card p { color: rgba(255,255,255,.78); }
.highlight-card .card-icon { background: rgba(255,255,255,.12); }

/* ---------- Services (remasterisé) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; }

.service-card { position: relative; overflow: hidden; padding-top: 2.3rem; }
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card[data-num]::after {
  content: attr(data-num); position: absolute; top: 1.5rem; right: 1.7rem;
  font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.15rem;
  color: var(--line); transition: color .3s var(--ease);
}
.service-card:hover[data-num]::after { color: var(--teal); }

.service-card .card-icon { transition: transform .35s var(--ease); }
.service-card:hover .card-icon { transform: translateY(-2px) rotate(-4deg) scale(1.06); }
.card-icon svg { width: 27px; height: 27px; fill: none; stroke: var(--teal-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.card-more {
  display: inline-flex; align-items: center; margin-top: 1.1rem;
  font-family: "Sora", sans-serif; font-weight: 600; font-size: .86rem; color: var(--teal-dark);
  opacity: 0; transform: translateX(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.service-card:hover .card-more { opacity: 1; transform: none; }

/* Bannière "feature" pleine largeur */
.service-feature {
  margin-top: 1.5rem; display: flex; align-items: center; gap: 2.2rem;
  padding: 2.3rem 2.6rem; border-radius: var(--radius-lg); position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  box-shadow: var(--shadow);
}
.service-feature::before {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,224,198,.32), transparent 70%);
  top: -150px; right: 8%; filter: blur(34px);
}
.service-feature::after {
  content: attr(data-num); position: absolute; right: 1.8rem; bottom: .4rem;
  font-family: "Sora", sans-serif; font-weight: 800; font-size: 4.5rem; line-height: 1;
  color: rgba(255,255,255,.06);
}
.service-feature > * { position: relative; z-index: 1; }
.feature-icon { flex: 0 0 auto; width: 66px; height: 66px; border-radius: 18px; display: grid; place-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.14); }
.feature-icon svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature-text { flex: 1; }
.feature-text .eyebrow { color: var(--teal); margin-bottom: .5rem; }
.feature-text h3 { color: #fff; font-size: 1.35rem; margin-bottom: .45rem; }
.feature-text p:not(.eyebrow) { color: rgba(255,255,255,.8); font-size: .97rem; max-width: 64ch; }
.service-feature .btn { flex: 0 0 auto; }

@media (max-width: 760px) {
  .service-feature { flex-direction: column; align-items: flex-start; gap: 1.4rem; padding: 2rem 1.6rem; text-align: left; }
  .service-feature .btn { width: 100%; }
}

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split-text .section-title { text-align: left; }
.feature-list { margin: 1.6rem 0 2rem; display: grid; gap: .85rem; }
.feature-list li { position: relative; padding-left: 1.9rem; color: var(--text); }
.feature-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); color: #06121f; font-size: .75rem; font-weight: 700; display: grid; place-items: center; }

/* code visual */
.visual-card { background: var(--navy-800); border-radius: var(--radius-lg); padding: 1.2rem; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08); }
.vc-row { display: flex; gap: .5rem; padding: .3rem .4rem 1rem; }
.vc-dot { width: 12px; height: 12px; border-radius: 50%; }
.vc-dot.red { background: #ff5f57; } .vc-dot.yellow { background: #febc2e; } .vc-dot.green { background: #28c840; }
.code-block { margin: 0; padding: 0 .6rem .6rem; overflow-x: auto; }
.code-block code { font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace; font-size: .9rem; line-height: 1.7; color: #cdd6f4; white-space: pre; }
.c-key { color: #f38ba8; } .c-var { color: #89dceb; } .c-prop { color: #94e2d5; } .c-str { color: #a6e3a1; } .c-num { color: #fab387; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-name { font-size: 1.15rem; }
.price-tag { margin: .9rem 0 .4rem; display: flex; align-items: baseline; gap: .35rem; }
.price-amount { font-family: "Sora", sans-serif; font-size: 2.4rem; font-weight: 800; color: var(--ink); }
.price-period { color: var(--muted); font-size: .95rem; }
.price-desc { color: var(--muted); font-size: .92rem; min-height: 2.6em; }
.price-features { margin: 1.3rem 0 1.6rem; display: grid; gap: .7rem; }
.price-features li { position: relative; padding-left: 1.6rem; font-size: .94rem; color: var(--text); }
.price-features li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-dark); font-weight: 800; }
.price-card .btn { margin-top: auto; }

.price-card.popular { border: 2px solid var(--teal); box-shadow: var(--shadow); transform: translateY(-6px); }
.badge-popular {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #06121f; font-family: "Sora", sans-serif; font-weight: 700;
  font-size: .72rem; padding: .35rem .9rem; border-radius: 999px; letter-spacing: .4px;
  box-shadow: 0 8px 18px rgba(0,224,198,.4);
}
.pricing-note { margin-top: 2.5rem; text-align: center; color: var(--muted); font-size: .88rem; max-width: 800px; margin-inline: auto; }
.pricing-note a { color: var(--teal-dark); text-decoration: underline; }

/* ---------- Steps ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
/* ligne de progression reliant les étapes */
.steps::before {
  content: ""; position: absolute; top: 34px; left: 12.5%; right: 12.5%; height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--blue) 55%, var(--violet));
  opacity: .55; border-radius: 2px;
}
.step { position: relative; text-align: center; padding: 0 .4rem; }
.step-node {
  position: relative; z-index: 1; width: 68px; height: 68px; margin: 0 auto 1.3rem;
  border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 2px solid var(--line);
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover .step-node { transform: translateY(-5px); border-color: transparent; background: var(--grad); box-shadow: 0 14px 30px rgba(0,224,198,.38); }
.step-num {
  grid-area: 1 / 1; font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.5rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: opacity .25s var(--ease);
}
.step-ic { grid-area: 1 / 1; width: 26px; height: 26px; fill: none; stroke: #06121f; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .25s var(--ease); }
.step:hover .step-num { opacity: 0; }
.step:hover .step-ic { opacity: 1; }
.step h3 { font-size: 1.12rem; margin: .2rem 0 .55rem; }
.step p { color: var(--muted); font-size: .94rem; max-width: 28ch; margin: 0 auto; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy-800), var(--navy-700)); color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(0,224,198,.35), transparent 70%); top: -160px; right: -80px; filter: blur(40px); }
.cta-inner { position: relative; text-align: center; padding: 80px 24px; }
.cta-inner h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.cta-inner p { margin: 1rem auto 2rem; color: rgba(255,255,255,.78); max-width: 560px; }

/* ---------- Contact form ---------- */
.contact-info { margin-top: 1.6rem; display: grid; gap: .7rem; color: var(--text); }
.contact-info strong { color: var(--ink); }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-family: "Sora", sans-serif; font-weight: 600; font-size: .85rem; color: var(--ink); }
.field input, .field textarea {
  width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; color: var(--ink); background: var(--bg-soft); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: var(--surface); box-shadow: 0 0 0 4px rgba(0,224,198,.14); }
.field textarea { resize: vertical; }
.form-feedback { font-size: .9rem; font-weight: 500; min-height: 1.2em; margin-top: .2rem; }
.form-feedback.ok { color: var(--teal-dark); }
.form-feedback.err { color: #e0566c; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 48px; }
.footer-brand p { margin-top: 1rem; max-width: 280px; font-size: .92rem; color: rgba(255,255,255,.6); }
.footer-brand .brand-text { color: #fff; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.footer-col a { display: block; padding: .35rem 0; font-size: .92rem; color: rgba(255,255,255,.65); }
.footer-col a:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: rgba(255,255,255,.55); }
.footer-secure { white-space: nowrap; }

/* =========================================================
   Legal / content pages
   ========================================================= */
.page-hero { background: var(--navy-800); color: #fff; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(0,224,198,.3), transparent 70%); top: -140px; right: -60px; filter: blur(50px); }
.page-hero-inner { position: relative; padding: 70px 24px 60px; max-width: 820px; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.page-hero p { color: rgba(255,255,255,.72); margin-top: .8rem; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 1rem; }
.breadcrumb a { color: var(--teal); }

.legal { padding: 64px 0 90px; }
.legal-wrap { max-width: 820px; margin: 0 auto; }
.legal-wrap h2 { font-size: 1.4rem; margin: 2.4rem 0 .8rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.legal-wrap h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.legal-wrap h3 { font-size: 1.1rem; margin: 1.6rem 0 .5rem; }
.legal-wrap p, .legal-wrap li { color: var(--text); font-size: .98rem; }
.legal-wrap p { margin-bottom: 1rem; }
.legal-wrap ul { margin: 0 0 1.2rem; display: grid; gap: .5rem; }
.legal-wrap ul li { position: relative; padding-left: 1.5rem; }
.legal-wrap ul li::before { content: "—"; position: absolute; left: 0; color: var(--teal-dark); }
.legal-wrap a { color: var(--teal-dark); text-decoration: underline; }
.legal-meta { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.4rem; font-size: .9rem; color: var(--muted); margin-bottom: 2.4rem; }
.legal-toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.6rem; margin-bottom: 2.6rem; }
.legal-toc h4 { font-family: "Sora", sans-serif; margin-bottom: .8rem; color: var(--ink); }
.legal-toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .35rem; color: var(--text); }
.legal-toc a { color: var(--teal-dark); text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
.info-table { width: 100%; border-collapse: collapse; margin: 0 0 1.5rem; font-size: .94rem; }
.info-table th, .info-table td { text-align: left; padding: .7rem .9rem; border: 1px solid var(--line); vertical-align: top; }
.info-table th { background: var(--bg-soft); width: 38%; font-family: "Sora", sans-serif; font-weight: 600; color: var(--ink); }

/* =========================================================
   Page de connexion (auth)
   ========================================================= */
.auth-body { min-height: 100vh; display: flex; }
.auth-wrap { display: grid; grid-template-columns: 1.05fr 1fr; width: 100%; min-height: 100vh; }

/* ----- Panneau de gauche (vitrine) ----- */
.auth-aside {
  position: relative; overflow: hidden; color: #fff;
  background: var(--navy-800);
  padding: 48px 56px; display: flex; flex-direction: column; justify-content: space-between;
}
.auth-aside-bg { position: absolute; inset: 0;
  background-image: linear-gradient(150deg, rgba(7,15,36,.82), rgba(11,23,54,.72) 55%, rgba(7,15,36,.9)), url("image/hero.png");
  background-size: cover; background-position: center; }
.auth-aside .orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.auth-aside .orb-1 { width: 360px; height: 360px; background: radial-gradient(circle, var(--teal), transparent 70%); top: -100px; right: -80px; }
.auth-aside .orb-2 { width: 340px; height: 340px; background: radial-gradient(circle, var(--violet), transparent 70%); bottom: -120px; left: -60px; }
.auth-aside > * { position: relative; z-index: 1; }

.auth-aside .brand-text { color: #fff; }
.auth-aside-headline { margin-top: auto; }
.auth-aside-headline h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.2; max-width: 18ch; }
.auth-aside-headline p { color: rgba(255,255,255,.78); margin-top: 1rem; max-width: 42ch; }
.auth-points { margin-top: 2rem; display: grid; gap: .9rem; }
.auth-points li { position: relative; padding-left: 2rem; color: rgba(255,255,255,.9); font-size: .96rem; }
.auth-points li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); color: #06121f; font-weight: 700; font-size: .75rem; display: grid; place-items: center; }
.auth-aside-foot { margin-top: 2.4rem; font-size: .82rem; color: rgba(255,255,255,.6); }

/* ----- Panneau de droite (formulaire) ----- */
.auth-main { position: relative; display: flex; align-items: center; justify-content: center; padding: 48px 24px; background: var(--bg); }
.auth-tools { position: absolute; top: 22px; right: 24px; display: flex; gap: .6rem; }
.auth-card { width: 100%; max-width: 410px; }
.auth-back { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .88rem; margin-bottom: 1.6rem; }
.auth-back:hover { color: var(--teal-dark); }
.auth-card h1 { font-size: clamp(1.6rem, 3vw, 2rem); }
.auth-card .auth-sub { color: var(--muted); margin-top: .5rem; margin-bottom: 2rem; }

.auth-form { display: grid; gap: 1.1rem; }
.auth-form .field label { font-family: "Sora", sans-serif; font-weight: 600; font-size: .85rem; color: var(--ink); }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap input { width: 100%; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); font-family: inherit; font-size: .95rem; color: var(--ink); background: var(--bg-soft); transition: border-color .2s, box-shadow .2s, background .2s; }
.input-wrap input.has-icon { padding-right: 2.8rem; }
.input-wrap input:focus { outline: none; border-color: var(--teal); background: var(--surface); box-shadow: 0 0 0 4px rgba(0,224,198,.14); }
.pw-toggle { position: absolute; right: .6rem; width: 34px; height: 34px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--muted); border-radius: 8px; }
.pw-toggle:hover { color: var(--teal-dark); background: var(--bg-soft); }
.pw-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pw-toggle .ic-eye-off { display: none; }
.pw-toggle.show .ic-eye { display: none; }
.pw-toggle.show .ic-eye-off { display: block; }

.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .88rem; }
.remember { display: inline-flex; align-items: center; gap: .5rem; color: var(--text); cursor: pointer; user-select: none; }
.remember input { width: 16px; height: 16px; accent-color: var(--teal-dark); cursor: pointer; }
.auth-link { color: var(--teal-dark); font-weight: 600; }
.auth-link:hover { text-decoration: underline; }

.auth-divider { display: flex; align-items: center; gap: 1rem; color: var(--muted); font-size: .82rem; margin: .4rem 0; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.social-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.btn-social { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font-family: "Sora", sans-serif; font-weight: 600; font-size: .9rem; cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s; }
.btn-social:hover { border-color: var(--teal); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-social svg { width: 18px; height: 18px; }

.auth-foot { text-align: center; margin-top: 1.8rem; color: var(--muted); font-size: .92rem; }
.auth-legal { text-align: center; margin-top: 1.4rem; color: var(--muted); font-size: .78rem; line-height: 1.6; }
.auth-legal a { color: var(--teal-dark); text-decoration: underline; }

@media (max-width: 860px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .cards-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 860px) {
  .main-nav, .nav-cta, .nav-login { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: flex; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-visual { order: -1; }
  #contact .split-visual { order: 0; }
}
@media (max-width: 620px) {
  .section { padding: 68px 0; }
  .cards-grid, .pricing-grid, .steps { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .hero-inner { padding: 70px 24px 76px; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
