/* ===== HERO ===== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100vh; /* ocupa toda a tela */
    background: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.8) 20%,
            rgba(0, 0, 0, 0.1) 70%
        ),
        url("../img/celular.webp") center center / cover no-repeat;
    color: #fff;
    padding: 0 10%;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 5rem;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: #fff;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    font: normal normal 300 18px/18px Raleway;
    line-height: 25px;
}

.btn-yellow {
    background: #ffd000;
    color: #000;
    padding: 18px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
}

.btn-yellow:hover {
    background: #e6c000;
}

/* ===== SOBRE ===== */
/* .sobre {
    background: #fdfdfd;
    padding: 60px 10%;
} */

.sobre {
    position: relative;
    background-color: #f1f1f1;
    border: none;
    padding: 60px 10%;
    z-index: 1;
}

.sobre::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    background-color: #575656;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%);
    z-index: 1;
}

.sobre * {
    position: relative;
    z-index: 2;
}

.sobre .container {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-top: -100px; /* sobe 100px sobre o hero */
    position: relative;
    z-index: 2;
}

.sobre .container h2 {
    font: normal normal 900 28px/36px Raleway;
    font-weight: 900;
}

.sobre .container p {
    margin-top: 10px;
    font: normal normal 300 16px/16px Raleway;
    text-align: justify;
    line-height: 20px;
}

.antecipar {
    display: flex; /* ativa flexbox */
    background-color: #f1f1f1;
    border: none;
    padding: 60px 10%;
    z-index: 1;
    min-height: 350px;
    gap: 20px;
}

.container-left {
    flex: 0 0 20%; /* ocupa 20% da largura */
    background-color: #f1f1f1;
    min-height: 300px;
    border-right: 50px solid #ffd000;
}

.container-right {
    flex: 1; /* ocupa o restante da largura */
    background-color: #f1f1f1; /* só para visualização */
    min-height: 300px;
}

.antecipar .container-right h2 {
    font: 300 30px/30px Raleway;
    font-weight: bold;
    padding-left: 20px;
}

.antecipar .container-right span {
    font: 300 30px/30px Raleway;
    font-weight: bold;
    color: #ffd000;
}

.antecipar .container-right p {
    font: normal normal 300 16px/16px Raleway;
}

.antecipar .container-right ul {
    padding-left: 20px;
}

.antecipar .container-right li {
    margin-top: 15px;
}

.icon-list {
    list-style: none; /* remove bullets padrão */
    padding: 0;
    margin: 0;
}

.icon-list li {
    display: flex;
    align-items: center;
    gap: 10px; /* espaço entre ícone e texto */
    margin-bottom: 8px;
}

.icon-list .icon {
    width: 25px;
    height: 26px;
}

.dicas .container {
    display: flex; /* ativa flex nos filhos */
    gap: 20px; /* espaço entre esquerda e direita */
    width: 100%; /* ocupa toda a largura da seção */
}

.dicas {
    position: relative;
    display: flex;
    background-color: #f1f1f1;
    border: none;
    z-index: 1;
    min-height: 350px;
    gap: 20px;
}

.dicas::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0; /* agora começa do lado esquerdo */
    width: 85%; /* ocupa metade da seção */
    height: 100%;
    background-color: #575656;
    clip-path: polygon(
        0 0,
        88% 0,
        100% 100%,
        0 100%
    ); /* corte invertido para o lado esquerdo */
    z-index: 1;
}

.container-left-d {
    flex: 0 0 55%;
    min-height: 300px;
    padding: 60px; /* substitui o padding da seção */
    z-index: 2;
}

.container-right-d {
    flex: 1;
    min-height: 300px;
    padding: 60px; /* mantém espaço interno */
    z-index: 2;
}

.container-right-d img {
    width: 105%; /* ocupa toda a largura do container */
    max-width: 800px; /* limite máximo de tamanho */
    height: auto; /* mantém proporção da imagem */
    display: block; /* remove espaços indesejados abaixo da imagem */
    margin: 0 auto;
}

.icon-list-d {
    list-style: none; /* remove bullets padrão */
    margin: 0;
    font: normal normal 300 18px/18px Raleway;
    color: #fff;
    line-height: 40px;
    float: right;
}

.icon-list-d li {
    display: flex;
    align-items: center;
    gap: 10px; /* espaço entre ícone e texto */
    margin-bottom: 8px;
}

.cta-final {
    text-align: center;
    padding: 80px 10%;
    background: #fff;
}

.cta-final h2 {
    font: normal normal 300 36px/36px Raleway;
    margin-bottom: 25px;
}

.cta-final span {
    font-weight: 700;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 980px) {
    .container-right-d {
        display: none;
    }

    .icon-list-d {
        list-style: none; /* remove bullets padrão */
        margin: 0;
        font: normal normal 300 14px/14px Raleway;
        color: #fff;
        line-height: 40px;
        float: left;
    }

    .container-left-d {
        flex: 0 0 100%;
    }
}

@media (max-width: 760px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 0 5%;
        background-position: right center;
    }

    .hero-content {
        max-width: 90%;
    }

    .hero-content h1 {
        font: normal normal 300 24px/24px Raleway;
    }

    .hero-content p {
        font: normal normal 300 14px/14px Raleway;
    }

    .btn-yellow {
        padding: 12px 24px;
    }

    .container-left {
        display: none;
    }
}
