/* ============================================================
   MAGO CRÔNICO — Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --bg:            #231f1a;
  --bg-card:       #2a2520;
  --bg-card-2:     #302b25;
  --fg:            #eae6e0;
  --fg-muted:      #a89f92;
  --gold:          #c9a84c;
  --gold-muted:    #a8893c;
  --gold-dim:      rgba(201,168,76,.18);
  --gold-border:   rgba(201,168,76,.22);
  --wine:          #5c2020;
  --border:        rgba(201,168,76,.18);
  --radius-sm:     .5rem;
  --radius:        1rem;
  --radius-lg:     1.5rem;
  --radius-xl:     2rem;
  --font-heading:  'Cormorant Garamond', Georgia, serif;
  --font-body:     'Inter', ui-sans-serif, system-ui, sans-serif;
  --shadow-gold:   0 4px 24px rgba(201,168,76,.15);
  --max-w:         1200px;
  --max-w-md:      800px;
  --max-w-sm:      640px;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }
h1,h2,h3,h4 { font-family: var(--font-heading); line-height: 1.2; }

/* ── Utilities ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container--md { max-width: var(--max-w-md); }
.container--sm { max-width: var(--max-w-sm); }

.eyebrow {
  display: inline-block;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .3em;
  color: var(--gold);
}

.text-balance { text-wrap: balance; }
.text-pretty  { text-wrap: pretty; }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(35,31,26,.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  text-decoration: none;
}
.site-logo__icon {
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.site-logo__name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--fg);
}
.site-logo__name span { color: var(--gold); }

.site-nav { display: flex; gap: 2rem; align-items: center; }
.site-nav a {
  font-size: .875rem;
  color: var(--fg-muted);
  transition: color .2s;
}
.site-nav a:hover { color: var(--gold); }

/* Hamburger */
.nav-toggle {
  display: none;
  color: var(--fg);
  padding: .25rem;
}
.nav-toggle svg { display: block; }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: .75rem 1.25rem 1rem;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: .75rem .5rem;
  color: var(--fg-muted);
  font-size: 1rem;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
}
.mobile-nav a:hover { color: var(--gold); background: var(--bg-card); }

@media (max-width: 768px) {
  .site-nav { display: none; }
  .nav-toggle { display: block; }
}

/* ── Radial glow helper ──────────────────────────────────── */
.glow-top {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .45;
  background: radial-gradient(ellipse 70% 55% at 50% -5%, rgba(201,168,76,.18), transparent);
}

/* ── Home Hero ───────────────────────────────────────────── */
.home-hero {
  position: relative;
  overflow: hidden;
}
.home-hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 5rem 1.25rem 4rem;
  max-width: 52rem;
  margin: 0 auto;
}
.home-hero__avatar {
  width: 8rem; height: 8rem;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(201,168,76,.4);
  flex-shrink: 0;
}
.home-hero__avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}
.home-hero__kicker { margin-top: 1.5rem; }
.home-hero h1 {
  margin-top: 1rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--fg);
  max-width: 44rem;
}
.home-hero__sub {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--fg-muted);
}
.home-hero__cta {
  margin-top: 2.25rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid rgba(201,168,76,.5);
  border-radius: 9999px;
  padding: .75rem 1.5rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--gold);
  transition: background .2s;
}
.home-hero__cta:hover { background: rgba(201,168,76,.1); }
.home-hero__cta svg { width: 1rem; height: 1rem; }

@media (min-width: 768px) {
  .home-hero__avatar { width: 10rem; height: 10rem; }
  .home-hero__inner { padding: 7rem 1.25rem 5rem; }
}

/* ── Quiz ────────────────────────────────────────────────── */
.quiz-section {
  padding: 4rem 1.25rem;
  max-width: 48rem;
  margin: 0 auto;
}
.quiz-box {
  border: 1px solid rgba(201,168,76,.28);
  border-radius: var(--radius-xl);
  background: rgba(42,37,32,.5);
  padding: 1.5rem;
}
.quiz-header { text-align: center; margin-bottom: 2rem; }
.quiz-header h2 {
  margin-top: .75rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--fg);
}
.quiz-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 540px) { .quiz-grid { grid-template-columns: 1fr; } }

