html {
    scroll-behavior: smooth;
}
#assinatura,
#materiais {
    scroll-margin-top: 6rem;
}

.hero {
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)),
        url('../imagem/bg_hero.png') center / cover no-repeat;
    padding: 18vh 5vw 13vw 5vw;
}

.hero-content {
    max-width: 70rem;
    margin: auto;
    text-align: center;
}

.hero-subtitle {
    color: #c39550;
    font-weight: 800;
    font-size: 2rem;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin: 0.3rem 0;
}

.hero-buttons {
    margin-top: 3rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    border-radius: 0.4rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s ease;
}

.btn-primary {
    padding: 1rem 2.5rem;
    background: #c39550;
    color: #151515;
}

.btn-primary:hover {
    background: #151515;
    color: #c39550;
}

.btn-secondary {
    padding: 1rem 4rem;
    background: #151515;
    color: #c39550;
}

.btn-secondary:hover {
    background: #c39550;
    color: #151515;
}

.oferta {
    padding: 8vh 15vw;
    text-align: center;
    background-color: #151515;
}

.section-title {
    font-size: 2rem;
    color: #c39550;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #d0d0d0;
}

.oferta-cards {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 2rem;
}

.oferta-card {
    background: #252523;
    padding: 2rem 0.2rem;
    border-radius: 0.6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        background-color 0.35s ease;
}

.oferta-card:hover {
    transform: translateY(-0.4rem);
    background-color: #2b2b29;
    box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.45);
}

.oferta-card img {
    height: 6rem;
    margin-bottom: 1.2rem;
    transition: transform 0.35s ease;
}

.oferta-card:hover img {
    transform: scale(1.06);
}

.mentoras {
    padding: 8vh 5vw;
    text-align: center;
}

.mentoras-cards {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 6rem;
    max-width: 60rem;
    max-height: 30rem;
    margin-left: auto;
    margin-right: auto;
}

.mentora-card {
    position: relative;
    border-radius: 0.9rem;
    overflow: hidden;
    max-height: 30rem;
    background-color: #151515;
    box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.45);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.mentora-card:hover {
    transform: translateY(-0.4rem);
    box-shadow: 0 1.2rem 2.5rem rgba(0, 0, 0, 0.6);
}

.mentora-card img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
    display: block;
    background: linear-gradient(
        180deg,
        #aaa9a9 0%,
        #a8a7a7 30%,
        #888888 55%,
        #3a3a3a 75%,
        #151515 100%
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 65%,
        rgba(0, 0, 0, 0.6) 80%,
        rgba(0, 0, 0, 0) 100%
    );
    mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 65%,
        rgba(0, 0, 0, 0.6) 80%,
        rgba(0, 0, 0, 0) 100%
    );
}

.mentora-info {
    padding: 0.3rem 5.5rem 1.5rem;
    background-color: #151515;
}

.mentora-info h3 {
    color: #c39550;
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
}

.mentora-info p {
    font-size: 1rem;
    color: #e0e0e0;
    line-height: 1.45;
}

.assinatura {
    background-color: #151515;
    padding: 7vh 15vw;
}

.assinatura-content {
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.custom-video {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-video video {
    width: 60%;
    object-fit: cover;
    object-position: center;
    border-radius: 1rem;
    background-color: #0000;
    box-shadow: 0 1.2rem 2.5rem rgba(0, 0, 0, 0.55);
}

.video-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 1rem;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 0, 0, 0) 45%,
        rgba(0, 0, 0, 0.35) 70%,
        rgba(0, 0, 0, 0.65) 100%
    );
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 1rem;
    background: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.55));
    transition: opacity 0.3s ease;
}

.play-btn {
    width: 4.5rem;
    height: 4.5rem;
    background-color: rgba(195, 149, 80, 0.95);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.4);
    transition: transform 0.25s ease;
}

.play-btn::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-35%, -50%);
    width: 0;
    height: 0;
    border-top: 0.7rem solid transparent;
    border-bottom: 0.7rem solid transparent;
    border-left: 1.1rem solid #151515;
}

.video-overlay:hover .play-btn {
    transform: scale(1.08);
}

.assinatura-detalhes {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    text-align: justify;
}

.assinatura-titulo {
    font-size: 2.2rem;
    line-height: 1.25;
    color: #d8ad69;
    margin-bottom: 1rem;
    text-align: center;
}

.assinatura-descricao {
    color: #d0d0d0;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 32rem;
}

.assinatura-preco {
    font-size: 3rem;
    color: #c39550;
    font-weight: 600;
    margin-bottom: 3rem;
    text-align: center;
}

.assinatura-preco span {
    font-size: 1.3rem;
    color: #d0d0d0;
    margin-left: 0.3rem;
}

