/* -------------------- */
/* 1. VARIÁVEIS DE CORES E LAYOUT */
/* -------------------- */
:root {
    --primary-color: #04508C; /* Azul (Ideal para CTA/Ação) */
    --secondary-color: #F2801D; /* Cinza (Para botões secundários) */
    --text-dark: #333;
    --text-light: #fff;
    --spacing-lg: 3rem;
    --max-width: 1200px;
}
*{font-family: 'montserrat', sans-serif;}
/* -------------------- */
/* 2. LAYOUT GERAL E CONTAINER */
/* -------------------- */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto; /* Centraliza o conteúdo */
    padding: 0 1rem; /* Padding lateral suave */
}

/* -------------------- */
/* 3. HEADER / NAVBAR (Responsivo) */
/* -------------------- */
.header {
    background-color: var(--text-light);
    
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky; /* Mantém o header fixo no topo ao rolar */
    top: 0;
    z-index: 1000;
}
.header-links.nav-links {
    align-items: center;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1%;
}
.logo-img{
    display: flex;
    align-items: center;
    text-decoration: none;
    max-height: 54px;
}
.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    flex-direction: row;
}

.logo-text h4 {
    margin: 10px;
    padding: 0;
    color:#464646
}

/* Desktop Navigation */
.nav-links {
    display: flex; /* Links lado a lado */
    gap: 1.5rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Esconde o botão de menu no Desktop */
.menu-toggle {
    display: none; 
}

/* -------------------- */
/* 4. BOTÕES (CTAs) */
/* -------------------- */
.cta-button {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 700;
    text-align: center;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-hero {
    width: 500px;
    margin: auto;
}

.primary {
    background-color: var(--primary-color);
    color: var(--text-light);

}

.primary:hover {
    background-color: #0056b3;
}

.secondary {
    background-color:transparent;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    /* width: 50%; */
    margin: auto;
    margin-top: 1rem;
    border-radius: 3px;
}

.secondary:hover {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* -------------------- */
/* 5. HERO SECTION */
/* -------------------- */
.hero {
    padding: 8rem 0; /* Espaçamento generoso */
    text-align: center;
    background-color: #000000bd; /* Fundo cinza claro */
    background-image: url('/assets/img/hero-banner.jpg'); /* Imagem de fundo */
    background-size: cover;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: white;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

/* -------------------- */
/* 6. MEDIA QUERIES (Mobile First) */
/* -------------------- */

/* Telas menores que 768px (Tablets e Celulares) */
@media (max-width: 768px) {
    
    /* Header (Transformando em Menu Hamburguer) */
    .nav-links {
        display: none; /* Esconde a navegação padrão */
        position: absolute;
        top: 100%; /* Abaixo do header */
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--text-light);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
    }

    .header-links.nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex; /* Mostra o menu quando ativo (via JS) */
    }

    .nav-links li {
        text-align: center;
        width: 100%;
    }
    
    .nav-links li a {
        display: block;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #eee;
    }
    
    .menu-toggle {
        display: block; /* Mostra o botão hamburguer no mobile */
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--primary-color);
    }
    
    /* Hero Section no Mobile */
    .hero {
        padding: 4rem 0; /* Menos espaçamento no topo */
    }

    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column; /* Botões um abaixo do outro */
    }

    .cta-button.large {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* -------------------- */
/* 7. ESTILOS DE SEÇÃO GERAIS */
/* -------------------- */
.section-padding {
    padding: var(--spacing-lg) 0;
}

.bg-light {
    background-color: #f8f9fa; /* Cor de fundo suave para alternar seções */
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: var(--spacing-lg);
}

/* -------------------- */
/* 8. SERVIÇOS EM DESTAQUE (Grid) */
/* -------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 3 colunas em desktop, adaptável */
    gap: 2rem;
}

.service-card {
    background-color: var(--text-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

/* -------------------- */
/* 9. POR QUE NOS ESCOLHER (Flexbox/Grid) */
/* -------------------- */
.benefits-grid {
    display: flex;
    flex-wrap: wrap; /* Permite quebrar linha no mobile */
    justify-content: space-around;
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    flex: 1 1 300px; /* Garante no mínimo 300px, e quebre no mobile */
    text-align: center;
    padding: 1.5rem;
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.benefit-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Media Query: Garantir que o grid de serviços fique em coluna no mobile */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr; /* Uma coluna no mobile */
    }
}

/* -------------------- */
/* 10. FOOTER (RODAPÉ) */
/* -------------------- */
.footer {
    background-color: #343a40; /* Cor escura profissional */
    color: #f8f9fa; /* Texto claro */
    padding-top: var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Colunas adaptáveis */
    gap: 2rem;
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid #495057;
}
.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col.nav-links {
    gap: 0;
}

.footer-col h3, .footer-col h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-col ul {
    padding: 0;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a:hover {
    color: var(--primary-color);
}

.social-icons a {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: #adb5bd;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--text-light);
}

.footer-bottom {
    background-color: #212529; /* Cor ainda mais escura para o rodapé inferior */
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
}

.legal-link {
    color: #adb5bd;
    margin-left: 0.5rem;
}

.legal-link:hover {
    color: var(--primary-color);
}

/* -------------------- */
/* 11. MEDIA QUERIES PARA O RODAPÉ */
/* -------------------- */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Uma coluna no mobile */
        text-align: center;
    }

    .social-icons {
        justify-content: center; /* Centraliza ícones sociais */
        display: flex;
    }

    .footer-col.nav-links {
        display: none; /* Esconde links de navegação no mobile */
    }
}

/* -------------------- */
/* 12. ESTILOS DA PÁGINA DE CONTATO */
/* -------------------- */

.page-intro {
    padding: 4rem 0 2rem;
    border-bottom: 1px solid #eee;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Formulário (2/3) e Info (1/3) no desktop */
    gap: 3rem;
    align-items: start;
}

/* Estilos do Formulário */
.contact-form h3, .contact-info-container h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 0.1rem rgba(0, 123, 255, 0.25);
}

