/* 1. CSS Custom Properties */
:root {
  --bg-dark: #2F3D6B; /* Azul profundo principal do site */
  --bg-logo: #2F3D6B; /* Ajustado para a mesma cor do resto do site */
  --bg-medium: #25345A; /* Background secundário */
  --bg-light: #F4EFEA; /* Branco sofisticado */
  --accent-primary: #C99173; /* Rose Gold elegante */
  --accent-secondary: #E0A889; /* Cor CTA premium */
  --accent-gradient: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%); /* Gradiente principal (Rose Gold) */
  --text-primary: #F4EFEA; /* Branco sofisticado */
  --text-secondary: #88A9D6; /* Azul suave e nítido (escurecido para melhor leitura) */
  --text-inverse: #202534; /* Texto escuro */

  --font-display: 'Montserrat', sans-serif; /* Switched to sans-serif for modern luxury */
  --font-body: 'Montserrat', sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 3rem;
  --space-12: 4rem;
  --space-16: 6rem;
  --space-20: 8rem; /* Massive whitespace */
  --space-24: 10rem;
  
  --radius-sm: 0px; /* Sharp corners for minimalism, except buttons */
  --radius-md: 0px;
  --radius-lg: 0px;
}

/* 2. CSS Reset / base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
}

body {
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* Scrollbar Firefox */
  scrollbar-color: var(--accent-primary) var(--bg-medium);
  scrollbar-width: thin;
}

/* Scrollbar Chrome / Edge / Safari */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-medium);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
  border-radius: 4px;
  border: 2px solid var(--bg-medium);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #edb99a 0%, var(--accent-secondary) 100%);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: var(--accent-primary);
  transition: color 0.3s ease;
}
a:hover {
  color: var(--accent-secondary);
}

ul {
  list-style: none;
}

/* 3. Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 300; /* Extremely light */
  line-height: 1.4;
  margin-bottom: var(--space-6);
  color: var(--text-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.editorial-highlight {
  border-left: 2px solid var(--accent-primary);
  padding-left: var(--space-6);
  margin: var(--space-8) 0;
  font-size: 1.25rem; /* Larger than body text */
  font-weight: 300;
  font-style: italic;
  color: var(--text-inverse); /* For light backgrounds */
  letter-spacing: 0.05em;
  line-height: 1.6;
}
.bg-dark .editorial-highlight {
  color: var(--text-primary);
}



h1 { font-size: var(--text-4xl); background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
p { margin-bottom: var(--space-4); font-size: var(--text-base); color: var(--text-secondary); }
.text-lead { font-size: var(--text-lg); color: var(--text-primary); }

/* 4. Layout */
.container {
  width: 100%;
  max-width: 1328px; /* 1280px useful area + 48px padding */
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: var(--space-16) 0;
}

.grid {
  display: grid;
  gap: var(--space-8);
}
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }

.service-sidebar {
  position: sticky;
  top: 100px;
}

.service-sidebar .glass-card,
.bg-light .service-sidebar .glass-card {
  background: var(--bg-dark) !important; /* sempre escuro, independente da seção pai */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--text-primary);
  border: 1px solid rgba(201, 145, 115, 0.5);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
}

.service-sidebar .glass-card h3 {
  color: var(--text-primary) !important;
}

.service-sidebar .glass-card p {
  color: var(--text-secondary) !important;
}

