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

/* ==========================================================================
   1. CONFIGURAÇÕES GERAIS
   ========================================================================== */
:root {
    --cor-azul-escuro: #021E37;
    --cor-cinza-azulado: #98A4AE;
    --cor-dourado: #8F7C4E;
    --cor-verde: #678D73;
    --cor-branca: #FFFFFF;
    --fonte-principal: 'Poppins', Arial, sans-serif;
    --cor-verde-rgb: 103, 141, 115;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--fonte-principal);
    background-color: var(--cor-branca);
    color: var(--cor-azul-escuro);
}

section {
    padding: 80px 5%;
    text-align: center;
}

h1, h2, h3 {
    color: var(--cor-azul-escuro);
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ==========================================================================
   2. COMPONENTES GERAIS (Usados em várias páginas)
   ========================================================================== */

/* --- CABEÇALHO E NAVEGAÇÃO --- */
.main-header {
    background-color: var(--cor-verde);
    padding: 10px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-height: 60px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--cor-branca);
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.3s;
}

.main-nav .nav-cta {
    background-color: var(--cor-branca);
    color: var(--cor-verde);
    padding: 10px 25px;
    border-radius: 8px;
    border: none;
    font-family: var(--fonte-principal);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.main-nav .nav-cta:hover {
    background-color: #f0f0f0;
    transform: scale(1.05);
}

.hamburger {
    display: none;
}

/* --- RODAPÉ --- */
footer {
    background-color: var(--cor-azul-escuro);
    color: var(--cor-cinza-azulado);
    padding: 60px 5%;
}

.footer-logo {
    max-width: 120px;
    margin-bottom: 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--cor-cinza-azulado);
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.footer-col {
    flex: 1;
}

.footer-col h3 {
    color: var(--cor-branca);
    margin-bottom: 20px;
}

.footer-col a {
    color: var(--cor-cinza-azulado);
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
}

.desenvolvido-por {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.desenvolvido-por p {
    margin: 0;
    font-size: 0.9rem;
}

.logo-desenvolvedor {
    max-height: 100px;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: var(--cor-cinza-azulado);
    font-size: 24px;
    transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
    color: var(--cor-branca);
    transform: scale(1.2);
}

/* --- WIDGET DE WHATSAPP --- */
.whatsapp-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
}

.whatsapp-float-btn {
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-chat-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    overflow: hidden;
    transform: scale(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.whatsapp-chat-box.visible {
    transform: scale(1);
}

.chat-header {
    background-color: #075E54;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.chat-body {
    padding: 15px;
}

.chat-body textarea {
    width: 100%;
    height: 80px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    margin: 10px 0;
    resize: none;
}

.chat-send-btn {
    width: 100%;
    padding: 12px;
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}


/* ==========================================================================
   3. ESTILOS POR PÁGINA
   ========================================================================== */

/* --- PÁGINA INICIAL (index.html) --- */

/* Seção Hero com Vídeo */
.hero-section {
    height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 30, 55, 0.70);
    z-index: 2;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
}

.hero-text-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--cor-branca);
    max-width: 800px;
}

.logo-hero {
    max-height: 170px;
    margin-bottom: 20px;
}

.hero-text-content h1, .hero-text-content p {
    color: var(--cor-branca);
}

.hero-text-content p {
    font-size: 1.2rem;
    color: var(--cor-cinza-azulado);
    margin: 20px 0 40px;
}

.cta-button {
    display: inline-block;
    background-color: var(--cor-verde);
    color: var(--cor-branca);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: var(--cor-dourado);
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(var(--cor-verde-rgb), 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 10px 20px rgba(var(--cor-verde-rgb), 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(var(--cor-verde-rgb), 0); }
}

.animated-button {
    animation: pulse 2s infinite;
}

/* Seção Sobre (Missão, Visão, Valores) */
#sobre {
    background-color: var(--cor-verde);
}

#sobre h2 {
    color: var(--cor-azul-escuro);
    font-size: 2.8rem;
    margin-bottom: 60px;
}

.sobre-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.sobre-card {
    background-color: var(--cor-verde);
    border-radius: 20px;
    text-align: center;
    flex: 1;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    padding: 0;
    display: flex;
    flex-direction: column;
}

.sobre-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 30px;
    flex-grow: 1;
}

.card-content h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* --- Seção Serviços (Slider) - VERSÃO COM MOLDURAS NAS IMAGENS --- */
#servicos.section-dark {
    background-color: var(--cor-azul-escuro);
    padding: 80px 0;
}

#servicos.section-dark h2 {
    color: var(--cor-branca);
    margin-bottom: 60px;
    padding: 0 5%;
    text-align: center;
}

.slider-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.servicos-wrapper {
    overflow: hidden;
}

