/* Reset global */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {text-decoration: none}

html, body {
    background: #fff;
    font-family: 'Lufga', Arial, sans-serif;
    height: 100%;
}

/* Containers alinhados */
.align {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 1800px;
}

header {
    background-size: cover;
    width: 100%;
    height: 100vh; /* ocupa toda a altura da tela */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

header .shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* ocupa toda altura do header */
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFF 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}




header .logo {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

header .logo img {
    width: 400px;
    height: auto;
}

header .text {
    width: 100%;
    max-width: 1200px;
    color: #000;
    text-align: center;
    font-size: clamp(40px, 5vw, 90px);
    font-weight: 500;
    line-height: 1.1;
    margin: 50px auto;
}

header .color-1 {
    background: linear-gradient(90deg, #67B432 0%, #2F6E28 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

header .color-2 {
    background: linear-gradient(90deg, #449B3A 0%, #2F6E28 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

header .contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
}

header .contact .button {
    width: 267px;
    height: 76px;
    border-radius: 50px;
    background: #449B3A;
    color: #fff;
    font-size: 25px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    text-align: center;
    padding-top: 21px;
}

header .contact .button:hover {
    background: #2F6E28;
}

header .contact .message {
    color: #000;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-transform: lowercase;
}

/* Commercial Section */
section.commercial {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 50px 10%;
    flex-wrap: wrap; /* permite quebra automática */
}

.commercial-item {
    flex: 1 1 45%;       /* ocupa ~45% do container, cresce e encolhe conforme necessário */
    min-width: 300px;    /* não fica menor que isso */
    max-width: 850px;    /* limite máximo */
    height: auto;
    border-radius: 40px;
    background: #F5F5F5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

/* Container da esquerda */
.commercial-item .content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Title, Text e Button */
.commercial-item .title {
    color: #000;
    font-size: 45px;
    font-weight: 500;
    line-height: 1;
    margin: 10px 0 0 20px;
}

.commercial-item .text {
    color: #000;
    font-size: 25px;
    font-weight: 400;
    line-height: 1;
    margin: 5px 20px 0 20px;
    padding-right: 50px;
}

.commercial-item .button {
    width: 220px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    background: #D9D9D9;
    color: #000;
    font-size: 22px;
    font-weight: 500;
    cursor: pointer;
    margin: 85px 20px 0 20px;
}

.commercial-item .button img {
    display: block;
}

.commercial-item .object {
    width: 330px;
    height: 410px;
    border-radius: 40px;
    background: var(--primary-white, #67B432);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
    margin: -85px 10px 0 0;
}

.commercial-item .object img {
    object-fit: cover;
    object-position: bottom;
    display: block;
}

/* Companies Section */
section.companies {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 50px 10%;
    flex-wrap: wrap;
}

.companies .title {
    width: 100%;
    color: #000;
    font-size: clamp(40px, 5vw, 80px);
    font-weight: 700;
    line-height: 1;
    text-align: center;
    margin-bottom: 80px;
}

.companies-item {
    position: relative;
    width: 32%;
    min-width: 250px;
    height: 244px;
    border-radius: 40px;
    background: #F5F5F5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 50px;
    box-sizing: border-box;
}

.companies-item .flag {
    width: 96px;
    height: 72px;
    position: absolute;
    top: -26px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 12px;
}

.companies-item .country {
    color: #000;
    text-align: center;
    font-size: 25px;
    font-weight: 800;
    line-height: 1;
    margin: 25px 0 5px;
}

.companies-item .address {
    color: #000;
    text-align: center;
    font-size: 20px;
    font-style: italic;
    font-weight: 300;
    line-height: 1;
    margin: 25px 0 5px;
}

/* Socials Section */
section.socials {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 50px 10%;
    flex-wrap: wrap;
}

.socials .title {
    color: #000;
    font-size: clamp(30px, 4vw, 50px);
    font-weight: 500;
    line-height: 0.9;
    flex: 0 0 400px;
}

.socials-items-container {
    display: flex;
    gap: 20px;
    flex: 1;
    flex-wrap: wrap;
}

.socials-item {
    flex: 1;
    min-width: 140px;
    border-radius: 40px;
    background: #F5F5F5;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0 60px;
}

/* Footer */
footer.footer {
    width: 100%;
    padding: 50px 10%;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

footer .footer-logo img {
    width: 100px;
    height: auto;
}

footer .footer-text {
    color: #000;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
}

/* Responsividade */
@media (max-width: 1920px) {
    .align { width: 95%; }
}

@media (max-width: 1200px) {
    header .text { font-size: clamp(30px, 6vw, 60px); }
    .commercial-item { flex: 1 1 45%; }
}

@media (max-width: 768px) {
    header {
        height: 60vh; /* altura menor para mobile */
    }

    header .shadow .logo img {
        width: 200px; /* reduz logo */
    }

    header .text {
        font-size: clamp(25px, 5vw, 40px);
        text-align: center;
    }

    header .contact .button {
        margin: 20px auto 0; /* centraliza botão */
    }

    section.commercial {
        flex-direction: column;
        gap: 20px;
        padding: 30px 5%;
    }
    .commercial-item { width: 100%; }
}

@media (max-width: 480px) {
    /* Header */
    header .logo img { width: 240px; }
    header .text { font-size: clamp(20px, 6vw, 30px); padding: 0 10px; }
    header .contact .button { width: 200px; height: 60px; font-size: 18px; padding-top: 15px; margin: 0 auto; display: block; }

    /* Commercial */
    .commercial-item {
        flex-direction: column;
        text-align: center;
        width: 100%;
        padding: 20px 10px;
    }
    .commercial-item .object { display: none; }
    .commercial-item .button { margin: 20px auto 0; }
    .commercial-item .title { font-size: 28px; }
    .commercial-item .text { font-size: 18px; padding: 0 15px; }

    /* Companies */
    .companies-item { width: 100%; margin-bottom: 20px }
    .companies-item .flag { width: 80px; height: 60px; top: -20px; }
    .companies-item .country { font-size: 18px; }
    .companies-item .address { font-size: 16px; }

    /* Socials */
    .socials .title {
        text-align: center;        /* centraliza o título */
        font-size: 30px;           /* reduz a fonte */
        flex: unset;               /* remove a largura fixa */
        width: 100%;               /* ocupa 100% do container */
        margin-bottom: 20px;       /* espaçamento abaixo do título */
    }
    .socials-items-container { flex-direction: column; gap: 20px; width: 100%; align-items: center; }
    .socials-item { width: 80%; min-width: unset; padding: 40px 0; }

    /* Footer */
    footer .footer-text { font-size: 16px; }
}
