/* ============================================================
   SIORE — Design System
   Versão: 2.0
   Fontes: Sora (headings) + DM Sans (body)
   Paleta: Emerald + Blue + Slate
   Estilo: Glassmorphism, toplight, sombra flutuante
============================================================ */

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

/* ========================================
   VARIÁVEIS / TOKENS
======================================== */
:root {
  /* Emerald — cor primária (logo) */
  --emerald-50:  #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-300: #6ee7b7;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;

  /* Blue — cor secundária (logo) */
  --blue-50:  #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;

  /* Slate — neutros */
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;

  /* Gradiente luminoso — toplight, underlines, bordas */
  --light-gradient: linear-gradient(90deg, transparent, var(--emerald-400), var(--blue-400), transparent);

  /* Glass claro (cards sobre fundo light) */
  --glass-bg: rgba(240, 249, 245, 0.55);
  --glass-bg-hover: rgba(240, 249, 245, 0.72);
  --glass-border: rgba(255, 255, 255, 0.30);
  --glass-shadow: 0 0 40px rgba(2, 6, 23, 0.18), 0 0 80px rgba(2, 6, 23, 0.10), 0 8px 32px rgba(0, 0, 0, 0.14), 0 2px 6px rgba(0, 0, 0, 0.06);
  --glass-shadow-hover: 0 0 50px rgba(2, 6, 23, 0.24), 0 0 100px rgba(2, 6, 23, 0.14), 0 12px 48px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);

  /* Glass escuro (cards dark) */
  --glass-dark-bg: rgba(15, 23, 42, 0.70);
  --glass-dark-bg-hover: rgba(15, 23, 42, 0.80);
  --glass-dark-border: rgba(255, 255, 255, 0.10);
  --glass-dark-shadow: 0 0 40px rgba(16, 185, 129, 0.12), 0 0 80px rgba(59, 130, 246, 0.08), 0 8px 32px rgba(0, 0, 0, 0.40), 0 2px 6px rgba(0, 0, 0, 0.15);
  --glass-dark-shadow-hover: 0 0 50px rgba(16, 185, 129, 0.20), 0 0 100px rgba(59, 130, 246, 0.14), 0 12px 48px rgba(0, 0, 0, 0.45), 0 4px 12px rgba(0, 0, 0, 0.18);

  /* Tipografia */
  --font-heading: 'Sora', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  /* Border radius padrão */
  --radius: 14px;

  /* Spacing */
  --section-gap: 5rem;
}

/* ========================================
   BASE
======================================== */
body {
  font-family: var(--font-body);
  color: var(--slate-800);
  line-height: 1.6;
  background: var(--slate-50);
  -webkit-font-smoothing: antialiased;
}

/* ========================================
   FUNDOS — SEÇÕES LIGHT / DARK
======================================== */
.bg-light, .bg-dark {
  position: relative;
  overflow: hidden;
}

.bg-light { color: var(--slate-800); }
.bg-dark  { color: var(--slate-200); }

/* Slideshow de fundo */
.bg-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bg-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.bg-slideshow img.active {
  opacity: 1;
}

/* Blur — adicionar classe .bg-blur na section */
.bg-blur .bg-slideshow img {
  filter: blur(4px);
  transform: scale(1.05);
}

/* Overlay customizado */
.bg-overlay-30 .bg-overlay {
  background: rgba(248, 250, 252, 0.30) !important;
}

.bg-overlay-40 .bg-overlay {
  background: rgba(248, 250, 252, 0.40) !important;
}

.bg-overlay-50 .bg-overlay {
  background: rgba(248, 250, 252, 0.50) !important;
}

.bg-overlay-60 .bg-overlay {
  background: rgba(248, 250, 252, 0.60) !important;
}

.bg-overlay-70 .bg-overlay {
  background: rgba(248, 250, 252, 0.70) !important;
}

/* Overlay padrão 70% */
.bg-light .bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(248, 250, 252, 0.70);
}

.bg-dark .bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(2, 6, 23, 0.80);
}

/* ========================================
   LAYOUT
======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.section {
  padding: var(--section-gap) 0;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate-700);
  margin-bottom: 0.75rem;
}

.bg-dark .section-label { color: var(--slate-100); }

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

/* Sublinhado gradiente nos títulos de seção (exceto CTA e hero) */
.section .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--light-gradient);
  border-radius: 2px;
}

.text-center .section-title::after {
  display: none;
}