.quiz-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(201,168,76,.28);
  border-radius: var(--radius-lg);
  background: rgba(35,31,26,.6);
  padding: 1.25rem 1.5rem;
  text-align: left;
  color: var(--fg);
  transition: border-color .2s, background .2s;
  width: 100%;
}
.quiz-card:hover { border-color: rgba(201,168,76,.6); background: var(--bg-card); }
.quiz-card__icon {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,.4);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  transition: background .2s;
}
.quiz-card:hover .quiz-card__icon { background: rgba(201,168,76,.1); }
.quiz-card__icon svg { width: 1.2rem; height: 1.2rem; }
.quiz-card__label { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 500; }

/* Sub-options */
.quiz-back {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--fg-muted);
  margin-bottom: 1.25rem;
  transition: color .2s;
  background: none; border: none;
}
.quiz-back:hover { color: var(--gold); }
.quiz-back svg { width: 1rem; height: 1rem; }
.quiz-sub h2 { font-size: 1.5rem; font-weight: 600; color: var(--fg); margin-bottom: 1.25rem; }
.quiz-sub-options { display: flex; flex-direction: column; gap: 1rem; }
.quiz-sub-btn {
  border: 1px solid rgba(201,168,76,.28);
  border-radius: var(--radius-lg);
  background: rgba(35,31,26,.6);
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-size: 1rem;
  color: var(--fg);
  transition: border-color .2s, background .2s;
  width: 100%;
}
.quiz-sub-btn:hover { border-color: rgba(201,168,76,.6); background: var(--bg-card); }

@media (min-width: 768px) { .quiz-box { padding: 2.5rem; } }

/* ── Manifesto ───────────────────────────────────────────── */
.manifesto-section {
  padding: 4rem 1.25rem;
  max-width: 48rem;
  margin: 0 auto;
}
.manifesto-box {
  position: relative;
  border: 1px solid rgba(201,168,76,.35);
  border-radius: var(--radius-lg);
  background: rgba(42,37,32,.6);
  padding: 2rem 2rem 2.5rem;
}
.manifesto-box .eyebrow {
  position: absolute;
  top: -.65rem;
  left: 2rem;
  background: var(--bg);
  padding: 0 .75rem;
}
.manifesto-box p {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  line-height: 1.7;
  color: var(--fg);
}
@media (min-width: 768px) { .manifesto-box { padding: 3rem 3.5rem; } }

/* ── Testimonials ────────────────────────────────────────── */
.testimonials-section {
  padding: 4rem 1.25rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.testimonials-section h2 {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 2.5rem;
}
.testimonials-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(42,37,32,.5);
  padding: 1.5rem;
}
.testimonial-card .quote-icon { color: rgba(201,168,76,.7); width: 1.5rem; height: 1.5rem; }
.testimonial-card blockquote {
  margin-top: 1rem;
  font-size: .875rem;
  line-height: 1.7;
  color: var(--fg);
  flex: 1;
}
.testimonial-card figcaption {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(201,168,76,.18);
  font-size: .875rem;
}
.testimonial-card figcaption strong { color: var(--fg); }
.testimonial-card figcaption span   { color: var(--fg-muted); }

/* ── Sales Hero ──────────────────────────────────────────── */
.sales-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(201,168,76,.2);
}
.sales-hero__inner {
  position: relative;
  max-width: 48rem;
  margin: 0 auto;
  padding: 5rem 1.25rem;
  text-align: center;
}
.sales-hero h1 {
  margin-top: 1.25rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--fg);
}
.sales-hero__sub {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 36rem;
  margin-left: auto; margin-right: auto;
}
@media (min-width: 768px) { .sales-hero__inner { padding: 7rem 1.25rem; } }

