/* ==========================================================================
   EMA — EN Tutorial Guide (aberto)
   Réplica da página WordPress/Elementor, reescrita em HTML + CSS puro.
   Tokens extraídos do CSS compilado do Elementor (post-2368.css).
   ========================================================================== */

/* ---------- Fontes (self-hosted, iguais às do WordPress) ---------- */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Montserrat-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/Montserrat-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Montserrat-Bold.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --font: 'Montserrat', sans-serif;

  --azul-claro: #34C3FF;
  --azul-medio: #1581D3;
  --azul-escuro: #0E3469;
  --azul-faixa: #0C53AD;
  --cinza-claro: #E2E2E2;
  --cinza-card: #D1D1D1;
  --cinza-quase-branco: #F1F1F1;
  --preto: #151515;
  --verde: #0DA538;
  --verde-preco: #12fc39;
  --accordion-bg: #242424;
  --accordion-titulo: #8CBCF3;
  --accordion-ativo: #5FEB8A;

  --largura-conteudo: 1140px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html, body { overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  -webkit-font-smoothing: antialiased;
  background: #000;
}

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

h1, h2, h3, p, ul { margin: 0; }

ul { padding: 0; list-style: none; }

a { text-decoration: none; }

/* ---------- Delay da VSL ----------
   Tudo que tem .delay fica escondido até o momento do pitch no vídeo.
   Quem revela é o script no fim do index.html, tirando a classe.
   Hero e rodapé NUNCA recebem .delay: o vídeo precisa aparecer, e os
   links de política/termos precisam estar sempre acessíveis. */
.delay { display: none !important; }

/* ---------- Estruturas de seção ---------- */
.secao {
  position: relative;
  padding: 100px 10px;
}

.container {
  width: 100%;
  max-width: var(--largura-conteudo);
  margin: 0 auto;
}

.container--estreito { max-width: 1000px; }

