/* ============================================================
   MIGRATUR — Design System & Styles
   ============================================================ */

/* ---------- CSS Variables ---------- */
/* 
  Migratur Project - Version 2.0 (Sandbox)
  Author: Fernanda & Diego
  Branch: Sandbox -> Merge to Main (Master)
*/

:root {
  /* ============================
     PALETA MIGRATUR OFICIAL 
     ============================ */
  --green-900: #020a14;
  --green-800: #6b0d28; /* Brand Burgundy */
  --green-700: #6b0d28;
  --green-600: #9e0301; /* Red Hover */
  --green-500: #8c0301; /* Brand Red (Primary actions) */
  --green-400: #d4a843; /* Gold Gradients */
  --green-300: #f0cc72; /* Gold Light */
  --green-100: #f5eed1; /* Dark Cream */
  --green-50:  #fcf7e3; /* Brand Cream (Surfaces) */

  --navy-950: #020a14;
  --navy-900: #041831; /* Brand Dark Navy */
  --navy-800: #0a2547;
  --navy-700: #1c6176; /* Brand Teal */
  --navy-600: #297a92;

  --gold:   #d4a843;
  --gold-light: #f0cc72;

  --gray-900: #041831; /* Textos escuros usam agora o Azul Marinho */
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50:  #fcf7e3; /* Fundos claros usam o Creme Oficial */

  --white: #ffffff;

  /* Semantic */
  --color-primary:       var(--green-500);
  --color-primary-dark:  var(--green-700);
  --color-primary-light: var(--green-300);
  --color-bg:            var(--white);
  --color-surface:       var(--gray-50);
  --color-text:          var(--gray-900);
  --color-text-muted:    var(--gray-500);
  --color-border:        var(--gray-200);

  /* Typography / Fontes Oficiais (Com fallbacks seguros) */
  --font-body:   'Object Sans', 'Inter', system-ui, sans-serif;
  --font-display: 'Abiah', 'Playfair Display', Georgia, serif;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Radii */
  --radius-sm:   0.25rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1.25rem;
  --radius-2xl:  1.5rem;
  --radius-full: 9999px;

  /* Shadows Customizadas pro Vermelho/Dourado */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg:  0 10px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl:  0 20px 60px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.08);
  --shadow-green: 0 8px 32px rgba(140,3,1,0.22); /* Sombra Vermelha */

  /* Transitions */
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 0.4s cubic-bezier(0.4,0,0.2,1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---------- Utility ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-5xl) 0;
}

.gradient-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .gradient-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--navy-900);
  color: var(--gold);
  border: 1px solid var(--gold);
  box-shadow: 0 4px 15px rgba(4,24,49,0.3);
}
.btn-primary:hover {
  background: var(--navy-800);
  box-shadow: 0 8px 25px rgba(212,168,67,0.25);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }

/* Botão do WhatsApp Adequado a Marca */
.btn-whatsapp {
  background: var(--navy-800);
  color: var(--gold);
  border: 1px solid rgba(212,168,67, 0.4);
  box-shadow: 0 4px 15px rgba(4,24,49,0.2);
}
.btn-whatsapp:hover {
  background: var(--navy-900);
  border-color: var(--gold);
  box-shadow: 0 8px 25px rgba(212,168,67,0.25);
  transform: translateY(-2px);
}

.btn-outline-white {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.8);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1rem;
}
.btn-full { width: 100%; justify-content: center; }

/* ---------- Section Header ---------- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--green-50);
  color: var(--green-600);
  border: 1px solid var(--green-100);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: var(--space-md);
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy-900); /* Fundo Exato do seu LOGO JPG: Marinho */
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: transparent;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  height: 80px; /* Maior para respirar */
}

/* Logo Secção (Com Tesoura Anti-Vazamento) */
/* Logo Secção */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.logo-img {
  width: 230px;  /* Força a largura para esticar a foto */
  height: 55px;  /* Segura a altura para não vazar a barra */
  object-fit: cover; /* A Mágica: corta as bordas automaticamente! */
  object-position: center; /* Centraliza na palavra MIGRATUR */
  mix-blend-mode: lighten;
  display: block;
}

.logo-img-footer {
  width: 260px;
  height: 70px;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: lighten;
  display: block;
}


