/* ===================================
   DESAFIO MV - Landing Page
   Identidade Visual: André Varella
   =================================== */

/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Paleta de Cores - Manual de Identidade Visual */
  --black: #000000;
  --black-light: #1C1D21;
  --black-lighter: #1a1a1a;
  --gray-dark: #2a2a2a;
  --gray: #888;
  --gray-light: #EAE9F2;
  --white: #f5f5f5;

  /* Cor Principal - Amarelo/Dourado (NÃO laranja!) */
  --gold: #FDB835;
  --gold-light: #fdc94d;
  --gold-glow: rgba(253, 184, 53, 0.3);

  /* Cores Semânticas */
  --success: #69db7c;
  --success-bg: #204a20;
  --error: #ff6b6b;
  --error-bg: #4a2020;

  /* Tipografia */
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Espaçamentos */
  --section-padding: 60px;
  --section-padding-mobile: 40px;
  --container-max: 1200px;
  --container-padding: 24px;

  /* Header */
  --header-height: 80px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--black);
  color: var(--white);
  line-height: 1.7;
}

/* === UTILITIES === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

/* Divisor visual entre seções */
.section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 800px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  opacity: 0.5;
}

/* Divisor no hero também */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 800px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  opacity: 0.5;
}

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

.text-gray {
  color: var(--gray);
}

/* === HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--gray-dark);
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-logo {
  height: 45px;
  width: auto;
}

.header-logo svg {
  height: 100%;
  width: auto;
}

.header-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.header-cta:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 20px 48px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 24px var(--gold-glow);
}

.btn:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px var(--gold-glow);
}

/* === HERO === */
.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, var(--black) 0%, var(--black-light) 100%);
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-text {
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background: var(--gray-dark);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 32px;
  color: var(--white);
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-image-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--gray-dark) 0%, var(--black-lighter) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--gray);
  border: 1px solid var(--gray-dark);
}

/* === PROBLEMA === */
.problema {
  background: var(--black-light);
}

.problema-content {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.problema-watermark {
  position: absolute;
  top: 50%;
  right: -10%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  pointer-events: none;
  z-index: 0;
}

.problema-watermark svg {
  width: 100%;
  height: 100%;
}

.problema-text {
  position: relative;
  z-index: 1;
}

.problema-text h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.2;
  text-transform: uppercase;
}

.problema-text p {
  color: var(--gray);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

/* === RESET SECTION === */
.reset {
  text-align: center;
  background: linear-gradient(180deg, var(--black-light) 0%, var(--black) 100%);
}

.reset h2 {
  font-family: var(--font-display);
  font-size: 3rem;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.reset p {
  font-size: 1.3rem;
  color: var(--gray);
  margin-bottom: 8px;
}

.reset .highlight {
  color: var(--white);
  font-weight: 600;
}

.reset .btn {
  margin-top: 40px;
}

/* === MÉTODO === */
.metodo {
  background: var(--black);
}

.metodo-header {
  text-align: center;
  margin-bottom: 60px;
}

.metodo-header h2 {
  font-family: var(--font-display);
  font-size: 5rem;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.metodo-label {
  color: var(--gray);
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.metodo-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.metodo-content p {
  font-size: 1.15rem;
  color: var(--gray);
  margin-bottom: 24px;
}

.pilares {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.pilar {
  background: var(--black-lighter);
  padding: 40px 30px;
  border-radius: 16px;
  border: 1px solid var(--gray-dark);
  transition: all 0.3s ease;
  text-align: center;
}

.pilar:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
}

.pilar-icon {
  width: 60px;
  height: 60px;
  background: var(--gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.pilar-icon svg {
  stroke: var(--black);
  color: var(--black);
}

.pilar h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.pilar p {
  font-size: 0.95rem;
  color: var(--gray);
}

/* === MENTOR === */
.mentor {
  background: var(--black-light);
}

.mentor-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.mentor-image {
  position: relative;
  width: 100%;
  max-width: 400px;
}

/* Fallback para aspect-ratio (Safari < 15) */
.mentor-image::before {
  content: '';
  display: block;
  padding-bottom: 133.33%; /* 4/3 = 1.333 (aspect-ratio 3/4) */
}

.mentor-image-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--gray-dark) 0%, var(--black-lighter) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--gray);
  border: 1px solid var(--gray-dark);
}

.mentor-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  border: 1px solid var(--gray-dark);
}

.mentor-label {
  display: block;
  color: var(--gray);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.mentor-text h2 {
  font-family: var(--font-display);
  font-size: 4rem;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.mentor-text p {
  color: var(--gray);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

/* === CAIXAS (Para quem é / não é) === */
.caixas {
  background: var(--black-light);
}

.caixas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.caixa {
  background: var(--black);
  padding: 40px 30px;
  border-radius: 16px;
  border: 1px solid var(--gray-dark);
}

.caixa-nao {
  border-color: var(--error-bg);
}

.caixa-sim {
  border-color: var(--success-bg);
}

.caixa-resultado {
  border-color: var(--gold);
}

.caixa h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-dark);
  text-transform: uppercase;
}

.caixa-nao h3 {
  color: var(--error);
}

.caixa-sim h3 {
  color: var(--success);
}

.caixa-resultado h3 {
  color: var(--gold);
}

.caixa ul {
  list-style: none;
}

.caixa li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--gray);
}

.caixa li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.icon-x {
  color: var(--error);
  stroke: var(--error);
}

.icon-check {
  color: var(--success);
  stroke: var(--success);
}

.icon-gold {
  color: var(--gold);
  stroke: var(--gold);
}

/* === CHAMADA FINAL === */
.chamada-final {
  background: var(--black);
  text-align: center;
}

.chamada-final-content {
  max-width: 800px;
  margin: 0 auto;
}

.chamada-final h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.3;
  text-transform: uppercase;
}

