﻿/* ================================================
   XAMPZ — public-pages.css
   CSS partilhado para todas as páginas públicas
   Features, About, Pricing, Contact
   ================================================ */

/* ---------- VARIÁVEIS ---------- */
:root {
    --xp-green: #22c55e;
    --xp-green-dark: #15803d;
    --xp-dark: #0C3329;
    --xp-grad: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
}

/* ---------- HERO (partilhado) ---------- */
.page-hero {
    background: var(--xp-dark);
    padding: 90px 0 70px;
    text-align: center;
}

    .page-hero h1 {
        font-size: 2.8rem;
        font-weight: 800;
        background: var(--xp-grad);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 1rem;
    }

    .page-hero p {
        font-size: 1.15rem;
        color: rgba(255, 255, 255, 0.7);
        max-width: 600px;
        margin: 0 auto;
    }

/* ---------- STATS STRIP (partilhado) ---------- */
.stats-strip {
    background: var(--xp-dark);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

    .stat-item .num {
        font-size: 2.4rem;
        font-weight: 800;
        background: var(--xp-grad);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        line-height: 1;
    }

    .stat-item .lbl {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.55);
        margin-top: 0.3rem;
    }

/* ---------- SECTION TITLES (partilhado) ---------- */
.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--xp-dark);
    margin-bottom: 0.5rem;
}

.section-sub {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 3rem;
}

/* ---------- VISUAL BOX (Features) ---------- */
.feature-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-radius: 24px;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
}

.feature-box-icon {
    font-size: 6rem;
    line-height: 1;
}

.feature-box-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--xp-green-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ---------- FEATURE LIST (Features) ---------- */
.feature-row {
    padding: 60px 0;
    border-bottom: 1px solid #f0f0f0;
}

    .feature-row:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .feature-row h2 {
        font-size: 2rem;
        font-weight: 800;
        color: var(--xp-dark);
        margin-bottom: 1rem;
    }

    .feature-row p {
        font-size: 1rem;
        color: #6c757d;
        line-height: 1.8;
        margin-bottom: 1.5rem;
    }

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .feature-list li {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.6rem 0;
        color: #495057;
        font-size: 0.95rem;
        border-bottom: 1px solid #f8f9fa;
    }

        .feature-list li:last-child {
            border-bottom: none;
        }

        .feature-list li i {
            color: var(--xp-green);
            font-size: 1.2rem;
            flex-shrink: 0;
            margin-top: 2px;
        }

/* ---------- CARDS GENÉRICOS (About, Pricing) ---------- */
.xp-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e9ecef;
    height: 100%;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

    .xp-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(34, 197, 94, 0.12);
        border-color: #bbf7d0;
    }

/* ---------- ICON BOX (About values, etc) ---------- */
.xp-icon {
    width: 56px;
    height: 56px;
    background: var(--xp-grad);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.xp-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--xp-dark);
    margin-bottom: 0.6rem;
}

.xp-card p {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.7;
    margin: 0;
}

/* ---------- STORY VISUAL (About) ---------- */
.story-visual {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 1px solid #bbf7d0;
    border-radius: 24px;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7rem;
}

/* ---------- TEAM CARD (About) ---------- */
.team-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

    .team-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(34, 197, 94, 0.12);
        border-color: #bbf7d0;
    }

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--xp-grad);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.team-card h5 {
    font-weight: 700;
    color: var(--xp-dark);
    margin-bottom: 0.25rem;
}

.team-card .role {
    color: var(--xp-green);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.team-card p {
    font-size: 0.88rem;
    color: #6c757d;
    margin: 0;
}

/* ---------- PRICING CARDS ---------- */
.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    border: 2px solid #e9ecef;
    height: 100%;
    position: relative;
    transition: transform 0.25s, box-shadow 0.25s;
}

    .pricing-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 40px rgba(0,0,0,0.08);
    }

    .pricing-card.popular {
        border-color: var(--xp-green);
        box-shadow: 0 8px 30px rgba(34,197,94,0.15);
    }

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--xp-grad);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 18px;
    border-radius: 50px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.plan-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--xp-dark);
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--xp-green);
    line-height: 1;
    margin-bottom: 0.25rem;
}

    .plan-price span {
        font-size: 1rem;
        color: #6c757d;
        font-weight: 400;
    }

