/* =========================================
   1. RESET E TIPOGRAFIA GLOBAL
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 300;
    color: #333;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    padding-top: 81px; 
    /* Trava de seleção de texto (Segurança) */
    -webkit-user-select: none; 
    -ms-user-select: none; 
    user-select: none;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

ul {
    list-style: none;
}

/* =========================================
   2. MENU GLOBAL (HEADER)
   ========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    border-bottom: 10px solid #eaeaea;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(8px);
    z-index: 1000;
}

.logo {
    font-size: 1.1rem;
    letter-spacing: 2px;
    font-weight: 400;
    z-index: 101;
}

.nav-container {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: flex-end;
    gap: 40px;
}

nav {
    display: flex;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links > li {
    position: relative;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.nav-links a:hover {
    color: #999;
}

.dropdown-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px); /* Inicia um pouco mais abaixo */
    background: #ffffff;
    min-width: 160px;
    border: 1px solid #eaeaea;
    padding: 10px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    text-align: center;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Prepara as palavras (Eventos, Ensaios) para a animação */
.dropdown-content li {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Quando o mouse entra, as palavras descem e aparecem */
.dropdown:hover .dropdown-content li {
    opacity: 1;
    transform: translateY(0);
}

/* O tempo de atraso que gera o efeito "escadinha" (suporta até 4 itens) */
.dropdown:hover .dropdown-content li:nth-child(1) { transition-delay: 0.1s; }
.dropdown:hover .dropdown-content li:nth-child(2) { transition-delay: 0.2s; }
.dropdown:hover .dropdown-content li:nth-child(3) { transition-delay: 0.3s; }
.dropdown:hover .dropdown-content li:nth-child(4) { transition-delay: 0.4s; }

.dropdown-content li a {
    display: block;
    padding: 12px 20px;
    font-size: 0.75rem;
}

.dropdown-content li a:hover {
    background-color: #fafafa;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #eaeaea;
    padding: 10px 20px;
    border-radius: 50px;
}

.whatsapp-btn:hover {
    border-color: #25D366;
    color: #25D366;
}

.whatsapp-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 1px;
    background-color: #333;
    transition: 0.3s ease;
}

/* =========================================
   3. HOME PAGE (SEÇÕES ESPECÍFICAS)
   ========================================= */

/* Hero / Carrossel */
.hero {
    height: calc(100vh - 81px);
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #f9f9f9;
}

.carousel-track {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 20px;
    transition: color 0.3s ease;
    font-weight: 100;
}

