/* ============================================================================
   TRATOO — Minimalista Landing (Stripe-inspired)
   ============================================================================ */

/* ─── Reset ───────────────────────────────────────────────────────────── */
.page--landing {
    margin-top: 0;
    padding: 0;
    position: relative;
}

.page--landing::before {
    content: '';
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 800px;
    background: radial-gradient(circle at 50% 0%, rgba(34, 197, 94, 0.04) 0%, transparent 75%);
    pointer-events: none;
    z-index: -1;
}

/* ─── Animações ───────────────────────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.page--landing section {
    animation: fadeUp 0.6s ease both;
}

@media (prefers-reduced-motion: reduce) {
    .page--landing section {
        animation: none;
        opacity: 1;
    }
}

/* ═════════════════════════════════════════════════════════════════════ */
/* HERO */
/* ═════════════════════════════════════════════════════════════════════ */

.hero {
    padding: clamp(6rem, 15vw, 8rem) 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem) !important;
    color: var(--text-secondary) !important;
    max-width: 600px;
    margin: 0 auto 3rem !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
}

/* CTA ──────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    padding: 0.95rem 2.25rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--secondary-dark);
    color: white;
}

    .btn-primary:hover {
        background: #15803d;
        transform: translateY(-1px);
    }

.btn-lg {
    padding: 1.1rem 2.75rem;
    font-size: 1.05rem;
}

/* ═════════════════════════════════════════════════════════════════════ */
/* PILLARS (3 diferenciais principais) */
/* ═════════════════════════════════════════════════════════════════════ */

.pillars {
    padding: clamp(5rem, 12vw, 7rem) 2rem;
    background: white;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pillar {
    text-align: center;
}

.pillar-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: #f0fdf4;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--secondary-dark);
}

.pillar h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.pillar p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ═════════════════════════════════════════════════════════════════════ */
/* FLOW (fluxo visual) */
/* ═════════════════════════════════════════════════════════════════════ */

.flow {
    padding: clamp(5rem, 12vw, 7rem) 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.flow h2 {
    font-size: clamp(1.8rem, 5vw, 2.2rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 3.5rem;
    color: var(--text-primary);
}

.flow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-width: 130px;
}

.flow-dot {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--secondary-dark);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: relative;
}

    .flow-dot i {
        z-index: 1;
    }

    .flow-number {
        position: absolute;
        bottom: -4px;
        right: -4px;
        width: 24px;
        height: 24px;
        background: white;
        color: var(--secondary-dark);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.75rem;
        font-weight: 700;
        border: 2px solid var(--secondary-dark);
    }

.flow-step p {
    font-size: 0.9rem;
    color: var(--text-primary);
    text-align: center;
    line-height: 1.4;
    margin: 0;
}

    .flow-step p strong {
        font-weight: 700;
    }

.flow-connector {
    width: 30px;
    height: 2px;
    background: #e2e8f0;
    flex-shrink: 0;
}

/* ═════════════════════════════════════════════════════════════════════ */
/* CLOSING CTA */
/* ═════════════════════════════════════════════════════════════════════ */

.closing {
    padding: clamp(5rem, 12vw, 7rem) 2rem;
    text-align: center;
}

.closing h2 {
    font-size: clamp(1.8rem, 5vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

/* ═════════════════════════════════════════════════════════════════════ */
/* RESPONSIVO */
/* ═════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .pillars {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .flow-steps {
        flex-direction: column;
        gap: 2rem;
    }

    .flow-connector {
        width: 2px;
        height: 30px;
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 1.5rem 3rem;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 7vw, 3.5rem);
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        margin-bottom: 2rem !important;
    }

    .btn {
        padding: 0.85rem 1.75rem;
        font-size: 0.95rem;
    }

    .btn-lg {
        width: 100%;
        padding: 1rem 2rem;
    }

    .pillars {
        padding: 3.5rem 1.5rem;
    }

    .flow {
        padding: 3.5rem 1.5rem;
    }

    .flow h2,
    .closing h2 {
        font-size: clamp(1.5rem, 5vw, 1.8rem);
        margin-bottom: 2.5rem;
    }

    .closing {
        padding: 3.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 1rem 2.5rem;
    }

    .hero h1 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        margin-bottom: 0.875rem;
    }

    .hero-subtitle {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
    }

    .btn,
    .btn-lg {
        width: 100%;
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .pillars {
        padding: 2.5rem 1rem;
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pillar-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .pillar h3 {
        font-size: 1rem;
    }

    .pillar p {
        font-size: 0.9rem;
    }

    .flow {
        padding: 2.5rem 1rem;
    }

    .flow-steps {
        gap: 1.5rem;
    }

    .flow-step {
        min-width: 110px;
    }

    .flow-dot {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .flow-number {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }

    .flow-step p {
        font-size: 0.85rem;
    }

    .flow-connector {
        width: 2px;
        height: 25px;
    }

    .closing {
        padding: 2.5rem 1rem;
    }
}

/* ═════════════════════════════════════════════════════════════════════ */
/* DARK MODE */
/* ═════════════════════════════════════════════════════════════════════ */

@media (prefers-color-scheme: dark) {
    .pillars,
    .flow,
    .closing {
        background: transparent;
    }

    .pillars {
        border-top-color: rgba(255, 255, 255, 0.05);
        border-bottom-color: rgba(255, 255, 255, 0.05);
    }

    .pillar-icon {
        background: rgba(34, 197, 94, 0.15);
    }

    .btn-secondary {
        border-color: rgba(255, 255, 255, 0.2);
    }

    .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.3);
    }

    .flow-connector {
        background: rgba(255, 255, 255, 0.1);
    }
}
