/* ==========================================================================
   Barbadas pelo Mundo — estilos
   ========================================================================== */

:root {
  --preto: #131313;
  --preto-suave: #1c1c1c;
  --amarelo: #F4B400;
  --amarelo-escuro: #C98F00;
  --branco: #ffffff;
  --cinza-claro: #f7f6f3;
  --cinza-texto: #4a4a4a;
  --raio: 14px;
  --sombra: 0 10px 30px rgba(0,0,0,0.12);
  --fonte: 'Poppins', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--fonte);
  color: var(--preto);
  background: var(--branco);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--preto);
  border-bottom: 3px solid var(--amarelo);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  line-height: 1.1;
  color: var(--branco);
  font-weight: 800;
  letter-spacing: 0.5px;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}

.logo-texto { display: flex; flex-direction: column; }
.logo span.destaque { color: var(--amarelo); }
.logo .principal { font-size: 1.15rem; }
.logo .secundario { font-size: 0.65rem; font-weight: 500; color: #cfcfcf; text-transform: uppercase; letter-spacing: 1.5px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--branco);
  font-size: 1.8rem;
  cursor: pointer;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: inline-block;
  white-space: nowrap;
  color: var(--branco);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}

.main-nav a:hover,
.main-nav a.ativo {
  color: var(--amarelo);
  border-color: var(--amarelo);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, #000 0%, #1c1c1c 100%);
  color: var(--branco);
  padding: 90px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin: 0 0 18px;
  letter-spacing: 0.5px;
}

.hero h1 .linha { display: block; }
.hero h1 .amarelo { color: var(--amarelo); }

.hero p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: #dcdcdc;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: 2px solid var(--amarelo);
  transition: transform .15s ease, background .2s ease, color .2s ease;
}

.btn-primario {
  background: var(--amarelo);
  color: var(--preto);
}
.btn-primario:hover { background: var(--amarelo-escuro); transform: translateY(-2px); }

.btn-secundario {
  background: transparent;
  color: var(--amarelo);
}
.btn-secundario:hover { background: var(--amarelo); color: var(--preto); transform: translateY(-2px); }

.btn-desabilitado {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---------- Seção de cards (home) ---------- */
.cards-secao {
  padding: 70px 0;
  background: var(--cinza-claro);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.card {
  background: var(--branco);
  border-radius: var(--raio);
  padding: 34px 28px;
  box-shadow: var(--sombra);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 4px solid var(--amarelo);
}

.card .icone {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 1.15rem;
  margin: 0 0 10px;
  font-weight: 800;
}

.card p {
  color: var(--cinza-texto);
  font-size: 0.95rem;
  margin: 0 0 22px;
  flex-grow: 1;
}

.secao-titulo {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.secao-titulo h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  margin: 0 0 12px;
}

.secao-titulo p {
  color: var(--cinza-texto);
}

/* ---------- Página interna: header de página ---------- */
.page-hero {
  background: var(--preto);
  color: var(--branco);
  padding: 60px 0 50px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--amarelo);
}

.page-hero p {
  max-width: 620px;
  margin: 0 auto;
  color: #dadada;
}

.breadcrumb {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--amarelo); }

/* ---------- Listas de grupos ---------- */
.lista-secao { padding: 60px 0 80px; }

.grupo-card {
  background: var(--branco);
  border: 1px solid #ececec;
  border-radius: var(--raio);
  padding: 26px 28px;
  margin-bottom: 20px;
  box-shadow: var(--sombra);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.grupo-principal {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1 1 320px;
  min-width: 0;
}

.grupo-thumb {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--amarelo) 0%, #ffdb70 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  border: 2px solid var(--preto);
}

.grupo-info { min-width: 0; }

.grupo-info h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 800;
}

.grupo-info p {
  margin: 0;
  color: var(--cinza-texto);
  font-size: 0.93rem;
  max-width: 520px;
}

.grupo-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-plataforma {
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe57; }
.btn-telegram { background: #229ED9; color: #fff; }
.btn-telegram:hover { background: #1c86ba; }

/* Grid de destinos */
.destinos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.destino-card {
  background: var(--branco);
  border: 1px solid #ececec;
  border-radius: var(--raio);
  padding: 24px 18px 20px;
  box-shadow: var(--sombra);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.destino-principal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 0;
  width: 100%;
}

.destino-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--amarelo) 0%, #ffdb70 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  border: 2px solid var(--preto);
}

