/* --- Configurações Gerais e Fontes --- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700;900&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3 {
    font-weight: 700;
}

section[id] {
    scroll-margin-top: 180px;
}

/* --- Cabeçalho (Header) --- */
header {
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

nav li {
    margin-left: 30px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 700;
    font-size: 16px;
    transition: color 0.3s;
}

nav a:hover {
    color: #007bff;
}

nav a.active {
    color: #007bff;
    pointer-events: none;
}

/* --- Carrossel (Swiper) --- */
.hero-carousel {
    position: relative;
}

.carousel-home {
    height: 60vh;
}
.carousel-sobre {
    height: 800px;
    background-color: #1a233d;
}

.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    background-color: transparent;
    background-size: cover; /* ESSENCIAL PARA O BANNER DA HOME */
    background-position: center; /* ESSENCIAL PARA O BANNER DA HOME */
}

.swiper-slide img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* ESSENCIAL PARA O BANNER DA PÁGINA SOBRE */
}


.hero-content {
    max-width: 800px;
    padding: 20px;
    position: relative;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.4); 
    padding: 30px 40px;
    border-radius: 8px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #007bff;
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 18px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #0056b3;
}

.swiper-button-prev,
.swiper-button-next {
    color: white;
    --swiper-navigation-size: 30px;
}

.swiper-pagination {
    position: relative;
    bottom: auto;
    padding-top: 20px;
    padding-bottom: 20px;
}

.swiper-pagination-bullet {
    background-color: #1a233d;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background-color: #007bff;
    opacity: 1;
}

/* --- Banner Estático (para páginas Sobre e Contato) --- */
.static-banner {
    height: 600px;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/banner-contato.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}
.static-banner h1 {
    font-size: 48px;
    font-weight: 900;
}

/* --- Conteúdo da Página Sobre Nós --- */
.about-page-content {
    padding: 100px 0;
    background-color: #ffffff;
}
.about-page-content .container {
    max-width: 800px;
}
.about-page-content h2 {
    text-align: center;
    font-size: 36px;
    color: #1a233d;
    margin-bottom: 30px;
}
.about-page-content p {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    text-align: left;
    margin-bottom: 20px;
}
.about-page-content ul {
    text-align: left; 
    max-width: 600px; 
    margin: 20px auto; 
    font-size: 18px; 
    color: #666; 
    line-height: 1.8;
}

/* --- Estilo para o CTA final da página Sobre --- */
.about-page-content .final-cta {
    text-align: center;
    margin-top: 40px;
}

.about-page-content .final-cta p {
    text-align: center;
}

.about-page-content .final-cta .cta-button {
    display: inline-block;
}

/* --- Seção de Soluções --- */
.solutions-section {
    padding: 120px 0;
    text-align: center;
    background-color: white;
}

.solutions-section h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: #1a233d;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* --- EFEITO FLIP-CARD PARA SOLUÇÕES --- */
.flip-card {
    background-color: transparent;
    min-height: 300px;
    perspective: 1000px;
}
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
}
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}
.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 8px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.flip-card-front {
    background-color: #f8f9fa;
    padding: 30px;
}
.flip-card-back {
    background-color: #1a233d;
    color: white;
    transform: rotateY(180deg);
    background-size: cover;
    background-position: center;
    padding: 30px;
}
.flip-card-front i {
    font-size: 48px;
    color: #007bff;
    margin-bottom: 20px;
}
.flip-card-front h3,
.flip-card-back h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #1a233d;
}
.flip-card-back h3 {
    color: white;
}
.flip-card-front p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}
.fale-conosco-btn {
    background-color: #007bff;
    color: white;
    padding: 12px 25px;
    margin-top: 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.3s;
}
.fale-conosco-btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* --- Seção de Contato --- */
.contact-section {
    padding: 100px 0;
    background-color: #ffffff;
}
.contact-section .container {
    max-width: 800px;
    text-align: center;
}
.contact-section h2 {
    font-size: 36px;
    color: #1a233d;
    margin-bottom: 20px;
}
.contact-section p {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}
#contact-form {
    text-align: left;
}
#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
}
#contact-form textarea {
    min-height: 150px;
    resize: vertical;
}
#contact-form input:focus,
#contact-form textarea:focus {
    border-color: #007bff;
    outline: none;
}
#contact-form .cta-button {
    width: 100%;
    border: none;
    cursor: pointer;
    padding: 14px;
    font-size: 18px;
}
#contact-form-status {
    margin-top: 20px;
    font-weight: bold;
    min-height: 24px;
}

/* --- Estilos do Rodapé (Footer) --- */
footer {
    background-color: #1a233d;
    color: #ccc;
    padding: 60px 0 20px 0;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}
.footer-column {
    flex: 1;
    min-width: 250px;
}
.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
}
.footer-column p {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.7;
    display: flex;
    align-items: center;
}
.footer-column p i {
    margin-right: 10px;
}
.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-column a:hover {
    color: #007bff;
}
.footer-column .social-links a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255,255,255,0.2);
    margin-right: 10px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: background-color 0.3s, color 0.3s;
}
.footer-column .social-links a:hover {
    background-color: #007bff;
    color: white;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 14px;
    color: #aaa;
}

/* --- ESTILOS DO POP-UP (MODAL) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 35, 61, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-out, visibility 0.4s;
}
.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background-color: white;
    padding: 35px 45px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 550px;
    position: relative;
    text-align: center;
    transform: translateY(-20px);
    transition: transform 0.4s ease-out;
}
.modal-overlay.show .modal-content {
    transform: translateY(0);
}
.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 28px;
    font-weight: 300;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
}
.modal-close-btn:hover {
    color: #333;
}
.modal-content h2 {
    color: #1a233d;
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 15px;
}
.modal-content p {
    margin-bottom: 30px;
    color: #666;
    font-size: 16px;
}
#lead-form input {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
}
#lead-form input:focus {
    border-color: #007bff;
    outline: none;
}
#lead-form .cta-button {
    width: 100%;
    border: none;
    cursor: pointer;
    padding: 14px;
    font-size: 18px;
}
#form-status {
    margin-top: 20px;
    font-weight: bold;
    min-height: 24px;
}