.contact-form textarea {
    resize: vertical; /* Permite redimensionar apenas verticalmente */
}

.form-note {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 1rem;
}

/* Estilos da Coluna de Informações */
.info-item {
    margin-bottom: 2rem;
}

.info-item h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.info-item p {
    color: #555;
}

.map-container {
    margin-top: 2rem;
}

/* -------------------- */
/* 13. MEDIA QUERY PARA CONTATO (Mobile) */
/* -------------------- */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Uma coluna no mobile */
        gap: 2rem;
    }

    .contact-info-container {
        order: -1; /* Coloca as informações (coluna 2) antes do formulário (coluna 1) no mobile */
    }
}

/* -------------------- */
/* 14. ESTILOS DA PÁGINA SOBRE NÓS */
/* -------------------- */

/* Layout da Seção História (Imagem ao Lado do Texto) */
.story-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.story-text {
    flex: 2;
}

.story-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.story-text p {
    margin-bottom: 1rem;
}

.story-image {
    flex: 1;
    min-width: 300px;
}

.img-responsive {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Layout do MVV (Missão, Visão, Valores) */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.mvv-item {
    padding: 2rem;
    text-align: center;
    background-color: var(--text-light);
    border-radius: 8px;
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.mvv-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.mvv-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}


/* Media Query para Responsividade da História */
@media (max-width: 992px) {
    .story-content {
        flex-direction: column; /* Colunas viram linhas no mobile */
        text-align: center;
    }
    
    .story-image {
        order: -1; /* Coloca a imagem no topo no mobile */
    }
}

/* -------------------- */
/* 16. CATÁLOGO DE SERVIÇOS DETALHADO */
/* -------------------- */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Três colunas em desktop */
    gap: 2.5rem;
    margin-top: 2rem;
}

.service-item {
    background-color: var(--text-light);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.service-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.service-item h3 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.service-item .service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-item ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.service-item ul li {
    padding: 0.25rem 0;
    font-size: 1rem;
    color: #555;
}

.service-item ul li::before {
    content: "✓"; /* Checkmark como bullet point */
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block; 
    width: 1em;
    margin-left: -1em;
}

/* -------------------- */
/* 17. PROCESSO DE TRABALHO */
/* -------------------- */
.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.step {
    flex: 1;
    position: relative;
    padding-bottom: 2rem;
}

.step:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 50px; /* Alinha com o step-number */
    right: -10%; /* Ajusta a posição da seta */
    transform: translateX(50%);
    font-size: 2.5rem;
    color: #ccc;
    z-index: 0;
}

