/* ============================================================
   PARISI CYBER — Design System
   ============================================================ */

/* ── Polices auto-hébergées ──────────────────────────────
   Hébergées en local, jamais via un CDN tiers :
   1. la CSP (font-src 'self') bloque toute origine externe ;
   2. un CDN de polices exposerait l'IP des visiteurs à un tiers
      — incohérent pour un site qui vend la conformité RGPD.
   Variables (un seul fichier couvre tous les graisses).       */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/archivo-latin-wght-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2');
}

:root {
  --bg-deep:     #07091a;
  --bg-card:     #0d1127;
  --bg-card-alt: #111832;
  --border:      rgba(0, 213, 255, 0.397);
  --border-mid:  rgba(0, 212, 255, 0.25);
  --white:        #e2e8f0;
  --cyan-dim:    rgba(0, 212, 255, 0.08);
  --purple:      #7c3aed;
  --purple-dim:  rgba(124, 58, 237, 0.15);
  --green:       #10b981;
  --red:         #ef4444;
  --text-1:      #e2e8f0;
  --text-2:      #94a3b8;
  --text-3:      #64748b;
  --radius:      12px;
  --radius-sm:   8px;
  --radius-lg:   16px;
  --shadow:      0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-cyan: 0 0 32px rgba(0, 212, 255, 0.15);
  /* Liseré clair en haut des surfaces : simule une lumière rasante
     et détache les cartes du fond sombre sans alourdir la bordure. */
  --edge-light:  inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --shadow-pill: 0 8px 32px rgba(0, 0, 0, 0.45), var(--edge-light);
  --shadow-lift: 0 16px 40px rgba(0, 0, 0, 0.5);
  /* Courbes partagées — cohérence du mouvement sur tout le site */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font:        'Archivo', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono:        'JetBrains Mono', "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", Menlo, monospace;
}

/* ── Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text-1);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Chiffres à chasse fixe : les prix et stats ne « dansent » plus */
  font-variant-numeric: tabular-nums;
  /* Archivo est une grotesque : un léger resserrage évite l'effet « étalé » */
  letter-spacing: -0.006em;
}
a { color: var(--white); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .75; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Layout ─────────────────────────────────────────── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 100px 0; }
.section-label {
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.2;
  text-wrap: balance;
}
/* Les ancres ne doivent pas se cacher sous la navbar fixe */
[id] { scroll-margin-top: 84px; }
.section-sub {
  font-size: 1.1rem;
  color: var(--text-2);
  margin-top: 16px;
  max-width: 560px;
}

/* ── Navbar ──────────────────────────────────────────────
   Au repos : transparente, posée sur le hero.
   Au scroll : se contracte en pilule flottante et se dépose
   sur le contenu (fond translucide + flou). Le .scrolled est
   déjà basculé par main.js.                                 */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 10px 24px;
  display: flex;
  align-items: center;
}
.nav-inner {
  position: relative;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 8px 10px 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  transition: max-width .45s var(--ease-out),
              background-color .35s ease,
              border-color .35s ease,
              box-shadow .35s ease,
              padding .35s var(--ease-out);
}
#navbar.scrolled .nav-inner {
  max-width: 940px;
  background: rgba(13, 17, 39, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--border-mid);
  box-shadow: var(--shadow-pill);
}
/* Sans backdrop-filter (anciens navigateurs), on tombe sur un fond opaque
   plutôt qu'un texte illisible sur le contenu qui défile dessous. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  #navbar.scrolled .nav-inner { background: rgba(13, 17, 39, 0.97); }
}
.nav-logo {
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-1);
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo span {
  color: var(--white);
}
.nav-logo-img {
  height: 30px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: .9rem;
  color: var(--text-2);
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text-1); opacity: 1; }
.nav-cta {
  background: var(--white);
  color: #070919 !important;
  font-weight: 700 !important;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-size: .85rem !important;
  transition: opacity .2s, transform .15s !important;
}
.nav-cta:hover { opacity: .9 !important; transform: translateY(-1px); }
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 9px; /* zone tactile ≥ 40px */
  background: none;
  border: none;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ── Hero ────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}
/* Faisceaux de lumière rasante en diagonale — donnent une profondeur
   au fond plat. Purement décoratifs, masqués sous 1024px (coût GPU
   inutile sur mobile, et l'angle ne fonctionne pas en portrait). */
