/* =================================================================
   EKKO · STYLE.CSS · v1.0
   Agence web & IA · Dark mode néon
   ================================================================= */

/* Protéger l'attribut hidden contre les règles display des composants */
[hidden] { display: none !important; }

/* ====== VARIABLES (design tokens) ====== */
:root {
  /* Couleurs primaires */
  --bg: #050507;
  --bg-alt: rgba(255, 255, 255, 0.015);
  --fg: #fafafa;
  --teal: #14b8a6;
  --teal-deep: #0d9488;
  --teal-off: #0f2c2a;
  --teal-text-cta: #042f2c;

  /* Accents néon */
  --pink: #ec4899;
  --purple: #c084fc;

  /* Neutres (texte sur noir) */
  --txt-primary: rgba(255, 255, 255, 0.85);
  --txt-secondary: rgba(255, 255, 255, 0.55);
  --txt-tertiary: rgba(255, 255, 255, 0.5);
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.1);
  --card-bg: rgba(255, 255, 255, 0.025);

  /* Typographie */
  --font-sans:
    "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* Layout */
  --max-width: 1100px;
  --section-pad-y: 56px;
  --section-pad-x: 32px;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
}

/* ====== RESET ====== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
img,
svg {
  display: block;
  max-width: 100%;
}

/* Sélection */
::selection {
  background: var(--teal);
  color: var(--teal-text-cta);
}

/* ====== ACCESSIBILITÉ ====== */
.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;
}
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ====== NAV ====== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 32px;
  background: rgba(5, 5, 7, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 0.5px solid var(--border);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
}
.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 13px;
  color: var(--txt-secondary);
}
.nav-links a:hover {
  color: var(--fg);
  transition: color 0.2s;
}
.nav-burger {
  display: none;
  padding: 6px;
  color: var(--txt-secondary);
}
.nav-burger:hover {
  color: var(--fg);
}

/* ====== MOBILE MENU ====== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 5, 7, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  padding: 18px 24px;
  animation: menuSlideIn 0.25s ease-out;
}
.mobile-menu[hidden] {
  display: none;
}
@keyframes menuSlideIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.mobile-menu-close {
  padding: 6px;
  color: var(--fg);
}
.mobile-menu-links {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.mobile-menu-links a {
  font-size: 22px;
  font-weight: 500;
  color: var(--fg);
  padding: 16px 0;
  border-bottom: 0.5px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-menu-links a:hover {
  color: var(--teal);
}
.mobile-menu-links .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--txt-tertiary);
}
.mobile-menu-links a:first-child {
  color: var(--teal);
}
.mobile-menu-footer {
  padding-top: 18px;
  border-top: 0.5px solid var(--border);
}
.mobile-menu-footer p:not(.eyebrow) {
  font-size: 13px;
  color: var(--txt-secondary);
  margin-bottom: 16px;
  line-height: 1.55;
}
.mobile-menu-footer .text-teal {
  color: var(--teal);
}

/* ====== TYPO HELPERS ====== */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--txt-tertiary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  text-align: center;
}

/* ====== EFFETS NÉON ====== */
.neon-pink {
  color: #fff;
  text-shadow:
    0 0 3px var(--pink),
    0 0 8px var(--pink),
    0 0 18px rgba(236, 72, 153, 0.5);
}
.neon-purple {
  color: #fff;
  text-shadow:
    0 0 3px var(--purple),
    0 0 8px var(--purple),
    0 0 18px rgba(192, 132, 252, 0.5);
}
.neon-green {
  color: #fff;
  text-shadow:
    0 0 2px var(--teal),
    0 0 5px rgba(20, 184, 166, 0.4);
}

