/* ==========================================================================
   Imersão Liderança Empresarial — variante "gpt-taste"
   Awwwards-style: hero cinemático, bento grid, GSAP motion, sem meta-labels.
   ========================================================================== */

:root {
  --bg: #0a0a0b;
  --bg-elevated: #131316;
  --bg-card: #17171b;
  --border: #29292e;
  --accent: #ff4d2e;
  --accent-dim: #c93a22;
  --text: #f5f4f2;
  --text-dim: #a3a3a8;
  --text-faint: #6b6b70;

  --font-display: 'Outfit', -apple-system, sans-serif;
  --font-body: 'Manrope', -apple-system, sans-serif;

  --container: 1320px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

main { overflow-x: hidden; width: 100%; max-width: 100%; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: clamp(80px, 12vw, 176px) 0; position: relative; }

.section-heading {
  font-size: clamp(32px, 4.5vw, 56px);
  max-width: 720px;
  margin-bottom: 20px;
}

.section-sub {
  color: var(--text-dim);
  font-size: 18px;
  max-width: 540px;
  margin-bottom: 64px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 36px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  white-space: nowrap;
}

.btn-solid {
  background: var(--accent);
  color: #0a0a0b;
}
.btn-solid:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 40px rgba(255, 77, 46, 0.35); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--text); transform: translateY(-3px); }

.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Nav — floating glass pill */
.nav-wrap {
  position: fixed;
  top: 22px;
  left: 0; right: 0;
  z-index: 200;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 12px 14px 12px 26px;
  background: rgba(19, 19, 22, 0.65);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border-radius: 100px;
  max-width: 920px;
  width: 100%;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
  margin-right: auto;
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
}
.nav-links a { transition: color 0.25s; }
.nav-links a:hover { color: var(--text); }

.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 22px; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 20px; right: 20px;
    background: rgba(19, 19, 22, 0.95);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 20px 24px;
    gap: 16px;
    backdrop-filter: blur(20px);
  }
  .nav-toggle { display: block; }
}

/* Hero — Cinematic Center */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 0 100px;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.7) contrast(1.15) brightness(0.55);
  transform: scale(1.15);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(10,10,11,0.2), rgba(10,10,11,0.92) 72%),
    linear-gradient(180deg, rgba(10,10,11,0.5) 0%, rgba(10,10,11,0.97) 100%);
}

.hero .container { max-width: 960px; }

.hero h1 {
  font-size: clamp(44px, 7.2vw, 96px);
  max-width: 15ch;
  margin: 0 auto 28px;
}

.hero h1 .inline-img {
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  vertical-align: middle;
  margin: 0 6px;
  filter: grayscale(0.4) contrast(1.1);
  border: 2px solid var(--accent);
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--text-dim);
  max-width: 44ch;
  margin: 0 auto 44px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.hero-meta {
  font-size: 13px;
  color: var(--text-faint);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Marquee */
.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 26px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 48px;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 48px;
}

.marquee-track span .dot { color: var(--accent); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Bento grid — pillars */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, minmax(220px, auto));
  gap: 20px;
}

.bento-card {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
}

.bento-card:hover { transform: translateY(-6px); border-color: var(--accent); }

.bento-card.large { grid-column: span 2; grid-row: span 2; }
.bento-card.wide { grid-column: span 2; grid-row: span 1; }
.bento-card.small { grid-column: span 1; grid-row: span 1; }

.bento-card .bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.bento-card .bg-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.85) contrast(1.1) brightness(0.4);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-card:hover .bg-img img { transform: scale(1.08); }

.bento-card .bg-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,11,0.1), rgba(10,10,11,0.95));
}

.bento-card h3 {
  position: relative; z-index: 1;
  font-size: clamp(22px, 2.4vw, 30px);
  margin-bottom: 10px;
}

.bento-card p {
  position: relative; z-index: 1;
  color: var(--text-dim);
  font-size: 15px;
  max-width: 42ch;
}

