/* Shipeit — charte : Ink / Volt / Signal, Space Grotesk · Inter · JetBrains Mono */
:root {
  --ink: #0B0C0F;
  --graphite: #16181D;
  --steel: #2A2E36;
  --mist: #9AA1AD;
  --fog: #C9CDD4;
  --paper: #F4F5F2;
  --volt: #C8FF3D;
  --volt-hover: #E2FF9A;
  --signal: #5B7CFF;
  --signal-dark: #3D5CE0;

  --f-title: 'Space Grotesk', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--volt); }
a:hover { color: var(--volt-hover); }
img, svg { display: block; max-width: 100%; }

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

.label {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--volt);
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--f-body); font-size: 16px; font-weight: 600;
  text-decoration: none; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--volt); color: var(--ink); }
.btn-primary:hover { background: var(--volt-hover); color: var(--ink); }
.btn-ghost { border: 1px solid var(--steel); color: var(--paper); font-weight: 500; }
.btn-ghost:hover { border-color: var(--mist); color: var(--paper); }
.btn svg { width: 16px; height: 16px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--paper); }
.logo:hover { color: var(--paper); }
.logo svg { width: 30px; height: 30px; }
.logo-word {
  font-family: var(--f-title); font-weight: 600; font-size: 26px;
  line-height: 1; letter-spacing: -0.045em;
}
.logo-word span { color: var(--volt); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 12, 15, 0.82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--steel); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-item > button {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 14px; border-radius: 999px;
  background: none; border: 0; cursor: pointer;
  font-family: var(--f-body); font-size: 15px; font-weight: 500;
  color: var(--fog); text-decoration: none;
}
.nav > a:hover, .nav-item > button:hover, .nav-item.open > button { color: var(--paper); background: var(--graphite); }
.nav-item { position: relative; }
.nav-item > button svg { width: 12px; height: 12px; transition: transform .2s; }
.nav-item.open > button svg { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  min-width: 520px; padding: 12px;
  background: var(--graphite); border: 1px solid var(--steel); border-radius: 20px;
  display: none; grid-template-columns: 1fr 1fr; gap: 2px;
}
.nav-item.open .dropdown { display: grid; }
.dropdown a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 14px; border-radius: 12px;
  text-decoration: none; color: var(--paper); font-size: 15px; font-weight: 500;
}
.dropdown a small { font-size: 13px; font-weight: 400; color: var(--mist); line-height: 1.4; }
.dropdown a:hover { background: var(--ink); color: var(--paper); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; gap: 2px; font-family: var(--f-mono); font-size: 13px; }
.lang a {
  min-width: 36px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; color: var(--mist); text-decoration: none;
}
.lang a[aria-current="true"] { color: var(--paper); background: var(--graphite); }
.lang a:hover { color: var(--paper); }

