* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Raleway', sans-serif;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #00AFAA;
    --secondary-color: #FA8D29;
    --background-color: #ffffff;
    --text-color: #1f2426;
}


/* Animações de entrada */
@keyframes fadeInTop {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInBottom {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


.fade-in-top.active {
    animation: fadeInTop 1s ease-out forwards;
}

.fade-in-bottom.active {
    animation: fadeInBottom 1s ease-out forwards;
}

.fade-in-left.active {
    animation: fadeInLeft 1s ease-out forwards;
}

.fade-in-right.active {
    animation: fadeInRight 1s ease-out forwards;
}

/* Garantir que elementos de entrada comecem invisíveis para evitar jank */
.fade-in-top,
.fade-in-bottom,
.fade-in-left,
.fade-in-right {
    opacity: 0;
    will-change: opacity, transform;
    transition: opacity 260ms ease, transform 260ms ease;
}

/* Fontes locais Raleway */
@font-face {
    font-family: 'Raleway';
    src: url('fonts/raleway-v37-latin-100italic.woff2') format('woff2');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('fonts/raleway-v37-latin-200.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('fonts/raleway-v37-latin-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('fonts/raleway-v37-latin-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('fonts/raleway-v37-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('fonts/raleway-v37-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('fonts/raleway-v37-latin-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}




body {
    background-color: white;
    color: var(--text-color);
}

/* --- CABEÇALHO E NAVEGAÇÃO --- */
.main-header {
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 0.5rem 1rem;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 1rem;
}

.logo img {
    height: 40px;
    width: auto;
    vertical-align: middle;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.1rem;
    /* Aumenta um pouco o padding interno */
    gap: clamp(0.5rem, 2vw, 1rem);
    /* Gradiente sutil para simular luz vindo de cima */
    background-image: linear-gradient(to bottom, rgba(73, 73, 73, 0.25), rgba(255, 255, 255, 0.15));
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    border-radius: 50px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    /* Borda clara para "pegar" a luz */
    /* Sombra mais complexa para dar profundidade */
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    flex-shrink: 1;
    min-width: 0;
}

.nav-menu li {
    padding: 0 clamp(1.4rem, 1.5vw, 2rem);
}


.nav-menu a {
    color: var(--secondary-color);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- ÍCONES E O CÍRCULO PERFEITO --- */
.nav-menu i {
    font-size: 1.1rem;
    background-color: transparent;
    padding: clamp(0.6rem, 0.5vw, 0.2rem);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.nav-menu span {
    font-size: clamp(0.8rem, 1vw, 0.7rem);
    font-weight: 600;
    transition: color 0.3s ease;
}

/* --- EFEITOS HOVER --- */
.nav-menu a:hover i {
    transform: translateY(-4px);
    color: var(--primary-color);
    border-color: var(--primary-color);
    /* Borda fica laranja */
}

.nav-menu a:hover span {
    color: var(--primary-color);
    /* Texto fica laranja */
}

/* --- BOTÃO DE AGENDAMENTO --- */
.cta-button {
    /* Usando um gradiente sutil em vez de uma cor sólida */
    background-image: linear-gradient(to bottom, #FA8D29, #E66000);
    color: var(--white-color);
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    white-space: nowrap;
    padding: clamp(0.5rem, 1.2vw, 0.7rem) clamp(1rem, 2vw, 1.5rem);
    font-size: clamp(0.7rem, 1.5vw, 0.9rem);
    border: 1px solid #FB9E4A;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease-in-out;
}

.cta-button:hover {
    /* Inverte o gradiente e expande */
    background-image: linear-gradient(to top, #00C2C2, #008F8F);
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.cta-button:active {
    transform: scale(1);
    /* Retorna ao tamanho normal ao clicar */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/*
==================================================
    MENU HAMBÚRGUER E NAVEGAÇÃO MOBILE
==================================================
*/

/* 1. Estilo do Botão Hambúrguer */
.hamburger-menu {
    display: none;
    /* Escondido por padrão */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1010;
    /* Acima de outros elementos */
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

/* 2. Estilo do Menu Mobile (escondido fora da tela) */
.mobile-nav {
    position: fixed;
    top: 50px;
    right: 20px;
    width: calc(100% - 50px);
    /* Não encosta nas margens */
    max-width: 1050px;
    /* Largura máxima */
    height: auto;
    background-color: var(--background-color);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
    padding: 20px 30px;
    z-index: 1000;

    /* Animação */
    transform: translateY(-150%);
    /* Começa fora da tela, acima */
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.mobile-nav.active {
    transform: translateY(0);
    /* Posição final quando ativo */
}

/* 3. Conteúdo do Menu Mobile */
.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.mobile-nav-header .logo img {
    height: 35px;
    width: auto;
}

.close-menu {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 2.5rem;
    cursor: pointer;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    margin-bottom: 1.5rem;
}

/* Animação: ícone e texto (por padrão) */
.mobile-nav-menu a i,
.mobile-nav-menu a span {
    display: inline-block;
    /* permite transform */
    transform: translateX(0);
    transition: transform 220ms cubic-bezier(.2, .9, .3, 1), color 200ms ease;
    color: inherit;
}

/* Aplicar movimento e cor somente nos 4 primeiros itens */
.mobile-nav-menu li:nth-child(-n+4) a:hover i,
.mobile-nav-menu li:nth-child(-n+4) a:hover span {
    transform: translateX(-8px);
    color: var(--background-color);
}

.mobile-nav-menu i {
    font-size: 1.5rem;
}

.mobile-nav-menu a {
    background-color: transparent;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: background-color 0.3s ease;
}

.mobile-nav-menu a:hover {
    background-color: var(--secondary-color);
}

.mobile-nav-menu a i {
    color: var(--secondary-color);
}

.mobile-nav-menu a :hover i {
    color: var(--primary-color);
}

.location-button {
    display: inline-flex;
    /* não preencher largura */
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 0.4rem 0.8rem;
    /* padding reduzido */
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    position: relative;
    /* 3D button visual: cores e sombras suaves */
    background: linear-gradient(180deg, rgba(0, 191, 170, 1) 0%, rgba(0, 167, 160, 1) 100%);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.04);
    transition: transform 200ms cubic-bezier(.2, .9, .3, 1), box-shadow 200ms ease, filter 160ms ease;
    width: auto;
    max-width: 320px;
    /* limita largura máxima */
    align-self: flex-start;
    /* evita esticar em containers flex */
}

.location-button:hover {
    background: linear-gradient(180deg, rgba(250, 141, 41, 1) 0%, rgba(230, 96, 0, 1) 100%);
}

.location-button i {
    color: var(--background-color);
}

/* Press/active state to simulate press into depth */
/* hover: levanta e aumenta sombra (animação) */
.location-button:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 6px 14px rgba(0, 0, 0, 0.06);
    filter: brightness(1.03);
}

/* Press/active state: afunda levemente */
.location-button:active,
.location-button:focus {
    transform: translateY(2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.04);
    outline: none;
}

/* decorative bottom edge for stronger 3D effect */
.location-button::after {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: -8px;
    height: 10px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.04));
    border-radius: 8px;
    z-index: -1;
    transition: transform 200ms ease, opacity 200ms ease;
}

.location-button:hover::after {
    transform: translateY(6px) scaleX(1.04);
    opacity: 1;
}

/* 4. Media Query para ativar em telas menores */
@media (max-width: 800px) {

    .nav-menu,
    .cta-button {
        display: none;
        /* Esconde o menu de desktop */
    }

    .hamburger-menu {
        display: flex;
        /* Mostra o botão hambúrguer */
    }
}



/* --- SEÇÃO HERO (HOME COM VÍDEO) --- */
.hero {
    position: relative;
    height: 100vh;
    /* Ocupa a tela inteira */
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 1rem;
    /* Evita que o texto cole nas bordas */
    text-align: left;
    padding: 0 clamp(1rem, 5vw, 5rem);
    overflow: hidden;
    /* Garante que o vídeo não vaze */
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transition: opacity 1s ease-in-out;
    opacity: 1;
}


.video-hidden {
    opacity: 0;
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    z-index: 3;
    /* Garante que o conteúdo fique na frente */
    max-width: 560px;
}

.hero-content h1 {
    font-weight: 900;
    font-size: clamp(2rem, 3vw, 1rem);
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--secondary-color);
    font-weight: 900;
}

.hero-content p {
    font-size: clamp(1.2rem, 1.1vw, 1.5rem);
    font-weight: bold;
    color: rgb(255, 255, 255);
    max-width: 550px;
    margin: 0 auto 2.5rem auto;
    line-height: 1;
}

.hero-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    padding: clamp(0.6rem, 1.2vw, 0.8rem) clamp(1.1rem, 2vw, 1.8rem);
    font-size: clamp(0.9rem, 2vw, 1rem);
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--white-color);
    background-size: 200% auto;
}


.hero-buttons .btn-whatsapp {
    background-image: linear-gradient(to right, #b7e7b0 0%, #7ed957 51%, #25d366 100%);
}

.hero-buttons .btn-whatsapp:hover {
    background-position: right center;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.hero-buttons .btn-email {
    background-image: linear-gradient(to right, #c5a24a 0%, #ff9900 51%, #ffae42 100%);
}

.hero-buttons .btn-email:hover {
    background-position: right center;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(217, 4, 41, 0.3);
}


/* --- BOTÃO DE CONTROLE DE VOLUME --- */
.volume-control {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: rgba(30, 30, 30, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    z-index: 1001;
    /* Garante que fique acima do overlay */
}

.volume-control:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.language-selector {
    position: absolute;
    /* Posiciona em relação à seção .hero */
    bottom: 2rem;
    /* Alinha na parte inferior, espelhando o botão de volume */
    /* Alinha com o padding do conteúdo da home para um visual perfeito */
    left: clamp(1rem, 5vw, 5rem);
    z-index: 10;
    /* Garante que fique acima do vídeo e do overlay */
    min-height: 40px;
}

.language-selector select {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-weight: bold;
    border: 1px solid transparent;
    border-radius: 5px;
    padding: 0.5rem;
    font-family: 'Raleway', sans-serif;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    /* Fonte responsiva */
    cursor: pointer;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: background-color 0.3s ease;
}

.language-selector select:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

.language-selector select option {
    background-color: #6a6a6a;
    color: #fff;
}

/* --- SEÇÃO DE PROJETOS AUTORAIS --- */
#projetos {
    padding: clamp(3rem, 8vw, 6rem) 0;
}

#projetos .container,
#filmografia .container,
#servicos .container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}


#projetos h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-color);
    margin-bottom: clamp(2rem, 5vw, 4rem);
}

/* 1. Transformando a grade em um contêiner de rolagem horizontal */
.gallery-grid {
    display: flex;
    overflow-x: auto;
    padding-bottom: 2rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* 2. Estilizando a barra de rolagem laranja */
.gallery-grid::-webkit-scrollbar {
    height: 8px;
    /* Altura da barra */
}

.gallery-grid::-webkit-scrollbar-track {
    /* Cor do trilho */
    border-radius: 10px;
}

.gallery-grid::-webkit-scrollbar-thumb {
    background-color: var(--secondary-color);
    /* Cor laranja da barra */
    border-radius: 10px;
    border: 2px solid transparent;
    /* Borda na cor do trilho para efeito de preenchimento */
}

/* Estilos para Firefox */
.gallery-grid {
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) transparent;
}


/* 3. Ajustando os cards para o layout flexível */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4 / 6;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);

    /* Define um tamanho fixo para cada card e impede que encolham */
    flex: 0 0 clamp(450px, 30vw, 400px);
    margin-right: 1.5rem;
    /* Espaçamento entre os cards */
    scroll-snap-align: start;
    will-change: transform;
}

/* Garante que o último card não tenha margem extra */
.project-card:last-child {
    margin-right: 0;
}


.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.view-more-btn {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    opacity: 0;
    transform: translate(-50%, 10px);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* --- EFEITOS HOVER --- */
.project-card:hover img {
    transform: scale(1.1);
}

.project-card:hover .view-more-btn {
    opacity: 1;
    transform: translate(-50%, 0);
}


/*FILMOGRAFIA*/
#filmografia h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-color);
    margin-bottom: clamp(2rem, 5vw, 4rem);
}


* --- SEÇÃO DE SERVIÇOS --- */ #servicos {
    padding: clamp(3rem, 8vw, 6rem) 0;
}

#services h2 {
    text-align: center;
    font-size: clamp(2.5rem, 6vw, 3.8rem);
    /* Título maior */
    color: var(--secondary-color);
    /* Cor amarela */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    /* Sombra para destacar */
    margin-bottom: clamp(3rem, 6vw, 5rem);
    /* Distância maior na parte de baixo */
}

/* Menu de Filtros */
.filter-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: clamp(2rem, 5vw, 4rem);
}

.filter-btn {
    background-image: linear-gradient(to bottom, #d6d6d6, #ffffff);
    /* Gradiente cinza claro */
    color: #555;
    /* Cor do texto mais escura */
    border: 1px solid #f5f5f5;
    /* Borda superior clara */
    border-bottom: 2px solid #c7c6c6;
    /* Borda inferior escura para profundidade */
    padding: 0.7rem 1.6rem;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    /* SOMBRA CORRIGIDA: Centrada para efeito 3D em toda a borda */
    box-shadow: 0 0 15px rgba(10, 10, 10, 0.10);
}

.filter-btn:hover,
.filter-btn.active {
    background-image: linear-gradient(to top, var(--secondary-color), #FF8C00);
    color: white;
    border-color: #FFAC4D;
    box-shadow: 15px 1px 15px rgba(255, 128, 0, 0.15);
    transform: translateY(-2px);
}

/* Efeito de clique continua o mesmo */
.filter-btn:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Carrossel de Vídeos */
.video-carousel {
    display: flex;
    overflow-x: auto;
    padding-bottom: 2rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Estilizando a barra de rolagem */
.video-carousel::-webkit-scrollbar {
    height: 8px;
}

.video-carousel::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
}

.video-carousel::-webkit-scrollbar-thumb {
    background-color: var(--secondary-color);
    border-radius: 10px;
    border: 2px solid #e0e0e0;
}

.video-carousel {
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) #e0e0e0;
}

/* Card de Vídeo Quadrado */
.video-card {
    position: relative;
    flex: 0 0 clamp(250px, 25vw, 350px);
    /* Tamanho base dos cards */
    aspect-ratio: 3 / 4.5;
    /* Proporção quadrada */
    margin-right: 1.5rem;
    scroll-snap-align: start;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: var(--secondary-color);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.video-card:hover .play-overlay {
    opacity: 1;
}

.video-card:hover img {
    transform: scale(1.1);
}

/* Modal de Vídeo em Tela Cheia */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

#modal-video-player {
    width: 90%;
    height: 90%;
    max-width: 1600px;
    max-height: 90vh;
}

.close-modal {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 10000;
    /* Garante que o botão fique sobre o conteúdo do modal */
}

.close-modal:hover {
    transform: scale(1.2);
}


/* --- ESTILOS PARA O CARROSSEL NO MODAL DE IMAGEM --- */
.modal-carousel-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    height: 90%;
}

#image-modal img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s ease;
    z-index: 10001;
    /* Garante que fique acima da imagem */
}

.carousel-arrow:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.carousel-arrow.prev {
    left: 15px;
}

.carousel-arrow.next {
    right: 15px;
}


/* --- BOTÃO DE SOLICITAR ORÇAMENTO --- */
.quote-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 30px
}

.btn-quote {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background-size: 200% auto;
    color: var(--primary-color);
    /* PADDING E FONTE REDUZIDOS */
    padding: clamp(0.7rem, 1.2vw, 1rem) clamp(1.4rem, 2.5vw, 2.5rem);
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    font-weight: bold;
    text-decoration: none;
    /* Borda inicial transparente para evitar que o layout pule no hover */
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.btn-quote:hover {
    /* NOVO EFEITO DE HOVER */
    background-image: none;
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    /* Efeito de levantar mais sutil */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.btn-quote i {
    font-size: 1.1em;
}



/* ...seção animada... */
.sessao-personagens {
    background-color: var(--background-color);
    margin-top: 60px
}


.sessao-apresentacao {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 18px auto;
    text-align: center;
    padding: 0 clamp(6px, 2vw, 16px);
    box-sizing: border-box;
}

.sessao-apresentacao-titulo {
    font-size: clamp(1.4rem, 6vw, 2.4rem);
    color: var(--primary-color);
    font-weight: 900;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.sessao-apresentacao-texto {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: var(--text-color);
    margin-bottom: 12px;
}


.sessao-vantagens {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
    gap: clamp(10px, 3vw, 32px);
    width: 100%;
    max-width: 1200px;
    margin: clamp(16px, 4vw, 32px) auto clamp(16px, 4vw, 32px) auto;
    padding: 0 clamp(6px, 2vw, 10px);
    justify-items: center;
}

.vantagem-3d {
    background: var(--primary-color);
    border-radius: 20px;
    box-shadow: 0 12px 10px 0 rgba(0, 175, 170, 0.35), 0 2px 8px rgba(0, 175, 170, 0.18);
    border-top: 5px solid #fff;
    color: #fff;
    font-weight: 900;
    font-size: clamp(0.8rem, 2vw, 1.1rem);
    display: flex;
    align-items: center;
    gap: clamp(8px, 2vw, 18px);
    padding: clamp(8px, 2vw, 14px) clamp(10px, 2vw, 16px);
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 60px;
    justify-content: flex-start;
    transition: box-shadow 0.3s, transform 0.3s;
}

.vantagem-3d:hover {
    box-shadow: 0 15px 10px 0 rgba(0, 175, 170, 0.45), 0 4px 16px rgba(0, 175, 170, 0.22);
    transform: scale(1.02) translateY(-1px);
    z-index: 2;
}

.vantagem-3d i {
    font-size: clamp(1rem, 6vw, 1.5rem);
    color: #FFD700;
    min-width: clamp(18px, 6vw, 32px);
    text-align: center;
}


.sessao-vantagens-titulo {
    width: 100%;
    text-align: center;
    font-size: clamp(1.3rem, 5vw, 2.2rem);
    color: var(--primary-color);
    font-weight: 900;
    margin-bottom: clamp(10px, 2vw, 24px);
    margin-top: 110px;
    letter-spacing: 0.5px;
}

.sessao-numeros {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(12px, 4vw, 32px);
    width: 100%;
    max-width: 1200px;
    margin: clamp(16px, 4vw, 32px) auto clamp(16px, 4vw, 32px) auto;
    padding: 0;
}

.sessao-blocos-grid {
    display: none;
}

.numero-bloco {
    background: var(--primary-color);
    border-radius: 20px;
    box-shadow: 0 20px 10px 0 rgba(0, 175, 170, 0.35), 0 2px 8px rgba(0, 175, 170, 0.18);
    border-top: 5px solid #fff;
    color: #fff;
    padding: clamp(14px, 4vw, 32px) clamp(18px, 6vw, 40px);
    min-width: clamp(90px, 22vw, 180px);
    flex: 1 1 clamp(120px, 30vw, 220px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(8px, 2vw, 18px);
    margin: 0;
    max-width: 320px;
    box-sizing: border-box;
    position: relative;
    transition: box-shadow 0.4s;
}

.numero-bloco h3 {
    font-size: clamp(1.1rem, 5vw, 1.5rem);
    color: #fff;
    font-weight: 800;
    margin-bottom: 0;
    letter-spacing: 0.5px;
    text-align: center;
}

.numero-grande {
    font-size: clamp(1.6rem, 8vw, 2.7rem);
    font-weight: 900;
    color: #fff;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s, transform 0.7s cubic-bezier(.77, 0, .18, 1);
    font-family: 'Raleway', sans-serif;
    text-shadow: 0 2px 8px #00AFAA, 0 1px 0 #fff;
    text-align: center;
}

/* Ícone ao lado do número: aumentar levemente */
.number-icon {
    font-size: 2em;
    color: var(--text-color);
}

.numero-estrela {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: clamp(1rem, 4vw, 1.2rem);
    color: #FFD700;
    font-weight: 900;
}

.numero-estrela i {
    color: #FFD700;
    font-size: clamp(1.2rem, 7vw, 2.2rem);
}

.sessao-blocos-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
    gap: clamp(12px, 4vw, 32px);
    width: 100%;
    max-width: 1200px;
    margin: clamp(16px, 4vw, 32px) auto clamp(16px, 4vw, 32px) auto;
    padding: 0;
    box-sizing: border-box;
}


.sessao-bloco-imgtxt {
    display: flex;
    align-items: stretch;
    gap: clamp(8px, 2vw, 24px);
    background: #fff;
    padding: clamp(12px, 2vw, 24px);
    min-height: clamp(80px, 22vh, 220px);
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.sessao-bloco-imgtxt .bloco-img {
    flex: 0 0 clamp(40px, 18vw, 120px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: auto;
}

.sessao-bloco-imgtxt .bloco-img img {
    width: clamp(40px, 18vw, 120px);
    height: auto;
    max-height: clamp(60px, 30vw, 180px);
    object-fit: contain;
    border-radius: 12px;
    background: none;
    box-shadow: 0 2px 12px rgba(0, 175, 170, 0.12);
}

.sessao-bloco-imgtxt .bloco-texto {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0;
    min-width: 0;
}

.sessao-bloco-imgtxt .bloco-texto h2 {
    font-size: clamp(1.1rem, 6vw, 2.1rem);
    font-weight: 900;
    margin-bottom: clamp(8px, 2vw, 18px);
    color: var(--primary-color);
    text-align: left;
    line-height: 1.1;
    word-break: break-word;
}

.sessao-bloco-imgtxt .bloco-texto p {
    font-size: clamp(0.9rem, 4vw, 1.2rem);
    color: #181818;
    text-align: left;
    margin-bottom: 0;
    line-height: 1.4;
    word-break: break-word;
}




/* Fluidez extrema: grid e flex sem media queries, cards centralizados em telas pequenas */
.sessao-vantagens,
.sessao-numeros,
.sessao-blocos-grid {
    min-width: 0;
}

@media (max-width: 600px) {
    .sessao-vantagens {
        max-width: 100vw;
        grid-template-columns: 1fr !important;
        margin-left: 0;
        margin-right: 0;
        padding-left: 4px;
        padding-right: 4px;
    }

    .vantagem-3d {
        padding: 4px 6px !important;
        /* padding mínimo em telas pequenas */
        font-size: clamp(0.9rem, 4vw, 1.1rem);
    }

    .sessao-numeros,
    .sessao-blocos-grid {
        max-width: 100vw;
        grid-template-columns: 1fr !important;
        margin-left: 0;
        margin-right: 0;
        justify-items: center;
    }

    .sessao-bloco-imgtxt {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .sessao-bloco-imgtxt .bloco-texto h2,
    .sessao-bloco-imgtxt .bloco-texto p {
        text-align: center;
    }

    .vantagem-3d {
        padding: clamp(2px, 1vw, 6px) clamp(4px, 1vw, 8px);
        /* menor em telas pequenas */
        font-size: clamp(0.9rem, 4vw, 1.1rem);
    }
}

.sessao-intro {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 18px auto;
    text-align: center;
    padding: 0 clamp(6px, 2vw, 16px);
}

.sessao-intro-titulo {
    font-size: clamp(1.3rem, 5vw, 2.2rem);
    color: var(--primary-color);
    font-weight: 900;
    margin-bottom: 8px;
}

.sessao-intro-texto {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: var(--text-color);
    margin-bottom: 12px;
}

.sessao-whatsapp-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 800;
    font-size: clamp(1rem, 4vw, 1.1rem);
    border-radius: 12px;
    padding: 10px 20px;
    text-decoration: none;
    /* gradiente preparado para animar da direita para a esquerda */
    background: linear-gradient(90deg,#12a878 0%, #39d67a 50%, #25d366 100%);
    background-size: 200% 100%;
    background-position: 100% 0; /* inicia à direita */
    box-shadow: 0 18px 30px rgba(0,0,0,0.28), 0 4px 8px rgba(0,0,0,0.12) inset;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, background-position .6s cubic-bezier(.22,.9,.36,1);
}

.sessao-whatsapp-link i {
    font-size: 1.45em;
    display:inline-block;line-height:1
}

.sessao-whatsapp-link:hover {
    transform: translateY(-6px) rotate(-0.5deg);
    box-shadow: 0 28px 40px rgba(0,0,0,0.34), 0 6px 12px rgba(0,0,0,0.14) inset;
    filter: brightness(1.02);
    background-position: 0 0; /* anima o gradiente para a esquerda */
}

.sessao-whatsapp-link::after{
    content:"";
    position:absolute;
    left:8px;right:8px;
    bottom:-10px;
    height:12px;
    background: radial-gradient(closest-side, rgba(0,0,0,0.28), rgba(0,0,0,0.12));
    border-radius:10px;
    filter:blur(6px);
    z-index:-1;
    transition:transform .18s ease,opacity .18s ease;
    transform: translateY(6px);
    opacity:1;
}

.sessao-whatsapp-link:active{
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(0,0,0,0.26), 0 2px 6px rgba(0,0,0,0.12) inset;
}

.sessao-whatsapp-link:hover::after{transform:translateY(2px);opacity:.95}



/* --- SEÇÃO SOBRE (COM LAYOUT DINÂMICO E SEM CORTES) --- */
#sobre {
    padding: clamp(3rem, 8vw, 6rem) 0;
    background-color: var(--background-color);
}

#sobre h2 {
    text-align: center;
    font-size: clamp(1.5rem, 6vw, 3.8rem);
    color: var(--secondary-color);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: clamp(2rem, 5vw, 4rem);
    padding-inline: 4.5em; 
}

@media (max-width: 768px) {
    #sobre h2 {
        padding-inline: 1em;
    }
}

.sobre-texto {
    max-width: 900px;
    margin: 0 auto clamp(3rem, 5vw, 4rem) auto;
    text-align: center;
}

.sobre-texto p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.8;
    color: #333;
}

/* 1. NOVO GRID DE 2 COLUNAS */
.sobre-grid-container {
    display: grid;
    /* Grid fluido: colunas flexíveis com mínimo menor para evitar quebras bruscas */
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: clamp(12px, 2.5vw, 28px);
    max-width: 1200px;
    width: calc(100% - 48px);
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
    grid-auto-rows: 1fr; /* ajuda a manter blocos com alturas similares */
}

/* 2. ESTILO GERAL DO CONTÊINER DA IMAGEM */
.sobre-media-wrapper {
    position: relative;
    width: 100%;
    /* Proporção mais suave e responsiva */
    aspect-ratio: 24 / 18;
    border: clamp(2px,0.45vw,5px) solid var(--secondary-color);
    border-radius: clamp(10px,2.5vw,25px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18), 0 18px 48px rgba(0,0,0,0.22);
    overflow: hidden;
    animation: float-animation 6s ease-in-out infinite;
    display:block;
}


/* 3. A IMAGEM PREENCHENDO O NOVO CONTÊINER PROPORCIONAL */
.sobre-media-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-width: 100%;
}



/* 5. ANIMAÇÃO FLUTUANTE (permanece a mesma) */
@keyframes float-animation {
    0% {
        transform: translateY(0px) rotate(-2deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(-2deg);
    }
}



/* 6. DESSINCRONIZANDO A ANIMAÇÃO (permanece a mesma) */
.sobre-grid-container .sobre-media-wrapper:nth-child(2) {
    animation-delay: -1.5s;
}

.sobre-grid-container .sobre-media-wrapper:nth-child(3) {
    animation-delay: -3s;
}

.sobre-grid-container .sobre-media-wrapper:nth-child(4) {
    animation-delay: -4.5s;
}


/* --- NOVA SEÇÃO DE SEDES (SOBRE) --- */
.sedes-container {
    margin-top: clamp(3rem, 8vw, 6rem);
    text-align: center;
}

.sedes-intro-text {
    max-width: 70ch;
    margin: 0 auto 2rem auto;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: 1.6;
    color: var(--text-light);
}

.mapas-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(2rem, 5vw, 4rem);
    margin-top: 2rem;
}


.sede-item {
    flex: 1 1 400px;
    /* Permite que cresçam e quebrem a linha */
    max-width: 500px;
    min-width: 280px;
    /* Garante que não quebre em telas muito pequenas */
    text-align: left;
}

.sede-item h3 {
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.map-responsive-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%;
    /* Proporção 16:9 para o mapa */
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}


.map-responsive-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.sede-endereco {
    margin-top: 1rem;
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: var(--text-light);
    text-align: center;
    line-height: 1.5;
}

.btn-join-us {
    display: inline-block;
    position: relative; /* Necessário para o efeito 3D */
    margin-top: 2em;
    background-color: #f3a83d; /* Cor principal laranja */
    color: #1a253f;
    padding: 16px 32px;
    border-radius: 50px; /* Totalmente arredondado */
    text-decoration: none;
    font-weight: 700; /* Mais forte */
    font-size: 1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px #c5852b; 
    animation: float-animation 2s ease-in-out infinite;
    transition: all 0.2s ease-out;
}


.btn-join-us:hover {
    transform: translateY(2px);
    
    box-shadow: 0 4px #c5852b;
    
    animation-play-state: paused; 
}

.btn-join-us:active {
    transform: translateY(10px);
    box-shadow: 0 0 #c5852b;
}

.btn-join-us i {
    margin-right: 8px;
}

.join-us-call {
margin-top: 2.5em;
}

/* --- SEÇÃO EQUIPE --- */
#equipe {
    display: none;
}


.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 2.5rem;
}