.bg-dark .section-title { color: var(--slate-200); }

.section-subtitle {
  font-size: 1rem;
  color: var(--slate-900);
  margin-bottom: 3rem;
  max-width: 560px;
}

.bg-dark .section-subtitle { color: var(--slate-50); }

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.grid-3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.grid-3 > * {
  width: calc(33.333% - 1rem);
  min-width: 280px;
}

.grid-2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.grid-2 > * {
  width: calc(50% - 0.75rem);
  min-width: 320px;
}

/* ========================================
   CARD — Versão LIGHT
   Glass + sombra flutuante + toplight
======================================== */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--glass-shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Toplight animado */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background: var(--light-gradient);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s;
  opacity: 0;
}

/* Reflexo sutil */
.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 100%);
  pointer-events: none;
}

.card:hover {
  background: var(--glass-bg-hover);
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-6px);
}

.card:hover::before {
  width: 80%;
  opacity: 1;
}

/* ========================================
   CARD — Versão DARK
======================================== */
.card-dark {
  background: var(--glass-dark-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-dark-border);
  border-radius: var(--radius);
  padding: 2rem;
  color: var(--slate-200);
  box-shadow: var(--glass-dark-shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background: var(--light-gradient);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s;
  opacity: 0;
}

.card-dark::after {
  content: '';
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(ellipse at 50% 0%, rgba(16,185,129,0.06) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}

.card-dark:hover {
  background: var(--glass-dark-bg-hover);
  box-shadow: var(--glass-dark-shadow-hover);
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.12);
}

.card-dark:hover::before {
  width: 80%;
  opacity: 1;
}

.card-dark:hover::after {
  opacity: 1;
}

/* ========================================
   CARD — Elementos internos
======================================== */
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.card-icon-emerald {
  background: linear-gradient(135deg, var(--emerald-50), var(--emerald-100));
  color: var(--emerald-600);
}

.card-icon-blue {
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
  color: var(--blue-600);
}

.card-icon-dark-emerald {
  background: rgba(16,185,129,0.12);
  color: var(--emerald-400);
}

.card-icon-dark-blue {
  background: rgba(59,130,246,0.12);
  color: var(--blue-400);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--slate-900);
}

.card-dark .card-title { color: var(--slate-50); }

.card-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--slate-500);
}

.card-dark .card-text { color: var(--slate-300); }

/* ========================================
   NAVEGAÇÃO
   Fundo sólido escuro + borda luminosa + underline animado
======================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.75rem 0;
  background: linear-gradient(90deg, var(--slate-900), var(--slate-700), var(--slate-900));
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--emerald-400), var(--blue-400), transparent) 1;
  transition: padding 0.35s ease;
  will-change: padding;
}

.nav.scrolled {
  padding: 0.35rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--slate-200);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: height 0.35s ease;
}

.nav.scrolled .nav-logo img {
  height: 26px;
}

.nav-right-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: height 0.35s ease, opacity 0.3s;
}

.nav.scrolled .nav-right-logo img {
  height: 26px;
}

.nav-right-logo img:hover {
  opacity: 1;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--slate-400);
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  position: relative;
  transition: color 0.3s, font-size 0.35s ease;
}

.nav.scrolled .nav-links a {
  font-size: 0.82rem;
}

/* Underline animado — gradiente luminoso */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--light-gradient);
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover { color: var(--slate-50); }
.nav-links a:hover::after { width: 70%; }

.nav-links a.active { color: var(--emerald-400); }
.nav-links a.active::after { width: 70%; opacity: 1; }

/* ========================================
   BOTÕES — Glass style
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font-heading);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

/* Primary — verde glass */
.btn-primary {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.75), rgba(5, 150, 105, 0.80));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--slate-50);
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow:
    0 4px 14px rgba(16, 185, 129, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.88), rgba(5, 150, 105, 0.92));
  box-shadow:
    0 8px 28px rgba(16, 185, 129, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.20);
  transform: translateY(-2px);
}

/* Secondary — glass claro */
.btn-secondary {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--slate-700);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.50);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.60);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.60);
  transform: translateY(-2px);
}

/* Ghost — emerald sutil */
.btn-ghost {
  background: rgba(16, 185, 129, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--emerald-600);
  border: 1px solid rgba(16, 185, 129, 0.10);
  padding: 0.7rem 1rem;
}

.btn-ghost:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.20);
}