/* Nav links (Creme Oficial) */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  margin: 0 auto;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--green-50); /* Letras Creme Claro no Fundo Escuro */
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--gold); /* Risco sublinhado dourado */
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: var(--radius-full);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { transform: scaleX(1); }

/* Lang switcher (Versão Joia / Elegante) */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px; /* Mais espaço entre eles agora que tiramos o botão */
}
.lang-btn {
  background: none;
  border: none;
  padding: 0.2rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4); /* Letras discretas */
  letter-spacing: 0.05em;
  transition: all var(--transition);
  position: relative;
}
/* Bolinha dourada embaixo do idioma ativo */
.lang-btn.active {
  color: var(--gold);
}
.lang-btn.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}
.lang-btn:hover:not(.active) {
  color: var(--green-50);
}

/* Hamburger (Menu Celular) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--gold);
  border-radius: var(--radius-full);
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 72px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(4,24,49,0.92) 0%, /* Navy Blue */
    rgba(28,97,118,0.75) 50%, /* Teal */
    rgba(140,3,1,0.65) 100% /* Red */
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-5xl);
  max-width: 780px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.6s ease both;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--green-400);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.25); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.6s 0.1s ease both;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-2xl);
  max-width: 560px;
  line-height: 1.7;
  animation: fadeInUp 0.6s 0.2s ease both;
}
.hero-ctas {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: fadeInUp 0.6s 0.3s ease both;
  margin-bottom: var(--space-3xl);
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  animation: fadeInUp 0.6s 0.4s ease both;
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-display);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-indicator {
  width: 28px; height: 48px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 14px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 6px;
}
.scroll-indicator span {
  display: block;
  width: 4px; height: 10px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  animation: scrollDown 2s infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}

/* ============================================================
   COUNTRIES BANNER
   ============================================================ */
.countries-banner {
  background: var(--navy-950);
  padding: var(--space-lg) 0;
}
.countries-banner .container {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}
.banner-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
  flex-shrink: 0;
}
.country-chips {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.country-chip {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}
.chip-sep {
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-section {
  background: var(--gray-50);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-500), var(--green-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}
.service-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
  border-color: var(--green-100);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card.featured {
  background: linear-gradient(145deg, var(--navy-900), var(--navy-800));
  border-color: rgba(255,255,255,0.08);
  color: var(--white);
}
.service-card.featured::before {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.service-card.featured .service-title { color: var(--white); }
.service-card.featured .service-desc { color: rgba(255,255,255,0.7); }
.service-card.featured .service-features li { color: rgba(255,255,255,0.75); }
.service-card.featured .service-link { color: var(--gold-light); }
.service-card.featured .service-icon {
  background: rgba(255,255,255,0.08);
  color: var(--gold-light);
}

.service-badge-featured {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  background: var(--gold);
  color: var(--navy-900);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-icon {
  width: 52px; height: 52px;
  background: var(--green-50);
  color: var(--green-600);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  transition: all var(--transition);
}
.service-card:hover .service-icon {
  background: var(--green-500);
  color: var(--white);
  transform: scale(1.05);
}
.service-card.featured:hover .service-icon {
  background: rgba(255,255,255,0.15);
}
.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
}
.service-desc {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: var(--space-lg);
  flex: 1;
}
.service-features {
  margin-bottom: var(--space-lg);
}
.service-features li {
  font-size: 0.85rem;
  color: var(--gray-600);
  padding: 0.25rem 0;
  padding-left: 1.2rem;
  position: relative;
}
.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-500);
  font-weight: 700;
}
.service-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green-600);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
  margin-top: auto;
}
.service-link:hover { gap: 8px; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section {
  background: var(--white);
}
.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}
.step-card {
  flex: 1;
  padding: var(--space-2xl) var(--space-xl);
  border-radius: var(--radius-xl);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-slow);
  position: relative;
}
.step-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--green-200);
}
.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  margin-top: 60px;
}
.step-connector span {
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--green-300), var(--green-400));
  border-radius: var(--radius-full);
  position: relative;
}
.step-connector span::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid var(--green-400);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

