/* ==========================================================================
   Viaja Mundo Franquia — landing page estática
   Paleta:  navy #00203F · azul #2780C4 · laranja (CTA) #FF6530 · borda #FF6B00
   Fontes:  Poppins (títulos/textos) · Roboto (botões)
   ========================================================================== */

:root {
  --navy: #00203F;
  --blue: #2780C4;
  --orange: #FF6530;
  --orange-border: #FF6B00;
  --text: #3B3A3A;
  --muted: #777777;
  --whats: #25D366;
  --container: 1140px;
  --radius: 20px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }

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

/* ---------- Botão (WhatsApp) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  background: var(--orange);
  color: #fff;
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color .3s ease, transform .2s ease;
}
.btn:hover, .btn:focus-visible { background: var(--whats); }
.btn:active { transform: translateY(1px); }
.btn__icon { width: 15px; height: 15px; fill: currentColor; flex: none; }

/* ---------- Vídeo do YouTube como fundo ---------- */
.bg-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  container-type: size;
  background: #0F0E0E;
  z-index: 0;
  pointer-events: none;
}
.bg-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100vw, 177.78vh);          /* fallback */
  height: max(56.25vw, 100vh);
  width: max(100cqw, 177.78cqh);
  height: max(100cqh, 56.25cqw);
  transform: translate(-50%, -50%);
  border: 0;
}

/* ---------- Animações de entrada ---------- */
.js .reveal {
  opacity: 0;
  transition: opacity .8s ease, transform .8s ease;
  transition-delay: var(--d, 0ms);
}
.js .reveal[data-anim="up"]    { transform: translateY(60px); }
.js .reveal[data-anim="right"] { transform: translateX(60px); }
.js .reveal[data-anim="left"]  { transform: translateX(-60px); }
.js .reveal[data-anim="zoom"]  { transform: scale(.7); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .bg-video iframe { display: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 730px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background: #0F0E0E;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: #164161;
  opacity: .13;
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  width: min(65%, 700px);
  margin-left: max(40px, calc((100vw - var(--container)) / 2 + 40px));
  padding-top: 112px;
  text-align: center;
}
.hero h1 {
  font-size: 47px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  color: #fff;
  text-align: left;
  margin-bottom: 28px;
}

/* ==========================================================================
   4 DESTAQUES
   ========================================================================== */
.highlights { background: #fff; padding: 20px 20px 20px 70px; }
.highlights__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
  max-width: 1445px;
  margin-inline: auto;
}
.hl-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 110px;
  padding: 14px 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy) 30%, var(--blue) 100%);
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.6;
  text-transform: uppercase;
}
.hl-card img { width: 80px; height: 80px; flex: none; }

/* ==========================================================================
   SOBRE
   ========================================================================== */
