/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #e6e9f2;
    color: #333;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #1d2b46;
    color: white;
    padding: 15px 40px;
    flex-wrap: wrap;
    min-height: 70px;
    position: relative;
    z-index: 100;
}

.header .logo {
    display: flex;
    align-items: center;
    margin-right: 40px;
}

.header .logo img {
    height: 60px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav a {
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.nav a.active {
    background-color: #2F446B;
    color: white;
}

.whatsapp-header {
    background-color: #25d366;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.whatsapp-header:hover {
    background-color: #20b954;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Banner Empresa */
.banner-empresa {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 0;
}

.banner-empresa img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.banner-empresa::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.texto-banner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    z-index: 2;
    width: 90%;
    max-width: 800px;
}

.texto-banner h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: bold;
    line-height: 1.2;
}

/* Quem Somos */
.quem-somos {
    background: white;
    padding: 80px 0;
    text-align: center;
}

.quem-somos h2 {
    font-size: 2.5rem;
    color: #2F446B;
    margin-bottom: 30px;
    font-weight: bold;
    position: relative;
}

.quem-somos h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #2F446B;
    border-radius: 2px;
}

.quem-somos p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Missão, Visão e Valores */
.missao-visao-valores {
    background: #f8f9fc;
    padding: 80px 0;
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.missao-visao-valores .item {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    max-width: 350px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #2F446B;
    position: relative;
}

.missao-visao-valores .item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.missao-visao-valores .item .icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2F446B, #1d2b46);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(47, 68, 107, 0.3);
}

.missao-visao-valores .item .icon i {
    font-size: 2rem;
    color: white;
}

.missao-visao-valores .item h3 {
    font-size: 1.4rem;
    color: #2F446B;
    margin-bottom: 15px;
    font-weight: bold;
}

.missao-visao-valores .item p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Nossa História */
.nossa-historia {
    background: white;
    padding: 80px 0;
}

.nossa-historia h2 {
    font-size: 2.5rem;
    color: #2F446B;
    margin-bottom: 50px;
    font-weight: bold;
    text-align: center;
    position: relative;
}

.nossa-historia h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #2F446B;
    border-radius: 2px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: #2F446B;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    background: #2F446B;
    color: white;
    padding: 15px 25px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.2rem;
    min-width: 100px;
    text-align: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(47, 68, 107, 0.3);
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 0 30px;
    flex: 1;
    border-left: 4px solid #2F446B;
}

.timeline-item:nth-child(even) .timeline-content {
    border-left: none;
    border-right: 4px solid #2F446B;
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: #2F446B;
    margin-bottom: 10px;
    font-weight: bold;
}

.timeline-content p {
    color: #555;
    line-height: 1.6;
}

/* Nossos Diferenciais */
.diferenciais {
    background: #f8f9fc;
    padding: 80px 0;
}

.diferenciais h2 {
    font-size: 2.5rem;
    color: #2F446B;
    margin-bottom: 50px;
    font-weight: bold;
    text-align: center;
    position: relative;
}

.diferenciais h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #2F446B;
    border-radius: 2px;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.diferencial-item {
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #2F446B;
}

.diferencial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.diferencial-item .icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2F446B, #1d2b46);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(47, 68, 107, 0.3);
}

.diferencial-item .icon i {
    font-size: 1.8rem;
    color: white;
}

.diferencial-item h3 {
    font-size: 1.2rem;
    color: #2F446B;
    margin-bottom: 15px;
    font-weight: bold;
}

.diferencial-item p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* CTA Final */
.cta-final {
    background: #2F446B;
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-final h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.cta-final p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.botao-cta {
    background: white;
    color: #2F446B;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.botao-cta:hover {
    background: #f8f9fc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* Footer */
.footer {
    background: #1d2b46;
    color: white;
    font-size: 0.9em;
}

.testediv {
    background: #2F446B;
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
}

.contato-mapa {
    width: 100%;
}

.contato-mapa iframe {
    width: 100%;
    height: 300px;
    border: 0;
}

.newsletter {
    background: #2F446B;
    padding: 40px 20px;
    text-align: center;
}

.newsletter h1 {
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 1.5rem;
}

.newsletter form {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.newsletter input {
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    flex: 1;
    min-width: 250px;
}

.newsletter button {
    background: #2F446B;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.newsletter button:hover {
    background: #1d2b46;
}

.footer-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 40px 20px;
    gap: 30px;
}

.footer-column {
    max-width: 250px;
    margin-bottom: 20px;
}

.footer-column h4 {
    margin-bottom: 15px;
    border-bottom: 2px solid white;
    padding-bottom: 8px;
    font-size: 1.1rem;
    font-weight: bold;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-column ul li a,
.footer-column ul li {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #2F446B;
}

.footer-column i {
    color: #2F446B;
    width: 16px;
}

/* Responsividade */
@media (max-width: 1024px) {
    .header {
        padding: 15px 20px;
        gap: 15px;
    }
    
    .header-right {
        gap: 20px;
    }
    
    .nav {
        gap: 15px;
    }
    
    .banner-empresa {
        height: 400px;
    }
    
    .quem-somos,
    .missao-visao-valores,
    .nossa-historia,
    .diferenciais,
    .cta-final {
        padding: 60px 0;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 60px;
    }
    
    .timeline-item:nth-child(even) {
        flex-direction: row !important;
    }
    
    .timeline-year {
        position: absolute;
        left: 0;
        min-width: 80px;
        padding: 10px 15px;
        font-size: 1rem;
    }
    
    .timeline-content {
        margin: 0;
        border-left: 4px solid #2F446B !important;
        border-right: none !important;
    }
    
    .diferenciais-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .header-right {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        margin-left: 0;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .banner-empresa {
        height: 350px;
    }
    
    .quem-somos,
    .missao-visao-valores,
    .nossa-historia,
    .diferenciais,
    .cta-final {
        padding: 50px 0;
    }
    
    .cards-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-year {
        min-width: 70px;
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .diferenciais-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .newsletter form {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter input {
        width: 100%;
        max-width: 400px;
    }
    
    .newsletter button {
        width: 100%;
        max-width: 200px;
    }
    
    .footer-main {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 15px;
    }
    
    .nav a {
        font-size: 1rem;
        padding: 6px 10px;
    }
    
    .whatsapp-header {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
    
    .banner-empresa {
        height: 300px;
    }
    
    .quem-somos,
    .missao-visao-valores,
    .nossa-historia,
    .diferenciais,
    .cta-final {
        padding: 40px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .quem-somos h2,
    .nossa-historia h2,
    .diferenciais h2 {
        font-size: 2rem;
    }
    
    .cta-final h2 {
        font-size: 2rem;
    }
    
    .timeline-item {
        padding-left: 40px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-year {
        left: -10px;
        min-width: 60px;
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .timeline-content {
        padding: 15px;
    }
    
    .missao-visao-valores .item,
    .diferencial-item {
        padding: 25px 20px;
    }
    
    .testediv {
        font-size: 1.5rem;
        padding: 15px;
    }
    
    .newsletter {
        padding: 30px 15px;
    }
    
    .footer-main {
        padding: 30px 15px;
    }
}