.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--graphite); border: 1px solid var(--steel); color: var(--paper); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(64px, 10vw, 128px) 0 clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.hero-inner { display: flex; flex-direction: column; gap: 28px; max-width: 980px; }
.hero h1 {
  margin: 0;
  font-family: var(--f-title); font-weight: 600;
  font-size: clamp(44px, 7.2vw, 96px); line-height: 1.0; letter-spacing: -0.04em;
}
.hero h1 em { font-style: normal; color: var(--volt); }
.hero-lead { margin: 0; max-width: 640px; font-size: clamp(17px, 1.6vw, 20px); color: var(--fog); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pill {
  border: 1px solid var(--steel); border-radius: 999px; padding: 8px 16px;
  font-size: 14px; color: var(--fog);
}

/* Le symbole en filigrane, à droite */
.hero-mark {
  position: absolute; right: -6%; top: 50%; transform: translateY(-50%);
  width: min(46vw, 620px); aspect-ratio: 1; height: auto; opacity: 0.07; pointer-events: none;
}

/* ---------- Mobile ---------- */
@media (max-width: 1020px) {
  .menu-toggle { display: inline-flex; }
  .nav, .header-actions .btn { display: none; }
  .site-header.menu-open .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 76px; left: 0; right: 0;
    padding: 12px var(--gutter) 24px;
    background: var(--ink); border-bottom: 1px solid var(--steel);
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .site-header.menu-open .nav > a, .site-header.menu-open .nav-item > button { width: 100%; justify-content: space-between; font-size: 17px; }
  .dropdown { position: static; transform: none; min-width: 0; grid-template-columns: 1fr; background: transparent; border: 0; padding: 0 0 8px 8px; }
  .site-header.menu-open .nav > a.nav-mobile-cta { margin-top: 12px; justify-content: center; background: var(--volt); color: var(--ink); font-weight: 600; }
  .hero-mark { width: 80vw; right: -30%; opacity: 0.05; }
}
@media (min-width: 1021px) { .nav-mobile-cta { display: none !important; } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; border-top: 1px solid var(--steel); }
.container.narrow { max-width: 880px; }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 {
  margin: 0; font-family: var(--f-title); font-weight: 600;
  font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -0.03em;
}
.section-head p { margin: 0; color: var(--fog); }

/* ---------- Cartes ---------- */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  min-height: 220px; padding: 28px;
  background: var(--graphite); border: 1px solid var(--steel); border-radius: 20px;
  color: var(--paper); text-decoration: none;
  transition: border-color .15s, background .15s;
}
.card-static { min-height: 0; }
a.card:hover { border-color: var(--volt); color: var(--paper); }
.card h3 { margin: 0; font-family: var(--f-title); font-weight: 600; font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }
.card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--mist); }
.card-num { font-family: var(--f-mono); font-size: 13px; color: var(--volt); }
.card-arrow { width: 20px; height: 20px; margin-top: auto; color: var(--mist); transition: color .15s, transform .15s; }
a.card:hover .card-arrow { color: var(--volt); transform: translateX(4px); }

/* ---------- Pages intérieures ---------- */
.page-hero { padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 96px); }
.page-hero .container { display: flex; flex-direction: column; gap: 24px; }
.page-hero h1 {
  margin: 0; max-width: 960px; font-family: var(--f-title); font-weight: 600;
  font-size: clamp(40px, 6vw, 80px); line-height: 1.02; letter-spacing: -0.04em;
}
.page-hero h1 em { font-style: normal; color: var(--volt); }
.placeholder { min-height: 60vh; }
.breadcrumb { font-family: var(--f-mono); font-size: 13px; color: var(--mist); display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--mist); text-decoration: none; }
.breadcrumb a:hover { color: var(--paper); }
.breadcrumb [aria-current] { color: var(--volt); }

/* ---------- Étapes ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps li { border-top: 2px solid var(--volt); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.steps h3 { margin: 0; font-family: var(--f-title); font-size: 22px; font-weight: 600; }
.steps p { margin: 0; font-size: 15px; color: var(--fog); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--steel); }
.faq details { border-bottom: 1px solid var(--steel); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-family: var(--f-title); font-size: 20px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--f-mono); font-size: 22px; color: var(--volt);
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0 0 22px; color: var(--fog); max-width: 720px; }

/* ---------- Bandeau d'appel ---------- */
.cta-band { padding: clamp(56px, 8vw, 96px) 0; background: var(--volt); color: var(--ink); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; font-family: var(--f-title); font-weight: 600; font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.03em; line-height: 1.1; }
.cta-band .btn-primary { background: var(--ink); color: var(--paper); }
.cta-band .btn-primary:hover { background: var(--graphite); color: var(--paper); }

@media (max-width: 1020px) {
  .cards, .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .cards, .cards-3, .steps { grid-template-columns: 1fr; }
  .card { min-height: 0; }
}