.about {
  position: relative;
  padding: 10px 0;
  background: var(--navy) url("../assets/img/bg-mapa.png") center / cover no-repeat;
  color: #fff;
}
.about::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 115%, rgba(39,128,196,.55), transparent 60%);
  pointer-events: none;
}
.about__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: 31px;
  padding-inline: 10px;
  align-items: start;
}
.about__photo { margin-top: 45px; border: 1px solid #fff; border-radius: 26px; overflow: hidden; }
.about__photo img { width: 100%; }
.about__panel {
  padding: 10px;
  background: rgba(12,12,12,.43);
  border-radius: 25px;
}
.about__panel h2 { text-align: center; font-size: 32px; font-weight: 600; line-height: 1.2; margin-bottom: 14px; }
.about__panel p { font-size: 17px; margin-bottom: 12px; }
.about__panel hr { border: 0; border-top: 1px solid #DAD6CA; margin: 18px 0 20px; }
.counters { display: flex; justify-content: space-around; gap: 12px; text-align: center; }
.counter__num { font-size: 55px; font-weight: 300; line-height: 1.1; }
.counter__label { font-size: 16px; font-weight: 400; margin-top: 4px; }
.about__cta { display: flex; justify-content: center; margin: 40px 0 15px; }

/* ==========================================================================
   VANTAGENS
   ========================================================================== */
.advantages { padding: 50px 20px 0; background: #fff; }
.section-head { text-align: center; }
.title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--navy);
}
.title--bold { font-weight: 700; }
.section-head p { max-width: 1080px; margin: 14px auto 0; font-size: 16px; color: var(--text); }

.advantages__grid {
  display: grid;
  grid-template-columns: 49% 1fr;
  margin-top: 45px;
  align-items: center;
}
.advantages__photo { width: 100%; max-width: 519px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #D3D3D3; justify-self: start; }
.advantages__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.advantages__list { position: relative; z-index: 10; margin-left: -60px; display: flex; flex-direction: column; gap: 20px; }

.adv-card, .p-card {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 15px;
  background: #fff;
  border: 1px solid var(--orange-border);
  border-radius: var(--radius);
}
.adv-card { width: 600px; max-width: 100%; margin-left: var(--x, 0px); }
.adv-card img { width: 100px; height: 100px; flex: none; }
.adv-card h3, .p-card h3 { font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--navy); margin-bottom: 4px; }
.adv-card p, .p-card p { font-size: 14px; line-height: 1.5; color: var(--text); }

/* ==========================================================================
   COTAÇÕES ONLINE + AGÊNCIA VIRTUAL
   ========================================================================== */
.quotes { background: var(--navy); }
.quotes__bg {
  aspect-ratio: 16 / 9;
  background: #fff url("../assets/img/bg-cotacoes.webp") center top / 100% auto no-repeat;
}
.quotes__mobile { display: none; padding: 40px 20px 10px; text-align: center; background: #fff; }
.quotes__mobile p { max-width: 640px; margin: 14px auto 24px; }
.quotes__mobile img { width: 100%; max-width: 520px; margin-inline: auto; }

.agency { padding: 28px 20px 34px; background: var(--navy); }
.agency__list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  max-width: 1445px;
  margin-inline: auto;
}
.ag-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 10px 16px;
  text-align: center;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-transform: uppercase;
  border-radius: 10px;
  transition: background .3s ease;
}
.ag-card img { width: 72px; height: 72px; }
.ag-card:hover { background: linear-gradient(180deg, var(--blue) 0%, var(--navy) 100%); }

/* ==========================================================================
   QUANTO POSSO FATURAR
   ========================================================================== */