.servicos-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
}

/* AJUSTES APLICADOS AQUI */
.servico-card {
    flex: 0 0 calc(33.333% - 20px);
    display: flex;
    flex-direction: column;
    background-color: var(--cor-azul-escuro);
    border-radius: 15px;
    overflow: hidden;
    /* ADICIONADO: Borda dourada em volta do card todo */
    border: 1px solid var(--cor-dourado);
    /* ADICIONADO: Espaçamento interno que cria o efeito de moldura */
    padding: 15px; 
}

.servico-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    /* ADICIONADO: Cantos arredondados para a imagem */
    border-radius: 10px; 
}

.servico-card-content {
    padding: 25px 10px 10px 10px; /* Padding ajustado */
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* REMOVIDO: A borda que estava aqui foi movida para o .servico-card */
}

.servico-card-content h3 {
    color: var(--cor-branca);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.servico-card-content p {
    color: var(--cor-cinza-azulado);
    font-size: 0.9rem;
    flex-grow: 1;
    margin-bottom: 20px;
}

.btn-card-saiba-mais {
    display: inline-block;
    margin-top: auto;
    padding: 8px 20px;
    background-color: transparent;
    color: var(--cor-dourado);
    text-decoration: none;
    font-weight: 500;
    border: 1px solid var(--cor-dourado);
    border-radius: 50px;
    transition: all 0.3s ease;
    align-self: center;
}

.btn-card-saiba-mais:hover {
    background-color: var(--cor-dourado);
    color: var(--cor-azul-escuro);
}

.slider-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    color: var(--cor-azul-escuro);
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s;
}

.slider-btn:hover {
    background-color: var(--cor-branca);
}

.prev-btn { left: -5px; }
.next-btn { right: -5px; }

.slider-dots {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    text-align: center;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: var(--cor-cinza-azulado);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
    border: none;
}

.dot.active {
    background-color: var(--cor-branca);
}

/* Seção CTA Final */
.cta-final {
    background-color: var(--cor-dourado);
}

.cta-final h2 {
    color: var(--cor-branca);
}

.cta-final .cta-button {
    background-color: var(--cor-azul-escuro);
}

.cta-final .cta-button:hover {
    background-color: var(--cor-verde);
}

/* --- PÁGINA INICIAL - SEÇÃO SERVIÇOS AVANÇADOS (ABAS) --- */
#servicos-avancados {
    background-color: #f0f5fb; /* Um fundo claro para destacar */
}

.subtitulo-avancados {
    max-width: 600px;
    margin: -20px auto 50px auto;
    color: #555;
}

.tabs-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--cor-branca);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.tabs-nav {
    display: flex;
    background-color: var(--cor-azul-escuro);
}

.tab-link {
    flex: 1;
    padding: 20px;
    background-color: transparent;
    border: none;
    color: var(--cor-cinza-azulado);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-link:hover {
    background-color: #0A2A47;
    color: var(--cor-branca);
}

.tab-link.active {
    color: var(--cor-branca);
    border-bottom-color: var(--cor-dourado);
}

.tabs-content {
    padding: 40px;
    text-align: left;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s;
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.tab-pane ul {
    list-style-type: '🔹';
    padding-left: 20px;
    margin-top: 20px;
}

.tab-pane ul li {
    margin-bottom: 10px;
}

.resultado-box {
    margin-top: 30px;
    padding: 15px;
    background-color: #f0f5fb;
    border-left: 5px solid var(--cor-dourado);
    font-style: italic;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- PÁGINA INICIAL - SEÇÃO REDES SOCIAIS --- */

#redes-sociais {
    background-color: var(--cor-branca); /* CORRIGIDO: Usa a cor branca principal do site */
    padding: 80px 5%;
}

#redes-sociais h2 {
    color: var(--cor-azul-escuro);
}

#redes-sociais .subtitulo-redes {
    font-size: 1.1rem;
    color: var(--cor-cinza-azulado);
    margin-top: -30px;
    margin-bottom: 50px;
}

.posts-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.post-card {
    flex-basis: 350px;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    display: block;
    border: 1px solid var(--cor-dourado); /* ADICIONADO: Borda dourada para consistência */
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-10px); /* Efeito de elevação ao passar o mouse */
}

.post-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(2, 30, 55, 0.95), transparent); /* Fundo mais forte para legibilidade */
    color: var(--cor-branca);
    padding: 60px 25px 25px 25px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.post-card-overlay i {
    position: absolute;
    top: 20px;
    right: 20px; /* Ícone no canto superior direito */
    font-size: 28px;
    opacity: 0.8;
}

.post-card-overlay p {
    font-size: 1rem; /* Texto ligeiramente maior */
    line-height: 1.5;
}