/* Reset button styles inside the dark glass card so they don't get the bg-light inversion */
/* CTA "Solicitar Proposta" — mesmo estilo glass-dourado da hero da home */
.service-sidebar .glass-card .btn-primary {
  color: var(--text-primary) !important;
  border: 1px solid rgba(201, 145, 115, 0.4) !important;
  background: linear-gradient(135deg, rgba(201, 145, 115, 0.35) 0%, rgba(201, 145, 115, 0.05) 100%) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.service-sidebar .glass-card .btn-primary:hover {
  background: linear-gradient(135deg, rgba(201, 145, 115, 0.55) 0%, rgba(201, 145, 115, 0.15) 100%) !important;
  border-color: rgba(201, 145, 115, 0.8) !important;
  color: var(--text-secondary) !important;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.service-sidebar .glass-card .btn-outline {
  color: var(--text-primary) !important;
  border-color: rgba(255,255,255,0.3) !important;
}
.service-sidebar .glass-card .btn-outline:hover {
  border-color: var(--text-secondary) !important;
  color: var(--text-secondary) !important;
}


.bg-light .btn-primary {
  color: var(--text-primary) !important;
  background: var(--bg-dark) !important;
  border-color: var(--bg-dark) !important;
}
.bg-light .btn-primary:hover {
  background: var(--accent-primary) !important;
  border-color: var(--accent-primary) !important;
  color: var(--bg-dark) !important;
}

.bg-light .btn-outline {
  color: var(--text-inverse) !important;
  border-color: var(--text-inverse) !important;
  background: transparent !important;
}
.bg-light .btn-outline:hover {
  background: var(--text-inverse) !important;
  color: var(--bg-light) !important;
  border-color: var(--text-inverse) !important;
}

/* Fix for dark form on light background */
#contact-form label {
  color: var(--text-primary) !important;
}

#contact-form .btn,
#contact-form .btn-primary {
  color: var(--text-primary) !important;
  border-color: rgba(201, 145, 115, 0.5) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

#contact-form .btn:hover,
#contact-form .btn-primary:hover {
  background: linear-gradient(135deg, rgba(201, 145, 115, 0.35) 0%, rgba(201, 145, 115, 0.05) 100%) !important;
  border-color: rgba(201, 145, 115, 0.8) !important;
  color: var(--text-primary) !important;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-3px) !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}


/* 5. Header/Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 0;
  background: rgba(47, 61, 107, 0.8); /* Azul #2F3D6B com 20% de transparência */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
}
header.scrolled {
  padding: 6px 0;
  background: rgba(47, 61, 107, 0.7); /* Azul com 30% de transparência ao rolar */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  width: 260px; /* Exibe menor na tela (260px) para compactar a altura do header */
  height: auto;
  transition: width 0.4s ease;
}
.logo-img {
  width: 100%; /* Ocupa os 260px do contêiner */
  height: auto; /* Mantém a proporção original */
  display: block;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
header.scrolled .logo {
  width: 180px; /* Encolhe na rolagem */
}
header.scrolled .logo-img {
  width: 180px; /* Encolhe a imagem na rolagem */
}
@media (max-width: 768px) {
  .logo {
    width: 180px; /* Ajuste responsivo para mobile */
  }
  .logo-img {
    width: 180px;
  }
  header.scrolled .logo {
    width: 140px; /* Ajuste responsivo ao rolar no mobile */
  }
  header.scrolled .logo-img {
    width: 140px;
  }
}
.nav-links {
  display: none; /* Mobile first: hidden, requires JS/checkbox to show */
  gap: var(--space-6);
}
.nav-links a {
  color: rgba(255, 255, 255, 0.85); /* Branco levemente suavizado — visível sobre vídeo escuro */
  font-weight: 300;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 10px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6); /* Sombra de texto para garantir contraste em qualquer cena do vídeo */
}
.nav-links a:hover {
  color: var(--accent-secondary); /* Dourado no hover */
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
  display: flex;       /* garante alinhamento vertical igual aos outros li */
  align-items: center;
}
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}
.dropdown-arrow {
  transition: transform 0.3s ease;
  opacity: 0.7;
}
.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
  opacity: 1;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;           /* encosta direto no link — sem gap que quebra o hover */
  padding-top: 10px;   /* espaço visual fica DENTRO do dropdown (hover contínuo) */
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  background: linear-gradient(135deg, rgba(23, 33, 63, 0.96) 0%, rgba(37, 52, 90, 0.98) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 145, 115, 0.25);
  border-top: 1px solid rgba(201, 145, 115, 0.5);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255,255,255,0.05);
  padding: 8px 0;
  list-style: none;
  z-index: 2000;
  opacity: 0;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  color: rgba(255,255,255,0.75) !important;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-shadow: none;
  white-space: nowrap;   /* impede quebra de linha */
  transition: all 0.2s ease;
  border-radius: 0;
}
.dropdown-menu li a:hover {
  color: var(--accent-secondary) !important;
  background: rgba(201, 145, 115, 0.08);
  padding-left: 26px;
}
.dropdown-icon {
  color: var(--accent-primary);
  font-size: 0.7rem;
  flex-shrink: 0;
}
/* Separador entre itens */
.dropdown-menu li + li {
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* Mobile: dropdown vira lista inline */
@media (max-width: 767px) {
  .dropdown-menu {
    position: static;
    display: none;
    transform: none !important;
    background: rgba(201, 145, 115, 0.06);
    backdrop-filter: none;
    border: none;
    border-left: 2px solid rgba(201, 145, 115, 0.3);
    border-radius: 0;
    box-shadow: none;
    padding: 4px 0;
    margin: 4px 0 4px 12px;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-dropdown.open .dropdown-menu {
    display: block;
  }
  .dropdown-menu li a {
    padding: 10px 16px;
    font-size: 0.72rem;
  }
}

/* 6. Hero */
.video-hero {
  position: relative;
  overflow: hidden;
  /* Mobile / fallback: imagem WebP estática (também serve antes do vídeo carregar em desktop) */
  background-image: url('./images/hero-bg-mobile.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--bg-dark);
}
@media (min-width: 768px) {
  .video-hero {
    background-image: url('./images/hero-bg.webp');
  }
}
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
  z-index: 0;
}
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65); /* Escurece o vídeo para o texto e dourado brilharem */
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
}