#hero::before,
#hero::after {
  content: '';
  position: absolute;
  top: 0;
  pointer-events: none;
  z-index: 0;
  display: none;
}
#hero::before {
  left: -5%;
  width: 34rem;
  height: 70rem;
  transform: translateY(-340px) rotate(-45deg);
  transform-origin: top left;
  border-radius: 9999px;
  background: radial-gradient(68% 68% at 55% 31%,
              rgba(0, 212, 255, .07) 0,
              rgba(0, 212, 255, .022) 50%,
              transparent 80%);
}
/* Contrepoint violet à droite : réintroduit le --purple de la charte
   dans le hero et évite un dégradé cyan monochrome. */
#hero::after {
  right: -10%;
  width: 30rem;
  height: 60rem;
  transform: translateY(-300px) rotate(38deg);
  transform-origin: top right;
  border-radius: 9999px;
  background: radial-gradient(50% 50% at 50% 50%,
              rgba(124, 58, 237, .10) 0,
              rgba(124, 58, 237, .03) 60%,
              transparent 100%);
}
@media (min-width: 1024px) {
  #hero::before, #hero::after { display: block; }
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 40%, transparent 100%);
}
.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0,212,255,.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
}

/* ── Entrée du hero ──────────────────────────────────────
   Révélation en cascade au chargement, 100 % CSS : fonctionne
   sans JS, et le bloc prefers-reduced-motion en fin de fichier
   la neutralise (fill backwards → état final immédiat).      */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(16px); filter: blur(10px); }
  to   { opacity: 1; transform: none;             filter: blur(0); }
}
.hero-inner > * {
  animation: hero-rise .9s var(--ease-out) backwards;
}
.hero-badge    { animation-delay: .05s; }
.hero-eyebrow  { animation-delay: .13s; }
.hero-title    { animation-delay: .21s; }
.hero-subtitle { animation-delay: .29s; }
.hero-desc     { animation-delay: .37s; }
.hero-actions  { animation-delay: .45s; }
.hero-stats    { animation-delay: .53s; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan-dim);
  border: 1px solid var(--border-mid);
  border-radius: 100px;
  padding: 6px 16px;
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--white);
  letter-spacing: .05em;
  margin-bottom: 32px;
}
.hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--white);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.7); }
}
/* Archivo est nettement plus large que l'ancienne pile système : à
   4.2rem le titre passait à 4 lignes et repoussait le CTA principal
   sous la ligne de flottaison (1031px de hero pour 761px de fenêtre).
   Réduit + élargi → 2 lignes nettes, CTA et stats de nouveau visibles. */
.hero-title {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.025em;
  margin-bottom: 12px;
  text-wrap: balance;
  max-width: 1000px;
}
.hero-title .name { color: var(--white); display: block; }
.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--text-2);
  font-weight: 400;
  margin-bottom: 24px;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 620px;
  margin-bottom: 32px;
  line-height: 1.65;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.btn-primary {
  background: var(--white);
  color: #07091a;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: opacity .2s, transform .15s, box-shadow .2s;
  display: inline-block;
}
.btn-primary:hover {
  opacity: .9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,212,255,.3);
  color: #07091a;
}
.btn-secondary {
  background: transparent;
  color: var(--text-1);
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-mid);
  cursor: pointer;
  transition: background .2s, border-color .2s;
  display: inline-block;
}
.btn-secondary:hover {
  background: var(--cyan-dim);
  border-color: var(--white);
  color: var(--text-1);
  opacity: 1;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.hero-stat-val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero-stat-label {
  font-size: .8rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ── Trusted By (frameworks) ─────────────────────────── */
#frameworks {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.frameworks-label {
  text-align: center;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 24px;
}
.frameworks-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  align-items: center;
}
.framework-badge {
  font-family: var(--mono);
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-3);
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: color .2s, border-color .2s;
}
.framework-badge:hover { color: var(--text-2); border-color: var(--border-mid); }

