/* Reset e Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #1e40af; /* Azul mais sóbrio */
  --primary-dark: #1e3a8a;
  --primary-light: #3b82f6;
  --accent-color: #ffffff;
  --accent-gold: #d4af37; /* Toque de dourado para sofisticação */
  --text-dark: #0f172a; /* Quase preto para seriedade */
  --text-light: #64748b; /* Cinza mais neutro */
  --text-muted: #94a3b8;
  --background: #ffffff;
  --background-alt: #f8fafc;
  --background-light: #f1f5f9;
  --background-card: #fdfdfd;
  --background-section-light: #fafbfc;
  --background-section-subtle: #f1f5f9;
  --background-section-soft: rgba(30, 64, 175, 0.02);
  --border-light: #e2e8f0;
  --border-accent: rgba(30, 64, 175, 0.15);
  --gradient-primary: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
  --gradient-subtle: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  --shadow-card: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-elevated: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-heavy: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --font-primary: "Playfair Display", serif;
  --font-secondary: "Inter", sans-serif;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background);
  overflow-x: hidden;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Container otimizado para telas grandes */
@media (min-width: 1200px) {
  .container {
    max-width: 1600px;
    padding: 0 60px;
  }
}

@media (min-width: 1440px) {
  .container {
    max-width: 1800px;
    padding: 0 80px;
  }
}

/* Image Optimization for Performance */
img {
  max-width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Compress images with CSS filters for better performance */
.service-bg {
  filter: contrast(1.1) brightness(0.95);
  object-fit: cover;
  object-position: center;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  letter-spacing: 0.025em;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--accent-color);
  box-shadow: var(--shadow-card);
  border: 1px solid transparent;
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-elevated);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 1.5px solid var(--border-accent);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--accent-color);
  border-color: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-card);
  border-bottom-color: var(--border-accent);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  position: relative;
  z-index: 10;
}

.logo {
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition);
}

.logo h2 {
  font-size: 2rem;
  margin: 0;
  position: relative;
  z-index: 2;
}

.logo-first-name {
  color: var(--primary-color);
  text-shadow: 0 0 10px rgba(30, 58, 138, 0.3);
}

.logo-last-name {
  color: var(--primary-color);
  text-shadow: 0 0 10px rgba(30, 58, 138, 0.3);
}

.logo-subtitle {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
  text-align: center;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

/* Logo com imagem */
.logo-container {
  display: flex;
  align-items: center;
}

.brand-logo {
  display: block;
  height: auto;
  object-fit: contain;
}

.brand-logo-header {
  width: 360px;
  max-width: 34vw;
  max-height: none;
}

.logo-image {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.2);
  transition: var(--transition);
}

.logo-image:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

/* Partners Section */
.partners {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.partners-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.partner-card {
  display: flex;
  flex-direction: column;
  background: var(--background-card);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-elevated);
}

.partner-image {
  height: 250px;
  overflow: hidden;
  position: relative;
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.partner-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.partner-card:hover .partner-photo {
  transform: scale(1.05);
}

/* Partner logo styling (substitui fotos pessoais) */
.partner-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: var(--transition);
  filter: drop-shadow(0 2px 8px rgba(30, 64, 175, 0.08));
  border-radius: 0;
}

.partner-card:hover .partner-logo {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 12px rgba(30, 64, 175, 0.12));
}

.partner-info {
  padding: 2rem;
}

.partner-info h3 {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.partner-title {
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.partner-description {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.partner-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.specialty {
  background: var(--primary-light);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.partnership-story {
  background: var(--background-card);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.partnership-story h3 {
  font-family: var(--font-primary);
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.partnership-story p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.partnership-story p:last-child {
  margin-bottom: 0;
}

/* Service Cards com Imagens - Removido para evitar conflito */

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

.nav-menu li {
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
  padding: 0.8rem 1.2rem;
  transition: color 0.3s ease;
  border-radius: 8px;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link.active {
  color: var(--primary-color);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 10px;
  position: relative;
  z-index: 1003;
  transition: background-color 0.25s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(30, 64, 175, 0.08);
  outline: none;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.sidebar-open {
  overflow: hidden;
}

body.sidebar-open .nav-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7.5rem 0 5.5rem;
  position: relative;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  overflow: hidden;
}

/* Vídeo de Fundo */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.8;
  transition: opacity 0.5s ease;
}

.hero-video.loaded {
  opacity: 0.8;
}

/* Indicador de Carregamento do Vídeo */
.video-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  display: none;
}

.video-loading.is-active {
  display: block;
}

.video-loading.hidden {
  display: none;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #1e46af;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Fallback para dispositivos móveis - usa imagem de fundo */
.hero-video.poster-only {
  opacity: 0.8;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
    135deg,
    transparent 0%,
    rgba(30, 64, 175, 0.03) 50%,
    transparent 100%
  );
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(248, 250, 252, 0.85) 0%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(241, 245, 249, 0.85) 100%
  );
  z-index: 3;
}

/* Elementos Geométricos Sutis */
.hero::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 200px;
  background: linear-gradient(
    135deg,
    rgba(30, 64, 175, 0.02) 0%,
    rgba(30, 64, 175, 0.005) 100%
  );
  border-radius: 100px 50px;
  top: -5%;
  right: -5%;
  animation: gentleFloat 15s ease-in-out infinite;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.05) 0%,
    rgba(212, 175, 55, 0.02) 100%
  );
  border-radius: 50%;
  bottom: -15%;
  left: -15%;
  animation: gentleFloat 20s ease-in-out infinite reverse;
  z-index: 1;
}

.hero-geometric-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.geometric-shape {
  position: absolute;
  background: linear-gradient(
    135deg,
    rgba(30, 64, 175, 0.02) 0%,
    rgba(30, 64, 175, 0.005) 100%
  );
}

.shape-1 {
  width: 1px;
  height: 120px;
  top: 20%;
  left: 20%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(30, 64, 175, 0.1) 50%,
    transparent 100%
  );
  animation: gentleGlow 8s ease-in-out infinite;
}

.shape-2 {
  width: 120px;
  height: 1px;
  top: 40%;
  right: 25%;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(212, 175, 55, 0.15) 50%,
    transparent 100%
  );
  animation: gentleGlow 10s ease-in-out infinite 2s;
}

.shape-3 {
  width: 60px;
  height: 60px;
  bottom: 30%;
  left: 15%;
  background: linear-gradient(
    135deg,
    rgba(30, 64, 175, 0.03) 0%,
    rgba(212, 175, 55, 0.02) 100%
  );
  border-radius: 20px;
  animation: subtlePulse 12s ease-in-out infinite 4s;
}

.elegant-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      rgba(30, 64, 175, 0.01) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(30, 64, 175, 0.01) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: subtleMove 30s linear infinite;
  z-index: 0;
}

.hero-content {
  text-align: center;
  color: var(--text-dark);
  z-index: 2;
  position: relative;
  max-width: 900px;
  animation: fadeInUp 1s ease-out;
}

.hero-kicker,
.section-kicker {
  color: var(--primary-color);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.hero-kicker::before,
.hero-kicker::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent-gold);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.hero-subtitle {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-xl);
  color: var(--text-light);
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: -0.5rem;
}

.hero-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(30, 64, 175, 0.28);
}

.hero-facts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1.75rem;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-facts span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-facts i {
  color: var(--primary-color);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--accent-color);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 2px;
  height: 3rem;
  background: var(--accent-color);
  position: relative;
}

.scroll-arrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 8px solid var(--accent-color);
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 3rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   ABOUT SECTION - IMPROVED
   ========================================================================== */

.about {
  padding: 8rem 0;
  background: var(--background-section-light);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(30, 64, 175, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(30, 64, 175, 0.02) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-subtle);
  opacity: 0.5;
}

.about .container {
  position: relative;
  z-index: 2;
}

.about::after {
  content: "";
  position: absolute;
  right: -3rem;
  top: 7rem;
  width: min(46vw, 620px);
  aspect-ratio: 774 / 346;
  background: url("imagens/Marca d água - 1.png") center / contain no-repeat;
  opacity: 0.045;
  pointer-events: none;
}

