/* ============================================================
   Meeting Pet 2027 — Landing de pré-venda
   Mesma identidade "Velocidade e Crescimento" do site principal
   Azul #0036ff · Laranja #ff5e00 · racing / F1
   ============================================================ */

/* ===== Tokens ===== */
:root {
  --blue: #0036ff;
  --blue-deep: #050c26;
  --blue-navy: #081033;
  --orange: #ff5e00;
  --orange-hot: #ff7a26;
  --ink: #0d1120;
  --ink-dim: #4b5265;
  --paper: #ffffff;
  --paper-2: #f2f4fa;
  --line-light: rgba(13, 17, 32, 0.1);
  --line-dark: rgba(255, 255, 255, 0.14);
  --font-display: "Archivo", sans-serif;
  --font-body: "Inter", sans-serif;
  --container: 1160px;
  --radius: 14px;
  --radius-sm: 8px;
  --space-section: clamp(4.5rem, 10vw, 7.5rem);
  --duration: 0.65s;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--blue); text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.section { padding-block: var(--space-section); }

/* ===== Tipografia ===== */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.04; letter-spacing: -0.015em; }

.section__title {
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.section__title--blue { color: var(--blue); }
.section__title--blue em { font-style: italic; color: var(--orange); }
.section__title--center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--orange);
  margin-bottom: 0.9rem;
}
.eyebrow--center { display: block; text-align: center; }

/* ===== Botões (racing: levemente inclinados) ===== */
.btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  padding: 1rem 2.1rem;
  border: none;
  border-radius: 6px;
  transform: skewX(-6deg);
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  box-shadow: 0 10px 28px -12px rgba(255, 94, 0, 0.7);
}
.btn:hover { background: var(--orange-hot); transform: skewX(-6deg) translateY(-3px); box-shadow: 0 16px 36px -10px rgba(255, 94, 0, 0.65); }
.btn:active { transform: skewX(-6deg) translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.btn--lg { font-size: 1.02rem; padding: 1.15rem 2.5rem; }
.btn--sm { font-size: 0.78rem; padding: 0.6rem 1.2rem; }
.btn--block { display: block; width: 100%; text-align: center; white-space: normal; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--line-light);
  box-shadow: none;
}
.btn--ghost:hover { background: transparent; border-color: var(--orange); color: var(--orange); box-shadow: none; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: skewX(-6deg); box-shadow: none; }

/* ===== Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.d-1 { transition-delay: 0.08s; }
.d-2 { transition-delay: 0.16s; }
.d-3 { transition-delay: 0.24s; }
.d-4 { transition-delay: 0.32s; }

/* ===== Nav ===== */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.nav.is-scrolled { background: rgba(5, 12, 38, 0.88); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-dark); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 76px; }
.nav__logo { display: flex; align-items: center; }
.nav__logo img { width: 190px; height: auto; }
@media (max-width: 480px) {
  .nav__logo img { width: 148px; }
  .nav .btn--sm { font-size: 0.7rem; padding: 0.55rem 1rem; }
  .btn--lg { font-size: 0.88rem; padding: 1rem 1.5rem; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: var(--blue-deep) url("../../assets/imgs/bg_hero_section.webp") center / cover no-repeat;
  color: #fff;
  padding-top: 76px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(5, 12, 38, 0.9));
  pointer-events: none;
}
.hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero__video.is-playing { opacity: 1; }
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(5, 12, 38, 0.85) 0%, rgba(5, 12, 38, 0.55) 45%, rgba(5, 12, 38, 0.2) 100%);
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero__scrim { background: linear-gradient(180deg, rgba(5, 12, 38, 0.8) 0%, rgba(5, 12, 38, 0.45) 70%, rgba(5, 12, 38, 0.25) 100%); }
}
.hero .container { max-width: 1340px; }
.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  min-height: calc(100svh - 76px);
  padding-block: 2.5rem 0;
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; padding-bottom: 0; }
}
.hero__badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.45rem 1rem;
  border-radius: 4px;
  transform: skewX(-6deg);
  margin-bottom: 1.5rem;
}
.hero__title {
  font-size: clamp(1.9rem, 4.6vw, 3.4rem);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  display: grid;
  gap: 0.15em;
  margin-bottom: 1.4rem;
}
.hero__title .hl { color: var(--orange-hot); }
.hero__sub {
  color: rgba(255, 255, 255, 0.82);
  max-width: 54ch;
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
  margin-bottom: 2rem;
}
@media (max-width: 900px) { .hero__sub { margin-inline: auto; } }
.hero__cta-note {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero__visual { position: relative; align-self: end; }
.hero__pilot {
  position: relative;
  z-index: 2;
  margin-inline: auto;
  width: min(100%, 700px);
  max-height: min(84vh, 780px);
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55));
}
@media (max-width: 900px) { .hero__visual { max-width: 420px; margin-inline: auto; } }

