/* ============================================================
   NZ Agency — style.css
   Styles principaux, design system, layout, composants
   ============================================================ */

/* ===== CSS CUSTOM PROPERTIES (Design System) ===== */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

:root {
  /* Couleurs */
  --bg-primary:    #0c0c0c;
  --bg-secondary:  #111111;
  --bg-card:       rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);

  --cyan:   #ffffff;
  --violet: #ffffff;
  --rose:   rgba(255, 255, 255, 0.7);

  --text-primary:   #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.50);
  --text-muted:     rgba(255, 255, 255, 0.28);

  /* Gradients */
  --gradient-hero:   linear-gradient(135deg, #fff, #d4d4d4, #fff);
  --gradient-text:   linear-gradient(135deg, #ffffff 0%, #c0c0c0 100%);
  --gradient-border: conic-gradient(from var(--angle), rgba(255,255,255,0.35), rgba(255,255,255,0.08), rgba(255,255,255,0.35), rgba(255,255,255,0.08));

  /* Typographie */
  --font-heading: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Espacements */
  --section-pad:  clamp(72px, 10vw, 120px);
  --container-px: clamp(16px, 4vw, 48px);
  --container-max: 1200px;

  /* Bordures */
  --border-glass:  1px solid rgba(255, 255, 255, 0.08);
  --border-radius: 20px;
  --radius-sm:     10px;
  --radius-full:   9999px;

  /* Ombres / Glow */
  --glow-cyan:   0 4px 24px rgba(255, 255, 255, 0.10);
  --glow-violet: 0 4px 24px rgba(255, 255, 255, 0.08);
  --glow-rose:   0 4px 24px rgba(255, 255, 255, 0.12);
  --glow-card:   0 8px 40px rgba(0, 0, 0, 0.6);

  /* Transitions */
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --trans:     0.3s var(--ease);
  --trans-slow:0.6s var(--ease);

  /* Z-index */
  --z-navbar:  1000;
  --z-overlay: 500;
  --z-content: 1;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Focus visible accessible */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Scrollbar custom */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0c0c0c; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.3); }

/* ===== SÉLECTION TEXTE ===== */
::selection {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* ===== CONTAINER ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: #ffffff;
  color: #0c0c0c;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.20);
}
.btn-primary:active { transform: translateY(0); }

/* Ripple */
.btn-primary .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple-anim 0.5s var(--ease);
  pointer-events: none;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.80);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--trans);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.30);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
  box-shadow: var(--glow-cyan);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1rem;
}

/* ===== SECTION COMMONS ===== */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 72px);
}

.section-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.70);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Gradient text utility */
.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-navbar);
  padding: 0;
  transition: background var(--trans), backdrop-filter var(--trans), border-bottom var(--trans), padding var(--trans);
}

.navbar.scrolled {
  background: rgba(12, 12, 12, 0.80);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0;
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 20px var(--container-px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}

.navbar.scrolled .nav-container {
  padding-top: 14px;
  padding-bottom: 14px;
}

/* Logo */
.nav-logo, .footer-logo {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  overflow: visible;
}

.nav-logo-svg {
  display: block;
  height: 34px;
  width: auto;
  max-width: none;   /* bloque le rescaling de "img, svg { max-width: 100% }" */
  overflow: visible; /* descendantes visibles même hors du bounding box */
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-self: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 8px 10px;
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  transition: var(--trans);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover {
  color: rgba(255, 255, 255, 0.90);
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.btn-nav {
  padding: 9px 20px;
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  transition: var(--trans);
}

.burger:hover { border-color: rgba(255, 255, 255, 0.3); }

.burger-line {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--trans);
  transform-origin: center;
}

.burger.active .burger-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.active .burger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.active .burger-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 20px var(--container-px) 28px;
  background: rgba(12, 12, 12, 0.96);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  gap: 8px;
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--trans-slow), padding var(--trans-slow);
}

.nav-mobile.open {
  display: flex;
  max-height: 500px;
}

.nav-mobile ul { display: flex; flex-direction: column; gap: 4px; }

.nav-link-mobile {
  display: block;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--trans);
}

.nav-link-mobile:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.btn-mobile-cta {
  margin-top: 12px;
  text-align: center;
  justify-content: center;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-primary);
  padding-top: 80px;
}