/* Introdução do Escritório */
.about-intro {
  margin-bottom: var(--spacing-xl);
}

.about-card-stack-wrap {
  display: none;
}

.intro-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  column-gap: 4rem;
  row-gap: 2.5rem;
  align-items: center;
}

.intro-text {
  grid-column: 1;
  grid-row: 1;
}

.intro-text h3 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-family: var(--font-primary);
}

.intro-text p {
  color: var(--text-dark);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.intro-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-light);
  font-weight: 500;
}

.highlight-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
}

.intro-stats {
  display: grid;
  grid-column: 1 / -1;
  grid-row: 2;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card {
  background: var(--background-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.stat-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-elevated);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-primary);
}

.stat-label {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Cartão animado da marca — adaptado de Uiverse.io por Smit-Prajapati */
.brand-reveal-showcase {
  display: flex;
  grid-column: 2;
  grid-row: 1;
  justify-content: flex-end;
  width: 100%;
  margin: 0;
}

.brand-reveal-card {
  width: min(100%, 340px);
  height: 220px;
  position: relative;
  display: grid;
  place-content: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--accent-color);
  text-decoration: none;
  background:
    radial-gradient(circle at 50% 15%, rgba(212, 175, 55, 0.12), transparent 42%),
    linear-gradient(145deg, var(--primary-color) 0%, #172554 100%);
  border-radius: 16px;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.2);
  transition: border-radius 0.5s ease, transform 0.5s ease,
    box-shadow 0.5s ease;
}

.brand-reveal-border {
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid var(--accent-gold);
  opacity: 0;
  transform: rotate(8deg);
  transition: inset 0.5s ease, opacity 0.5s ease, transform 0.5s ease;
}

.brand-reveal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-4px);
  transition: transform 0.5s ease;
}

.brand-reveal-logo-window {
  width: 47px;
  height: 48px;
  position: relative;
  display: block;
  overflow: hidden;
  transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-reveal-logo {
  width: 255px;
  max-width: none;
  height: auto;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  image-rendering: auto;
  backface-visibility: visible;
}

.brand-reveal-trail {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.brand-reveal-caption {
  margin-top: 1rem;
  padding-left: 0.45em;
  color: var(--accent-gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease 0.35s, letter-spacing 0.5s ease 0.35s,
    transform 0.5s ease 0.35s;
}

.brand-reveal-bottom {
  position: absolute;
  left: 50%;
  bottom: 16px;
  width: max-content;
  max-width: calc(100% - 48px);
  padding: 0 0.6rem;
  color: var(--accent-gold);
  background: var(--primary-dark);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.5em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 0.5s ease, letter-spacing 0.5s ease;
}

.brand-reveal-card:hover,
.brand-reveal-card:focus-visible,
.brand-reveal-card.is-expanded {
  border-radius: 4px;
  transform: translateY(-5px) scale(1.035);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.28);
}

.brand-reveal-card:hover .brand-reveal-logo-window,
.brand-reveal-card:focus-visible .brand-reveal-logo-window,
.brand-reveal-card.is-expanded .brand-reveal-logo-window {
  width: 255px;
  animation: brand-reveal-opacity 1s ease-in-out;
}

.brand-reveal-card:hover .brand-reveal-border,
.brand-reveal-card:focus-visible .brand-reveal-border,
.brand-reveal-card.is-expanded .brand-reveal-border {
  inset: 15px;
  opacity: 1;
  transform: rotate(0);
}

.brand-reveal-card:hover .brand-reveal-caption,
.brand-reveal-card:focus-visible .brand-reveal-caption,
.brand-reveal-card.is-expanded .brand-reveal-caption {
  letter-spacing: 0.5em;
  opacity: 1;
  transform: translateY(0);
}

.brand-reveal-card:hover .brand-reveal-bottom,
.brand-reveal-card:focus-visible .brand-reveal-bottom,
.brand-reveal-card.is-expanded .brand-reveal-bottom {
  letter-spacing: 0.18em;
  opacity: 1;
}

.brand-reveal-card:hover .brand-reveal-trail,
.brand-reveal-card:focus-visible .brand-reveal-trail,
.brand-reveal-card.is-expanded .brand-reveal-trail {
  animation: brand-reveal-trail 1s ease-in-out;
}

.brand-reveal-card:focus-visible {
  outline: 3px solid var(--accent-gold);
  outline-offset: 5px;
}

@keyframes brand-reveal-opacity {
  0%,
  100% {
    border-right: 1px solid transparent;
  }

  10%,
  80% {
    border-right: 1px solid var(--accent-gold);
  }
}

@keyframes brand-reveal-trail {
  0%,
  95% {
    background: linear-gradient(
      90deg,
      rgba(212, 175, 55, 0) 90%,
      var(--accent-gold) 100%
    );
    opacity: 0;
  }

  30%,
  70% {
    background: linear-gradient(
      90deg,
      rgba(212, 175, 55, 0) 70%,
      var(--accent-gold) 100%
    );
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .brand-reveal-card {
    width: min(100%, 320px);
    height: 205px;
    border-radius: 8px;
  }

  .brand-reveal-card .brand-reveal-logo {
    width: min(255px, calc(100vw - 100px));
  }

  .brand-reveal-card:hover .brand-reveal-logo-window,
  .brand-reveal-card:focus-visible .brand-reveal-logo-window,
  .brand-reveal-card.is-expanded .brand-reveal-logo-window {
    width: min(255px, calc(100vw - 100px));
  }

  .brand-reveal-card:hover,
  .brand-reveal-card:focus-visible,
  .brand-reveal-card.is-expanded {
    transform: translateY(-3px) scale(1.015);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-reveal-card,
  .brand-reveal-border,
  .brand-reveal-content,
  .brand-reveal-logo-window,
  .brand-reveal-caption,
  .brand-reveal-bottom {
    transition: none;
  }

  .brand-reveal-card .brand-reveal-logo-window {
    width: 255px;
  }

  .brand-reveal-card .brand-reveal-border {
    inset: 15px;
    opacity: 1;
    transform: none;
  }

  .brand-reveal-card .brand-reveal-caption,
  .brand-reveal-card .brand-reveal-bottom {
    opacity: 1;
    transform: none;
  }
}

/* Missão, Visão e Valores */
.mvv-section {
  margin-bottom: var(--spacing-xl);
}

.mvv-title {
  color: var(--primary-color);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 600;
  font-family: var(--font-primary);
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.mvv-item {
  background: var(--background-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.mvv-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.mvv-item:hover {
  border-color: var(--border-accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-elevated);
}

.mvv-item:hover::before {
  transform: scaleX(1);
}

.mvv-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--accent-color);
  transition: var(--transition);
}

.mvv-item:hover .mvv-icon {
  transform: scale(1.1) rotate(5deg);
}

.mvv-content h4 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
  font-family: var(--font-primary);
}

.mvv-content p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 1rem;
}

/* Atendimento em etapas */
.process-section {
  padding: 7rem 0;
  background: #0f244f;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(212, 175, 55, 0.12), transparent 26%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.03), transparent 45%);
  pointer-events: none;
}

.process-section .container {
  position: relative;
  z-index: 1;
}

.process-section .section-header {
  margin-bottom: 3rem;
}

.process-section .section-kicker {
  color: #e3c56c;
  margin-bottom: 0.8rem;
}

.process-section .section-title {
  color: #fff;
}

.process-section .section-subtitle {
  color: #cbd5e1;
  max-width: 720px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
}

.process-card {
  min-height: 250px;
  padding: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--border-radius-lg);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 16px 35px rgba(2, 6, 23, 0.16);
  transition: var(--transition);
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 197, 108, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.process-number {
  display: block;
  margin-bottom: 1.5rem;
  color: #e3c56c;
  font-family: var(--font-primary);
  font-size: 2.2rem;
  line-height: 1;
}

.process-card h3 {
  color: #fff;
  font-size: 1.28rem;
}

.process-card p {
  color: #cbd5e1;
  line-height: 1.7;
}

.process-note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.7rem;
  max-width: 820px;
  margin: 2rem auto 0;
  color: #cbd5e1;
  font-size: 0.92rem;
  text-align: center;
}

.process-note i {
  color: #e3c56c;
  margin-top: 0.25rem;
}

@media (max-width: 1050px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-card {
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding: 7rem 0 4rem;
  }

  .hero-kicker {
    font-size: 0.7rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-facts {
    align-items: center;
    flex-direction: column;
    gap: 0.65rem;
  }

  .scroll-indicator {
    display: none;
  }

  .process-section {
    padding: 5rem 0;
  }

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

  .process-card {
    min-height: auto;
  }

  .process-note {
    text-align: left;
  }
}

/* Seção de Parceiros */
.partners-section {
  margin-bottom: var(--spacing-xl);
}

.partners-title {
  color: var(--primary-color);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 600;
  font-family: var(--font-primary);
}

.partners-subtitle {
  color: var(--text-light);
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  max-width: 720px;
  margin: 0 auto;
}

/* Grid otimizado para containers maiores */
@media (min-width: 1200px) {
  .partners-grid {
    gap: 4rem;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  }
}

@media (min-width: 1440px) {
  .partners-grid {
    gap: 5rem;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  }
}

.partner-card {
  background: var(--background-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-card);
}

.partner-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-8px);
  box-shadow: var(--shadow-elevated);
}

.partner-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.partner-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}

