/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-main: #05060a;
    --bg-elevated: #111827;
    --bg-card: #0b0f18;
    --border-subtle: #222738;
    --color-primary: #ff4747;
    --color-primary-soft: rgba(255, 71, 71, 0.15);
    --color-text: #f9fafb;
    --color-text-dim: #9ca3af;
    --color-accent: #facc15;
    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.7);
    --shadow-card: 0 16px 35px rgba(15, 23, 42, 0.8);
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #111827 0, #020617 55%, #000 100%);
    color: var(--color-text);
    min-height: 100vh;
}

/* LAYOUT GERAL */

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

/* TOPO */

.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 6, 10, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

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

.logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff4747, #fb923c);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    color: #111827;
    box-shadow: 0 10px 25px rgba(248, 113, 113, 0.5);
}

.logo-text {
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 13px;
    color: var(--color-text);
}

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

/* BOTÕES */

button,
.btn-primary,
.btn-ghost,
.btn-select {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, #ff4747, #fb923c);
    color: #111827;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 12px 26px rgba(248, 113, 113, 0.55);
    transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}

.btn-primary.lg {
    padding: 12px 26px;
    font-size: 15px;
}

.btn-primary.full {
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(248, 113, 113, 0.65);
}

.btn-ghost {
    background: transparent;
    color: var(--color-text);
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    font-size: 14px;
    font-weight: 500;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.btn-ghost.lg {
    padding: 11px 22px;
    font-size: 15px;
}

.btn-ghost:hover {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(248, 250, 252, 0.4);
    transform: translateY(-1px);
}

.btn-select {
    margin-top: 20px;
    width: 100%;
    padding: 11px 16px;
    border-radius: 999px;
    border: 1px solid rgba(248, 113, 113, 0.7);
    background: rgba(15, 23, 42, 0.7);
    color: var(--color-text);
    font-weight: 500;
    font-size: 14px;
    transition: background 0.12s ease, transform 0.1s ease, box-shadow 0.12s ease;
}

.btn-select:hover {
    background: rgba(248, 113, 113, 0.09);
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.85);
}

/* HERO */