.chamada-final p {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 20px;
}

.chamada-final .btn {
  margin-top: 40px;
}

/* === PREÇO === */
.preco {
  background: linear-gradient(180deg, var(--black) 0%, var(--black-light) 100%);
}

.preco-card {
  max-width: 500px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--black-lighter) 0%, var(--black) 100%);
  border: 2px solid var(--gold);
  border-radius: 24px;
  padding: 50px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.preco-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
}

.preco-de {
  color: var(--gray);
  font-size: 1.1rem;
  text-decoration: line-through;
  margin-bottom: 8px;
}

.preco-por {
  font-size: 1rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
}

.preco-valor {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 400;
  margin-bottom: 8px;
}

.preco-valor span {
  font-size: 2rem;
  vertical-align: top;
}

.preco-parcelado {
  color: var(--gray);
  margin-bottom: 8px;
}

.preco-avista {
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.preco-card .btn {
  width: 100%;
  font-size: 1.1rem;
}

.preco-info {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--gray);
}

.preco-info span {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* === GARANTIA === */
.garantia {
  background: var(--black-light);
}

.garantia-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.garantia-icon {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.garantia-icon svg {
  stroke: var(--black);
  color: var(--black);
}

.garantia-text h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.garantia-text p {
  color: var(--gray);
  font-size: 1rem;
}

/* === FAQ === */
.faq {
  background: var(--black);
}

.faq h2 {
  font-family: var(--font-display);
  text-align: center;
  font-size: 3rem;
  margin-bottom: 60px;
  text-transform: uppercase;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--black-lighter);
  border: 1px solid var(--gray-dark);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-question {
  padding: 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

.faq-question .faq-icon {
  transition: transform 0.3s ease;
  font-size: 1.5rem;
  color: var(--gold);
}

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

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

.faq-answer-content {
  padding: 0 24px 24px;
  color: var(--gray);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq .btn {
  display: block;
  width: fit-content;
  margin: 60px auto 0;
}

/* === FOOTER === */
.footer {
  background: var(--black-light);
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid var(--gray-dark);
}

.footer-logo {
  height: 40px;
  margin-bottom: 16px;
}

.footer-logo svg {
  height: 100%;
  width: auto;
}

.footer p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* ===================================
   RESPONSIVIDADE
   =================================== */

/* Tablet Landscape */
@media (max-width: 1024px) {
  :root {
    --section-padding: 50px;
  }

  .hero-title {
    font-size: 4rem;
  }

  .pilares {
    gap: 24px;
  }

  .pilar {
    padding: 30px 20px;
  }
}

/* Tablet Portrait */
@media (max-width: 968px) {
  .header-cta {
    padding: 10px 20px;
    font-size: 0.8rem;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .mentor-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mentor-image {
    max-width: 350px;
    margin: 0 auto;
  }

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

  .problema-watermark {
    right: -20%;
    width: 400px;
    height: 400px;
    opacity: 0.7;
  }

  .pilares {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .caixas-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .garantia-content {
    flex-direction: column;
    text-align: center;
  }

  .metodo-header h2 {
    font-size: 3rem;
  }

  .reset h2 {
    font-size: 2.5rem;
  }
}

/* Mobile */
@media (max-width: 600px) {
  :root {
    --section-padding: 40px;
    --container-padding: 20px;
    --header-height: 70px;
  }

  .header-logo {
    height: 35px;
  }

  .header-cta {
    padding: 8px 16px;
    font-size: 0.75rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .btn {
    padding: 16px 32px;
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
  }

  .preco-valor {
    font-size: 4rem;
  }

  .preco-card {
    padding: 40px 24px;
  }

  .metodo-header h2 {
    font-size: 2.5rem;
  }

  .faq h2 {
    font-size: 2.5rem;
  }

  .reset h2 {
    font-size: 2rem;
  }

  .reset p {
    font-size: 1.1rem;
  }

  .problema-text h2,
  .chamada-final h2 {
    font-size: 2rem;
  }

  .problema-watermark {
    right: -30%;
    width: 300px;
    height: 300px;
    top: 30%;
  }

  .mentor-text h2 {
    font-size: 2.5rem;
  }

  .mentor-image {
    max-width: 280px;
  }

  .icon-placeholder {
    width: 200px;
    height: 200px;
  }

  .garantia-icon {
    width: 100px;
    height: 100px;
    font-size: 2rem;
  }

  .preco-info {
    flex-direction: column;
    gap: 12px;
  }
}

/* Mobile Small */
@media (max-width: 380px) {
  .hero-title {
    font-size: 2rem;
  }

  .preco-valor {
    font-size: 3rem;
  }

  .metodo-header h2,
  .faq h2 {
    font-size: 2rem;
  }
}

/* === WHATSAPP FLOAT BUTTON === */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

/* WhatsApp button responsive */
@media (max-width: 600px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 16px;
    right: 16px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}