#equipe h2 {
    text-align: center;
    font-size: clamp(1.8rem, 6vw, 3.8rem);
    color: var(--primary-color);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: clamp(2rem, 5vw, 4rem);
}


.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 15px;
    /* NOVA SOMBRA: Forte, preta e expandida em todos os lados para efeito 3D */
    box-shadow: 0 0 20px 10px rgba(0, 0, 0, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    /* O card cresce a partir do centro, sem levantar */
    transform: scale(1.03);
    /* A sombra se expande e escurece ainda mais para máxima profundidade */
    box-shadow: 0 0 30px 15px rgba(62, 62, 62, 0.25);
}

.team-member-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    flex-shrink: 0;
    /* A regra 'align-self' não é mais necessária aqui */
}

.team-member-info {
    display: flex;
    flex-direction: column;
    /* MUDANÇA 3: Centraliza todo o texto do card */
    text-align: center;
}

.team-member-info h3 {
    font-size: clamp(1.5rem, 2.5vw, 1.5rem);
    margin: 0 0 0.25rem 0;
}

.team-member-info .role {
    margin: 0 0 0.75rem 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: clamp(1.3rem, 2vw, 1rem);
}

.team-member-info .bio {
    font-size: clamp(1rem, 2vw, 0.95rem);
    line-height: 1.6;
    color: #555;
    margin: 0;
    /* MUDANÇA 4: A regra 'flex-grow' não é mais necessária */
    padding-top: 0.5rem;
}