.partner-card:hover .partner-photo {
  transform: scale(1.05);
}

/* Estilos atualizados para logos no lugar de fotos pessoais */
.partner-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: all 0.4s ease;
  filter: drop-shadow(0 2px 8px rgba(30, 64, 175, 0.08));
  border-radius: 0;
}

.partner-card:hover .partner-logo {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 12px rgba(30, 64, 175, 0.12));
}

.partner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(30, 64, 175, 0.7) 0%,
    transparent 70%
  );
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: var(--transition);
}

.partner-card:hover .partner-overlay {
  opacity: 1;
}

.partner-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(30, 64, 175, 0.2);
  border: 1px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary-color);
  color: var(--accent-color);
  transform: translateY(-2px);
}

.partner-info {
  padding: 2rem;
}

.partner-info h4 {
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-family: var(--font-primary);
}

.partner-title {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.partner-description {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.partner-credentials {
  margin-bottom: 1.5rem;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.credential-item i {
  color: var(--primary-color);
  width: 16px;
}

.partner-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.specialty {
  background: rgba(30, 64, 175, 0.1);
  color: var(--primary-color);
  padding: 0.4rem 0.8rem;
  border-radius: var(--border-radius);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border-accent);
  transition: var(--transition);
}

.specialty:hover {
  background: rgba(30, 64, 175, 0.2);
  border-color: var(--primary-color);
}

/* Diferenciais */
.differentials-section {
  margin-bottom: 3rem;
}

.differentials-title {
  color: var(--primary-color);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 600;
  font-family: var(--font-primary);
}

.differentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.differential-item {
  background: var(--background-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.differential-item:hover {
  border-color: var(--border-accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-elevated);
}

.differential-icon {
  width: 60px;
  height: 60px;
  background: rgba(30, 64, 175, 0.1);
  border: 2px solid var(--border-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.differential-item:hover .differential-icon {
  background: var(--gradient-primary);
  color: var(--accent-color);
  transform: scale(1.1);
  border-color: var(--primary-color);
}

.differential-item h5 {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
  font-family: var(--font-primary);
}

.differential-item p {
  color: var(--text-light);
  line-height: 1.5;
  font-size: 0.95rem;
}

/* Responsividade - About Section */
@media (max-width: 1024px) {
  .intro-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .intro-text {
    grid-column: 1;
    grid-row: 1;
  }

  .brand-reveal-showcase {
    grid-column: 1;
    grid-row: 2;
    justify-content: center;
  }

  .intro-stats {
    grid-column: 1;
    grid-row: 3;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }

  .partners-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .differentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about {
    padding: 4rem 0;
  }

  .about-intro {
    margin-bottom: 3rem;
  }

  .intro-text h3 {
    font-size: 1.5rem;
  }

  .intro-text p {
    font-size: 1rem;
  }

  .intro-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .stat-card {
    padding: 1rem 0.8rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .mvv-section,
  .partners-section,
  .differentials-section {
    margin-bottom: 3rem;
  }

  .mvv-title,
  .partners-title,
  .differentials-title {
    font-size: 1.5rem;
  }

  .mvv-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .mvv-item {
    padding: 1.5rem;
  }

  .mvv-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .partners-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .partner-card {
    border-radius: 20px;
  }

  .partner-image {
    height: 250px;
  }

  .partner-info {
    padding: 1.5rem;
  }

  .partner-info h4 {
    font-size: 1.2rem;
  }

  .differentials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .differential-item {
    padding: 1.5rem;
  }

  .differential-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

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

  .stat-card {
    padding: 1.5rem 1rem;
  }

  .highlight-item {
    font-size: 0.9rem;
  }

  .partner-image {
    height: 200px;
  }

  .partner-logo {
    object-fit: cover;
  }

  .partner-card:hover .partner-logo {
    transform: scale(1.03);
  }

  .partner-info {
    padding: 1rem;
  }

  .partner-specialties {
    justify-content: center;
  }

  .specialty {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
  }
}

/* Services Section */
.services {
  padding: 8rem 0;
  background: var(--background-section-subtle);
  position: relative;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
      135deg,
      rgba(30, 64, 175, 0.01) 0%,
      transparent 70%
    ),
    radial-gradient(
      circle at 90% 10%,
      rgba(30, 64, 175, 0.02) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-lg);
}

/* Serviços otimizados para telas maiores */
@media (min-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 3rem;
  }
}

@media (min-width: 1440px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
  }
}

.service-card {
  background: var(--background-card);
  border-radius: var(--border-radius-lg);
  padding: 0;
  text-align: left;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-elevated);
  border-color: var(--border-accent);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  color: var(--accent-color);
  font-size: 1.5rem;
  box-shadow: var(--shadow-card);
}

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  text-align: left;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--text-dark);
  position: relative;
  padding-left: 1.5rem;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Melhorias para Service Cards com Imagens */
.service-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.service-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  filter: brightness(0.7);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(30, 64, 175, 0.75) 0%,
    rgba(30, 58, 138, 0.85) 100%
  );
  z-index: 2;
}

.service-card:hover .service-bg {
  transform: scale(1.05);
  filter: brightness(0.8);
}

.service-card:hover .service-overlay {
  background: linear-gradient(
    135deg,
    rgba(30, 64, 175, 0.7) 0%,
    rgba(30, 58, 138, 0.8) 100%
  );
}