/* ===== Countdown strip ===== */
.cdstrip { background: var(--blue); color: #fff; border-block: 3px solid var(--orange); }
.cdstrip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding-block: 1.4rem;
}
@media (max-width: 900px) { .cdstrip__inner { justify-content: center; text-align: center; } }
.cdstrip__label, .cdstrip__tag {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.06em;
}
.cdstrip__tag { color: rgba(255, 255, 255, 0.85); font-weight: 700; font-size: 0.85rem; }
.cdstrip__tag span { color: var(--orange-hot); }
.countdown { display: flex; gap: clamp(0.5rem, 1.6vw, 1rem); }
.countdown__unit {
  min-width: 76px;
  text-align: center;
  padding: 0.55rem 0.4rem 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  transform: skewX(-6deg);
}
.countdown__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.countdown__num.tick { animation: cd-tick 0.4s var(--ease); }
@keyframes cd-tick { 0% { transform: translateY(-7px); opacity: 0.2; } 100% { transform: none; opacity: 1; } }
.countdown__label { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.7); }

/* ===== Sobre o mercado pet ===== */
.market { background: var(--paper); text-align: center; }
.market .section__title { max-width: 720px; margin-inline: auto; }
.market__intro { max-width: 640px; margin: 0 auto 3rem; color: var(--ink-dim); }
.market__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 760px) { .market__stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  text-align: center;
  padding: 1.4rem 0.8rem;
  background: var(--paper-2);
  border-radius: var(--radius);
  border-bottom: 4px solid var(--orange);
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.2vw, 2.6rem);
  font-weight: 900;
  font-style: italic;
  color: var(--blue);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat__label { font-size: 0.82rem; color: var(--ink-dim); }

/* ===== Palestrantes ===== */
.speakers { background: var(--paper-2); }
.speakers__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 2.5rem; }
@media (max-width: 1000px) { .speakers__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .speakers__grid { grid-template-columns: 1fr; } }
.speaker {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border-bottom: 4px solid transparent;
  box-shadow: 0 10px 30px -18px rgba(13, 17, 32, 0.35);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.speaker:hover { transform: translateY(-6px); border-color: var(--orange); box-shadow: 0 26px 48px -22px rgba(13, 17, 32, 0.4); }
.speaker img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; transition: scale 0.5s var(--ease); }
.speaker:hover img { scale: 1.05; }
.speaker__info { padding: 1.1rem 1.2rem 1.3rem; }
.speaker__info h3 { font-size: 1.02rem; font-weight: 900; font-style: italic; text-transform: uppercase; color: var(--blue); margin-bottom: 0.35rem; }
.speaker__info p { font-size: 0.86rem; color: var(--ink-dim); line-height: 1.5; }
.speakers__note { margin-top: 2rem; text-align: center; font-size: 0.85rem; color: var(--ink-dim); font-style: italic; }

/* ===== Ingressos ===== */
.tickets { background: var(--paper); }
.tickets .section__title { margin-bottom: 0.5rem; }
.tickets__local { text-align: center; color: var(--ink-dim); font-size: 0.92rem; margin-bottom: 1rem; }
.tickets__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 360px));
  justify-content: center;
  gap: 1.1rem;
  margin-top: 2.5rem;
  align-items: stretch;
}
@media (max-width: 1150px) { .tickets__grid { grid-template-columns: repeat(2, minmax(0, 360px)); } }
@media (max-width: 780px) { .tickets__grid { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; } }
.ticket {
  position: relative;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.9rem 1.7rem;
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  box-sizing: border-box;
}
.ticket--active { border: 2px solid var(--blue); box-shadow: 0 28px 60px -30px rgba(0, 54, 255, 0.45); }
.ticket__flag {
  position: absolute;
  top: -14px;
  left: 50%;
  translate: -50% 0;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 1.1rem;
  border-radius: 4px;
  transform: skewX(-6deg);
}
.ticket header { display: flex; justify-content: space-between; align-items: center; }
.ticket h3 { font-size: 1.05rem; font-weight: 900; font-style: italic; text-transform: uppercase; color: var(--blue); }
.ticket__tag {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  border: 1px solid var(--line-light);
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
}
.ticket__tag--live { color: var(--orange); border-color: rgba(255, 94, 0, 0.5); }
.ticket__price { font-family: var(--font-display); font-style: italic; font-size: 1.7rem; font-weight: 900; line-height: 1.1; color: var(--ink); }
.ticket__price span { display: block; font-family: var(--font-body); font-style: normal; font-size: 0.82rem; font-weight: 400; color: var(--ink-dim); }
.ticket__price-tag {
  display: inline-block;
  margin-top: 0.3rem;
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--orange);
  background: rgba(255, 94, 0, 0.1);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.ticket__status { font-size: 0.8rem; color: var(--ink-dim); }