/* ====== BOUTONS ====== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  background: var(--teal);
  color: var(--teal-text-cta);
  border-radius: var(--radius);
  box-shadow:
    0 0 4px rgba(20, 184, 166, 0.3),
    0 0 12px rgba(20, 184, 166, 0.15);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 6px rgba(20, 184, 166, 0.45),
    0 0 18px rgba(20, 184, 166, 0.22);
}
.btn-block {
  width: 100%;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  padding: 8px 16px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 0.5px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  transition: all 0.2s;
}
.btn-ghost:hover {
  color: var(--fg);
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-whatsapp {
  border-color: rgba(37, 211, 102, 0.35);
  color: #25d366;
}
.btn-whatsapp:hover {
  border-color: #25d366;
  color: #25d366;
  background: rgba(37, 211, 102, 0.07);
}

/* ====== PILLS / DOTS ====== */
.pill {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.4px;
}
.pill-teal {
  background: rgba(20, 184, 166, 0.06);
  color: var(--teal);
  border: 0.5px solid rgba(20, 184, 166, 0.25);
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.dot-tiny {
  width: 4px;
  height: 4px;
}
.dot-pink {
  background: var(--pink);
  box-shadow:
    0 0 3px var(--pink),
    0 0 8px rgba(236, 72, 153, 0.5);
}
.dot-green {
  background: var(--teal);
  box-shadow:
    0 0 2px var(--teal),
    0 0 4px rgba(20, 184, 166, 0.35);
}

/* ====== ANIMATIONS ====== */
@keyframes pulse-pink {
  0%,
  100% {
    box-shadow:
      0 0 3px var(--pink),
      0 0 8px rgba(236, 72, 153, 0.5);
  }
  50% {
    box-shadow:
      0 0 5px var(--pink),
      0 0 14px rgba(236, 72, 153, 0.7);
  }
}
.pulse {
  animation: pulse-pink 2.5s ease-in-out infinite;
}

@keyframes flicker-soft {
  0%,
  96%,
  100% {
    opacity: 1;
  }
  97% {
    opacity: 0.78;
  }
  98% {
    opacity: 1;
  }
  99% {
    opacity: 0.9;
  }
}
.flicker-soft {
  animation: flicker-soft 7s ease-in-out infinite;
}

/* ====== K CYBERPUNK ANIMATION ====== */

/* ====== LOGO NEON GLITCH (nouveau logo SVG) ====== */
@keyframes logo-neon-glitch {
  0%, 55%   { filter: drop-shadow(0 0 1px var(--teal)) drop-shadow(0 0 5px rgba(20, 184, 166, 0.55)); }
  55.5%     { filter: brightness(0.18); }
  56%       { filter: drop-shadow(0 0 1px var(--teal)) drop-shadow(0 0 3px rgba(20, 184, 166, 0.4)); }
  56.5%     { filter: brightness(0.18); }
  57%       { filter: drop-shadow(0 0 1px var(--teal)) drop-shadow(0 0 3px rgba(20, 184, 166, 0.4)); }
  57.5%     { filter: brightness(0.18); }
  58%       { filter: drop-shadow(0 0 1px var(--teal)) drop-shadow(0 0 3px rgba(20, 184, 166, 0.4)); }
  58.5%     { filter: brightness(0.18); }
  59%       { filter: brightness(0.45); }
  59.5%     { filter: brightness(0.18); }
  60%       { filter: drop-shadow(0 0 1px var(--teal)) drop-shadow(0 0 2px rgba(20, 184, 166, 0.3)); }
  60.5%     { filter: brightness(0.18); }
  61%       { filter: brightness(0.45); }
  61.5%     { filter: brightness(0.18); }
  62%, 82%  { filter: brightness(0.18); }
  82.5%     { filter: brightness(0.45); }
  83%       { filter: brightness(0.18); }
  83.5%     { filter: drop-shadow(0 0 1px var(--teal)) drop-shadow(0 0 2px rgba(20, 184, 166, 0.3)); }
  84%       { filter: brightness(0.18); }
  84.5%     { filter: brightness(0.45); }
  85%       { filter: brightness(0.18); }
  85.5%     { filter: drop-shadow(0 0 1px var(--teal)) drop-shadow(0 0 3px rgba(20, 184, 166, 0.4)); }
  86%       { filter: brightness(0.18); }
  86.5%     { filter: drop-shadow(0 0 1px var(--teal)) drop-shadow(0 0 3px rgba(20, 184, 166, 0.4)); }
  87%       { filter: brightness(0.18); }
  87.5%     { filter: brightness(0.45); }
  88%       { filter: brightness(0.18); }
  88.5%     { filter: drop-shadow(0 0 1px var(--teal)) drop-shadow(0 0 3px rgba(20, 184, 166, 0.4)); }
  89%       { filter: brightness(0.45); }
  91%       { filter: drop-shadow(0 0 1px var(--teal)) drop-shadow(0 0 3px rgba(20, 184, 166, 0.45)); }
  93%, 100% { filter: drop-shadow(0 0 1px var(--teal)) drop-shadow(0 0 5px rgba(20, 184, 166, 0.55)); }
}
.logo-neon-glitch { animation: logo-neon-glitch 10s steps(1, end) infinite; }

/* Tailles du logo selon le contexte */
.nav-logo .logo-neon-glitch      { height: 30px; width: auto; display: block; }
.footer-brand .logo-neon-glitch  { height: 24px; width: auto; display: block; }
.credit img                      { height: 14px; width: auto; display: inline-block; vertical-align: middle; margin-left: 4px; }

/* Réduit l'animation si l'utilisateur préfère moins de mouvement */
@media (prefers-reduced-motion: reduce) {
  .pulse,
  .flicker-soft,
  .logo-neon-glitch {
    animation: none;
  }
  .logo-neon-glitch {
    filter: drop-shadow(0 0 1px var(--teal)) drop-shadow(0 0 5px rgba(20, 184, 166, 0.55));
  }
  html {
    scroll-behavior: auto;
  }
}

/* ====== LAYOUT GLOBAL ====== */
main {
  display: block;
}
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-pad-y) var(--section-pad-x);
}
.section-alt {
  background: var(--bg-alt);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  max-width: none;
}
.section-alt > * {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}
.section h2 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.3px;
  margin-bottom: 32px;
  text-align: center;
}

