/* Reset e Variáveis */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #e7d23e;
    --text-color: #333;
    --light-bg: #f9f9f9;
    --dark-bg: #2c3e50;
    --white: #ffffff;
    --gray: #f5f5f5;
    --dark-gray: #777;
    --header-height: 100px;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Kumbh Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    padding-top: 109px;
    margin-bottom: 99px; /* Adicionado para evitar sobreposição com o footer */
}


.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #000;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
}

.logo img {
    padding-right: 80px;
    height: 80px;
}

.nav {
    display: flex;
    align-items: center;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav ul li a {
    color: #FFD700;
    text-decoration: none;
    font-size: 1.2rem;
    position: relative;
}

.nav ul li a.active,
.nav ul li a:hover {
    color: #fff;
}

.nav ul li a.active::after,
.nav ul li a:hover::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
}

.language-flags {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-flags img {
    height: 28px;
    width: 32px;
    border: 1px solid #FFD700;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
/* Hero Section */
.title-index {
    /* --- CORRIGIDO com font-size fluido --- */
    font-size: clamp(2.5rem, 5vw + 1rem, 5rem);
    line-height: 1.2;
    font-weight: 700;
    text-align: left;
    margin: 60px 0px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
}

.title-index .destaque {
    color: #ffffff; /* Cor de destaque, pode trocar */
}

.hero {
    position: relative;
    height: 100vh;
    min-height: 875px;
    overflow: hidden;
    color: var(--white);
    display: flex;
    align-items: center;
    /* --- ADICIONADO --- Empurra o conteúdo para cima */
    padding-bottom: 12vh; 
}


.videobgwrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.videobgframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.hero-left {
    width: 55%;
    padding-right: 40px;
}

.hero-right {
    width: 35%;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 70px;
    border-radius: 8px;
    padding-top: 50px;
    margin-bottom: 200px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero .subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
    color: white; /* ou a cor desejada */
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


.cta-button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    transition: background-color 0.3s, color 0.3s;
}

.cta-button:hover {
    background-color: white;
    color: #333; /* ou sua cor primária */
}


.info-box {
    margin-bottom: 25px;
}

.info-box h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.info-box p {
    margin: 5px 0;
    font-size: 1.1rem;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #000; /* Texto preto como solicitado */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}


.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    color: #000; /* Texto preto */
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-card h3 {
    color: #000; /* Título preto */
    margin-bottom: 20px;
    font-size: 1.5rem;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
}

.service-icon {
    margin-bottom: 15px;
    text-align: center;
}

.service-icon img {
    width: 60px;
    height: auto;
}

.service-icon .icon-svg {
    display: none; /* Oculta SVG se estiver usando imagem */
}

.service-list {
    list-style-type: none;
    padding-left: 0;
}

.service-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.service-list li i {
    color: #000;
    position: absolute;
    left: 0;
    top: 4px;
}

.service-card p {
    line-height: 1.6;
    color: #000; /* Texto preto */
}

.service-card p i {
    color: #000;
    margin-right: 5px;
}

.all-services-link {
    text-align: center;
    margin-top: 30px;
}

.all-services-link a {
    display: inline-block;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    border: 2px solid #000;
    padding: 10px 25px;
    border-radius: 4px;
    transition: all 0.3s;
}

.all-services-link a:hover {
    background-color: #000;
    color: var(--white);
}

.all-services-link a i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.all-services-link a:hover i {
    transform: translateX(3px);
}

/* How We Work Section */
.how-we-work {
    padding: 60px 20px;
    background-color: var(--light-bg);
}

.work-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.image-container {
    flex: 1 1 40%;
    text-align: center;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.steps-container {
    flex: 1 1 50%;
}

.steps-container h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.step {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.step-number {
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 15px;
    color: var(--text-color);
}

.step-description {
    font-size: 1.25rem;
    color: var(--text-color);
}

/* Projects Section */
.secao-projeto {
    background-color:#e7d23e;
    padding: 60px 20px;
    text-align: center;
}

.container-projeto {
    max-width: 800px;
    margin: 0 auto;
}

.titulo-projeto {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.botao-projeto-wrapper {
    margin-top: 20px;
}

.botao-projeto {
    background-color: var(--primary-color);
    color: #FFD700;
    border: 2px solid #FFD700;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.botao-projeto:hover {
    background-color: #FFD700;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Why Us Section */
.why-us {
    padding: 80px 0;
    text-align: center;
}

.why-us h2 {
    margin-bottom: 50px;
    font-size: 2rem;
    color: var(--primary-color);
}

.stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
}


.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-icon {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.stat .number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.stat .label {
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* Certificates Section */
.certificates {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.certificates-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/about.png");
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.certificates .container {
    position: relative;
    z-index: 1;
}

.certificates h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--white);
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.certificate {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 550px;
    transition: transform 0.3s, box-shadow 0.3s;
}


.certificate:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.certificate-icon-container {
    text-align: center;
    margin-bottom: 20px;
}

.certificate-icon {
    width: 48px;
    height: 48px;
    fill: var(--secondary-color);
}

.certificate-content {
    color: #555;
    line-height: 1.8;
}

.certificate-content p {
    margin-bottom: 15px;
}

.certificate-content strong {
    color: var(--primary-color);
}

.footer {
  background-color: #000;
  color: #fff;
  padding: 60px 30px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-logo img {
  max-width: 120px;
}

.footer-contact,
.footer-tax {
  flex: 1 1 300px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-contact strong {
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  flex: 1 1 200px;
  font-size: 0.95rem;
}

.footer-social a img {
  width: 24px;
  margin-right: 12px;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s;
}

.footer-social a:hover img {
  opacity: 0.7;
}

.footer-links {
  margin-top: 20px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* About Section */
.about-section {
    padding: 180px;  /* Reduzido de 180px para 100px vertical e 40px horizontal */
    margin-bottom: -60px;  /* Adicionado para controlar o espaço até a próxima seção */
    background-color: #f8f9fa;
}

.about-title {
    font-size: 2.5rem;
    text-align: center;
    padding: 40px 0;
    margin-bottom: 30px; /* Um pouco mais para separar do conteúdo */
    color: var(--primary-color);
}

.about-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
    justify-content: space-between;
}

.about-title-wrapper {
    flex: 1 1 40%;
}

.about-text {
    flex: 1 1 50%;
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
}

.about-text p {
    margin-bottom: 16px; /* Um pouco menor para manter coesão */
}


.contact-section {
  padding: 180px 0;
  background-color: #fff;
  font-family: 'Kumbh Sans', sans-serif;
}

/* --- CORRIGIDO --- Erro no seletor, o container já é definido globalmente */
.contact-section .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.contact-form {
  flex: 1;
  max-width: 600px;
}

.contact-form h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 15px;
  border: none;
  border-bottom: 1px solid #333;
  font-size: 1rem;
  background-color: transparent;
}

.form-group textarea {
  height: 100px;
  resize: none;
}

.contact-form button {
  background-color: #000;
  color: #FFD700;
  border: 2px solid #FFD700;
  padding: 10px 25px;
  font-size: 1rem;
  border-radius: 25px;
  cursor: pointer;
  margin-top: 20px;
}

.contact-info {
  flex: 1;
  background-color: #e6cd3a;
  padding: 40px;
  color: #000;
  max-width: 400px;
}

.contact-info h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.contact-info p {
  margin: 0 0 20px;
  line-height: 1.6;
  font-size: 0.95rem;
}

.contact-info hr {
  border: none;
  border-top: 1px solid #000;
  margin: 20px 0;
}


/* --- SEÇÃO IMAGENS SOBRE (SERVIÇOS) --- */
.imagens_sobre_title{
    text-align: left;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.imagens_sobre {
    padding: 150px 0;
    margin-bottom:20px;
}

.imagens_so {
    display: grid; /* --- ADICIONADO --- Para melhor responsividade */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* --- ADICIONADO --- */
    gap: 40px;
}

.img_so {
    flex: 1 1 calc(50% - 20px);
    box-sizing: border-box;
}

.img_so img {
    width: 100%;
    height: 250px; /* --- ADICIONADO --- Altura fixa para alinhar os cards */
    object-fit: cover; /* --- ADICIONADO --- Evita distorção da imagem */
    margin-bottom: 10px; /* --- CORRIGIDO --- margin-top para margin-bottom */
    border-radius: 5px;
}

/* --- SEÇÃO VÍDEOS --- */
.videos_section {
    padding: 60px 0;
    border-top: 1px solid #ccc;
}

.videos_section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.video_container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.video_item {
    width: 100%; /* --- CORRIGIDO --- */
    max-width: 350px; /* --- ADICIONADO --- */
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* --- SEÇÃO GALERIA --- */
.galeria_section {
    padding: 60px 0;
    border-top: 1px solid #ccc;
    background-color: #f8f9fa;
}

.galeria_section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.galeria_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px; /* --- CORRIGIDO --- Espaçamento reduzido */
    justify-items: center;
}

.galeria_item img {
    width: 100%;
    max-width: 300px;
    height: 250px; /* --- CORRIGIDO --- Altura ajustada para consistência */
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.galeria_item img:hover {
    transform: scale(1.05);
}

/* Oculta imagens além da 12ª (removido, pois o JS controla isso agora) */
/*
.galeria_item:nth-child(n+13) {
    display: none;
}
*/

/* Botão Ver Mais */
.galeria_btn_wrapper {
    text-align: center;
    margin-top: 30px;
}

#verMaisBtn {
    padding: 10px 20px;
    font-size: 16px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

#verMaisBtn:hover {
    background-color: #555;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1001; /* --- CORRIGIDO --- Para sobrepor o header */
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* --- ADICIONADO --- Para o caso de a imagem ser muito grande */
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox_content {
    max-width: 90%;
    max-height: 85%;
    margin: auto;
    display: block;
}

.lightbox_close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

/* --- RESPONSIVIDADE --- */

/* Menu responsivo inicial */
@media (max-width: 768px) {
    .nav {
        position: static;
    }

    .nav ul {
        flex-direction: column;
        position: fixed;
        top: var(--header-height);
        left: -100%; /* --- CORRIGIDO --- Para animação de entrada */
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: #000;
        display: flex; /* --- CORRIGIDO --- Manter como flex para o JS funcionar */
        z-index: 998;
        gap: 20px;
        padding: 30px 20px;
        margin: 0;
        overflow-y: auto;
        transition: left 0.3s ease-in-out; /* --- ADICIONADO --- */
    }

    .nav.active ul {
        left: 0; /* --- CORRIGIDO --- */
    }

    .nav-toggle {
        display: block;
        font-size: 2rem;
        color: #FFD700;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
        z-index: 999;
    }

    .nav ul li {
        text-align: left;
        margin: 0;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    }

    .nav ul li:last-child {
        border-bottom: none;
    }
}

@media (max-width: 1024px) {
    .certificate {
        width: 100%;
        max-width: 100%;
    }

    .certificates-grid {
        display: flex; /* --- CORRIGIDO --- */
        flex-direction: column;
        gap: 20px;
    }
    
    .about-columns {
        flex-direction: column;
    }
    
    /* --- ADICIONADO --- Responsividade da galeria */
    .galeria_grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Responsividade para a seção de serviços */
    .services-grid {
        display: flex; /* --- CORRIGIDO --- */
        flex-wrap: wrap;
        justify-content: center;
    }

    .service-card {
        flex: 1 1 45%; /* --- CORRIGIDO --- */
        max-width: 45%;
        margin-bottom: 30px;
    }
}

@media (max-width: 900px) {
  .contact-wrapper {
    flex-direction: column;
  }
  .contact-info {
    max-width: 100%;
  }
}

/* --- CORRIGIDO --- Agrupamento de todas as regras para 768px */
@media (max-width: 768px) {
    .header .container {
        flex-direction: row; /* --- CORRIGIDO --- Manter em linha */
        justify-content: space-between; /* --- CORRIGIDO --- */
    }
    
    .logo {
        margin-bottom: 0; /* --- CORRIGIDO --- */
    }
    
    .logo img {
        height: 60px;
    }

    .hero-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        text-align: center; /* --- ADICIONADO --- */
    }

    .hero-left, .hero-right {
        width: 100%;
        padding: 20px;
        text-align: center;
    }
    
    .hero-right {
        margin-bottom: 50px; /* --- CORRIGIDO --- */
    }

    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .subtitle {
        font-size: 1rem; /* --- CORRIGIDO --- */
    }

    .subtitle br {
        display: none;
    }

/* Dentro de @media (max-width: 768px) */
    .title-index {
        /* A linha de font-size foi removida daqui pois o clamp() já faz o trabalho */
        margin: 20px 0;
        padding-top: 0;
        margin-top: 0;
        text-align: center;
    }

    .cta-button, .all-services-link a {
        padding: 8px 14px;
        margin-bottom: 40px;
    }
    
    .info-box h3 {
        font-size: 1.3rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 40px;
    }
    
    .services, .why-us, .certificates {
        padding: 50px 20px; /* --- CORRIGIDO --- Adicionado padding horizontal */
    }
    
    .services h2, .why-us h2, .certificates h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .service-card {
        max-width: 100%;
        flex-basis: 100%; /* --- ADICIONADO --- */
    }
    
    .certificate {
        padding: 20px;
    }
    
    .service-icon, .certificate-icon {
        font-size: 2rem;
        width: 36px;
        height: 36px;
    }
    
    .stat-icon {
        font-size: 1.5rem;
    }
    
    .about-section, .contact-section {
        padding: 50px 20px; /* --- CORRIGIDO --- Adicionado padding horizontal */
    }
    
    .about-title, .titulo-projeto, .steps-container h2 {
        font-size: 1.8rem;
    }
    
    .step-description {
        font-size: 1rem;
    }
    
    .step-number {
        font-size: 1.2rem;
    }

    .certificates-bg {
        background-attachment: scroll;
    }
    
    .footer .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-bottom {
        align-items: center;
    }

    .footer-social a img {
        margin: 0 8px;
    }

    /* --- ADICIONADO --- Responsividade para seções de serviço/galeria/video */
    .imagens_so {
        grid-template-columns: 1fr;
    }
    .galeria_grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .video_item {
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 600px;
    }
    
    .work-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .image-container, .steps-container {
        flex: 1 1 100%;
    }
    
    .stats {
        gap: 20px;
    }
    
    .stat .number {
        font-size: 2.5rem;
    }
    
    .stat .label {
        font-size: 1rem;
    }
    
    /* --- ADICIONADO --- Responsividade para seções de serviço/galeria/video */
    .galeria_grid {
        grid-template-columns: 1fr;
    }
    .video_item {
        max-width: 100%;
    }
}