/* Conteúdo do Service Card */
.service-content {
  position: relative;
  z-index: 3;
  padding: var(--spacing-xl);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card .service-icon {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.service-card h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.service-card p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.service-card .service-features {
  margin-top: auto;
}

.service-card .service-features li {
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.service-card .service-features li:last-child {
  border-bottom: none;
}

.service-card .service-features li::before {
  color: var(--accent-gold);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Service Cards sem Imagem */
.service-card:not(:has(.service-image)) {
  background: var(--background-card);
}

.service-card:not(:has(.service-image)) .service-content {
  background: var(--gradient-subtle);
}

.service-card:not(:has(.service-image)) .service-icon {
  background: var(--primary-color);
  color: white;
  border: none;
  backdrop-filter: none;
}

.service-card:not(:has(.service-image)) h3 {
  color: var(--primary-color);
  text-shadow: none;
}

.service-card:not(:has(.service-image)) p {
  color: var(--text-light);
  text-shadow: none;
}

.service-card:not(:has(.service-image)) .service-features li {
  color: var(--text-dark);
  text-shadow: none;
  border-bottom: 1px solid var(--border-light);
}

.service-card:not(:has(.service-image)) .service-features li::before {
  color: var(--primary-color);
  text-shadow: none;
}

/* Animações e Efeitos Avançados */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-gold));
  transform: scaleX(0);
  transition: var(--transition);
  z-index: 4;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(30, 64, 175, 0.2);
}

/* Efeito Parallax nas Imagens */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

.service-card:hover .service-icon {
  animation: float 2s ease-in-out infinite;
}

/* Efeito de Reveal no Conteúdo */
.service-content > * {
  opacity: 0;
  transform: translateY(20px);
  animation: revealContent 0.6s ease-out forwards;
}

.service-content .service-icon {
  animation-delay: 0.1s;
}

.service-content h3 {
  animation-delay: 0.2s;
}

.service-content p {
  animation-delay: 0.3s;
}

.service-content .service-features {
  animation-delay: 0.4s;
}

@keyframes revealContent {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Efeito de Brilho no Hover */
.service-card:hover .service-overlay::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: shimmer 2s ease-out;
}

@keyframes shimmer {
  0% {
    transform: rotate(0deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: rotate(360deg);
    opacity: 0;
  }
}

/* Info Section */
.info {
  padding: 6rem 0;
  background: var(--background-section-subtle);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.info-card {
  background: var(--background);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}

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

.info-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-header i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.info-header h3 {
  color: var(--primary-color);
  margin: 0;
}

.info-content ul {
  list-style: none;
}

.info-content li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(30, 58, 138, 0.1);
}

.info-content li:last-child {
  border-bottom: none;
}

.legal-tips {
  background: var(--background);
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--shadow-light);
}

.legal-tips h3 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-size: 2rem;
}

.tips-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.tip-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--background-alt);
  border-radius: var(--border-radius);
}

.tip-item i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

/* Feedback Section */
.feedback {
  padding: 8rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.feedback::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23e2e8f0" fill-opacity="0.3"><circle cx="30" cy="30" r="1"/></g></svg>');
  opacity: 0.4;
}

.feedback .container {
  position: relative;
  z-index: 2;
}

.feedback-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5rem;
}

/* Statistics */
.testimonials-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.stat-item {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.stat-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-family: "Playfair Display", serif;
}

.stat-label {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 500;
}

.location-info {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.map-container {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  filter: grayscale(20%) contrast(1.1);
  transition: var(--transition);
}

.map-container:hover iframe {
  filter: grayscale(0%) contrast(1.2);
}

.map-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
}

.location-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-light);
  border: 1px solid rgba(30, 58, 138, 0.1);
  max-width: 280px;
}

.location-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.location-details h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.location-details p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.location-actions .btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
}

.contact-quick-info h3 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: center;
}

.contact-grid-feedback {
  display: grid;
  gap: 1.5rem;
}

.contact-info-card {
  background: var(--background-alt);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
  border: 1px solid rgba(30, 58, 138, 0.1);
}

.contact-info-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-light);
  border-color: var(--primary-color);
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-details h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.contact-info-details p {
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.testimonials-section {
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 1;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.12);
  border-color: #e2e8f0;
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.5rem 0 1.5rem;
  margin-bottom: 1rem;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
}

.testimonial-stars i {
  color: #fbbf24;
  font-size: 0.9rem;
}

.testimonial-quote-icon {
  font-size: 1.2rem;
  color: #cbd5e1;
}

.testimonial-text {
  flex: 1;
  padding: 0 1.5rem;
  margin-bottom: 1.5rem;
}

.testimonial-text p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #374151;
  margin: 0;
  font-weight: 400;
}

.testimonial-author {
  padding: 1rem 1.5rem;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-initial {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: white;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.9rem;
  margin-right: auto;
}

.review-source {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
}

.author-title {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 500;
}

.testimonial-rating .rating {
  display: flex;
  gap: 0.25rem;
}

.testimonial-rating .rating i {
  color: #fbbf24;
  font-size: 1rem;
}

/* Testimonials CTA */
.testimonials-cta {
  text-align: center;
  margin-top: 3rem;
}

.reviews-summary {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border-radius: 16px;
  padding: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.reviews-info {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.reviews-score {
  text-align: center;
}

.score-number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: "Playfair Display", serif;
  margin-bottom: 0.5rem;
}

.score-stars {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
}

.score-stars i {
  color: #fbbf24;
  font-size: 1.2rem;
}

.reviews-text p {
  margin: 0;
  color: #374151;
}

.reviews-text p:first-child {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.reviews-text p:last-child {
  font-size: 0.9rem;
  color: #6b7280;
}

.reviews-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--gradient-primary);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.reviews-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
  color: white;
}

/* Contact Section - Modern Design */
.contact {
  position: relative;
  padding: 3rem 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  color: white;
  overflow: hidden;
}

.contact-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.contact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(212, 175, 55, 0.08) 0%,
    rgba(30, 58, 138, 0.05) 100%
  );
}

.contact .section-title {
  color: white;
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.contact .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

/* Contact Wrapper */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
}

/* Contact Cards */
.contact-cards {
  display: grid;
  gap: 1rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.contact-card:hover::before {
  left: 100%;
}

.contact-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(67, 50, 163, 0.3);
}

.contact-card-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #3b82f6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.contact-card-content h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-card-content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.3rem;
  line-height: 1.4;
  font-size: 0.9rem;
}

.contact-card-content a {
  color: inherit;
  text-decoration: none;
}

.contact-card-content a:hover {
  color: var(--accent-color);
}

.contact-highlight {
  display: inline-block;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-phone,
.contact-whatsapp {
  font-weight: 500;
  font-size: 1.1rem;
}

.contact-whatsapp i {
  color: #25d366;
  margin-right: 0.5rem;
}

.contact-phone i {
  width: 1rem;
  margin-right: 0.5rem;
  color: #60a5fa;
  font-size: 0.9em;
  text-align: center;
}

/* Modern Social Links */
.modern-social-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.modern-social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.7rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  text-decoration: none;
  color: white;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.modern-social-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
}

.modern-social-link.facebook:hover {
  background: rgba(24, 119, 242, 0.2);
  border-color: #1877f2;
}

.modern-social-link.instagram:hover {
  background: rgba(225, 48, 108, 0.2);
  border-color: #e1306c;
}

.modern-social-link.linkedin:hover {
  background: rgba(10, 102, 194, 0.2);
  border-color: #0a66c2;
}

.modern-social-link.whatsapp:hover {
  background: rgba(37, 211, 102, 0.2);
  border-color: #25d366;
}

/* Modern Form Container */
.modern-form-container {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
}

.form-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.form-header h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.form-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Modern Form Styles */
.modern-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.modern-form-group {
  position: relative;
  margin-bottom: 2rem;
}

.modern-form-group.full-width {
  grid-column: 1 / -1;
}

.modern-form-group input,
.modern-form-group select,
.modern-form-group textarea {
  width: 100%;
  padding: 0.8rem 0 0.4rem 0;
  border: none;
  background: transparent;
  color: white;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.modern-form-group input:focus,
.modern-form-group select:focus,
.modern-form-group textarea:focus {
  border-bottom-color: var(--primary-color);
}

.modern-form-group label {
  position: absolute;
  left: 0;
  top: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  pointer-events: none;
  transition: all 0.3s ease;
}

.modern-form-group input:focus + label,
.modern-form-group input:not(:placeholder-shown) + label,
.modern-form-group select:focus + label,
.modern-form-group select:valid + label,
.modern-form-group textarea:focus + label,
.modern-form-group textarea:not(:placeholder-shown) + label {
  top: -0.4rem;
  font-size: 0.75rem;
  color: var(--primary-color);
}

/* Força o label do select para cima quando uma opção está selecionada */
.modern-form-group select:not(:invalid) + label {
  top: -0.4rem;
  font-size: 0.75rem;
  color: var(--primary-color);
}

.form-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), #3b82f6);
  transition: width 0.3s ease;
}

.modern-form-group input:focus ~ .form-underline,
.modern-form-group select:focus ~ .form-underline,
.modern-form-group textarea:focus ~ .form-underline {
  width: 100%;
}

