/* ============================================================
   Sixpline — feuille de style (site vitrine)
   ============================================================ */
:root {
  --navy-900: #071429;
  --navy-800: #0B1E3B;
  --navy-700: #102a4f;
  --navy-600: #17376a;

  --ink: #0F172A;
  --slate: #475569;
  --slate-light: #64748B;
  --line: #E6EBF2;

  --bg: #FFFFFF;
  --bg-alt: #F5F8FC;

  --accent: #14B8A6;
  --accent-2: #38BDF8;
  --accent-blue: #2563EB;
  --grad: linear-gradient(120deg, #38BDF8 0%, #14B8A6 100%);
  --grad-soft: linear-gradient(120deg, rgba(56,189,248,.16), rgba(20,184,166,.16));

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 4px 12px rgba(15,23,42,.05);
  --shadow-md: 0 8px 30px rgba(15,23,42,.09);
  --shadow-lg: 0 24px 60px rgba(11,30,59,.16);

  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { transition: transform .2s ease; }
.btn-primary {
  background: var(--grad); color: #04222b;
  box-shadow: 0 8px 22px rgba(20,184,166,.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(20,184,166,.42); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost {
  background: rgba(255,255,255,.04); color: var(--navy-800);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-blue); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-head); font-weight: 600; color: var(--accent-blue);
  margin-top: 6px;
}
.link-arrow svg { transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow.sm { font-size: 14px; margin-top: 14px; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { display: grid; place-items: center; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 21px; letter-spacing: -.02em; color: var(--navy-800); }
.brand-accent { color: var(--accent); }

.main-nav { display: flex; gap: 30px; }
.main-nav a {
  font-size: 15px; font-weight: 500; color: var(--slate);
  position: relative; padding: 4px 0; transition: color .2s ease;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--grad); transition: width .25s ease;
}
.main-nav a:hover { color: var(--navy-800); }
.main-nav a:hover::after { width: 100%; }

.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(--navy-800); border-radius: 2px; transition: transform .3s ease, opacity .2s 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; gap: 4px; padding: 12px 24px 22px; background: #fff; border-bottom: 1px solid var(--line); }
.mobile-nav a { padding: 12px 4px; font-weight: 500; color: var(--navy-800); border-bottom: 1px solid var(--line); }
.mobile-nav a:last-child { border: 0; margin-top: 10px; }
.mobile-nav .btn { padding: 14px; }

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: 74px 0 0; overflow: hidden; background: var(--bg-alt); }
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.orb-1 { width: 480px; height: 480px; background: radial-gradient(circle, rgba(56,189,248,.55), transparent 70%); top: -140px; right: -120px; animation: float 14s ease-in-out infinite; }
.orb-2 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(20,184,166,.5), transparent 70%); bottom: -160px; left: -100px; animation: float 16s ease-in-out infinite reverse; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(15,23,42,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(15,23,42,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 100%);
}
@keyframes float { 0%,100% { transform: translate(0,0); } 50% { transform: translate(20px,-24px); } }

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 54px; align-items: center;
  padding-bottom: 70px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 13.5px; letter-spacing: .01em;
  color: var(--navy-700); background: #fff; border: 1px solid var(--line);
  padding: 7px 15px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(20,184,166,.18); }

.hero-title {
  font-family: var(--font-head); font-weight: 800; letter-spacing: -.03em;
  font-size: clamp(2.3rem, 5vw, 3.7rem); line-height: 1.06; color: var(--navy-900);
  margin: 22px 0 20px;
}
.hero-lead { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--slate); max-width: 540px; }
.hero-lead strong { color: var(--navy-800); font-weight: 600; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 26px; list-style: none; }
.hero-badges li { display: flex; flex-direction: column; }
.hero-badges strong { font-family: var(--font-head); font-size: 15px; color: var(--navy-800); }
.hero-badges span { font-size: 13px; color: var(--slate-light); }
.hero-badges li + li { padding-left: 26px; border-left: 1px solid var(--line); }

/* hero glass card */
.hero-card { justify-self: end; width: 100%; max-width: 380px; }
.hc-glass {
  background: rgba(255,255,255,.75); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.8); border-radius: 22px;
  box-shadow: var(--shadow-lg); padding: 22px;
  animation: cardIn .8s cubic-bezier(.22,1,.36,1) both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(24px) rotate(-1.5deg); } to { opacity: 1; transform: none; } }
.hc-row { display: flex; align-items: center; justify-content: space-between; }
.hc-head { margin-bottom: 16px; }
.hc-title { font-family: var(--font-head); font-weight: 700; color: var(--navy-800); font-size: 16px; }
.hc-tag { font-size: 12px; font-weight: 600; color: var(--accent); background: rgba(20,184,166,.12); padding: 4px 10px; border-radius: 999px; }
.hc-item { display: flex; align-items: center; gap: 13px; padding: 12px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); margin-bottom: 10px; }
.hc-ic { font-size: 20px; width: 40px; height: 40px; display: grid; place-items: center; background: var(--grad-soft); border-radius: 11px; }
.hc-item b { font-family: var(--font-head); font-size: 14.5px; color: var(--navy-800); display: block; }
.hc-item small { font-size: 12.5px; color: var(--slate-light); }
.hc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--slate); }
.hc-check { color: var(--accent); font-weight: 600; }

