﻿
/* ---------- Tokens (paleta oficial do guia) ---------- */
:root {
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    --brand-ink: #0B0F0E; /* Verde Profundo */
    --brand-deep: #0F2A27; /* Verde Escuro */
    --brand-green: #22C55E; /* Verde */
    --brand-teal: #10B981; /* Teal */
    --brand-mint: #3DD6C9; /* Verde Claro */

    --bg: #F5F9F7;
    --bg-alt: #E6F1EC;
    --surface: #FFFFFF;
    --text: #0B0F0E;
    --muted: #44544F;
    --line: #C9DDD5;
    --accent-text: #0B7A55;
    --font-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #0B0F0E;
        --bg-alt: #0F2A27;
        --surface: #132421;
        --text: #EEF5F2;
        --muted: #A3B8B2;
        --line: #23403A;
        --accent-text: #3DD6C9;
    }
}

:root[data-theme="dark"] {
    --bg: #0B0F0E;
    --bg-alt: #0F2A27;
    --surface: #132421;
    --text: #EEF5F2;
    --muted: #A3B8B2;
    --line: #23403A;
    --accent-text: #3DD6C9;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    background: #0B0F0E;
    scroll-padding-top: env(safe-area-inset-top, 0px);
    -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    padding-bottom: 84px;
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
}

h1, h2, h3 {
    font-family: var(--font-display);
    margin: 0;
    letter-spacing: -0.02em;
}

p {
    margin: 0;
}

a {
    color: inherit;
}

