/* RESET E PADRÕES GERAIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    overflow-x: hidden;
    background-color: #ffffff;
    color: #333;
    scroll-behavior: smooth;
    line-height: 1.6;
}

/* TÍTULOS E DIVISORES */
.section {
    padding: 100px 20px 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 45px;
    text-align: center;
}

.section-header h2 {
    font-size: 2.6rem;
    text-transform: uppercase;
    color: #111111;
    letter-spacing: 1px;
}

.title-divider {
    width: 60px;
    height: 4px;
    background-color: #0050b3; /* Azul corporativo */
    margin: 15px auto 0 auto;
}

/* CABEÇALHO E MENU FIXO */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 60px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.logo img {
    height: 65px; /* Altura ideal balanceada para o novo logótipo horizontal */
    width: auto;
    display: block;
    object-fit: contain;
}

.nav a {
    color: #111111;
    text-decoration: none;
    margin-left: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #0050b3;
}

/* SELETOR DE IDIOMA */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 25px;
    padding-left: 20px;
    border-left: 1px solid #ddd;
}

.lang-btn {
    background: transparent;
    border: 1px solid #ccc;
    color: #555;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.lang-btn:hover {
    border-color: #0050b3;
    color: #0050b3;
}

.lang-btn.active {
    background-color: #0050b3;
    border-color: #0050b3;
    color: #ffffff;
}

/* SECÇÃO HERO */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

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

.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    line-height: 1.2;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-content h1.fade-out {
    opacity: 0;
    transform: translateY(-15px);
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    color: #f0f0f0;
}

/* BOTÕES GERAIS */
.btn {
    display: inline-block;
    padding: 16px 36px;
    background-color: #0050b3;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 80, 179, 0.2);
}

.btn:hover {
    background-color: #003a8c;
    transform: scale(1.03);
}

.btn-download {
    background-color: #ffffff;
    color: #0050b3;
    border: 2px solid #0050b3;
    box-shadow: none;
    margin-top: 15px;
}

.btn-download i {
    margin-right: 8px;
}

.btn-download:hover {
    background-color: #0050b3;
    color: #ffffff;
}

/* SECÇÃO VÍDEO */
.video-section {
    background-color: #fdfdfd;
}

.video-wrapper {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: #000;
}

.video-wrapper video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 550px;
}

/* SECÇÃO SOBRE NÓS */
.sobre-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container-text {
    max-width: 850px;
    text-align: center;
    margin-bottom: 45px;
    font-size: 1.2rem;
    color: #555;
}

.download-profile-container {
    margin-top: 25px;
}

.politica-qualidade-box {
    display: flex;
    background-color: #f7f9fc;
    border-left: 6px solid #0050b3;
    border-radius: 4px;
    padding: 35px;
    max-width: 850px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.pq-icon {
    font-size: 2.8rem;
    color: #0050b3;
    margin-right: 30px;
    display: flex;
    align-items: center;
}

.pq-text h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #111;
}

.pq-text p {
    font-size: 1.05rem;
    color: #555;
}

/* GALERIA DE FOTOS - SOBRE NÓS */
.sobre-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    width: 100%;
    margin-top: 45px;
}

.gallery-item {
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* SECÇÃO DE SERVIÇOS EM CARROSSEL */
.servicos-section {
    background-color: #fdfdfd;
    border-top: 1px solid #f0f0f0;
}

.servicos-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 20px auto 0 auto;
    overflow: hidden;
    padding: 10px;
}

.servicos-track {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
    width: 100%;
}

.servico-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.04);
    border: 1px solid #eef0f3;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    text-align: left;
    min-width: calc((100% - 60px) / 3); /* 3 cartões por linha considerando os gaps */
    flex-shrink: 0;
}

.servico-card:hover {
    transform: translateY(-6px);
    border-color: #0050b3;
    box-shadow: 0 10px 30px rgba(0, 80, 179, 0.08);
}