/* Nav CTA — verde sólido */
.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 500;
  font-family: var(--font-heading);
  cursor: pointer;
  text-decoration: none;
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
  color: var(--slate-50);
  border: none;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-nav-cta:hover {
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
  transform: translateY(-1px);
}

/* Outline light — para fundos escuros */
.btn-outline-light {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--slate-300);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
  transform: translateY(-2px);
}

.btn-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ========================================
   HERO
======================================== */
.hero {
  padding: 6rem 0 5rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-overline {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.bg-light .hero-overline { color: var(--emerald-600); }
.bg-light .hero h1 { color: var(--slate-800); }
.bg-light .hero p { color: var(--slate-500); }

.bg-dark .hero-overline { color: var(--emerald-400); }
.bg-dark .hero h1 { color: var(--slate-50); }
.bg-dark .hero p { color: var(--slate-400); }

.hero h1 .accent { color: var(--emerald-500); }

/* ========================================
   STAT / MÉTRICAS
======================================== */
.stat-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.35rem;
  background: linear-gradient(135deg, var(--emerald-400), var(--blue-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
}

.bg-light .stat-label { color: var(--slate-500); }
.bg-dark .stat-label { color: var(--slate-400); }

/* ========================================
   STATS SECTION — Números / Indicadores
======================================== */
.stats-section {
  padding: 3.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stats-card {
  background: var(--glass-dark-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-dark-border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stats-card:hover {
  background: var(--glass-dark-bg-hover);
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.12);
}

.stats-card__number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--emerald-400), var(--blue-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stats-card__label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-300);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   HERO HOME — Logo + textos centralizados
======================================== */
.hero-home {
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  z-index: 2;
  transform: translateZ(0);
}

.hero-home__logo {
  position: relative;
  display: inline-block;
}

.hero-home__logo::before {
  display: none;
}

.hero-home__logo img {
  position: relative;
  z-index: 1;
  height: 140px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: none;
}

.hero-home__tagline {
  font-family: var(--font-heading);
  font-size: 1.725rem;
  font-weight: 600;
  color: var(--slate-800);
  text-shadow: 2px 3px 4px rgba(0,0,0,0.35);
  margin-bottom: 0.15rem;
  line-height: 1.3;
}


/* Card com texto + imagem lado a lado */
.hero-home__card {
  margin-top: 4rem;
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--glass-shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-home__card:hover {
  background: var(--glass-bg-hover);
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-6px);
}

.hero-home__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background: var(--light-gradient);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s;
  opacity: 0;
}

.hero-home__card:hover::before {
  width: 80%;
  opacity: 1;
}

.hero-home__card-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 1rem;
}

.hero-home__card-text {
  font-size: 1.045rem;
  color: var(--slate-500);
  line-height: 1.7;
}

.hero-home__card-text p {
  margin-bottom: 0.5rem;
}

.hero-home__card-img img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--glass-shadow-hover), 0 12px 40px rgba(0, 0, 0, 0.20);
}

@media (max-width: 768px) {
  .hero-home__card {
    grid-template-columns: 1fr;
  }
}

.hero-home__features {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

.hero-home__features h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 1rem;
}

.hero-home__features ul {
  list-style: none;
  padding: 0;
}

.hero-home__features li {
  font-size: 0.92rem;
  color: var(--slate-500);
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}

.hero-home__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-400);
}

/* ========================================
   CARD SERVIÇO PRINCIPAL — Grande, com lista
======================================== */
.card-service {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--glass-shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card-service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background: var(--light-gradient);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s;
  opacity: 0;
}

.card-service:hover {
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-6px);
}

.card-service:hover::before {
  width: 80%;
  opacity: 1;
}

.card [class*="color-"],
.card-dark [class*="color-"],
.card-service [class*="color-"],
.card-service-item [class*="color-"],
.team-card [class*="color-"],
.partner-company-card [class*="color-"],
.contact-card [class*="color-"] {
  text-shadow: none;
}

.card-service__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.card-service__desc {
  font-size: 0.9rem;
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.card-service__label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald-400);
  margin-bottom: 0.75rem;
}

.card-service__list {
  list-style: none;
  padding: 0;
}

.card-service__list li {
  font-size: 0.88rem;
  color: var(--slate-600);
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.card-service__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--emerald-400);
}

.card-service__list--blue li::before {
  background: var(--blue-400);
}


