/*
Theme Name: PHORMA Landing Quiz
Theme URI: https://seusite.com/
Author: Sua Clínica PHORMA
Author URI: https://seusite.com/
Description: Tema de página única para landing page do Quiz de Emagrecimento PHORMA, focado em mobile first e CTAs para conversão.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: phorma-landing-quiz
Tags: landing-page, one-column, responsive-layout, quiz, marketing
*/

/* ==============================
   RESET BÁSICO
   ============================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #050711;
  color: #f7f5f0;
  line-height: 1.5;
}

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

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

button {
  font-family: inherit;
}

/* ==============================
   PALETA E DESIGN SYSTEM
   ============================== */

:root {
  --phorma-bg: #050711;
  --phorma-surface: rgba(11, 15, 32, 0.96);
  --phorma-surface-soft: rgba(12, 18, 40, 0.9);
  --phorma-border: rgba(148, 163, 184, 0.35);
  --phorma-border-soft: rgba(148, 163, 184, 0.22);
  --phorma-gold: #facc6b;
  --phorma-gold-soft: #fbbf24;
  --phorma-gold-deep: #b45309;
  --phorma-text: #e5e7eb;
  --phorma-text-muted: #9ca3af;
  --phorma-danger: #fca5a5;
  --phorma-radius-lg: 22px;
  --phorma-radius-md: 16px;
  --phorma-radius-pill: 999px;
  --phorma-shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.9);
  --phorma-shadow-gold: 0 0 32px rgba(250, 204, 21, 0.5);
}

.body-phorma {
  background: radial-gradient(circle at top, #0b1120 0, #020617 35%, #020617 100%);
  color: var(--phorma-text);
}

.container-phorma {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-phorma {
  padding: 3rem 0 4.5rem;
}

/* ==============================
   HEADER / HERO
   ============================== */

.site-header-phorma {
  border-bottom: 1px solid rgba(148, 163, 184, 0.45);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.84));
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0.5rem;
}

.site-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-logo-circle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(250, 204, 21, 0.7);
  background: radial-gradient(circle at 20% 0%, #facc6b 0, #78350f 60%, #020617 100%);
  box-shadow: 0 0 25px rgba(250, 204, 21, 0.45);
}

.site-title-stack {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.site-title-main {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--phorma-gold);
}

.site-title-sub {
  font-size: 0.7rem;
  color: var(--phorma-text-muted);
}

.site-header-badge {
  font-size: 0.68rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: radial-gradient(circle at top left, rgba(250, 204, 21, 0.35), rgba(15, 23, 42, 0.96));
  color: var(--phorma-text-muted);
}

.hero-phorma {
  padding-top: 1.5rem;
  padding-bottom: 2.75rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--phorma-gold);
}

.hero-title {
  font-size: 1.9rem;
  line-height: 1.2;
  font-weight: 700;
}

.hero-title span {
  color: var(--phorma-gold);
}

.hero-subtitle {
  font-size: 0.92rem;
  color: var(--phorma-text-muted);
}

.hero-bullets {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.hero-bullet {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--phorma-text-muted);
}

.hero-bullet-icon {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #4ade80;
}

.hero-aside {
  border-radius: var(--phorma-radius-lg);
  padding: 1.1rem;
  background: radial-gradient(circle at 0 0, rgba(250, 204, 21, 0.35), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(250, 204, 21, 0.7);
  box-shadow: var(--phorma-shadow-gold);
}

.hero-aside-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.hero-aside-text {
  font-size: 0.8rem;
  color: #fef3c7;
}

/* ==============================
   QUIZ / ETAPAS
   ============================== */

.quiz-section-phorma {
  padding-top: 0;
}

.quiz-card-shell {
  border-radius: var(--phorma-radius-lg);
  padding: 1.1rem 1rem 1.4rem;
  background: linear-gradient(
    145deg,
    rgba(15, 23, 42, 0.98),
    rgba(15, 23, 42, 0.94)
  );
  border: 1px solid var(--phorma-border-soft);
  box-shadow: var(--phorma-shadow-soft);
}

.quiz-step-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--phorma-text-muted);
}

.quiz-heading {
  font-size: 1.1rem;
  margin-top: 0.25rem;
  margin-bottom: 0.4rem;
}