.step-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--gray-200);
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: var(--space-md);
  transition: color var(--transition);
}
.step-card:hover .step-number { color: var(--green-100); }
.step-icon {
  color: var(--green-600);
  margin-bottom: var(--space-md);
}
.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
}
.step-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-section {
  background: var(--gray-50);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}
.about-image-col { position: relative; }
.about-img-wrapper {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.about-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
}
.about-img-badge {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10,15,30,0.9);
  backdrop-filter: blur(12px);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.12);
}
.about-img-badge svg { color: var(--green-400); }

.about-content-col .section-badge { margin-bottom: var(--space-md); }
.about-content-col .section-title {
  text-align: left;
  margin-bottom: var(--space-lg);
}
.about-desc {
  color: var(--gray-600);
  margin-bottom: var(--space-md);
  line-height: 1.75;
}
.about-desc strong { color: var(--gray-900); }
.about-highlights {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin: var(--space-xl) 0 var(--space-2xl);
}
.highlight-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}
.highlight-icon {
  width: 28px; height: 28px;
  background: var(--green-500);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.highlight-item strong { display: block; font-size: 0.95rem; color: var(--gray-900); }
.highlight-item p { font-size: 0.85rem; color: var(--gray-500); margin-top: 2px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.testimonial-card {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-slow);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--green-100);
  background: var(--white);
}
.stars {
  font-size: 0.95rem;
  color: #f59e0b;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 0.93rem;
  color: var(--gray-600);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}
.testimonial-text::before { content: '\201C'; }
.testimonial-text::after  { content: '\201D'; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: auto;
}
.author-avatar {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--green-600), var(--green-400));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.9rem; color: var(--gray-900); }
.testimonial-author span { font-size: 0.8rem; color: var(--gray-400); }

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  position: relative;
  padding: var(--space-4xl) 0;
  overflow: hidden;
}
.cta-strip-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-500) 60%, var(--green-400) 100%);
  z-index: 0;
}
.cta-strip-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 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.04'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-strip-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}
.cta-strip-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.cta-strip-text p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
}
.cta-strip-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { background: var(--gray-50); }
.faq-container { max-width: 800px; }
.faq-container .section-header { text-align: left; }
.faq-container .section-title { text-align: left; }
.faq-container .section-badge { justify-content: flex-start; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-3xl);
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item[open] { box-shadow: var(--shadow-md); border-color: var(--green-200); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--gray-900);
  cursor: pointer;
  list-style: none;
  transition: color var(--transition);
  user-select: none;
  gap: var(--space-lg);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { color: var(--green-700); }
.faq-chevron {
  flex-shrink: 0;
  color: var(--gray-400);
  transition: transform var(--transition);
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); color: var(--green-500); }
.faq-answer {
  padding: 0 var(--space-xl) var(--space-lg);
  border-top: 1px solid var(--gray-100);
}
.faq-answer p {
  font-size: 0.93rem;
  color: var(--gray-600);
  line-height: 1.75;
  padding-top: var(--space-md);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-4xl);
  align-items: flex-start;
}
.contact-info-col .section-badge { margin-bottom: var(--space-md); }
.contact-info-col .section-title { text-align: left; }
.contact-desc {
  color: var(--gray-500);
  margin-bottom: var(--space-2xl);
  line-height: 1.75;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  transition: all var(--transition);
  text-decoration: none;
}
.contact-method:hover {
  border-color: var(--green-300);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.method-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.whatsapp-icon  { background: #dcfce7; color: #16a34a; }
.email-icon     { background: #dbeafe; color: #2563eb; }
.insta-icon     { background: #fce7f3; color: #db2777; }
.method-text strong { display: block; font-size: 0.9rem; color: var(--gray-900); }
.method-text span   { font-size: 0.83rem; color: var(--gray-500); }

/* Contact Form */
.contact-form {
  background: var(--gray-50);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: var(--space-md);
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: var(--gray-900);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(22,163,74,0.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%236B7280' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

.form-check {
  flex-direction: row !important;
  align-items: flex-start;
  gap: var(--space-sm) !important;
  margin-bottom: var(--space-lg) !important;
}
.form-check input[type="checkbox"] {
  margin-top: 3px;
  width: 16px; height: 16px;
  accent-color: var(--green-500);
  flex-shrink: 0;
}
.form-check label {
  font-size: 0.82rem !important;
  font-weight: 400 !important;
  color: var(--gray-500) !important;
  cursor: pointer;
}
.form-check label a {
  color: var(--green-600);
  text-decoration: underline;
}

.btn-spinner { display: inline-flex; }
.spin {
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.form-success {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: var(--radius-md);
  color: var(--green-700);
  font-size: 0.92rem;
  font-weight: 600;
  margin-top: var(--space-md);
}
.form-success svg { flex-shrink: 0; }

/* Garante que elementos escondidos pelo Javascript fiquem invisíveis */
[hidden] {
  display: none !important;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.65);
}
.footer-inner {}
.footer-top {
  padding: var(--space-4xl) 0 var(--space-3xl);
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: var(--space-4xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.logo-footer .logo-text { color: var(--white); }
.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  margin-top: var(--space-md);
  line-height: 1.65;
  max-width: 280px;
}
.footer-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}
.social-icon {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.65);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  border: 1px solid rgba(255,255,255,0.1);
}
.social-icon:hover {
  background: var(--green-500);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-lg);
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--green-400); }

.footer-bottom {
  padding: var(--space-xl) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.35); }
.footer-langs {
  display: flex;
  gap: var(--space-md);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: 999;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #25d366, #1da851);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all var(--transition);
  transform: scale(0);
  animation: popIn 0.4s 1s ease forwards;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
}
@keyframes popIn {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}
.wa-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--gray-900);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid var(--gray-900);
}
.wa-float:hover .wa-tooltip { opacity: 1; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .about-image-col { max-width: 520px; margin: 0 auto; }
  .about-img { height: 400px; }
  .steps-grid { gap: 0; }
  .step-connector { width: 28px; }
}