.team-instagram {
    display: inline-block;
    margin-top: 0.5em;
    color: #E1306C;
    font-size: 1.5em;
    transition: color 0.2s;
}

.team-instagram:hover {
    color: #b91d5a;
}



/* --- SEÇÃO CLIENTES (ATUALIZADA) --- */
#clientes {
    padding: clamp(3rem, 8vw, 6rem) 0;
    background-color: var(--background-color);
}

#clientes h2 {
    text-align: center;
    font-size: clamp(2.5rem, 6vw, 3.8rem);
    color: var(--primary-color);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

.clientes-subtitulo {
    max-width: 800px;
    margin: 0 auto clamp(3rem, 6vw, 5rem) auto;
    text-align: center;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: 1.7;
    color: #444;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.logo-card {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    padding: 1rem;
    background-color: #ffffff;
    /* Um tom um pouco mais claro que o fundo */
    border-radius: 15px;
    transition: transform 0.28s cubic-bezier(.22,.9,.36,1), box-shadow 0.28s ease;
}

.logo-card img {
    max-width: 100%;
    max-height: 100px;
}

.logo-card:hover {
    transform: translateY(-10px);
}



/* --- RODAPÉ (LAYOUT MODERNO E ALINHADO) --- */
.site-footer {
    background-color: var(--text-color);
    /* Fundo escuro padrão */
    color: #ffffff;
    padding: 4rem 0 2rem 0;
    position: relative;
}



