/* =====================================================
   CARLOS RIBEIRO — Guia de Turismo RJ (CADASTUR)
   Base: projeto gustavo_roberto (layout, componentes e estilo).
   Componentes atualizados da agência: logotipo Satisfy, grade de
   pacotes com centralização de órfãos, galeria 1:1, banda de CTA
   com imagem, bloco de localização com botão de copiar endereço.
   Paleta: Vermelho Vivo + Grafite + Branco (acentos Brasil sutis)
   ===================================================== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Marca */
  --red: #E8202A;           /* Vermelho vivo (CTAs) */
  --red-600: #C8151F;       /* Vermelho escuro (hover) */
  --red-700: #A5101A;
  --red-tint: #FDEAEA;      /* Vermelho clarinho (fundos suaves) */

  --graphite: #16191F;      /* Grafite (seções escuras) */
  --graphite-800: #1E222A;
  --graphite-900: #0E1014;  /* Mais profundo (rodapé/hero) */

  /* Acentos Brasil (uso sutil) */
  --br-green: #00A651;
  --br-yellow: #FEDD00;

  --ink: #1A1E25;           /* Texto principal */
  --white: #FFFFFF;
  --cream: #F8F9FB;         /* Off-white frio */
  --gray-50: #F4F6F8;
  --gray-100: #EBEEF2;
  --gray-200: #DFE3E9;
  --gray-300: #C6CDD6;
  --gray-400: #949CA8;
  --gray-500: #667080;
  --gray-600: #454D59;

  --font-body: 'Inter', sans-serif;
  --font-display: 'Montserrat', 'Poppins', sans-serif;
  --font-script: 'Satisfy', cursive;

  --shadow-sm: 0 1px 2px rgba(16, 19, 24, 0.06);
  --shadow-md: 0 6px 16px -4px rgba(16, 19, 24, 0.16);
  --shadow-lg: 0 16px 32px -8px rgba(16, 19, 24, 0.20);
  --shadow-xl: 0 28px 50px -12px rgba(16, 19, 24, 0.32);
  --shadow-red: 0 8px 22px rgba(232, 32, 42, 0.32);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --header-h: 76px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===========================
   UTILITÁRIOS
   =========================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 92px 0; }
.section--alt { background-color: var(--cream); }
.section--dark {
  background:
    radial-gradient(90% 90% at 100% 0%, rgba(232, 32, 42, 0.14) 0%, transparent 55%),
    var(--graphite);
  color: var(--white);
}

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.section__title {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--graphite);
  margin-bottom: 14px;
}
.section--dark .section__title { color: var(--white); }

.section__subtitle {
  font-size: 17px;
  color: var(--gray-500);
  max-width: 620px;
  margin: 0 auto;
}
.section--dark .section__subtitle { color: rgba(255, 255, 255, 0.72); }

/* Filete vermelho decorativo */
.red-divider {
  width: 60px;
  height: 4px;
  border-radius: 4px;
  background: var(--red);
  margin: 0 auto 20px;
}

/* ===========================
   BOTÕES
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.22s ease;
}

/* CTA principal — vermelho vivo */
.btn--red {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn--red:hover {
  background: var(--red-600);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(232, 32, 42, 0.42);
}

/* WhatsApp real (degradê verde) */
.btn--whatsapp {
  background: linear-gradient(135deg, #2AE372 0%, #22C15E 45%, #12965A 100%);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.32);
}
.btn--whatsapp:hover {
  background: linear-gradient(135deg, #22C15E 0%, #12965A 55%, #0E7A49 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.42);
}

/* Instagram gradiente */
.btn--instagram {
  background: linear-gradient(135deg, #F58529 0%, #DD2A7B 45%, #8134AF 100%);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(221, 42, 123, 0.30);
}
.btn--instagram:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(221, 42, 123, 0.40); }

.btn--dark {
  background-color: var(--graphite);
  color: var(--white);
}
.btn--dark:hover { background-color: var(--graphite-800); transform: translateY(-2px); }

.btn--outline-light {
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.4);
  color: var(--white);
}
.btn--outline-light:hover { background-color: var(--white); color: var(--graphite); box-shadow: inset 0 0 0 2px var(--white); }

.btn--outline-dark {
  background-color: transparent;
  box-shadow: inset 0 0 0 2px var(--gray-300);
  color: var(--graphite);
}
.btn--outline-dark:hover { box-shadow: inset 0 0 0 2px var(--red); color: var(--red); transform: translateY(-2px); }

.btn--lg { font-size: 16px; padding: 17px 34px; }

/* ===========================
   HEADER
   =========================== */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.3s ease;
}
.header--scrolled { box-shadow: var(--shadow-md); }

/* space-between: no desktop a marca fica à esquerda e o menu + idiomas à direita.
   Quando o menu vira dropdown (position: fixed, fora do fluxo), sobram três itens
   e o seletor de idiomas é encostado à direita junto do hambúrguer pelo
   margin-left: auto do .header__right (ver bloco de 1024px). */
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
}

