/* ==========================================================================
   CORTEAQUI — LANDING PAGE INSTITUCIONAL (CSS OFICIAL)
   ========================================================================== */

:root {
  --bg-main: #0a0d12;
  --bg-darker: #0d1017;
  --bg-card: #151921;
  --bg-input: #1f2633;
  --border-color: #1e2633;
  --border-card: #2d3748;
  
  --gold: #d4af37;
  --gold-glow: rgba(212, 175, 55, 0.35);
  --gold-bg: rgba(212, 175, 55, 0.12);
  
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.35);
  --emerald-bg: rgba(16, 185, 129, 0.15);

  --purple: #c084fc;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-sub: #64748b;
  
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: var(--text-main);
}

body {
  overflow-x: hidden;
  line-height: 1.5;
}

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

/* ================= UTILITIES & CONTAINERS ================= */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.bg-darker {
  background-color: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.text-gold { color: var(--gold); }
.text-emerald { color: var(--emerald); }
.text-purple { color: var(--purple); }

.icon-gold { color: var(--gold); background: var(--gold-bg); border: 1px solid var(--gold); }
.icon-emerald { color: var(--emerald); background: var(--emerald-bg); border: 1px solid var(--emerald); }

/* ================= BUTTONS ================= */
.btn-primary {
  background: linear-gradient(135deg, #d4af37 0%, #b89628 100%);
  color: #000;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border-card);
  color: var(--text-main);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-muted);
}

.btn-outline {
  background: var(--bg-card);
  border: 1.5px solid var(--border-card);
  color: var(--text-main);
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  border-color: var(--emerald);
  background: var(--emerald-bg);
}

.btn-emerald {
  background: var(--emerald-bg);
  border: 1.5px solid var(--emerald);
  color: var(--emerald);
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-emerald:hover {
  background: var(--emerald);
  color: #000;
  box-shadow: 0 4px 20px var(--emerald-glow);
}

.btn-large {
  padding: 14px 28px;
  font-size: 15px;
}

.btn-full {
  width: 100%;
  padding: 13px;
  border-radius: 14px;
  justify-content: center;
  font-size: 14px;
}

/* ================= 1. NAVBAR ================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 13, 18, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-pin {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 2px 8px var(--gold-glow));
}

.logo-text {
  height: 30px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ================= 2. HERO SECTION ================= */
.hero-section {
  padding: 110px 0 80px;
  text-align: center;
  position: relative;
  background-image: 
    radial-gradient(circle at center, rgba(10, 13, 18, 0.65) 0%, rgba(10, 13, 18, 0.92) 75%, #0a0d12 100%),
    linear-gradient(180deg, rgba(10, 13, 18, 0.4) 0%, rgba(10, 13, 18, 0.95) 85%, #0a0d12 100%),
    url('assets/hero-bg.jpg');
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--border-color);
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.16);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(212, 175, 55, 0.5);
  border-radius: 30px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 24px;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.25);
}

.hero-title {
  font-size: clamp(34px, 5.8vw, 60px);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 22px;
  background: linear-gradient(135deg, #ffffff 40%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
  font-size: clamp(15px, 2vw, 19px);
  color: #cbd5e1;
  max-width: 760px;
  margin: 0 auto 38px;
  line-height: 1.65;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 54px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  max-width: 940px;
  margin: 0 auto;
}

.stat-card {
  background: rgba(18, 22, 31, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(45, 55, 72, 0.85);
  border-radius: 20px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s, border-color 0.2s;
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.stat-value {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 4px;
}

.stat-desc {
  font-size: 12px;
  color: var(--text-muted);
}

/* ================= 3. DUPLA PROPOSTA ================= */
.section-header {
  text-align: center;
  margin-bottom: 44px;
}

.section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.audience-card {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.card-barber {
  border: 1.5px solid rgba(212, 175, 55, 0.4);
}

.card-host {
  border: 1.5px solid rgba(16, 185, 129, 0.4);
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-title {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 10px;
}

.card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
  flex-grow: 1;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #e2e8f0;
}

.benefit-icon {
  flex-shrink: 0;
  margin-top: 2px;
  width: 17px;
  height: 17px;
}

/* ================= 4. SIMULADOR ================= */
.calculator-box {
  background: linear-gradient(180deg, var(--bg-card) 0%, #0d1017 100%);
  border: 1.5px solid var(--gold);
  border-radius: 28px;
  padding: 40px 30px;
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.15);
}

.calc-header {
  text-align: center;
  margin-bottom: 36px;
}

.calc-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.calc-title {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 900;
}

.calc-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

.calc-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 36px;
  align-items: center;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.control-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
}

.val-gold { color: var(--gold); font-size: 15px; }
.val-emerald { color: var(--emerald); font-size: 15px; }
.val-purple { color: var(--purple); font-size: 15px; }

.slider {
  width: 100%;
  height: 6px;
  border-radius: 6px;
  outline: none;
  cursor: pointer;
}

.slider-gold { accent-color: var(--gold); }
.slider-emerald { accent-color: var(--emerald); }
.slider-purple { accent-color: var(--purple); }

.calc-result-box {
  background: var(--bg-main);
  border: 1.5px solid var(--border-card);
  border-radius: 22px;
  padding: 28px 24px;
  text-align: center;
}

.result-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.result-main {
  font-size: clamp(34px, 4.5vw, 44px);
  font-weight: 900;
  margin: 12px 0 6px;
  text-shadow: 0 0 25px rgba(16, 185, 129, 0.4);
}

.period {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 600;
}

.result-annual {
  font-size: 13px;
  margin-bottom: 22px;
}

/* ================= 5. COMO FUNCIONA ================= */
.toggle-tabs {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 30px;
  padding: 4px;
  margin-top: 24px;
}

.tab-btn {
  background: transparent;
  color: var(--text-muted);
  border: none;
  padding: 9px 22px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn.active {
  background: var(--gold);
  color: #000;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 22px;
  padding: 28px 22px;
  text-align: center;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 19px;
  font-weight: 900;
}

.step-num-gold {
  background: var(--gold-bg);
  color: var(--gold);
}

.step-num-emerald {
  background: var(--emerald-bg);
  color: var(--emerald);
}

.step-title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ================= 6. SEGURANÇA ================= */
.security-card {
  background: linear-gradient(135deg, #151921 0%, #10141b 100%);
  border: 1px solid #2d3748;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.security-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--gold-bg);
  border: 1.5px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.security-icon i {
  width: 32px;
  height: 32px;
}

.security-title {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 6px;
}

.security-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ================= 7. FAQ ================= */
.faq-container {
  max-width: 820px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.active {
  border-color: var(--gold);
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-arrow {
  width: 18px;
  height: 18px;
  color: var(--gold);
  transition: transform 0.2s ease;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 22px 18px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ================= 8. CTA FINAL ================= */
.cta-final-section {
  padding: 90px 0;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.18) 0%, var(--bg-main) 70%);
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.cta-final-content {
  max-width: 720px;
}

.cta-final-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cta-final-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 34px;
  line-height: 1.6;
}

.cta-final-buttons {
  display: flex;
  justify-content: center;
}

/* ================= 9. FOOTER ================= */
.footer {
  padding: 34px 0;
  border-top: 1px solid var(--border-color);
  background: #07090d;
  font-size: 12px;
  color: var(--text-sub);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo {
  height: 24px;
  width: auto;
}

.footer-copy {
  color: var(--text-muted);
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold);
}

/* ================= RESPONSIVO MOBILE ================= */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .section {
    padding: 60px 0;
  }

  .security-card {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}
