/* =====================================================================
   HAJETECH Studio — Feuille de style principale
   Design premium : anthracite · blanc · bleu · violet clair
   Auteur : HAJETECH Studio (Mehdi BASSOUR)
   Structure :
     1.  Design tokens (variables)
     2.  Reset & base
     3.  Typographie & utilitaires
     4.  Boutons
     5.  En-tête / navigation
     6.  Hero
     7.  Sections génériques
     8.  Services
     9.  Pourquoi HAJETECH
     10. Processus (timeline)
     11. Réalisations (galerie)
     12. Témoignages
     13. FAQ
     14. Contact
     15. Pied de page
     16. Animations (scroll reveal)
     17. Responsive
     18. Accessibilité / reduced-motion
   ===================================================================== */

/* 1. ---------- DESIGN TOKENS ------------------------------------------ */
:root {
  /* Palette issue du logo */
  --anthracite-900: #17181B;   /* fond le plus sombre */
  --anthracite-800: #1E2024;   /* fond principal */
  --anthracite-700: #26282C;   /* surfaces */
  --anthracite-600: #2E3136;   /* cartes */
  --anthracite-500: #3A3E45;   /* bordures */

  --white:   #F5F6F7;
  --muted:   #B4B8BF;          /* texte secondaire */
  --faint:   #8A8E96;          /* texte tertiaire */

  --blue:    #29ABE2;          /* bleu du logo */
  --blue-bright: #4FC1F0;
  --violet:  #E4D3F5;          /* violet clair du logo */
  --violet-mid: #B98FE6;       /* violet d'accent */

  /* Gradients & lumières */
  --grad-brand: linear-gradient(120deg, var(--blue) 0%, var(--violet-mid) 100%);
  --glow-blue:  radial-gradient(closest-side, rgba(41,171,226,.45), transparent);
  --glow-violet:radial-gradient(closest-side, rgba(185,143,230,.40), transparent);

  /* Rayons & ombres */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,.25);
  --shadow-md: 0 18px 45px -20px rgba(0,0,0,.55);
  --shadow-glow: 0 0 0 1px rgba(41,171,226,.35), 0 20px 60px -25px rgba(41,171,226,.55);

  /* Typographie */
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Space Grotesk', var(--font-body);
  --font-logo: 'Kalam', 'Segoe Print', cursive;

  /* Rythme */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(60px, 8vw, 104px);

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* 2. ---------- RESET & BASE ------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--anthracite-800);
  color: var(--white);
  line-height: 1.65;
  font-size: clamp(15px, 1.05vw, 17px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* Fond global : dégradé subtil + grain de lumière fixé */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 55% at 82% -5%, rgba(41,171,226,.14), transparent 60%),
    radial-gradient(50% 50% at 0% 100%, rgba(185,143,230,.12), transparent 60%),
    var(--anthracite-800);
}