.header__brand { display: flex; align-items: center; gap: 12px; }
.header__logo-img { height: 50px; width: auto; display: block; }
.header__logo-text { display: flex; flex-direction: column; line-height: 1.1; }

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

/* ===========================
   SELETOR DE IDIOMAS PT / EN
   =========================== */
/* Mesma forma do favela-top-tour: pill arredondado, botões sem borda e o ativo
   preenchido em bloco. Lá o pill é branco translúcido porque o header é azul
   escuro; aqui o header é branco, então o mesmo desenho é feito com os tons
   claros da paleta e o ativo em vermelho da marca. */
.lang-switch {
  display: flex;
  flex: none;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: 3px;
}
.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--gray-500);
  background: transparent;
  border: none;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
/* Bandeiras em SVG inline: o emoji de bandeira não renderiza no Windows
   (aparece como as letras do país) e varia entre iPhone e Android. */
.lang-switch__flag { width: 18px; height: 13px; border-radius: 2px; display: block; flex: none; }
.lang-switch__btn:hover { color: var(--graphite); }
.lang-switch__btn.is-active { background: var(--red); color: var(--white); }

/* Logotipo Premium — Satisfy com degradê cinza → preto */
.header__logo {
  font-family: var(--font-script);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.15;
  background: linear-gradient(to right, #4a4a4a, #000000);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  /* O "C" da Satisfy tem um floreio que ultrapassa a caixa do glifo.
     A folga à esquerda evita o corte; a margem negativa mantém o alinhamento. */
  padding-left: 6px;
  margin-left: -6px;
}
.header__logo-sub {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
  white-space: nowrap;
  margin-top: 2px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.header__menu { display: flex; gap: 24px; }
.header__menu a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  transition: color 0.2s;
  position: relative;
}
.header__menu a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--red);
  transition: width 0.25s ease;
}
.header__menu a:hover { color: var(--graphite); }
.header__menu a:hover::after { width: 100%; }

.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 4px;
}
.header__toggle span {
  display: block; width: 26px; height: 2px;
  background-color: var(--graphite);
  border-radius: 2px; transition: all 0.3s;
}
.header__toggle--active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__toggle--active span:nth-child(2) { opacity: 0; }
.header__toggle--active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================
   HERO
   Fundo grafite profundo: o H1 e o subtítulo ficam sempre sobre
   base escura, garantindo o contraste exigido no briefing.
   =========================== */
