/* Paleta de cores */
:root {
  --primary: #203140; /* principal */
  --secondary: #BF9600; /* secundária */
  --bg: #17232e;
  --text: #e8eef2;
  --muted: #b6c4ce;
  --surface: #253444;
  --header-height: 76px; /* altura aproximada do topo fixo */
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--primary);
  padding-top: var(--header-height); /* compensa o topo fixo */
}

/* Layout utilitários */
.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}
img { max-width: 100%; height: auto; display: block; }

/* Header */
.site-header {
  position: fixed; /* tornar o topo fixo */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff; /* topo branco */
  backdrop-filter: none;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.brand-logo { width: 150px; height: auto; display: block; }
.brand-name { color: #203140; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
 .brand-logo { width: 150px; height: auto; display: block; }
 .brand-name { display: none; }
/* Menu principal no header */
.site-nav { display: flex; justify-content: flex-end; }
/* Ocultar checkbox do menu hambúrguer em todas as telas */
.menu-toggle-checkbox { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.menu { list-style: none; display: inline-flex; gap: 18px; margin: 0; padding: 0; }
.menu a { text-transform: uppercase; color: #464646; text-decoration: none; font-weight: 600; padding: 8px 4px; border-bottom: 2px solid transparent; }
.menu a:hover { border-bottom-color: #DE000F; }
/* Menu mobile (hamburger) */
@media (max-width: 720px) {
  .menu-toggle { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; color: #203140; border: 1px solid rgba(0,0,0,0.12); border-radius: 8px; background: #ffffff; margin-left: 8px; }
  .menu-toggle svg { width: 22px; height: 22px; }
  /* Ocultar o checkbox do menu hambúrguer globalmente */
  .menu-toggle-checkbox { display: none; }
  .site-nav { display: none; position: fixed; top: var(--header-height); left: 0; right: 0; background: #ffffff; border-bottom: 1px solid rgba(0,0,0,0.08); z-index: 1000; }
  #menu-toggle:checked ~ .site-nav { display: block; }
  .menu { display: flex; flex-direction: column; gap: 0; padding: 12px 16px; }
  .menu li { border-bottom: 1px solid rgba(0,0,0,0.08); }
  .menu li:last-child { border-bottom: none; }
  .menu a { color: #203140; padding: 12px 8px; display: block; }
}
@media (min-width: 721px) {
  .menu-toggle { display: none; }
  /* Espaço entre o menu e os ícones no desktop */
  .header-cta { margin-left: 30px; }
}
/* Ícones sociais no header */
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .social-header { display: inline-flex; align-items: center; gap: 10px; margin-left: 8px; }
.header-cta .social-icon { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: #ffffff; }
.header-cta .social-icon svg { width: 20px; height: 20px; display: block; }
.header-cta .social-icon.ig { background: #6b747c; }
.header-cta .social-icon.li { background: var(--secondary); color: #ffffff; }
/* Hover padrão só para ícones sem marca específica */
.header-cta .social-icon:hover { filter: brightness(0.92); }
/* LinkedIn: aumentar um pouco o "in" */
.header-cta .li-text { font-weight: 700; font-size: 18px; line-height: 1; }
/* Hovers com cores oficiais */
.header-cta .social-icon.ig:hover { 
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
  color: #ffffff;
  filter: none;
}
.header-cta .social-icon.li:hover {
  background: #0A66C2; /* LinkedIn official blue */
  color: #ffffff;
  filter: none;
}
.header-cta .social-icon:hover { filter: brightness(0.92); }
.header-cta .li-text { font-weight: 700; font-size: 16px; line-height: 1; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  height: 450px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(32,49,64,0.60), rgba(32,49,64,0.80)), url('fundo-eua.jpg') center/cover no-repeat;
  background-position: center center;
}
.hero-content {
  position: relative;
  height: 100%;
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  margin: 0 0 16px;
}
.hero p {
  font-size: clamp(16px, 2.2vw, 18px);
  color: var(--muted);
  margin: 0 0 24px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }
@media (max-width: 720px) {
  .hero-actions { width: 100%; justify-content: center; align-items: center; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  /* Mais respiro entre o topo fixo e o banner */
  .hero-content { padding-top: 64px; }
}
/* Overrides específicos para botões do banner (hero) */
   .hero .btn-primary { background: #D29600; color: #ffffff; border: 2px solid #D29600; }
   .hero .btn-primary:hover { background: #D29600; color: #ffffff; border-color: #DE000F; }
   .hero .btn-outline:hover { background: transparent; color: var(--text); border-color: #DE000F; }

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  text-align: center; /* garante texto centralizado, inclusive em quebra de linha */
}
 .btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--secondary); color: #111; }
.btn-primary:hover { background: #a97f00; }
.btn-secondary { background: transparent; color: var(--secondary); border: 2px solid var(--secondary); }
.btn-secondary:hover { background: rgba(191,150,0,0.12); }
.btn-outline { border: 2px solid rgba(255,255,255,0.16); color: var(--text); background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,0.06); }

/* Botão KB: branco com letras douradas; hover com borda vermelha */
.btn-kb {
  background: #ffffff;
  color: var(--secondary);
  border: 2px solid #e2e8f0;
}
.btn-kb:hover {
  background: #ffffff;
  color: var(--secondary);
  border-color: #DE000F;
}
/* Ícones dentro de botões */
.btn .icon { display: inline-flex; align-items: center; justify-content: center; }
.btn .icon svg { width: 16px; height: 16px; display: block; }
.icon-wa { color: #000000; }
.icon-clock { color: #ffffff; }

/* Seções */
.section { padding: 48px 0; scroll-margin-top: calc(var(--header-height) + 10px); }
.section.alt { background: var(--surface); }
.section h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin: 0 0 12px;
}
.section p { color: var(--muted); }
.section-actions { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Listas e destaques */
.list {
  color: var(--muted);
  padding-left: 18px;
}
.list li { margin: 8px 0; }

.checks { list-style: none; padding: 0; margin: 14px 0 0; }
.checks li::before {
  content: '✔';
  color: var(--secondary);
  display: inline-block;
  margin-right: 10px;
}

.callout {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 10px;
  background: #555C68;
  border: 1px solid #4b525c;
}
.callout h3 { margin: 0 0 10px; }
#o-que-e .callout { border: none; }
#o-que-e .callout ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
#o-que-e .callout ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
}
#o-que-e .callout ul li::before {
  content: "✔";
  color: #DE000F;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}
.callout.subtle { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.14); }

blockquote {
  margin: 18px 0 0;
  padding: 12px 16px;
  border-left: 4px solid var(--secondary);
  background: rgba(255,255,255,0.04);
}

/* CTA final */
.cta-final { text-align: center; }
.cta-final p { max-width: 780px; margin: 0 auto; }
/* Estilo específico do quadro "Viva no exterior" */
.section.cta-final { background: var(--secondary); border: none; }
.section.cta-final h2, .section.cta-final p { color: #ffffff; }
.section.cta-final .section-actions { margin-top: 18px; display: flex; gap: 12px; justify-content: center; }
.section.cta-final .btn-primary { background: #464646; color: #ffffff; border: 2px solid #e2e8f0; }
 .section.cta-final .btn-outline { background: #ffffff; color: #464646; border: 2px solid #464646; }
 /* Hover: apenas a borda fica vermelha */
 .section.cta-final .btn-primary:hover { background: #464646; color: #ffffff; border-color: #DE000F; }
 .section.cta-final .btn-outline:hover { background: #ffffff; color: #464646; border-color: #DE000F; }

/* Footer (novo layout 3 colunas) */
.site-footer { border-top: 1px solid rgba(255,255,255,0.08); background: #545D69; }
.footer-grid {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 32px 48px;
  justify-content: center; /* centra as colunas, conteúdo continua alinhado à esquerda */
  padding: 24px 0; /* espaço no topo e base da faixa */
}
.footer-col {
  text-align: left;
}
/* Lista de redes sociais no rodapé */
.social-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-social-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.footer-social-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.footer-social-icon svg {
  width: 16px;
  height: 16px;
}
.footer-social-icon.ig { background: #3b434a; }
.footer-social-icon.ig:hover {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
  color: #ffffff;
}
.footer-social-item:hover .footer-social-icon.ig {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
  color: #ffffff;
}
.footer-social-icon.li { background: var(--secondary); }
.footer-social-icon.li:hover { background: #0A66C2; color: #ffffff; }
.footer-social-item:hover .footer-social-icon.li { background: #0A66C2; color: #ffffff; }
.li-text { font-weight: 700; font-size: 14px; line-height: 1; }
.footer-social-url { color: var(--muted); }

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-col .brand-logo { height: 42px; }
.footer-col h4 { margin: 0 0 10px; font-size: 16px; color: var(--text); }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin: 6px 0; }
.footer-list a { color: var(--muted); text-decoration: none; }
.footer-list a:hover { color: var(--text); }

.footer-bottom { background: #233141; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom .container { padding: 12px 0; text-align: center; }
.footer-bottom p { margin: 0; color: #c7ced4; font-size: 14px; }

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col { text-align: center; }
  .footer-social-item { justify-content: center; }
}

/* Responsividade */
@media (max-width: 720px) {
  .header-inner { padding: 10px 0; }
  .brand-name { display: none; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  /* Ajustes do botão do topo no mobile */
  .header-cta .btn { font-size: 14px; padding: 8px 12px; text-align: center; justify-content: center; }
  /* Cards em uma coluna no mobile (seção de riscos) */
  .section.white .cards { grid-template-columns: 1fr; }
}

/* Cards de riscos */
.section.white { background: #ffffff; color: #203140; }
.section.white h2 { color: #203140; }
.section.white p { color: #394a5a; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 14px; }
.card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px; box-shadow: 0 4px 10px rgba(0,0,0,0.06); transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease; }
.card .icon { font-size: 28px; line-height: 1; margin-bottom: 8px; }

.section.white .callout.subtle { background: #f5f7fa; border-color: #e2e8f0; text-align: center; }
.section.white .callout.subtle p { margin: 0; }
.cards-wide { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 14px; }
.card.dark { background: var(--surface); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 16px; color: var(--text); display: flex; align-items: flex-start; gap: 12px; transition: transform 0.12s ease; }
.card.dark:hover { transform: translateY(-2px); }
.card.dark .icon { font-size: 22px; line-height: 1; color: #DE000F; margin-top: 2px; }
.card.dark p { margin: 0; }
.card:hover { transform: translateY(-2px); border-color: #DE000F; box-shadow: 0 6px 16px rgba(0,0,0,0.08), 0 0 0 3px rgba(222,0,15,0.35); }

/* Utilitário de título centralizado */
.section h2.center { text-align: center; }

/* Quem precisa declarar - white section with two gray cards */
.section.declaracao h2 {
  text-align: center;
}

.cards-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 14px;
}

.card.gray {
  background: #ffffff; /* fundo branco */
  color: #203140;
  border: 2px solid #DE000F; /* borda vermelha */
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 160ms ease;
}

.card.gray:hover {
  transform: translateY(-1px); /* leve movimento no hover */
}

.section.declaracao .card.gray .num {
  content: '✔';
  color: var(--secondary);
  display: inline-block;
  margin-right: 10px;
}

.section.declaracao .card.gray p {
  color: #203140; /* texto escuro sobre fundo branco */
  margin: 0;
}

@media (max-width: 720px) {
  .cards-two {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .hero {
    height: 380px;
  }
}
/* Ações flutuantes no lado direito */
html { scroll-behavior: smooth; }
/* Posição do WhatsApp à esquerda */
.floating-actions-left {
  position: fixed;
  left: 20px;
  bottom: 24px;
  display: flex;
  z-index: 1000;
}
@media (max-width: 720px) {
  .floating-actions-left { left: 14px; bottom: 14px; }
}
.floating-actions {
  position: fixed;
  right: 20px;
  bottom: 24px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  z-index: 1000;
}
@media (max-width: 720px) {
  .floating-actions { flex-direction: column; right: 14px; bottom: 14px; }
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  padding: 0;
  border: none;
  background: #ffffff;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none; /* remover sombras */
  transition: transform 150ms ease, opacity 150ms ease;
}
.float-btn svg { width: 26px; height: 26px; display: block; }
.float-btn:hover { transform: none; box-shadow: none; }
.float-btn:focus-visible { outline: 3px solid rgba(255,255,255,0.65); outline-offset: 2px; }

/* Variants sem sombras */
.float-btn.whatsapp {
  background: #25D366;
  box-shadow: none;
}
/* Ocultar por padrão e mostrar ao rolar */
.float-btn.to-top {
  background: #464646; /* cinza escuro */
  color: #ffffff; /* letra branca */
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
}
.float-btn.to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 720px) {
  .float-btn { width: 48px; height: 48px; }
  .float-btn svg { width: 20px; height: 20px; }
}
/* Remover regras de hover com sombra duplicadas */
.float-btn:hover {
  transform: none;
  box-shadow: none;
}
.float-btn.whatsapp { border-color: #25D366; }
.float-btn.whatsapp .icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
}
@media (max-width: 720px) {
  .floating-actions {
    right: 14px;
    bottom: 14px;
  }
}
/* Estilo do botão do cabeçalho */
.header-cta .btn {
  background: #464646; /* cinza escuro */
  border: 2px solid #DE000F; /* borda vermelha */
  color: #ffffff; /* letra branca */
}
.header-cta .btn:hover { background: #333333; }
@media (max-width: 720px) {
  .hero h1 {
    display: inline-block;
    border: none;
    border-top: 25px solid #EFEFEF;
  }
}