/* ========================================
   CARD SERVIÇO ITEM — card secundário com imagem
======================================== */
.card-service-item {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--glass-shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.card-service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background: var(--light-gradient);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s;
  opacity: 0;
}

.card-service-item:hover {
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-6px);
}

.card-service-item:hover::before {
  width: 80%;
  opacity: 1;
}

.card-service-item__img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: calc(var(--radius) - 4px);
  margin-bottom: 1rem;
}

.card-service-item__icon {
  margin-bottom: 0.75rem;
  color: var(--emerald-400);
}

.card-service-item__icon svg {
  width: 32px;
  height: 32px;
}

.card-service-item__title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}

.card-service-item__text {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--slate-500);
}

/* Tags de tecnologia e status para portfólio */
.port-tech-tag {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.3rem 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue-400);
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 20px;
}

.port-status-tag {
  display: inline-block;
  margin-top: 0.5rem;
  margin-left: 0.25rem;
  padding: 0.3rem 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--emerald-400);
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: 20px;
}

/* Texto introdutório de página */
.page-intro {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: 1rem;
  color: var(--slate-500);
  line-height: 1.75;
  transform: translateZ(0);
}

.page-intro p {
  margin-bottom: 1rem;
}

.page-intro p:last-child {
  margin-bottom: 0;
}

/* ========================================
   LISTA DE OBRAS
======================================== */
.obras-list {
  list-style: none;
  padding: 0;
}

.obras-list li {
  font-size: 0.92rem;
  color: var(--slate-600);
  padding: 0.55rem 0;
  padding-left: 1.5rem;
  position: relative;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.obras-list li:last-child { border-bottom: none; }

.obras-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 2px;
  background: var(--emerald-400);
  border-radius: 1px;
}

.obras-list--blue li::before {
  background: var(--blue-400);
}

/* ========================================
   SOCIAL LAYOUT — imagem + card lado a lado
======================================== */
.social-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.social-layout__img {
  display: flex;
  justify-content: center;
}

.social-layout__img img {
  width: 80%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--glass-dark-shadow);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s;
}

.social-layout__img img:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--glass-dark-shadow-hover);
}

@media (max-width: 768px) {
  .social-layout {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   SOCIAL BUTTONS
======================================== */
.btn-social {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font-heading);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--slate-300);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-social:hover {
  transform: translateY(-2px);
}

.btn-social svg {
  width: 20px;
  height: 20px;
}

/* Instagram — glass emerald */
.btn-social--emerald {
  background: rgba(16, 185, 129, 0.10);
  border-color: rgba(16, 185, 129, 0.25);
  color: var(--emerald-400);
  box-shadow:
    0 4px 14px rgba(16, 185, 129, 0.10),
    inset 0 1px 0 rgba(16, 185, 129, 0.08);
}

.btn-social--emerald:hover {
  background: rgba(16, 185, 129, 0.20);
  border-color: rgba(16, 185, 129, 0.40);
  color: var(--emerald-300);
  box-shadow:
    0 8px 24px rgba(16, 185, 129, 0.18),
    inset 0 1px 0 rgba(16, 185, 129, 0.12);
}

/* LinkedIn — glass blue */
.btn-social--blue {
  background: rgba(59, 130, 246, 0.10);
  border-color: rgba(59, 130, 246, 0.25);
  color: var(--blue-400);
  box-shadow:
    0 4px 14px rgba(59, 130, 246, 0.10),
    inset 0 1px 0 rgba(59, 130, 246, 0.08);
}

.btn-social--blue:hover {
  background: rgba(59, 130, 246, 0.20);
  border-color: rgba(59, 130, 246, 0.40);
  color: var(--blue-300);
  box-shadow:
    0 8px 24px rgba(59, 130, 246, 0.18),
    inset 0 1px 0 rgba(59, 130, 246, 0.12);
}

/* ========================================
   SERVICES SPLIT — Engenharia + Tecnologia lado a lado
======================================== */
.services-split {
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  gap: 2rem;
  align-items: start;
}

.services-split__divider {
  width: 2px;
  align-self: stretch;
  background: var(--light-gradient);
  background-size: 100% 100%;
  background-image: linear-gradient(180deg, transparent, var(--emerald-400), var(--blue-400), transparent);
  border-radius: 2px;
}

.services-split__col {
  text-align: center;
}

.grid-2-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1024px) {
  .services-split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .services-split__divider {
    display: none;
  }
}