.plan-desc {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

    .plan-features li {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        padding: 0.5rem 0;
        font-size: 0.9rem;
        color: #495057;
        border-bottom: 1px solid #f8f9fa;
    }

        .plan-features li:last-child {
            border-bottom: none;
        }

        .plan-features li i {
            color: var(--xp-green);
            font-size: 1.1rem;
            flex-shrink: 0;
        }

.btn-plan {
    width: 100%;
    padding: 0.8rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--xp-green);
    background: transparent;
    color: var(--xp-green);
    transition: all 0.2s;
    text-decoration: none;
    display: block;
    text-align: center;
}

    .btn-plan:hover, .pricing-card.popular .btn-plan {
        background: var(--xp-grad);
        color: white;
        border-color: transparent;
    }

/* ---------- FAQ ---------- */
.faq-item {
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.faq-question {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--xp-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

    .faq-question:hover {
        background: #f0fdf4;
    }

    .faq-question i {
        color: var(--xp-green);
        transition: transform 0.3s;
    }

    .faq-question.active i {
        transform: rotate(180deg);
    }

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
    color: #6c757d;
    line-height: 1.8;
    font-size: 0.95rem;
}

    .faq-answer.show {
        padding: 0 1.5rem 1.25rem;
        max-height: 300px;
    }

/* ---------- CONTACT FORM ---------- */
.form-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid #e9ecef;
}

    .form-card h2 {
        font-size: 1.6rem;
        font-weight: 800;
        color: var(--xp-dark);
        margin-bottom: 0.5rem;
    }

    .form-card .sub {
        font-size: 0.9rem;
        color: #6c757d;
        margin-bottom: 2rem;
    }

.form-control:focus, .form-select:focus {
    border-color: var(--xp-green) !important;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12) !important;
}

.btn-send {
    background: var(--xp-grad);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    transition: opacity 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

    .btn-send:hover {
        opacity: 0.9;
        transform: translateY(-2px);
    }

/* CONTACT INFO CARD */
.info-card {
    background: var(--xp-dark);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    color: white;
}

    .info-card h3 {
        font-size: 1.4rem;
        font-weight: 700;
        margin-bottom: 2rem;
    }

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

    .info-item:last-of-type {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

.info-icon {
    width: 46px;
    height: 46px;
    background: var(--xp-grad);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    color: white;
}

.info-item h6 {
    font-weight: 700;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.info-item p {
    margin: 0;
    color: rgba(255,255,255,0.65);
    font-size: 0.875rem;
    line-height: 1.6;
}

.info-item a {
    color: #fbbf24;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
}

    .info-item a:hover {
        text-decoration: underline;
    }

.social-row {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.2s;
}

    .social-btn:hover {
        background: var(--xp-grad);
        transform: translateY(-2px);
        color: white;
    }

/* ---------- CTA STRIP (partilhado) ---------- */
.cta-strip {
    background: var(--xp-grad);
    padding: 80px 0;
    text-align: center;
}

    .cta-strip h2 {
        font-size: 2.4rem;
        font-weight: 800;
        color: white;
        margin-bottom: 1rem;
    }

    .cta-strip p {
        font-size: 1.1rem;
        color: rgba(255,255,255,0.85);
        margin-bottom: 2rem;
    }

.btn-cta-white {
    background: white;
    color: var(--xp-green-dark);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.25s;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

    .btn-cta-white:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.2);
        color: var(--xp-green-dark);
    }
@@media (min-width: 768px) {
    .xampz-nav-links {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row !important;
    }
}

/* ── MOBILE ── */
@media (max-width: 767.98px) {
    .xampz-nav-links {
        flex-direction: column !important;
        padding: 0.75rem 0;
        gap: 0 !important;
    }

    .xampz-nav-btns {
        padding: 0.75rem 0 0.25rem;
    }

        .xampz-nav-btns .btn {
            flex: 1;
            justify-content: center;
        }
}

/* ── LINK STYLE ── */
.xampz-nav-link {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75) !important;
    padding: 0.5rem 0.25rem !important;
    position: relative;
    transition: color 0.2s;
    white-space: nowrap;
}

    .xampz-nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: #22c55e;
        transition: width 0.25s ease;
    }

    .xampz-nav-link:hover,
    .xampz-nav-link.active {
        color: #fff !important;
    }

        .xampz-nav-link:hover::after,
        .xampz-nav-link.active::after {
            width: 100%;
        }