﻿/*/ ---------------- *PORTAL* --------------/*/
/* Landing page pública (fora do sistema logado). Define seu próprio :root com nomes
   genéricos (--rose-main, --text, --muted...), independente das --vl-* de site.css —
   esta página não é afetada por dark-theme.css. */

:root {
    --rose-main: #C98270;
    --rose-dark: #A85E49;
    --rose-soft: #F7E6E1;
    --cream: #FBF6F2;
    --white: #FFFFFF;
    --green: #2F9B61;
    --text: #2D2320;
    --muted: #7B6A64;
    --border: rgba(201, 130, 112, 0.22);
    --shadow: 0 24px 70px rgba(168, 94, 73, 0.18);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    background: var(--cream);
    color: var(--text);
}

a {
    text-decoration: none;
    color: inherit;
}

.velora-portal {
    min-height: 100vh;
    overflow: hidden;
    background: radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.55), transparent 30%), linear-gradient(135deg, #FBF6F2 0%, #F7E6E1 45%, #EEC7BA 100%);
}

/* HEADER */

.portal-header-wrap {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251, 246, 242, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201, 130, 112, 0.12);
}

.portal-header {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

.portal-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-symbol-img {
    height: 34px;
    width: auto;
    display: block;
}

.brand-name {
    font-size: 18px;
    letter-spacing: 9px;
    font-weight: 600;
    /* Nota: --text-dark não é definida em nenhum lugar deste arquivo (só existe --text);
       na prática essa var cai no valor inicial e a cor herda do elemento pai. */
    color: var(--text-dark);
}

.portal-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.portal-nav {
    display: flex;
    gap: 32px;
    font-size: 14px;
    color: #3F302C;
}

    .portal-nav a {
        transition: 0.25s ease;
        text-decoration: none;
        color: inherit;
    }

        .portal-nav a:hover {
            color: var(--rose-dark);
        }

.portal-actions {
    display: flex;
    gap: 14px;
}

/* BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    padding: 13px 24px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.25s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--rose-main), #D46F59);
    color: var(--white);
    box-shadow: 0 18px 36px rgba(168, 94, 73, 0.28);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 22px 44px rgba(168, 94, 73, 0.36);
    }

.btn-outline {
    border-color: rgba(168, 94, 73, 0.35);
    color: var(--rose-dark);
    background: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(12px);
}

.btn-glass {
    border-color: rgba(168, 94, 73, 0.35);
    color: var(--rose-dark);
    background: rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(14px);
}

.btn-large {
    padding: 16px 30px;
    border-radius: 16px;
}

/* HERO */

.hero-section {
    width: min(1180px, calc(100% - 48px));
    margin: 40px auto 0;
    min-height: 660px;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    position: relative;
}

    /* foto de fundo do hero como pseudo-elemento; mask-image cria um degradê que esmaece
       a imagem gradualmente para a esquerda, fundindo-a com o fundo em vez de terminar
       numa borda reta (-webkit- é o prefixo necessário para Chrome/Safari) */
    .hero-section::before {
        content: "";
        position: absolute;
        inset: -120px -220px auto auto;
        width: 850px;
        height: 850px;
        background: url("/Image/modelo_portal.png") center/cover no-repeat;
        opacity: 0.78;
        border-radius: 0 0 0 260px;
        filter: saturate(1.04) contrast(1.02);
        z-index: 0;
        mask-image: linear-gradient(to left, #000 48%, transparent 100%);
        -webkit-mask-image: linear-gradient(to left, #000 48%, transparent 100%);
    }

    .hero-section::after {
        content: "";
        position: absolute;
        inset: -80px -160px 0 35%;
        background: linear-gradient(90deg, var(--cream) 0%, rgba(251, 246, 242, 0.72) 25%, rgba(251, 246, 242, 0.08) 100%);
        z-index: 1;
        pointer-events: none;
    }

.hero-content {
    position: relative;
    z-index: 3;
    padding-bottom: 60px;
}

.hero-badge {
    width: fit-content;
    padding: 8px 18px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(12px);
    color: var(--rose-dark);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    margin-bottom: 26px;
}

.hero-content h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(46px, 6vw, 76px);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -2px;
    color: #3A2925;
    margin-bottom: 28px;
}

    .hero-content h1 span {
        color: var(--rose-dark);
    }

.hero-content p {
    max-width: 510px;
    font-size: 17px;
    line-height: 1.8;
    color: #3F302C;
    margin-bottom: 34px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 36px;
}

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13.5px;
}

.hero-benefits span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(168, 94, 73, 0.10);
    backdrop-filter: blur(6px);
}

.hero-benefits span i {
    font-style: normal;
    color: var(--rose-dark);
    font-size: 15px;
    line-height: 1;
}

.hero-visual {
    position: relative;
    z-index: 2;
    min-height: 620px;
}

.hero-image-card {
    display: none;
}

/* RESOURCES */

.resources-section {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 58px 0 42px;
    position: relative;
    z-index: 5;
}

    .resources-section::before {
        content: "";
        position: absolute;
        inset: 0 -120px;
        background: rgba(255, 255, 255, 0.52);
        backdrop-filter: blur(20px);
        border-radius: 32px;
        z-index: -1;
    }

.section-title {
    text-align: center;
    margin-bottom: 34px;
}

    .section-title h2 {
        font-family: Georgia, "Times New Roman", serif;
        font-size: 36px;
        font-weight: 500;
        color: #3A2925;
    }

    .section-title p {
        margin-top: 10px;
        color: var(--muted);
    }