@media (max-width: 768px) {
  .services-split {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
  }
  .services-split__divider {
    display: none !important;
  }
  .grid-2-cards {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
    gap: 1rem !important;
  }
  .card-service {
    text-align: center;
    padding: 1.2rem;
  }
  .card-service__title {
    font-size: 1.05rem;
    word-break: break-word;
  }
  .card-service__desc {
    font-size: 0.85rem;
  }
  .card-service__icon {
    margin: 0 auto 1rem;
  }
}

/* ========================================
   UTILITÁRIOS
======================================== */
/* Cores de texto utilitárias */
.color-slate { color: var(--slate-900); }
.color-blue { color: var(--blue-400); text-shadow: 2px 3px 4px rgba(0,0,0,0.35); }
.color-emerald { color: var(--emerald-400); text-shadow: 2px 3px 4px rgba(0,0,0,0.35); }

/* Glow nos textos de seção — light: slate-400, dark: slate-50 */
.bg-light.section-glow .section-label,
.bg-light.section-glow .section-title,
.bg-light.section-glow .section-subtitle {
  text-shadow:
    0 0 20px rgba(148, 163, 184, 0.9),
    0 0 40px rgba(148, 163, 184, 0.6),
    0 0 60px rgba(148, 163, 184, 0.3);
}

.bg-dark.section-glow .section-label,
.bg-dark.section-glow .section-title,
.bg-dark.section-glow .section-subtitle {
  text-shadow:
    0 0 15px rgba(248, 250, 252, 0.4),
    0 0 30px rgba(248, 250, 252, 0.2),
    0 0 50px rgba(248, 250, 252, 0.1);
}

/* Glow nos textos de team cards dentro de seções com bg */
.section-glow .team-card__name,
.section-glow .team-card__role,
.section-glow .team-card__bio,
.section-glow .team-card__tags,
.section-glow .partner-company-card .team-card__name,
.section-glow .partner-company-card .team-card__role,
.section-glow .partner-company-card .team-card__bio,
.section-glow .partner-company-card .team-card__tags {
  text-shadow:
    0 0 20px rgba(255, 255, 255, 0.9),
    0 0 40px rgba(255, 255, 255, 0.6),
    0 0 60px rgba(255, 255, 255, 0.3);
}

.text-center { text-align: center; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }

/* ========================================
   FOOTER
   Mesmo estilo de cor do navbar (degradê slate 700-900)
======================================== */
.footer {
  background: linear-gradient(180deg, var(--slate-900), var(--slate-800), var(--slate-900));
  color: var(--slate-300);
  padding: 4rem 0 0;
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--emerald-400), var(--blue-400), transparent) 1;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__logo img {
  height: 50px;
  margin-bottom: 1rem;
  object-fit: contain;
}

.footer__descricao {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--emerald-400);
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 0.6rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.3s;
}

.footer__links a:hover {
  color: var(--emerald-400);
}

.footer__contato-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
}

.footer__contato-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--emerald-400);
}

.footer__contato-item a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.3s;
}

.footer__contato-item a:hover {
  color: var(--emerald-400);
}

.footer__bottom {
  text-align: center;
  padding: 1.25rem 0;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.78rem;
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.3s;
}

.footer__bottom a:hover {
  color: var(--emerald-400);
}

/* ========================================
   MINI FOOTER — Fixo na base da tela
   Desaparece quando o footer principal aparece
======================================== */
.mini-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 36px;
  z-index: 99;
  overflow: hidden;
  background: linear-gradient(90deg, var(--slate-900), var(--slate-700), var(--slate-900));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.mini-footer.hidden {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}

.mini-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.mini-footer__logo img {
  height: 20px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
}

.mini-footer__center {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
  text-align: center;
}

.mini-footer__center a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.3s;
}

.mini-footer__center a:hover {
  color: var(--emerald-400);
}

.mini-footer__clock {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
  font-family: var(--font-heading);
  font-weight: 300;
  min-width: 60px;
  text-align: right;
}

/* ========================================
   TEAM MEMBER CARD — Foto + texto lado a lado
======================================== */
.team-card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--glass-shadow);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: start;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background: var(--light-gradient);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s;
  opacity: 0;
}

.team-card:hover {
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-4px);
}

.team-card:hover::before {
  width: 80%;
  opacity: 1;
}

.team-card__photo {
  width: 200px;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
}

.team-card__name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 0.25rem;
}