.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding-top: var(--space-20);
  background-color: var(--bg-dark); /* fallback */
}
.hero h1 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-8);
  color: var(--text-primary);
}
.hero p {
  font-size: var(--text-xl);
  max-width: 600px;
  margin-bottom: var(--space-8);
}
.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* Hero credentials (microcopy de prova social sob os CTAs) */
.hero-credentials {
  margin-top: var(--space-8);
  max-width: none; /* não herdar o max-width:600px de .hero p — mantém em uma linha */
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}
.hero-credentials .hero-cred-sep {
  color: var(--accent-primary);
  opacity: 0.7;
}

/* === Sobre — Home (versão enxuta com foto da Katia) === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
  margin-bottom: var(--space-12);
}
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-12);
  }
}

.about-photo {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18), 0 6px 18px rgba(201, 145, 115, 0.18);
  border: 1px solid rgba(201, 145, 115, 0.3);
  max-width: 460px;
  margin: 0 auto;
}
.about-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: saturate(0.95);
}
.about-photo-badge {
  position: absolute;
  bottom: var(--space-3);
  left: var(--space-3);
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(23, 33, 63, 0.6) 0%, rgba(37, 52, 90, 0.4) 100%);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border: 1px solid rgba(201, 145, 115, 0.22);
  border-radius: 6px;
  color: var(--text-primary);
  display: inline-flex;
  flex-direction: column;
  gap: 0;
  max-width: calc(100% - var(--space-6));
}
.about-photo-badge .badge-name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.15;
}
.about-photo-badge .badge-role {
  font-size: 0.68rem;
  color: rgba(245, 245, 240, 0.7);
  letter-spacing: 0.01em;
  line-height: 1.3;
  margin-top: 1px;
}

.about-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--accent-primary);
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.about-text h2 {
  margin-bottom: var(--space-5);
}
.about-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--accent-primary);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: gap 0.3s ease;
}
.about-cta:hover {
  gap: var(--space-3);
  text-decoration: underline;
}

/* Stats grid (4 cards de credenciais) */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .about-stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
  }
}
.stat-card {
  text-align: center;
  padding: var(--space-6) var(--space-4);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(201, 145, 115, 0.3);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(201, 145, 115, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(201, 145, 115, 0.18);
  border-color: rgba(201, 145, 115, 0.55);
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  line-height: 1;
  margin-bottom: var(--space-3);
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-inverse);
  line-height: 1.4;
}

