@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #0c4c7d;
    --secondary-color: #f8f9fa;
    --accent-color: #4CAF50;
    --text-color: #333;
    --light-text: #fff;
    --border-color: #ddd;
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    --blue-background-valores: #0c4c7d;
    --section-bg-color: #f9f9f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar {
    background-color: #0c4c7d;
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

body.admin-mode .navbar {
    top: 52px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    align-items: center;
    gap: 10px; 
}

.nav-item {
    margin: 0;
}

.nav-link {
    display: block;
    color: white;
    text-align: center;
    padding: 10px 15px; 
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 6px;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-link:hover {
    background-color: #1a6da8;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.nav-link.active {
    background-color: #1a6da8;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.whatsapp-btn {
    background-color: #25D366;
    color: white !important;
    border-radius: 50px;
    padding: 10px 22px !important;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-4px);
    box-shadow: 0 5px 12px rgba(0,0,0,0.4);
}

main {
    flex: 1;
}

.title {
    text-align: center;
    padding: 2rem 0;
}

.title h1 {
    color: #0c4c7d;
    font-size: 2.5rem;
    margin: 0;
}

.content-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem 2rem;
    gap: 2rem;
}

.text-content {
    flex: 1;
    min-width: 300px;
}

.text-content h2 {
    color: #0c4c7d;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

#ideais h4 {
    color: #0c4c7d;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

#ideais p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.carousel-container {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    display: none;
}

.carousel-item.active {
    display: block;
}

.carousel-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}
.carousel-item {
    position: relative;
}

.carousel-link {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.carousel-caption-top {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
}

.arque-blue {
    color: #4169e1;
    font-weight: bold;
}

.carousel-caption-top h3 {
    margin: 0;
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.carousel-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
}

.carousel-caption h3 {
    margin: 0;
    font-size: 1.5rem;
}

.atuacao-global {
    background-color: var(--atuacao-bg);
    padding: 60px 20px;
    text-align: center;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.texto-destaque {
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.destaque-numeros {
    font-size: 1.2em;
    margin-top: 20px;
}

.destaque {
    color: #2A5CAA;
    font-weight: bold;
}

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

.mapas-linha {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    width: 100%;
}

.mapa-item {
    flex: 1 1 45%;
    min-width: 300px;
    max-width: 600px;
}

.mapa-img {
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.mapa-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.container-secoes-lado-a-lado {
    max-width: 1200px;
    margin: 40px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0 15px;
    align-items: stretch;
}

.valores {
    background-color: var(--blue-background-valores);
    color: var(--light-text);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    flex: 1;
    min-width: 300px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.valores .titulo-principal {
    color: var(--light-text);
    font-size: 2.2em;
    margin-bottom: 25px;
    text-align: left;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
}

.texto-valores p {
    margin-bottom: 1em;
    font-size: 1.1em;
    line-height: 1.6;
}

.abordagens-tecnicas {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    flex: 1;
    min-width: 300px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.abordagens-tecnicas .titulo-principal {
    color: var(--primary-color);
    font-size: 2.2em;
    margin-bottom: 25px;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.lista-abordagens {
    list-style: none;
    padding-left: 0;
    margin-top: 0;
}

.lista-abordagens li {
    font-size: 1.1em;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    line-height: 1.5;
}

.lista-abordagens li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.icon-bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .content-section {
        flex-direction: column;
    }
    
    .menu-toggle {
        display: block;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 0;
    }
    
    .nav-list.active {
        display: flex;
    }

    .nav-link {
        padding: 10px 20px;
        font-size: 1rem;
        width: 100%;
        text-align: left;
    }

    .whatsapp-btn {
        padding: 10px 20px !important;
        font-size: 1rem;
        width: 100%;
    }

    .nav-container {
        justify-content: space-between;
    }
    
    body.admin-mode .navbar {
        top: 52px; 
    }

    .carousel-item img {
        height: 250px;
    }

    .container-secoes-lado-a-lado {
        flex-direction: column;
        gap: 20px;
    }

    .valores,
    .abordagens-tecnicas {
        padding: 30px;
        min-width: unset;
    }

    .valores .titulo-principal,
    .abordagens-tecnicas .titulo-principal {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .texto-valores p,
    .lista-abordagens li {
        font-size: 1em;
    }

    .mapas-linha {
        flex-direction: column;
        align-items: center;
    }
    
    .mapa-item {
        min-width: unset;
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 480px) {
    .nav-link {
        font-size: 0.85rem;
        padding: 8px 10px;
    }
    .whatsapp-btn {
        padding: 8px 15px !important;
        font-size: 0.9rem;
    }
    body.admin-mode .navbar {
        top: 52px;
    }

    .carousel-item img {
        height: 200px;
    }
}

footer {
    background-color: #0c4c7d;
    color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
}

footer > div.max-w-7xl {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1280px;
    gap: 2rem;
}

footer > div.max-w-7xl > div {
    flex: 1 1 auto;
    min-width: 200px;
    text-align: center;
}

footer > div.max-w-7xl > div:first-child {
    text-align: left;
}

footer > div.max-w-7xl > div:first-child img {
    height: 3rem;
    width: auto;
    max-width: 100%;
}

@media (min-width: 768px) {
    footer > div.max.w-7xl > div {
        text-align: left;
    }
    footer > div.max-w-7xl > div:first-child {
        flex-basis: 25%;
    }
    footer > div.max-w-7xl > div:nth-child(2),
    footer > div.max-w-7xl > div:nth-child(3),
    footer > div.max-w-7xl > div:nth-child(4) {
        flex-basis: calc(75% / 3);
    }
}

@media (min-width: 1024px) {
    footer > div.max-w-7xl > div {
        flex-basis: 25%;
    }
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    color: #a0aec0;
}

footer img {
    border-radius: 0.375rem;
}