.team-card__role {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--emerald-500);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.team-card__bio {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--slate-500);
  margin-bottom: 1rem;
}

.team-card__bio p {
  margin-bottom: 0.75rem;
}

.team-card__tags {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue-400);
  letter-spacing: 0.02em;
}

/* Partner card — mesmo estilo mas com destaque diferente */
.team-card--partner .team-card__role {
  color: var(--blue-500);
}

/* Company partner card — sem foto, centralizado */
.partner-company-card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--glass-shadow);
  text-align: left;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-company-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background: var(--light-gradient);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s;
  opacity: 0;
}

.partner-company-card:hover {
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-4px);
}

.partner-company-card:hover::before {
  width: 80%;
  opacity: 1;
}

.partner-logo {
  float: right;
  height: 80px;
  width: auto;
  object-fit: contain;
  margin: 0 0 1rem 1.5rem;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .partner-logo {
    float: none;
    display: block;
    margin: 0 auto 1rem;
    height: 70px;
  }
}

@media (max-width: 768px) {
  .team-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .team-card__photo {
    width: 160px;
    height: 200px;
    margin: 0 auto;
  }
}

/* ========================================
   CONTATO — Formulário glass + Info card
======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: var(--light-gradient);
  opacity: 0.6;
}

.contact-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 1.5rem;
}

/* Campos de input glass */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate-600);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--slate-800);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.50);
  border-radius: var(--radius);
  outline: none;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--emerald-400);
  box-shadow:
    inset 0 1px 3px rgba(0, 0, 0, 0.04),
    0 0 0 3px rgba(16, 185, 129, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.06);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--slate-400);
  font-size: 0.85rem;
}

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

/* Custom Select — dropdown glass */
.custom-select {
  position: relative;
  width: 100%;
}

.custom-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--slate-800);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.50);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.04);
  user-select: none;
}

.custom-select__trigger.placeholder {
  color: var(--slate-400);
}

.custom-select__trigger:hover {
  border-color: rgba(255, 255, 255, 0.65);
}

.custom-select.open .custom-select__trigger {
  border-color: var(--emerald-400);
  box-shadow:
    inset 0 1px 3px rgba(0, 0, 0, 0.04),
    0 0 0 3px rgba(16, 185, 129, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.06);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.custom-select__arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--slate-400);
}

.custom-select.open .custom-select__arrow {
  transform: rotate(180deg);
  color: var(--emerald-400);
}

.custom-select__options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.50);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.2s ease;
  pointer-events: none;
}

.custom-select.open .custom-select__options {
  max-height: 250px;
  opacity: 1;
  pointer-events: auto;
}

.custom-select__option {
  padding: 0.7rem 1rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--slate-600);
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.custom-select__option:last-child {
  border-bottom: none;
}

.custom-select__option:hover {
  background: rgba(16, 185, 129, 0.08);
  color: var(--emerald-600);
  padding-left: 1.25rem;
}

.custom-select__option.selected {
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald-600);
  font-weight: 500;
}

.custom-select__trigger.error {
  border-color: #ef4444;
  box-shadow:
    inset 0 1px 3px rgba(0, 0, 0, 0.04),
    0 0 0 3px rgba(239, 68, 68, 0.12);
}

/* Campo com erro */
.form-input.error,
.form-textarea.error {
  border-color: #ef4444;
  box-shadow:
    inset 0 1px 3px rgba(0, 0, 0, 0.04),
    0 0 0 3px rgba(239, 68, 68, 0.12);
}

/* Mensagem de erro */
.form-error {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius);
  color: #dc2626;
  font-size: 0.85rem;
  font-weight: 500;
}

.form-error.visible {
  display: flex;
}

/* Mensagem de sucesso */
.form-success {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius);
  color: var(--emerald-600);
  font-size: 0.85rem;
  font-weight: 500;
}

.form-success.visible {
  display: flex;
}

/* Card de informações */
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(59, 130, 246, 0.08));
  color: var(--emerald-500);
}

.contact-info-item__icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-item__text {
  font-size: 0.92rem;
  color: var(--slate-600);
}