/* Layout principal do conteúdo em colunas */
.footer-content {
    display: grid;
    /* CORREÇÃO DEFINITIVA: O tamanho mínimo agora é flexível e nunca quebra o layout */
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 2.5rem;
    /* centraliza o conteúdo e adiciona padding lateral para não encostar nas margens */
    margin: 0 auto 3rem auto;
    max-width: 1400px;
    width: calc(100% - 48px);
    padding: 0 24px;
    text-align: left;
    align-items: start;
    /* Alinha o topo das colunas */
}


.footer-column h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    display: inline-block;
    color: #ffffff;
}

/* Linha de destaque sob os títulos */
.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    /* Linha Ciano */
}

.footer-logo {
    height: 45px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-about p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 450px;
}

.footer-about .footer-link-instagram {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}


.footer-about .footer-link-instagram:hover {
    color: var(--secondary-color);
}


/* --- ÍCONES SOCIAIS COM EFEITO 3D --- */
.social-icons {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.4rem;
    color: #ffffff;
    text-decoration: none;
    background-color: var(--text-color);
    box-shadow: inset 5px 5px 10px #1a1e20, inset -5px -5px 10px #242a2c;
    transition: all 0.3s ease;
}



.social-icons a:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* --- LINKS DE NAVEGAÇÃO DO RODAPÉ --- */
.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}