/* 3. ---------- TYPOGRAPHIE & UTILITAIRES ------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-bright);
  padding: 7px 14px;
  border: 1px solid rgba(41,171,226,.28);
  border-radius: var(--r-pill);
  background: rgba(41,171,226,.06);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 10px var(--blue);
}

.section-title {
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  margin: 20px 0 14px;
  max-width: 18ch;
}
.section-title.center { margin-inline: auto; text-align: center; }

.section-lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  max-width: 60ch;
}
.center-head { text-align: center; }
.center-head .section-lead { margin-inline: auto; }

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

/* 4. ---------- BOUTONS ------------------------------------------------ */
.btn {
  --pad-y: 14px; --pad-x: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: .98rem;
  border: 1px solid transparent;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn-primary {
  background: var(--blue);
  color: #06222F;
  box-shadow: 0 10px 30px -12px rgba(41,171,226,.9);
}
.btn-primary:hover {
  background: var(--blue-bright);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -14px rgba(41,171,226,1);
}
.btn-ghost {
  background: rgba(255,255,255,.04);
  color: var(--white);
  border-color: var(--anthracite-500);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  background: rgba(41,171,226,.08);
}
.btn-lg { --pad-y: 17px; --pad-x: 34px; font-size: 1.05rem; }
.btn svg { width: 18px; height: 18px; }

/* 5. ---------- EN-TÊTE / NAVIGATION ----------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .35s var(--ease), border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(23,24,27,.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--anthracite-500);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name {
  font-family: var(--font-logo);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .5px;
  line-height: 1;
}
.brand-name b { color: var(--blue); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: var(--muted);
  padding: 9px 14px;
  border-radius: var(--r-pill);
  font-size: .95rem;
  font-weight: 500;
  transition: color .25s, background .25s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.05); }
/* Le bouton "devis" du menu n'apparaît qu'en version mobile (évite le doublon) */
.nav-links .btn { display: none; }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--anthracite-500);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.03);
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transform: translate(-50%,-50%);
  transition: transform .3s var(--ease), opacity .3s;
}
.nav-toggle span::before { transform: translate(-50%,-8px); }
.nav-toggle span::after  { transform: translate(-50%,6px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translate(-50%,-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translate(-50%,-50%) rotate(-45deg); }

/* 6. ---------- HERO --------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(120px, 18vh, 190px);
  padding-bottom: var(--section-y);
  overflow: hidden;
}
/* Sphères de lumière animées (arrière-plan dynamique discret) */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  z-index: -1;
  pointer-events: none;
  opacity: .8;
  will-change: transform;
}
.orb-1 { width: 520px; height: 520px; top: -140px; right: -80px; background: var(--glow-blue); }
.orb-2 { width: 440px; height: 440px; bottom: -160px; left: -120px; background: var(--glow-violet); }
.orb-3 { width: 260px; height: 260px; top: 30%; left: 40%; background: var(--glow-blue); opacity: .5; }

/* Grille lumineuse discrète */
.hero-grid {
  position: absolute; inset: 0; z-index: -1;
  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: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 30%, #000 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 30%, #000 40%, transparent 75%);
}

.hero-inner { max-width: 60rem; }
.hero h1 {
  font-size: clamp(2.4rem, 6.2vw, 4.6rem);
  line-height: 1.04;
  margin: 22px 0 22px;
}
.hero .section-lead { font-size: clamp(1.05rem, 1.7vw, 1.3rem); max-width: 52ch; }
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin-top: 38px;
}
.hero-trust {
  margin-top: 42px;
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  color: var(--faint);
  font-size: .92rem;
}
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--blue); flex: none; }

/* 7. ---------- SECTIONS GÉNÉRIQUES ----------------------------------- */
section { position: relative; }
.section { padding-block: var(--section-y); }
.section-head { margin-bottom: clamp(38px, 6vw, 64px); max-width: 52rem; }

/* 8. ---------- SERVICES ----------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.service-card {
  position: relative;
  padding: 30px 28px 32px;
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid var(--anthracite-500);
  overflow: hidden;
  transition: transform .4s var(--ease-out), border-color .4s, box-shadow .4s;
}
.service-card::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 100% 0%, rgba(41,171,226,.14), transparent 55%);
  opacity: 0; transition: opacity .4s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(41,171,226,.45);
  box-shadow: var(--shadow-md);
}
.service-card:hover::after { opacity: 1; }
.service-icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(41,171,226,.12);
  border: 1px solid rgba(41,171,226,.3);
  color: var(--blue-bright);
  margin-bottom: 20px;
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.22rem; margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: .97rem; }
.service-card.accent-violet .service-icon {
  background: rgba(185,143,230,.14);
  border-color: rgba(185,143,230,.35);
  color: var(--violet);
}
.service-card.accent-violet::after {
  background: radial-gradient(120% 90% at 100% 0%, rgba(185,143,230,.16), transparent 55%);
}

/* 9. ---------- POURQUOI HAJETECH -------------------------------------- */
.why { background: linear-gradient(180deg, transparent, rgba(255,255,255,.015)); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.why-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 24px;
  border-radius: var(--r-md);
  background: var(--anthracite-700);
  border: 1px solid var(--anthracite-500);
  transition: transform .35s var(--ease-out), border-color .35s;
}
.why-card:hover { transform: translateY(-4px); border-color: rgba(41,171,226,.4); }
.why-check {
  flex: none;
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--grad-brand);
  color: #0B1B24;
}
.why-check svg { width: 20px; height: 20px; }
.why-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.why-card p { color: var(--muted); font-size: .93rem; }

