/* ==================== RESET & VARIÁVEIS ==================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0B0C10;
  --bg-card: #1A1A1F;
  --primary: #F85E3A;
  --primary-dark: #E04B2D;
  --secondary: #7C3AED;
  --accent: #2DD4BF;
  --text-light: #FFFFFF;
  --text-muted: #CDD6E0;
  --glass-bg: rgba(26, 26, 31, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --radius: 16px;
  --transition: 0.3s ease;
  --font: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-light);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Partículas sutis no fundo (estáticas) */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 30%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
                    radial-gradient(circle at 80% 70%, rgba(248, 94, 58, 0.06) 0%, transparent 50%),
                    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.05), transparent),
                    radial-gradient(1px 1px at 30% 70%, rgba(255,255,255,0.03), transparent),
                    radial-gradient(1px 1px at 60% 40%, rgba(255,255,255,0.04), transparent),
                    radial-gradient(1px 1px at 80% 10%, rgba(255,255,255,0.03), transparent),
                    radial-gradient(1px 1px at 90% 90%, rgba(255,255,255,0.04), transparent);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

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

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

/* ==================== TIPOGRAFIA ==================== */
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section__title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1.1;
  letter-spacing: -1px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.section__subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* ==================== BOTÕES ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 4px 15px rgba(248, 94, 58, 0.4), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(248, 94, 58, 0.6), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn--primary:active {
  transform: scale(0.95);
}

.btn--secondary {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--text-light);
  box-shadow: none;
}

.btn--secondary:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

.btn--pulse {
  animation: pulse 2s infinite;
}

.btn--lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(248, 94, 58, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(248, 94, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(248, 94, 58, 0); }
}

/* ==================== HEADER / NAV ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(11, 12, 16, 0.85);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav__logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav__link {
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--primary);
}

.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav__list {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(11, 12, 16, 0.95);
    backdrop-filter: blur(20px);
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    border-bottom: 1px solid var(--glass-border);
  }
  .nav__list.active {
    transform: translateY(0);
  }
  .nav__toggle {
    display: block;
  }
}

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

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(124, 58, 237, 0.2), transparent 70%),
              radial-gradient(circle at 70% 50%, rgba(248, 94, 58, 0.15), transparent 70%);
}

.hero__particles span {
  position: absolute;
  display: block;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.4;
  animation: float 6s infinite ease-in-out;
}

.hero__particles span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.hero__particles span:nth-child(2) { left: 20%; top: 70%; animation-delay: 1s; background: var(--secondary); }
.hero__particles span:nth-child(3) { left: 40%; top: 10%; animation-delay: 2s; }
.hero__particles span:nth-child(4) { left: 60%; top: 80%; animation-delay: 0.5s; background: var(--secondary); }
.hero__particles span:nth-child(5) { left: 80%; top: 30%; animation-delay: 1.5s; }
.hero__particles span:nth-child(6) { left: 90%; top: 60%; animation-delay: 2.5s; background: var(--secondary); }
.hero__particles span:nth-child(7) { left: 15%; top: 85%; animation-delay: 3s; }
.hero__particles span:nth-child(8) { left: 70%; top: 45%; animation-delay: 0.8s; }
.hero__particles span:nth-child(9) { left: 50%; top: 50%; animation-delay: 2.2s; background: var(--secondary); }
.hero__particles span:nth-child(10) { left: 30%; top: 40%; animation-delay: 1.8s; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
  50% { transform: translateY(-30px) scale(1.3); opacity: 0.8; }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(45, 212, 191, 0.15);
  color: var(--accent);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(45, 212, 191, 0.3);
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  font-size: 2rem;
  font-weight: 800;
  display: block;
  color: var(--primary);
}

.hero__stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-muted);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ==================== SEÇÕES GERAIS ==================== */
.section {
  padding: 6rem 0;
}

.page-container {
  padding-top: 100px;
  min-height: calc(100vh - 200px);
}

/* ==================== DEPOIMENTOS ==================== */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.testimonial-card__stars {
  color: var(--primary);
  margin-bottom: 1rem;
}