.post-card:hover .post-card-overlay {
    transform: translateY(0);
}

.post-card:hover .post-card-img {
    transform: scale(1.05); /* Efeito de zoom na imagem */
}

/* Estilo do botão principal da secção */
#redes-sociais .cta-button {
    background-color: var(--cor-verde);
    border: none;
}

#redes-sociais .cta-button:hover {
    background-color: var(--cor-dourado);
}

/* --- PÁGINA QUEM SOMOS (quemsomos.html) --- */


/* Fundo da primeira secção ("Quem Somos") passa a ser branco */
#quem-somos {
    background-color: var(--cor-branca);
}

/* Fundo da segunda secção ("Sobre Nós") passa a ser azul escuro */
#sobre {
    background-color: var(--cor-azul-escuro);
}
#sobre-nos {
    background-color: var(--cor-branca);

}


/* Ajustes de texto para a secção "Sobre Nós" para garantir a legibilidade */
#sobre h2,
#sobre p {
    color: var(--cor-branca);
}

/* Detalhe dourado no título "Quem Somos" */
.quem-somos-text h2 {
    color: var(--cor-dourado);
}

.quem-somos-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.quem-somos-image, .quem-somos-text {
    flex: 1;
}

.quem-somos-image img {
    width: 100%;
    border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
    border: 10px solid var(--cor-dourado);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.quem-somos-text {
    text-align: left;
}

.quem-somos-text h2 {
    font-size: 2.8rem;
    color: var(--cor-verde);
    margin-bottom: 20px;
}
/* --- Secção 3: "Sobre Nós" (FUNDO BRANCO) --- */
#sobre-nos {
    background-color: var(--cor-branca);
    
}
#sobre-nos h2,
#sobre-nos p {
    color: var(--cor-azul-escuro); /* Texto da seção em azul escuro */
}



/* --- MODAL DE CONTATO --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.4s ease;
    overflow-y: auto;
}

.modal-overlay.visible {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #f0f5fb;
    padding: 40px;
    border-radius: 15px;
    max-width: 900px;
    width: 90%;
    position: relative;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

.modal-overlay.visible .modal-content {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--cor-cinza-azulado);
    cursor: pointer;
}

.modal-content .form-container {
    display: flex;
    gap: 40px;
    align-items: center;
}

.modal-content .form-info { 
    flex: 1; 
    text-align: left; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-content .form-info h2 { 
    color: var(--cor-azul-escuro); 
    font-size: 1.8rem;
    font-weight: 700;
}

.modal-content .form-info p { 
    color: #555; 
    margin-top: 10px;
}

.form-info-image-wrapper {
    position: relative;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content .form-info img { 
    width: 85%;
    border-radius: 73% 27% 56% 44% / 54% 30% 70% 46%; 
    position: relative;
    z-index: 2;
}

.form-info-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    right: 0;
    width: 100px;
    height: 100px;
    background-color: #cce3ff;
    border-radius: 50%;
    z-index: 1;
}

.form-info-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(var(--cor-cinza-azulado) 2px, transparent 2px);
    background-size: 15px 15px;
    z-index: 1;
}

.modal-content .form-group { margin-bottom: 15px; }
.modal-content .form-group label { display: block; margin-bottom: 5px; font-weight: 500; font-size: 0.9rem; }
.modal-content .form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--cor-cinza-azulado);
    border-radius: 8px;
    font-size: 1rem;
}
.modal-content .form-group-split { display: flex; gap: 15px; }
.modal-content .form-submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    background-color: var(--cor-dourado);
    color: var(--cor-azul-escuro);
}

.radio-group {
    display: flex;
    gap: 10px;
}

.radio-button {
    flex: 1;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #FFF;
    color: var(--cor-cinza-azulado);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.radio-button.active {
    background-color: #dbe9f9;
    color: var(--cor-verde);
    border-color: var(--cor-verde);
}

/* --- PÁGINA DE SERVIÇOS (servicos.html) --- */
.servicos-nav {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.servicos-nav div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.servicos-nav a {
    text-decoration: none;
    color: var(--cor-azul-escuro);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 18px;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.servicos-nav a:hover {
    background-color: var(--cor-azul-escuro);
    color: var(--cor-branca);
    border-color: var(--cor-azul-escuro);
}

.servico-detalhe {
    padding: 100px 5%;
}

.servico-detalhe-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.servico-detalhe-content.reverse {
    flex-direction: row-reverse;
}

.servico-detalhe-texto {
    flex: 1;
    text-align: left;
}

.servico-detalhe-imagem {
    flex: 1;
}

.servico-detalhe-imagem img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- PÁGINA DE CONTATO (contato.html) --- */
.contact-page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.contact-details, .contact-form-wrapper {
    flex: 1;
}

.contact-details h3 {
    text-align: left;
}

.contact-details p {
    text-align: left;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    text-align: left;
}

.contact-item i {
    font-size: 20px;
    color: var(--cor-verde);
    padding: 10px;
    background-color: #f0f5fb;
    border-radius: 50%;
}

.contact-item strong {
    display: block;
}

.contact-form-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-form-page .form-group-split {
    display: flex;
    gap: 15px;
}

.contact-form-page .form-group {
    margin-bottom: 15px;
    width: 100%;
}

.contact-form-page input,
.contact-form-page textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--fonte-principal);
}

