/* ===========================
   Imersão Novo Mercado — styles
   =========================== */

:root {
  --color-bg-dark: #12141c;
  --color-bg-darker: #0b0d13;
  --color-bg-light: #f5f3ef;
  --color-gold: #d4a94a;
  --color-gold-light: #e8c877;
  --color-white: #ffffff;
  --color-text-muted: #b9bcc6;
  --color-text-dark: #1c1e26;
  --color-text-dark-muted: #55586a;
  --font-heading: 'Poppins', sans-serif;
  --font-script: 'Playfair Display', serif;
  --container-width: 1180px;
  --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-heading);
  background: var(--color-bg-dark);
  color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; }

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

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px;
}

h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 16px; }

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

.highlight { color: var(--color-gold); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
  color: #201703;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(212, 169, 74, 0.35);
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }

.btn-nav { padding: 10px 22px; font-size: 0.85rem; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 13, 19, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  flex-shrink: 0;
}

.logo-top {
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  color: var(--color-gold);
  font-weight: 600;
}

.logo-bottom {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.main-nav {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.main-nav a:hover { color: var(--color-white); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  display: block;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 20%, rgba(212, 169, 74, 0.12), transparent 45%),
    linear-gradient(120deg, #0b0d13 0%, #171a24 45%, #22273a 100%);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(0,0,0,0) 0%, rgba(11,13,19,0.55) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-tags {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.8rem;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-tags .dot { color: var(--color-text-muted); margin: 0 6px; }

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 48px;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-stat-icon {
  font-size: 1.6rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(212, 169, 74, 0.12);
}

.hero-stat strong {
  display: block;
  font-size: 0.95rem;
}

.hero-stat p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.hero-script {
  position: absolute;
  right: 6%;
  bottom: 10%;
  z-index: 2;
  font-family: var(--font-script);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.75);
  text-align: right;
  display: none;
}

@media (min-width: 900px) {
  .hero-script { display: block; }
}

/* ===== Sections ===== */
.section { padding: 96px 0; }

.section-dark { background: var(--color-bg-dark); }
.section-darker { background: var(--color-bg-darker); }

.section-light {
  background: var(--color-bg-light);
  color: var(--color-text-dark);
}

.section-light h2, .section-light h3 { color: var(--color-text-dark); }

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head p { color: var(--color-text-muted); font-size: 1.05rem; }

/* Split layout (image + content) */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1.1fr; }
  .split.reverse { grid-template-columns: 1.1fr 1fr; }
  .split.reverse .split-content { order: 1; }
  .split.reverse .split-media { order: 2; }
}

.media-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #232838, #12141c);
  position: relative;
  overflow: hidden;
}

.media-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(212,169,74,0.18), transparent 55%);
  pointer-events: none;
}

.media-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.media-audience { background: linear-gradient(160deg, #2b2f42, #14161f); }

.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  color: var(--color-text-muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-gold);
  font-weight: 700;
}

.check-list-dark li { color: var(--color-text-dark-muted); }

.lead {
  font-size: 1.1rem;
  margin-top: 24px;
}

.section-intro { color: var(--color-text-dark-muted); font-weight: 500; }

.media-script {
  position: absolute;
  font-family: var(--font-script);
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
}

.split-media { position: relative; }

.media-script-dark {
  bottom: -8px;
  right: -8px;
  background: var(--color-bg-light);
  color: var(--color-text-dark);
  padding: 14px 18px;
  border-radius: 8px;
  line-height: 1.4;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 700px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1050px) {
  .pillars { grid-template-columns: repeat(4, 1fr); }
}

.pillar-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}

.pillar-icon {
  font-size: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(212, 169, 74, 0.12);
  margin-bottom: 16px;
}

.pillar-card p { color: var(--color-text-muted); font-size: 0.92rem; margin-bottom: 0; }

.pillar-result {
  background: linear-gradient(160deg, rgba(212,169,74,0.18), rgba(212,169,74,0.03));
  border-color: rgba(212,169,74,0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pillar-formula {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.pillar-formula span { color: var(--color-gold); font-size: 1.2rem; }

.result-word {
  color: var(--color-gold);
  font-size: 1.5rem;
  margin: 0;
}

/* Speaker */
.speaker {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 900px) {
  .speaker { grid-template-columns: 0.8fr 1.2fr; }
}

.speaker-media .media-placeholder { aspect-ratio: 3 / 4; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 8px;
}

.speaker-content p { color: var(--color-text-muted); }

.speaker-stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  border-left: 1px solid rgba(255,255,255,0.08);
  padding-left: 32px;
}

@media (max-width: 899px) {
  .speaker-stats { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; }
}

.stat-item strong {
  display: block;
  font-size: 1.4rem;
  color: var(--color-gold);
}

.stat-item span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Cortesias */
.section-cortesias {
  background: linear-gradient(120deg, #1a1d29, #0b0d13);
  border-top: 1px solid rgba(212,169,74,0.25);
  border-bottom: 1px solid rgba(212,169,74,0.25);
}

.cortesias-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .cortesias-inner { grid-template-columns: 1.2fr 1fr; }
}

.cortesias-content h2 { color: var(--color-gold); }
.cortesias-content p { color: var(--color-text-muted); max-width: 480px; }

.cortesias-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 18px;
}

.info-icon { font-size: 1.4rem; }

.info-item strong { display: block; font-size: 0.9rem; }
.info-item span { font-size: 0.78rem; color: var(--color-text-muted); }

/* FAQ */
.faq-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 950px) {
  .faq-inner { grid-template-columns: 1.3fr 1fr; }
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
}

.faq-question span {
  font-size: 1.3rem;
  color: var(--color-gold);
  transition: transform 0.2s ease;
}

.faq-item.active .faq-question span { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  color: var(--color-text-dark-muted);
  padding-bottom: 18px;
  margin: 0;
}

.faq-cta {
  background: var(--color-bg-darker);
  color: var(--color-white);
  border-radius: var(--radius);
  padding: 40px 32px;
  align-self: start;
}

.faq-cta h3 { font-size: 1.6rem; }
.faq-cta p { color: var(--color-text-muted); }
.faq-cta .btn { margin: 16px 0; }
.faq-cta-small { font-size: 0.85rem; }

/* Footer */
.site-footer {
  background: var(--color-bg-darker);
  padding-top: 56px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-nav a:hover { color: var(--color-white); }

.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.social-icons { display: flex; gap: 10px; }

.social-icons a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.social-icons a:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #12141c;
  transform: translateY(-2px);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 20px 0;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* ===== Responsive nav ===== */
@media (max-width: 880px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .btn-nav { display: none; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg-darker);
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
}