/* --- NOVA COLUNA DE VÍDEOS --- */
.footer-videos {
    position: relative;
    /* Essencial para posicionar os vídeos um sobre o outro */
    width: 100%;
    aspect-ratio: 16 / 9;
    /* Mantém o espaço reservado para o vídeo */
}

/* Estilo para cada vídeo individual */
.footer-video-item {
    position: absolute;
    /* Coloca os vídeos no mesmo lugar */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 1;
    transition: opacity 0.8s ease-in-out;
    /* Transição suave de fade */
}

.video-hidden {
    opacity: 0;
}

.footer-column.footer-videos {
    text-align: center; /* Centraliza o conteúdo horizontalmente */
}

/* Container para os vídeos, para mantê-los lado a lado */
.footer-video-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Estilização para a seção de e-mails no rodapé */
.footer-email-details a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-email-details a:hover {
    color: var(--secondary-color);
}


/* --- PARTE INFERIOR DO RODAPÉ --- */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem 24px 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 1200px;
    width: calc(100% - 48px);
    margin: 0 auto;
}

/* Alinha a parte inferior do rodapé com o conteúdo principal */
.site-footer .footer-bottom{
    padding-left:24px;
    padding-right:24px;
}
.site-footer .footer-bottom .inner{
    max-width:1200px;
    width:calc(100% - 48px);
    margin:0 auto;
    display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem
}