/* Tool / system badges */
.tool-badge {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--text-inverse);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(201, 145, 115, 0.4);
  border-radius: 999px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.tool-badge:hover {
  border-color: rgba(201, 145, 115, 0.8);
  transform: translateY(-2px);
}
.bg-dark .tool-badge {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

/* === Página /sobre.html === */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .sobre-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: var(--space-12);
  }
}
.sobre-photo {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.22), 0 10px 24px rgba(201, 145, 115, 0.2);
  border: 1px solid rgba(201, 145, 115, 0.35);
}
.sobre-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: saturate(0.95);
}
.sobre-photo-caption {
  position: absolute;
  bottom: var(--space-5);
  left: var(--space-5);
  right: var(--space-5);
  padding: var(--space-4) var(--space-5);
  background: linear-gradient(135deg, rgba(23, 33, 63, 0.93) 0%, rgba(37, 52, 90, 0.85) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 145, 115, 0.45);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
}
.sobre-photo-caption .caption-name {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.03em;
}
.sobre-photo-caption .caption-role {
  font-size: 0.85rem;
  color: var(--accent-primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}
.sobre-content h2 {
  margin-bottom: var(--space-5);
  font-size: var(--text-3xl);
  line-height: 1.2;
}
.sobre-content p {
  font-size: var(--text-lg);
  line-height: 1.75;
}

/* 7. Sections (alternating bg) */
.bg-dark { 
  background-color: var(--bg-dark); 
  position: relative;
  overflow: hidden;
}
/* Adding ambient gradient glows to dark sections to make glassmorphism visible */
.bg-dark::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle at 15% 50%, rgba(201, 145, 115, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 85% 30%, rgba(201, 145, 115, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.bg-dark .container { position: relative; z-index: 1; }

.bg-medium { background-color: var(--bg-medium); }
.bg-light {
  background-color: var(--bg-light);
  color: var(--text-inverse);
  --text-secondary: #405877; /* Azul escuro refinado para alto contraste sobre o fundo claro */
}
.bg-light h1, .bg-light h2, .bg-light h3, .bg-light h4, .bg-light h5, .bg-light h6 { color: var(--text-inverse); }
.bg-light p { color: #333333; }
.bg-light .process-list li { border-bottom: 1px solid rgba(0,0,0,0.1); }
.bg-light .glass-card {
  border: 1px solid rgba(201, 145, 115, 0.3);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07); /* Sombra bem discreta no fundo claro */
}

/* "Conheça também" — cards escuros iguais à caixa de CTA da sidebar */
.bg-light .glass-card.glass-card-dark,
.glass-card.glass-card-dark {
  background: var(--bg-dark) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(201, 145, 115, 0.5);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  --text-secondary: #E2ECF8; /* Mantém legível sobre fundo escuro */
}
.bg-light .glass-card.glass-card-dark h3,
.glass-card.glass-card-dark h3 {
  color: var(--text-primary) !important;
}
.bg-light .glass-card.glass-card-dark p,
.glass-card.glass-card-dark p {
  color: var(--text-secondary) !important;
}
.bg-light .glass-card.glass-card-dark a,
.glass-card.glass-card-dark a {
  color: var(--accent-primary) !important;
}

/* FAQ por serviço — 1 coluna usando toda a largura da página */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  max-width: 1100px;
  margin: 0 auto;
}
.faq-grid .glass-card {
  box-shadow: 0 4px 14px rgba(201, 145, 115, 0.12), 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  border: 1px solid rgba(201, 145, 115, 0.45) !important;
}
.faq-grid .glass-card:hover {
  box-shadow: 0 6px 20px rgba(201, 145, 115, 0.2), 0 2px 6px rgba(0, 0, 0, 0.06) !important;
  border-color: rgba(201, 145, 115, 0.7) !important;
  transform: none;
}
.faq-grid .glass-card h3 {
  font-size: var(--text-lg);
  letter-spacing: 0.02em;
  text-transform: none;
  margin-bottom: var(--space-3);
}
/* Títulos em dourado escuro, elegante */
.bg-light .faq-grid .glass-card h3,
.bg-dark .faq-grid .glass-card h3 {
  color: #8a6a3a !important;
}

/* Card inteiro clicável (a.glass-card-link) — hover dourado */
a.glass-card-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
  color: inherit;
}
a.glass-card-link .card-link-cta {
  display: inline-block;
  margin-top: var(--space-2);
  color: var(--accent-primary);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.3s ease;
}
a.glass-card-link:hover {
  border-color: rgba(201, 145, 115, 0.9) !important;
  background: linear-gradient(135deg, rgba(201, 145, 115, 0.18) 0%, var(--bg-dark) 70%) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(201, 145, 115, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  transform: translateY(-6px);
}
a.glass-card-link:hover .card-icon,
a.glass-card-link:hover h3 {
  color: var(--accent-primary) !important;
}
a.glass-card-link:hover .card-link-cta {
  transform: translateX(6px);
  text-shadow: 0 0 12px rgba(201, 145, 115, 0.4);
}
a.glass-card-link:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 3px;
}

/* Card claro clicável (seção bg-light, ex.: serviços principais da home) —
   mantém o fundo claro no hover em vez do gradiente escuro padrão */
.bg-light a.glass-card-link:not(.glass-card-dark):hover {
  background: rgba(255, 255, 255, 0.98) !important;
  border-color: rgba(201, 145, 115, 0.7) !important;
  box-shadow: 0 12px 30px rgba(201, 145, 115, 0.2), 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

/* Ajuste de contraste para títulos dos cards em seções claras */
.bg-light .glass-card:not(.glass-card-dark) h3 {
  color: var(--bg-dark) !important; /* Azul escuro principal para legibilidade impecável */
}

.bg-light a.glass-card-link:not(.glass-card-dark):hover h3 {
  color: #8a6a3a !important; /* Dourado escuro elegante no hover para manter o contraste */
}


/* 8. Cards / Components (Glassmorphism Premium) */
.glass-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 145, 115, 0.15); /* Base subtle gold */
  border-top: 1px solid rgba(201, 145, 115, 0.4); /* Highlight for glass edge */
  border-left: 1px solid rgba(201, 145, 115, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  padding: var(--space-10);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  border-radius: 16px; /* More rounded for premium glass look */
}
.glass-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-color: rgba(201, 145, 115, 0.6);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}
.glass-card h3 {
  color: var(--accent-secondary); /* Give titles a gold tint inside cards */
  font-size: var(--text-xl); /* slightly scaled down to fit nicely */
  margin-bottom: var(--space-4);
}
.card-icon {
  font-size: 2rem;
  color: var(--accent-primary);
  margin-bottom: var(--space-6);
  display: inline-block;
  font-weight: 300;
}