.destino-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.destino-card .btn-whatsapp {
  padding: 9px 16px;
  font-size: 0.78rem;
  width: 100%;
}

/* Links de afiliados */
.afiliados-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.afiliado-card {
  background: var(--branco);
  border: 1px solid #ececec;
  border-radius: var(--raio);
  padding: 28px;
  box-shadow: var(--sombra);
  display: flex;
  flex-direction: column;
}

.afiliado-thumb {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--amarelo) 0%, #ffdb70 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  border: 2px solid var(--preto);
  margin-bottom: 16px;
}

.afiliado-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 800;
}

.afiliado-card p {
  color: var(--cinza-texto);
  font-size: 0.93rem;
  margin: 0 0 20px;
  flex-grow: 1;
}

.aviso-pendente {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.78rem;
  color: #b45309;
  background: #fff7e6;
  border: 1px solid #ffe4a3;
  padding: 6px 12px;
  border-radius: 8px;
}

/* ---------- Quem somos ---------- */
.quem-somos-conteudo {
  max-width: 760px;
  margin: 0 auto;
  padding: 70px 24px 90px;
}

.quem-somos-conteudo h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 34px 0 14px;
}

.quem-somos-conteudo p {
  color: var(--cinza-texto);
  margin: 0 0 16px;
  font-size: 1.02rem;
}

blockquote.destaque {
  border-left: 4px solid var(--amarelo);
  padding: 6px 22px;
  margin: 28px 0;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--preto);
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--amarelo);
  padding: 60px 0;
  text-align: center;
}

.newsletter h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 0 10px;
}

.newsletter p { margin: 0 0 26px; color: #3a2c00; }

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
  padding: 14px 20px;
  border-radius: 999px;
  border: 2px solid var(--preto);
  min-width: 280px;
  font-size: 0.95rem;
}

.newsletter-form button {
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--preto);
  color: var(--amarelo);
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
}

.newsletter-form button:hover { background: #2a2a2a; }
.newsletter-form button:disabled { opacity: 0.7; cursor: not-allowed; }

/* Campo-armadilha (honeypot) contra robôs de spam: existe no HTML, mas
   fica escondido para pessoas — visível só para bots que preenchem tudo. */
.campo-armadilha {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.newsletter-msg {
  margin-top: 14px;
  font-weight: 700;
  color: #3a2c00;
}

.newsletter-msg-erro { color: #8a1c1c; }

/* Seletor ".newsletter p.newsletter-privacidade" (em vez de só ".newsletter-privacidade")
   de propósito: precisa ter especificidade maior que a regra ".newsletter p" acima,
   senão o "margin: 0 0 26px" dela vence e quebra a centralização deste parágrafo. */
.newsletter p.newsletter-privacidade {
  max-width: 480px;
  margin: 16px auto 0;
  font-size: 0.78rem;
  color: #5c4400;
  opacity: 0.85;
  text-align: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--preto);
  color: #cfcfcf;
  padding: 50px 0 26px;
}

.footer-topo {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #333;
}

.footer-marca {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
}

.footer-topo h3 {
  color: var(--branco);
  font-size: 1.2rem;
  margin: 0 0 6px;
}

.footer-topo p { margin: 0; color: #aaa; }

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #444;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--branco);
  font-size: 1.1rem;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.footer-social a svg {
  width: 19px;
  height: 19px;
}

.footer-social a:hover {
  background: var(--amarelo);
  color: var(--preto);
  border-color: var(--amarelo);
}

.footer-baixo {
  padding-top: 22px;
  text-align: center;
  font-size: 0.82rem;
  color: #777;
}

/* ---------- Responsivo ---------- */
@media (max-width: 860px) {
  .cards-grid { grid-template-columns: 1fr; }
  .afiliados-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }

  .logo-img { width: 38px; height: 38px; }
  .logo .principal { font-size: 1rem; }
  .logo .secundario { display: none; }

  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--preto);
    border-bottom: 3px solid var(--amarelo);
    display: none;
  }

  .main-nav.aberto { display: block; }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 10px 24px 20px;
  }

  .main-nav li { border-bottom: 1px solid #2a2a2a; }
  .main-nav a { display: block; padding: 14px 0; }

  .grupo-card { flex-direction: column; align-items: flex-start; }

  .footer-topo { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Página de captura /viajebarato — landing page para quem vem do link
   encurtado (bit.ly), sem menu/rodapé, focada só no cadastro de e-mail.
   ========================================================================== */

.pagina-viajebarato-body {
  background: var(--preto);
  min-height: 100vh;
}

.viajebarato {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 60px 24px;
}

.viajebarato-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.viajebarato-logo {
  width: 220px;
  height: 220px;
  margin: 0 auto 28px;
}

.viajebarato-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
}

.viajebarato-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--branco);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--preto);
  transition: background .2s ease, color .2s ease;
}