/* Gradient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Spotlight beam */
.hero-orb-1 {
  width: 280px;
  height: 100%;
  background: linear-gradient(to bottom,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.12) 25%,
    rgba(255, 255, 255, 0.03) 55%,
    transparent 80%
  );
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(28px);
  border-radius: 0;
}

/* Sparkle star left */
.hero-orb-2 {
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(255,255,255,0.70) 0%, transparent 70%);
  bottom: 28%;
  left: 12%;
  filter: blur(3px);
  animation: sparkle-pulse 3s ease-in-out infinite;
}

/* Sparkle star right */
.hero-orb-3 {
  width: 45px;
  height: 45px;
  background: radial-gradient(circle, rgba(255,255,255,0.60) 0%, transparent 70%);
  top: 22%;
  right: 14%;
  filter: blur(2px);
  animation: sparkle-pulse 3s ease-in-out infinite 1.5s;
}

#particlesCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-grid {
  display: none;
}

.hero-content {
  position: relative;
  z-index: var(--z-content);
  text-align: center;
  max-width: 900px;
  padding: 0 var(--container-px);
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.80);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
  animation: badge-float 3s ease-in-out infinite;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
}

.badge-star {
  animation: badge-spin 4s linear infinite;
  display: inline-block;
}

/* Hero Title */
.hero-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 24px;
  text-align: center;
}

.hero-title .text-gradient {
  display: inline;
}

/* Hero Subtitle */
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 40px;
  min-height: 3.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.typewriter-cursor {
  font-family: var(--font-mono);
  color: var(--cyan);
  animation: blink 1s step-end infinite;
  font-size: 1.2em;
  line-height: 1;
}

/* Hero CTAs */
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 64px;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--border-radius);
  padding: 24px 40px;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  max-width: 580px;
  margin: 0 auto;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 100px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  padding-bottom: 0.15em;
}

.stat-number--plain {
  background: none;
  -webkit-text-fill-color: var(--text-primary);
  color: var(--text-primary);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-align: center;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.10);
  margin: 0 24px;
  flex-shrink: 0;
}

/* ===== SERVICES ===== */
.services {
  background: var(--bg-secondary);
}

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

/* Service Card */
.service-card {
  position: relative;
  border-radius: var(--border-radius);
  background: var(--bg-card);
  transition: transform var(--trans), box-shadow var(--trans);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35), var(--glow-cyan);
}

/* Rotating gradient border */
.card-glow-border {
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--border-radius) + 1px);
  background: var(--gradient-border);
  animation: border-rotate 4s linear infinite;
  z-index: 0;
}

.card-glow-border::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: var(--bg-card);
  border-radius: var(--border-radius);
  /* "Erase" inside so only the 1px border shows */
}

/* Use mask to show only border */
.card-glow-border {
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
}

.card-inner {
  position: relative;
  z-index: 1;
  padding: 36px 32px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border-radius: var(--border-radius);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.card-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.85);
  transition: var(--trans);
}

.service-card:hover .card-icon {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--glow-cyan);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}

.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  width: fit-content;
  margin-top: auto;
}

.tag-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ===== RÉALISATIONS ===== */
.realisations {
  background: var(--bg-primary);
}

.realisations-coming {
  display: flex;
  justify-content: center;
}

.coming-card {
  text-align: center;
  padding: 64px 48px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--border-radius);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.08);
  max-width: 480px;
  width: 100%;
}

.coming-icon {
  font-size: 3rem;
  margin-bottom: 24px;
}

.coming-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.coming-card p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.7;
}

/* ===== PROCESSUS ===== */
.process {
  background: var(--bg-secondary);
  overflow: hidden;
}

.process-wrapper {
  position: relative;
  padding-top: 24px;
}

/* Horizontal line */
.process-line {
  position: absolute;
  top: 60px;
  left: calc(var(--container-px) + 60px);
  right: calc(var(--container-px) + 60px);
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 0;
}

.process-line-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient-hero);
  transition: width 1.5s var(--ease);
  border-radius: 2px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.step-bubble {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans);
  flex-shrink: 0;
  position: relative;
}

.process-step.is-visible .step-bubble {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 6px rgba(255,255,255,0.04), 0 4px 24px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.12);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.70);
}

.step-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.step-emoji {
  font-size: 1.8rem;
  line-height: 1;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 180px;
}