/* ====== HERO ====== */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 80px 32px;
  border-bottom: 0.5px solid var(--border);
}
.hero h1 {
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.6px;
  line-height: 1.18;
  max-width: 620px;
  margin: 22px auto 14px;
  position: relative;
  z-index: 1;
}
.hero-sub {
  font-size: 15px;
  color: var(--txt-secondary);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}
.hero-cta {
  display: flex;
  gap: 10px;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.hero-contact {
  padding-top: 60px;
  padding-bottom: 32px;
  border-bottom: none;
}

/* Halos d'arrière-plan */
.halo {
  position: absolute;
  pointer-events: none;
  filter: blur(20px);
}
.halo-pink {
  top: -40px;
  left: 32%;
  width: 180px;
  height: 180px;
  background: radial-gradient(
    circle,
    rgba(236, 72, 153, 0.1) 0%,
    transparent 70%
  );
}
.halo-purple {
  top: -20px;
  right: 32%;
  width: 180px;
  height: 180px;
  background: radial-gradient(
    circle,
    rgba(192, 132, 252, 0.1) 0%,
    transparent 70%
  );
}
.halo-teal-bottom {
  top: 50%;
  left: 25%;
  width: 160px;
  height: 160px;
  transform: translateY(-50%);
  background: radial-gradient(
    circle,
    rgba(20, 184, 166, 0.08) 0%,
    transparent 70%
  );
  filter: blur(15px);
}
.halo-pink-bottom {
  top: 50%;
  right: 25%;
  width: 160px;
  height: 160px;
  transform: translateY(-50%);
  background: radial-gradient(
    circle,
    rgba(236, 72, 153, 0.1) 0%,
    transparent 70%
  );
  filter: blur(15px);
}

/* ====== TRUST BAR ====== */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
  padding: 14px 32px;
  font-size: 12px;
  color: var(--txt-tertiary);
  letter-spacing: 0.3px;
  border-bottom: 0.5px solid var(--border);
}
.trust-bar .sep {
  color: var(--pink);
  opacity: 0.5;
}
.strike {
  position: relative;
  display: inline-block;
  color: var(--teal);
}
.strike::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: 52%;
  height: 2px;
  background: var(--teal);
  transform: rotate(-3deg);
}
/* ====== CARDS ====== */
.card {
  background: var(--card-bg);
  border: 0.5px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 18px;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.card:hover {
  border-color: rgba(20, 184, 166, 0.25);
  transform: translateY(-2px);
}
.card-tight {
  padding: 14px;
}
.card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.card-head-num {
  justify-content: space-between;
}
.card h3 {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
}
.card-tight h3 {
  font-size: 13px;
}
.card p {
  font-size: 12px;
  color: var(--txt-secondary);
  line-height: 1.55;
}
.card-tight p {
  font-size: 11px;
}
.step-num {
  font-size: 11px;
  font-weight: 500;
  font-family: var(--font-mono);
}
.card-pink {
  border-color: rgba(236, 72, 153, 0.35);
  box-shadow:
    0 0 6px rgba(236, 72, 153, 0.08),
    inset 0 0 8px rgba(236, 72, 153, 0.03);
}
.card-pink:hover {
  border-color: rgba(236, 72, 153, 0.55);
}

/* Carte signature IA */
.card-signature {
  grid-column: 1 / -1;
  background: linear-gradient(
    135deg,
    rgba(236, 72, 153, 0.05) 0%,
    rgba(192, 132, 252, 0.05) 100%
  );
  border: 1px solid rgba(236, 72, 153, 0.35);
  box-shadow:
    0 0 6px rgba(236, 72, 153, 0.08),
    inset 0 0 8px rgba(236, 72, 153, 0.03);
  position: relative;
  padding: 22px;
}
.card-signature h3 {
  font-size: 16px;
}
.card-signature p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}
.signature-tag {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--pink);
  opacity: 0.8;
}