/* ---------- Divers ---------- */
.section-tight { padding-top: 0; border-top: 0; }
.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nota { margin: 32px 0 0; padding: 16px 20px; border: 1px solid var(--steel); border-radius: 12px; font-size: 15px; color: var(--fog); }
.chip-links { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-link { min-height: 44px; display: inline-flex; align-items: center; padding: 10px 20px; font-size: 16px; text-decoration: none; transition: border-color .15s, color .15s; }
.pill-link:hover { border-color: var(--volt); color: var(--paper); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.two-col .section-head { margin-bottom: 0; }
.big-text { margin: 0; font-family: var(--f-title); font-size: clamp(20px, 2vw, 26px); line-height: 1.4; color: var(--fog); }

/* ---------- Casos ---------- */
.casos { display: flex; flex-direction: column; gap: 24px; }
.caso { display: grid; grid-template-columns: 5fr 7fr; background: var(--graphite); border: 1px solid var(--steel); border-radius: 20px; overflow: hidden; }
.caso-media, .persona-foto {
  min-height: 260px; display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(135deg, var(--ink) 0 12px, var(--graphite) 12px 24px);
  font-family: var(--f-mono); font-size: 13px; color: var(--mist);
}
.caso-body { padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.caso-body h3 { margin: 0; font-family: var(--f-title); font-size: 26px; font-weight: 600; }
.caso dl { margin: 8px 0 0; display: flex; flex-direction: column; gap: 14px; }
.caso dt { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mist); }
.caso dd { margin: 2px 0 0; font-size: 16px; color: var(--fog); }
.caso-resultado { color: var(--volt) !important; font-weight: 500; }

/* ---------- Équipe ---------- */
.persona { display: grid; grid-template-columns: 320px 1fr; gap: 32px; align-items: center; }
.persona-foto { aspect-ratio: 1; min-height: 0; border-radius: 20px; border: 1px solid var(--steel); }
.persona-body { display: flex; flex-direction: column; gap: 8px; }
.persona-body h3 { margin: 0; font-family: var(--f-title); font-size: 32px; font-weight: 600; }
.persona-body p { margin: 8px 0 0; color: var(--fog); max-width: 560px; }

/* ---------- Formulaire ---------- */
.contact-grid { display: grid; grid-template-columns: 7fr 4fr; gap: 40px; align-items: start; }
.form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-size: 15px; font-weight: 500; color: var(--paper); padding: 0; margin-bottom: 8px; }
.field > label { margin-bottom: 0; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 16px;
  background: var(--graphite); color: var(--paper);
  border: 1px solid var(--steel); border-radius: 12px;
  font: inherit; font-size: 16px;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--volt); }
.field input::placeholder { color: var(--mist); }
.invalid input, .invalid textarea { border-color: #FF8A65; }
.check.invalid span { color: #FF8A65; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 15px; color: var(--fog); }
.checks .check { min-height: 44px; padding: 8px 16px; border: 1px solid var(--steel); border-radius: 999px; }
.checks .check:has(input:checked) { border-color: var(--volt); color: var(--paper); }
.check input { accent-color: var(--volt); width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
.check-legal { align-items: flex-start; }
.check-legal input { margin-top: 3px; }
.btn-submit { align-self: flex-start; border: 0; cursor: pointer; }
.form-note { margin: 0; font-size: 14px; color: var(--mist); }
.form-error { padding: 14px 18px; border: 1px solid #FF8A65; border-radius: 12px; color: #FFB199; font-size: 15px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-side { display: flex; flex-direction: column; gap: 16px; }
.contact-side .card { gap: 8px; }
.contact-big { font-family: var(--f-title); font-size: 20px; font-weight: 500; color: var(--paper); text-decoration: none; word-break: break-word; }
a.contact-big:hover { color: var(--volt); }

/* ---------- Pages légales ---------- */
.prose h2 { margin: 40px 0 12px; font-family: var(--f-title); font-size: 24px; font-weight: 600; }
.prose p, .prose li { color: var(--fog); }
.prose ul { padding-left: 20px; }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--steel); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-brand p { margin: 0; font-family: var(--f-title); font-size: 18px; color: var(--fog); }
.site-footer h2 { margin: 0 0 12px; font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--mist); }
.site-footer ul { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--fog); }
.site-footer ul a { color: var(--fog); text-decoration: none; display: inline-block; padding: 4px 0; }
.site-footer ul a:hover { color: var(--volt); }
.footer-bottom { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--steel); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--mist); }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { color: var(--mist); text-decoration: none; }
.footer-bottom a:hover { color: var(--paper); }

@media (max-width: 1020px) {
  .steps-3 { grid-template-columns: 1fr; }
  .two-col, .contact-grid, .caso, .persona { grid-template-columns: 1fr; }
  .persona-foto { max-width: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .form-row, .footer-grid { grid-template-columns: 1fr; }
  .caso-body { padding: 24px; }
}
.field .check { margin-bottom: 0; font-weight: 400; color: var(--fog); }