/* 9. Buttons (Glassmorphism) */
.btn {
  display: inline-block;
  padding: 18px 45px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(201, 145, 115, 0.4); /* Base gold border */
  background: rgba(255, 255, 255, 0.02); /* Faint glass base */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.btn-primary {
  /* Ambos compartilham o estilo glass */
}
.btn-primary:hover, .btn-outline:hover {
  background: linear-gradient(135deg, rgba(201, 145, 115, 0.35) 0%, rgba(201, 145, 115, 0.05) 100%);
  border-color: rgba(201, 145, 115, 0.8);
  color: var(--text-primary); /* Mantém texto claro em vez de inverter pro escuro */
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.btn-outline {
}

/* 10. Forms */
.form-group {
  margin-bottom: var(--space-4);
}
.form-control {
  width: 100%;
  padding: 16px 20px;
  background: linear-gradient(135deg, #fdfbf7 0%, #f3ece1 100%); /* Degradê bege bem clarinho */
  border: 1px solid rgba(201, 145, 115, 0.4);
  border-radius: 4px;
  color: #111111; /* Texto escuro */
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: all 0.3s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 2px rgba(201, 145, 115, 0.2);
}
.form-control::placeholder {
  color: rgba(17, 17, 17, 0.6); /* Dark placeholder */
}
textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* 11. Footer */
footer {
  background: var(--bg-logo) !important;
  padding: var(--space-6) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 12px;
  text-align: center;
}
.footer-brand {
  flex: 0 0 100%; /* Ocupa linha inteira — force quebra antes do legal+social */
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-size: var(--text-sm);
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--text-primary);
  letter-spacing: 0.05em;
}
.footer-sep {
  color: var(--accent-primary);
  font-weight: 400;
}
.footer-tagline {
  color: var(--text-secondary);
  font-size: var(--text-sm);
}
.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-size: var(--text-xs);
  color: var(--text-secondary);
}
.footer-legal a {
  color: var(--text-secondary);
  text-decoration: underline;
}
.footer-legal a:hover {
  color: var(--accent-secondary);
}
@media (max-width: 480px) {
  .footer-brand { flex-direction: column; gap: 2px; }
  .footer-brand .footer-sep { display: none; }
  .footer-legal { flex-direction: column; gap: 2px; }
  .footer-legal .footer-sep { display: none; }
}

/* Redes Sociais no Rodapé */
.footer-social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0; /* Fica na mesma linha que footer-legal via flex-wrap */
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--accent-primary);
  border: 1px solid rgba(201, 145, 115, 0.3);
  transition: all 0.3s ease;
  background: rgba(201, 145, 115, 0.05);
}
.social-icon:hover {
  color: var(--accent-secondary);
  border-color: var(--accent-secondary);
  background: rgba(201, 145, 115, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(201, 145, 115, 0.25);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* 13. WhatsApp float button */
.whatsapp-float {
  position: fixed;
  bottom: 110px; /* Acima do banner de cookies */
  left: 30px;
  right: auto;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-medium) 100%);
  border: 1.5px solid rgba(201, 145, 115, 0.5);
  color: var(--accent-secondary);
  border-radius: 50%;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.05);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.whatsapp-float:hover {
  transform: scale(1.12) translateY(-3px);
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  border-color: #25D366 !important;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4), 0 0 0 3px rgba(37, 211, 102, 0.25) !important;
  color: #FFFFFF !important;
}