/* ── Services ────────────────────────────────────────── */
#services {
  background: var(--bg-deep);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.service-card {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--edge-light);
  transition: border-color .3s ease,
              box-shadow .3s ease,
              transform .3s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--white), var(--purple));
  opacity: 0;
  transition: opacity .3s;
}
.service-card:hover {
  border-color: var(--border-mid);
  box-shadow: var(--shadow-cyan), var(--shadow-lift), var(--edge-light);
  transform: translateY(-4px);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 52px;
  height: 52px;
  background: var(--cyan-dim);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--white);
  font-size: 1.4rem;
}
.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 12px;
}
.service-desc {
  font-size: .9rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 20px;
}
.service-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tag {
  font-family: var(--mono);
  font-size: .7rem;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--purple-dim);
  color: #a78bfa;
  border: 1px solid rgba(124,58,237,.25);
}
.service-price {
  margin-top: 20px;
  font-size: .85rem;
  color: var(--text-3);
  font-family: var(--mono);
}
.service-price strong { color: var(--white); }

/* ── Processus ───────────────────────────────────────── */
#processus { }
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  margin-top: 64px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-mid), transparent);
  pointer-events: none;
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  position: relative;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 20px rgba(0,212,255,.2);
}
.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 10px;
}
.step-desc {
  font-size: .875rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* ── À propos ────────────────────────────────────────── */
#apropos {
  background: var(--bg-deep);
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 56px;
}
.about-text p {
  color: var(--text-2);
  margin-bottom: 16px;
  line-height: 1.75;
}
.about-text p strong { color: var(--text-1); }
.stack-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.stack-item {
  font-family: var(--mono);
  font-size: .78rem;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  background: var(--cyan-dim);
  border: 1px solid var(--border-mid);
  color: var(--white);
}
.certif-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.certif-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.certif-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.certif-dot.done { background: var(--green); }
.certif-dot.pending { background: var(--white); }
.certif-dot.planned { background: var(--text-3); }
.certif-name { font-weight: 600; font-size: .9rem; }
.certif-status {
  margin-left: auto;
  font-size: .75rem;
  font-family: var(--mono);
  color: var(--text-3);
}

/* ── Garanties ───────────────────────────────────────── */
#garanties { }
.garanties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 56px;
}
.garantie-card {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  align-items: flex-start;
  transition: border-color .2s;
}
.garantie-card:hover { border-color: var(--border-mid); }
.garantie-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.garantie-title {
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 6px;
}
.garantie-desc {
  font-size: .85rem;
  color: var(--text-2);
  line-height: 1.55;
}

/* ── Tarifs ──────────────────────────────────────────── */
#tarifs {
  background: var(--bg-deep);
}
.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 56px;
  align-items: start;
}
.tarif-card {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: border-color .3s;
}
.tarif-card.featured {
  border-color: var(--white);
  box-shadow: var(--shadow-cyan);
}
.tarif-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  color: #07091a;
  font-size: .72rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}
.tarif-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.tarif-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1;
}
.tarif-price-note {
  font-size: .8rem;
  color: var(--text-3);
  margin-bottom: 24px;
}
.tarif-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}
.tarif-features { display: flex; flex-direction: column; gap: 12px; }
.tarif-feat {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .88rem;
  color: var(--text-2);
}
/* Coche dessinée en CSS : le glyphe U+2713 est absent des sous-ensembles
   latin d'Archivo/JetBrains Mono et retombait sur une police système
   (rendu incohérent d'un OS à l'autre). */
.tarif-feat::before {
  content: '';
  flex-shrink: 0;
  width: 5px;
  height: 10px;
  margin: 5px 5px 0 2px;
  border: solid var(--green);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.tarif-note {
  margin-top: 20px;
  font-size: .8rem;
  color: var(--text-3);
  font-style: italic;
}

/* ── Contact ─────────────────────────────────────────── */
#contact { }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  margin-top: 56px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--cyan-dim);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
  flex-shrink: 0;
}
.contact-item-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-3);
  font-family: var(--mono);
  margin-bottom: 4px;
}
.contact-item-val {
  font-size: .95rem;
  color: var(--text-1);
  font-weight: 500;
}
.contact-form {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-label {
  font-size: .82rem;
  color: var(--text-2);
  font-weight: 500;
}
.form-input, .form-select, .form-textarea {
  background: var(--bg-deep);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-1);
  font-family: var(--font);
  font-size: .9rem;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--white);
  box-shadow: 0 0 0 3px rgba(0,212,255,.1);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { appearance: none; cursor: pointer; }