/* 10. ---------- PROCESSUS (TIMELINE) --------------------------------- */
.timeline { position: relative; margin-top: 30px; }
.timeline-steps { list-style: none; margin: 0; padding: 0; }
.timeline::before {
  content: "";
  position: absolute; left: 27px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--blue), var(--violet-mid), transparent);
}
.timeline-progress {
  position: absolute; left: 27px; top: 8px;
  width: 2px; height: 0;
  background: var(--blue-bright);
  box-shadow: 0 0 12px var(--blue);
  z-index: 1;
}
.step {
  position: relative;
  padding: 0 0 40px 78px;
}
.step:last-child { padding-bottom: 0; }
.step-dot {
  position: absolute; left: 12px; top: 0;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700; font-size: .95rem;
  color: var(--white);
  background: var(--anthracite-600);
  border: 2px solid var(--anthracite-500);
  z-index: 2;
  transition: background .4s, border-color .4s, color .4s, box-shadow .4s;
}
.step.is-active .step-dot {
  background: var(--blue);
  border-color: var(--blue-bright);
  color: #06222F;
  box-shadow: 0 0 0 6px rgba(41,171,226,.15);
}
.step h3 { font-size: 1.2rem; margin-bottom: 6px; }
.step p { color: var(--muted); max-width: 46ch; }

/* 11. ---------- RÉALISATIONS (GALERIE) ------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.project {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--anthracite-500);
  background: var(--anthracite-700);
  transition: transform .45s var(--ease-out), box-shadow .45s, border-color .45s;
}
.project:hover { transform: translateY(-6px); border-color: rgba(41,171,226,.5); box-shadow: var(--shadow-md); }
.project-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.project-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.project:hover .project-media img { transform: scale(1.05); }
.project-body { padding: 20px 22px 24px; }
.project-tag {
  font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-bright);
}
.project-body h3 { font-size: 1.15rem; margin: 8px 0 6px; }
.project-body p { color: var(--muted); font-size: .93rem; }

.gallery-note {
  margin-top: 26px;
  padding: 18px 22px;
  border-radius: var(--r-md);
  border: 1px dashed var(--anthracite-500);
  color: var(--faint);
  text-align: center;
  font-size: .95rem;
}

/* 12. ---------- TÉMOIGNAGES ------------------------------------------- */
.testimonials-empty {
  max-width: 640px; margin-inline: auto;
  text-align: center;
  padding: clamp(40px, 7vw, 68px);
  border-radius: var(--r-lg);
  background:
    var(--glow-blue) -30% -60% / 380px 380px no-repeat,
    var(--anthracite-700);
  border: 1px solid var(--anthracite-500);
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 4rem; line-height: .6;
  color: var(--blue);
  opacity: .5;
}
.testimonials-empty p.big { font-size: clamp(1.2rem, 2.6vw, 1.6rem); margin: 18px 0 10px; font-family: var(--font-display); }
.testimonials-empty p.small { color: var(--muted); }

/* 13. ---------- FAQ --------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item {
  border: 1px solid var(--anthracite-500);
  border-radius: var(--r-md);
  background: var(--anthracite-700);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color .3s, background .3s;
}
.faq-item.open { border-color: rgba(41,171,226,.45); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 24px;
  background: none; border: 0; color: var(--white);
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.08rem; text-align: left;
}
.faq-icon {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--anthracite-500);
  position: relative; transition: transform .35s var(--ease), border-color .3s;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: var(--blue-bright); border-radius: 2px;
  transform: translate(-50%,-50%);
}
.faq-icon::before { width: 12px; height: 2px; }
.faq-icon::after  { width: 2px; height: 12px; transition: transform .35s var(--ease); }
.faq-item.open .faq-icon { transform: rotate(90deg); border-color: var(--blue); }
.faq-item.open .faq-icon::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a-inner { padding: 0 24px 24px; color: var(--muted); }

/* 14. ---------- CONTACT ----------------------------------------------- */
.contact {
  position: relative;
  overflow: hidden;
}
.contact-card {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(28px, 5vw, 60px);
  padding: clamp(30px, 5vw, 60px);
  border-radius: var(--r-lg);
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(41,171,226,.12), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(185,143,230,.12), transparent 60%),
    var(--anthracite-700);
  border: 1px solid var(--anthracite-500);
}
.contact h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: .88rem; font-weight: 600;
  color: var(--muted); margin-bottom: 7px;
}
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  background: var(--anthracite-900);
  border: 1px solid var(--anthracite-500);
  color: var(--white);
  font: inherit;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(41,171,226,.18);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .85rem; color: var(--faint); margin-top: 8px; }