.servico-img-container {
    position: relative;
    width: 100%;
    height: 180px;
    background-color: #eee;
}

.servico-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.servico-icon-badge {
    position: absolute;
    bottom: -20px;
    right: 25px;
    width: 45px;
    height: 45px;
    background-color: #0050b3;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border: 2px solid #ffffff;
}

.servico-info {
    padding: 35px 25px 30px 25px;
}

.servico-info h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: #111111;
}

.servico-info p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* CARROSSEL DO PORTEFÓLIO */
.portfolio-section {
    background-color: #f8f9fa;
}

.carousel-container {
    position: relative;
    max-width: 950px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
    width: 100%;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    height: 500px;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 32, 77, 0.85);
    color: #fff;
    padding: 20px;
    font-size: 1.25rem;
    font-weight: 600;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(17, 17, 17, 0.7);
    color: white;
    border: none;
    font-size: 24px;
    padding: 14px 20px;
    cursor: pointer;
    border-radius: 4px;
    z-index: 10;
    transition: background 0.3s, color 0.3s;
}

.carousel-btn:hover {
    background: #0050b3;
    color: #ffffff;
}

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

/* SECÇÃO DE CONTACTO */
/* SECÇÃO DE CONTACTO COM MAPA EM BACKGROUND */
.contacto-section {
    position: relative;
    background-color: #f4f6f9;
    padding: 100px 20px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

/* Contentor do mapa em absoluto atrás de tudo */
.map-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none; /* Impede que o rato faça zoom no mapa em vez de fazer scroll na página */
}

.map-background iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(20%) contrast(110%); /* Dá um toque mais profissional ao mapa */
}

/* O contentor do formulário passa a flutuar sobre o mapa */
.contacto-container {
    position: relative;
    z-index: 2; /* Fica à frente do mapa */
    max-width: 750px;
    width: 100%;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.93); /* Fundo branco com ligeira transparência */
    backdrop-filter: blur(10px); /* Desfoca o mapa atrás do formulário para dar um efeito moderno */
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.contacto-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-top: 10px;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

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

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #bbb;
    border-radius: 6px;
    font-size: 1rem;
    background: #ffffff;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #0050b3;
    box-shadow: 0 0 0 3px rgba(0, 80, 179, 0.15);
}

.btn-submit {
    padding: 16px;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Ajuste de responsividade */
@media (max-width: 768px) {
    .contacto-container {
        padding: 30px 20px;
    }
    .contact-form {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
}

/* CONTENTOR FLUTUANTE DAS REDES SOCIAIS */
.social-floating-hub {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 1.6rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.floating-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.btn-floating-facebook {
    background-color: #1877f2;
}

/* RODAPÉ */
.footer {
    background: #111111; /* Preto oficial do logo */
    color: #999;
    padding: 35px 20px;
    font-size: 0.95rem;
    border-top: 4px solid #0050b3;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-links a {
    color: #0050b3;
    text-decoration: none;
    margin: 0 8px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* RESPONSIVIDADE */
@media (max-width: 992px) {
    .servicos-carousel-container { max-width: 100%; }
    .servico-card { min-width: 100%; }
    .header { padding: 15px 30px; }
}

@media (max-width: 768px) {
    .nav { display: none; }
    .lang-switcher { margin-left: auto; padding-left: 0; border-left: none; }

.hero-content h1 { font-size: 2.5rem; }.politica-qualidade-box { flex-direction: column; text-align: center; }.pq-icon { margin-right: 0; margin-bottom: 20px; justify-content: center; }.sobre-gallery { grid-template-columns: repeat(2, 1fr); }.carousel-slide { height: 350px; }.contact-form { grid-template-columns: 1fr; }.form-group.full-width { grid-column: span 1; }.footer-content { flex-direction: column; text-align: center; }.social-floating-hub { bottom: 20px; right: 20px; gap: 10px; }.floating-btn { width: 50px; height: 50px; font-size: 1.3rem; }}