.wrap {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

.measure {
    max-width: 62ch;
}

:focus-visible {
    outline: 3px solid var(--brand-mint);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ---------- Botões ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    background: var(--brand-green);
    color: var(--brand-ink);
    font: 700 1rem/1 var(--font-display);
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s ease, transform .15s ease;
}

    .btn:hover {
        background: var(--brand-mint);
    }

    .btn:active {
        transform: scale(.98);
    }

.btn-ghost {
    background: transparent;
    color: #EEF5F2;
    box-shadow: inset 0 0 0 1.5px rgba(238,245,242,.4);
}

    .btn-ghost:hover {
        background: rgba(238,245,242,.1);
    }

.btn-sm {
    min-height: 40px;
    padding: 0 18px;
    font-size: .9rem;
}

/* ---------- Logo ---------- */
.lockup {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
}

    .lockup .mark {
        width: 28px;
        height: auto;
        flex: none;
    }

    .lockup span {
        font: 800 1.55rem/1 var(--font-display);
        letter-spacing: -0.03em;
    }

/* ---------- Hero (sempre escuro, como no guia) ---------- */
.hero {
    color: #EEF5F2;
    background: radial-gradient(70% 60% at 90% 0%, rgba(34,197,94,.28), transparent 62%), radial-gradient(60% 60% at 0% 100%, rgba(16,185,129,.22), transparent 60%), linear-gradient(180deg, #0B0F0E 0%, #0F2A27 100%);
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background-image: radial-gradient(rgba(61,214,201,.28) 1px, transparent 1.2px);
        background-size: 24px 24px;
        -webkit-mask-image: linear-gradient(115deg, transparent 45%, #000 100%);
        mask-image: linear-gradient(115deg, transparent 45%, #000 100%);
    }

    .hero .wrap {
        position: relative;
    }

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

.hero-grid {
    display: grid;
    gap: 40px;
    padding: 28px 0 72px;
}

@media (min-width: 900px) {
    .hero-grid {
        grid-template-columns: 1.1fr .9fr;
        align-items: center;
        gap: 56px;
        padding: 56px 0 96px;
    }
}

.hero h1 {
    font-weight: 800;
    font-size: clamp(2.3rem, 7.2vw, 4.1rem);
    line-height: 1.04;
}

.hero .lead {
    margin-top: 22px;
    font-size: 1.15rem;
    color: #BFD2CC;
    max-width: 46ch;
}

.hero-actions {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-note {
    margin-top: 16px;
    font-size: .9rem;
    color: #8FA7A0;
}

.emblem {
    width: 100%;
    max-width: 440px;
    justify-self: center;
    margin: 0;
}

    .emblem svg {
        width: 100%;
        height: auto;
        display: block;
        overflow: visible;
    }

    .emblem .cap {
        margin-top: 6px;
        text-align: center;
        font: 500 1.05rem/1.4 var(--font-display);
        color: #EEF5F2;
    }

    .emblem .leaf {
        opacity: 0;
        animation: settle 1.1s cubic-bezier(.2,.7,.2,1) forwards;
    }

    .emblem .l1 {
        --dx: 60px;
        --dy: -60px;
        animation-delay: .25s;
    }

    .emblem .l2 {
        --dx: -60px;
        --dy: 60px;
        animation-delay: .6s;
    }

    .emblem .halo {
        opacity: 0;
        animation: fade 1.4s ease .9s forwards;
    }

@keyframes settle {
    from {
        opacity: 0;
        transform: translate(var(--dx), var(--dy));
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fade {
    to {
        opacity: 1;
    }
}

@media (max-width: 899px) {
    .emblem {
        max-width: 320px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .emblem .leaf {
        animation: none;
        opacity: 1;
    }

    .emblem .halo {
        animation: none;
        opacity: 1;
    }
}

/* ---------- Seções ---------- */
section.block {
    padding: 72px 0;
}

section.alt {
    background: var(--bg-alt);
}

.block h2 {
    font-weight: 800;
    font-size: clamp(1.7rem, 4.6vw, 2.5rem);
    line-height: 1.1;
}

.block .intro {
    margin-top: 16px;
    color: var(--muted);
}

/* Dores: lista com divisores, sem cards */
.pains {
    margin-top: 40px;
    display: grid;
    gap: 0;
}

.pain {
    padding: 22px 0;
    border-top: 1px solid var(--line);
}

    .pain h3 {
        font-weight: 700;
        font-size: 1.2rem;
        line-height: 1.25;
    }

    .pain p {
        margin-top: 8px;
        color: var(--muted);
    }

@media (min-width: 800px) {
    .pains {
        grid-template-columns: repeat(3, 1fr);
        gap: 0 40px;
    }
}

/* Solução */
.solution {
    display: grid;
    gap: 36px;
}

@media (min-width: 900px) {
    .solution {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
        align-items: start;
    }
}

.points {
    display: grid;
    gap: 22px;
}

.point {
    padding-left: 18px;
    border-left: 3px solid var(--brand-green);
}

    .point h3 {
        font-size: 1.1rem;
        font-weight: 700;
    }

    .point p {
        margin-top: 4px;
        color: var(--muted);
    }

/* Passos (sequência real) */
.steps {
    margin-top: 44px;
    display: grid;
    gap: 28px;
    counter-reset: step;
    position: relative;
}

.step {
    position: relative;
    padding-left: 64px;
}

    .step::before {
        counter-increment: step;
        content: counter(step);
        position: absolute;
        left: 0;
        top: 0;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        background: var(--brand-green);
        color: var(--brand-ink);
        font: 800 1.1rem/1 var(--font-display);
    }

    .step:not(:last-child)::after {
        content: "";
        position: absolute;
        left: 21px;
        top: 52px;
        bottom: -22px;
        width: 2px;
        background: linear-gradient(var(--brand-teal), transparent);
    }

    .step h3 {
        font-size: 1.2rem;
        font-weight: 700;
        padding-top: 8px;
    }

    .step p {
        margin-top: 6px;
        color: var(--muted);
    }

@media (min-width: 900px) {
    .steps {
        grid-template-columns: repeat(4, 1fr);
        gap: 28px;
    }

    .step {
        padding-left: 0;
        padding-top: 64px;
    }

        .step:not(:last-child)::after {
            left: 52px;
            right: -28px;
            top: 21px;
            bottom: auto;
            width: auto;
            height: 2px;
            background: linear-gradient(90deg, var(--brand-teal), transparent);
        }
}

/* O que está incluso */
.included {
    margin-top: 36px;
    display: grid;
    gap: 14px;
    padding: 0;
    list-style: none;
}

    .included li {
        position: relative;
        padding-left: 36px;
    }

        .included li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 3px;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: var(--brand-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0F0E' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
        }

@media (min-width: 800px) {
    .included {
        grid-template-columns: 1fr 1fr;
        gap: 18px 48px;
    }
}

/* Princípios */
.principles {
    margin-top: 40px;
    display: grid;
    gap: 28px;
}

.principle {
    border-top: 3px solid var(--brand-teal);
    padding-top: 16px;
}

    .principle h3 {
        font-size: 1.2rem;
        font-weight: 700;
    }

    .principle p {
        margin-top: 8px;
        color: var(--muted);
    }

@media (min-width: 800px) {
    .principles {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

/* Diagnóstico (painel escuro, como no guia) */
.cta-panel {
    border-radius: 28px;
    overflow: hidden;
    color: #EEF5F2;
    background: radial-gradient(60% 70% at 100% 0%, rgba(34,197,94,.28), transparent 60%), linear-gradient(160deg, #0F2A27, #0B0F0E);
    display: grid;
    gap: 32px;
    padding: 32px 22px;
}

@media (min-width: 900px) {
    .cta-panel {
        grid-template-columns: 1fr 1fr;
        gap: 56px;
        padding: 56px;
        align-items: start;
    }
}

.cta-panel h2 {
    color: #fff;
}

.cta-panel .intro {
    color: #BFD2CC;
}

.gets {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

    .gets li {
        padding-left: 26px;
        position: relative;
        color: #DCE9E4;
    }

        .gets li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 11px;
            width: 12px;
            height: 2px;
            background: var(--brand-green);
        }

form {
    display: grid;
    gap: 16px;
}

label {
    display: grid;
    gap: 6px;
    font-weight: 600;
    font-size: .95rem;
}

input, select {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1.5px solid #2B4A44;
    background: #0B0F0E;
    color: #fff;
    font: 400 1rem var(--font-body);
}

    input::placeholder {
        color: #6F8A83;
    }

    input:focus-visible, select:focus-visible {
        outline: 3px solid var(--brand-mint);
        outline-offset: 2px;
        border-color: transparent;
    }

form .btn {
    width: 100%;
    margin-top: 4px;
}

.fine {
    font-size: .85rem;
    color: #8FA7A0;
}

.done {
    display: none;
    padding: 18px;
    border-radius: 14px;
    background: rgba(34,197,94,.14);
    border: 1.5px solid var(--brand-green);
}

    .done.show {
        display: block;
    }

    .done a {
        color: var(--brand-mint);
        font-weight: 600;
    }

/* FAQ */
.faq {
    margin-top: 32px;
    border-bottom: 1px solid var(--line);
}

    .faq details {
        border-top: 1px solid var(--line);
        padding: 4px 0;
    }

    .faq summary {
        list-style: none;
        cursor: pointer;
        padding: 18px 40px 18px 0;
        position: relative;
        font: 700 1.08rem/1.3 var(--font-display);
    }

        .faq summary::-webkit-details-marker {
            display: none;
        }

        .faq summary::after {
            content: "+";
            position: absolute;
            right: 4px;
            top: 50%;
            transform: translateY(-50%);
            font: 500 1.7rem/1 var(--font-display);
            color: var(--accent-text);
            transition: transform .2s ease;
        }

    .faq details[open] summary::after {
        transform: translateY(-50%) rotate(45deg);
    }

    .faq details p {
        padding: 0 0 20px;
        color: var(--muted);
        max-width: 62ch;
    }

/* Rodapé (sempre escuro) */
footer {
    background: #0B0F0E;
    color: #BFD2CC;
    padding: 48px 0 40px;
}

    footer .wrap {
        display: grid;
        gap: 18px;
    }

    footer .tag {
        color: #EEF5F2;
        font: 500 1.05rem var(--font-display);
    }

    footer small {
        color: #7C958E;
    }

/* Barra fixa no celular */
.sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--bg);
    border-top: 1px solid var(--line);
    transform: translateY(100%);
    transition: transform .25s ease;
}

    .sticky.show {
        transform: none;
    }

    .sticky .btn {
        width: 100%;
    }

@media (min-width: 768px) {
    .sticky {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sticky {
        transition: none;
    }
}

/* ---------- Página principal: metáfora, pilares e declaração ---------- */
.metaphor {
    margin: 40px 0 0;
    border-bottom: 1px solid var(--line);
}

.m-row {
    display: grid;
    gap: 6px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
}

.m-term {
    margin: 0;
    font: 800 calc(1.15rem + var(--i) * .24rem)/1.1 var(--font-display);
    letter-spacing: -0.02em;
    color: var(--accent-text);
}

.m-mean {
    margin: 0;
    color: var(--muted);
}

@media (min-width: 760px) {
    .m-row {
        grid-template-columns: minmax(240px, .9fr) 1.3fr;
        gap: 32px;
        align-items: end;
    }
}

.closing {
    margin-top: 24px;
    color: var(--muted);
}

.pillars {
    margin-top: 40px;
    border-bottom: 1px solid var(--line);
}

.pillar {
    display: grid;
    gap: 12px;
    padding: 30px 0;
    border-top: 1px solid var(--line);
}

    .pillar h3 {
        font-size: clamp(1.7rem, 4.4vw, 2.4rem);
        font-weight: 800;
        line-height: 1.05;
    }

    .pillar .sub {
        margin-top: 6px;
        color: var(--accent-text);
        font-weight: 600;
    }

    .pillar p {
        color: var(--muted);
        max-width: 52ch;
    }

    .pillar a.more {
        margin-top: 6px;
        width: fit-content;
        color: var(--accent-text);
        font-weight: 700;
        text-decoration: none;
        border-bottom: 2px solid currentColor;
        padding-bottom: 2px;
    }

        .pillar a.more:hover {
            color: var(--text);
        }

@media (min-width: 800px) {
    .pillar {
        grid-template-columns: 1fr 1.4fr;
        gap: 40px;
        align-items: start;
    }
}

.statement {
    font: 800 clamp(1.8rem, 5vw, 3.1rem)/1.1 var(--font-display);
    letter-spacing: -0.025em;
    max-width: 22em;
}

.principles.after {
    margin-top: 56px;
}

@media (min-width: 900px) {
    .steps.six {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 28px;
    }

        .steps.six .step:not(:last-child)::after {
            display: none;
        }
}