/* ==========================================================================
   SITE.CSS — tema passaporte (azul e dourado)
   Cabeçalho/Rodapé escuros • Conteúdo claro • Cartões elegantes • Responsivo
   ========================================================================== */

/* ===== Reset mínimo ===== */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font: 400 16px/1.55 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img{ max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .9; }

/* ===== Variáveis do tema PASSAPORTE ===== */
:root{
  /* Base claras (miolo) */
  --bg: #f8fafc;              /* fundo geral mais claro */
  --bg-soft: #f1f5f9;         /* faixas suaves / hero */
  --card: #ffffff;            /* cards */
  --text: #0f172a;            /* texto principal */
  --muted: #475569;           /* textos secundários */

  /* Cores tema Passaporte (azul e dourado) */
  --brand: #1e40af;           /* azul escuro - cor principal */
  --brand-light: #3b82f6;     /* azul médio */
  --accent: #d97706;          /* dourado */
  --accent-light: #f59e0b;    /* dourado claro */
  --ring: #e2e8f0;            /* bordas claras */
  --shadow: 0 8px 25px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 12px 32px rgba(15, 23, 42, 0.12);
  --radius: 16px;
  --container: 1200px;

  /* Header/Rodapé escuros com azul */
  --header-bg: #0f172a;
  --header-border: #1e293b;
  --header-text: #f1f5f9;
  --header-text-muted: #cbd5e1;

  --footer-bg: #0f172a;
  --footer-border: #1e293b;
  --footer-text: #cbd5e1;

  /* Botões/Chips */
  --chip-bg: #ffffff;
  --chip-border: #e2e8f0;

  --btn-bg: #ffffff;
  --btn-text: #0f172a;
  --btn-border: #cbd5e1;
  --btn-bg-hover: #f8fafc;
  --btn-border-hover: #94a3b8;

  /* Botão primário - azul passaporte */
  --btn-primary-bg: var(--brand);
  --btn-primary-text: #ffffff;
  --btn-primary-border: var(--brand);
  --btn-primary-bg-hover: #1e3a8a;

  /* WhatsApp */
  --wa-green-1: #34eb79;
  --wa-green-2: #25d366;
  --wa-green-3: #1ebe57;
}