.btn-comprar {
    display: inline-block;
    width: fit-content;
    padding: 1.2rem 3.5rem;
    background-color: #c39550;
    color: #151515;
    font-size: 1rem;
    font-weight: 800;
    border-radius: 0.5rem;
    text-decoration: none;
    transition:
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.btn-comprar:hover {
    background-color: #d8ad69;
    color: #151515;
    transform: scale(1.06);
    box-shadow: 0 0.8rem 1.6rem rgba(0, 0, 0, 0.35);
}
.btn-comprar:active {
    transform: scale(1.02);
}

.materiais {
    padding: 8vh 5vw;
    text-align: center;
}

.materiais-header {
    max-width: 70rem;
    margin: 0 auto 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.materiais-header .section-title {
    margin: 0;
    font-size: 2rem;
    color: #c39550;
}

.materiais-search {
    background: #151515;
    border: 1px solid #3a3a3a;
    border-radius: 0.4rem;
    padding: 0.6rem 1rem;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    width: 25rem;
}

.materiais-search::placeholder {
    color: #9c9c9c;
}

.materiais-search:focus {
    outline: none;
    border-color: #c39550;
}

.materiais-grid {
    max-width: 70rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(14rem, 1fr));
    gap: 2.5rem;
    justify-content: center;
}

.material-card {
    background: #151515;
    border-radius: 0.8rem;
    overflow: hidden;
    padding-bottom: 1.6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 22rem;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.material-card:hover {
    transform: translateY(-0.4rem);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.45);
}

.material-img {
    width: 100%;
    height: 9rem;
    overflow: hidden;
}

.material-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.material-card h3 {
    margin-top: 1.2rem;
    margin: 1.2rem 1rem 0.2rem;
    font-size: 1rem;
    color: #ffffff;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.material-card p {
    font-size: 0.8rem;
    color: #d0d0d0;
    margin: 0.5rem 1.5rem 1rem;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.material-preco {
    color: #c39550;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: auto;
    margin-bottom: 1rem;
}

.material-card .btn {
    padding: 0.7rem 1.8rem;
    margin-top: 0;
    transition:
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.material-card .btn:hover {
    background-color: #d8ad69;
    color: #151515;
    transform: scale(1rem);
    box-shadow: 0 0.8rem 1rem rgba(0, 0, 0, 0.35);
}

.materiais-vazio {
    grid-column: 1 / -1;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 2.5rem 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 1rem;
    font-weight: 500;
    border: 2px dashed rgba(195, 149, 80, 0.25);
    border-radius: 0.8rem;
    background: linear-gradient(rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(2px);
}

@media (max-width: 48rem) {
    body {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1rem;
    }

    .hero {
        padding: 9vh 6vw 10vh 6vw;
        margin-top: -4rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: -1rem;
    }

    .material-card .btn.btn-primary {
        min-width: unset;
        max-width: unset;
        width: auto;
        padding: 0.45rem 1.2rem;
        font-size: 0.75rem;
        display: inline-flex;
        align-self: center;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 2rem;
        max-width: 12rem;
        min-width: 12rem;
        font-size: 0.8rem;
    }

    .oferta {
        padding: 3vh 7vw;
    }

    .oferta h2 {
        font-size: 1.2rem;
    }

    .oferta-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
        margin-top: 1rem;
    }

    .oferta-card {
        padding: 1.3rem 0.6rem;
        font-size: 0.8rem;
    }

    .oferta-card img {
        height: 4.2rem;
    }

    .mentoras {
        padding: 3vh 4vw;
    }

    .mentoras h2 {
        font-size: 1.2rem;
        margin-bottom: -2rem;
    }

    .mentoras-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .mentora-card {
        max-height: 25rem;
    }

    .mentora-card img {
        height: 10rem;
    }

    .mentora-info {
        padding: 0.2rem 1rem 1rem;
    }

    .mentora-info h3 {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .mentora-info p {
        font-size: 0.6rem;
        line-height: 1.5;
    }

    .assinatura {
        padding: 3vh 4vw;
    }

    .assinatura-content {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .custom-video video {
        width: 80%;
    }

    .assinatura-titulo {
        font-size: 0.9rem;
        margin-bottom: 2rem;
        font-weight: bold;
    }

    .assinatura-descricao {
        display: none;
    }

    .assinatura-preco {
        font-size: 1.5rem;
        margin-bottom: 2rem;
        color: #ffffff;
    }

    .assinatura-preco span {
        font-size: 0.8rem;
    }

    .btn-comprar {
        padding: 0.3rem 2rem;
        font-size: 0.8rem;
        text-align: center;
    }

    .materiais {
        padding: 3vh 6vw;
    }

    .materiais-header {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .materiais-header .section-title {
        font-size: 1.5rem;
    }

    .materiais-search {
        width: 100%;
        font-size: 0.75rem;
        padding: 0.5rem 0.8rem;
        margin-bottom: -1.3rem;
    }

    .materiais-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.3rem;
    }

    .material-card {
        min-height: 20rem;
    }

    .material-img {
        position: relative;
        width: 100%;
        height: 7rem;
        background: #000;
    }

    .material-img .material-fallback {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .material-card h3 {
        font-size: 0.8rem;
        margin: 1rem 0.3rem 0.2rem 0.3rem;
    }

    .material-card p {
        font-size: 0.7rem;
        margin: 0.2rem 0.6rem 0.5rem 0.6rem;
    }

    .material-preco {
        font-size: 1.2rem;
        margin-bottom: 0.7rem;
    }

    .material-card .btn.btn-primary {
        min-width: unset;
        max-width: unset;
        width: auto;
        padding: 0.45rem 0.5rem;
        font-size: 0.75rem;
        display: inline-flex;
        align-self: center;
    }
}
