/* ==========================================================================
   CSS geral e reset
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Ubuntu", sans-serif;
    font-style: normal;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
    /* bloqueia espaço lateral */
}

/* ==========================================================================
   Estilos de seções da página (Layout)
   ========================================================================== */
.home-1 {
    background-image: url(/assets/mgtBackground.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    border-bottom: 1px solid #da0202;
    padding: 20px;
}

.home-2 {
    background: linear-gradient(45deg, #000000, #000, #000, #b11e04, #b11e04, #000, #000, #000000);
    min-height: 100vh;
    color: #ffffff;
    background-size: 400% 400%;
    animation: animarGradient 10s ease infinite;
    border-bottom: 1px solid #da0202;
}

.home-3 {
    min-height: 100vh;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #000;
    background-size: 200% 300%;
    animation: color 10s ease-in-out infinite;
    border-bottom: 1px solid #da0202;
}

.home-4 {
    background-color: rgb(17, 17, 17);
    min-height: 80vh;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid #da0202;
}

.home-5 {
    min-height: 100vh;
    background: linear-gradient(45deg, #b11e04, #000, #000, #000, #000, #b11e04);
}

.home-7 {
    min-height: 100vh;
    background-color: #000000;
    padding: 30px;
    background: linear-gradient(110deg, #b11e04, #000, #000, #000, #000, #b11e04);
}

/* ==========================================================================
   Estilos de contêineres e componentes
   ========================================================================== */
.home2-conatiner {
    display: flex;
}

.container-imgs-home2 {
    display: flex;
}

.home2-img1,
.home2-img2 {
    width: 500px;
    height: 600px;
    border-radius: 50px;
    position: absolute;
    transition: transform 0.7s ease;
}

.home2-img1 {
    z-index: 0;
    margin-top: 150px;
    margin-left: 1100px;
}

.home2-img2 {
    z-index: 1;
    margin-top: 200px;
    margin-left: 1050px;
}

.home2-img1:hover {
    z-index: 3;
    transform: translateY(20px);
}

.home2-img2:hover {
    z-index: 6;
    transform: translateX(-20px);
}

.info-home,
.info-home2 {
    margin-left: 200px;
    position: absolute;
    display: flex;
    flex-direction: column;
}

.info-home {
    margin-top: 150px;
    width: 700px;
}

.info-home2 {
    margin-top: 250px;
    width: 800px;
}

.services-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    column-gap: 20px;
    margin-top: 20px;
}

.card-services {
    width: 450px;
    height: 500px;
    border-radius: 50px;
    padding: 20px;
    text-align: left;
    display: flex;
    justify-content: center;
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    background-color: rgb(255, 255, 255);
    border-radius: 16px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    overflow: hidden;
    position: relative;
    /* Adicionado para o pseudo-elemento */
}

.card-services:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(204, 25, 2, 0.5);
}

.card-services::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(0deg, transparent, transparent 30%, rgba(211, 14, 0, 0.3));
    transform: rotate(-45deg);
    transition: all 0.9s ease;
    opacity: 0;
}

.card-services:hover::before {
    opacity: 1;
    transform: rotate(-45deg) translateY(100%);
}

.img-card {
    width: 400px;
    height: 300px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.container-partners {
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    background: linear-gradient(180deg, #000, #000, #000, #b11e04, #b11e04);
    border-radius: 16px;
    border: 3px solid rgba(192, 192, 192, 0.644);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    width: 50%;
    height: 500px;
    border-radius: 50px;
    margin-top: 125px;
}

.partners-scholl-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    overflow: hidden;
}

.topLine-partners,
.bassLine-partners {
    overflow: hidden;
    white-space: nowrap;
}

.list-partners1,
.list-partners2 {
    margin-top: 50px;
    display: flex;
    gap: 40px;
    list-style: none;
}

.logo-scroll {
    height: 100px;
    width: auto;
    object-fit: contain;
    border-radius: 10px;
}

.logo-scroll:hover {
    transform: scale(1.00) translateY(-5px);
}

/* Timeline */
.timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    position: relative;
    margin: 80px auto;
    width: 90%;
    max-width: 1000px;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 27%;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(40deg, #00000094, #da0202, #da0202, #da0202, #00000094);
    z-index: 0;
    transform: translateY(-50%);
}

.step {
    position: relative;
    background-color: #202020;
    border: 3px solid #b11e04;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
    transition: transform 0.3s ease;
    animation: pulseGlow 3s infinite ease-in-out;
}

.step i {
    color: #cc2d2d;
    font-size: 35px;
    margin-bottom: 5px;
}

.step span {
    color: #fff;
    font-weight: bold;
    font-size: 25px;
}

.step:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   Estilos de texto e títulos
   ========================================================================== */
.title-home {
    font-size: 100px;
    color: #ffffff;
}

.title-home2 {
    font-size: 90px;
    color: #ffffff;
}

.title-home3 {
    font-size: 80px;
    color: rgb(255, 255, 255);
    text-align: center;
    margin-top: 50px;
}

.title-home span {
    color: rgb(128, 5, 5);
    transition: color 0.5s ease;
}

.title-partners {
    text-align: center;
    margin-top: 40px;
    font-size: 70px;
}

.title-choose {
    padding-top: 50px;
    text-align: center;
    font-size: 70px;
    margin-bottom: 10px;
    color: #fff;
}

.title-home span:hover {
    color: rgb(255, 255, 255);
}

.description-home,
.description-home2 {
    font-size: 30px;
    color: #ffffff;
}

.description-card {
    color: #000;
}

.card-title {
    margin-bottom: 10px;
    color: #000;
}

.description-choose {
    text-align: center;
    font-size: 20px;
    color: #928e8e;
}

h4 {
    margin-top: 20px;
    text-align: center;
    font-size: 25px;
    color: #fff;
}

.description-step {
    color: #928e8e;
    text-align: center;
    margin-top: 10px;
}

/* ==========================================================================
   Estilos de botões
   ========================================================================== */
.btn-abu-home {
    width: 300px;
    background-color: rgb(128, 5, 5);
    margin: 0 auto;
    height: 50px;
    border-radius: 50px;
    border: none;
    font-size: 30px;
    color: #ffffff;
    margin-top: 10px;
    cursor: pointer;
}

.btn-seeMore {
    width: 280px;
    background-color: rgb(128, 5, 5);
    margin: 0 auto;
    height: 50px;
    border-radius: 50px;
    border: none;
    font-size: 30px;
    color: #ffffff;
    margin-top: 40px;
    text-decoration: none;
    cursor: pointer;
}

/* ==========================================================================
   Animações
   ========================================================================== */


/* ==========================================================================
   Media Queries (Responsividade)
   ========================================================================== */
/* Telas grandes e tablets (até 1024px) */
@media (max-width: 1024px) {
    .home-1 {
        background-position: center right;
        /* joga a imagem mais pro lado direito */
        padding: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .title-home {
        font-size: 70px;
        width: 90%;
    }

    .title-home2 {
        font-size: 60px;
    }

    .title-home3 {
        font-size: 50px;
    }

    .description-home,
    .description-home2 {
        font-size: 22px;
    }

    .info-home,
    .info-home2 {
        margin-left: 100px;
        width: 600px;
    }

    .home2-img1,
    .home2-img2 {
        width: 350px;
        height: 450px;
        margin-left: auto;
        margin-right: auto;
        position: relative;
    }

    .services-container {
        flex-wrap: wrap;
        gap: 30px;
    }

    .card-services {
        width: 350px;
        height: auto;
    }

    .timeline {
        flex-wrap: wrap;
        gap: 60px;
    }

    .timeline::before {
        width: 90%;
        top: auto;
        bottom: -50px;
    }
}

/* Smartphones grandes (até 768px) */
@media (max-width: 768px) {
    .home-1 {
        background-position: center right;
        /* joga a imagem mais pro lado direito */
        padding: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .title-home {
        font-size: 50px;
        text-align: center;
    }

    .title-home2 {
        font-size: 40px;
        text-align: center;
    }

    .title-home3 {
        font-size: 35px;
    }

    .description-home,
    .description-home2 {
        font-size: 18px;
        text-align: center;
    }

    .info-home,
    .info-home2 {
        margin: 0 auto;
        margin-top: 100px;
        position: relative;
        width: 90%;
        text-align: center;
    }
    .home2-conatiner{
        display: flex;
        flex-direction: column;
    }

    .home2-img1,
    .home2-img2 {
        display: block;  
        position: relative; 
        width: 95%;
        height: 300px;
        margin: 20px auto; 
    }

    .services-container {
        flex-direction: column;
        align-items: center;
    }

    .card-services {
        width: 90%;
    }

    .container-partners {
        width: 90%;
        height: auto;
        padding: 20px;
    }

    .timeline {
        flex-direction: column;
        gap: 40px;
        align-items: center;
        justify-content: center;
    }

    .timeline::before {
        display: none;
    }

    .step {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }

    .step span {
        font-size: 20px;
    }
}

/* Smartphones pequenos (até 480px) */
@media (max-width: 480px) {
    .home-1 {
        min-height: 70vh;
        background-size: cover;
        background-position: 65% center;
        padding: 0;
        background-repeat: no-repeat;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .title-home {
        font-size: 35px;
    }

    .title-home2 {
        font-size: 28px;
    }

    .container-imgs-home2{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .title-home3 {
        font-size: 25px;
    }

    .description-home,
    .description-home2 {
        font-size: 16px;
    }

    .btn-abu-home {
        width: 100%;
        height: 45px;
        font-size: 18px;
        border-radius: 20px;
        margin-bottom: 20px;
    }
     .btn-seeMore{
        width: 200px;
         height: 45px;
        font-size: 18px;
        border-radius: 20px;
        margin-bottom: 20px;
     }
    .card-services {
        padding: 15px;
    }

    .img-card {
        width: 100%;
        height: auto;
    }

    .container-partners {
        width: 90%;
        border-radius: 20px;
        margin-bottom: 40px;
    }

    .title-choose {
        font-size: 35px;
    }

    .timeline {
        flex-direction: column;
        gap: 40px;
        align-items: center;
        justify-content: center;
        margin-bottom: 0px;
    }

    h4 {
        font-size: 18px;
    }

    .description-step {
        font-size: 14px;
    }

    .step {
        width: 100px;
        height: 100px;
        margin: 0 auto;

    }

    .step span {
        font-size: 16px;
    }

    .container-step4 {
        margin-bottom: 40px;
    }

    .form-container {
        margin-top: -5px;
        margin-bottom: 60px;
    }
}