/* ===== Variáveis e Reset – Dark Mode Profissional ===== */
:root {
    --primary: #eab308;
    --primary-dark: #ca8a04;
    --primary-light: #facc15;
    --secondary: #f59e0b;
    --accent: #fbbf24;
    --yellow-subtle: rgba(234, 179, 8, 0.15);
    --yellow-glow: rgba(234, 179, 8, 0.25);
    --dark: #0c0c0f;
    --dark-card: #131318;
    --dark-elevated: #1a1a21;
    --dark-soft: #23232d;
    --gray: #9ca3af;
    --gray-light: #d1d5db;
    --gray-muted: #6b7280;
    --light: #18181c;
    --white: #fafafa;
    --gradient-primary: linear-gradient(135deg, #eab308 0%, #f59e0b 100%);
    --gradient-accent: linear-gradient(135deg, rgba(234, 179, 8, 0.2) 0%, rgba(245, 158, 11, 0.1) 100%);
    --gradient-dark: linear-gradient(180deg, #0c0c0f 0%, #131318 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(234, 179, 8, 0.3);
    --radius: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --transition: 0.25s ease;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-light);
    background: var(--dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    min-width: 0;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(12, 12, 15, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition);
}

.nav a:hover {
    color: var(--primary-light);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--dark);
    font-weight: 700;
    box-shadow: 0 4px 20px var(--yellow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px var(--yellow-glow);
}

.btn-small {
    padding: 8px 18px;
    font-size: 0.9rem;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    color: var(--primary-light);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--gradient-primary);
    color: var(--dark);
    border-color: transparent;
}

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
    font-size: 1.1rem;
    padding: 16px 32px;
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, var(--yellow-subtle), transparent),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(234, 179, 8, 0.06), transparent),
        radial-gradient(ellipse 60% 40% at 0% 80%, rgba(245, 158, 11, 0.06), transparent);
    pointer-events: none;
}

.hero .container {
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 48px;
    margin-bottom: 48px;
}

.hero-content {
    max-width: 600px;
}

/* Phone Mockup - Keyframes */
@keyframes phone-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes phone-glow {
    0%, 100% { opacity: 0.4; filter: blur(40px); }
    50% { opacity: 0.7; filter: blur(50px); }
}

@keyframes phone-enter {
    0% { 
        opacity: 0; 
        transform: translateY(30px) scale(0.95); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

@keyframes bar-fill {
    0% { width: 0; }
    100% { width: var(--w, 100%); }
}

@keyframes screen-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Phone Mockup */
.hero-phone {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-phone::before {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--yellow-glow) 0%, transparent 70%);
    border-radius: 50%;
    animation: phone-glow 4s ease-in-out infinite;
    pointer-events: none;
}

.phone-frame {
    width: 280px;
    background: linear-gradient(145deg, #1a1a21 0%, #0f0f12 100%);
    border-radius: 36px;
    padding: 12px;
    box-shadow: 
        0 0 0 2px var(--border-subtle),
        0 0 60px -10px var(--yellow-glow),
        0 25px 50px -12px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: 
        phone-enter 0.8s ease-out forwards,
        phone-float 4s ease-in-out infinite 0.8s;
    transition: box-shadow 0.4s ease;
}

.phone-frame:hover {
    box-shadow: 
        0 0 0 2px var(--border-accent),
        0 0 80px -5px var(--yellow-glow),
        0 30px 60px -12px rgba(0, 0, 0, 0.6);
}

.phone-notch {
    width: 100px;
    height: 24px;
    background: #0c0c0f;
    border-radius: 0 0 20px 20px;
    margin: 0 auto 12px;
}

.phone-screen {
    background: var(--dark);
    border-radius: 24px;
    padding: 20px;
    min-height: 420px;
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.phone-screen::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        transparent 0%,
        rgba(234, 179, 8, 0.03) 25%,
        transparent 50%,
        rgba(234, 179, 8, 0.03) 75%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: screen-shimmer 8s ease-in-out infinite;
    pointer-events: none;
}

.metrics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.metrics-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
}

.metrics-period {
    font-size: 0.75rem;
    color: var(--gray-muted);
}

.metrics-chart {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.metric-bar {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.metric-bar .bar-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.metric-bar .bar-row span:first-child {
    font-size: 0.75rem;
    color: var(--gray);
}

.metric-bar .bar-row span:last-child {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-light);
}

.metric-bar .bar-track {
    height: 8px;
    background: var(--dark-elevated);
    border-radius: 4px;
    overflow: hidden;
}

.metric-bar .bar-fill {
    height: 100%;
    width: var(--w, 50%);
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 0.6s ease;
    animation: bar-fill 1s ease-out forwards;
}

.metric-bar:nth-child(1) .bar-fill { animation-delay: 0.3s; }
.metric-bar:nth-child(2) .bar-fill { animation-delay: 0.45s; }
.metric-bar:nth-child(3) .bar-fill { animation-delay: 0.6s; }
.metric-bar:nth-child(4) .bar-fill { animation-delay: 0.75s; }

.metrics-footer {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.8rem;
    color: var(--gray);
}

.metric-highlight {
    color: var(--primary);
    font-weight: 700;
    animation: metric-pulse 2s ease-in-out infinite;
}

@keyframes metric-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--border-subtle);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-muted);
}

