/* =========================================================
   INNOVSYS — feuille de style principale
   ========================================================= */
:root {
  --blue: #1376A0;
  --blue-600: #0F6087;
  --blue-700: #0B4C6B;
  --blue-300: #6FB3D2;
  --blue-50: #EAF4F8;
  --ink: #24282C;          /* gris anthracite */
  --ink-900: #1A1D20;
  --ink-800: #2B3035;
  --text: #2E3338;
  --muted: #5E666E;
  --line: #E2E7EB;
  --soft: #F4F7F9;
  --white: #FFFFFF;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(20, 30, 40, .06), 0 2px 8px rgba(20, 30, 40, .04);
  --shadow: 0 10px 30px -12px rgba(15, 50, 75, .22);
  --header-h: 72px;
  --container: 1180px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 28px; } }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(19, 118, 160, .7); }
.btn--primary:hover { background: var(--blue-600); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--whatsapp { background: #25D366; color: #0B2E17; margin-top: 28px; }
.btn--whatsapp:hover { background: #2fe072; }
.btn--whatsapp svg { width: 20px; height: 20px; fill: currentColor; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ---------- Eyebrow / tags / icons ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--blue-300); }

.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: var(--blue-50); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }

.icon { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--lg { width: 60px; height: 60px; border-radius: 16px; background: var(--blue); color: #fff; }
.icon--lg svg { width: 30px; height: 30px; }
.icon--sm { width: 40px; height: 40px; border-radius: 10px; }
.icon--sm svg { width: 20px; height: 20px; }
.icon--dark { background: rgba(255, 255, 255, .07); color: var(--blue-300); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -14px rgba(15, 40, 60, .35); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand img { height: 38px; width: auto; }
.header__tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.nav { display: none; }
.nav__list { display: flex; gap: 4px; }
.nav__list a {
  display: block; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-800);
  transition: color .2s, background-color .2s;
}
.nav__list a:hover { color: var(--blue); background: var(--blue-50); }
.nav__list a.is-active { color: var(--blue); }

.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: #fff; }
.lang__btn { border: 0; background: transparent; padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s; }
.lang__btn.is-active { background: var(--ink); color: #fff; }

.burger { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; display: grid; place-content: center; gap: 5px; cursor: pointer; }
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
@media (max-width: 1023px) {
  .nav {
    display: flex; flex-direction: column; gap: 16px;
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 16px 16px 24px;
    box-shadow: 0 20px 40px -20px rgba(15, 40, 60, .35);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; }
  .nav__list a { padding: 14px 12px; border-radius: 10px; font-size: 17px; border-bottom: 1px solid var(--soft); }
  .nav__cta { align-self: stretch; padding: 14px; font-size: 16px; }
}
@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
  .header__tools { margin-left: 0; }
  .burger { display: none; }
  .brand img { height: 42px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink-900); color: #fff; isolation: isolate; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(800px 500px at 85% 15%, rgba(19, 118, 160, .45), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(19, 118, 160, .25), transparent 60%),
    linear-gradient(180deg, #1A1D20 0%, #22272C 100%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
          mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
  animation: grid-drift 30s linear infinite;
}
@keyframes grid-drift { to { background-position: 48px 48px, 48px 48px; } }
.hero__mark { position: absolute; z-index: -1; right: -120px; bottom: -110px; width: 520px; opacity: .05; pointer-events: none; }

.hero__inner { display: grid; gap: 40px; padding-top: 56px; padding-bottom: 64px; }
.hero h1 { color: #fff; font-size: clamp(32px, 7.4vw, 58px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 20px; }
.hero h1 span { color: var(--blue-300); }
.hero__lead { font-size: clamp(16px, 2.2vw, 19px); color: rgba(255, 255, 255, .78); max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__actions .btn { flex: 1 1 200px; }
.hero__trust { display: grid; gap: 10px; margin-top: 32px; font-size: 14.5px; color: rgba(255, 255, 255, .8); }
.hero__trust li { display: flex; align-items: center; gap: 10px; }
.hero__trust svg { width: 18px; height: 18px; fill: none; stroke: var(--blue-300); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.hero__pillars { display: grid; gap: 12px; }
.pillar a {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background-color .25s, border-color .25s, transform .25s;
}
.pillar a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(111, 179, 210, .5); transform: translateX(4px); }
.pillar strong { display: block; font-size: 16.5px; color: #fff; }
.pillar small { display: block; font-size: 14px; color: rgba(255, 255, 255, .62); }
.pillar__icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(19, 118, 160, .25); color: var(--blue-300); }
.pillar__icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pillar--main a { background: var(--blue); border-color: var(--blue); }
.pillar--main a:hover { background: var(--blue-600); border-color: var(--blue-600); }
.pillar--main .pillar__icon { background: rgba(255, 255, 255, .16); color: #fff; }
.pillar--main small { color: rgba(255, 255, 255, .85); }

@media (min-width: 960px) {
  .hero__inner { grid-template-columns: 1.25fr 1fr; align-items: center; gap: 64px; padding-top: 96px; padding-bottom: 104px; }
  .hero__actions .btn { flex: 0 0 auto; }
  .hero__trust { display: flex; flex-wrap: wrap; gap: 10px 24px; }
  .hero__mark { right: -80px; bottom: -140px; width: 640px; }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: rgba(255, 255, 255, .82); }
.section--dark h2 { color: #fff; }
.section__head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section__head .eyebrow { justify-content: center; }
.section h2 { font-size: clamp(28px, 4.6vw, 42px); font-weight: 800; }
.section__lead { margin-top: 16px; font-size: 17px; color: var(--muted); }
@media (min-width: 960px) { .section { padding: 104px 0; } .section__head { margin-bottom: 60px; } }

/* Checks list */
.checks { display: grid; gap: 10px; margin: 22px 0 28px; }
.checks li { position: relative; padding-left: 30px; color: var(--text); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231376A0' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.checks--sm { gap: 8px; margin: 18px 0 0; font-size: 15px; }

/* Feature (Formation) */
.feature {
  display: grid; border-radius: 20px; overflow: hidden; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow); margin-bottom: 24px;
}
.feature__body { padding: 28px 22px; }
.feature__title { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.feature__title h3 { font-size: clamp(26px, 4vw, 34px); font-weight: 800; }
.feature__body > p { font-size: 17px; color: var(--muted); max-width: 620px; }
.feature__aside {
  position: relative; padding: 28px 22px; color: #fff;
  background: linear-gradient(150deg, var(--blue) 0%, var(--blue-700) 100%);
}
.feature__aside::after { content: ""; position: absolute; inset: 0; background: url("../img/logo-mark-white.png") right -60px bottom -60px / 260px no-repeat; opacity: .08; pointer-events: none; }
.feature__aside-title { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .75); margin-bottom: 16px; }
.tracks { display: grid; gap: 2px; position: relative; z-index: 1; }
.tracks li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); font-weight: 600; font-size: 16.5px; }
.tracks li:last-child { border-bottom: 0; }
.tracks li span:first-child { font-size: 13px; font-weight: 800; color: rgba(255, 255, 255, .55); min-width: 22px; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1.45fr 1fr; }
  .feature__body { padding: 48px; }
  .feature__aside { padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; }
}

/* Cards */
.cards { display: grid; gap: 20px; }
.card {
  position: relative; padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card h3 { font-size: 21px; font-weight: 800; margin: 20px 0 10px; }
.card > p { color: var(--muted); }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } .card { padding: 32px 28px; } }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.partners li {
  display: grid; place-items: center; height: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.partners li:hover { border-color: var(--blue-300); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.partner { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: #8C959D; transition: color .25s; }
.partners li:hover .partner { color: var(--blue); }
@media (min-width: 640px) { .partners { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .partners { grid-template-columns: repeat(6, 1fr); } .partners li { height: 112px; } }

/* About */
.about { display: grid; gap: 40px; }
.about__intro h2 { margin-bottom: 18px; }
.about__intro > p { font-size: 17px; color: var(--muted); }
.about__zone { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding: 14px 16px; background: var(--soft); border-radius: var(--radius-sm); font-weight: 600; color: var(--ink); font-size: 15px; }
.about__grid { display: grid; gap: 16px; }
.mvv { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.mvv h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; margin-bottom: 10px; color: var(--blue); }
.mvv h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.mvv p { color: var(--muted); }
.mvv--values { background: var(--ink); border-color: var(--ink); }
.mvv--values h3 { color: #fff; }
.mvv--values h3::before { background: var(--blue-300); }
.values { display: grid; gap: 14px; margin-top: 6px; }
.values li { display: grid; gap: 2px; }
.values strong { color: #fff; font-size: 16px; }
.values span { color: rgba(255, 255, 255, .65); font-size: 15px; }
@media (min-width: 640px) {
  .about__grid { grid-template-columns: 1fr 1fr; }
  .mvv--values { grid-column: 1 / -1; }
  .values { grid-template-columns: 1fr 1fr; gap: 18px 28px; }
}
@media (min-width: 1024px) {
  .about { grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
  .about__intro { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* Contact */
.contact { display: grid; gap: 40px; }
.contact__lead { margin-top: 16px; font-size: 17px; color: rgba(255, 255, 255, .7); }
.coords { display: grid; gap: 18px; margin-top: 32px; }
.coords li { display: flex; align-items: center; gap: 16px; }
.coords small { display: block; font-size: 13px; color: rgba(255, 255, 255, .55); }
.coords a { font-weight: 700; font-size: 17px; color: #fff; word-break: break-word; transition: color .2s; }
.coords a:hover { color: var(--blue-300); }

.form { background: #fff; color: var(--text); border-radius: 18px; padding: 24px 20px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.form__row { display: grid; gap: 0 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--soft);
  font-size: 16px; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E666E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background-color: #fff; box-shadow: 0 0 0 4px rgba(19, 118, 160, .12); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: #C83A3A; background-color: #FFF7F7; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin-top: 14px; font-weight: 600; font-size: 15px; min-height: 1px; }
.form__status.is-ok { color: #13784A; }
.form__status.is-err { color: #C83A3A; }
.form__note { margin-top: 10px; font-size: 13px; color: var(--muted); }
@media (min-width: 640px) { .form { padding: 36px; } .form__row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .contact { grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; } }

/* Footer */
.footer { background: var(--ink-900); color: rgba(255, 255, 255, .65); font-size: 15px; padding-top: 64px; }
.footer__grid { display: grid; gap: 36px; padding-bottom: 44px; }
.footer__brand img { height: 40px; width: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 340px; }
.footer__title { color: #fff; font-weight: 800; margin-bottom: 14px; font-size: 15px; }
.footer__col ul { display: grid; gap: 10px; }
.footer a { transition: color .2s; }
.footer a:hover { color: #fff; }
.social { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 9px 16px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; color: #fff; font-weight: 600; font-size: 14px; }
.social svg { width: 16px; height: 16px; fill: currentColor; }
.social:hover { background: #0A66C2; border-color: #0A66C2; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 22px; padding-bottom: 90px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; } }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45);
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .cards .reveal:nth-child(2), .js .about__grid .reveal:nth-child(2) { transition-delay: .08s; }
.js .cards .reveal:nth-child(3), .js .about__grid .reveal:nth-child(3) { transition-delay: .16s; }

.hero__text > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero__text > *:nth-child(2) { animation-delay: .08s; }
.hero__text > *:nth-child(3) { animation-delay: .16s; }
.hero__text > *:nth-child(4) { animation-delay: .24s; }
.hero__text > *:nth-child(5) { animation-delay: .32s; }
.hero__pillars .pillar { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero__pillars .pillar:nth-child(1) { animation-delay: .3s; }
.hero__pillars .pillar:nth-child(2) { animation-delay: .38s; }
.hero__pillars .pillar:nth-child(3) { animation-delay: .46s; }
.hero__pillars .pillar:nth-child(4) { animation-delay: .54s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

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

/* Legal page */
.legal { padding: 56px 0 88px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(30px, 5vw, 42px); font-weight: 800; margin-bottom: 8px; }
.legal h2 { font-size: 21px; font-weight: 800; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 10px; }
.legal a { color: var(--blue); font-weight: 600; }
.back { display: inline-flex; gap: 8px; color: var(--blue); font-weight: 700; margin-bottom: 28px; }

/* =========================================================
   V2 — enrichissements visuels + vouchers
   ========================================================= */
:root { --cyan: #38B6E0; --grad: linear-gradient(135deg, #1A8BBB 0%, #1376A0 45%, #0E5A80 100%); }

/* Boutons : dégradé + reflet */
.btn { position: relative; overflow: hidden; }
.btn--primary { background: var(--grad); }
.btn--primary:hover { background: var(--grad); box-shadow: 0 14px 30px -10px rgba(19, 118, 160, .85); }
.btn--primary::after, .btn--white::after {
  content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn--primary:hover::after, .btn--white:hover::after { left: 130%; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn--whatsapp svg { fill: currentColor; stroke: none; }
.btn--white { background: #fff; color: var(--blue-700); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .5); }
.btn--white:hover { color: var(--blue); }

/* Barre de progression de lecture */
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: linear-gradient(90deg, var(--cyan), var(--blue)); transform-origin: left; transform: scaleX(0); }

/* Lien Vouchers dans le menu */
@media (min-width: 1024px) {
  .nav__list a.nav__voucher { color: var(--blue); background: var(--blue-50); }
  .nav__list a.nav__voucher:hover { background: #d9ecf4; }
}

/* Mots mis en valeur dans les titres */
.hl { background: linear-gradient(90deg, var(--blue) 0%, var(--cyan) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hl--light, .section--dark .hl { background-image: linear-gradient(90deg, #7CC6E6 0%, #BFE7F7 100%); }

/* ---------- Hero ---------- */
.hero h1 span { background: linear-gradient(90deg, #5FB4DA 0%, #A9E0F5 60%, #5FB4DA 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.orb--1 { width: 420px; height: 420px; background: #1376A0; top: -120px; right: 5%; animation: float1 16s ease-in-out infinite; }
.orb--2 { width: 320px; height: 320px; background: #2AA7D8; bottom: -140px; left: -80px; opacity: .35; animation: float2 20s ease-in-out infinite; }
.orb--3 { width: 220px; height: 220px; background: #0B4C6B; top: 40%; left: 45%; opacity: .5; animation: float1 22s ease-in-out infinite reverse; }
@keyframes float1 { 50% { transform: translate(-60px, 50px) scale(1.1); } }
@keyframes float2 { 50% { transform: translate(70px, -40px) scale(.95); } }

.hero__pill {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  padding: 6px 14px 6px 6px; margin-bottom: 22px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .9);
  transition: background-color .25s, border-color .25s;
}
.hero__pill:hover { background: rgba(255, 255, 255, .12); border-color: rgba(111, 179, 210, .6); }
.hero__pill > span:nth-child(2) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero__pill-tag { flex: none; padding: 4px 10px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.hero__pill svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--blue-300); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.hero__pill:hover svg { transform: translate(2px, -2px); }

.hero__pillars .pillar:nth-child(5) { animation-delay: .62s; }
.pillar--main a { background: var(--grad); box-shadow: 0 18px 40px -18px rgba(19, 118, 160, .9); }
.pillar--main a:hover { background: var(--grad); }
.pillar--voucher a { border-style: dashed; border-color: rgba(111, 179, 210, .45); background: rgba(56, 182, 224, .07); }
.pillar--voucher .pillar__icon { background: rgba(56, 182, 224, .18); color: #8ED3EE; }
.pillar a { position: relative; }
.pillar a::after { content: "→"; margin-left: auto; color: rgba(255, 255, 255, .35); font-weight: 700; transition: transform .25s, color .25s; }
.pillar a:hover::after { transform: translateX(4px); color: #fff; }

/* ---------- Cartes : numéro, icône dégradée, halo au survol ---------- */
.card, .mvv { overflow: hidden; }
.card__num { position: absolute; top: 22px; right: 24px; font-size: 40px; font-weight: 800; line-height: 1; color: var(--soft); letter-spacing: -0.04em; transition: color .3s; }
.card:hover .card__num { color: var(--blue-50); }
.card .icon { position: relative; z-index: 1; background: var(--grad); color: #fff; box-shadow: 0 10px 22px -10px rgba(19, 118, 160, .8); transition: transform .35s; }
.card:hover .icon { transform: rotate(-6deg) scale(1.06); }
.card > *:not(.card__num) { position: relative; z-index: 1; }
.card::after, .mvv::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(19, 118, 160, .09), transparent 60%);
}
.card:hover::after, .mvv:hover::after { opacity: 1; }
.mvv--values::after { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(111, 179, 210, .14), transparent 60%); }
.mvv { position: relative; transition: transform .3s, box-shadow .3s; }
.mvv:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.feature { position: relative; }
.feature__aside { background: linear-gradient(150deg, #1A8BBB 0%, var(--blue) 40%, var(--blue-700) 100%); }
.tracks li { transition: padding-left .25s; }
.tracks li:hover { padding-left: 6px; }

/* Section claire à motif */
.section--soft { background-color: var(--soft); background-image: radial-gradient(rgba(19, 118, 160, .12) 1px, transparent 1px); background-size: 22px 22px; }

/* ---------- Partenaires : défilement continu ---------- */
.marquee {
  overflow: hidden; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; gap: 16px; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li {
  flex: none; display: grid; place-items: center; width: 200px; height: 104px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: border-color .25s, transform .25s;
}
.marquee__track li:hover { border-color: var(--blue-300); transform: translateY(-3px); }
.marquee__track li:hover .partner { color: var(--blue); }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }
@media (max-width: 640px) { .marquee__track li { width: 150px; height: 84px; } .partner { font-size: 20px; } }

/* ---------- Vouchers ---------- */
.vouchers { position: relative; overflow: hidden; isolation: isolate; color: rgba(255, 255, 255, .85); background: linear-gradient(135deg, #0E5A80 0%, #0B3F59 55%, #1A1D20 100%); }
.vouchers h2 { color: #fff; }
.vouchers__bg { position: absolute; inset: 0; z-index: -1; }
.vouchers__bg .orb--1 { top: -160px; right: -60px; background: #2AA7D8; opacity: .35; }
.vouchers__bg .orb--2 { bottom: -160px; left: 20%; background: #1376A0; opacity: .5; }
.vouchers__bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 24px 24px; -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); }
.vouchers__inner { display: grid; gap: 56px; align-items: center; }
.vouchers__lead { margin-top: 16px; font-size: 17px; color: rgba(255, 255, 255, .75); max-width: 560px; }
.steps { list-style: none; margin: 30px 0 34px; padding: 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); transition: background-color .25s, transform .25s; }
.steps li:hover { background: rgba(255, 255, 255, .09); transform: translateX(4px); }
.steps__n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #0B3F59; background: linear-gradient(135deg, #BFE7F7, #6FB3D2); }
.steps strong { display: block; color: #fff; font-size: 16px; }
.steps small { display: block; color: rgba(255, 255, 255, .62); font-size: 14px; }
.vouchers__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.vouchers__actions .btn { flex: 1 1 220px; }

.tickets { position: relative; max-width: 420px; width: 100%; margin: 0 auto; padding: 24px 0; }
.ticket {
  position: relative; z-index: 1; border-radius: 22px; padding: 26px 26px 20px; color: #fff;
  background: linear-gradient(145deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06));
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .25);
  transform: rotate(-4deg); animation: ticket 7s ease-in-out infinite;
}
.ticket--back { position: absolute; inset: 24px 0; z-index: 0; transform: rotate(6deg) translate(18px, 10px); background: linear-gradient(145deg, #1A8BBB, #0B4C6B); border: 0; opacity: .7; animation: none; }
@keyframes ticket { 50% { transform: rotate(-2deg) translateY(-10px); } }
.ticket__top { display: flex; align-items: center; justify-content: space-between; }
.ticket__top img { width: 44px; height: auto; }
.ticket__label { font-size: 12px; font-weight: 800; letter-spacing: .2em; color: rgba(255, 255, 255, .8); }
.ticket__title { margin-top: 34px; font-size: clamp(26px, 5vw, 32px); font-weight: 800; letter-spacing: -0.02em; }
.ticket__code { display: flex; gap: 10px; margin-top: 14px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 15px; letter-spacing: .12em; }
.ticket__code span { padding: 6px 10px; border-radius: 8px; background: rgba(0, 0, 0, .2); }
.ticket__cut { position: relative; margin: 24px -26px 16px; border-top: 2px dashed rgba(255, 255, 255, .3); }
.ticket__cut::before, .ticket__cut::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: #0D4F70; }
.ticket__cut::before { left: -12px; }
.ticket__cut::after { right: -12px; }
.ticket__bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.ticket__badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: #fff; color: var(--blue-700); font-size: 13px; font-weight: 800; }
.ticket__badge svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

@media (min-width: 960px) {
  .vouchers__inner { grid-template-columns: 1.2fr 1fr; gap: 80px; }
  .vouchers__actions .btn { flex: 0 0 auto; }
}

/* Contact : léger halo */
.section--dark { position: relative; overflow: hidden; background: radial-gradient(700px 400px at 0% 0%, rgba(19, 118, 160, .28), transparent 60%), var(--ink); }
.coords li { padding: 10px; margin: -10px; border-radius: 12px; transition: background-color .2s; }
.coords li:hover { background: rgba(255, 255, 255, .04); }