.contact-info-item__label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.contact-info-item a {
  color: var(--slate-600);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-info-item a:hover {
  color: var(--emerald-500);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.25rem; }
  .hero { padding: 4rem 0 3rem; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 1rem;
    right: auto;
    width: 220px;
    border-radius: 12px;
    background: var(--glass-dark-bg);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    padding: 1.2rem 2rem;
    box-shadow: var(--glass-dark-shadow);
    border: 1px solid var(--glass-dark-border);
    z-index: 100;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  .nav-links li:last-child {
    border-bottom: none;
  }
  .nav-hamburger {
    display: flex !important;
  }
  .nav-hamburger span {
    background: var(--slate-500);
  }
  .nav-inner {
    position: relative;
  }
  .nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .nav-logo img {
    height: 36px;
  }
  .nav.scrolled .nav-logo img {
    height: 22px;
  }
  .section { padding: 3rem 0; }

  /* Esconder logo SioreX no mobile */
  .nav-right-logo { display: none; }

  /* Tipografia mobile */
  .section-label, .section-title, .section-subtitle { text-align: center; }
  .section-title { font-size: 1.4rem; }
  .section-subtitle { font-size: 0.9rem; margin-left: auto; margin-right: auto; }
  section:not(.section) > .bg-slideshow img {
    transform: rotate(180deg);
  }
  .hero-home { padding: 4rem 2rem 5rem; }
  .hero-home__tagline { font-size: 1.3rem; }
  .hero-home__logo img { height: 110px; }

  /* Cards e espaçamentos */
  .hero-home__card { padding: 1.5rem; }
  .hero-home__card-title { font-size: 0.95rem; }
  .hero-home__card-text { font-size: 0.9rem; }
  .card, .card-service, .contact-card { padding: 1.5rem; }
  .card-service-item { padding: 1.5rem; }

  /* Stats */
  .stats-card__number { font-size: 2rem; }

  /* Team */
  .team-card__name { font-size: 1.05rem; }
  .team-card__photo { width: 160px; height: 200px; }

  /* Page intro */
  .page-intro { font-size: 0.9rem; padding: 1.5rem; }

  /* FORÇA TUDO para 1 coluna no mobile */
  .grid-2, .grid-3, .grid-4,
  .grid-2-cards,
  .services-split,
  .stats-grid,
  [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .grid-2 > *, .grid-3 > *, .grid-4 > * {
    min-width: unset !important;
    width: 100% !important;
  }
  .grid-3 {
    flex-direction: column !important;
  }
  .services-split__divider { display: none !important; }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid > div:nth-child(2),
  .footer__grid > div:nth-child(3) {
    display: none;
  }

  .mini-footer {
    display: none;
  }
}

/* Performance mobile — reduz efeitos pesados de GPU */
@media (max-width: 768px) {
  .card,
  .card-dark,
  .card-service,
  .card-service-item,
  .hero-home__card,
  .stats-card,
  .team-card,
  .partner-company-card,
  .contact-card,
  .btn-primary,
  .btn-secondary,
  .btn-ghost,
  .btn-outline-light {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .bg-blur .bg-slideshow img {
    filter: none;
    transform: none;
  }

  .section-glow .section-label,
  .section-glow .section-title,
  .section-glow .section-subtitle {
    text-shadow: none;
  }

  .section-glow .team-card__name,
  .section-glow .team-card__role,
  .section-glow .team-card__bio,
  .section-glow .team-card__tags,
  .section-glow .partner-company-card .team-card__name,
  .section-glow .partner-company-card .team-card__role,
  .section-glow .partner-company-card .team-card__bio,
  .section-glow .partner-company-card .team-card__tags {
    text-shadow: none;
  }
}

/* Respeita preferência de redução de movimento */
@media (prefers-reduced-motion: reduce) {
  .bg-slideshow img {
    transition: none;
  }
  .card, .card-dark, .card-service, .card-service-item,
  .hero-home__card, .team-card, .partner-company-card {
    transition: none;
  }
}

/* Extra small phones */
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .section { padding: 2.5rem 0; }
  .hero-home { padding: 3.5rem 1rem 4.5rem; }
  .hero-home__tagline { font-size: 1.05rem; }
  .hero-home__logo img { height: 90px; }
  .hero h1 { font-size: 1.75rem; }
  .section-title { font-size: 1.2rem; }
  .section-subtitle { font-size: 0.85rem; }
  .card, .card-service, .contact-card { padding: 1rem; }
  .card-service-item { padding: 1rem; }
  .hero-home__card { padding: 1rem; }
  .stats-card__number { font-size: 1.6rem; }
  .team-card__photo { width: 120px; height: 150px; }
}