@media (max-width: 768px) {
  .section { padding: var(--space-3xl) 0; }
  .container { padding: 0 var(--space-lg); }

  /* Navbar */
  .nav-links {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-lg) var(--space-xl);
    gap: var(--space-md);
    border-top: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .lang-switcher { display: none; }

  /* Hero */
  .hero-ctas { flex-direction: column; }
  .hero-stats { gap: var(--space-lg); }

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

  /* Steps */
  .steps-grid {
    flex-direction: column;
    gap: var(--space-md);
  }
  .step-connector { display: none; }

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

  /* CTA Strip */
  .cta-strip-inner { flex-direction: column; gap: var(--space-xl); }
  .cta-strip-actions { flex-direction: column; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .section-title { font-size: 1.8rem; }
  .footer-links { grid-template-columns: 1fr; }
  .countries-banner .container { flex-direction: column; align-items: flex-start; gap: var(--space-md); }
}

/* ============================================================
   PRIVACY MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(4, 24, 49, 0.4);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--green-50);
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--gold);
  transform: translateY(20px);
  transition: transform var(--transition);
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-header {
  padding: var(--space-xl) var(--space-2xl);
  border-bottom: 1px solid var(--green-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy-900);
  margin: 0;
}

.btn-close {
  background: var(--navy-900);
  color: var(--gold);
  border: 1px solid var(--gold);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.btn-close:hover {
  background: var(--navy-800);
  transform: rotate(90deg);
}

.modal-body {
  padding: var(--space-2xl);
  overflow-y: auto;
  color: var(--gray-700);
  line-height: 1.7;
}

.modal-body h3 {
  color: var(--navy-900);
  margin: var(--space-xl) 0 var(--space-md);
  font-size: 1.1rem;
}

.modal-body p {
  margin-bottom: var(--space-md);
}

.modal-body ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
  list-style: disc;
}

.modal-body li {
  margin-bottom: var(--space-xs);
}

.modal-body strong {
  color: var(--navy-900);
}

/* Custom Scrollbar for Modal content */
.modal-body::-webkit-scrollbar {
  width: 8px;
}
.modal-body::-webkit-scrollbar-track {
  background: var(--green-50);
}
.modal-body::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 4px;
}
.modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}

@media (max-width: 768px) {
  .modal-container {
    max-height: 95vh;
  }
  .modal-header {
    padding: var(--space-lg) var(--space-xl);
  }
  .modal-body {
    padding: var(--space-lg) var(--space-xl);
  }
}