.hero {
    padding: 52px 0 36px;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.hero-copy h1 {
    font-size: 32px;
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero-copy p {
    font-size: 15px;
    color: var(--color-text-dim);
    max-width: 520px;
    margin-bottom: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.hero-note {
    font-size: 13px;
    color: #9ca3af;
}

.hero-panel {
    display: flex;
    justify-content: flex-end;
}

.hero-card {
    background: radial-gradient(circle at top left, rgba(248, 113, 113, 0.12), rgba(15, 23, 42, 0.98));
    border-radius: 22px;
    padding: 22px 20px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: var(--shadow-soft);
    max-width: 360px;
}

.hero-card h2 {
    font-size: 18px;
    margin-bottom: 12px;
}

.hero-card ul {
    list-style: none;
    margin-bottom: 12px;
}

.hero-card li {
    font-size: 14px;
    color: var(--color-text-dim);
    margin-bottom: 6px;
    position: relative;
    padding-left: 16px;
}

.hero-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #fb923c;
}

.hero-small {
    font-size: 12px;
    color: #9ca3af;
}

/* SEÇÃO COMO FUNCIONA */

.steps {
    padding: 32px 0 12px;
}

.steps h2 {
    font-size: 22px;
    margin-bottom: 20px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.step {
    background: rgba(15, 23, 42, 0.9);
    border-radius: var(--radius-md);
    border: 1px solid rgba(31, 41, 55, 0.9);
    padding: 18px 16px;
    box-shadow: 0 14px 33px rgba(15, 23, 42, 0.8);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(248, 113, 113, 0.2);
    border: 1px solid rgba(248, 113, 113, 0.9);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step h3 {
    font-size: 15px;
    margin-bottom: 6px;
}

.step p {
    font-size: 13px;
    color: var(--color-text-dim);
}

/* PLANOS */

.pricing {
    padding: 32px 0 32px;
}

.pricing h2 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 8px;
}

.pricing-subtitle {
    text-align: center;
    font-size: 14px;
    color: var(--color-text-dim);
    margin-bottom: 26px;
}

.plans-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.plan {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    padding: 20px 18px 22px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    position: relative;
}

.plan h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.plan .details {
    font-size: 13px;
    color: var(--color-text-dim);
}

.plan hr {
    border: none;
    border-top: 1px solid rgba(55, 65, 81, 0.8);
    margin: 12px 0 10px;
}

.plan .price-info {
    color: var(--color-text-dim);
    font-size: 14px;
}

.plan .price {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.1;
    margin-top: 4px;
}

.plan .per-month {
    font-size: 14px;
    color: var(--color-text-dim);
    margin-bottom: 10px;
}

.plan .total-small {
    font-size: 13px;
    color: var(--color-text-dim);
    margin-top: 4px;
    margin-bottom: 14px;
}

.plan .note {
    font-size: 13px;
    color: var(--color-text-dim);
    margin-top: 6px;
}

.discount-details {
    background: rgba(15, 23, 42, 0.95);
    border-radius: 14px;
    padding: 10px 12px;
    border: 1px solid rgba(55, 65, 81, 0.9);
    margin-top: 10px;
    margin-bottom: 6px;
}

.discount-details ul {
    list-style: none;
}

.discount-details li {
    font-size: 13px;
    color: var(--color-text-dim);
    margin-bottom: 4px;
    padding-left: 14px;
    position: relative;
}

.discount-details li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #22c55e;
    font-size: 11px;
}

/* Destaques */

.plan.destaque {
    border-width: 2px;
    border-color: rgba(248, 113, 113, 0.95);
    background: radial-gradient(circle at top, rgba(248, 113, 113, 0.18), #020617);
    transform: translateY(-6px);
}

.badge,
.badge-special {
    position: absolute;
    top: 14px;
    right: 16px;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.badge {
    background: #facc15;
    color: #111827;
}

.badge-special {
    background: rgba(56, 189, 248, 0.2);
    color: #e0f2fe;
    border: 1px solid rgba(56, 189, 248, 0.7);
}

/* FAQ */

.faq {
    padding: 20px 0 32px;
}

.faq h2 {
    font-size: 22px;
    margin-bottom: 16px;
}

.faq-item {
    background: rgba(15, 23, 42, 0.9);
    border-radius: var(--radius-md);
    border: 1px solid rgba(31, 41, 55, 0.9);
    padding: 14px 16px;
    box-shadow: 0 14px 33px rgba(15, 23, 42, 0.8);
    margin-bottom: 10px;
}

.faq-item h3 {
    font-size: 15px;
    margin-bottom: 4px;
}

.faq-item p {
    font-size: 13px;
    color: var(--color-text-dim);
}

/* RODAPÉ */

.footer {
    border-top: 1px solid rgba(31, 41, 55, 0.9);
    padding: 16px 0 20px;
    background: rgba(2, 6, 23, 0.95);
}

.footer-inner {
    text-align: center;
    font-size: 12px;
    color: #6b7280;
}

/* MODAIS */

.modal {
    display: none;
    position: fixed;
    z-index: 120;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    padding: 12px;
}

.modal-content {
    background: #020617;
    border-radius: 18px;
    padding: 20px 18px;
    max-width: 380px;
    width: 100%;
    border: 1px solid rgba(55, 65, 81, 0.9);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
    position: relative;
}

.modal h2 {
    font-size: 18px;
    margin-bottom: 6px;
}

.modal-subtitle {
    font-size: 13px;
    color: var(--color-text-dim);
    margin-bottom: 16px;
}

.modal label {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
}

.modal input[type="text"],
.modal input[type="email"],
.modal input[type="password"] {
    width: 100%;
    padding: 9px 10px;
    border-radius: 10px;
    border: 1px solid rgba(55, 65, 81, 0.9);
    background: #020617;
    color: var(--color-text);
    font-size: 14px;
    margin-bottom: 12px;
}

.modal input:focus {
    outline: none;
    border-color: rgba(248, 113, 113, 0.9);
    box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.5);
}

.modal-message {
    font-size: 14px;
    color: var(--color-text-dim);
    margin-bottom: 14px;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 20px;
    cursor: pointer;
    color: #9ca3af;
    transition: color 0.15s ease, transform 0.1s ease;
}

.close-button:hover {
    color: #f9fafb;
    transform: scale(1.05);
}

/* RESPONSIVO */

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-panel {
        justify-content: flex-start;
        margin-top: 16px;
    }

    .steps-grid,
    .plans-container {
        grid-template-columns: minmax(0, 1fr);
    }

    .plan.destaque {
        transform: none;
    }
}


/* BOTÃO FLUTUANTE WHATSAPP */
.whatsapp-fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    background: #22c55e;
    color: #022c22;
    padding: 9px 16px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 14px 32px rgba(22, 163, 74, 0.55);
    z-index: 130;
    transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}

.whatsapp-fab-icon {
    display: inline-flex;
    width: 22px;
    height: 22px;
}

.whatsapp-fab-icon svg {
    width: 100%;
    height: 100%;
}

.whatsapp-fab-icon circle {
    fill: #16a34a;
}

.whatsapp-fab-icon path {
    fill: #ecfdf5;
}

.whatsapp-fab:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(22, 163, 74, 0.7);
    opacity: 0.96;
}

.whatsapp-fab-text {
    white-space: nowrap;
}

@media (max-width: 600px) {
    .whatsapp-fab {
        right: 12px;
        bottom: 12px;
        padding: 8px 14px;
        font-size: 13px;
    }
}