@media (max-width: 900px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; }
  .bento-card.large { grid-column: span 2; grid-row: span 1; min-height: 280px; }
  .bento-card.wide { grid-column: span 2; }
  .bento-card.small { grid-column: span 1; }
}

@media (max-width: 560px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.large, .bento-card.wide, .bento-card.small { grid-column: span 1; }
}

/* Speakers — pinned split */
.speakers-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.speakers-pin {
  position: sticky;
  top: 140px;
}

.speakers-pin h2 { margin-bottom: 20px; }
.speakers-pin p { color: var(--text-dim); font-size: 17px; max-width: 38ch; }

.speaker-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}

.speaker-row:first-child { border-top: 1px solid var(--border); }

.speaker-portrait {
  width: 72px; height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.speaker-portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); }

.speaker-info h4 { font-size: 19px; margin-bottom: 4px; }
.speaker-info .role { color: var(--accent); font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.speaker-info .topic { color: var(--text-dim); font-size: 14.5px; max-width: 46ch; }

@media (max-width: 900px) {
  .speakers-split { grid-template-columns: 1fr; gap: 40px; }
  .speakers-pin { position: static; }
}

/* Agenda — editorial */
.agenda-list { max-width: 820px; }

.agenda-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.agenda-row:last-child { border-bottom: 1px solid var(--border); }

.agenda-row .time {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.agenda-row h4 { font-size: 20px; margin-bottom: 8px; }
.agenda-row p { color: var(--text-dim); font-size: 15px; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.price-card {
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 44px 38px;
  position: relative;
}

.price-card.featured { border-color: var(--accent); background: linear-gradient(160deg, rgba(255,77,46,0.08), var(--bg-card) 60%); }

.price-badge {
  position: absolute; top: -14px; left: 38px;
  background: var(--accent); color: #0a0a0b;
  font-size: 11px; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px; border-radius: 100px;
}

.price-card .lote { color: var(--text-faint); font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; }
.price-card .value { font-family: var(--font-display); font-size: 46px; font-weight: 800; margin-bottom: 6px; }
.price-card .value .note { font-family: var(--font-body); font-size: 15px; color: var(--text-dim); font-weight: 500; }
.price-card .desc { color: var(--text-dim); font-size: 13.5px; margin-bottom: 30px; }

.price-features { list-style: none; margin-bottom: 34px; }
.price-features li { padding: 10px 0; border-top: 1px solid var(--border); font-size: 14.5px; color: var(--text-dim); }
.price-features li:first-child { border-top: none; }

.pricing-footnote { text-align: center; color: var(--text-faint); font-size: 13.5px; margin-top: 32px; }

@media (max-width: 760px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* FAQ */
.faq-list { max-width: 760px; }
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }

.faq-q {
  width: 100%;
  background: none; border: none;
  padding: 26px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700; color: var(--text);
  cursor: pointer; text-align: left;
}
.faq-q .icon { color: var(--accent); font-size: 22px; transition: transform 0.35s cubic-bezier(0.16,1,0.3,1); flex-shrink: 0; }
.faq-item.open .icon { transform: rotate(45deg); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; color: var(--text-dim); font-size: 15px; }
.faq-item.open .faq-a { max-height: 200px; }
.faq-a p { padding-bottom: 26px; max-width: 62ch; }

/* Final CTA */
.final-cta {
  text-align: center;
  padding: clamp(100px, 14vw, 200px) 0;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,77,46,0.15), transparent 65%);
}
.final-cta h2 { font-size: clamp(36px, 6vw, 72px); max-width: 16ch; margin: 0 auto 26px; }
.final-cta p { color: var(--text-dim); font-size: 18px; margin-bottom: 44px; }

/* Footer */
.footer { padding: 60px 0 40px; border-top: 1px solid var(--border); }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; margin-bottom: 30px; }
.footer-links { display: flex; gap: 28px; font-size: 14px; color: var(--text-dim); }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 13px; color: var(--text-faint); }

/* Reveal animation base state (GSAP controls final state) */
.reveal { opacity: 0; transform: translateY(40px); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