.earnings {
  position: relative;
  padding: 80px 20px 50px;
  background: #3946A2B0 url("../assets/img/bg-faturamento.webp") center / cover no-repeat fixed;
  isolation: isolate;
}
.earnings::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--navy);
  opacity: .76;
  z-index: -1;
}
.earnings__box { width: 62%; padding: 10px; background: rgba(0,32,63,.5); }
.earnings h2 { font-size: 40px; font-weight: 600; line-height: 1.2; color: #fff; padding: 0 0 0 0; }
.earnings__lead { margin: 18px 10px 30px 10px; font-size: 16px; font-weight: 500; color: #fff; }
.earnings__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 0 10px 10px; }
.e-card {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--orange-border);
  border-radius: var(--radius);
}
.e-card img { width: 60px; height: 60px; margin-bottom: 24px; }
.e-card h3 { font-size: 20px; font-weight: 700; line-height: 1.2; text-transform: uppercase; color: var(--orange); }
.e-card h3 a { text-decoration: none; }
.e-card p { margin-top: 6px; font-size: 19px; line-height: 1.43; color: var(--text); }
.earnings__note { width: 62%; margin: 26px 10px 0; font-size: 15px; color: #EEE; }
.earnings__note strong { font-weight: 700; color: #fff; }

/* ==========================================================================
   LIBERDADE GEOGRÁFICA
   ========================================================================== */
.freedom {
  position: relative;
  min-height: 899px;
  display: grid;
  place-items: center;
  padding: 60px 20px;
  overflow: hidden;
  background: #96C6E7;
}
.freedom .bg-video { background: #96C6E7; }
.freedom__overlay { position: absolute; inset: 0; background: #96C6E7; opacity: .5; z-index: 1; }
.freedom__content { position: relative; z-index: 2; max-width: 1100px; text-align: center; color: var(--navy); }
.freedom__logo { width: 290px; margin: 0 auto 24px; }
.freedom h2 { font-size: 40px; font-weight: 800; line-height: 1.2; margin-bottom: 18px; }
.freedom p { font-size: 21px; font-weight: 800; line-height: 1.6; margin-bottom: 20px; }

.divider { border: 0; border-top: 1px solid #DAD6CA; margin: 12px 0 0; }

/* ==========================================================================
   PERFIL DO FRANQUEADO
   ========================================================================== */
.profile { margin-top: 100px; padding: 0 20px; }
.profile__head { text-align: center; }
.profile__head h2 { font-size: 40px; font-weight: 500; line-height: 1.2; color: var(--navy); }
.profile__head p { max-width: 70%; margin: 18px auto 0; font-size: 15px; color: var(--muted); }

.profile__grid {
  display: grid;
  grid-template-columns: repeat(3, 360px);
  justify-content: center;
  gap: 20px;
  margin-top: 55px;
  align-items: start;
}
.profile__col { display: flex; flex-direction: column; gap: 20px; }
.p-card { gap: 16px; margin-left: var(--x, 0px); }
.p-card img { width: 56px; height: 56px; flex: none; }
.p-card--rev { flex-direction: row-reverse; text-align: right; }
.profile__photo { margin-top: 0; }
.profile__photo img { width: 100%; border-radius: 25px; }

/* ==========================================================================
   ETAPAS + FORMULÁRIO
   ========================================================================== */
.steps { padding: 70px 20px 60px; }
.steps__head { text-align: center; }
.steps__head h2 { font-size: 40px; font-weight: 600; line-height: 1.2; color: var(--navy); }
.steps__head p { max-width: 66%; margin: 14px auto 0; font-size: 16px; color: var(--text); }
.steps__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 40px;
  max-width: 1191px;
  margin-inline: auto;
}
.steps__form iframe { display: block; width: 100%; height: 416px; border: 0; background: #fff; }
.steps__price { margin-top: 24px; font-size: 17px; color: var(--muted); }
.steps__small { margin-top: 28px; font-size: 12px; color: var(--muted); }
.steps__cta { display: flex; justify-content: center; margin-top: 50px; }

/* ==========================================================================
   TABLET  (≤ 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero { min-height: 640px; }
  .hero__content { width: 80%; margin-left: 40px; padding-top: 100px; }
  .hero h1 { font-size: 38px; }

  .highlights { padding: 20px; }
  .highlights__list { grid-template-columns: repeat(2, 1fr); }

  .about__grid { grid-template-columns: 1fr; gap: 20px; padding: 10px 20px; }
  .about__photo { margin-top: 20px; max-width: 520px; margin-inline: auto; }

  .title, .earnings h2, .freedom h2, .profile__head h2, .steps__head h2 { font-size: 35px; }

  .advantages__grid { grid-template-columns: 1fr; gap: 30px; }
  .advantages__photo { justify-self: center; max-width: 420px; }
  .advantages__list { margin-left: 0; align-items: center; }
  .adv-card { margin-left: 0; width: 100%; max-width: 640px; }

  .quotes__bg { display: none; }
  .quotes__mobile { display: block; }
  .agency__list { grid-template-columns: repeat(3, 1fr); }

  .earnings { background-attachment: scroll; }
  .earnings__box, .earnings__note { width: 100%; }

  .freedom { min-height: 700px; }

  .profile { margin-top: 70px; }
  .profile__head p, .steps__head p { max-width: 90%; }
  .profile__grid { grid-template-columns: minmax(0, 520px); gap: 20px; }
  .profile__photo { order: -1; max-width: 360px; margin-inline: auto; }
  .p-card { margin-left: 0; }

  .steps__grid { grid-template-columns: 1fr; }
  .steps__spacer { display: none; }
}

/* ==========================================================================
   MOBILE  (≤ 767px)
   ========================================================================== */
@media (max-width: 767px) {
  .hero { min-height: 560px; }
  .hero__content { width: auto; margin: 0; padding: 70px 20px 0; }
  .hero h1 { font-size: 30px; }

  .highlights__list { grid-template-columns: 1fr; }
  .hl-card { min-height: 0; }

  .about__panel h2 { font-size: 28px; }
  .about__panel p { font-size: 16px; }
  .counter__num { font-size: 38px; }
  .counter__label { font-size: 13px; }

  .title, .earnings h2, .freedom h2, .profile__head h2, .steps__head h2 { font-size: 28px; }

  .adv-card, .p-card { gap: 16px; }
  .adv-card img { width: 72px; height: 72px; }
  .adv-card h3, .p-card h3 { font-size: 18px; }

  .agency__list { grid-template-columns: repeat(2, 1fr); }

  .earnings { padding: 60px 14px 40px; }
  .earnings__cards { grid-template-columns: 1fr; padding-inline: 0; }
  .e-card { padding: 22px; }
  .e-card p { font-size: 17px; }

  .freedom { min-height: 600px; }
  .freedom__logo { width: 220px; }
  .freedom p { font-size: 17px; }

  .profile__head p, .steps__head p { max-width: 100%; }
  .steps { padding: 50px 20px 50px; }
}