/* ===== ÉQUIPE ===== */
.team {
  background: var(--bg-primary);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.team-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--border-radius);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.07);
  transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans);
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.10), inset 0 1px 0 rgba(255,255,255,0.10);
}

.team-card-inner {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.member-photo-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  flex-shrink: 0;
}

.photo-glow {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--gradient-hero);
  opacity: 0.4;
  filter: blur(12px);
  transition: opacity var(--trans), filter var(--trans);
  z-index: 0;
}

.team-card:hover .photo-glow {
  opacity: 0.7;
  filter: blur(18px);
}

.member-photo {
  position: relative;
  z-index: 1;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.photo-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
}

.member-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
}

.member-role {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cyan);
  letter-spacing: 0.04em;
}

.member-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.skill-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  transition: var(--trans);
}

.team-card:hover .skill-pill {
  color: rgba(255, 255, 255, 0.80);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.18);
}

/* ===== FAQ ===== */
.faq {
  background: var(--bg-secondary);
}

.faq-container {
  max-width: 760px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius);
  overflow: hidden;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.07);
  transition: border-color var(--trans), box-shadow var(--trans);
}

.faq-item:hover { border-color: rgba(255, 255, 255, 0.16); }
.faq-item.active {
  border-color: rgba(255, 255, 255, 0.20);
  box-shadow: 0 0 32px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.10);
}

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--trans);
}

.faq-btn:hover { color: #ffffff; }
.faq-item.active .faq-btn { color: #ffffff; }

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-secondary);
  transition: transform var(--trans), color var(--trans);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: rgba(255, 255, 255, 0.70);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}

.faq-body.open {
  max-height: 300px;
}

.faq-body p {
  padding: 0 24px 22px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ===== CONTACT ===== */
.contact {
  background: var(--bg-primary);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}

/* Form */
.contact-form-wrap {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--border-radius);
  padding: 40px;
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.08);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.required {
  color: var(--cyan);
  text-decoration: none;
  font-style: normal;
  border: none;
}

.optional {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--trans), box-shadow var(--trans), background var(--trans);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(244, 114, 182, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* Select */
.select-wrap {
  position: relative;
}

.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
}

.select-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  transition: color var(--trans);
}

.select-wrap:focus-within .select-icon { color: var(--cyan); }

select option {
  background: #111111;
  color: var(--text-primary);
}

/* Field error */
.field-error {
  font-size: 0.8rem;
  color: var(--rose);
  min-height: 16px;
  display: block;
}

/* Checkbox */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans);
  position: relative;
}

.checkbox-label input:checked + .checkbox-custom {
  background: var(--gradient-hero);
  border-color: transparent;
}

.checkbox-label input:checked + .checkbox-custom::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}

.checkbox-label input:focus-visible + .checkbox-custom {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.checkbox-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Submit button */
.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 16px 32px;
  font-size: 1rem;
  position: relative;
}

.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn-submit.loading .btn-text { display: none; }
.btn-submit.loading .btn-icon { display: none; }
.btn-submit.loading .btn-spinner { display: block; }
.btn-submit:disabled { opacity: 0.6; pointer-events: none; }

/* Form feedback */
.form-feedback {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-feedback[hidden] { display: none; }

.form-success {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.90);
}

.form-error-msg {
  background: rgba(244, 114, 182, 0.06);
  border: 1px solid rgba(244, 114, 182, 0.2);
  color: var(--rose);
}

.form-error-msg a {
  color: inherit;
  text-decoration: underline;
}

/* Honeypot */
.honeypot {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Contact Info Panel */
.contact-info { position: sticky; top: 100px; }

.info-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--border-radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.08);
}

.info-title {
  font-size: 1.3rem;
  font-weight: 700;
}

.info-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.detail-icon {
  font-size: 1.1rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.detail-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.detail-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: color var(--trans);
}

a.detail-value:hover { color: var(--cyan); }

.guarantees {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.guarantee-check {
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.80);
  flex-shrink: 0;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  display: inline-flex;
  gap: 0;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 220px;
  line-height: 1.5;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: var(--trans);
}

.social-link:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.10);
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a,
.footer-col span {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--trans);
}

.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--trans);
}

.footer-legal a:hover { color: var(--text-secondary); }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
