/* 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 Contato */
.banner-contato {
    position: relative;
    height: 450px;
    overflow: hidden;
    margin-bottom: 0;
}

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

.banner-contato::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(47, 68, 107, 0.8), rgba(29, 43, 70, 0.6));
    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, 3.5rem);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
}

.texto-banner p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    opacity: 0.95;
}

/* Seção Principal de Contato */
.contato-principal {
    background: white;
    padding: 80px 0;
}

.contato-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

/* Formulário de Contato */
.formulario-container h2 {
    font-size: 2.2rem;
    color: #2F446B;
    margin-bottom: 20px;
    font-weight: bold;
    position: relative;
}

.formulario-container h2::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 4px;
    background: #2F446B;
    border-radius: 2px;
}

.formulario-container p {
    color: #555;
    margin-bottom: 30px;
    line-height: 1.7;
    font-size: 1.1rem;
}

.formulario-contato {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2F446B;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fc;
    color: #333;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2F446B;
    background: white;
    box-shadow: 0 0 0 3px rgba(47, 68, 107, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    padding-left: 20px;
}

.form-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #2F446B;
    font-size: 1rem;
    pointer-events: none;
}

.form-group:has(label) .form-icon {
    top: calc(50% + 15px);
}

.btn-enviar {
    background: linear-gradient(135deg, #2F446B, #1d2b46);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(47, 68, 107, 0.3);
}

.btn-enviar:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(47, 68, 107, 0.4);
    background: linear-gradient(135deg, #1d2b46, #2F446B);
}

.btn-enviar:active {
    transform: translateY(0);
}

/* Informações de Contato */
.info-container h3 {
    font-size: 1.8rem;
    color: #2F446B;
    margin-bottom: 30px;
    font-weight: bold;
}

.contato-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.info-card {
    background: #f8f9fc;
    padding: 25px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border-left: 4px solid #2F446B;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.info-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: white;
}

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

.card-icon i {
    font-size: 1.5rem;
    color: white;
}

.card-content h4 {
    color: #2F446B;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.card-content p {
    color: #555;
    margin: 0;
    line-height: 1.5;
}

/* Contato Rápido */
.contato-rapido {
    background: linear-gradient(135deg, #2F446B, #1d2b46);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    color: white;
}

.contato-rapido h4 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.botoes-rapidos {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-whatsapp,
.btn-email,
.btn-telefone {
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background: #20b954;
    transform: translateY(-2px);
}

.btn-email {
    background: #e74c3c;
    color: white;
}

.btn-email:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.btn-telefone {
    background: #3498db;
    color: white;
}

.btn-telefone:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* Seção FAQ */
.faq-section {
    background: #f8f9fc;
    padding: 80px 0;
}

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

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

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.faq-question:hover {
    background: #f8f9fc;
    border-left-color: #2F446B;
}

.faq-question h3 {
    color: #2F446B;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.faq-question i {
    color: #2F446B;
    transition: transform 0.3s ease;
    font-size: 1rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #f8f9fc;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 30px 25px;
}

.faq-answer p {
    color: #555;
    line-height: 1.6;
    margin: 0;
    padding-top: 15px;
}

/* 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-contato {
        height: 350px;
    }
    
    .contato-principal,
    .faq-section {
        padding: 60px 0;
    }
    
    .contato-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@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-contato {
        height: 300px;
    }
    
    .contato-principal,
    .faq-section {
        padding: 50px 0;
    }
    
    .contato-grid {
        gap: 30px;
    }
    
    .formulario-container h2 {
        font-size: 1.8rem;
    }
    
    .info-container h3 {
        font-size: 1.5rem;
    }
    
    .faq-section h2 {
        font-size: 2rem;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .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-contato {
        height: 250px;
    }
    
    .contato-principal,
    .faq-section {
        padding: 40px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .formulario-container h2 {
        font-size: 1.6rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px 12px 40px;
    }
    
    .form-icon {
        left: 15px;
        font-size: 0.9rem;
    }
    
    .btn-enviar {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .info-card {
        padding: 20px;
        gap: 15px;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
    }
    
    .card-icon i {
        font-size: 1.3rem;
    }
    
    .contato-rapido {
        padding: 25px 20px;
    }
    
    .faq-question {
        padding: 15px;
    }
    
    .faq-answer {
        padding: 0 15px 20px;
    }
    
    .testediv {
        font-size: 1.5rem;
        padding: 15px;
    }
    
    .newsletter {
        padding: 30px 15px;
    }
    
    .footer-main {
        padding: 30px 15px;
    }
}