/* ====== SERVICES GRID ====== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* ====== PROJETS ====== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.project {
  background: var(--card-bg);
  border: 0.5px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  overflow: hidden;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.project:hover {
  border-color: rgba(20, 184, 166, 0.25);
  transform: translateY(-2px);
}
.project-thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #0a0a0c 0%, #14141a 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 0.5px solid var(--border);
}
.project-info {
  padding: 14px 16px;
}
.project-info h3 {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
}
.project-info p {
  font-size: 11px;
  color: var(--txt-secondary);
  line-height: 1.5;
}
.project-live {
  position: absolute;
  top: 6px;
  right: 8px;
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--teal);
  letter-spacing: 0.5px;
}
.project-placeholder .project-thumb,
.project-placeholder h3,
.project-placeholder > .project-info > p {
  opacity: 0.7;
}
.placeholder-mock {
  position: absolute;
  inset: 12px;
  background: #0e0e12;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0.5px dashed rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--txt-tertiary);
  letter-spacing: 1px;
}

/* Mockup chatbot */
.chatbot-mock {
  position: absolute;
  inset: 12px;
  background: #0e0e12;
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 0.5px solid rgba(255, 255, 255, 0.05);
}
.chatbot-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 6px;
  border-bottom: 0.5px solid var(--border);
  font-size: 9px;
  color: var(--txt-secondary);
}
.chatbot-msg {
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 9px;
  line-height: 1.4;
  max-width: 75%;
}
.msg-bot {
  background: rgba(255, 255, 255, 0.04);
  color: var(--txt-secondary);
  align-self: flex-start;
}
.msg-user {
  background: rgba(20, 184, 166, 0.12);
  color: var(--fg);
  align-self: flex-end;
  max-width: 65%;
}

/* Tags */
.tags {
  margin-top: 6px;
}
.tag {
  display: inline-block;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--txt-secondary);
  border: 0.5px solid var(--border);
  margin-right: 4px;
  margin-top: 4px;
  font-family: var(--font-mono);
}
.project-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--teal);
  transition: opacity 0.2s;
}
.project-link:hover {
  opacity: 0.75;
}
.tag-neon-purple {
  background: rgba(192, 132, 252, 0.06);
  border-color: rgba(192, 132, 252, 0.25);
  color: #fff;
  text-shadow:
    0 0 3px var(--purple),
    0 0 8px var(--purple),
    0 0 18px rgba(192, 132, 252, 0.5);
}