/* 14. Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-medium);
  padding: var(--space-4);
  text-align: center;
  z-index: 9999;
  border-top: 1px solid var(--accent-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  transform: translateY(100%);
  transition: transform 0.5s ease;
}
.cookie-banner.show {
  transform: translateY(0);
}

/* 15. Media queries (mobile-first) */
@media (min-width: 768px) {
  h1 { font-size: var(--text-6xl); }
  h2 { font-size: var(--text-4xl); }
  
  .hamburger {
    display: none !important;
  }
  
  .hero-cta-group {
    flex-direction: row;
  }
  
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-span-2 { grid-column: span 2; }
  
  .nav-links {
    display: flex;
    align-items: center; /* alinha todos os itens do menu na mesma linha horizontal */
  }
  
  .cookie-banner {
    flex-direction: row;
    justify-content: center;
  }
}

/* --- ADDITIONAL PAGE STYLES --- */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, #17213F 0%, #2F3D6B 50%, #1A243F 100%) !important;
  padding: 110px 0 35px !important;
  text-align: center;
  border-bottom: 1px solid rgba(201, 145, 115, 0.25);
  overflow: hidden;
}
/* Desativando overlays para que o degradê de azul se destaque com vivacidade */
.page-hero::before {
  display: none !important;
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
  color: var(--text-primary) !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.page-hero .text-lead {
  color: var(--text-secondary) !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
/* Cores do breadcrumb adaptadas para o fundo escuro degradê */
.page-hero .breadcrumb li {
  color: var(--text-secondary) !important;
}
.page-hero .breadcrumb li a {
  color: var(--text-primary) !important;
}
.page-hero .breadcrumb li a:hover {
  color: var(--accent-primary) !important;
}
.page-hero .breadcrumb li + li::before {
  color: var(--text-secondary) !important;
}

/* Mobile: manter proporção compacta e legibilidade */
@media (max-width: 768px) {
  .page-hero {
    padding: 100px 0 25px !important;
  }
  .page-hero h1 {
    font-size: var(--text-2xl);
  }
}


.breadcrumb ol { 
  list-style: none; 
  padding: 0; 
  display: flex; 
  gap: 0.5rem; 
  justify-content: center; 
  margin-bottom: var(--space-4);
}
.breadcrumb li { color: var(--text-secondary); font-size: var(--text-sm); }
.breadcrumb li + li::before { content: "›"; color: var(--text-secondary); margin-right: 0.5rem; }
.breadcrumb a { color: var(--accent-primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
@media (min-width: 1024px) {
  .service-detail-grid { grid-template-columns: 2fr 1fr; }
}

/* Variante: conteúdo do serviço ocupa largura total (sem sidebar) */
.service-detail-grid--full {
  grid-template-columns: 1fr !important;
  max-width: 1280px;
  margin: 0 auto;
}

/* CTA banner inline — largura total, no fim do conteúdo do serviço */
.service-cta-banner {
  margin-top: var(--space-12);
  padding: var(--space-10) var(--space-8);
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-medium) 100%);
  border: 1px solid rgba(201, 145, 115, 0.5);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 4px 14px rgba(201, 145, 115, 0.15);
  text-align: center;
  --text-secondary: #E2ECF8; /* Tom branco azulado claro legível sobre fundo escuro */
}
.service-cta-banner h3 {
  color: var(--text-primary) !important;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
  text-transform: none;
  letter-spacing: 0.01em;
}
.service-cta-banner p {
  color: var(--text-secondary) !important;
  max-width: 540px;
  margin: 0 auto var(--space-8);
  font-size: var(--text-base);
}
.service-cta-banner .cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
}
.service-cta-banner .btn {
  min-width: 220px;
}
.service-cta-banner .btn-primary {
  color: var(--text-primary) !important;
  border: 1px solid rgba(201, 145, 115, 0.4) !important;
  background: linear-gradient(135deg, rgba(201, 145, 115, 0.35) 0%, rgba(201, 145, 115, 0.05) 100%) !important;
}
.service-cta-banner .btn-primary:hover {
  background: linear-gradient(135deg, rgba(201, 145, 115, 0.55) 0%, rgba(201, 145, 115, 0.15) 100%) !important;
  border-color: rgba(201, 145, 115, 0.8) !important;
  color: var(--text-secondary) !important;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-3px);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}