.modern-form-group select {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

.modern-form-group select:focus {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%233b82f6' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
}

/* Mensagens de erro */
.modern-form-group .error-message {
  color: #ff4757;
  font-size: 0.7rem;
  display: none;
  position: absolute;
  top: calc(100% + 0.2rem);
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(255, 71, 87, 0.1);
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 71, 87, 0.3);
  font-weight: 500;
  margin-top: 0.2rem;
}

.modern-form-group.error .error-message {
  display: block !important;
  animation: errorSlideIn 0.3s ease-out;
}

@keyframes errorSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modern-form-group.error input,
.modern-form-group.error select,
.modern-form-group.error textarea {
  border-color: #ff4757 !important;
  background: rgba(255, 71, 87, 0.05) !important;
  box-shadow: 0 0 0 2px rgba(255, 71, 87, 0.1);
}

.modern-form-group.error .form-underline {
  background: linear-gradient(45deg, #ff4757, #ff3838) !important;
  width: 100% !important;
}

.modern-form-group.error label {
  color: #ff4757 !important;
}

.modern-form-group select option {
  background: var(--text-dark);
  color: white;
  padding: 0.5rem;
}

.modern-form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-data-warning {
  margin: -1rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  line-height: 1.55;
}

.privacy-consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.45rem 0.7rem;
  align-items: start;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.privacy-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  accent-color: var(--primary-color);
  cursor: pointer;
}

.privacy-consent label {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  line-height: 1.5;
  cursor: pointer;
}

.privacy-inline-link,
.cookie-details-link,
.footer-legal-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-color);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.privacy-inline-link {
  grid-column: 2;
  justify-self: start;
  font-size: 0.76rem;
}

.privacy-consent .error-message {
  display: none;
  grid-column: 1 / -1;
  color: #ff8b95;
  font-size: 0.72rem;
  font-weight: 600;
}

.privacy-consent.error {
  border-color: #ff4757;
  background: rgba(255, 71, 87, 0.08);
}

.privacy-consent.error .error-message {
  display: block !important;
  animation: errorSlideIn 0.3s ease-out;
}

/* Modern Button */
.modern-btn {
  background: linear-gradient(135deg, var(--primary-color) 0%, #3b82f6 100%);
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.8rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.modern-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.4);
}

.modern-btn:active {
  transform: translateY(0);
}

.modern-btn:disabled {
  cursor: wait;
  opacity: 0.75;
  transform: none;
}

.form-status {
  margin: 0.25rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: center;
}

.form-status.info {
  color: #dbeafe;
  background: rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.45);
}

.form-status.error {
  color: #ffe4e6;
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(248, 113, 113, 0.45);
}

.form-disclaimer {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  line-height: 1.55;
  text-align: center;
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: var(--accent-color);
  padding: 3rem 0 1.5rem;
  font-size: 0.85rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto 0.5rem;
  text-align: center;
}

.brand-logo-footer {
  display: block;
  width: min(100%, 340px);
  margin: 0 auto 0.75rem;
}

.footer-brand-section > p {
  max-width: 620px;
  margin: 0 auto;
}

.footer-brand-section .footer-social {
  justify-content: center;
}

@media (max-width: 1100px) {
  .brand-logo-header {
    width: 310px;
    max-width: 32vw;
  }
}

.footer-section h4 {
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.footer-contact p {
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.footer-contact i {
  margin-right: 0.4rem;
  color: var(--primary-light);
  width: 16px;
  text-align: center;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 1.5rem 0 1rem;
}

.footer-bottom {
  text-align: center;
}

.footer-copyright p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
}

.footer-copyright .professional-identification {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.footer-legal {
  margin-top: 0.5rem;
}

.footer-legal-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  transition: var(--transition);
}

.footer-legal-link:hover,
.footer-legal-link:focus-visible {
  color: var(--accent-color);
}

/* Aviso de privacidade e preferências de cookies */
.security-modal[hidden],
.privacy-modal[hidden],
.cookie-banner[hidden] {
  display: none !important;
}

.security-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.security-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 18, 41, 0.84);
  backdrop-filter: blur(6px);
}

.security-modal-panel {
  position: relative;
  width: min(680px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  padding: 1.45rem 1.6rem;
  border: 1px solid rgba(212, 175, 55, 0.48);
  border-top: 5px solid var(--accent-gold);
  border-radius: 18px;
  background: #fff;
  color: var(--text-dark);
  box-shadow: 0 28px 90px rgba(2, 8, 23, 0.42);
  animation: securityAlertIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.security-modal-panel::-webkit-scrollbar {
  display: none;
}

.security-modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #eef2ff;
  color: var(--primary-dark);
  cursor: pointer;
  transition: var(--transition);
}

.security-modal-close:hover,
.security-modal-close:focus-visible {
  background: var(--primary-dark);
  color: #fff;
  outline: none;
}

.security-alert-heading {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-right: 2.5rem;
  margin-bottom: 0.85rem;
}

.security-alert-icon {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: linear-gradient(145deg, #173777, #0f244f);
  color: #f2d67d;
  font-size: 1.3rem;
  box-shadow: 0 10px 24px rgba(15, 36, 79, 0.2);
}

.security-alert-kicker {
  margin: 0 0 0.25rem;
  color: #9a7417;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.security-alert-heading h2 {
  margin: 0;
  color: #0f244f;
  font-size: clamp(1.4rem, 3.5vw, 1.8rem);
}

.security-alert-intro {
  margin-bottom: 0.8rem;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.55;
}

.security-alert-callout {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
  padding: 0.75rem 0.9rem;
  border-left: 4px solid #d69e2e;
  border-radius: 0 10px 10px 0;
  background: #fffbeb;
  color: #713f12;
}

.security-alert-callout i {
  margin-top: 0.25rem;
  color: #b7791f;
}

.security-alert-callout p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
}

.security-official-channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.security-official-channels a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  padding: 0.62rem 0.8rem;
  border: 1px solid #dbe4f3;
  border-radius: 10px;
  background: #f8fafc;
  color: #173777;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.security-official-channels a:last-child {
  grid-column: 1 / -1;
}

.security-official-channels a:hover,
.security-official-channels a:focus-visible {
  border-color: rgba(30, 64, 175, 0.45);
  background: #eff6ff;
  outline: none;
}

.security-official-channels i {
  flex: 0 0 auto;
  width: 20px;
  color: var(--primary-color);
  font-size: 1.1rem;
  text-align: center;
}

.security-official-channels span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.security-official-channels small {
  display: block;
  margin-bottom: 0.1rem;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.security-alert-checklist {
  display: grid;
  gap: 0.35rem;
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
}

.security-alert-checklist li {
  position: relative;
  padding-left: 1.55rem;
  color: #475569;
  font-size: 0.86rem;
  line-height: 1.4;
}

.security-alert-checklist li::before {
  content: "\f058";
  position: absolute;
  top: 0.2rem;
  left: 0;
  color: var(--primary-color);
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.security-alert-help {
  margin: 0;
  color: #334155;
  font-size: 0.8rem;
  line-height: 1.45;
}

.security-alert-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.security-alert-confirm,
.security-alert-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.58rem 1rem;
  border-radius: 8px;
  font: 700 0.82rem var(--font-secondary);
  cursor: pointer;
  text-decoration: none;
}

.security-alert-confirm {
  border: 1px solid var(--primary-color);
  background: var(--primary-color);
  color: #fff;
}

.security-alert-link {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: var(--primary-dark);
}

.security-alert-confirm:hover,
.security-alert-confirm:focus-visible,
.security-alert-link:hover,
.security-alert-link:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-elevated);
  outline: none;
}

body.security-modal-open {
  overflow: hidden;
}

@keyframes securityAlertIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.privacy-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 15, 31, 0.82);
  backdrop-filter: blur(5px);
}

.privacy-modal-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(86vh, 780px);
  overflow-y: auto;
  padding: 2rem;
  border: 1px solid rgba(30, 70, 175, 0.2);
  border-radius: 18px;
  background: #fff;
  color: var(--text-dark);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.privacy-modal-panel h2 {
  padding-right: 2.5rem;
  margin-bottom: 0.15rem;
  color: var(--secondary-color);
  font-family: "Playfair Display", serif;
}