/* Honeypot anti-spam : hors écran, non focusable, invisible pour l'humain */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; font-size: .95rem; min-height: 1.2em; }
.form-status.ok { color: #63D69A; }

/* Coordonnées */
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.info-item {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.03);
  border: 1px solid var(--anthracite-500);
  transition: transform .3s var(--ease-out), border-color .3s;
}
.info-item:hover { transform: translateX(4px); border-color: rgba(41,171,226,.45); }
.info-ico {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(41,171,226,.12); color: var(--blue-bright);
  border: 1px solid rgba(41,171,226,.3);
}
.info-ico svg { width: 22px; height: 22px; }
.info-item span.k { display: block; font-size: .8rem; color: var(--faint); }
.info-item span.v { font-weight: 600; font-size: 1.05rem; }

/* 15. ---------- PIED DE PAGE ----------------------------------------- */
.site-footer {
  border-top: 1px solid var(--anthracite-500);
  padding-block: clamp(48px, 7vw, 72px) 30px;
  margin-top: var(--section-y);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--muted); max-width: 34ch; font-size: .95rem; }
.footer-col h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); margin-bottom: 16px; font-family: var(--font-body); }
.footer-col a { color: var(--muted); display: inline-block; padding: 5px 0; transition: color .25s; font-size: .95rem; }
.footer-col a:hover { color: var(--blue-bright); }
.footer-bottom {
  margin-top: 44px; padding-top: 24px;
  border-top: 1px solid var(--anthracite-500);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  color: var(--faint); font-size: .87rem;
}

/* 16. ---------- ANIMATIONS (SCROLL REVEAL) --------------------------- */
/* Apparition subtile : léger fondu + faible translation (évite l'effet "slide") */
.reveal { opacity: 0; transform: translateY(14px); }
.js-ready .reveal { will-change: opacity, transform; }
/* Quand GSAP indisponible, on garde le contenu visible (fallback) */
.no-js .reveal { opacity: 1; transform: none; }

/* Bouton d'appel flottant (mobile) */
.call-fab {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 90;
  display: none;
  align-items: center; gap: 10px;
  padding: 14px 20px;
  border-radius: var(--r-pill);
  background: var(--blue);
  color: #06222F;
  font-weight: 700;
  box-shadow: 0 12px 30px -8px rgba(41,171,226,.9);
  transition: transform .3s var(--ease-out);
}
.call-fab:hover { transform: scale(1.04); }
.call-fab svg { width: 20px; height: 20px; }

/* 17. ---------- RESPONSIVE -------------------------------------------- */
@media (max-width: 960px) {
  .contact-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 800px) {
  .nav-links,
  .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; }

  /* Menu mobile en overlay */
  .nav-links {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 18px var(--gutter) 26px;
    background: rgba(23,24,27,.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--anthracite-500);
    transform: translateY(-12px);
    opacity: 0; visibility: hidden;
    transition: transform .35s var(--ease), opacity .35s, visibility .35s;
  }
  .nav-links.open { display: flex; transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links a { padding: 14px 16px; font-size: 1.05rem; }
  .nav-links .btn { display: inline-flex; margin-top: 10px; }

  .call-fab { display: inline-flex; }
}

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* 18. ---------- ACCESSIBILITÉ / REDUCED-MOTION ----------------------- */
:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link {
  position: absolute; left: 12px; top: -60px;
  z-index: 200;
  background: var(--blue); color: #06222F;
  padding: 10px 18px; border-radius: var(--r-sm);
  font-weight: 600;
  transition: top .25s;
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-orb { display: none; }
}