/* ── About Pedro ─────────────────────────────────────────── */
.about-section {
  padding: 3.5rem 1.25rem;
  max-width: 56rem;
  margin: 0 auto;
}
.about-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.about-avatar {
  width: 10rem; height: 10rem;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(201,168,76,.4);
  flex-shrink: 0;
}
.about-avatar img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.about-content .eyebrow { margin-bottom: .5rem; }
.about-content h2 {
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: .35rem;
}
.about-instagram {
  display: inline-block;
  font-size: .875rem;
  color: rgba(201,168,76,.75);
  transition: color .2s;
  margin-bottom: 1rem;
}
.about-instagram:hover { color: var(--gold); }
.about-content p {
  line-height: 1.75;
  color: var(--fg-muted);
  margin-bottom: 1.25rem;
}
.about-checklist { display: flex; flex-direction: column; gap: .5rem; }
.about-checklist li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--fg);
}
.about-checklist li svg { color: var(--gold); width: 1rem; height: 1rem; flex-shrink: 0; }

@media (min-width: 768px) {
  .about-inner { flex-direction: row; align-items: flex-start; }
  .about-avatar { width: 12rem; height: 12rem; }
}

/* ── Products ────────────────────────────────────────────── */
.products-section {
  padding: 3.5rem 1.25rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.products-section h2 {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 2.5rem;
}
.products-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(42,37,32,.6);
  padding: 1.5rem;
  transition: border-color .2s;
}
.product-card:hover { border-color: rgba(201,168,76,.4); }
.product-card--highlight {
  border-color: rgba(201,168,76,.6);
  box-shadow: 0 0 0 1px rgba(201,168,76,.3);
}
.product-card__badge {
  display: inline-block;
  background: rgba(201,168,76,.15);
  color: var(--gold);
  font-size: .7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  border-radius: 9999px;
  padding: .25rem .75rem;
  margin-bottom: .75rem;
  width: fit-content;
}
.product-card h3 { font-size: 1.5rem; font-weight: 600; color: var(--fg); }
.product-card__desc {
  margin-top: .5rem;
  font-size: .875rem;
  line-height: 1.6;
  color: var(--fg-muted);
}
.product-card__price {
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
}
.product-card__features {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .625rem;
}
.product-card__features li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .875rem;
  color: var(--fg);
}
.product-card__features li svg {
  color: var(--gold); width: 1rem; height: 1rem;
  margin-top: .15rem; flex-shrink: 0;
}
.product-card__cta { margin-top: auto; padding-top: 1.5rem; }

/* ── WhatsApp Button ─────────────────────────────────────── */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  background: var(--gold);
  color: var(--bg);
  border-radius: 9999px;
  font-weight: 600;
  font-size: .875rem;
  padding: .75rem 1.5rem;
  box-shadow: 0 4px 20px rgba(201,168,76,.2);
  transition: filter .2s, transform .15s;
  width: 100%;
}
.btn-whatsapp:hover  { filter: brightness(1.1); }
.btn-whatsapp:active { transform: scale(.98); }
.btn-whatsapp svg { width: 1rem; height: 1rem; }
.btn-whatsapp--lg { font-size: 1rem; padding: 1rem 2rem; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-section {
  padding: 4rem 1.25rem;
  max-width: 48rem;
  margin: 0 auto;
}
.faq-section h2 {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 2rem;
}
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(42,37,32,.5);
  overflow: hidden;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  width: 100%;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg);
  background: none;
  border: none;
  cursor: pointer;
}
.faq-question svg {
  color: var(--gold);
  width: 1.25rem; height: 1.25rem;
  flex-shrink: 0;
  transition: transform .25s;
}
.faq-item.is-open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 1.25rem 1.25rem;
  font-size: .875rem;
  line-height: 1.7;
  color: var(--fg-muted);
}
.faq-item.is-open .faq-answer { display: block; }

