* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body.ativo{
    overflow: hidden;
}
body, input, textarea {
    flex: 1;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    background-color: #f4f6fa;
    color: #333;
    
}

header, section h2, section h3, form button, h1 {
   font-family: "Goldman", sans-serif;
  font-weight: 700;
  font-style: normal;
}
#divlogo {
    display: flex;
    align-items: center;
}
#logo {
    margin-right: 10px;
    max-width: 40px;
    height: auto;
}

header {
    
    padding: 24px 0;
    background-color: #18181a;
    color: #ecf0f1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-family: "Goldman", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 28px;
}

header nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

header nav li {
    display: inline;
    font-size: 18px;
}

header nav li a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

header nav li a:hover {
    color: #a5b6f1;
}

.container {
    
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 4vw; /* usa porcentagem em vez de px para bordas suaves */
}

section {
    padding: 48px 0;
    text-align: center;
}

section h2 {
    margin-bottom: 16px;
    font-size: 28px;
}

section p {
    margin-bottom: 16px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* SOBRE NÓS com layout lado a lado em telas grandes */
.about-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-direction: row;
    text-align: left;
}


.about-section p {
    max-width: none;
}

.brands-list img {
    max-width: 24px;
    margin-right: 8px;
}

.brands-list li {
    display: inline-block;
}

.social-links {
    margin-top: 16px;
}

.social-links li {
    display: inline-block;
    margin: 0 8px;
}

.social-links img {
    width: 28px;
    transition: transform 0.2s ease;
}

.social-links img:hover {
    transform: scale(1.1);
}

#contact .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin-top: 24px;
}

form {
    background-color: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

form input,
form textarea {
    width: 100%;
    max-width: 320px;
    margin-bottom: 12px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
}

form textarea {
    resize: none;
    height: 160px;
}

form button {
    background-color: #182c61;
    color: #ecf0f1;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #314e93;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #182c61;
}

section h3 {
    margin-bottom: 16px;
    font-size: 20px;
}

footer {
    background-color: #191a1d;
    color: #ecf0f1;
    padding: 24px 0;
    text-align: center;
    font-size: 14px;
}
#container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        padding: 0 4vw; /* usa porcentagem em vez de px para bordas suaves */
    }

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    body.ativo{
        overflow: hidden;
    }
    body {
        font-size: 15px;
    }
    #logo {
    margin-right: 10px;
    max-width: 30px;
    height: auto;
}
    header h1 {
        text-align: center;
        font-size: 20px;
    }

    .about-section .container {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    section h2 {
        font-size: 24px;
    }

    .contact-methods {
        flex-direction: column;
        align-items: center;
    }

    form input,
    form textarea,
    form button {
        max-width: 100%;
    }
}
.about-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

/* A partir de 640px, fica lado a lado */
@media (min-width: 640px) {
     body.ativo{
        overflow: hidden;}
    .about-section .container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }
}

@media (min-width: 950px) {
     body.ativo{
        overflow: hidden;
    }
    .container {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        padding: 0 4vw; /* usa porcentagem em vez de px para bordas suaves */
    }
    #container {
        display: flex;
        align-items: center;
        justify-content: space-between;

    }
}
/* Oculta o botão em telas grandes */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #ecf0f1;
    display: block;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Estilo padrão do menu */
nav.menu ul {
    display: flex;
    gap: 16px;
    list-style: none;
}

nav.menu ul li a {
    text-decoration: none;
    color: #ecf0f1;
    font-size: 18px;
}

/* --- RESPONSIVO --- */
@media (max-width: 950px) {
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    nav.menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #151616;
        padding: 24px;
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #151616;
        padding: 24px;
    }

    .menu-container:hover .menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    nav.menu ul {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    nav.menu.show {
        display: flex;
    }
}









.parceiros-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    margin-top: 32px;
}

.parceiro-card {
    align-content: center;
    background-color: #fff;
    border-radius: 12px;
    padding: 16px;
    width: 200px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.parceiro-card:hover {
    transform: scale(1.05);
}

.parceiro-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 12px;
    border-radius: 8px;
}













.projetos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    justify-content: center;
    margin: 32px auto 0;
    max-width: 1200px;
    padding: 0 16px;
}

.projeto-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 16px;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.projeto-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 12px;
}


.projeto-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #182c61;
}

.projeto-card p {
    font-size: 14px;
    line-height: 1.5;
}
div.projeto-card.ativo h3{
    display: none;
}

div.projeto-card.ativo {
    background-color: #25242491;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 50%;
    left: 50%;
    display: flex;
    padding: 5px;
    transform: translate(-50%, -50%);
    align-items: center;
}

/* Responsivo (ajustes finos) */
@media (max-width: 768px) {
    .projetos-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 24px;
    }

    .projeto-card h3 {
        font-size: 18px;
    }

    .projeto-card p {
        font-size: 13.5px;
    }
}