.hero {
  position: relative;
  padding: 132px 0 96px;
  background:
    radial-gradient(80% 80% at 82% 12%, rgba(232, 32, 42, 0.22) 0%, transparent 55%),
    linear-gradient(160deg, var(--graphite-900) 0%, var(--graphite) 60%, var(--graphite-800) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background-color: rgba(232, 32, 42, 0.16);
  border: 1px solid rgba(232, 32, 42, 0.45);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 22px;
}
.hero__tag i { color: var(--red); font-size: 16px; }

.hero__title {
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 22px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.hero__title em { font-style: normal; color: var(--red); }

.hero__subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
  margin-bottom: 32px;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.hero__media { position: relative; display: flex; justify-content: center; }
.hero__photo {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 5px solid rgba(255, 255, 255, 0.10);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

/* Selo de autoridade flutuante */
.hero__badge {
  position: absolute;
  bottom: 22px; left: -16px;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 13px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lg);
  max-width: 260px;
}
.hero__badge-icon {
  width: 42px; height: 42px; min-width: 42px;
  border-radius: 50%;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 21px;
}
.hero__badge-num {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 800; color: var(--graphite); line-height: 1.2;
}
.hero__badge-label { font-size: 12px; color: var(--gray-500); font-weight: 500; }

/* ===========================
   FAIXA DE NÚMEROS / AUTORIDADE
   =========================== */
.stats {
  background-color: var(--red);
  color: var(--white);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px 0;
}
.stat { text-align: center; position: relative; }
.stat:not(:last-child)::after {
  content: '';
  position: absolute; right: -10px; top: 50%; transform: translateY(-50%);
  height: 46px; width: 1px;
  background-color: rgba(255, 255, 255, 0.25);
}
.stat__num {
  font-family: var(--font-display);
  font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -0.02em;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.stat__num i { font-size: 26px; }
.stat__label { font-size: 13px; margin-top: 6px; color: rgba(255, 255, 255, 0.88); font-weight: 500; }

/* ===========================
   QUEM É SEU GUIA
   =========================== */
.guide__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.guide__media { position: relative; }
.guide__photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4 / 5;
}
.guide__photo img { width: 100%; height: 100%; object-fit: cover; }
/* Selo de credencial sobre a foto */
.guide__credential {
  position: absolute;
  bottom: 18px; right: -16px;
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--br-green);
  max-width: 260px;
}
.guide__credential-icon {
  width: 40px; height: 40px; min-width: 40px;
  border-radius: 10px;
  background-color: rgba(0, 166, 81, 0.12);
  color: var(--br-green);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.guide__credential strong {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700; color: var(--graphite); display: block;
}
.guide__credential span { font-size: 12px; color: var(--gray-500); }

.guide__title {
  font-family: var(--font-display);
  font-size: 38px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em;
  color: var(--graphite);
  margin-bottom: 20px;
}
.guide__text { font-size: 16px; line-height: 1.8; color: var(--gray-600); margin-bottom: 28px; }
.guide__text strong { color: var(--red); }

.guide__cards { display: flex; flex-direction: column; gap: 14px; }
.pillar {
  display: flex; align-items: center; gap: 16px;
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.pillar:hover { border-color: var(--red); box-shadow: 0 0 0 3px rgba(232, 32, 42, 0.10); transform: translateX(4px); }
.pillar__icon {
  width: 48px; height: 48px; min-width: 48px;
  border-radius: 12px;
  background-color: var(--red-tint);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.pillar strong { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--graphite); display: block; }
.pillar span { font-size: 13px; color: var(--gray-500); }

/* ===========================
   PACOTES E ROTEIROS
   Grade de 6 colunas: cada card ocupa 2 colunas (3 por linha).
   Isso permite centralizar os cards órfãos da última linha,
   evitando buracos quando o total é ímpar (ex.: 5 pacotes).
   =========================== */
.routes__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.route-card { grid-column: span 2; }

/* Última linha com 2 órfãos (ex.: 5 cards) → desloca 1 coluna e centraliza o par */
.routes__grid > .route-card:nth-child(3n + 1):nth-last-child(2) { grid-column: 2 / span 2; }
/* Última linha com 1 órfão (ex.: 7 cards) → centraliza o card sozinho */
.routes__grid > .route-card:nth-child(3n + 1):last-child { grid-column: 3 / span 2; }

.route-card {
  position: relative;
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.32s, box-shadow 0.32s, border-color 0.32s;
}
.route-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

/* Container 1:1 — imagem preenche por completo (cover), centralizada, sem bordas */
.route-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--gray-100);
}
.route-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.55s ease;
}
.route-card:hover .route-card__media img { transform: scale(1.06); }
.route-card__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14, 16, 20, 0.30) 0%, transparent 42%);
  z-index: 1;
}
/* Selo com o ícone do roteiro sobre a imagem */
.route-card__icon {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-600) 100%);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  box-shadow: var(--shadow-red);
}
.route-card__body { padding: 22px 24px 26px; }
.route-card__title {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700; color: var(--graphite); line-height: 1.2;
  margin-bottom: 10px;
}
.route-card__text { font-size: 14px; line-height: 1.65; color: var(--gray-500); margin-bottom: 18px; }
.route-card__link {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700; color: var(--red);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap 0.2s;
}
.route-card__link:hover { gap: 10px; }