.legal-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--primary-color);
}





/* --- BANNER DE COOKIES (NOVA PALETA) --- */
#cookie-banner {
    background-color: #0D111A;
    color: var(--background-color);
    border-top: 2px solid var(--primary-color);
    position: fixed;
    min-height: 60px;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    text-align: center;
    z-index: 3000;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
    transition: bottom 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

#cookie-banner.show {
    bottom: 0;
}

#cookie-banner p {
    margin: 0;
}

#cookie-banner a {
    color: var(--primary-color);
    text-decoration: underline;
}

#accept-cookies {
    background-color: var(--primary-color);
    /* Dourado */
    color: var(--background-color);
    /* Azul-escuro */
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#accept-cookies:hover {
    background-color: var(--secondary-color);
    /* Laranja Terroso */
    color: white;
}

/* --- MODAL DE TEXTO LEGAL (NOVA PALETA) --- */
#legal-modal .modal-content {
    background-color: var(--card-background);
    /* Azul-acinzentado */
    color: var(--secondary-color);
    /* Branco Suave */
    border: 1px solid rgba(255, 196, 61, 0.2);
    padding: 2rem;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#legal-modal-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--primary-color);
    /* Dourado */
    margin: 0 0 1rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid #2a3858;
    /* Tom de azul mais escuro */
}