.quiz-progress-shell {
  margin-top: 0.4rem;
  margin-bottom: 0.6rem;
}

.quiz-progress-bar {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(30, 64, 175, 0.7);
  overflow: hidden;
}

.quiz-progress-inner {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #fbbf24, #f97316);
}

.quiz-options-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.quiz-option-card {
  border-radius: var(--phorma-radius-md);
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--phorma-border-soft);
  background: radial-gradient(circle at top left, rgba(30, 64, 175, 0.35), rgba(15, 23, 42, 0.96));
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  cursor: pointer;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, border-color 0.15s ease-out, background 0.15s ease-out;
}

.quiz-option-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.9);
}

.quiz-option-radio {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.65);
  margin-top: 0.15rem;
}

.quiz-option-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.quiz-option-label {
  font-size: 0.9rem;
}

.quiz-option-description {
  font-size: 0.78rem;
  color: var(--phorma-text-muted);
}

/* ==============================
   FORMULÁRIO (ETAPA 3)
   ============================== */

.form-grid {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.7rem;
}

.form-field-label {
  font-size: 0.8rem;
  color: var(--phorma-text-muted);
  margin-bottom: 0.2rem;
}

.form-input,
.form-textarea {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  padding: 0.7rem 0.9rem;
  background: rgba(15, 23, 42, 0.96);
  color: var(--phorma-text);
  font-size: 0.85rem;
}

.form-textarea {
  border-radius: 16px;
  min-height: 80px;
  resize: vertical;
}

.form-hint {
  font-size: 0.72rem;
  color: var(--phorma-text-muted);
  margin-top: 0.1rem;
}

/* ==============================
   PLANOS (ETAPA 4)
   ============================== */

.plans-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.plan-card {
  border-radius: var(--phorma-radius-md);
  padding: 1rem;
  border: 1px solid var(--phorma-border-soft);
  background: radial-gradient(circle at 0 0, rgba(30, 64, 175, 0.4), rgba(15, 23, 42, 0.96));
}

.plan-card--highlight {
  border-color: rgba(250, 204, 21, 0.9);
  box-shadow: var(--phorma-shadow-gold);
  background: radial-gradient(circle at 0 0, rgba(250, 204, 21, 0.25), rgba(15, 23, 42, 0.98));
}

.plan-name {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.plan-tagline {
  font-size: 0.8rem;
  color: var(--phorma-text-muted);
  margin-bottom: 0.5rem;
}

.plan-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--phorma-gold);
  margin-bottom: 0.4rem;
}

.plan-benefits {
  list-style: none;
  display: grid;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: var(--phorma-text-muted);
}

/* ==============================
   BOTÕES / CTAs
   ============================== */

.btn-phorma-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.1rem;
  width: 100%;
  border-radius: var(--phorma-radius-pill);
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background-image: linear-gradient(135deg, #f59e0b, #facc15);
  color: #111827;
  box-shadow: 0 18px 45px rgba(250, 204, 21, 0.6);
  cursor: pointer;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, filter 0.15s ease-out;
}

.btn-phorma-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 22px 60px rgba(250, 204, 21, 0.72);
}

.btn-phorma-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1rem;
  width: 100%;
  border-radius: var(--phorma-radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.65);
  font-size: 0.82rem;
  font-weight: 500;
  background: rgba(15, 23, 42, 0.96);
  color: var(--phorma-text-muted);
  cursor: pointer;
}

.btn-row {
  display: flex;
  gap: 0.75rem;
}

/* Barra fixa mobile para CTAs principais */

.mobile-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 0.6rem 1.1rem 0.9rem;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.96));
  border-top: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 -18px 45px rgba(15, 23, 42, 0.95);
}

.mobile-cta-bar-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.mobile-cta-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--phorma-text-muted);
  margin-bottom: 0.25rem;
}

/* ==============================
   RODAPÉ
   ============================== */

.site-footer-phorma {
  border-top: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.98);
  padding: 1.1rem 0 5rem;
}

.site-footer-inner {
  font-size: 0.72rem;
  color: var(--phorma-text-muted);
  text-align: center;
}

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

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: center;
  }

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

  .section-phorma {
    padding: 3.2rem 0 5.5rem;
  }

  .site-footer-phorma {
    padding-bottom: 2.4rem;
  }

  .mobile-cta-bar {
    display: none;
  }
}