.form-select option { background: var(--bg-deep); }
.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--white);
  color: #07091a;
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: opacity .2s, transform .15s, box-shadow .2s;
}
/* Chevron CSS (U+2192 absent du sous-ensemble latin) qui avance au survol */
.form-submit::after {
  content: '';
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 2px 2px 0 0;
  transform: rotate(45deg);
  transition: transform .2s var(--ease-out);
}
.form-submit:hover {
  opacity: .9;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 212, 255, .3);
}
.form-submit:hover::after { transform: rotate(45deg) translate(2px, -2px); }
.form-note {
  margin-top: 12px;
  font-size: .78rem;
  color: var(--text-3);
  text-align: center;
}

/* ── Footer ──────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-brand {}
.footer-logo {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-logo span { color: var(--white); }
.footer-logo-img {
  height: 30px;
  width: auto;
  display: block;
}
.footer-tagline { font-size: .85rem; color: var(--text-3); }
.footer-links-group { display: flex; flex-direction: column; gap: 10px; }
.footer-links-title {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-3);
  margin-bottom: 4px;
}
.footer-links-group a {
  font-size: .85rem;
  color: var(--text-2);
}
.footer-links-group a:hover { color: var(--white); opacity: 1; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: .8rem; color: var(--text-3); }
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a { font-size: .8rem; color: var(--text-3); }
.footer-legal a:hover { color: var(--text-2); opacity: 1; }

/* ── Legal pages ─────────────────────────────────────── */
.legal-page { padding: 120px 0 80px; }
.legal-page .container { max-width: 800px; }
.legal-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 8px;
}
.legal-date {
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--text-3);
  margin-bottom: 48px;
}
.legal-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-1);
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.legal-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-2);
  margin: 24px 0 10px;
}
.legal-content p {
  font-size: .9rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 12px;
}
.legal-content ul, .legal-content ol {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.legal-content ol { list-style: decimal; }
.legal-content li { font-size: .9rem; color: var(--text-2); line-height: 1.65; }
.legal-content strong { color: var(--text-1); }
.legal-content a { color: var(--white); }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  color: var(--text-2);
  margin-bottom: 40px;
}
/* Chevron dessiné en CSS — U+2190 n'existe pas dans le sous-ensemble
   latin des polices embarquées (cf. .tarif-feat::before). */
.legal-back::before {
  content: '';
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 2px 0 0 2px;
  transform: rotate(-45deg);
  transition: transform .2s var(--ease-out);
}
.legal-back:hover { color: var(--white); opacity: 1; }
.legal-back:hover::before { transform: rotate(-45deg) translate(2px, 2px); }
.alert-box {
  background: rgba(0,212,255,.06);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: .875rem;
  color: var(--text-2);
  margin: 24px 0;
  line-height: 1.65;
}

/* ── Hero eyebrow ────────────────────────────────────── */
.hero-eyebrow {
  font-family: var(--mono);
  font-size: .85rem;
  color: var(--text-2);
  letter-spacing: .04em;
  margin-bottom: 12px;
}

/* ── CTA band (fin de section) ───────────────────────── */
.cta-band {
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--bg-deep);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
#services .cta-band { background: var(--bg-deep); }
.service-note {
  margin-top: 24px;
  font-size: .88rem;
  color: var(--text-3);
  line-height: 1.6;
  text-align: center;
}
.service-note strong { color: var(--text-2); }
.cta-band-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 6px;
}
.cta-band-text {
  font-size: .9rem;
  color: var(--text-2);
  max-width: 520px;
  line-height: 1.6;
}
.cta-band .btn-primary { flex-shrink: 0; }

/* ── Enjeux (pourquoi tester maintenant) ─────────────── */
#enjeux { background: var(--bg-deep); }
.enjeux-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.enjeu-card {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color .2s;
}
.enjeu-card:hover { border-color: var(--border-mid); }
.enjeu-val {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.enjeu-desc {
  font-size: .92rem;
  color: var(--text-2);
  line-height: 1.6;
}
.enjeux-note {
  margin-top: 40px;
  font-size: .95rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 720px;
}
.enjeux-note strong { color: var(--text-1); }

/* ── Tarif CTA ───────────────────────────────────────── */
.tarif-cta {
  display: block;
  text-align: center;
  margin-top: 24px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-mid);
  color: var(--text-1);
  font-weight: 600;
  font-size: .92rem;
  transition: background-color .2s, border-color .2s, transform .15s;
}
.tarif-cta:hover {
  background: var(--cyan-dim);
  border-color: var(--white);
  opacity: 1;
}
.tarif-cta.featured {
  background: var(--white);
  border-color: var(--white);
  color: #07091a;
  font-weight: 700;
}
.tarif-cta.featured:hover { opacity: .9; }
.tarif-cta:active { transform: scale(0.97); }
.tarifs-footnote {
  margin-top: 32px;
  font-size: .88rem;
  color: var(--text-3);
  text-align: center;
}
.tarifs-footnote strong { color: var(--text-2); }