/* ── Final CTA ───────────────────────────────────────────── */
.final-cta-section {
  padding: 2rem 1.25rem 5rem;
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}
.final-cta-box {
  border: 1px solid rgba(201,168,76,.35);
  border-radius: 1.75rem;
  background: rgba(42,37,32,.5);
  padding: 3rem 1.5rem;
}
.final-cta-box h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--fg);
  margin-bottom: .75rem;
}
.final-cta-box p { color: var(--fg-muted); margin-bottom: 1.75rem; }
.final-cta-box .btn-whatsapp { width: auto; }

/* ── Feature list (consulta ao vivo / empresarios) ───────── */
.feature-list-section {
  padding: 3.5rem 1.25rem;
  max-width: 48rem;
  margin: 0 auto;
}
.feature-list-section h2 {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 2rem;
}
.feature-list { display: flex; flex-direction: column; gap: 1rem; }
.feature-list.is-grid { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .feature-list.is-grid { grid-template-columns: 1fr; } }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(42,37,32,.5);
  padding: 1rem 1.25rem;
}
.feature-item svg { color: var(--gold); width: 1.25rem; height: 1.25rem; margin-top: .1rem; flex-shrink: 0; }
.feature-item span { color: var(--fg); font-size: .9375rem; }

.delivery-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(201,168,76,.3);
  border-radius: var(--radius);
  background: rgba(42,37,32,.4);
  padding: 1.25rem 1.5rem;
  text-align: center;
  margin-top: 2rem;
}
.delivery-bar__item { display: flex; align-items: center; gap: .75rem; font-size: .875rem; color: var(--fg); }
.delivery-bar__item svg { color: var(--gold); width: 1.25rem; height: 1.25rem; }
.delivery-bar__divider { width: 100%; height: 1px; background: var(--border); }

@media (min-width: 560px) {
  .delivery-bar { flex-direction: row; justify-content: center; gap: 2rem; text-align: left; }
  .delivery-bar__divider { width: 1px; height: 2rem; }
}

/* ── Question Selector (outro assunto) ───────────────────── */
.question-selector-section {
  padding: 3.5rem 1.25rem;
  max-width: 36rem;
  margin: 0 auto;
}
.question-selector-box {
  border: 1px solid rgba(201,168,76,.35);
  border-radius: var(--radius-xl);
  background: rgba(42,37,32,.5);
  padding: 2rem 1.5rem;
  text-align: center;
}
.question-selector-box h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--fg);
}
.question-selector-box .subtitle {
  margin-top: .5rem;
  font-size: .875rem;
  color: var(--fg-muted);
}
.qs-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
}
.qs-btn {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,.5);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.qs-btn:hover { background: rgba(201,168,76,.1); }
.qs-btn:disabled { opacity: .3; cursor: not-allowed; }
.qs-btn svg { width: 1.25rem; height: 1.25rem; }
.qs-display { min-width: 5rem; }
.qs-display__number { font-family: var(--font-heading); font-size: 3.5rem; font-weight: 600; color: var(--fg); line-height: 1; }
.qs-display__label { font-size: .7rem; text-transform: uppercase; letter-spacing: .15em; color: var(--fg-muted); margin-top: .25rem; }
.qs-price { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 600; color: var(--gold); margin-bottom: 2rem; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(42,37,32,.4);
  padding: 3rem 1.25rem 2rem;
}
.site-footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.footer-brand p {
  margin-top: .75rem;
  font-size: .875rem;
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 22rem;
}
.footer-nav__title,
.footer-contact__title {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: rgba(201,168,76,.8);
  margin-bottom: .75rem;
}
.footer-nav__links,
.footer-contact__links { display: flex; flex-direction: column; gap: .625rem; }
.footer-nav__links a,
.footer-contact__links a {
  font-size: .875rem;
  color: var(--fg-muted);
  transition: color .2s;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.footer-nav__links a:hover,
.footer-contact__links a:hover { color: var(--gold); }
.footer-contact__links svg { width: 1rem; height: 1rem; }

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201,168,76,.15);
  text-align: center;
  font-size: .75rem;
  color: var(--fg-muted);
}

@media (min-width: 768px) {
  .site-footer__inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}
