:root {
    --bg: #0c1117;
    --bg-soft: #131a23;
    --card: #18212d;
    --card-2: #1d2734;
    --line: rgba(255, 255, 255, 0.08);
    --text: #eef3f8;
    --muted: #b4bfcb;
    --primary: #2b5d8f;
    --primary-dark: #1f466e;
    --primary-soft: rgba(43, 93, 143, 0.14);
    --highlight: #5f87b4;
    --success: #25d366;
    --shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
    --radius: 18px;
    --max: 1180px;

    /* Cor padrão do tema */
    --primary-color: #e63946;

    --bg-dark: #0a1118;
    --text-light: #f8f9fa;
}

/* Temas */
body.theme-playground {
    --primary-color: #2ecc71;
}

body.theme-pmoc {
    --primary-color: #00b4d8;
}

body.theme-default {
    --primary-color: #2b5d8f;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top right, rgba(43, 93, 143, 0.10), transparent 24%),
        radial-gradient(circle at bottom left, rgba(43, 93, 143, 0.07), transparent 20%),
        var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

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

.container {
    width: min(100% - 32px, var(--max));
    margin: 0 auto;
}

/* Topbar */
.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(12, 17, 23, 0.86);
    border-bottom: 1px solid var(--line);
}

.topbar-inner {
    position: relative;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-badge {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.brand-text strong {
    display: block;
    font-size: 1.06rem;
    letter-spacing: 0.2px;
}

.brand-text span {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 2px;
}

.logo-header {
    height: 48px;
    width: auto;
    display: block;
    transition: 0.3s ease;
}

/* Navegação */
.nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav a {
    color: var(--muted);
    font-size: 0.96rem;
    transition: 0.2s ease;
}

.nav a:hover {
    color: #fff;
}

/* Botão hambúrguer */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 10px;
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    border-radius: 999px;
    padding: 14px 22px;
    font-size: 1rem;
    font-weight: 700;
    transition: 0.22s ease;
    text-align: center;
}

.btn-primary,
.step-number,
.card-icon,
.bullets li::before {
    background: var(--primary-color) !important;
    color: #fff !important;
}

.btn-primary {
    box-shadow: 0 8px 18px rgba(43, 93, 143, 0.20);
}

.btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.04);
}

.card-icon {
    color: var(--primary-color) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

/* Hero */
.hero {
    padding: 82px 0 34px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 34px;
    align-items: start;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid rgba(43, 93, 143, 0.24);
    border-radius: 999px;
    background: rgba(43, 93, 143, 0.10);
    color: #d0deed;
    font-size: 0.9rem;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.08;
    margin-bottom: 18px;
    letter-spacing: -1px;
}

.hero p {
    color: var(--muted);
    font-size: 1.08rem;
    max-width: 700px;
    margin-bottom: 26px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}

.hero-note {
    color: #d7e0ea;
    font-size: 0.96rem;
}

.hero-note strong {
    color: #fff;
}

.hero-visual {
    display: grid;
    gap: 18px;
}

.hero-card,
.hero-image-wrap,
.cred-item,
.card,
.step,
.highlight-box,
.price-box,
.faq-item,
.cta-panel,
.segment-card {
    box-shadow: var(--shadow);
}

.hero-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px;
}

.hero-card h3 {
    font-size: 1.25rem;
    margin-bottom: 18px;
}

.hero-image-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 420px;
    border: 1px solid var(--line);
    background: var(--card);
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.hero-image-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    background: rgba(12, 17, 23, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: #fff;
    padding: 12px 14px;
    border-radius: 14px;
    max-width: 280px;
    font-size: 0.92rem;
}

/* Checklist */
.checklist {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--muted);
    font-size: 0.98rem;
}

.check-item .icon {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(43, 93, 143, 0.16);
    color: #dce8f4;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.mini-card {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-card strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 6px;
}

.mini-card span {
    color: var(--muted);
    font-size: 0.95rem;
}

/* Credibilidade */
.credibility {
    padding: 10px 0 28px;
}

.credibility-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.cred-item {
    background: var(--card-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    text-align: center;
}

.cred-item strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 6px;
    color: #fff;
}

.cred-item span {
    color: var(--muted);
    font-size: 0.94rem;
}

/* Seções */
.section {
    padding: 36px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 34px;
}

.section-title h2 {
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--muted);
    max-width: 760px;
    margin: 0 auto;
}

/* Grids de cards */
.cards-3,
.cards-4 {
    display: grid;
    gap: 22px;
}