.ticket__perks { display: grid; gap: 0.4rem; font-size: 0.88rem; color: var(--ink-dim); margin-bottom: 1rem; }
.ticket__perks li { padding-left: 1.3rem; position: relative; }
.ticket__perks li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.ticket .btn { margin-top: auto; }
.ticket__note { font-size: 0.76rem; color: var(--ink-dim); text-align: center; }
.tickets__group { margin-top: 2.2rem; text-align: center; color: var(--ink-dim); }
.tickets__group a { font-weight: 600; }

/* ===== Footer ===== */
.footer { background: var(--blue-deep); color: #fff; padding-top: 3.5rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__logo { width: 210px; height: auto; }
.footer__grid h4 {
  font-size: 0.8rem;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange-hot);
  margin-bottom: 0.8rem;
}
.footer__grid p { color: rgba(255, 255, 255, 0.6); font-size: 0.92rem; margin-top: 0.8rem; }
.footer__grid a { color: #fff; }
.footer__grid a:hover { color: var(--orange-hot); }
.footer__bottom { border-top: 1px solid var(--line-dark); padding-block: 1.4rem; font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); }

/* ===== Modal de cadastro ===== */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 38, 0.78);
  backdrop-filter: blur(6px);
}
.modal__box {
  position: relative;
  width: min(94vw, 440px);
  background: var(--paper);
  border-radius: var(--radius);
  border-top: 5px solid var(--orange);
  padding: 2.2rem 1.9rem 1.9rem;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
  animation: modal-in 0.35s var(--ease);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(26px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.9rem;
  background: none;
  border: none;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--ink-dim);
  padding: 0.3rem;
}
.modal__close:hover { color: var(--orange); }
.modal__title {
  font-size: 1.6rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.modal__sub { font-size: 0.92rem; color: var(--ink-dim); margin-bottom: 1.4rem; }
.modal__field { margin-bottom: 1rem; }
.modal__field label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.modal__field input {
  width: 100%;
  font: inherit;
  padding: 0.8rem 0.9rem;
  border: 1.5px solid var(--line-light);
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  color: var(--ink);
  transition: border-color 0.2s;
}
.modal__field input:focus { outline: none; border-color: var(--blue); background: #fff; }
.modal__field input.is-invalid { border-color: #e02424; }
.modal__error { color: #e02424; font-size: 0.85rem; margin-bottom: 0.9rem; }
.modal form .btn { margin-top: 0.4rem; }
.modal .btn[disabled] { opacity: 0.6; cursor: wait; transform: skewX(-6deg); }
.modal__note { margin-top: 0.9rem; text-align: center; font-size: 0.76rem; color: var(--ink-dim); }
body.modal-open { overflow: hidden; }

/* ===== CTA flutuante ===== */
.floatcta {
  position: fixed;
  left: 50%;
  bottom: 18px;
  translate: -50% 0;
  z-index: 60;
  width: min(92vw, 460px);
  opacity: 0;
  transform: translateY(130%);
  pointer-events: none;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}
.floatcta.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.floatcta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(5, 12, 38, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 0.7rem 0.8rem 0.7rem 1.1rem;
  box-shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.75);
}
.floatcta__text {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #fff;
  line-height: 1.2;
}
.floatcta__text em { display: block; font-style: normal; font-weight: 700; font-size: 0.7rem; color: var(--orange-hot); }
.floatcta__btn { font-size: 0.82rem; padding: 0.75rem 1.4rem; white-space: nowrap; }
@media (max-width: 480px) {
  .floatcta__inner { gap: 0.6rem; padding: 0.6rem 0.6rem 0.6rem 0.9rem; }
  .floatcta__text { font-size: 0.72rem; }
  .floatcta__btn { font-size: 0.68rem; padding: 0.65rem 0.85rem; letter-spacing: 0.03em; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