#legal-modal-body {
    overflow-y: auto;
    line-height: 1.8;
    color: var(--text-color);
    /* ALTERADO: De --text-muted para --text-color para maior contraste */
}

#legal-modal-body p {
    margin-bottom: 1rem;
}

#legal-modal-body h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    /* Destaque para os subtítulos com a cor primária */
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

#legal-modal-body p {
    color: var(--background-color);
}


#legal-modal .close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s ease;
}

#legal-modal .close-modal:hover {
    color: white;
}

/* --- ESTILOS PARA O CARROSSEL NO MODAL DE IMAGEM --- */
.modal-carousel-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    height: 90%;
}

#image-modal img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s ease;
    z-index: 10001;
    /* Garante que fique acima da imagem */
}

.carousel-arrow:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.carousel-arrow.prev {
    left: 15px;
}

.carousel-arrow.next {
    right: 15px;
}



/*MODAL PARA FILMOGRAFIA*/
.video-info-container {
    margin: clamp(1rem, 3vw, 2rem) auto 0 auto;
    max-width: 600px;
    background: #f8f8fa;
    border-radius: 8px;
    padding: clamp(1rem, 3vw, 2rem);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: #222;
}

.video-info-container h4 {
    margin-top: 0;
    margin-bottom: 0.5em;
    font-size: clamp(1.1rem, 2vw, 1.2rem);
    color: var(--primary-color, #2a3858);
    border-bottom: 1px solid #d0d0e0;
    padding-bottom: 0.2em;
}

#modal-sinopse,
#modal-ficha {
    margin-bottom: 1em;
    line-height: 1.6;
}