.privacy-modal-panel h3 {
  margin: 1.25rem 0 0.35rem;
  color: var(--secondary-color);
  font-size: 1rem;
}

.privacy-modal-panel p {
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.65;
}

.privacy-modal-panel a {
  color: var(--primary-color);
  overflow-wrap: anywhere;
}

.privacy-updated {
  font-size: 0.78rem !important;
}

.privacy-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #eef2ff;
  color: var(--secondary-color);
  cursor: pointer;
}

body.privacy-modal-open {
  overflow: hidden;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 3500;
  width: min(350px, calc(100vw - 2rem));
  animation: cookieCardIn 0.35s ease-out;
}

.cookie-card {
  display: flex;
  width: 100%;
  padding: 1.4rem 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(30, 64, 175, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.2);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  text-align: center;
}

.cookie-card-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}

.cookie-card-icon path {
  fill: var(--accent-gold);
}

.cookie-card-heading {
  margin: 0;
  color: var(--secondary-color);
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.cookie-card-description {
  margin: 0;
  color: #5f6775;
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.55;
}

.cookie-details-link {
  color: var(--primary-color);
  font-size: 0.72rem;
  font-weight: 600;
}

.cookie-actions {
  display: grid;
  width: 100%;
  margin-top: 0.15rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.cookie-btn {
  min-height: 42px;
  padding: 0.6rem 0.65rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease,
    border-color 0.2s ease, box-shadow 0.2s ease;
}

.cookie-btn-primary {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 8px 18px rgba(30, 64, 175, 0.2);
}

.cookie-btn-secondary {
  border-color: #d8deea;
  background: #eef1f6;
  color: var(--secondary-color);
}

.cookie-btn:hover {
  transform: translateY(-1px);
}

.cookie-btn-primary:hover {
  background: var(--primary-dark);
}

.cookie-btn-secondary:hover {
  background: #e4e8ef;
  border-color: #c8d0dd;
}

.cookie-btn:focus-visible,
.cookie-details-link:focus-visible {
  outline: 3px solid rgba(30, 64, 175, 0.28);
  outline-offset: 3px;
}

@keyframes cookieCardIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .security-modal-panel {
    max-height: 94vh;
    padding: 1.15rem 1rem;
  }

  .security-alert-heading {
    align-items: flex-start;
    gap: 0.6rem;
    padding-right: 2rem;
    margin-bottom: 0.65rem;
  }

  .security-alert-icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    font-size: 1.25rem;
  }

  .security-official-channels {
    grid-template-columns: 1fr;
  }

  .security-official-channels a {
    padding: 0.55rem 0.7rem;
  }

  .security-official-channels a:last-child {
    grid-column: auto;
  }

  .security-alert-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .security-alert-confirm,
  .security-alert-link {
    width: 100%;
  }

  .privacy-modal-panel {
    padding: 1.5rem 1.15rem;
  }

  .cookie-banner {
    left: 0.75rem;
    bottom: 0.75rem;
    width: calc(100vw - 1.5rem);
  }

  .cookie-card {
    padding: 1.15rem;
  }
}

@media (max-width: 480px) {
  .security-modal {
    padding: 0.5rem;
  }

  .security-modal-panel {
    width: 100%;
    max-height: calc(100dvh - 1rem);
    padding: 0.85rem 0.9rem;
    border-top-width: 4px;
    border-radius: 14px;
  }

  .security-modal-close {
    top: 0.5rem;
    right: 0.5rem;
    width: 32px;
    height: 32px;
  }

  .security-alert-heading {
    align-items: center;
    gap: 0.5rem;
    padding-right: 2rem;
    margin-bottom: 0.5rem;
  }

  .security-alert-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    font-size: 1.05rem;
  }

  .security-alert-kicker {
    margin-bottom: 0.15rem;
    font-size: 0.62rem;
  }

  .security-alert-heading h2 {
    font-size: 1.2rem;
    line-height: 1.15;
  }

  .security-alert-intro {
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    line-height: 1.38;
  }

  .security-alert-callout {
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding: 0.55rem 0.65rem;
    border-left-width: 3px;
  }

  .security-alert-callout p {
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .security-official-channels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
    margin-bottom: 0.5rem;
  }

  .security-official-channels a {
    gap: 0.35rem;
    min-height: 52px;
    padding: 0.42rem 0.45rem;
    font-size: 0.7rem;
  }

  .security-official-channels a:last-child {
    grid-column: 1 / -1;
  }

  .security-official-channels i {
    width: 16px;
    font-size: 0.95rem;
  }

  .security-official-channels small {
    font-size: 0.58rem;
  }

  .security-alert-checklist {
    gap: 0.16rem;
    margin-bottom: 0.5rem;
  }

  .security-alert-checklist li {
    padding-left: 1.3rem;
    font-size: 0.74rem;
    line-height: 1.3;
  }

  .security-alert-checklist li::before {
    top: 0.1rem;
    font-size: 0.75rem;
  }

  .security-alert-help {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .security-alert-actions {
    flex-direction: row;
    gap: 0.4rem;
    margin-top: 0.65rem;
  }

  .security-alert-confirm,
  .security-alert-link {
    flex: 1 1 0;
    width: auto;
    min-height: 36px;
    padding: 0.42rem 0.45rem;
    font-size: 0.72rem;
  }

  .cookie-banner {
    left: 0.5rem;
    bottom: 0.5rem;
    width: calc(100vw - 1rem);
  }

  .cookie-card {
    gap: 0.4rem;
    padding: 0.75rem;
    border-radius: 14px;
  }

  .cookie-card-icon {
    width: 32px;
    height: 32px;
  }

  .cookie-card-heading {
    font-size: 1rem;
  }

  .cookie-card-description {
    font-size: 0.7rem;
    line-height: 1.35;
  }

  .cookie-details-link {
    font-size: 0.68rem;
  }

  .cookie-actions {
    gap: 0.4rem;
  }

  .cookie-btn {
    min-height: 36px;
    padding: 0.45rem 0.5rem;
    font-size: 0.68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .security-modal-panel,
  .cookie-banner {
    animation: none;
  }
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
}

.whatsapp-button {
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  text-decoration: none;
  box-shadow: var(--shadow-heavy);
  animation: pulse 2s infinite;
  transition: var(--transition);
}

.whatsapp-button:hover {
  transform: scale(1.1);
}

/* Chatbot */
.chatbot-container {
  position: fixed;
  bottom: 10rem;
  right: 2rem;
  width: 350px;
  height: 450px;
  background: var(--background);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-heavy);
  z-index: 1001;
  display: none;
  flex-direction: column;
}

.chatbot-container.active {
  display: flex;
}

.chatbot-header {
  background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #2d3748 100%);
  color: #ffffff;
  padding: 1rem;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.chatbot-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20,50 Q50,20 80,50 T140,50" stroke="rgba(255,255,255,0.1)" fill="none" stroke-width="2"/></svg>');
  opacity: 0.3;
}

.chatbot-avatar {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #2c5282 0%, #3182ce 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(44, 82, 130, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.3);
  position: relative;
  z-index: 1;
}

.chatbot-info h4 {
  margin: 0;
  font-size: 1rem;
}

.chatbot-status {
  font-size: 0.8rem;
  opacity: 0.8;
}

.chatbot-close {
  margin-left: auto;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: var(--transition);
  position: relative;
  z-index: 10;
}

.chatbot-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.chatbot-messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  max-height: 300px;
}