.resources-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.resource-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.resource-card {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(201, 130, 112, 0.14);
    border-radius: 24px;
    padding: 26px 18px;
    text-align: center;
    box-shadow: 0 18px 45px rgba(168, 94, 73, 0.08);
    transition: 0.25s ease;
}

    .resource-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 24px 55px rgba(168, 94, 73, 0.15);
    }

.resource-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--rose-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rose-dark);
    font-size: 24px;
}

.resource-card h3 {
    font-size: 15px;
    margin-bottom: 10px;
}

.resource-card p {
    font-size: 13px;
    line-height: 1.6;
    color: #5F4E49;
}

/* PLAN */

.plan-section {
    width: min(1180px, calc(100% - 48px));
    margin: 40px auto 70px;
}

.plan-card {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 44px;
    padding: 44px;
    border-radius: 30px;
    background: linear-gradient(90deg, rgba(247, 230, 225, 0.96), rgba(255, 255, 255, 0.78)), url("/assets/portal/modelo_portal.png") right center/contain no-repeat;
    border: 1px solid rgba(201, 130, 112, 0.2);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.plan-price {
    border-right: 1px solid rgba(168, 94, 73, 0.22);
    padding-right: 34px;
}

    .plan-price span {
        display: inline-flex;
        margin-bottom: 12px;
        padding: 6px 12px;
        border-radius: 999px;
        background: rgba(201, 130, 112, 0.12);
        color: var(--rose-dark);
        text-transform: uppercase;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 1px;
    }

    .plan-price h2 {
        font-family: Georgia, "Times New Roman", serif;
        font-size: 34px;
        color: var(--rose-dark);
        font-weight: 500;
    }

    .plan-price p {
        color: var(--muted);
        margin: 8px 0;
    }

    /* preço âncora — "de R$ 149,90 por" com riscado em rosê */
    .plan-price-old {
        font-size: 15px;
    }

        .plan-price-old s {
            color: var(--rose-dark);
            font-weight: 600;
            text-decoration-thickness: 2px;
        }

    .plan-price strong {
        display: block;
        font-size: 44px;
        color: #3A2925;
        margin-bottom: 8px;
    }

    /* selo de economia abaixo do preço */
    .plan-price-save {
        display: inline-flex;
        align-items: center;
        margin-bottom: 20px;
        padding: 5px 12px;
        border-radius: 999px;
        background: rgba(47, 155, 97, 0.12);
        color: var(--green);
        font-size: 12.5px;
        font-weight: 700;
        font-style: normal;
    }

    .plan-price small {
        font-size: 16px;
        font-weight: 500;
    }

    .plan-price ul,
    .plan-features ul {
        list-style: none;
    }

    .plan-price li,
    .plan-features li {
        margin-bottom: 13px;
        color: #4B3935;
        font-size: 14px;
    }

        .plan-price li::before,
        .plan-features li::before {
            content: "✓";
            color: var(--rose-dark);
            font-weight: 900;
            margin-right: 10px;
        }

.plan-features h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 26px;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 34px;
}

/* FOOTER */

.portal-footer {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto 40px;
    padding: 28px 34px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(201, 130, 112, 0.16);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .portal-footer strong {
        color: var(--rose-main);
        letter-spacing: 8px;
        font-size: 20px;
    }

    .portal-footer p {
        margin-top: 8px;
        color: var(--muted);
    }

/* RESPONSIVO */

@media (max-width: 1024px) {
    .portal-nav {
        display: none;
    }

    .hero-section {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-bottom: 40px;
    }

        /* mobile: a moça vira fundo full-bleed do hero (a imagem é vertical, 1024x1536);
           -24px nas laterais compensa a margem da section para sangrar até a borda da tela */
        .hero-section::before {
            inset: -60px -24px 0 -24px;
            width: auto;
            height: auto;
            transform: none;
            background: url("/Image/modelo_portal.png") 35% 22% / cover no-repeat;
            opacity: 0.55;
            border-radius: 0;
            mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
            -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
        }

        /* véu creme leve para manter o texto escuro legível sem apagar a imagem */
        .hero-section::after {
            inset: -60px -24px 0 -24px;
            background: linear-gradient(to bottom,
                rgba(251, 246, 242, 0.82) 0%,
                rgba(251, 246, 242, 0.60) 45%,
                rgba(251, 246, 242, 0.72) 100%);
        }

    .hero-content {
        padding-top: 30px;
        text-align: center;
        margin: 0 auto;
    }

        .hero-badge,
        .hero-content p {
            margin-left: auto;
            margin-right: auto;
        }

    .hero-buttons,
    .hero-benefits {
        justify-content: center;
    }

    .resources-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .plan-card {
        grid-template-columns: 1fr;
        background: linear-gradient(rgba(255,255,255,0.82), rgba(247,230,225,0.92)), url("/assets/portal/modelo_portal.png") center bottom/cover no-repeat;
    }

    .plan-price {
        border-right: 0;
        border-bottom: 1px solid rgba(168, 94, 73, 0.22);
        padding-right: 0;
        padding-bottom: 28px;
    }
}

@media (max-width: 768px) {
    .portal-header {
        width: min(100% - 28px, 1180px);
    }

    .portal-actions {
        display: none;
    }

    .hero-section,
    .resources-section,
    .plan-section,
    .portal-footer {
        width: min(100% - 28px, 1180px);
    }

    .hero-content h1 {
        font-size: 44px;
    }

    .hero-buttons {
        flex-direction: column;
    }

        .hero-buttons .btn {
            width: 100%;
        }

    .hero-benefits {
        gap: 14px;
        font-size: 13px;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .plan-card {
        padding: 30px 22px;
    }

    .features-list {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .portal-footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

        .portal-footer .btn {
            width: 100%;
        }
}