/* ── FAQ ─────────────────────────────────────────────── */
#faq { background: var(--bg-deep); }
.faq-list {
  margin-top: 48px;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s;
}
.faq-item:hover, .faq-item[open] { border-color: var(--border-mid); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 56px 20px 24px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-1);
  position: relative;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--white);
  transition: transform .25s cubic-bezier(0.23, 1, 0.32, 1);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-answer {
  padding: 0 24px 22px;
}
.faq-answer p {
  font-size: .92rem;
  color: var(--text-2);
  line-height: 1.7;
  text-wrap: pretty;
}
.faq-answer strong { color: var(--text-1); }

/* ── Scroll reveal (ajouté par JS, invisible sans JS = ok) ── */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(8px);
  transition: opacity .7s var(--ease-out),
              transform .7s var(--ease-out),
              filter .7s var(--ease-out);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ── Page 404 ────────────────────────────────────────────
   Rapatriées depuis le <style> inline de 404.html : la CSP
   (style-src 'self') interdit les styles inline, et la page
   n'y survivrait pas si les en-têtes venaient à s'y appliquer. */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}
.error-code {
  font-family: var(--mono);
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 900;
  color: var(--white);
  opacity: .15;
  line-height: 1;
  margin-bottom: -20px;
  letter-spacing: -.04em;
}
.error-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.error-desc { color: var(--text-2); margin-bottom: 32px; }
/* Chevron CSS — cf. .legal-back::before */
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-back::before {
  content: '';
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 2px 0 0 2px;
  transform: rotate(-45deg);
  transition: transform .2s var(--ease-out);
}
.btn-back:hover::before { transform: rotate(-45deg) translate(2px, 2px); }

/* ── Utilities ───────────────────────────────────────── */
.text-cyan { color: var(--white); }
.text-green { color: var(--green); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 900px) {
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .process-steps::before { display: none; }
}

@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  /* Carte flottante ancrée sous la pilule (et non plus à un
     top: 64px codé en dur, qui cassait dès que la nav changeait). */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: calc(100% + 10px);
    left: 0; right: 0;
    background: rgba(13, 17, 39, 0.96);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid var(--border-mid);
    border-radius: var(--radius);
    padding: 18px 20px;
    gap: 18px;
    z-index: 99;
    box-shadow: var(--shadow-lift), var(--edge-light);
    animation: menu-drop .28s var(--ease-out) backwards;
  }
  @keyframes menu-drop {
    from { opacity: 0; transform: translateY(-8px) scale(.98); }
  }
  .nav-links.open a { font-size: 1rem; color: var(--text-1); }
  /* Le <li> s'étire, pas le <a> inline : sans display:block le CTA
     se réduisait à la largeur du texte, collé à gauche. */
  .nav-links.open .nav-cta {
    display: block;
    text-align: center;
    margin-top: 4px;
    padding: 12px 20px;
  }
  .hero-stats { gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .process-steps { grid-template-columns: 1fr; gap: 32px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .cta-band .btn-primary { width: 100%; text-align: center; }
  .enjeu-card { padding: 24px; }
}

/* ── Micro-interactions & accessibilité ─────────────── */
.btn-primary:active,
.btn-secondary:active,
.nav-cta:active,
.form-submit:active {
  transform: scale(0.97);
}

:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
  border-radius: 4px;
}
.form-input:focus-visible,
.form-select:focus-visible,
.form-textarea:focus-visible {
  outline: none; /* déjà géré par border + box-shadow */
}

::selection {
  background: rgba(0, 212, 255, 0.25);
  color: var(--text-1);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in { opacity: 1; transform: none; filter: none; }
  /* Le hero s'anime en CSS pur : sans neutralisation explicite du flou,
     un utilisateur « reduced motion » resterait sur un titre flouté. */
  .hero-inner > * { animation: none; opacity: 1; transform: none; filter: none; }
}