.testimonial-card__text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-card__avatar {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* ==================== FAQ ==================== */
.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq__item {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  cursor: pointer;
}

.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  list-style: none;
}

.faq__icon {
  transition: transform 0.3s ease;
}

.faq__item[open] .faq__icon {
  transform: rotate(45deg);
}

.faq__item p {
  margin-top: 1rem;
  color: var(--text-muted);
}

/* ==================== CTA ==================== */
.cta__card {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(248, 94, 58, 0.1));
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 4rem 2rem;
  text-align: center;
}

.cta__card h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta__card p {
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

/* ==================== ESCOLHA DE BIOTIPO ==================== */
.biotype-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 2.5rem;
}

.biotype-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.biotype-card {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, outline 0.3s ease;
  position: relative;
}

/* Overlay gradiente na parte inferior para destacar nome */
.biotype-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, rgba(11, 12, 16, 0.7), transparent);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s;
}

.biotype-card:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 50px rgba(248, 94, 58, 0.2);
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.biotype-card:hover::after {
  opacity: 0.8;
}

.biotype-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.3s;
}

.biotype-card:hover img {
  filter: brightness(1.1);
}

.biotype-wrapper h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: 3px;
  margin: 0;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.biotype-wrapper .btn {
  padding: 12px 40px;
}

/* ==================== QUESTIONÁRIO ==================== */
.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  margin-bottom: 3rem;
  position: relative;
}

.progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 10px;
  width: 0%;
  transition: width 0.5s ease;
}

.progress-bar__text {
  position: absolute;
  right: 0;
  top: -25px;
  font-weight: 600;
  color: var(--primary);
}

.quiz__container {
  max-width: 700px;
  margin: 0 auto;
  min-height: 300px;
}

.quiz__question {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.quiz__question h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.quiz__options {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.quiz__option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.quiz__option:hover {
  background: rgba(124, 58, 237, 0.15);
}

.quiz__option.selected {
  background: rgba(124, 58, 237, 0.25);
  border-color: var(--secondary);
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.3);
}

.quiz__option input[type="radio"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--text-muted);
  border-radius: 50%;
  position: relative;
  transition: all 0.2s;
}

.quiz__option input[type="radio"]:checked {
  border-color: var(--secondary);
  background: var(--secondary);
  box-shadow: 0 0 8px var(--secondary);
}

.quiz__option input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}

.quiz__actions {
  text-align: center;
  margin-top: 2rem;
}

/* ==================== RESULTADO (premium) ==================== */
.resultado__card {
  text-align: center;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  padding: 3rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.resultado__title {
  font-size: 2.8rem;
  font-weight: 900;
  margin: 1.5rem 0 0.5rem;
  letter-spacing: -1px;
}

.resultado__image {
  width: 180px;
  height: 180px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--primary);
  box-shadow: 0 0 30px rgba(248, 94, 58, 0.5);
  background: var(--bg-card);
}

.resultado__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resultado__desc {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.resultado__info {
  text-align: left;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.resultado__box {
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--glass-border);
  transition: transform 0.2s;
}

.resultado__box:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
}

.resultado__box h3 {
  color: var(--primary);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.resultado__box h3 i {
  color: var(--secondary);
}

.resultado__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Badge de garantia */
.garantia-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(45, 212, 191, 0.1);
  color: var(--accent);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-top: 1rem;
  border: 1px solid rgba(45, 212, 191, 0.3);
}

/* Depoimento específico no resultado */
.resultado__depoimento {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 2rem;
  text-align: left;
  font-style: italic;
}

/* ==================== FOOTER ==================== */
.footer {
  background: rgba(0,0,0,0.3);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__links ul {
  list-style: none;
  margin-top: 0.5rem;
}

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

.footer__links a:hover {
  color: var(--primary);
}

.footer__social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  font-size: 1.5rem;
}

.footer__bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ==================== ANIMAÇÕES ==================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-transition {
  animation: fadeTransition 0.3s ease;
}

@keyframes fadeTransition {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mt-2 { margin-top: 2rem; }
.text-center { text-align: center; }