/* ====== PROCESS GRID ====== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  list-style: none;
}

/* ====== TÉMOIGNAGES ====== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
}
.testimonial {
  background: var(--card-bg);
  border: 0.5px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 18px;
}
.quote-mark {
  font-family: serif;
  font-size: 32px;
  color: var(--pink);
  line-height: 0.5;
  opacity: 0.6;
}
.testimonial blockquote {
  margin: 4px 0 14px;
}
.testimonial blockquote p {
  font-size: 13px;
  color: var(--txt-primary);
  line-height: 1.6;
}
.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 0.5px solid var(--border);
}
.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
}
.avatar-pink {
  background: rgba(236, 72, 153, 0.15);
  border: 0.5px solid rgba(236, 72, 153, 0.3);
  color: var(--pink);
}
.author {
  font-size: 12px;
  color: var(--fg);
  font-weight: 500;
}
.meta {
  font-size: 10px;
  color: var(--txt-tertiary);
}

/* ====== FAQ ====== */
.faq {
  max-width: 540px;
  margin: 0 auto;
}
.faq details {
  border-bottom: 0.5px solid var(--border);
  padding: 14px 4px;
}
.faq details:last-child {
  border-bottom: none;
}
.faq summary {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq-toggle {
  color: var(--teal);
  font-size: 16px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq details[open] .faq-toggle {
  transform: rotate(45deg);
}
.faq-content {
  margin-top: 6px;
  padding-right: 16px;
  animation: faqOpen 0.25s ease-out;
}
.faq-content p {
  font-size: 13px;
  color: var(--txt-secondary);
  line-height: 1.6;
}
@keyframes faqOpen {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ====== AUTOMATISATION PAGE ====== */
.section-intro {
  font-size: 15px;
  color: var(--txt-secondary);
  max-width: 540px;
  margin: 0 auto 40px;
  text-align: center;
  line-height: 1.7;
}

/* Use cases grid */
.auto-usecases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}
.auto-usecase-card {
  background: var(--card-bg);
  border: 0.5px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: border-color 0.2s;
}
.auto-usecase-card:hover {
  border-color: rgba(20, 184, 166, 0.2);
}
.auto-usecase-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: rgba(20, 184, 166, 0.06);
  border: 0.5px solid rgba(20, 184, 166, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 12px;
}
.auto-usecase-card h3 {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
}
.auto-usecase-card p {
  font-size: 12px;
  color: var(--txt-secondary);
  line-height: 1.6;
}

/* Steps timeline */
.steps {
  position: relative;
  margin-top: 40px;
}
.steps::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(20, 184, 166, 0.3) 20%, rgba(20, 184, 166, 0.3) 80%, transparent);
}
.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 28px;
  padding: 40px 0;
  border-bottom: 0.5px solid var(--border);
  position: relative;
}
.step:last-child {
  border-bottom: none;
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg);
  border: 0.5px solid rgba(20, 184, 166, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--teal);
  flex-shrink: 0;
  align-self: start;
  position: sticky;
  top: 88px;
  z-index: 1;
}
.step-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.step-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-icon-teal {
  background: rgba(20, 184, 166, 0.06);
  border: 0.5px solid rgba(20, 184, 166, 0.2);
  color: var(--teal);
}
.step-icon-pink {
  background: rgba(236, 72, 153, 0.06);
  border: 0.5px solid rgba(236, 72, 153, 0.2);
  color: var(--pink);
}
.step-icon-purple {
  background: rgba(192, 132, 252, 0.06);
  border: 0.5px solid rgba(192, 132, 252, 0.2);
  color: var(--purple);
}
.step h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.step-desc {
  font-size: 14px;
  color: var(--txt-secondary);
  line-height: 1.75;
  max-width: 580px;
}
.step-result {
  background: rgba(20, 184, 166, 0.04);
  border: 0.5px solid rgba(20, 184, 166, 0.15);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 13px;
  color: var(--txt-secondary);
  line-height: 1.65;
  max-width: 540px;
}
.step-result strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 500;
}

/* Tools */
.tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  justify-content: center;
}
.tool-badge {
  padding: 6px 14px;
  background: var(--card-bg);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--txt-secondary);
  transition: border-color 0.15s, color 0.15s;
}
.tool-badge:hover {
  border-color: rgba(20, 184, 166, 0.3);
  color: var(--teal);
}

/* Responsive auto page */
@media (max-width: 768px) {
  .auto-usecases {
    grid-template-columns: 1fr 1fr;
  }
  .steps::before {
    display: none;
  }
  .step {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .step-num {
    position: static;
  }
}
@media (max-width: 480px) {
  .auto-usecases {
    grid-template-columns: 1fr;
  }
}

/* ====== CTA ====== */
.cta-section {
  text-align: center;
  padding: 60px 32px;
  position: relative;
  overflow: hidden;
}
.cta-box {
  display: inline-block;
  padding: 32px 44px;
  border: 1px solid rgba(20, 184, 166, 0.3);
  box-shadow:
    0 0 6px rgba(20, 184, 166, 0.06),
    inset 0 0 8px rgba(20, 184, 166, 0.02);
  border-radius: var(--radius-lg);
  background: rgba(20, 184, 166, 0.012);
  position: relative;
  z-index: 1;
}
.cta-box h2 {
  margin-bottom: 10px !important;
}
.cta-box p {
  font-size: 13px;
  color: var(--txt-secondary);
  margin: 0 0 22px;
  max-width: 400px;
}

/* ====== FORMULAIRE CONTACT ====== */
.contact-section {
  padding-top: 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
}
.contact-aside h2 {
  text-align: left;
  font-size: 18px;
  margin-bottom: 16px;
}
.contact-aside .eyebrow {
  text-align: left;
}
.contact-card {
  display: block;
  background: var(--card-bg);
  border: 0.5px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 10px;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.contact-card:hover {
  border-color: rgba(20, 184, 166, 0.25);
  transform: translateY(-2px);
}
.contact-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.contact-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.06);
  border: 0.5px solid rgba(20, 184, 166, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}
.contact-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--txt-tertiary);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.contact-value {
  font-size: 14px;
  color: var(--fg);
  font-weight: 500;
  margin-bottom: 2px;
}
.contact-meta {
  font-size: 11px;
  color: var(--txt-tertiary);
}
.contact-form-wrap h2 {
  text-align: left;
  font-size: 18px;
  margin-bottom: 16px;
}
.contact-form-wrap .eyebrow {
  text-align: left;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label {
  font-size: 12px;
  color: var(--txt-secondary);
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--fg);
  background: rgba(255, 255, 255, 0.025);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 10px 12px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(20, 184, 166, 0.5);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.08);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--txt-tertiary);
}
.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