.viajebarato-social a svg { width: 19px; height: 19px; }

.viajebarato-social a:hover {
  background: var(--amarelo);
}

.viajebarato-conteudo h1 {
  color: var(--branco);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 800;
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.35;
}

.viajebarato-form {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.viajebarato-form label {
  position: absolute;
  left: -9999px;
}

.viajebarato-form input[type="email"] {
  padding: 16px 22px;
  border-radius: 999px;
  border: none;
  font-size: 1rem;
}

.viajebarato-form button {
  padding: 16px 28px;
  border-radius: 999px;
  background: var(--amarelo);
  color: var(--preto);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}

.viajebarato-form button:hover { background: var(--amarelo-escuro); transform: translateY(-2px); }
.viajebarato-form button:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.viajebarato-msg {
  color: var(--branco);
  font-weight: 700;
  min-height: 1.2em;
  margin: 0;
}

.viajebarato-msg-erro { color: #ff8a8a; }

@media (max-width: 560px) {
  .viajebarato-logo { width: 170px; height: 170px; }
}

/* ==========================================================================
   Organizador de Voo
   ========================================================================== */

.organizador-conteudo {
  padding: 50px 0 80px;
}

.organizador-conteudo .container {
  max-width: 760px;
}

.aviso-privacidade {
  background: #fff8e1;
  border: 1px solid var(--amarelo);
  border-radius: var(--raio);
  padding: 18px 22px;
  font-size: 0.92rem;
  color: #5c4400;
  margin-bottom: 32px;
}

.upload-area {
  border: 2px dashed #cfcfcf;
  border-radius: var(--raio);
  padding: 40px 24px;
  text-align: center;
  transition: border-color .2s ease, background .2s ease;
}

.upload-area.arrastando {
  border-color: var(--amarelo);
  background: #fffdf5;
}

.upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.upload-icone { font-size: 2.6rem; }

.upload-texto { color: var(--cinza-texto); max-width: 360px; }
.upload-texto strong { color: var(--preto); }

.upload-status {
  margin: 14px 0 0;
  font-weight: 700;
  min-height: 1.2em;
}

.upload-status.erro { color: #c0392b; }
.upload-status.ok { color: #1b7a3d; }

.organizador-resultado { margin-top: 44px; }

.organizador-resultado h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 8px;
}

.organizador-aviso {
  color: var(--cinza-texto);
  font-size: 0.9rem;
  margin: 0 0 26px;
}

.campo-localizador {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 26px;
}

.campo-localizador input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: var(--fonte);
  text-transform: uppercase;
}

.voo-card {
  background: var(--cinza-claro);
  border-radius: var(--raio);
  border-left: 4px solid var(--amarelo);
  padding: 22px 24px;
  margin-bottom: 20px;
}

.voo-card-topo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.voo-tipo {
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: var(--branco);
}

.btn-remover-voo {
  background: none;
  border: none;
  color: #999;
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}
.btn-remover-voo:hover { color: #c0392b; }

.voo-campos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.voo-campos label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #555;
}

.voo-campos input {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
  font-family: var(--fonte);
}

.voo-info-aeroportos {
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: var(--cinza-texto);
  line-height: 1.5;
}

.voo-info-aeroportos strong { color: var(--preto); }

#btn-add-voo { margin-bottom: 34px; }

.checklist-documentos {
  list-style: none;
  margin: 0 0 34px;
  padding: 0;
}

.checklist-documentos li {
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid #eee;
  position: relative;
  font-size: 0.92rem;
  color: var(--cinza-texto);
}

.checklist-documentos li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--amarelo-escuro);
  font-weight: 800;
}

.checklist-documentos li a { color: var(--amarelo-escuro); font-weight: 700; }

.btn-gerar-pdf { width: 100%; text-align: center; }

.organizador-status {
  text-align: center;
  font-weight: 700;
  margin-top: 14px;
  min-height: 1.2em;
}
.organizador-status.erro { color: #c0392b; }
.organizador-status.ok { color: #1b7a3d; }

@media (max-width: 560px) {
  .voo-campos { grid-template-columns: 1fr; }
}