.service-cta-banner .btn-outline {
  color: var(--text-primary) !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  background: transparent !important;
}
.service-cta-banner .btn-outline:hover {
  border-color: var(--text-secondary) !important;
  color: var(--text-secondary) !important;
  background: rgba(255,255,255,0.05) !important;
  transform: translateY(-3px);
}
@media (max-width: 600px) {
  .service-cta-banner { padding: var(--space-8) var(--space-5); }
  .service-cta-banner .btn { width: 100%; min-width: 0; }
}

.process-list { padding-left: 0; list-style: none; }
.process-list li { padding: var(--space-4) 0; border-bottom: 1px solid rgba(255,255,255,0.1); }

/* 15. Hero Video — Mobile Protection (garantia extra)
   O JS NÃO injeta o <video> em mobile, e o CSS de fundo (.video-hero) já mostra a imagem.
   Esta regra existe como camada extra caso o JS falhe e o vídeo seja criado por outro caminho. */
@media (max-width: 768px) {
  .hero-video {
    display: none !important;
  }
}

.bg-gradient-dark-gold { 
  background: linear-gradient(180deg, var(--bg-logo) 0%, var(--bg-medium) 100%); 
  color: var(--text-primary); 
  position: relative; 
  overflow: hidden;
}
.bg-gradient-dark-gold::before { 
  content: ''; 
  position: absolute; 
  top: 0; left: 0; 
  width: 100%; height: 100%; 
  background: radial-gradient(circle at 50% 0%, rgba(201, 145, 115, 0.08) 0%, transparent 70%); 
  pointer-events: none; 
}
.bg-gradient-dark-gold .container { position: relative; z-index: 1; }

/* 16. Layout Lado a Lado para Páginas de Serviços (Para Quem e O Que Pode Ser Feito) */
.service-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-top: var(--space-8);
  margin-bottom: var(--space-10);
}

@media (min-width: 768px) {
  .service-split-grid {
    grid-template-columns: 1fr 1.15fr; /* O que pode ser feito é ligeiramente mais largo */
    gap: var(--space-10);
  }
}

.service-split-col {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(201, 145, 115, 0.22);
  padding: var(--space-8) var(--space-6);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
}

.service-split-col h3 {
  color: var(--text-inverse);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  margin-bottom: var(--space-6);
  border-bottom: 1.5px solid rgba(201, 145, 115, 0.3);
  padding-bottom: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.service-split-col ul {
  padding-left: 0;
  list-style: none;
}

.service-split-col li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-size: var(--text-base);
  color: var(--text-inverse);
  line-height: 1.5;
}

.service-split-col li:last-child {
  margin-bottom: 0;
}

.split-icon {
  color: var(--accent-primary);
  font-weight: bold;
  font-size: var(--text-base);
  line-height: 1.2;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Lista da seção 'Para quem é' em duas colunas no desktop */
.para-quem-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  max-width: 800px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .para-quem-list {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4) var(--space-10);
  }
}