/* Custom select */
.custom-select {
  position: relative;
}
.custom-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--fg);
  background: rgba(255, 255, 255, 0.025);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 10px 12px;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.custom-select-trigger svg {
  flex-shrink: 0;
  color: var(--txt-tertiary);
  transition: transform 0.18s;
}
.custom-select[aria-expanded="true"] .custom-select-trigger {
  border-color: rgba(20, 184, 166, 0.5);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.08);
}
.custom-select[aria-expanded="true"] .custom-select-trigger svg {
  transform: rotate(180deg);
}
.custom-select-value {
  color: var(--txt-secondary);
}
.custom-select-value.has-value {
  color: var(--fg);
}
.custom-select-options {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 100;
  background: #12121a;
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  list-style: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.custom-select[aria-expanded="true"] .custom-select-options {
  display: block;
}
.custom-select-option {
  padding: 10px 14px;
  font-size: 14px;
  color: var(--txt-secondary);
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.custom-select-option:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
}
.custom-select-option.is-selected {
  color: var(--teal);
}

/* Checkboxes en pills */
.checkbox-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.checkbox-pill {
  position: relative;
  cursor: pointer;
}
.checkbox-pill input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.checkbox-pill span {
  display: inline-block;
  font-size: 12px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  color: var(--txt-secondary);
  transition: all 0.2s;
}
.checkbox-pill:hover span {
  color: var(--fg);
  border-color: rgba(255, 255, 255, 0.2);
}
.checkbox-pill input:checked + span {
  background: rgba(20, 184, 166, 0.1);
  border-color: rgba(20, 184, 166, 0.4);
  color: var(--teal);
}
.checkbox-pill.checkbox-pink input:checked + span {
  background: rgba(236, 72, 153, 0.08);
  border-color: rgba(236, 72, 153, 0.4);
  color: var(--pink);
}

.form-submit {
  margin-top: 8px;
}
.form-submit .btn-primary {
  padding: 12px 16px;
  font-size: 14px;
}
.form-note {
  font-size: 11px;
  color: var(--txt-tertiary);
  margin-top: 8px;
  text-align: center;
  line-height: 1.5;
}
.form-success {
  margin-top: 16px;
  padding: 20px;
  border: 0.5px solid rgba(20, 184, 166, 0.25);
  border-radius: var(--radius);
  background: rgba(20, 184, 166, 0.05);
  text-align: center;
}
.form-success .eyebrow {
  color: var(--teal);
  margin-bottom: 6px;
}
.form-success p:last-child {
  font-size: 14px;
  color: var(--txt-secondary);
}

/* ====== FOOTER ====== */
footer {
  border-top: 0.5px solid var(--border);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding: 28px 32px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-brand p {
  font-size: 11px;
  color: var(--txt-tertiary);
  line-height: 1.5;
  margin-top: 8px;
}
.footer-cities {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.04em;
  margin-top: 6px !important;
}
.nav-flag {
  font-size: 15px;
  opacity: 0.3;
  line-height: 1;
  flex-shrink: 0;
}
.footer-cols {
  display: flex;
  gap: 32px;
  font-size: 12px;
}
.footer-cols div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-head {
  color: var(--txt-tertiary);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-family: var(--font-mono);
}
.footer-cols a {
  color: var(--txt-secondary);
  font-size: 12px;
  transition: color 0.2s;
}
.footer-cols a:hover {
  color: var(--fg);
}
.footer-bottom {
  padding: 14px 32px;
  border-top: 0.5px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--txt-tertiary);
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-copy {
  font-size: 11px;
  color: var(--txt-tertiary);
  font-family: var(--font-mono);
}
.footer-copy a {
  color: var(--txt-tertiary);
  transition: color 0.15s;
}
.footer-copy a:hover {
  color: var(--txt-secondary);
}

/* ====== PAGES LÉGALES ====== */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
}
.legal-block {
  margin-bottom: 40px;
}
.legal-block h2 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--fg);
  text-align: left;
}
.legal-block p,
.legal-block li {
  font-size: 14px;
  color: var(--txt-secondary);
  line-height: 1.75;
  margin-bottom: 8px;
}
.legal-block ul {
  padding-left: 20px;
  margin-bottom: 8px;
}
.legal-block a {
  color: var(--teal);
}
.legal-block strong {
  color: var(--fg);
  font-weight: 500;
}
.legal-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--pink);
  margin-top: 8px;
}
.legal-update {
  font-size: 11px;
  color: var(--txt-tertiary);
  font-family: var(--font-mono);
  margin-top: 40px;
  padding-top: 24px;
  border-top: 0.5px solid var(--border);
}
.sep-pink {
  color: var(--pink);
  opacity: 0.5;
}
.heart {
  color: var(--pink);
}

