html {
    font-family: "Manrope", sans-serif;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    font-size: 16px;
}

body {
    margin: 0;
}

button {
    background-color: #E58627;
    color: #fff;
    font-weight: 500;
    font-size: 1.5rem;
    padding: .5rem 1.5rem;
    border-radius: .5rem;
    border: none;
    cursor: pointer;
}

#logo {
    opacity: 0.9;
    transform: scale(1.0);
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0;
}

h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
}

h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
}

#presentation-container {
    padding: 2.5rem 7.5rem;
    height: 85vh;
    background-image: url(assets/background.svg);
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#presentation {
    width: 40rem;
}

#qualities {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4rem;
}

#qualities > img {
    margin: 0 2.5rem;
}

.container {
    padding: 5rem 7.5rem;
    text-align: center;
}

.contact-title {
    margin-top: .5rem;
}

.container > p {
    margin-top: 1.5rem;
}

.container > button {
    margin-top: 2rem;
    transition: opacity 0.5s ease-in-out, transform 0.5s;
}

.container > button:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.background-gradiente {
    background: linear-gradient(190deg, #fff, #af5e2c);
}

.let {
    color: white;
}

.background-color {
    background-color: black;
    color: #fff;
}

.article-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

.article-container > img {
    width: 100%;
    object-fit: cover;
}

.article-container:nth-child(even) {
    margin-top: 5rem;
    flex-direction: row-reverse;
}

.article-details {
    display: flex;
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
    margin: 0 2.5rem 0 0;
    justify-content: space-between;
}

.article-details > button {
    font-size: 1rem;
    background-color: #E58627;
    color: #fff;
    border-radius: .5rem;
    border: none;
    cursor: pointer;
}

.article-details > button:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.article-container:nth-child(even) > .article-details {
    margin: 0 0 0 2.5rem;
}

#footer-list {
    display: flex;
    text-align: left;
}

#footer-list > ul > li {
    list-style: none;
    margin-bottom: 1rem;
}

#footer-list > ul > li:last-child {
    margin-bottom: 0;
}

#footer-list > ul > li:first-child {
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-copy {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8.5rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5rem;
    margin-top: 4rem;
}

.grid-item > h3 {
    margin-top: .5rem;
}

.grid-item > p {
    margin: .5rem 0 0;
}

.grid-container-companies {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.grid-item-companies {
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 1rem;
}

.company-1 { grid-area: 3 / 1; }
.company-2 { grid-area: 2 / 2; }
.company-3 { grid-area: 3 / 2; }
.company-4 { grid-area: 1 / 3; }
.company-5 { grid-area: 2 / 3; }
.company-6 { grid-area: 3 / 3; }
.company-7 { grid-area: 2 / 4; }
.company-8 { grid-area: 3 / 4; }
.company-9 { grid-area: 3 / 5; }

.background-grey {
    background-color: #f4f5f7;
}

#zap{
    width: 25px;   
    height: auto;  
    vertical-align: middle;
}

.pzap{
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Tablet Media Query (Corrigida) */
@media only screen and (max-width: 768px) and (max-width: 1023px) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    #presentation-container {
        padding: 5rem 4rem;
    }

    .container {
        padding: 5rem 4rem;
    }

    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-container-companies {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
    }

    .company-1, .company-2, .company-3, .company-4, 
    .company-5, .company-6, .company-7, .company-8, .company-9 {
        grid-area: auto;
    }
}

/* Mobile Media Query */
@media only screen and (max-width: 767px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 2rem;
    }

    #presentation-container {
        padding: 2rem 1.5rem;
        justify-content: center;
        align-items: center;
        text-align: center;
        height: auto;
    }

    #presentation {
        width: 100%;
    }

    .container {
        padding: 3rem 1.5rem;
    }

    .grid-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    #qualities {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 2rem;
    }

    #qualities > img {
        transform: rotate(90deg);
        margin: 1.5rem 0;
    }

    .article-container {
        flex-direction: column-reverse;
        text-align: center;
       
    }

    .article-container:nth-child(even) {
        flex-direction: column-reverse;
    }

    .article-container:nth-child(even) > .article-details {
        margin: 1.5rem 0 0 0;
    }

    .article-details {
        text-align: center;
        align-items: center;
        margin: 3rem 0 0 0;
        
    }

    .article-container > img {
        width: 100%;
        object-fit: cover;
        margin-top: 1rem;
    }

    .grid-container-companies {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .grid-item-companies {
        height: 5rem;
    }

    .company-1, .company-2, .company-3, .company-4, 
    .company-5, .company-6, .company-7, .company-8, .company-9 {
        grid-area: auto;
    }

    #footer-list {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    #footer-list > ul {
        margin-top: 2rem;
        padding: 0;
    }

    #footer-list > ul:first-child {
        margin-top: 0;
    }

    .footer-copy {
        flex-direction: column-reverse;
        margin-top: 4rem;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-copy > div:first-child {
        margin-top: 0;
    }

    #logo {
        display: block;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        width: 800px; /* Defina o tamanho ideal aqui (ex: 120px a 180px) */
        max-width: 100%;
    }
    
}