.hero-home {
    position: relative;
    min-height: calc(100vh - var(--lw-header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        linear-gradient(rgba(6, 8, 12, 0.55), rgba(12, 21, 32, 0.78)),
        url("../../IMAGENS/PAI_2.jpeg") 32% center / cover no-repeat;
    overflow: hidden;
}

.hero-home::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 35%, rgba(229, 127, 31, 0.14), transparent 42%),
        linear-gradient(to bottom, rgba(6, 8, 12, 0.08), rgba(17, 24, 32, 0.5));
    pointer-events: none;
}

.hero-home .hero-conteudo {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 0 0 clamp(28px, 5vw, 72px);
    padding: 48px 24px 64px;
    text-align: center;
}

.hero-home h1 {
    font-family: var(--lw-font-display);
    font-size: clamp(56px, 9vw, 112px);
    font-weight: 700;
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #f5f5f5;
    margin-bottom: 24px;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.hero-home h1 .destaque {
    color: var(--lw-line-strong);
}

.hero-home p {
    font-size: clamp(18px, 2.2vw, 26px);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.84);
    max-width: 640px;
    margin: 0 auto;
    font-weight: 500;
}

.hero-botoes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.stats-strip {
    background: var(--lw-dark-soft);
    color: #fff;
    padding: 26px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: center;
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.stat-icone {
    color: var(--lw-line);
    font-size: 24px;
    line-height: 1;
}

.stats-strip .stat-valor {
    font-family: var(--lw-font-display);
    font-size: clamp(26px, 2vw, 38px);
    line-height: 1;
    color: #fff;
    font-weight: 600;
}

.stat-label {
    font-size: 15px;
    letter-spacing: 0.5px;
    color: #8f8f8f;
    text-transform: uppercase;
    margin-top: 4px;
}

.secao {
    padding: 85px 0;
}

.secao-resultados {
    background: var(--lw-dark);
}

.secao-resultados .titulo-secao h2 {
    color: #ffffff;
}

.secao-resultados .titulo-secao p {
    color: #b8b8b8;
}

/* —— Secção Explorar (homepage) —— */
.home-explorar {
    position: relative;
    padding: clamp(80px, 9vw, 108px) 0 clamp(72px, 7vw, 96px);
    background:
        radial-gradient(circle at 12% 0%, rgba(229, 127, 31, 0.05), transparent 36%),
        radial-gradient(circle at 88% 100%, rgba(229, 127, 31, 0.04), transparent 32%),
        var(--lw-bg-soft);
}

.home-explorar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(229, 127, 31, 0.35), transparent);
}

.home-explorar .titulo-secao {
    max-width: 620px;
    margin: 0 auto 56px;
}

.home-explorar .titulo-secao p {
    font-size: 17px;
    line-height: 1.65;
}

.home-explorar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 2.5vw, 28px);
    max-width: 1060px;
    margin: 0 auto;
}

.home-explorar-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: clamp(26px, 3vw, 32px) clamp(24px, 2.5vw, 28px);
    border-radius: var(--lw-radius-xl);
    background: var(--lw-bg-card);
    border: 1px solid var(--lw-border);
    box-shadow: var(--lw-shadow-card);
    text-decoration: none;
    color: inherit;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.home-explorar-card:hover {
    transform: translateY(-5px);
    border-color: rgba(229, 127, 31, 0.32);
    box-shadow: var(--lw-shadow-hover);
}

.home-explorar-icone {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(229, 127, 31, 0.1);
    border: 1px solid rgba(229, 127, 31, 0.18);
    color: var(--lw-line);
    font-size: 18px;
    flex-shrink: 0;
}

.home-explorar-titulo {
    font-family: var(--lw-font-display);
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    color: var(--lw-text);
    line-height: 1.25;
}

.home-explorar-texto {
    font-size: 15px;
    line-height: 1.6;
    color: var(--lw-muted);
    flex: 1;
}

.home-explorar-card::after {
    content: "→";
    margin-top: auto;
    padding-top: 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--lw-line);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.home-explorar-card:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.cards-resultados {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 980px;
    margin: 0 auto 28px;
}

.resultado-topo {
    font-size: 14px;
    color: #8b8b8b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.resultado-prova {
    font-size: 20px;
    color: #111;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
}

.resultado-tempo {
    font-family: var(--lw-font-display);
    font-size: clamp(34px, 2.4vw, 46px);
    line-height: 1;
    color: var(--lw-line);
    letter-spacing: 1px;
    font-weight: 600;
}

.link-resultados {
    text-align: center;
    margin-top: 10px;
}

.link-resultados a {
    color: var(--lw-line);
    text-decoration: none;
    font-size: 22px;
    font-weight: 500;
}

.link-resultados a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .hero-home .hero-conteudo {
        margin-left: 16px;
        padding: 48px 24px 64px;
    }

    .stats-grid,
    .cards-resultados {
        grid-template-columns: 1fr;
    }

    .cards-resultados {
        max-width: 650px;
    }

    .home-explorar-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .home-explorar .titulo-secao {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .hero-botoes .btn-principal,
    .hero-botoes .btn-secundario {
        width: 100%;
        max-width: 320px;
    }

    .home-explorar-grid {
        grid-template-columns: 1fr;
    }
}