.chatbot-message {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.bot-message {
  justify-content: flex-start;
}

.user-message {
  justify-content: flex-end;
}

.message-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.bot-message .message-avatar {
  background: var(--gradient-primary);
  color: var(--accent-color);
}

.user-message .message-avatar {
  background: var(--background-alt);
  color: var(--text-dark);
}

.message-content {
  max-width: 80%;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.message-content p {
  white-space: pre-line;
}

.bot-message .message-content {
  background: var(--background-alt);
  color: var(--text-dark);
}

.user-message .message-content {
  background: var(--gradient-primary);
  color: var(--accent-color);
}

.chatbot-input-container {
  display: flex;
  padding: 1rem;
  border-top: 1px solid rgba(30, 58, 138, 0.1);
  gap: 0.5rem;
}

.chatbot-input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid rgba(30, 58, 138, 0.2);
  border-radius: 2rem;
  outline: none;
  font-family: var(--font-secondary);
}

.chatbot-send {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  color: var(--accent-color);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.chatbot-send:hover {
  transform: scale(1.05);
}

.chatbot-quick-options {
  display: flex;
  gap: 0.5rem;
  padding: 0 1rem 1rem;
  flex-wrap: wrap;
}

.quick-option {
  padding: 0.7rem 1rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 2px solid rgba(26, 54, 93, 0.1);
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #1a365d;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.quick-option::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 175, 55, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.quick-option:hover::before {
  left: 100%;
}

.quick-option:hover {
  background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 54, 93, 0.3);
  border-color: #d4af37;
}

.chatbot-toggle {
  position: fixed !important;
  bottom: 6.5rem !important;
  right: 2rem !important;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #d4af37 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(26, 54, 93, 0.4);
  z-index: 1001 !important;
  transition: all 0.3s ease;
  animation: chatbotPulse 2s infinite;
}

@keyframes chatbotPulse {
  0% {
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.4),
      0 0 0 0 rgba(212, 175, 55, 0.7);
  }
  50% {
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.4),
      0 0 0 10px rgba(212, 175, 55, 0);
  }
  100% {
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.4), 0 0 0 0 rgba(212, 175, 55, 0);
  }
}

.chatbot-toggle:hover {
  transform: scale(1.1);
  animation: none;
  box-shadow: 0 12px 35px rgba(26, 54, 93, 0.6);
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  background: #ef4444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
}

/* Animations */
html.reveal-ready .section-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

html.reveal-ready .section-reveal.reveal-left {
  transform: translate3d(-34px, 0, 0);
}

html.reveal-ready .section-reveal.reveal-right {
  transform: translate3d(34px, 0, 0);
}

html.reveal-ready .section-reveal.reveal-scale {
  transform: translate3d(0, 18px, 0) scale(0.97);
}

html.reveal-ready .section-reveal.reveal-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  html.reveal-ready .section-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Animações Sutis e Sofisticadas */
@keyframes headerPattern {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes gentleFloat {
  0%,
  100% {
    transform: translateY(0px) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-15px) scale(1.02);
    opacity: 0.8;
  }
}

@keyframes gentleGlow {
  0%,
  100% {
    opacity: 0.1;
    transform: scaleY(1);
  }
  50% {
    opacity: 0.3;
    transform: scaleY(1.1);
  }
}

@keyframes subtlePulse {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.05);
  }
}

@keyframes subtleMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(60px, 60px);
  }
}

@keyframes techPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .contact-wrapper {
    gap: 1.5rem;
  }

  .modern-form-container {
    padding: 1.3rem;
  }

  .contact .section-title {
    font-size: 1.8rem;
  }
}