/* =================================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ================================================================= */
@media (max-width: 768px) {
  .nav {
    padding: 14px 20px;
  }
  .nav-links {
    gap: 10px;
    font-size: 12px;
  }
  .nav-links a:not(.btn-primary) {
    display: none;
  }
  .nav-burger {
    display: inline-flex;
  }

  .section {
    padding: 40px 20px;
  }

  .hero {
    padding: 56px 20px;
  }
  .hero h1 {
    font-size: 28px;
    line-height: 1.2;
  }
  .hero-sub {
    font-size: 14px;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn-primary,
  .hero-cta .btn-ghost {
    width: 100%;
    padding: 11px 16px;
  }

  .section h2 {
    font-size: 20px;
  }

  .trust-bar {
    gap: 12px;
    padding: 14px 16px;
  }
  .trust-bar span {
    font-size: 11px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 24px 20px;
    max-width: 100%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-row {
    flex-direction: column;
    gap: 20px;
    padding: 24px 20px;
  }
  .footer-cols {
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 14px 20px;
  }
}

/* =================================================================
   RESPONSIVE — TABLET (769-1024px)
   ================================================================= */
@media (min-width: 769px) and (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 280px 1fr;
    gap: 24px;
  }
}

/* ====== LOGO NÉON ANIMATION ====== */
#chevron-neon path,
#power-o-neon path {
  filter: drop-shadow(0 0 3px rgba(20, 184, 166, 0.8))
          drop-shadow(0 0 8px rgba(20, 184, 166, 0.5))
          drop-shadow(0 0 15px rgba(20, 184, 166, 0.3));
  animation: neon-cyberpunk 10s steps(1, end) infinite;
}

@keyframes neon-cyberpunk {
  0%, 55% { opacity: 1; }
  55.5% { opacity: 0.3; }
  56% { opacity: 0.8; }
  56.5% { opacity: 0.3; }
  57% { opacity: 0.8; }
  57.5% { opacity: 0.3; }
  58% { opacity: 0.8; }
  58.5% { opacity: 0.3; }
  59% { opacity: 0.6; }
  59.5% { opacity: 0.3; }
  60% { opacity: 0.7; }
  60.5% { opacity: 0.3; }
  61% { opacity: 0.6; }
  61.5% { opacity: 0.3; }
  62%, 82% { opacity: 0.25; }
  82.5% { opacity: 0.4; }
  83% { opacity: 0.3; }
  83.5% { opacity: 0.6; }
  84% { opacity: 0.3; }
  84.5% { opacity: 0.5; }
  85% { opacity: 0.3; }
  85.5% { opacity: 0.7; }
  86% { opacity: 0.3; }
  86.5% { opacity: 0.8; }
  87% { opacity: 0.4; }
  87.5% { opacity: 0.6; }
  88% { opacity: 0.3; }
  88.5% { opacity: 0.9; }
  89% { opacity: 0.7; }
  91% { opacity: 0.9; }
  93%, 100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  #chevron-neon path,
  #power-o-neon path {
    animation: none;
  }
}