/* ===== Utilitários ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
[hidden] { display: none !important; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* ===== Tipografia ===== */
h1,h2,h3 { margin: 0 0 12px; letter-spacing: -0.02em; color: var(--text); font-weight: 700; }
h1 { font-size: 2.5rem; line-height: 1.2; }
h2 { font-size: 2rem; line-height: 1.3; }
h3 { font-size: 1.5rem; line-height: 1.4; }
p { margin: 0 0 16px; color: #475569; line-height: 1.6; }

/* ===== Plano de fundo do site ===== */
body { 
  background: var(--bg); 
  color: var(--text);
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(30, 64, 175, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(245, 158, 11, 0.03) 0%, transparent 50%);
}

/* ==========================================================================
   HEADER (escuro com azul)
   ========================================================================== */
.header {
  background: var(--header-bg);
  color: var(--header-text);
  border-bottom: 1px solid var(--header-border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}
.header .header-wrap {
  display:flex; justify-content:space-between; align-items:center; gap:20px; padding:16px 0;
}
.logo a { 
  display:flex; align-items:center; gap:12px; 
  color: var(--header-text); 
  font-weight: 700;
  font-size: 1.25rem;
}
.logo a:hover { color:#fff; transform: translateY(-1px); }
.logo i { 
  color: var(--accent-light);
  font-size: 24px;
}
.desktop-nav ul {
  display:flex; gap:20px; list-style:none; margin:0; padding:0;
}
.desktop-nav a { 
  color: var(--header-text-muted); 
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.desktop-nav a:hover { 
  color:#fff; 
  background: rgba(255, 255, 255, 0.1);
}
.mobile-menu-btn {
  display:none; background:none; border:0; cursor:pointer;
  padding: 8px;
  border-radius: 8px;
}
.mobile-menu-btn span {
  width:24px; height:2px; background: var(--header-text); display:block; margin:4px 0;
  transition: all 0.3s ease;
}
.mobile-nav {
  background:#1e293b; border-top:1px solid var(--header-border);
  padding: 16px 0;
}
.mobile-nav ul { list-style:none; margin:0; padding: 0 20px; }
.mobile-nav a { 
  display:block; padding:12px 16px; 
  color: var(--header-text-muted);
  border-radius: 8px;
  transition: all 0.2s ease;
}
.mobile-nav a:hover { 
  color:#fff; 
  background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   HERO (gradiente azul suave)
   ========================================================================== */
.page-hero, .hero-section {
  background:
    radial-gradient(1000px 400px at 10% 0%, rgba(30, 64, 175, 0.08), transparent 60%),
    radial-gradient(900px 380px at 90% 0%, rgba(245, 158, 11, 0.06), transparent 55%),
    linear-gradient(180deg, var(--bg-soft) 0%, #ffffff 70%);
  border-bottom: 1px solid #e2e8f0;
  padding: 80px 0 60px;
  position: relative;
}
.hero-grid {
  display:grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items:center;
}
.text-blue { color: var(--brand); }
.text-accent { color: var(--accent); }
.hero-buttons { display:flex; gap:16px; margin-top: 24px; }

.btn {
  display:inline-flex; align-items:center; gap:10px;
  border-radius: 12px; padding: 12px 24px;
  font-weight: 600;
  border: 2px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-text);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}
.btn:hover::before {
  left: 100%;
}
.btn:hover { 
  background: var(--btn-bg-hover); 
  border-color: var(--btn-border-hover); 
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border-color: var(--btn-primary-border);
}
.btn-primary:hover {
  background: var(--btn-primary-bg-hover);
  border-color: var(--btn-primary-bg-hover);
}

.btn-outline { 
  background: transparent; 
  border-color: var(--brand);
  color: var(--brand);
}
.btn-outline:hover {
  background: var(--brand);
  color: white;
}

.hero-features { display:flex; gap:16px; margin-top: 24px; flex-wrap: wrap; }
.feature-item {
  display:flex; align-items:center; gap:10px;
  background: var(--chip-bg); border:1px solid var(--chip-border);
  color:#475569; padding:12px 16px; border-radius:12px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.feature-item:hover {
  border-color: var(--brand-light);
  transform: translateY(-1px);
}
.feature-item i {
  color: var(--accent);
}
.notice {
  margin-top: 24px; padding: 20px; border-radius: 12px;
  background: linear-gradient(135deg, #fef7ed 0%, #fefce8 100%);
  border: 1px solid #fed7aa;
  color:#92400e;
  border-left: 4px solid var(--accent);
}

/* ==========================================================================
   SERVIÇOS (cards elegantes)
   ========================================================================== */
.services-section { padding: 60px 0; }
.section-header { text-align:center; margin-bottom: 40px; }
.section-header p { 
  color: #64748b; 
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}
.services-grid {
  display:grid; gap: 24px; grid-template-columns: repeat(4, 1fr);
}
.service-card {
  background: var(--card); border:1px solid var(--ring);
  border-radius: var(--radius); 
  box-shadow: var(--shadow); 
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-light);
}
.service-card h3 { 
  margin:16px 0 12px; 
  color: var(--brand);
}
.service-card p { color: var(--muted); margin-bottom: 16px; }
.service-icon { 
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon i { 
  color: white; 
  font-size: 24px; 
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
  color: #475569;
}
.service-features i {
  color: var(--accent);
}

/* ==========================================================================
   SOBRE (grid + stats)
   ========================================================================== */
.about-section { padding: 40px 0 80px; }
.about-grid {
  display:grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items:center;
}
.about-image img {
  border-radius: var(--radius);
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-hover);
  transition: transform 0.3s ease;
}
.about-image img:hover {
  transform: scale(1.02);
}
.stats-grid {
  display:grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 32px;
}
.stat-item {
  background: var(--card); border:1px solid var(--ring);
  border-radius: var(--radius); 
  box-shadow: var(--shadow); 
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}
.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-light);
}
.stat-item i {
  font-size: 32px;
  color: var(--brand);
  margin-bottom: 12px;
}
.stat-number { 
  font-weight: 800; 
  font-size: 2rem;
  color: var(--brand);
  margin: 8px 0;
}
.stat-label { color: #64748b; font-weight: 500; }

/* Seção de contraste */
.section-contrast {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

/* ==========================================================================
   RODAPÉ (escuro com azul)
   ========================================================================== */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  border-top: 1px solid var(--footer-border);
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}
.footer-grid {
  display:grid; gap:32px; grid-template-columns: 2fr 1fr 1fr 1.4fr;
  padding: 48px 0 24px;
}
.footer-logo { 
  display:flex; align-items:center; gap:12px; 
  margin-bottom: 16px;
}
.footer-logo i {
  color: var(--accent-light);
  font-size: 24px;
}
.footer-section h3 { 
  margin-bottom: 16px; 
  color: white;
}
.footer-section ul { list-style:none; padding:0; margin:0; }
.footer-section li { margin: 12px 0; }
.footer a { color: var(--footer-text); transition: color 0.2s ease; }
.footer a:hover { color:#ffffff; }
.footer-bottom {
  border-top:1px solid var(--footer-border);
  display:flex; gap:16px; justify-content:space-between; align-items:center;
  color: #94a3b8; padding: 24px 0;
  font-size: 0.875rem;
}

/* ==========================================================================
   LOADER (overlay elegante)
   ========================================================================== */
#loader-overlay{
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
  opacity: 1; visibility: visible;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
#loader-overlay.is-hidden{ opacity: 0; visibility: hidden; }
.loader-card{
  display:flex; align-items:center; gap:20px;
  padding: 24px 28px; border-radius: 20px;
  background:#1e293b; border:1px solid #334155;
  color:#e2e8f0; box-shadow: 0 20px 40px rgba(2,6,23,.4);
}
.loader-spinner{ width: 60px; height: 60px; position: relative; }
.loader-spinner::before,
.loader-spinner::after{
  content: ""; position: absolute; inset: 0; border-radius: 9999px; border: 4px solid transparent;
}
.loader-spinner::before{ border-color: #334155; }
.loader-spinner::after{
  border-top-color: var(--brand); border-right-color: var(--accent);
  animation: loader-spin 1s linear infinite;
}
.loader-text{ font: 600 16px/1.3 ui-sans-serif, system-ui; }
@keyframes loader-spin{ to { transform: rotate(360deg); } }

/* ==========================================================================
   COOKIES
   ========================================================================== */
.cookie-consent {
  position: fixed; right: 24px; bottom: 24px; z-index: 9998;
  max-width: 480px; width: calc(100% - 48px);
  background: var(--card); border:1px solid var(--ring);
  border-radius: 16px; box-shadow: var(--shadow-hover);
  display: none; /* exiba via JS */
  border-left: 4px solid var(--accent);
}
.cookie-content { display:flex; gap:16px; align-items:flex-start; padding: 24px; }
.cookie-text { display:flex; gap:12px; align-items:flex-start; color:#334155; }
.cookie-text i {
  color: var(--accent);
  font-size: 20px;
  margin-top: 2px;
}
.cookie-buttons { display:flex; gap:12px; margin-left:auto; flex-wrap: wrap; }
.cookie-close { 
  background: transparent; border:0; cursor:pointer; 
  color:#475569;
  padding: 4px;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.cookie-close:hover {
  background: #f1f5f9;
  color: var(--text);
}
.cookie-content .btn { padding: 10px 16px; }

/* ==========================================================================
   WHATSAPP (floating button melhorado)
   ========================================================================== */
.whatsapp-btn{
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 1000;

  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;

  border-radius: 50%;
  background: radial-gradient(120% 120% at 30% 20%, var(--wa-green-1) 0%, var(--wa-green-2) 55%, var(--wa-green-3) 100%);
  color: #fff;

  box-shadow:
    0 16px 32px rgba(37, 211, 102, 0.3),
    0 6px 16px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);

  transition: all 0.3s ease;
  text-decoration: none;
}
.whatsapp-btn i,
.whatsapp-btn svg{
  font-size: 28px;
  line-height: 1;
  display: block;
}
.whatsapp-btn:hover{
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 20px 40px rgba(37, 211, 102, 0.4),
    0 8px 20px rgba(0, 0, 0, 0.15);
}
.whatsapp-btn:active{
  transform: translateY(-1px) scale(0.98);
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1024px){
  .desktop-nav { display:none; }
  .mobile-menu-btn { display:inline-flex; }
  .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px){
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}

@media (max-width: 560px){
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .whatsapp-btn{ 
    width: 56px; height: 56px; 
    right: 20px; bottom: 20px; 
  }
  .whatsapp-btn i, .whatsapp-btn svg{ font-size: 24px; }
  .container { padding: 0 20px; }
}

/* ==========================================================================
   FORM STYLES — elegante e moderno
   ========================================================================== */
.form-card{
  background: var(--card);
  border:1px solid var(--ring);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.form-header{ 
  display:flex; align-items:center; gap:12px; 
  margin-bottom: 24px;
}
.form-header i{ 
  font-size:24px; 
  color: var(--brand);
}
.form-header h3 {
  margin: 0;
  color: var(--brand);
}

/* Grid responsivo */
.form-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:20px; }
@media (max-width: 560px){ .form-grid{ grid-template-columns: 1fr; } }

.form-group{ display:flex; flex-direction:column; gap:8px; }
.form-group label{ 
  font-weight: 600; 
  color:#0f172a;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Campo padrão */
.form-control{
  width: 100%;
  border: 2px solid var(--ring);
  background: #fff;
  color: #0f172a;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 16px;
  transition: all 0.3s ease;
}
.form-control::placeholder{ color:#94a3b8; }
.form-control:focus{
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
  transform: translateY(-1px);
}
textarea.form-control{ 
  min-height: 140px; 
  resize: vertical;
  line-height: 1.5;
}

/* Auxiliares */
.help{ font-size: 0.75rem; color:#64748b; margin-top: 4px; }
.required::after{ content:" *"; color:#dc2626; }

.form-consent{ 
  display:flex; align-items:flex-start; gap:12px; 
  font-size: 0.875rem; color:#475569;
  background: #f8fafc;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.form-consent input{ margin-top: 2px; }

.form-actions{ 
  display:flex; gap:16px; justify-content:flex-end; 
  margin-top: 24px;
}
.btn-wide{ width: 100%; justify-content: center; }

/* Honeypot antispam */
.hp-field{ position:absolute !important; left:-9999px !important; width:1px; height:1px; overflow:hidden; }

/* Validação */
input.form-control:invalid[required]:not(:focus):not(:placeholder-shown),
textarea.form-control:invalid[required]:not(:focus):not(:placeholder-shown){
  border-color:#dc2626;
  background: #fef2f2;
}
input.form-control:valid:not(:placeholder-shown),
textarea.form-control:valid:not(:placeholder-shown){
  border-color:#16a34a;
  background: #f0fdf4;
}

/* Select estilizado */
select.form-control{ 
  border-color: var(--ring);
  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 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
  appearance: none;
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}
.cta-section h2 {
  color: white;
  margin-bottom: 16px;
}
.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 32px;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-section .btn {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  backdrop-filter: blur(10px);
}
.cta-section .btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}
.cta-section .btn-outline {
  background: transparent;
  border: 2px solid white;
}
.cta-section .btn-outline:hover {
  background: white;
  color: var(--brand);
}