/* ---------- Texto em gradiente (.efeito no original) ---------- */
.efeito {
  background-image: linear-gradient(to right, #00F1FD, #00AEFF);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Títulos ---------- */
/* Métricas iguais às do original: títulos com line-height 1,
   corpo de texto com line-height 1.5 e parágrafos com margin-bottom 0.9em. */
.titulo {
  font-family: var(--font);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}

.titulo--claro { color: #FFFFFF; }
.titulo--escuro { color: var(--preto); }

.texto {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.5;
}

.texto p { margin: 0 0 0.9em; }
.texto p:last-child { margin-bottom: 0; }
.texto strong { font-weight: 700; }

/* ---------- Botão CTA ---------- */
.botao {
  display: inline-block;
  background: linear-gradient(270deg, #1fa119, #1ae710, #3eea7b);
  background-size: 200% 200%;
  animation: gradienteBotao 2s ease infinite, brilhoBotao 2s ease infinite;
  padding: 25px;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  text-align: center;
  line-height: 1.2;
  transition: transform 0.3s ease;
}

.botao:hover { transform: translateY(-8px); }

@keyframes gradienteBotao {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes brilhoBotao {
  50% { box-shadow: 0px 8px 30px #1ae710; }
}

.botao-wrap { display: flex; justify-content: center; margin-top: 20px; }
.botao-wrap .botao { width: 50%; }

/* ==========================================================================
   1. HERO — player VSL
   ========================================================================== */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 750px;
  padding: 60px 10px;
  background-color: #000;
  background-image: url('img/IMG-EMA-NOVO-09-02.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

/* 45% de 1000px = 450px, e o player ocupa 70% disso = 315px (igual ao original) */
.hero__player {
  width: 45%;
  display: flex;
  justify-content: center;
}

.hero__player-widget { width: 70%; }

/* ==========================================================================
   2. INTRO — texto de abertura
   ========================================================================== */
.intro {
  background-color: #FFFFFF;
  background-image: url('img/IMG-EMA-NOVO-08.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.intro .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.intro__texto {
  width: 50%;
  font-size: 1rem;
  font-weight: 400;
  color: #000000;
}

.intro .botao-wrap {
  width: 50%;
  justify-content: flex-start;
}

.intro .botao-wrap .botao { width: 100%; }

/* ==========================================================================
   3. ASSENTOS — seção preta com divisor de nuvens
   ========================================================================== */
.assentos {
  padding-top: 500px;
  padding-bottom: 100px;
  background-color: #000;
  background-image: url('img/IMG-EMA-NOVO-01.webp');
  background-position: top center;
  background-repeat: no-repeat;
  background-size: contain;
}

/* Divisor "clouds" (negativo) no topo da seção */
.divisor-nuvens {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  direction: ltr;
  transform: rotate(180deg);
}

.divisor-nuvens svg {
  display: block;
  width: calc(100% + 1.3px);
  height: auto;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.divisor-nuvens .elementor-shape-fill { fill: #FFFFFF; }

.assentos__titulo { margin-bottom: 20px; }

.assentos__texto { color: #FFFFFF; }

/* ==========================================================================
   4. ECONOMIA — cards de comparação de preço
   ========================================================================== */
.economia {
  background-color: var(--cinza-claro);
  padding-left: 0;
  padding-right: 0;
}

.economia__titulo { margin-bottom: 20px; }

.comparativo {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 10px;
}

.comparativo__linha {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.cartao {
  width: 50%;
  border-radius: 15px;
  padding: 20px 10px;
  text-align: center;
}

.cartao--antes { background-color: var(--cinza-card); }
.cartao--depois { background-color: #FFFFFF; }

.cartao img {
  width: 30%;
  margin: 0 auto;
}

.cartao__rota,
.cartao__preco {
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--preto);
  line-height: 1.4;
}

/* Ícone verde com X entre os dois cartões */
.icone-x {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  margin: 0 -10px;
  border-radius: 50%;
  background-color: var(--verde);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.icone-x svg { width: 34px; height: 34px; fill: #fff; }

/* ==========================================================================
   5. VIAGENS — fotos das viagens do Iuri
   ========================================================================== */
.viagens {
  background-color: #000;
  background-image: url('img/IMG-EMA-NOVO-10.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

@media (min-width: 1367px) {
  .viagens { background-attachment: fixed; }
}

.viagens__titulo { margin-bottom: 20px; }

.viagens__grid {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-bottom: 20px;
}

.viagem {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 10px 10px;
  border-radius: 15px;
  background-image: linear-gradient(180deg, #FFFFFF 0%, #D6D6D6 100%);
}

.viagem__foto { border-radius: 15px; }

.viagem__icone {
  width: 64px;
  max-width: 64px;
  margin-top: -30px;
}

.viagem__legenda {
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--preto);
  text-align: center;
}

.viagens__texto { color: #FFFFFF; font-size: 1rem; }

/* ==========================================================================
   6. DEPOIMENTOS — carrossel infinito
   ========================================================================== */
.depoimentos { background: #000; }

.depoimentos__grid {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.depoimentos__col-texto { width: 50%; min-width: 0; padding-right: 20px; }
.depoimentos__col-carrossel { width: 50%; min-width: 0; }

.depoimentos__titulo { text-align: start; margin-bottom: 20px; }
.depoimentos__texto { color: #FFFFFF; }

.carrossel { overflow: hidden; width: 100%; }

.carrossel__trilho {
  display: flex;
  /* Slides no topo. Os depoimentos têm proporções diferentes (600x900 e
     1350x900), então a altura da faixa é a do mais alto — mesmo comportamento
     do Swiper original, que fixa o wrapper na altura do maior slide. */
  align-items: flex-start;
  /* 8 slides (4 + 4 duplicados) a 10s cada = mesma cadência do carrossel
     original do Elementor (speed 10000, linear, autoplay contínuo). */
  animation: carrossel 40s linear infinite;
}

.carrossel:hover .carrossel__trilho { animation-play-state: paused; }

.carrossel__trilho img {
  flex: 0 0 100%;
  width: 100%;
  border-radius: 10px;
}

@keyframes carrossel {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   7. BÔNUS — o que você recebe
   ========================================================================== */
.bonus {
  background-image: linear-gradient(35deg, #2956D6 0%, #1466AA 100%);
}

.bonus__titulo { margin-bottom: 20px; }

.bonus__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bonus__card {
  background-color: #FFFFFF;
  padding: 20px;
  border-radius: 6px;
  text-align: center;
}

.bonus__card img {
  border-radius: 6px;
  margin-bottom: 15px;
}

.bonus__card h3 {
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 10px;
}

.bonus__card p {
  font-size: 1rem;
  color: #000000;
}

/* ==========================================================================
   8. PREÇO — "quanto vai custar"
   ========================================================================== */
.preco-intro {
  background-color: #000;
  background-image: url('img/IMG-EMA-NOVO-11.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Texto encostado à direita, como no original (align-items: flex-end) */
.preco-intro .container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}

.preco-intro__titulo {
  width: 50%;
  color: #000000;
  text-align: left;
  margin-bottom: 20px;
}

.preco-intro__texto {
  width: 50%;
  color: #000000;
  font-size: 1rem;
}

/* ---------- Faixas rolantes de logo ---------- */
.faixa {
  position: relative;
  overflow: hidden;
  max-width: 120%;
  padding: 20px 0;
}

.faixa--azul {
  background-color: var(--azul-faixa);
  transform: rotate(1.5deg);
  margin: 40px -5%;
}

.faixa--clara {
  background-color: var(--cinza-quase-branco);
  transform: rotate(-1.5deg);
  margin: 40px -5%;
}

.faixa::before,
.faixa::after {
  content: "";
  position: absolute;
  top: 0;
  width: 350px;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

.faixa--azul::before { left: 0; background: linear-gradient(to right, #000, transparent); }
.faixa--azul::after  { right: 0; background: linear-gradient(to left, #000, transparent); }
.faixa--clara::before { left: 0; background: linear-gradient(to right, #fff, transparent); }
.faixa--clara::after  { right: 0; background: linear-gradient(to left, #fff, transparent); }

.faixa__trilho {
  display: flex;
  width: max-content;
  white-space: nowrap;
  padding-top: 6px;
}

.faixa--azul .faixa__trilho { animation: rolaFaixa 30s linear infinite reverse; }
.faixa--clara .faixa__trilho { animation: rolaFaixa 30s linear infinite; }

.faixa__trilho img {
  display: inline-block;
  height: 60px;
  width: auto;
  margin-right: 50px;
  flex: 0 0 auto;
}

@keyframes rolaFaixa {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   9. OFERTA — o card branco com o preço
   ========================================================================== */
.oferta {
  background-color: var(--azul-escuro);
  display: flex;
  justify-content: center;
}

.oferta__card {
  width: 100%;
  max-width: 1140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #FFFFFF;
  border-radius: 20px;
  padding: 30px;
  gap: 20px;
}

.oferta__alerta {
  width: 100%;
  padding: 20px;
  background-image: linear-gradient(75deg, #2465C0 0%, #05334D 100%);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 600;
  color: #FFFFFF;
  text-align: center;
}

.oferta__desconto {
  font-family: var(--font);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 600;
  color: #000000;
  text-align: center;
}

.oferta__custa {
  font-family: var(--font);
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 600;
  text-align: center;
}

.oferta__itens { width: 100%; max-width: 560px; }

.oferta__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  color: #000000;
  padding: 6px 0;
}

.oferta__item svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: var(--azul-medio);
}

/* Animação de entrada (fadeInUp do Elementor) */
.anima {
  opacity: 0;
  transform: translateY(20px);
}

.anima.visivel {
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .anima { opacity: 1; transform: none; }
  .anima.visivel { animation: none; }
  .carrossel__trilho,
  .faixa__trilho,
  .botao { animation: none !important; }
}

.oferta__total {
  font-family: var(--font);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 600;
  color: #000000;
  text-align: center;
}

.riscado { position: relative; display: inline; }

.riscado::after {
  content: '';
  position: absolute;
  bottom: 50%;
  left: -3px;
  width: 106%;
  height: 3px;
  background-color: #ff3030;
}

.oferta__agora {
  font-family: var(--font);
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 600;
  color: #000000;
  text-align: center;
}

.oferta__preco {
  width: 100%;
  text-align: center;
  font-family: var(--font);
  font-size: 5rem;
  line-height: 5rem;
  font-weight: 700;
  color: var(--verde-preco);
}

.oferta__preco .cent {
  font-size: 2rem;
  font-weight: 400;
  vertical-align: text-bottom;
  color: #000;
}

.oferta__nota {
  font-family: var(--font);
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 600;
  color: #000000;
  text-align: center;
}

.oferta .botao-wrap { margin-top: 10px; }
.oferta .botao-wrap .botao { width: auto; }

/* ==========================================================================
   10. GARANTIA
   ========================================================================== */
.garantia {
  background-color: transparent;
  background-image: linear-gradient(35deg, #2956D6 0%, #1466AA 100%);
}

.garantia__grid {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.garantia__img {
  flex: 0 0 auto;
  width: 42.5%;
  margin-right: 15px;
}

.garantia__conteudo { flex: 1; min-width: 0; }

.garantia h3 {
  font-family: var(--font);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: 15px;
}

.garantia p {
  font-size: 1rem;
  color: #FFFFFF;
}

/* ==========================================================================
   11. SOBRE — quem é o Iuri
   ========================================================================== */
.sobre {
  background-color: #FFFFFF;
  padding: 100px 0;
}

.sobre__grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

.sobre__col { width: 50%; min-width: 0; padding: 0 10px; }

.sobre__titulo {
  text-align: left;
  color: var(--preto);
  margin-bottom: 20px;
}

.sobre__texto {
  font-size: 1rem;
  font-weight: 500;
  color: var(--preto);
}

/* ==========================================================================
   12. FAQ
   ========================================================================== */
.faq { background: #000; }

.faq__titulo {
  color: var(--azul-claro);
  margin-bottom: 20px;
}

.acordeao__item { margin: 10px 0; }

.acordeao__titulo {
  width: 100%;
  display: block;
  background-color: var(--accordion-bg);
  border: 0;
  border-radius: 6px;
  padding: 15px 20px;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.1;
  font-weight: 600;
  color: var(--accordion-titulo);
  text-align: left;
  cursor: pointer;
  list-style: none;
}

.acordeao__item[open] .acordeao__titulo { color: var(--accordion-ativo); }

/* O acordeão original não exibe ícone de abrir/fechar */
.acordeao__titulo::-webkit-details-marker { display: none; }
.acordeao__titulo::marker { content: ''; }

.acordeao__conteudo {
  background-color: var(--accordion-bg);
  color: #FFFFFF;
  padding: 15px 20px;
  border-radius: 0 0 6px 6px;
  font-size: 1rem;
}

.acordeao__conteudo p + p { margin-top: 1em; }

.faq .botao-wrap .botao { width: auto; }

/* ==========================================================================
   13. RODAPÉ
   ========================================================================== */
.rodape {
  background-color: #000000;
  padding: 30px 10px;
  text-align: center;
}

.rodape__marca {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.rodape__links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.rodape__links a {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 400;
  color: #FFFFFF;
}

.rodape__links a:hover { text-decoration: underline; }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__player { width: 70%; }
  .hero__player-widget { width: 100%; }
  .intro { background-position: 62% 0; background-size: cover; }
  .assentos { background-size: 1366px auto; }
  .preco-intro { background-position: center right; }
  .bonus__grid { grid-template-columns: repeat(2, 1fr); }
  .faixa::before, .faixa::after { width: 150px; }
}

@media (max-width: 767px) {
  .secao { padding: 50px 10px; }

  .titulo { font-size: 2rem; }
  .texto { font-size: 1rem; }

  .hero { min-height: auto; padding: 30px 10px; background-position: center left; }
  .hero__player { width: 100%; }
  .hero__player-widget { width: 100%; }

  .intro {
    padding-top: 380px;
    padding-bottom: 50px;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 360px auto;
  }

  .intro__texto,
  .intro .botao-wrap { width: 100%; }

  .assentos { padding-top: 220px; }
  .assentos__titulo { font-size: 2rem; }

  .economia { padding-left: 0; padding-right: 0; }

  .comparativo__linha { flex-wrap: wrap; }
  .cartao { width: 100%; }
  .icone-x { margin: -12px auto; }

  .viagens__grid { flex-direction: column; }
  .viagens__titulo { font-size: 1.5rem; }

  .depoimentos__grid { flex-direction: column; }
  .depoimentos__col-texto,
  .depoimentos__col-carrossel { width: 100%; }
  .depoimentos__col-texto { padding-right: 0; margin-bottom: 30px; }
  .depoimentos__titulo { font-size: 1.5rem; text-align: center; }

  .bonus__grid { grid-template-columns: 1fr; }

  .preco-intro__titulo,
  .preco-intro__texto { width: 100%; }
  .preco-intro__titulo { text-align: center; font-size: 2rem; }

  .oferta__card { padding: 15px; }
  .oferta__alerta { font-size: 1.2rem; }
  .oferta__custa { font-size: 2rem; }

  .garantia__grid { flex-direction: column; text-align: center; }
  .garantia__img { width: 75%; margin: 0 auto 15px; }
  .garantia h3 { font-size: 1.5rem; }

  .sobre { padding: 50px 0; }
  .sobre__col { width: 100%; }
  .sobre__grid { flex-direction: column; }
  .sobre__titulo { text-align: center; }

  .faq { padding: 50px 10px; }
  .faq__titulo { font-size: 2rem; }

  .botao-wrap .botao { width: 100%; }
  .botao { font-size: 1rem; padding: 20px; }

  .faixa::before, .faixa::after { width: 80px; }
}

@media (max-width: 400px) {
  .oferta__preco { font-size: 4rem; line-height: 3rem; }
  .oferta__preco .cent { font-size: 1rem; }
  .faixa::before, .faixa::after { width: 50px; }
}