/* ===========================
   GALERIA DE DESTINOS
   Cards quadrados (1:1) para uniformidade da grade
   =========================== */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
}
.gallery-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s ease;
}
.gallery-tile:hover img { transform: scale(1.08); }
/* Overlay escuro reforçado — contraste e legibilidade do título */
.gallery-tile::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14, 16, 20, 0.88) 0%, rgba(14, 16, 20, 0.35) 45%, transparent 72%);
  z-index: 1;
}
.gallery-tile__caption {
  position: absolute; left: 20px; right: 20px; bottom: 18px;
  z-index: 2;
}
.gallery-tile__caption span {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
}
.gallery-tile__caption strong {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700; color: var(--white); display: block; line-height: 1.2;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

/* ===========================
   DEPOIMENTOS (estilo chat)
   =========================== */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.chat-card {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px 24px 22px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: box-shadow 0.3s, transform 0.3s;
}
.chat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.chat-card__head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}
.chat-card__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-600));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
}
.chat-card__meta { flex: 1; }
.chat-card__name { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--graphite); display: flex; align-items: center; gap: 5px; }
.chat-card__name i { color: #34B7F1; font-size: 15px; }
.chat-card__stars { color: #FFB400; font-size: 13px; letter-spacing: 1px; }
.chat-card__bubble {
  position: relative;
  background-color: var(--red-tint);
  border-radius: 4px 16px 16px 16px;
  padding: 16px 18px;
  font-size: 14px; line-height: 1.65; color: var(--gray-600);
  flex-grow: 1;
}
.chat-card__foot { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 11px; color: var(--gray-400); }
.chat-card__foot i { color: #34B7F1; }

/* ===========================
   CTA — BANDA COM IMAGEM
   Overlay escuro garante contraste do título e do texto
   =========================== */
.cta-band {
  position: relative;
  padding: 96px 0;
  color: var(--white);
  background-image:
    linear-gradient(100deg, rgba(10, 12, 16, 0.90) 0%, rgba(14, 16, 20, 0.74) 52%, rgba(165, 16, 26, 0.70) 100%),
    url('Imagens genéricas/CTA - Viagem.png'),
    linear-gradient(135deg, var(--graphite-900) 0%, var(--red-700) 100%);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
}
.cta-band__inner { max-width: 720px; text-align: center; margin: 0 auto; }
.cta-band__title {
  font-family: var(--font-display);
  font-size: 40px; font-weight: 800; line-height: 1.14; letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}
.cta-band__text { font-size: 17px; color: rgba(255, 255, 255, 0.88); margin-bottom: 30px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ===========================
   LOCALIZAÇÃO
   =========================== */
.location__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: stretch;
}
.location__info { display: flex; flex-direction: column; gap: 16px; }
.location__card {
  position: relative;
  display: flex; align-items: flex-start; gap: 16px;
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  flex: 1;
}
.location__card--address { padding-right: 68px; }
.location__card-icon {
  flex: none;
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: var(--radius-md);
  background-color: var(--red-tint);
  color: var(--red);
  font-size: 24px;
}
.location__card-content strong { display: block; font-family: var(--font-display); font-size: 16px; color: var(--graphite); margin-bottom: 4px; }
.location__card-content p { font-size: 15px; color: var(--gray-500); line-height: 1.55; }
.location__card-content a { color: var(--red); font-weight: 600; }
.location__card-content a:hover { text-decoration: underline; }

.location__copy {
  position: absolute; top: 16px; right: 16px;
  width: 38px; height: 38px;
  border: 1px solid var(--gray-200);
  background-color: var(--cream);
  border-radius: var(--radius-md);
  color: var(--gray-500);
  cursor: pointer;
  display: grid; place-items: center;
  font-size: 18px;
  transition: all 0.2s ease;
}
.location__copy:hover { background-color: var(--red); color: var(--white); border-color: var(--red); }
.location__copy--copied { background-color: #16A34A; color: var(--white); border-color: #16A34A; }

.location__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 400px;
  border: 4px solid var(--white);
}
.location__map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; }

/* ===========================
   INSTAGRAM (reels de vídeo + CTA; grade de imagens oculta)
   =========================== */
.insta__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.insta__content .section__eyebrow { color: #E68AB4; }
.insta__title {
  font-family: var(--font-display);
  font-size: 38px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 18px;
}
.insta__text { font-size: 17px; color: rgba(255, 255, 255, 0.78); margin-bottom: 28px; }
.insta__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Grade de imagens do Instagram permanece oculta */
.insta__mosaic { display: none; }

/* Reels: 1 vídeo em destaque no centro + 2 laterais, rotativos */
.reels { position: relative; height: 520px; }
.reel {
  position: absolute;
  top: 50%; left: 50%;
  width: 270px;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transform: translate(-50%, -50%) scale(0.66);
  opacity: 0;
  z-index: 1;
  transition: transform 0.55s ease, opacity 0.55s ease;
}
.reel.is-prev { transform: translate(calc(-50% - 156px), -50%) scale(0.68); opacity: 0.55; z-index: 2; }
.reel.is-next { transform: translate(calc(-50% + 156px), -50%) scale(0.68); opacity: 0.55; z-index: 2; }
.reel.is-active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: 3;
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-xl);
}
.reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel__play {
  position: absolute; inset: 0; margin: auto;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border: none; border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--red);
  font-size: 22px; cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.reel:not(.is-active) .reel__play { width: 40px; height: 40px; font-size: 15px; }
.reel__play.is-hidden { opacity: 0; pointer-events: none; }
.reel.is-active:hover .reel__play { transform: scale(1.1); }

/* ===========================
   RODAPÉ
   =========================== */
.footer {
  background-color: var(--graphite-900);
  color: rgba(255, 255, 255, 0.72);
  padding: 60px 0 0;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.footer__brand { max-width: 380px; }
.footer__brand-logo { display: flex; align-items: center; gap: 12px; }
.footer__logo-img { height: 54px; width: auto; display: block; }

/* Logotipo Premium no rodapé — mesma regra do header */
.footer__logo {
  font-family: var(--font-script);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.2;
  background: linear-gradient(to right, #4a4a4a, #000000);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  /* Mesma folga do header para o floreio do "C" */
  padding-left: 6px;
  margin-left: -6px;
}
/* Sobre o fundo grafite o degradê cinza→preto ficaria ilegível:
   dentro do rodapé escuro ele é invertido para branco → mármore. */
.footer .footer__logo {
  background: linear-gradient(to right, #FFFFFF, #B9C3CE);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer__logo-sub {
  display: block;
  font-family: var(--font-display);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--red);
  margin: 10px 0 16px;
}
.footer__tagline { font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, 0.62); }

.footer__cols { display: flex; gap: 46px; }
.footer__col-label {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700; color: var(--red);
  letter-spacing: 0.12em; text-transform: uppercase;
  display: block; margin-bottom: 14px;
}
.footer__col a, .footer__col p { font-size: 14px; line-height: 1.9; color: rgba(255, 255, 255, 0.66); display: block; }
.footer__col a:hover { color: var(--white); }

.footer__legal {
  padding: 20px 0 26px;
  font-size: 12px; line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.footer__bottom p { font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: rgba(255, 255, 255, 0.8);
  transition: all 0.25s;
}
.footer__social a:hover { background-color: var(--red); border-color: var(--red); color: var(--white); }

/* ===========================
   WHATSAPP FLUTUANTE
   =========================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 999;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px 14px 16px;
  background-color: #25D366;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  transition: all 0.3s;
}
.whatsapp-float i { font-size: 26px; }
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55); }
.whatsapp-float__label { white-space: nowrap; }

/* ===========================
   RESPONSIVO — HEADER (1200px)
   Sem o botão de WhatsApp, a barra pede ~1014px (marca com a linha de apoio
   ~262px + 5 itens de menu ~522px + seletor ~142px + gaps 40px) contra os
   1152px úteis do container. Entre 1024px e 1200px a folga fica pequena
   demais, então a linha de apoio da marca sai e o menu aperta os vãos.
   =========================== */
@media (max-width: 1200px) {
  .header__logo-sub { display: none; }
  .header__menu { gap: 18px; }
}

/* ===========================
   RESPONSIVO — MENU EM DROPDOWN (1024px)
   Abaixo disso o menu horizontal não cabe mais nem apertado.
   =========================== */
@media (max-width: 1024px) {
  .header__toggle { display: flex; }
  .header__logo-img { height: 44px; }
  .header__logo { font-size: 27px; }
  /* Com o menu fora do fluxo, o auto empurra o seletor para a direita:
     ele passa a ficar colado à esquerda do hambúrguer, em vez de centralizado. */
  .header__right { margin-left: auto; }
  .header__nav {
    position: fixed; top: var(--header-h); left: 0; width: 100%;
    flex-direction: column; align-items: stretch; gap: 8px;
    margin-left: 0;
    padding: 22px 24px 28px;
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: all 0.3s ease;
  }
  .header__nav--open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .header__menu { flex-direction: column; gap: 4px; text-align: center; }
  .header__menu a { display: block; padding: 12px; font-size: 16px; border-bottom: 1px solid var(--gray-100); }
  .header__menu a::after { display: none; }
}

/* ===========================
   RESPONSIVO — TABLET (900px)
   =========================== */
@media (max-width: 900px) {
  .header__inner { gap: 12px; }
  .header__logo-img { height: 42px; }
  .header__logo { font-size: 26px; }

  .hero__inner { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .hero__media { order: -1; }
  .hero__tag { margin-left: auto; margin-right: auto; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .stat:nth-child(2)::after { display: none; }

  .guide__inner { grid-template-columns: 1fr; gap: 48px; }
  .guide__media { max-width: 460px; margin: 0 auto; }
  .guide__credential { right: 10px; }

  /* Tablet: 2 cards por linha (grade de 4 colunas, 2 por card) */
  .routes__grid { grid-template-columns: repeat(4, 1fr); }
  .routes__grid > .route-card,
  .routes__grid > .route-card:nth-child(3n + 1):nth-last-child(2),
  .routes__grid > .route-card:nth-child(3n + 1):last-child { grid-column: auto / span 2; }
  /* Card órfão da última linha (total ímpar) fica centralizado */
  .routes__grid > .route-card:nth-child(2n + 1):last-child { grid-column: 2 / span 2; }

  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  .insta__inner { grid-template-columns: 1fr; gap: 40px; }
  .insta__content { text-align: center; }
  .insta__content .section__eyebrow { justify-content: center; }
  .insta__actions { justify-content: center; }

  .cta-band { padding: 76px 0; }
  .location__inner { grid-template-columns: 1fr; gap: 24px; }
  .location__map { min-height: 320px; }
  .location__map iframe { min-height: 320px; }

  .footer__top { flex-direction: column; align-items: center; text-align: center; }
  .footer__brand-logo { justify-content: center; }
  .footer__brand { max-width: 100%; }
  .footer__cols { flex-direction: column; gap: 26px; text-align: center; }
  .footer__bottom { flex-direction: column; gap: 14px; text-align: center; }
}

/* ===========================
   RESPONSIVO — MOBILE (560px)
   =========================== */
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .section__title { font-size: 30px; }
  .hero { padding: 116px 0 68px; }
  .hero__title { font-size: 34px; }
  .guide__title, .insta__title, .cta-band__title { font-size: 28px; }
  /* Barra no celular: marca à esquerda, idiomas e hambúrguer juntos à direita. */
  .container { padding: 0 18px; }
  .header__inner { gap: 10px; }
  .header__logo { font-size: 20px; }
  .header__logo-img { height: 36px; }
  /* mesmos valores do favela-top-tour em 560px */
  .lang-switch__btn { padding: 6px 8px; font-size: 12px; }
  .lang-switch__flag { width: 16px; height: 11px; }

  .hero__badge { left: auto; right: 10px; bottom: -22px; }
  .hero__photo { margin-bottom: 30px; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat__num { font-size: 28px; }

  .routes__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .routes__grid > .route-card,
  .routes__grid > .route-card:nth-child(3n + 1):nth-last-child(2),
  .routes__grid > .route-card:nth-child(3n + 1):last-child,
  .routes__grid > .route-card:nth-child(2n + 1):last-child { grid-column: auto / span 1; }

  .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery-tile__caption { left: 12px; right: 12px; bottom: 12px; }
  .gallery-tile__caption strong { font-size: 14px; }

  .location__card--address { padding-right: 60px; }

  .reels { height: 430px; }
  .reel { width: 200px; }
  .reel.is-prev { transform: translate(calc(-50% - 96px), -50%) scale(0.6); }
  .reel.is-next { transform: translate(calc(-50% + 96px), -50%) scale(0.6); }

  .btn--lg { width: 100%; }
  .hero__actions .btn { width: 100%; }
  .guide__credential { position: static; max-width: 100%; margin-top: 16px; }

  .whatsapp-float__label { display: none; }
  .whatsapp-float { padding: 0; width: 56px; height: 56px; justify-content: center; }
  .whatsapp-float i { font-size: 30px; }
}

/* ===========================
   RESPONSIVO — CELULAR ESTREITO (400px)
   Último aperto da topbar: em telas de 360px os três blocos ainda precisam
   caber lado a lado sem quebrar linha.
   =========================== */
@media (max-width: 400px) {
  .header__inner { gap: 8px; }
  .header__logo { font-size: 18px; }
  .header__logo-img { height: 32px; }
  .header__brand { gap: 8px; }
  .lang-switch { padding: 2px; }
  .lang-switch__btn { font-size: 10px; padding: 5px 6px; gap: 4px; }
  .lang-switch__flag { width: 14px; height: 10px; }
}