.carousel-btn:hover {
    color: rgba(255, 255, 255, 1);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

/* Seção de Texto Introdutório */
.text-section {
    padding: 80px 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.text-container {
    max-width: 800px;
}

.text-container h2 {
    font-weight: 300;
    font-size: 1.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.text-container h2::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 1px;
    background-color: #ccc;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.text-container p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

/* Seção: Sobre Mim */
.about-section {
    padding: 60px 50px 100px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1000px;
    width: 100%;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-weight: 300;
    font-size: 1.5rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #111;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.about-skills {
    margin-top: 30px;
}

.about-skills h4 {
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: #333;
}

.about-skills ul {
    list-style: none;
    padding: 0;
}

.about-skills li {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-skills li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border: 1px solid #999;
    border-radius: 50%;
}

.about-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.about-image {
    width: 100%;
    max-width: 400px;
    height: 550px;
    background-image: url('https://images.unsplash.com/photo-1554046920-90dcac824b04?auto=format&fit=crop&w=600&q=80');
    background-size: cover;
    background-position: center;
    border: 1px solid #eaeaea; 
}

/* Seção de Depoimentos */
.testimonials-section {
    padding: 80px 20px;
    background-color: #fafafa; 
    text-align: center;
}

.testimonials-section h2 {
    font-weight: 300;
    font-size: 1.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.testimonials-section h2::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 1px;
    background-color: #ccc;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonials-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    flex: 1;
    background-color: #ffffff;
    border: 1px solid #eaeaea; 
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}

.client-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: #eaeaea;
    margin-bottom: 20px;
}

.feedback-text {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 25px;
    flex-grow: 1;
}

.client-name {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 400;
    color: #111;
}

/* Galeria Contínua (Esteira) */
.infinite-gallery-section {
    width: 100%;
    overflow: hidden;
    background-color: #ffffff;
    padding: 60px 0;
    border-top: 1px solid #eaeaea;
}

.infinite-gallery-container {
    display: flex;
    width: max-content;
    cursor: grab; /* Muda o mouse para uma "mãozinha" aberta */
}

.infinite-gallery-container:active {
    cursor: grabbing; /* "Mãozinha" fechada ao segurar o clique */
}

.gallery-item {
    width: 300px;
    height: 400px;
    margin: 0 15px; 
    background-size: cover;
    background-position: center;
    background-color: #eaeaea;
    transition: opacity 0.3s ease;
    
    /* Trava vital: Impede que a foto seja "puxada" como arquivo ao arrastar */
    user-select: none;
    -webkit-user-drag: none; 
}

.gallery-item:hover {
    opacity: 0.9;
}

/* =========================================
   4. PÁGINA DE CONTATO
   ========================================= */
.contact-page-section {
    padding: 80px 50px 100px;
    display: flex;
    justify-content: center;
}

.contact-container {
    display: flex;
    gap: 80px;
    max-width: 1000px;
    width: 100%;
}

.contact-info { flex: 1; }
.contact-info h1 {
    font-weight: 300; font-size: 2rem; letter-spacing: 2px;
    text-transform: uppercase; margin-bottom: 20px; color: #111;
}
.contact-info p { font-size: 1.05rem; line-height: 1.7; color: #666; margin-bottom: 40px; }

.whatsapp-box { border: 1px solid #eaeaea; padding: 30px; background-color: #fafafa; }
.whatsapp-box h3 { font-weight: 400; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 15px; }
.whatsapp-link { display: inline-flex; align-items: center; gap: 10px; font-size: 1.2rem; color: #111; transition: color 0.3s ease; }
.whatsapp-link:hover { color: #25D366; }
.whatsapp-link svg { width: 24px; height: 24px; fill: currentColor; }

.contact-form-wrapper { flex: 1; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: #666; }

.contact-form input, .contact-form textarea {
    width: 100%; padding: 15px; border: 1px solid #eaeaea; background-color: #fff;
    font-family: inherit; font-size: 1rem; font-weight: 300; color: #333; outline: none; transition: border-color 0.3s ease;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: #999; }
.contact-form textarea { resize: vertical; min-height: 150px; }

.submit-btn {
    padding: 15px 30px; border: 1px solid #333; background-color: transparent; text-transform: uppercase;
    font-size: 0.85rem; letter-spacing: 1.5px; color: #333; cursor: pointer; transition: all 0.3s ease; align-self: flex-start;
}
.submit-btn:hover { background-color: #333; color: #fff; }
.msg-sucesso { color: #25D366; font-size: 0.9rem; margin-bottom: 20px; }
.msg-erro { color: #d9534f; font-size: 0.9rem; margin-bottom: 20px; }

/* =========================================
   5. RODAPÉ GLOBAL (FOOTER)
   ========================================= */
.site-footer {
    border-top: 1px solid #eaeaea;
    padding: 60px 50px 20px;
    background-color: #ffffff;
    color: #333;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #111;
}

.footer-sitemap ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-sitemap a {
    font-size: 0.85rem;
    color: #666;
}

.footer-sitemap a:hover {
    color: #000;
}

.footer-contact-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #333;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    color: #333;
    text-align: center;
}

.footer-contact-btn:hover {
    background-color: #333;
    color: #fff;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #eaeaea; 
    border-radius: 50%;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.social-icon-link:hover {
    border-color: #333;
    transform: translateY(-3px); 
}

/* Impede os SVGs de perderem a formatação e ficarem gigantes */
.social-icon {
    width: 18px;
    height: 18px;
    fill: #333;
    transition: fill 0.3s ease;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #eaeaea;
    padding-top: 20px;
    font-size: 0.75rem;
    color: #999;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* =========================================
   6. RESPONSIVIDADE (MOBILE) - TODAS AS SEÇÕES
   ========================================= */
@media (max-width: 768px) {
    /* Header e Menu Mobile */
    body { padding-top: 61px; }
    header { padding: 15px 25px; }
    .menu-toggle { display: flex; }
    
    .nav-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #ffffff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.4s ease, opacity 0.4s ease;
        pointer-events: none;
    }
    
    
    .nav-container.active {
        transform: translateY(0);
        opacity: 0.9;
        pointer-events: all;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .nav-links > li { font-size: 1.1rem; }
    
    .dropdown-content {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        padding-top: 15px;
        visibility: visible;
        opacity: 1;
    }
    
    .dropdown-content li {
        opacity: 1;
        transform: none;
    }
    
    .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* Home Page Mobile */
    .text-section { padding: 60px 20px 20px; }
    
    .about-section { padding: 20px 25px 60px; }
    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .about-skills ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .about-image { height: 400px; }

    .testimonials-container {
        flex-direction: column;
        gap: 20px;
    }

    .infinite-gallery-section { padding: 40px 0; }
    .gallery-item {
        width: 220px;
        height: 300px;
        margin: 0 10px;
    }

    /* Contato Mobile */
    .contact-page-section { padding: 40px 25px 60px; }
    .contact-container { flex-direction: column; gap: 50px; }
    .submit-btn { width: 100%; }

    /* Rodapé Mobile */
    .site-footer { padding: 40px 25px 20px; }
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .social-links {
        justify-content: center;
    }
}

/* =========================================
   7. PÁGINA DE PORTFÓLIO (MASONRY E FILTROS)
   ========================================= */
.portfolio-layout {
    display: flex;
    padding: 60px 50px 100px;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: flex-start; /* Impede que a sidebar estique com o tamanho da página */
}

/* Sidebar Fixa na Lateral Esquerda */
.portfolio-sidebar {
    width: 220px;
    position: sticky;
    top: 130px; /* Fica fixa acompanhando a tela, logo abaixo do menu principal */
}

.filter-menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.filter-menu li {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.filter-menu li:hover,
.filter-menu li.active {
    color: #111;
    font-weight: 400;
}

/* Galeria com Encaixe (Masonry) */
.portfolio-gallery {
    flex: 1;
    /* Divide em 3 colunas. O CSS encaixa as fotos automaticamente */
    column-count: 3;
    column-gap: 20px;
}

.gallery-item-masonry {
    break-inside: avoid; /* Impede que uma foto seja partida ao meio entre as colunas */
    margin-bottom: 20px;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-item-masonry img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #eaeaea; 
    transition: opacity 0.3s ease;
}

.gallery-item-masonry img:hover {
    opacity: 0.85;
}

/* Classe acionada pelo JavaScript para esconder fotos filtradas */
.gallery-item-masonry.hidden {
    display: none;
}

/* Responsividade do Portfólio */
@media (max-width: 1024px) {
    .portfolio-gallery { column-count: 2; } /* Cai para 2 colunas em tablets */
}

@media (max-width: 768px) {
    .portfolio-layout {
        flex-direction: column;
        padding: 20px 25px 60px;
        gap: 30px;
    }
    .portfolio-sidebar {
        width: 100%;
        position: static; /* Solta a barra lateral no celular */
    }
    .filter-menu {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }
    .portfolio-gallery { column-count: 1; } /* 1 coluna no celular */
}

/* =========================================
   8. APRESENTADOR (LIGHTBOX) E COMPARTILHAMENTO
   ========================================= */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    z-index: 2000; /* Fica acima do menu principal */
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-image-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: calc(100% - 60px);
    padding: 20px;
}

.lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

/* Display / Toolbar Inferior */
.lightbox-toolbar {
    width: 100%;
    height: 60px;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.lightbox-btn {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, transform 0.2s ease;
}

.lightbox-btn:hover {
    color: #aaaaaa;
    transform: scale(1.1);
}

.lightbox-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.lightbox-counter {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 1px;
    min-width: 60px;
    text-align: center;
}

/* Modal de Compartilhamento */
.share-modal {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #0a0a0a;
    border: 1px solid #ffaaaa; /* Contorno rosado da referência */
    padding: 30px;
    width: 90%;
    max-width: 400px;
    z-index: 2001;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.share-modal.active {
    display: block;
}

.share-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.share-header h3 {
    font-weight: 300;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.share-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.share-group {
    margin-bottom: 20px;
}

.share-group label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: #dddddd;
}

.share-input-wrapper {
    display: flex;
    border: 1px solid #ffaaaa;
}

.share-input-wrapper input {
    width: 100%;
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 10px 15px;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
}

.share-action-btn {
    background: transparent;
    border: none;
    border-left: 1px solid #ffaaaa;
    color: #ffffff;
    padding: 0 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.share-action-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.share-socials {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.share-socials a {
    color: #ffffff;
    transition: color 0.3s ease;
}

.share-socials a:hover {
    color: #ffaaaa;
}

.share-socials svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* =========================================
   MARCA D'ÁGUA DO APRESENTADOR (LIGHTBOX)
   ========================================= */
.lightbox-watermark {
    position: absolute;
    bottom: 80px; /* Fica logo acima da barra de navegação inferior */
    left: 40px;
    color: rgba(255, 255, 255, 0.4); /* Branco com 40% de opacidade (translúcido) */
    font-size: 0.6rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    pointer-events: none; /* Garante que o texto não bloqueie o clique do mouse ou dedo */
    user-select: none; /* Impede que o texto seja selecionado */
    z-index: 2010; /* Fica acima da foto */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* Sombra sutil para não sumir em fotos muito claras */
}

/* =========================================
   9. PÁGINA DE SERVIÇOS
   ========================================= */
.services-page-section {
    padding: 80px 50px 120px;
    max-width: 1200px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header h1 {
    font-weight: 300;
    font-size: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 15px;
}

.services-header p {
    font-size: 1.05rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 60px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Container da Imagem com efeito Hover */
.service-img-link {
    width: 100%;
    display: block;
    overflow: hidden;
    margin-bottom: 25px;
    border: 1px solid #eaeaea;
}

.service-img-link img {
    width: 100%;
    height: 400px; /* Altura média padrão para todas as fotos */
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease, opacity 0.3s ease;
}

.service-img-link:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}

.service-card h2 {
    font-weight: 400;
    font-size: 1.3rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Seta Animada */
.service-arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #111;
    font-weight: 400;
    transition: color 0.3s ease;
}

.service-arrow-link:hover {
    color: #999;
}

.service-arrow-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    /* A transição dita o tempo (0.3s) que a seta leva para deslizar */
    transition: transform 0.3s ease;
}

/*@keyframes move-arrow {
0%, 100% { transform: translateX(0); }
50% { transform: translateX(8px); }
}*/

/* O movimento (transform) só é ativado no hover */
.service-arrow-link:hover svg {
    transform: translateX(8px);
}

/* Responsividade */
@media (max-width: 768px) {
    .services-page-section {
        padding: 40px 25px 80px;
    }
    .service-img-link img {
        height: 300px;
    }
}

/* =========================================
   10. ANIMAÇÕES GLOBAIS DE ENTRADA (FADE)
   ========================================= */
@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Aplica o fade-in no corpo principal (Header fica fixo desde o início) */
main {
    animation: fadeSlideIn 0.8s ease-out forwards;
}

/* O rodapé tem um delay de 0.2s para aparecer logo depois do conteúdo principal */
.site-footer {
    opacity: 0; 
    animation: fadeSlideIn 0.8s ease-out 0.2s forwards; 
}


/* =========================================
   11. TEMA ESCURO (EXCLUSIVO PORTFÓLIO)
   ========================================= */

/* Fundo da página e texto geral */
body.portfolio-page {
    background-color: #2e0909;
    color: #ffffff;
}


/* Adapta o Menu Superior para o fundo escuro */
body.portfolio-page header {
    background: rgba(46, 9, 9, 0.90);
    border-bottom: 10px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Deixa a logo, links do menu e botões do header brancos */
body.portfolio-page .logo,
body.portfolio-page .nav-links a,
body.portfolio-page .whatsapp-btn {
    color: #ffffff;
}

body.portfolio-page .whatsapp-btn {
    border-color: rgba(255, 255, 255, 0.5);
}

body.portfolio-page .whatsapp-btn:hover {
    border-color: #ffffff;
}

body.portfolio-page .menu-toggle span {
    background-color: #ffffff;
}

/* Menu Dropdown adaptado (Submenu) */
body.portfolio-page .dropdown-content {
    background: #2e0909;
    border: none;
}

body.portfolio-page .dropdown-content li a:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Sidebar de Filtros do Portfólio */
body.portfolio-page .filter-menu li {
    color: rgba(255, 255, 255, 0.5); /* Cinza translúcido */
}

body.portfolio-page .filter-menu li:hover,
body.portfolio-page .filter-menu li.active {
    color: #ffffff;
}

/* Adapta o Rodapé para a página escura */
body.portfolio-page .site-footer {
    background-color: #2e0909;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

body.portfolio-page .footer-section h3 {
    color: #ffffff;
}

body.portfolio-page .footer-sitemap a,
body.portfolio-page .footer-bottom {
    color: rgba(255, 255, 255, 0.6);
}

body.portfolio-page .footer-sitemap a:hover {
    color: #ffffff;
}

body.portfolio-page .footer-contact-btn {
    color: #ffffff;
    border-color: #ffffff;
}

body.portfolio-page .footer-contact-btn:hover {
    background-color: #ffffff;
    color: #2e0909;
}

body.portfolio-page .social-icon {
    fill: #ffffff;
}

body.portfolio-page .social-icon-link {
    border-color: rgba(255, 255, 255, 0.3);
}

body.portfolio-page .social-icon-link:hover {
    border-color: #ffffff;
}

/* =========================================
   12. CORREÇÕES DE BUGS (MOBILE) (menu branco e carrossel congelado)
   ========================================= */

/* 1. Corrige o fundo do menu mobile no tema escuro do Portfólio */
@media (max-width: 768px) {
    body.portfolio-page .nav-container {
        background-color: #2e0909;
    }
}

/* 2. Impede que o touch do celular trave a galeria contínua para sempre */
@media (hover: none) {
    .infinite-gallery-container:hover {
        animation-play-state: running;
    }
}