/* ===== Como Funciona ===== */
.como-funciona {
    padding: 100px 0;
    background: var(--dark-card);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    text-align: center;
    color: var(--white);
    margin-bottom: 16px;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    margin: 16px auto 0;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 64px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-card {
    background: var(--dark-elevated);
    padding: 32px;
    border-radius: var(--radius-lg);
    transition: transform var(--transition), border-color var(--transition);
    border: 1px solid var(--border-subtle);
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.4;
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white);
}

.step-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ===== Planos ===== */
.planos {
    padding: 100px 0;
    background: var(--dark);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
    min-width: 0;
}

.plan-card {
    background: var(--dark-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
}

.plan-card:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-lg);
}

.plan-featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, var(--yellow-subtle) 0%, var(--dark-card) 100%);
    position: relative;
}

.plan-featured .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
}

.plan-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.plan-featured h3 {
    margin-top: 16px;
}

.plan-price {
    margin-bottom: 24px;
}

.plan-price .currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-muted);
}

.plan-price .amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
}

.plan-price .period {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-muted);
}

.plan-featured .plan-price .amount {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plan-features {
    list-style: none;
    flex: 1;
    margin-bottom: 24px;
}

.plan-features li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: var(--gray);
}

.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.plan-disclaimer {
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-muted);
    margin-top: 32px;
}

/* ===== Benefícios ===== */
.beneficios {
    padding: 100px 0;
    background: var(--dark-card);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.benefit-card {
    background: var(--dark-elevated);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    transition: transform var(--transition), border-color var(--transition);
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    padding: 14px;
    background: var(--gradient-accent);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: transform var(--transition), color var(--transition), box-shadow var(--transition);
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.05);
    color: var(--primary-light);
    box-shadow: 0 0 24px var(--yellow-glow);
}

.benefit-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white);
}

.benefit-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ===== CTA Final ===== */
.cta-final {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--dark-elevated) 0%, var(--dark) 100%);
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

.cta-final h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--white);
    max-width: 700px;
    margin: 0 auto 16px;
    line-height: 1.4;
}

.cta-final h2 strong {
    color: var(--primary-light);
}

.cta-final p {
    color: var(--gray);
    margin-bottom: 32px;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark-card);
    border-top: 1px solid var(--border-subtle);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--gray);
    font-size: 0.95rem;
}

.footer h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-contact p,
.footer-social a {
    color: var(--gray);
    text-decoration: none;
    margin-bottom: 8px;
    display: block;
}

.footer-social a:hover {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    flex-direction: column;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 32px;
}

.footer-bottom p {
    color: var(--gray-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.copyright {
    color: var(--gray-muted) !important;
    font-size: 0.85rem !important;
}

/* ===== Responsivo ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        min-width: 0;
    }

    .phone-frame {
        width: 260px;
    }

    .steps-grid,
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .step-card,
    .plan-card,
    .benefit-card {
        min-width: 0;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav {
        display: none;
    }

    .nav.active {
        display: block;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--dark-card);
        padding: 24px;
        border-bottom: 1px solid var(--border-subtle);
    }

    .nav.active ul {
        flex-direction: column;
        gap: 16px;
    }

    .nav a {
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-container {
        gap: 40px;
        margin-bottom: 40px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .steps-grid,
    .plans-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .como-funciona,
    .planos,
    .beneficios,
    .cta-final {
        padding: 80px 0;
    }

    .section-subtitle {
        margin-bottom: 48px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom p {
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
}

@media (max-width: 380px) {
    .container {
        padding: 0 12px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .phone-frame {
        width: 200px;
    }

    .plan-price .amount {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 1.75rem;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .hero-subtitle {
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .hero-content .btn {
        width: 100%;
        max-width: 280px;
    }

    .phone-frame {
        width: 220px;
        padding: 10px;
    }

    .phone-screen {
        min-height: 340px;
        padding: 14px;
    }

    .metric-bar .bar-row span {
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .section-title {
        font-size: 1.75rem;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .section-subtitle {
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .step-card h3,
    .step-card p,
    .plan-card h3,
    .plan-features li,
    .benefit-card h3,
    .benefit-card p {
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .plan-card {
        padding: 24px 20px;
        min-width: 0;
    }

    .plan-price .amount {
        font-size: 2rem;
    }

    .plan-disclaimer {
        overflow-wrap: break-word;
        word-wrap: break-word;
        padding: 0 8px;
    }

    .cta-final h2 {
        font-size: 1.5rem;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .btn-whatsapp {
        width: 100%;
        max-width: 300px;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }
}
