/*
Theme Name: Misaviaja - Gestão Elite Miles
Theme URI: https://misaviaja.com.br
Author: Misaviaja
Author URI: https://misaviaja.com.br
Description: Tema premium para landing page de alta conversão - Gestão Elite Miles
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: misaviaja
*/

/* ========================================
   RESET & BASE
======================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg: hsl(220, 20%, 7%);
  --fg: hsl(40, 15%, 90%);
  --card: hsl(220, 18%, 10%);
  --primary: hsl(40, 55%, 52%);
  --primary-fg: hsl(220, 20%, 7%);
  --secondary: hsl(220, 15%, 14%);
  --secondary-fg: hsl(40, 15%, 85%);
  --muted: hsl(220, 12%, 18%);
  --muted-fg: hsl(220, 10%, 55%);
  --border: hsl(220, 12%, 18%);
  --gold-gradient: linear-gradient(135deg, hsl(40, 55%, 52%), hsl(35, 65%, 62%));
  --gold-gradient-text: linear-gradient(135deg, hsl(40, 55%, 52%), hsl(35, 65%, 65%));
  --radius: 0.375rem;
}

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

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
}

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

img {
  max-width: 100%;
  height: auto;
}

/* ========================================
   UTILITIES
======================================== */
.container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow {
  max-width: 768px;
}

.container--form {
  max-width: 576px;
}

.text-center {
  text-align: center;
}

.section-spacing {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .section-spacing {
    padding: 7rem 0;
  }
}

@media (min-width: 1024px) {
  .section-spacing {
    padding: 8rem 0;
  }
}

.text-gold-gradient {
  background: var(--gold-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gold-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  margin: 0 auto;
}

.bg-secondary {
  background-color: var(--secondary);
}

/* ========================================
   TYPOGRAPHY
======================================== */
.label-upper {
  color: var(--primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.heading-lg {
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .heading-lg {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .heading-lg {
    font-size: 3.75rem;
  }
}

.heading-md {
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .heading-md {
    font-size: 2.25rem;
  }
}

.text-body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--muted-fg);
  line-height: 1.7;
}

.text-body--light {
  color: var(--secondary-fg);
}

.text-sm {
  font-size: 0.875rem;
}

.text-xs {
  font-size: 0.75rem;
}

/* ========================================
   CTA BUTTON
======================================== */
.cta-btn {
  display: inline-block;
  background-color: var(--primary);
  color: var(--primary-fg);
  padding: 1rem 2.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  filter: brightness(1.1);
  transform: scale(1.03);
}

.cta-btn:active {
  transform: scale(0.98);
}

.cta-btn--full {
  width: 100%;
}

.cta-microcopy {
  color: var(--muted-fg);
  font-size: 0.75rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.05em;
  margin-top: 0.75rem;
}

/* ========================================
   HERO
======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, hsla(220, 20%, 7%, 0.6) 0%, hsla(220, 20%, 7%, 0.92) 100%);
}

.hero__content {
  position: relative;
  z-index: 10;
  max-width: 896px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.hero__subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--secondary-fg);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

@media (min-width: 768px) {
  .hero__subtitle {
    font-size: 1.25rem;
  }
}

.hero__bullets {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .hero__bullets {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }
}

.hero__bullet {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary-fg);
  font-size: 0.875rem;
}

.hero__bullet svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
  flex-shrink: 0;
}

/* ========================================
   QUALIFICATION
======================================== */
.qualification__list {
  list-style: none;
  margin-bottom: 3.5rem;
}

.qualification__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fg);
}

.qualification__item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* ========================================
   PAIN / CONTRAST
======================================== */
.pain-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .pain-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.pain-card {
  background: hsla(220, 20%, 7%, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.pain-card--highlight {
  border-color: hsla(40, 55%, 52%, 0.3);
}

.pain-card__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.pain-card__label--muted {
  color: var(--muted-fg);
}

.pain-card__label--primary {
  color: var(--primary);
}

.pain-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  line-height: 1.6;
}

.pain-card__list--muted {
  color: var(--muted-fg);
}

.pain-card__list--light {
  color: var(--fg);
}

/* ========================================
   AUTHORITY / PILLARS
======================================== */
.pillars-grid {
  display: grid;
  gap: 2rem;
}

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

.pillar {
  text-align: center;
}

.pillar__icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1.25rem;
  border-radius: var(--radius);
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar__icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.pillar__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.pillar__desc {
  color: var(--muted-fg);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ========================================
   HOW IT WORKS (STEPS)
======================================== */
.steps {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 4rem;
}

.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .step {
    gap: 2rem;
  }
}

.step__num {
  color: var(--primary);
  font-family: 'Playfair Display', serif;
  font-size: 1.875rem;
  font-weight: 600;
  flex-shrink: 0;
  opacity: 0.6;
}

.step__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step__desc {
  color: var(--muted-fg);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 32rem;
}

/* ========================================
   BENEFITS
======================================== */
.benefits-grid {
  display: grid;
  gap: 2rem;
}

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

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit__icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.benefit__title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.benefit__desc {
  color: var(--muted-fg);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ========================================
   DIFFERENTIAL
======================================== */
.diff-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .diff-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.diff-card {
  border: 1px solid hsla(40, 55%, 52%, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.diff-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
}

/* ========================================
   GUARANTEE
======================================== */
.guarantee {
  text-align: center;
}

.guarantee__icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary);
  margin: 0 auto 1.5rem;
}

/* ========================================
   FAQ
======================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: hsla(220, 20%, 7%, 0.5);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
  text-align: left;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question__arrow {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--muted-fg);
}

.faq-item.is-open .faq-question__arrow {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--muted-fg);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  line-height: 1.6;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* ========================================
   FORM
======================================== */
.form-input,
.form-select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: var(--fg);
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder {
  color: var(--muted-fg);
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-privacy {
  text-align: center;
  color: var(--muted-fg);
  font-size: 0.75rem;
  font-family: 'Inter', sans-serif;
  margin-top: 0.75rem;
}

/* ========================================
   FOOTER
======================================== */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer__brand {
  color: var(--primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer__sub {
  color: var(--muted-fg);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
}