.cards-3 {
    grid-template-columns: repeat(3, 1fr);
}

.cards-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Cards */
.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    transition: 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    font-size: 1.3rem;
    font-weight: 700;
}

.card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.card p {
    color: var(--muted);
    font-size: 0.97rem;
}

/* Processo */
.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.step {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
}

.step-number {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-weight: 800;
    margin-bottom: 14px;
}

.step h3 {
    margin-bottom: 8px;
    font-size: 1.08rem;
}

.step p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* Segmentos */
.segments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.segment-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
}

.segment-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.segment-content {
    padding: 20px;
}

.segment-content h3 {
    font-size: 1.08rem;
    margin-bottom: 8px;
}

.segment-content p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* Highlight */
.highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.highlight-box {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 28px;
}

.highlight-box h3 {
    font-size: 1.35rem;
    margin-bottom: 14px;
}

.bullets {
    display: grid;
    gap: 12px;
}

.bullets li {
    list-style: none;
    color: var(--muted);
    position: relative;
    padding-left: 20px;
}

.bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* Caixa de preço / CTA intermediário */
.price-box {
    padding: 28px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(43, 93, 143, 0.14), rgba(43, 93, 143, 0.05));
    border: 1px solid rgba(43, 93, 143, 0.18);
}

.price-label {
    color: #d0deed;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.price-value {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 14px;
}

.price-box p {
    color: var(--muted);
    margin-bottom: 18px;
}

/* FAQ */
.faq {
    display: grid;
    gap: 14px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    text-align: left;
    padding: 18px 20px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.faq-question span:last-child {
    color: var(--highlight);
    font-size: 1.2rem;
    flex-shrink: 0;
}

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

.faq-answer p {
    color: var(--muted);
    padding: 0 20px 20px;
    font-size: 0.96rem;
}

/* CTA final */
.cta-final {
    padding: 44px 0 72px;
}

.cta-panel {
    border: 1px solid rgba(43, 93, 143, 0.18);
    background:
        linear-gradient(135deg, rgba(43, 93, 143, 0.09), rgba(43, 93, 143, 0.03)),
        var(--card);
    border-radius: 28px;
    padding: 34px;
    text-align: center;
}

.cta-panel h2 {
    font-size: clamp(1.7rem, 3vw, 2.7rem);
    margin-bottom: 12px;
}

.cta-panel p {
    color: var(--muted);
    max-width: 760px;
    margin: 0 auto 22px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

/* Footer */
footer {
    border-top: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.14);
    padding: 32px 0 40px;
    color: var(--muted);
    font-size: 0.95rem;
    text-align: center;
}

footer p {
    margin-bottom: 8px;
}

footer p:last-child {
    margin-bottom: 0;
}

footer strong {
    color: #fff;
}

/* Botão flutuante */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

/* Tablet e mobile */
@media (max-width: 980px) {
    .hero-grid,
    .highlight,
    .cards-3,
    .cards-4,
    .process,
    .credibility-grid,
    .segments-grid {
        grid-template-columns: 1fr;
    }

    .topbar-inner {
        min-height: 72px;
    }

    .menu-toggle {
        display: flex;
        order: 3;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 20px;
        text-align: center;
        border-bottom: 2px solid var(--primary-color);
        gap: 16px;
    }

    .nav.active {
        display: flex;
    }

    .hero {
        padding-top: 58px;
    }

    .hero-image-wrap,
    .hero-image-wrap img {
        min-height: 320px;
    }

    .btn-nav-mobile,
    .nav-whatsapp {
        display: inline-flex !important;
        order: 2;
        margin-left: auto;
        margin-right: 15px;
        padding: 8px 15px !important;
        font-size: 13px !important;
    }
}

/* Mobile pequeno */
@media (max-width: 640px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        width: 100%;
    }

    .hero-cta,
    .cta-actions {
        flex-direction: column;
    }

    .hero-card,
    .card,
    .step,
    .highlight-box,
    .price-box,
    .cta-panel,
    .cred-item,
    .segment-content {
        padding: 22px;
    }

    .segment-card img {
        height: 200px;
    }

    .hero-image-wrap {
        min-height: 260px;
    }

    .hero-image-wrap img {
        min-height: 260px;
    }

    .floating-whatsapp {
        width: 58px;
        height: 58px;
        right: 14px;
        bottom: 14px;
    }

    .logo-header {
        height: 34px;
    }
}