/* marquee */
.marquee { position: relative; z-index: 1; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.6); overflow: hidden; padding: 14px 0; }
.marquee-track { display: flex; gap: 26px; white-space: nowrap; width: max-content; animation: scroll 26s linear infinite; }
.marquee-track span { font-family: var(--font-head); font-weight: 600; color: var(--navy-700); font-size: 15px; opacity: .8; }
.marquee-track span:nth-child(even) { color: var(--accent); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------- Sections ---------------- */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-alt); }
.section-eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 13px;
  letter-spacing: .09em; text-transform: uppercase; color: var(--accent-blue);
  margin-bottom: 14px;
}
.section-eyebrow.light { color: var(--accent-2); }
.section-title {
  font-family: var(--font-head); font-weight: 800; letter-spacing: -.025em;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.12; color: var(--navy-900);
}
.section-title.light { color: #fff; }
.section-text { font-size: 1.05rem; color: var(--slate); margin-top: 16px; max-width: 560px; }
.section-text.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-text strong { color: var(--navy-800); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.section-head .section-text { margin-left: auto; margin-right: auto; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.stat-ic { font-size: 26px; }
.stat-card b { display: block; font-family: var(--font-head); font-size: 18px; color: var(--navy-800); margin: 12px 0 4px; }
.stat-card small { color: var(--slate-light); font-size: 13.5px; line-height: 1.5; }

/* cards grid */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* service cards */
.service-card {
  position: relative; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px 28px; box-shadow: var(--shadow-sm);
  overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-num { position: absolute; top: 22px; right: 24px; font-family: var(--font-head); font-weight: 800; font-size: 40px; color: var(--bg-alt); letter-spacing: -.04em; }
.service-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; background: var(--grad-soft); color: var(--accent-blue); margin-bottom: 20px; }
.service-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--navy-800); margin-bottom: 10px; }
.service-card p { color: var(--slate); font-size: 15px; }

/* audience cards */
.audience-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease;
}
.audience-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.audience-card.featured { background: linear-gradient(180deg, #fff, #f3fbfa); border-color: rgba(20,184,166,.35); }
.ac-top { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.ac-emoji { font-size: 24px; width: 48px; height: 48px; display: grid; place-items: center; background: var(--grad-soft); border-radius: 13px; }
.audience-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--navy-800); }
.audience-card p { color: var(--slate); font-size: 15px; }

/* why (dark) */
.section-dark { background: radial-gradient(120% 120% at 80% 0%, var(--navy-700), var(--navy-900)); position: relative; overflow: hidden; }
.section-dark::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, #000, transparent 75%);
}
.section-dark .container { position: relative; z-index: 1; }
.why-card {
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 30px 26px; backdrop-filter: blur(4px);
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.why-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.08); border-color: rgba(56,189,248,.4); }
.why-ic { font-size: 30px; }
.why-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: #fff; margin: 16px 0 10px; }
.why-card p { color: #b8c6dd; font-size: 15px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; margin-top: 30px; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 15px; padding: 16px 18px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s ease, transform .2s ease; }
.contact-list li:hover { border-color: var(--accent); transform: translateX(3px); }
.ci { font-size: 20px; width: 44px; height: 44px; display: grid; place-items: center; background: #fff; border-radius: 11px; box-shadow: var(--shadow-sm); }
.contact-list b { display: block; font-family: var(--font-head); font-size: 13px; color: var(--slate-light); font-weight: 600; }
.contact-list a { font-weight: 600; color: var(--navy-800); font-size: 15.5px; }
.contact-list a:hover { color: var(--accent-blue); }

.contact-form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--navy-800); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 11px; background: #fdfefe;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa7b8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(20,184,166,.15); }
.field textarea { resize: vertical; }
.form-note { margin-top: 12px; font-size: 14px; text-align: center; min-height: 20px; }
.form-note.ok { color: var(--accent); }
.form-note.err { color: #dc2626; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy-900); color: #cbd5e1; padding: 64px 0 26px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.09); }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: 14.5px; color: #93a4bd; max-width: 340px; }
.footer-col h4 { font-family: var(--font-head); font-size: 14px; color: #fff; margin-bottom: 16px; letter-spacing: .02em; }
.footer-col a { display: block; font-size: 14.5px; color: #93a4bd; padding: 6px 0; transition: color .2s ease; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; font-size: 13.5px; color: #7d8ea8; flex-wrap: wrap; gap: 10px; }
.foot-legal:hover { color: var(--accent-2); }

/* ---------------- Reveal animation ---------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 940px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav.show { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-bottom: 54px; }
  .hero-card { justify-self: start; max-width: 420px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .section { padding: 66px 0; }
  .hero { padding-top: 48px; }
  .cards-3 { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .hero-badges li + li { padding-left: 0; border-left: 0; }
  .hero-badges { gap: 16px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

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