.contact-form-page .form-submit-btn {
    width: auto;
    padding: 15px 40px;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    background-color: var(--cor-dourado);
    color: white;
}

.map-section {
    padding: 0;
}

.map-section iframe {
    display: block;
    width: 100%;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.map-section iframe:hover {
    filter: grayscale(0%);
}

/* --- PÁGINA DE OBRIGADO (obrigado.html) --- */
.thank-you-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
}

.thank-you-content .fa-check-circle {
    font-size: 60px;
    color: var(--cor-verde);
    margin-bottom: 20px;
}

.thank-you-content h1 {
    font-size: 2.5rem;
    color: var(--cor-azul-escuro);
}

.thank-you-content p {
    font-size: 1.2rem;
    color: #555;
    max-width: 500px;
    margin: 10px auto 0;
}


/* ==========================================================================
   4. RESPONSIVIDADE (MEDIA QUERIES)
   ========================================================================== */

/* --- AJUSTES PARA TABLETS (Telas até 992px) --- */
@media (max-width: 992px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 2rem; }
    section { padding: 60px 5%; }

    /* --- Menu Hambúrguer --- */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 10;
    }

    .hamburger span {
        width: 30px;
        height: 3px;
        background: var(--cor-branca);
        border-radius: 5px;
    }
    
    .main-nav ul {
        display: none;
        position: absolute;
        top: 80px; /* Altura do cabeçalho */
        left: 0;
        width: 100%;
        background-color: var(--cor-azul-escuro);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 0;
    }

    .main-nav ul.nav-active {
        display: flex;
    }

    .main-nav ul li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    .main-nav ul .nav-cta {
        display: inline-block;
        width: auto;
    }

    /* --- Seções que empilham em telas menores --- */
    .hero-text-content {
        padding: 40px 5%;
        text-align: center;
    }
    
    .quem-somos-container,
    .sobre-container,
    .footer-container,
    .servico-detalhe-content,
    .servico-detalhe-content.reverse,
    .contact-page-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    /* --- Correção do Rodapé --- */
    .footer-container {
        text-align: center;
        align-items: center; 
    }
    .social-icons {
        justify-content: center;
    }

    /* --- Slider de Serviços --- */
    .servico-card {
        flex: 0 0 90%; /* Apenas 1 card por vez */
        scroll-snap-align: center;
    }

    .servicos-track {
        padding: 0 5%; /* Espaçamento nas pontas para centralizar */
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .prev-btn { left: 10px; }
    .next-btn { right: 10px; }
}


/* --- AJUSTES PARA CELULARES GRANDES (Telas até 768px) --- */
@media (max-width: 768px) {
    /* --- SUA CORREÇÃO PARA O FORMULÁRIO DE CONTATO --- */
    .container-contato, .contact-form-page {
        flex-direction: column; 
    }

    .coluna-texto, .coluna-formulario {
        width: 100%;
    }

    /* --- CORREÇÃO EXTRA PARA O FORMULÁRIO DO MODAL --- */
    .modal-content .form-container {
        flex-direction: column; /* Empilha o texto e o formulário */
        text-align: center;
    }

    .modal-content .form-info {
        text-align: center;
    }

    .modal-content .form-info img {
        display: none; /* Oculta a imagem no modal para economizar espaço */
    }
    .form-info-image-wrapper::before, .form-info-image-wrapper::after {
        display: none; /* Oculta os elementos decorativos */
    }
}


/* --- AJUSTES FINOS PARA CELULARES (Telas até 576px) --- */
@media (max-width: 576px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.6rem; }

    .logo-hero {
        max-height: 120px;
    }

    /* Ajuste do formulário do modal */
    .modal-content .form-group-split {
        flex-direction: column;
    }
    
    /* Ajuste do formulário da página de contato */
    .contact-form-page .form-group-split {
        flex-direction: column;
    }

    /* Ajuste do slider de serviços */
    .servico-card {
        flex: 0 0 85%;
    }
    .servicos-track {
        padding: 0 7.5%;
    }
} 