/* Media query for large tablets and small desktops */
@media (max-width: 1200px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  /* Feedback responsive */
  .testimonials-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-item {
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .reviews-summary {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
  }
}
@media (max-width: 768px) {
  .header {
    background: #fff;
    border-bottom: 1px solid #dbe4f0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
    backdrop-filter: none;
  }

  .nav-wrapper {
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 0.65rem 0;
  }

  .logo {
    padding: 0.2rem 0;
  }

  .brand-logo-header {
    width: clamp(210px, 72vw, 305px);
    max-width: none;
    max-height: 64px;
    image-rendering: auto;
    filter: contrast(1.12) saturate(1.08);
    transform: none;
  }

  .navbar {
    width: 0;
    margin-left: auto;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: min(84vw, 340px);
    height: 100vh;
    height: 100dvh;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 7rem 1.5rem 2rem;
    box-shadow: var(--shadow-heavy);
    transform: translateX(-105%);
    visibility: hidden;
    overflow-y: auto;
    z-index: 1002;
    transition: transform 0.32s ease, visibility 0.32s ease;
  }

  .nav-menu.active {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 1rem 1.1rem;
    border-radius: 10px;
    font-size: 1.05rem;
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(30, 64, 175, 0.08);
  }

  .nav-toggle {
    display: flex;
    flex: 0 0 44px;
    order: -1;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
  }

  .hero {
    min-height: 540px;
    padding: 8rem 0 4rem;
    align-items: center;
    background: #0b1730;
  }

  .hero .container {
    position: relative;
    z-index: 5;
    width: 100%;
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(6, 17, 38, 0.9) 0%,
      rgba(10, 28, 58, 0.78) 62%,
      rgba(10, 28, 58, 0.42) 100%
    );
  }

  .hero-bg::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    z-index: 4;
    width: 24%;
    height: 100%;
    background: rgba(255, 255, 255, 0.94);
    clip-path: polygon(100% 0, 100% 100%, 12% 100%);
    pointer-events: none;
  }

  .hero-content {
    isolation: isolate;
    max-width: 82%;
    margin: 0;
    padding: 1rem 0.5rem;
    text-align: left;
  }

  .hero-content::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -2rem;
    z-index: -1;
    width: 245px;
    height: 245px;
    border: 1px solid rgba(212, 175, 55, 0.8);
    border-radius: 50%;
    transform: translateY(-50%);
    pointer-events: none;
  }

  .hero-kicker {
    justify-content: flex-start;
    color: #f0cf6a;
    font-size: 0.68rem;
    letter-spacing: 0.13em;
  }

  .hero-kicker::before {
    width: 22px;
  }

  .hero-kicker::after {
    display: none;
  }

  .hero-title {
    max-width: 330px;
    color: #fff;
    line-height: 1.08;
    letter-spacing: -0.02em;
  }

  .hero .gradient-text {
    background: none;
    color: #f2d272;
    -webkit-text-fill-color: currentColor;
  }

  .hero-subtitle {
    max-width: 315px;
    margin-right: 0;
    margin-left: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .hero-subtitle {
    margin-bottom: 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-content,
  .contact-wrapper,
  .location-info {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .modern-social-links {
    grid-template-columns: 1fr;
  }

  .contact .section-title {
    font-size: 1.6rem;
  }

  .modern-form-container {
    padding: 1rem;
  }

  .contact-card {
    padding: 0.8rem;
  }

  .contact-cards {
    gap: 0.8rem;
  }

  .contact {
    padding: 2rem 0;
  }

  .about {
    padding: 2.5rem 0 3.5rem;
    border-top: 1px solid #cbd5e1;
    background: #f5f5f4;
    box-shadow: none;
    overflow: visible;
  }

  .about .container {
    overflow: visible;
  }

  .about::after {
    display: none;
  }

  .about .section-header {
    display: none;
  }

  .about .section-title {
    margin-bottom: 0.55rem;
    color: #b47d0b;
    font-family: var(--font-secondary);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .about .section-subtitle {
    margin: 0;
    color: var(--primary-dark);
    font-family: var(--font-primary);
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: left;
  }

  html.reveal-ready .about .section-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .about-intro {
    margin-bottom: 2.25rem;
  }

  /* Cartões empilhados inspirados em Uiverse.io por ZeroKaarma */
  .about-card-stack-wrap {
    display: grid;
    width: 100%;
    max-width: none;
    margin: 0 0 1.65rem;
  }

  .about-card-stack {
    position: relative;
    width: 100%;
    height: calc(clamp(303px, 72vw, 313px) + 14px);
  }

  .about-stack-card {
    position: absolute;
    inset: 0;
    width: 100%;
    height: clamp(303px, 72vw, 313px);
    overflow: hidden;
    border: 1px solid rgba(15, 36, 79, 0.14);
    border-radius: 16px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.35s ease;
  }

  .about-stack-card.stack-position-0 {
    z-index: 3;
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0);
    pointer-events: auto;
  }

  .about-stack-card.stack-position-1 {
    z-index: 2;
    opacity: 0.9;
    transform: translate3d(9px, 9px, 0) scale(0.975) rotate(1.3deg);
    pointer-events: none;
  }

  .about-stack-service,
  .about-stack-timeline {
    padding: 1.05rem;
  }

  .about-stack-service {
    background: linear-gradient(145deg, #173777 0%, #0c1d42 100%);
    color: #fff;
  }

  .about-stack-timeline {
    background: linear-gradient(145deg, #fff 0%, #f8fafc 100%);
    color: var(--text-dark);
  }

  .about-stack-kicker {
    margin: 0 0 0.45rem;
    color: #e5c55e;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .about-stack-service h3,
  .about-stack-timeline h3 {
    margin-bottom: 0.7rem;
    font-size: 1.16rem;
    line-height: 1.18;
  }

  .about-stack-service ul,
  .about-stack-timeline ul {
    display: grid;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .about-stack-service li {
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;
    gap: 0.75rem;
    padding: 0.38rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .about-stack-service li i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.1);
    color: #e5c55e;
  }

  .about-stack-service li span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.74rem;
    line-height: 1.35;
  }

  .about-stack-service li strong {
    display: block;
    margin-bottom: 0.12rem;
    color: #fff;
    font-size: 0.86rem;
  }

  .about-stack-timeline li {
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;
    gap: 0.75rem;
    padding: 0.38rem 0;
    border-top: 1px solid rgba(15, 36, 79, 0.1);
  }

  .about-stack-timeline li i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(180, 125, 11, 0.1);
    color: #9a6b08;
    font-size: 0.95rem;
  }

  .about-stack-timeline li span {
    color: #475569;
    font-size: 0.74rem;
    line-height: 1.35;
  }

  .about-stack-timeline li strong {
    display: block;
    margin-bottom: 0.12rem;
    color: var(--primary-dark);
    font-size: 0.86rem;
  }

  .about-stack-controls {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    margin-top: 0.3rem;
  }

  .about-stack-dots {
    display: flex;
    align-items: center;
    justify-self: start;
    gap: 0.45rem;
  }

  .about-stack-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #cbd5e1;
    cursor: pointer;
    transition: var(--transition);
  }

  .about-stack-dots button.is-active {
    width: 24px;
    background: var(--accent-gold);
  }

  .about-stack-dots button:focus-visible,
  .about-stack-next:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
  }

  .about-stack-next {
    display: inline-flex;
    grid-column: 2;
    align-items: center;
    justify-self: center;
    gap: 0.45rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(30, 64, 175, 0.18);
    border-radius: 999px;
    background: #fff;
    color: var(--primary-dark);
    font: 700 0.75rem var(--font-secondary);
    cursor: pointer;
  }

  .intro-content {
    gap: 1.25rem;
  }

  .intro-text h3 {
    display: none;
  }

  .intro-text p {
    margin-bottom: 1.2rem;
    color: #475569;
    font-size: 0.93rem;
    line-height: 1.7;
  }

  .brand-reveal-showcase {
    display: none;
  }

  .intro-stats {
    display: none;
  }
  .about-stats {
    grid-template-columns: 1fr;
  }

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

  .map-container {
    order: 1;
  }

  .contact-quick-info {
    order: 2;
  }

  .map-overlay {
    position: static;
    margin-top: 1rem;
  }

  .location-card {
    max-width: 100%;
    background: var(--background);
    backdrop-filter: none;
  }

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

  .feedback {
    padding: 4rem 0;
  }

  .testimonials-stats {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .testimonial-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .reviews-summary {
    flex-direction: column;
    text-align: center;
  }

  .reviews-info {
    flex-direction: column;
    gap: 1rem;
  }

  .chatbot-container,
  .chatbot-toggle {
    display: none !important;
  }

  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
  }

  .whatsapp-button {
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    font-size: 1.35rem;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.22);
    animation: none;
  }

  .footer {
    padding: 1.35rem 0 0.75rem;
    font-size: 0.76rem;
  }

  .footer-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1.25rem;
    margin-bottom: 0.35rem;
  }

  .footer-section:first-child,
  .footer-section:last-child {
    grid-column: 1 / -1;
  }

  .footer-section:first-child {
    text-align: center;
  }

  .brand-logo-footer {
    display: block;
    width: min(340px, 100%);
    margin: 0 auto 0.65rem;
    image-rendering: auto;
    transform: none;
  }

  .footer-section:first-child > p {
    max-width: 480px;
    margin: 0 auto;
    font-size: 0.74rem;
    line-height: 1.45;
  }

  .footer-logo h3 {
    font-size: 1.1rem;
  }

  .footer-section h4 {
    font-size: 0.82rem;
    margin-bottom: 0.45rem;
  }

  .footer-links li {
    margin-bottom: 0.2rem;
    line-height: 1.35;
  }

  .footer-links a {
    font-size: 0.74rem;
  }

  .footer-social {
    justify-content: center;
    margin-top: 0.55rem;
  }

  .footer-contact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 0.75rem;
  }

  .footer-contact p {
    margin: 0;
    font-size: 0.74rem;
    line-height: 1.4;
  }

  .footer-contact p:nth-child(n + 3) {
    grid-column: 1 / -1;
  }

  .footer-divider {
    margin: 0.8rem 0 0.55rem;
  }

  .footer-copyright p {
    margin-bottom: 0.28rem;
    font-size: 0.7rem;
    line-height: 1.4;
  }

  .footer-legal {
    margin-top: 0.25rem;
  }

  .footer-legal-link {
    font-size: 0.68rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .service-card,
  .info-card,
  .about-item {
    padding: 1.5rem;
  }

  .contact-form-container {
    padding: 2rem;
  }
}

/* Print Styles */
@media print {
  .header,
  .whatsapp-float,
  .chatbot-container,
  .chatbot-toggle {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .section-title {
    font-size: 18pt;
    color: black !important;
  }

  .btn {
    border: 1px solid black;
    background: white !important;
    color: black !important;
  }

  /* Responsividade para Partners */
  .partners-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .partner-card {
    flex-direction: column;
  }

  .partner-image {
    height: 200px;
  }

  .partnership-story {
    padding: 2rem;
  }

  .partnership-story h3 {
    font-size: 1.5rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  .about-stack-card,
  .about-stack-dots button {
    transition: none !important;
  }
}

/* FAQ Section Styles */
.faq-section {
  padding: 4rem 0;
  background: var(--background-section-soft);
}

.faq-section .section-header {
  margin-bottom: 2rem;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--background);
  border-radius: var(--border-radius);
  margin-bottom: 0.6rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-heavy);
}

.faq-question {
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: inherit;
  list-style: none;
  transition: var(--transition);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover,
.faq-question:focus-visible {
  background: var(--background-light);
}

.faq-question:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: -2px;
}

.faq-question-text {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-dark);
  font-family: var(--font-primary);
}

.faq-icon {
  color: var(--primary);
  transition: transform 0.3s ease;
  font-size: 1.2rem;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  background: var(--background-light);
}

.faq-answer p {
  margin: 0;
  padding: 1rem 1.25rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Responsive FAQ */
@media (max-width: 768px) {
  .faq-section {
    padding: 2.5rem 0;
  }

  .faq-section .section-header {
    margin-bottom: 1.25rem;
  }

  .faq-section .section-title {
    margin-bottom: 0.35rem;
    font-size: 1.65rem;
  }

  .faq-section .section-subtitle {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .faq-item {
    margin-bottom: 0.45rem;
    border-radius: 10px;
  }

  .faq-question {
    padding: 0.78rem 1rem;
  }

  .faq-question-text {
    font-size: 0.92rem;
    line-height: 1.3;
  }

  .faq-answer p {
    padding: 0.8rem 1rem;
    font-size: 0.88rem;
    line-height: 1.5;
  }
}

/* Alternativa: Animação CSS em vez de vídeo (descomente se preferir) */
/*
.hero-animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(-45deg, #f8fafc, #ffffff, #f1f5f9, #e2e8f0);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  z-index: 1;
  opacity: 0.9;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
*/