.step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    z-index: 1;
    position: relative;
}

.step h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Media Query para Processo no Mobile */
@media (max-width: 768px) {
    .services-list {
        grid-template-columns: 1fr; /* Uma coluna no mobile */
    }

    .process-steps {
        flex-direction: column; /* Passos um abaixo do outro */
    }

    .step:not(:last-child)::after {
        content: "↓"; /* Seta para baixo no mobile */
        top: auto;
        bottom: -0.5rem;
        right: 50%;
        transform: translateX(50%);
    }
}

/* -------------------- */
/* 18. PROVA SOCIAL / TESTEMUNHOS */
/* -------------------- */

.testimonials {
    background-color: var(--text-light); /* Fundo claro para destaque */
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.quote-text {
    font-style: italic;
    font-size: 1.1rem;
    color: #495057;
    margin-bottom: 1rem;
}

.quote-author {
    display: block;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1rem;
}

/* -------------------- */
/* 19. LOGOTIPOS DE CLIENTES */
/* -------------------- */

.logo-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #6c757d;
}

.client-logos-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    filter: grayscale(100%); /* Deixa os logos cinza para elegância */
    opacity: 0.7;
}

.client-logo {
    max-width: 120px;
    height: auto;
}

/* Media Query para Testemunhos e Logos */
@media (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .client-logos-grid {
        justify-content: center;
    }

    .client-logo {
        max-width: 100px;
    }
}

/* -------------------- */
/* 20. CONTEÚDO LEGAL (Política de Privacidade) */
/* -------------------- */

.legal-content article {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.legal-content h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.legal-content h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal-content ul {
    list-style: disc;
    margin-left: 20px;
    padding-left: 0;
}

.final-note {
    font-style: italic;
    color: #dc3545; /* Cor de alerta */
    border: 1px solid #dc3545;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 3rem;
    font-weight: 600;
}

.whatsapp-float {
    position: fixed; /* Fixa o botão na tela, ele não rola com o conteúdo */
    width: 60px;
    height: 60px;
    bottom: 40px;   /* Posição: 40px da parte inferior */
    right: 40px;    /* Posição: 40px da parte direita */
    background-color: #25D366; /* Cor verde do WhatsApp */
    color: #FFF;
    border-radius: 50%; /* Transforma o botão em um círculo */
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* Sombra para destacá-lo */
    z-index: 1000; /* Garante que fique acima de outros elementos */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease; /* Transição suave para o efeito hover */
}

/* Efeito ao passar o mouse */
.whatsapp-float:hover {
    background-color: #128C7E; /* Um verde ligeiramente mais escuro ao passar o mouse */
}

/* Ajuste para telas menores (smartphones) */
@media (max-width: 600px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px; 
        right: 20px;
    }
}
/* Estilo para o ícone Font Awesome dentro do botão */
.whatsapp-float .fa-whatsapp {
    /* Define o tamanho do ícone */
    font-size: 32px; 
    /* Garante que o ícone fique branco */
    color: white; 
}

/* -------------------- */
/* 22. ESTILOS DA PÁGINA PORTFÓLIO */
/* -------------------- */

/* 22.1. Filtro de Categorias (Opcional) */
.portfolio-filter {
    text-align: center;
    padding-bottom: 2rem;
    margin-top: 1rem;
}

.filter-button {
    background-color: transparent;
    border: 1px solid #ced4da;
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.filter-button:hover {
    background-color: #f0f0f0;
}

.filter-button.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
}

/* 22.2. Grid Principal de Casos */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); /* Casos de 2 em 2 ou adaptável */
    gap: 3rem;
    margin-top: 3rem;
}

.portfolio-item {
    background-color: var(--text-light);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Garante que a imagem se ajuste */
    display: flex; /* Para layout vertical no mobile */
    flex-direction: column; 
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.project-mockup {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.project-tags {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.project-info p {
    margin-bottom: 1rem;
}
.obs{
    font-size: 0.8rem;
    color: #888;
    font-style: italic;
    margin-bottom: 1rem;
}
/* 22.3. Media Query para Responsividade do Portfólio */
@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: 1fr; /* Uma coluna no mobile */
    }
}