/* =================================
   CLASSES UTILITÁRIAS
   ================================= */

/* Centralização absoluta */
.center-absolute {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Elementos ocultos */
.hidden {
    display: none;
}

/* Elementos visíveis */
.visible {
    display: block;
}

/* Transições suaves */
.transition-smooth {
    transition: all 0.3s ease;
}

/* Transições rápidas */
.transition-fast {
    transition: all 0.15s ease;
}

/* =================================
   CONFIGURAÇÕES DE BASE E VARIÁVEIS
   ================================= */

:root {
  --bg-dark: #0d0d0d;
  --bg-light: #1a1a1a;
  --primary: #f5c518;
  --secondary: #ff6f61;
  --accent: #ffd700;
  --text-light: #f0f0f0;
  --text-gray: #b0b0b0;
--portfolio-bg-orange: #fc6d02;

}
/* Reset de CSS para consistência */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  
  /* Otimização de renderização de fonte */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.loaded {
  opacity: 1;
}
/* =================================
   ESTILIZAÇÃO DA BARRA DE ROLAGEM
   ================================= */
body::-webkit-scrollbar {
  width: 8px;
}

body::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

body::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

body::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}
/* SECTIONS */
.section{
  padding:120px 40px;
  max-width:1350px;
  margin:auto;
  position: relative; /* Necessário para z-index */
  z-index: 0; /* Acima do gradiente fixo */
}

.section h2.section-title {
  text-align: center;
  font-size: clamp(2rem, 6vw, 3rem);  font-weight: 800;
  color: var(--text-light); /* Alterado para branco/cinza claro */
  margin-bottom: 70px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding-bottom: 5px;
}
.section .section-description { /* Novo estilo para parágrafos */
  text-align:center;
  color:var(--text-gray);
  font-size:1.1rem;
  line-height:1.6;
  max-width: 800px;
  margin: -40px auto 50px auto; /* Ajustado para nova seção */
}

/* =================================
   SEÇÃO O QUE ESPERAR (REDESIGN)
   ================================= */
.expect-section {
    padding-top: 120px;
    padding-bottom: 120px;
    position: relative; 
}

.expect-steps-container {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
}

.expect-steps-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--bg-light); /* Cor de fundo da linha */
    z-index: 1;
}

/* Esta é a linha que será animada pelo JavaScript */
.expect-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background-color: var(--primary); /* Cor da linha animada */
    z-index: 2;
    /* A altura será controlada pelo JavaScript */
    height: 0%;
}

.expect-item {
    display: flex;
    position: relative;
    width: 50%;
    padding: 30px 40px;
    box-sizing: border-box; /* Garante que o padding não afete a largura */
}

/* Alinha os itens da direita para o lado direito */
.expect-item--right {
    margin-left: 50%;
}

.expect-number {
    background-color: var(--primary);
    color: var(--bg-dark);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    z-index: 3;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 3px solid var(--bg-dark);
}

.expect-item--left .expect-number {
    right: -25px; /* Metade da largura do número para ficar sobre a linha */
}

.expect-item--right .expect-number {
    left: -25px; /* Metade da largura do número para ficar sobre a linha */
}

.expect-content {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    width: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.expect-item--left .expect-content {
    text-align: right;
}

.expect-content h3 {
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.expect-content p {
    margin: 0;
    color: var(--text-gray);
    line-height: 1.6;
}
/* =================================
   LAYOUT DOS BOTÕES
   ================================= */

.cta-button {
    display: inline-block;
    padding: 14px 32px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--bg-dark);
    background-color: var(--primary);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(245, 197, 24, 0.3);
}
/* =================================
   HERO - DESIGN FINAL COM LOGO E ANIMAÇÕES
   ================================= */

/* Container geral da seção Hero */
.hero--enhanced {
    display: flex;
    flex-direction: column;
    align-items: center; /* ALTERADO: de 'flex-start' para 'center' */
    justify-content: center;
    text-align: center; /* ALTERADO: de 'left' para 'center' */
    
    min-height: 100vh;
    padding: 140px 40px 40px; /* Padding lateral genérico restaurado */
    
    background-color: var(--bg-dark); /* Removido pois já é o padrão do body */
    box-sizing: border-box;
    position: relative; /* Mantido para os elementos de fundo */
    overflow: hidden;   /* Mantido para os elementos de fundo */
}

.hero__logo-container {
    /* Não precisa de alinhamento próprio, pois o pai (.hero--enhanced) já cuida disso */
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(-30px);
    position: relative;
    z-index: 2;
}

.hero__logo {
    max-width: 200px; /* Ajuste o tamanho da logo conforme necessário */
    height: auto;
}

.hero__main {
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
    /* Adicionamos uma largura máxima para melhor legibilidade */
    max-width: 950px; 
}

/* Estilo do Título Principal (H1) */
.hero__title {
    color: var(--text-light);
    font-size: 3.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
    text-shadow: none;
    opacity: 0; /* Começa invisível para a animação */
    transform: translateY(20px); /* Começa um pouco abaixo para o efeito "slide up" */
}

/* Estilo do Subtítulo (H2) */
.hero__subtitle {
    color: var(--text-gray);
    font-size: 1.2rem;
    max-width: 600px;
    
    /* ALTERAÇÃO: 'auto' para centralizar horizontalmente */
    margin: 20px auto 0 auto;

    line-height: 1.6;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    opacity: 0;
    transform: translateY(20px);
}

/* Container do Botão de Ação */
.hero__cta-container {
    display: flex;
    justify-content: center; /* ALTERADO: de 'flex-start' para 'center' */
    gap: 20px;
    margin-top: 40px;
    opacity: 0;
    transform: translateY(20px);
}


/* Otimizações para telas muito pequenas (iPhone SE, etc.) */
/* Animação que cria o efeito de túnel/zoom infinito */
@keyframes move-forward {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    99.9% {
        /* A grade cresce até 1.5x o seu tamanho e começa a desaparecer */
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        /* No último instante, reseta para o estado inicial para o loop perfeito */
        transform: scale(1);
        opacity: 1;
    }
}
/* =================================
   HERO - FLUXO ORGÂNICO DE ENERGIA (VERSÃO AVANÇADA)
   ================================= */

/* Animação para a onda de fundo (trajetória curva 1) */
@keyframes organic-flow-1 {
    0% {
        transform: translate(-50%, -120%);
    }
    50% {
        transform: translate(60%, 50%); /* Ponto intermediário que cria a curva */
    }
    100% {
        transform: translate(-50%, 120%);
    }
}

/* Animação para a onda de destaque (trajetória curva 2) */
@keyframes organic-flow-2 {
    0% {
        transform: translate(120%, 50%);
    }
    50% {
        transform: translate(50%, -70%); /* Ponto intermediário oposto */
    }
    100% {
        transform: translate(-120%, 50%);
    }
}

/* O container principal do fundo, otimizado para performance */
.animated-grid-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    will-change: transform, opacity;
    
    /* As linhas estáticas da grelha (a base que será animada) */
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;

    /* Aplica a nova animação de movimento para a frente */
    animation: move-forward 25s linear infinite;

    /* MÁSCARA ELÍPTICA (MAIS ACHATADA) */
    -webkit-mask-image: radial-gradient(ellipse 70% 40% at center, black 40%, transparent 80%);
    mask-image: radial-gradient(ellipse 70% 40% at center, black 40%, transparent 80%);
}

/* Estilo base para AMBAS as ondas (agora agrupados) */
.animated-grid-background::before,
.animated-grid-background::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    animation-timing-function: ease-in-out; /* Movimento mais suave */
    animation-iteration-count: infinite;
}


/* =================================
   HERO - EFEITO DE TEXTO DESTACADO (CORRIGIDO)
   ================================= */

/* Animação que cria o brilho se movendo */
@keyframes shimmer-effect {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.highlight-word {
    display: inline-block;
    color: var(--primary); /* Cor para navegadores que não suportam o efeito */
    
    /* Gradiente dourado que forma a base do brilho */
    background: linear-gradient(
        110deg, 
        #ffd700,
        #f5c518,
        #ffdead,
        #f5c518,
        #ffd700
    );
    
    /* Recorta o fundo para ter a forma do texto */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* Aplica a animação do brilho */
    background-size: 200% auto;
    animation: shimmer-effect 4s linear infinite;
}
/* =================================
   HERO - NOVO BOTÃO CTA (ARROW LINK) COM EFEITO DE BRILHO NA FONTE
   ================================= */

.cta-arrow-link {
    display: inline-flex; /* Alinha o texto e o ícone na mesma linha */
    align-items: center;
    gap: 15px; /* Espaço entre o texto e o ícone */
    
    color: var(--text-gray);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    
    position: relative;
    transition: color 0.3s ease;
}

/* Efeito de brilho/espelhamento na fonte */
.cta-arrow-link span {
    background: linear-gradient(
        45deg,
        var(--text-gray) 0%,
        var(--primary) 25%,
        var(--text-light) 50%,
        var(--primary) 75%,
        var(--text-gray) 100%
    );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: text-shine 3s ease-in-out infinite;
}

/* Animação do brilho na fonte */
@keyframes text-shine {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.cta-arrow-link:hover span {
    animation: text-shine 1.5s ease-in-out infinite; /* Acelera no hover */
}

/* Círculo que envolve a seta */
.arrow-icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2); /* Borda sutil */
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.cta-arrow-link:hover .arrow-icon-container {
    background-color: var(--primary); /* Preenche o círculo no hover */
    border-color: var(--primary);
}

/* A seta SVG */
.arrow-svg {
    width: 22px;
    height: 22px;
    color: var(--text-light);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), color 0.3s ease;
}

/* Animação da seta no hover */
.cta-arrow-link:hover .arrow-svg {
    transform: translateX(5px); /* Move a seta para a direita */
    color: var(--bg-dark); /* Muda a cor da seta para contrastar com o fundo preenchido */
}
/* =================================
   HERO - EFEITO DE TEXT MORPHING
   ================================= */

#morphing-text {
    /* Garante que a transição funcione e evita saltos de layout */
    display: inline-block;
    vertical-align: bottom; /* Alinha melhor com o resto da linha */
    
    /* A transição suave que cria o efeito */
    transition: opacity 0.25s ease-in-out, filter 0.25s ease-in-out, transform 0.25s ease-in-out;
}

/* Classe que o JavaScript irá adicionar para "esconder" a palavra */
#morphing-text.is-morphing {
    opacity: 0;
    filter: blur(8px);
    transform: scale(1.2); /* Efeito sutil de "explosão" */
}

/* =================================
   SEÇÃO PORTFÓLIO
   ================================= */

.section--portfolio {
    padding-top: 120px;
    padding-bottom: 120px;
    background: var(--bg-dark);
    overflow: hidden;
}

.portfolio-carousel-container {
    position: relative;
    padding: 0 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.custom-carousel {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    width: 300px;
    height: 533px;
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    opacity: 0;
    transform: scale(0.6);
    filter: blur(3px);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Remove a duplicação - mantém apenas o posicionamento original */

.carousel-slide.slide-primary {
    z-index: 10;
    transform: scale(1);
    opacity: 1;
    filter: blur(0);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.carousel-slide.slide-secondary {
    z-index: 5;
    opacity: 0.6;
    filter: blur(2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* Posicionamento específico dos slides secundários */
.carousel-slide.slide-left-2 {
    transform: translateX(-400px) scale(0.6);
    opacity: 0.4;
    filter: blur(5px);
}

.carousel-slide.slide-left-1 {
    transform: translateX(-200px) scale(0.7);
    opacity: 0.6;
    filter: blur(3px);
}

.carousel-slide.slide-right-1 {
    transform: translateX(200px) scale(0.7);
    opacity: 0.6;
    filter: blur(3px);
}

.carousel-slide.slide-right-2 {
    transform: translateX(400px) scale(0.6);
    opacity: 0.4;
    filter: blur(5px);
}

/* Slides ocultos */
.carousel-slide.slide-hidden {
    opacity: 0;
    transform: scale(0.6);
    filter: blur(3px);
    z-index: 1;
}

/* Cursor pointer para indicar que é interativo */
.carousel-slide {
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

/* Efeito hover simples nas imagens */
.carousel-slide:hover {
    opacity: 0.8;
}

/* Efeito hover mais sutil para slides secundários */
.carousel-slide.slide-secondary:hover {
    opacity: 0.9;
}

/* Vídeos dentro dos slides - Otimizado para Bunny CDN */
.carousel-slide .portfolio-video {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 30px;
    background: #000;
    display: block;
    outline: none;
    box-sizing: border-box;
    object-fit: cover;
    flex: 1 1 100%;
    align-self: stretch;
}

/* Estados de carregamento para lazy loading */
.carousel-slide.video-loading {
    position: relative;
}

.carousel-slide.video-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(245, 197, 24, 0.3);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

.carousel-slide.video-error {
    position: relative;
}

.carousel-slide.video-error::after {
    content: '⚠️ Erro ao carregar';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-gray);
    font-size: 0.9rem;
    text-align: center;
    z-index: 10;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px 15px;
    border-radius: 8px;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* =================================
   PLAYER DE VÍDEO MINIMALISTA
   ================================= */
/* Container principal dos controles */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    padding: 15px 20px;
    border-radius: 0 0 30px 30px;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.carousel-slide:hover .video-controls {
    opacity: 1;
}

/* Timeline minimalista */
.timeline-container {
    margin-bottom: 12px;
}

.timeline-slider {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1px;
    outline: none;
    appearance: none;
    cursor: pointer;
}

.timeline-slider::-webkit-slider-thumb {
    appearance: none;
    width: 12px;
    height: 12px;
    background: #f5c518;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.timeline-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #f5c518;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.timeline-slider:hover::-webkit-slider-thumb {
    transform: scale(1.2);
}

.timeline-slider:hover::-moz-range-thumb {
    transform: scale(1.2);
}

/* Grid de controles minimalista */
.controls-grid {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Botões minimalistas */
.control-button {
    background: rgba(245, 197, 24, 0.8);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    backdrop-filter: blur(10px);
}

.control-button:hover {
    background: rgba(245, 197, 24, 1);
    transform: scale(1.05);
}

.control-button:active {
    transform: scale(0.95);
}

/* Ícones SVG minimalistas */
.control-button svg {
    color: #000;
    width: 18px;
    height: 18px;
    transition: all 0.15s ease;
}

.control-button:hover svg {
    color: #000;
}

/* Fallback para vídeos que não carregaram */
.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--bg-light), var(--bg-dark));
    border-radius: 30px;
    z-index: -1;
    opacity: 0.3;
}

/* Fallback visual para vídeos que falharam */
.video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--bg-light), var(--bg-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    z-index: 1;
}

.fallback-content {
    text-align: center;
    color: var(--text-gray);
}

.fallback-content svg {
    color: var(--primary);
    margin-bottom: 10px;
}

.fallback-content p {
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
}

/* Botões de navegação customizados */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(245, 197, 24, 0.1);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
}

.carousel-button:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.carousel-button svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    transition: color 0.3s ease;
}

.carousel-button:hover svg {
    color: var(--bg-dark);
}

.carousel-button-prev {
    left: 20px;
}

.carousel-button-next {
    right: 20px;
}

/* ==========================================================
   REMOVE O BOTÃO DE EXPANDIR (SETINHA) DO PORTFÓLIO
   ========================================================== */



/* ==========================================================
   VERSÃO MOBILE OTIMIZADA DO CARROSSEL DE PORTFÓLIO
   ========================================================== */

@media (max-width: 768px) {
    .portfolio-carousel-container {
        padding: 0 15px;
        max-width: 100%;
    }

    .custom-carousel {
        height: clamp(400px, 70vh, 500px);
        overflow: hidden;
        position: relative;
        border-radius: 20px;
    }

    .carousel-track {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        position: relative;
        width: 100%;
    }

    /* Layout mobile otimizado - apenas um slide visível por vez */
    .carousel-slide {
        position: absolute;
        width: clamp(250px, 85vw, 300px);
        height: clamp(350px, 62vh, 450px);
        border-radius: 16px;
        overflow: hidden;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        cursor: pointer;
        opacity: 0;
        transform: scale(0.85);
        z-index: 1;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%) scale(0.85);
        box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    }

    /* Apenas o slide ativo é visível */
    .carousel-slide.slide-primary {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        z-index: 10;
        box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    }

    /* Todos os outros slides ficam ocultos */
    .carousel-slide.slide-secondary,
    .carousel-slide.slide-left-2,
    .carousel-slide.slide-left-1,
    .carousel-slide.slide-right-1,
    .carousel-slide.slide-right-2,
    .carousel-slide.slide-hidden {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.85);
        z-index: 1;
        pointer-events: none;
    }

    /* Efeito touch melhorado para mobile */
    .carousel-slide:active {
        transform: translate(-50%, -50%) scale(0.98);
    }

    /* Botões de navegação otimizados para touch */
    .carousel-button {
        width: 44px;
        height: 44px;
        background: rgba(245, 197, 24, 0.9);
        border: none;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
        z-index: 20;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .carousel-button:active {
        background: var(--primary);
        transform: translateY(-50%) scale(0.95);
        box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    }

    .carousel-button svg {
        width: 18px;
        height: 18px;
        color: var(--bg-dark);
        pointer-events: none;
    }

    .carousel-button-prev {
        left: 8px;
    }

    .carousel-button-next {
        right: 8px;
    }

    /* Indicadores de slide para mobile */
    .carousel-indicators {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
        padding: 0 20px;
    }

    .indicator-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transition: all 0.3s ease;
        cursor: pointer;
        touch-action: manipulation;
    }

    .indicator-dot.active {
        background: var(--primary);
        transform: scale(1.2);
    }

    /* Otimizações para vídeos em mobile */
    .carousel-slide .portfolio-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 16px;
    }
}

/* Otimizações para telas muito pequenas */
@media (max-width: 375px) {
    .portfolio-carousel-container {
        padding: 0 10px;
    }

    .custom-carousel {
        height: clamp(350px, 65vh, 400px);
    }

    .carousel-slide {
        width: clamp(220px, 90vw, 280px);
        height: clamp(300px, 55vh, 380px);
        border-radius: 12px;
    }

    .carousel-button {
        width: 40px;
        height: 40px;
    }

    .carousel-button svg {
        width: 16px;
        height: 16px;
    }

    .carousel-button-prev {
        left: 5px;
    }

    .carousel-button-next {
        right: 5px;
    }
}

/* Controles de vídeo removidos - iframes do Bunny CDN têm controles integrados */

    /* Indicador de slide atual */
    .carousel-slide::before {
        content: '';
        position: absolute;
        top: 10px;
        right: 10px;
        width: 8px;
        height: 8px;
        background: var(--primary);
        border-radius: 50%;
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 5;
    }

    .carousel-slide.slide-primary::before {
        opacity: 1;
    }

    /* Indicadores de slide para mobile - REMOVIDOS */
.carousel-indicators {
    display: none; /* Oculta completamente os indicadores */
}

.indicator-dots {
    display: none; /* Oculta completamente os dots */
}

.indicator-dot {
    display: none; /* Oculta completamente os dots individuais */
}

/* Melhorias para touch em mobile */
@media (max-width: 768px) {
    /* Otimizações gerais de touch e performance */
    * {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
    }

    /* Otimizações de performance para mobile */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeSpeed;
    }

    /* Reduz animações em dispositivos com preferência por movimento reduzido */
    @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
            scroll-behavior: auto !important;
        }
    }

    /* Otimizações para elementos pesados */
    .animated-grid-background,
    .section-glow,
    .hero--enhanced::before {
        will-change: transform;
        transform: translateZ(0);
    }

    /* Reduz qualidade de sombras em mobile para melhor performance */
    .carousel-slide,
    .solution-card,
    .testimonial-glass-card,
    .contact-card {
        box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    }

    .carousel-slide.slide-primary {
        box-shadow: 0 8px 25px rgba(0,0,0,0.3) !important;
    }

    /* Melhora área de toque para botões */
    .control-button,
    .carousel-button,
    .indicator-dot,
    .nav-toggle {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }

    /* Otimizações para carrossel */
    .carousel-slide {
        touch-action: pan-y pinch-zoom;
    }
    
    .video-controls {
        touch-action: manipulation;
    }
    
    .timeline-slider {
        min-height: 20px;
        touch-action: manipulation;
    }

    /* Melhora área de toque para cards interativos */
    .solution-card,
    .expect-content,
    .testimonial-glass-card,
    .contact-card {
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(245, 197, 24, 0.1);
    }

    /* Otimizações para FAQ */
    .faq-question {
        min-height: 44px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(245, 197, 24, 0.1);
    }

    /* Melhora botões CTA */
    .cta-button,
    .nav-cta-button,
    .contact-button {
        min-height: 44px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(245, 197, 24, 0.2);
    }

    /* Otimizações para links */
    a {
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(245, 197, 24, 0.1);
    }

    /* Melhora scroll suave */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    /* Otimizações para inputs */
    input[type="range"] {
        touch-action: manipulation;
    }

    /* Melhora performance de animações em touch */
    .carousel-slide,
    .solution-card,
    .testimonial-glass-card {
        will-change: transform;
        backface-visibility: hidden;
        perspective: 1000px;
    }
}
/* =================================
   CONTROLES DE VÍDEO REMOVIDOS - IFRAMES BUNNY CDN
   ================================= */

/* Os controles de vídeo foram removidos pois os iframes do Bunny CDN
   têm seus próprios controles integrados e otimizados */

/* =================================
   OTIMIZAÇÕES ESPECÍFICAS PARA IFRAMES BUNNY CDN
   ================================= */

/* Estilos consolidados acima */

/* Otimizações para carregamento de iframes */
.portfolio-video[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-video[loading="lazy"].loaded {
    opacity: 1;
}

/* Melhora a performance dos iframes */
.portfolio-video {
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
}

/* Animação sutil para o fundo enquanto carrega */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Estilo para quando o vídeo tem poster definido */
.portfolio-video[poster] {
    background: none;
    animation: none;
}

/* Estilos específicos para slides ativos */
.carousel-slide.slide-primary .portfolio-video {
    transform: scale(1);
    filter: none;
}

/* Estilos para slides secundários */
.carousel-slide.slide-secondary .portfolio-video {
    filter: blur(2px);
    opacity: 0.6;
}

/* Estilos para slides ocultos */
.carousel-slide.slide-hidden .portfolio-video {
    filter: blur(3px);
    opacity: 0.4;
}

/* Responsividade para iframes */
@media (max-width: 768px) {
    .portfolio-video {
        aspect-ratio: 9/16; /* Mantém proporção vertical em mobile */
    }
}

@media (min-width: 769px) {
    .portfolio-video {
        aspect-ratio: 9/16; /* Mantém proporção vertical em desktop também */
    }
}

@keyframes pulse-grid {
    from {
        /* Estado inicial: um pouco menor e mais sutil */
        transform: scale(1);
        opacity: 0.6;
    }
    to {
        /* Estado final: um pouco maior e mais visível */
        transform: scale(1.05);
        opacity: 1;
    }
}
/* =================================
   SEÇÃO O QUE ESTÁ IMPEDINDO VOCÊ? (REDESIGN COMPLETO)
   ================================= */
.expect-section {
    padding-top: 120px;
    padding-bottom: 120px;
    position: relative;
    background: var(--bg-dark); /* Garante que o fundo da seção seja o dark padrão */
}

.expect-steps-container {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 50px; /* Espaço extra no final da linha */
}

/* Linha de fundo estática */
.expect-steps-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--bg-light); /* Cor de fundo da linha */
    z-index: 1;
}

/* Esta é a linha que será animada pelo JavaScript */
.expect-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background-color: var(--primary); /* Cor da linha animada */
    z-index: 2;
    height: 0%; /* Começa com 0% e será animada pelo GSAP */
}
.expect-item {
    display: flex;
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
    /* As propriedades de animação (opacity, transform, transition) foram removidas
       para entregar o controle total ao GSAP. */
}
.expect-item--right {
    margin-left: 50%;
}
/* ==========================================================
   CORREÇÃO DEFINITIVA PARA SOBREPOSIÇÃO NA TIMELINE (VERSÃO COMPLETA)
   ========================================================== */

/* Invertemos a ordem de empilhamento dos itens da timeline.
   O primeiro item (topo) tem o z-index mais alto, e assim por diante.
   Esta abordagem garante que o ícone de um item sempre possa ficar 
   por cima do card de conteúdo do item seguinte. */

.expect-steps-container .expect-item:nth-of-type(1) {
    z-index: 8;
}
.expect-steps-container .expect-item:nth-of-type(2) {
    z-index: 7;
}
.expect-steps-container .expect-item:nth-of-type(3) {
    z-index: 6;
}
.expect-steps-container .expect-item:nth-of-type(4) {
    z-index: 5;
}
/* Regras adicionadas para cobrir todos os itens */
.expect-steps-container .expect-item:nth-of-type(5) {
    z-index: 4;
}
.expect-steps-container .expect-item:nth-of-type(6) {
    z-index: 3;
}
.expect-steps-container .expect-item:nth-of-type(7) {
    z-index: 2;
}
.expect-steps-container .expect-item:nth-of-type(8) {
    z-index: 1;
}
/* Novo container para os ícones */
.expect-icon {
    background-color: var(--bg-dark); /* Fundo do ícone */
    color: var(--primary); /* Cor do ícone */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 3px solid var(--primary); /* Borda sólida primária */
    box-shadow: 0 0 15px rgba(245, 197, 24, 0.3); /* Brilho sutil */
}

.expect-icon svg {
    width: 30px;
    height: 30px;
}

.expect-item--left .expect-icon {
    right: -30px; /* Centraliza o ícone na linha divisória */
}

.expect-item--right .expect-icon {
    left: -30px; /* Centraliza o ícone na linha divisória */
}

.expect-content {
    background: var(--bg-light); /* Fundo do card */
    padding: 30px;
    border-radius: 12px;
    width: 100%;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    border: 1px solid transparent; /* Borda inicial transparente */
    position: relative; /* Para o pseudo-elemento de hover */
    overflow: hidden; /* Garante que o gradiente não vaze */
    z-index: 0;
}

/* Efeito de iluminação dinâmica no hover para o card */
.expect-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: conic-gradient(from 180deg at 50% 50%, var(--primary), var(--secondary), var(--accent), var(--primary));
    opacity: 0;
    transform: scale(1.5);
    transition: opacity 0.4s ease, transform 0.4s ease;
    filter: blur(20px); /* Desfoque para o efeito de brilho */
    z-index: -1; /* Fica atrás do conteúdo */
}

.expect-content:hover::before {
    opacity: 0.2; /* Aumenta a opacidade do brilho no hover */
    transform: scale(1);
}

.expect-content:hover {
    transform: translateY(-5px); /* Efeito de elevação sutil */
    border-color: var(--primary); /* Destaca a borda no hover */
}

.expect-item--left .expect-content {
    text-align: right;
}

.expect-content h3 {
    font-family: 'Inter', sans-serif;
    color: var(--text-light);
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.expect-content p {
    font-family: 'Inter', sans-serif;
    margin: 0;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Media Queries para Responsividade */
@media (max-width: 768px) {
    .expect-section .section-title {
        font-size: 2.5rem;
    }
    .expect-steps-container::before, .expect-line {
        left: 20px; /* Move a linha para a esquerda em mobile */
        transform: translateX(0);
    }
    .expect-item {
        width: 100%;
        margin-left: 0;
        padding: 15px 15px 15px 50px; /* Ajusta o padding para a nova posição da linha */
    }
    .expect-item--left .expect-icon,
    .expect-item--right .expect-icon {
        left: 20px; /* Alinha os ícones na linha (mesma posição da linha) */
        transform: translate(-50%, -50%);
    }
    .expect-item--left .expect-content {
        text-align: left; /* Alinha o texto à esquerda em mobile */
    }
}
/* =================================
   SEÇÃO SOLUÇÃO (COM INTERAÇÃO E REFINAMENTO)
   ================================= */

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.solution-card {
    position: relative; /* Necessário para a borda animada */
    background: var(--bg-light);
    border-radius: 20px;
    padding: 30px;
    cursor: pointer;
    overflow: hidden; /* Esconde o excesso da borda animada */
    border: 1px solid var(--bg-light);
    transition: transform 0.3s ease;
}

/* Efeito de Borda com Gradiente Animado */
.solution-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: conic-gradient(from 180deg at 50% 50%, var(--primary), var(--secondary), var(--accent), var(--primary));
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.solution-card:hover::before {
    opacity: 1;
}

/* Container para o conteúdo do cartão, fica acima da borda */
.solution-card .solution-header, .solution-card .solution-description {
    position: relative;
    z-index: 2;
    background-color: var(--bg-light); /* Cobre o gradiente, revelando apenas a borda */
}
.solution-card .solution-header {
    padding: 0 5px 0 5px; /* Ajuste para o conteúdo não colar na borda */
    margin: -1px; /* Truque para a borda aparecer corretamente */
    border-radius: 18px;
}

.solution-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.solution-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--bg-dark); /* Fundo mais escuro para destaque */
    flex-shrink: 0; /* Impede que o ícone encolha */
}

.solution-icon svg {
    width: 30px;
    height: 30px;
    color: var(--primary);
}

.solution-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
    flex-grow: 1; /* Faz o título ocupar o espaço restante */
    text-align: left;
}

.chevron-icon {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Regras antigas removidas - usando .is-open agora */

/* Regras antigas removidas - CSS reorganizado abaixo */

.solution-description p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
    padding: 15px 5px 0 5px; /* Espaçamento interno */
    margin: 0;
}

/* Estados do accordion - versão definitiva */
.solution-card .solution-description {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    pointer-events: none;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-card.is-open .solution-description {
    max-height: 200px;
    opacity: 1;
    margin-top: 20px;
    pointer-events: auto;
}

.solution-card .chevron-icon {
    transform: rotate(0deg);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-card.is-open .chevron-icon {
    transform: rotate(180deg);
}
/* =================================
   SEÇÃO FAQ (ACORDEÃO ELEGANTE)
   ================================= */

.faq-accordion {
    max-width: 900px;
    margin: 60px auto 0 auto;
    border-top: 1px solid var(--bg-light);
}

.faq-item {
    border-bottom: 1px solid var(--bg-light);
}

.faq-question {
    /* Reset de estilos de botão */
    background: none;
    border: none;
    text-align: left;
    width: 100%;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    cursor: pointer;
    
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    flex-shrink: 0;
    margin-left: 20px;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-gray);
}

/* Estilos quando o item está ativo (aberto) */
.faq-item.active .faq-question {
    color: var(--primary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Conteúdo da resposta */
.faq-answer {
    overflow: hidden;
    max-height: 0; /* Começa com altura 0, escondido */
    opacity: 0;
    transition: max-height 0.5s ease-out, opacity 0.4s ease-out, padding-bottom 0.5s ease-out;
}

.faq-answer p {
    font-family: 'Inter', sans-serif;
    color: var(--text-gray);
    line-height: 1.7;
    padding-bottom: 0;
}

/* Expande a resposta quando o item está ativo */
.faq-item.active .faq-answer {
    max-height: 200px; /* Altura suficiente para o texto */
    opacity: 1;
    padding-bottom: 30px; /* Adiciona espaçamento quando aberto */
}

/* =================================
   EFEITO DE FOCO E DESFOQUE (DIFERENCIAIS)
   ================================= */

/* A classe site-is-blurred agora controla apenas o desfoque dos itens individuais */
/* O overlay global foi removido para evitar desfoque de toda a seção */
/* =================================
   SEÇÃO APRESENTAÇÃO PESSOAL
   ================================= */

.presentation-container {
    display: grid;
        max-width: 1100px;   /* ou 900px, ajuste conforme desejar */
    grid-template-columns: 1fr 1.5fr; /* Coluna de texto um pouco maior */
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2; /* Garante que fique acima do degradê */
}

.presentation-photo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.personal-photo {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 18px;
    object-fit: cover;
    position: relative;
    z-index: 2;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    pointer-events: none;
}

/* Forma decorativa atrás da foto */
.photo-background-shape {
    position: absolute;
    width: 90%;
    height: 90%;
    background: var(--bg-light);
    border: 2px solid var(--primary);
    border-radius: 18px;
    transform: rotate(-8deg); /* Rotação para um toque de design */
    z-index: 1;
    transition: transform 0.4s ease;
}

.presentation-photo-wrapper:hover .photo-background-shape {
    transform: rotate(0deg);
}

.presentation-text-wrapper {
    position: relative;
    z-index: 2; /* Garante que o texto fique acima dos efeitos de fundo */
}

.presentation-text-wrapper .presentation-title {
    font-family: 'Inter', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.3;
    margin-bottom: 25px;
}

/* Efeito simples e elegante para palavras-chave do título */
.presentation-title .highlight-simple {
    color: var(--primary);
    font-weight: 700;
    position: relative;
}

.presentation-title .highlight-simple::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0.7;
}

.presentation-text-wrapper .presentation-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.presentation-text-wrapper .presentation-description strong {
    color: var(--primary);
    font-weight: 600;
}

.presentation-text-wrapper .cta-button {
    margin-top: 20px;
    position: relative;
    z-index: 3; /* Garante que o botão fique sempre visível */
    pointer-events: auto; /* Garante que o botão seja clicável */
}
#apresentacao {
    min-height: 100vh;   /* Ocupa pelo menos toda a altura da tela */
    width: 100vw;        /* Ocupa toda a largura da tela */
    max-width: none;     /* Remove limite de largura, se houver */
    padding: 0;          /* Remova o padding se quiser que fique colada nas bordas */
    margin: 0 auto;      /* Centraliza se necessário */
    display: flex;       /* Para centralizar conteúdo verticalmente */
    align-items: center; /* Centraliza verticalmente */
    justify-content: center; /* Centraliza horizontalmente */
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

#apresentacao .animated-grid-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    /* Exemplo de grid, ajuste conforme seu visual */
    background:
      repeating-linear-gradient(to right, rgba(245,197,24,0.08) 0 1px, transparent 1px 32px),
      repeating-linear-gradient(to bottom, rgba(245,197,24,0.08) 0 1px, transparent 1px 32px);
    transition: opacity 0.5s;
}
.hero__main, .hero__logo-container, .hero__cta-container {
    position: relative;
    z-index: 2;
}
/* Degradê para suavizar APENAS o final da seção Hero */
.hero--enhanced::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, var(--bg-dark) 20%, transparent);
    z-index: 3;
    pointer-events: none;
}
/* Degradê para suavizar o INÍCIO e o FINAL da seção Apresentação */
#apresentacao::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        /* Gradiente superior */
        linear-gradient(to bottom, var(--bg-dark) 10%, transparent 50%),
        /* Gradiente inferior - mais sutil para não cobrir o botão */
        linear-gradient(to top, var(--bg-dark) 5%, transparent 30%);
    background-size: 100% 200px, 100% 150px; /* Altura de cada área de degradê */
    background-position: top, bottom;
    background-repeat: no-repeat;
    z-index: 1; /* Reduzido de 3 para 1 para não cobrir o conteúdo */
    pointer-events: none;
}
/* ==========================================================
   AJUSTES RESPONSIVOS PARA A SEÇÃO APRESENTAÇÃO
   ========================================================== */

@media (max-width: 768px) {

    /* 1. Grid de fundo mais suave para mobile */
    #apresentacao .animated-grid-background {
        display: block !important;
        background:
            /* Grid principal mais sutil */
            repeating-linear-gradient(to right, rgba(245,197,24,0.08) 0 2px, transparent 2px 24px),
            repeating-linear-gradient(to bottom, rgba(245,197,24,0.08) 0 2px, transparent 2px 24px),
            /* Grid secundário para mais profundidade */
            repeating-linear-gradient(to right, rgba(245,197,24,0.03) 0 1px, transparent 1px 8px),
            repeating-linear-gradient(to bottom, rgba(245,197,24,0.03) 0 1px, transparent 1px 8px);
        animation: gridPulse 3s ease-in-out infinite alternate;
    }

    /* Animação mais sutil para a grid */
    @keyframes gridPulse {
        0% { opacity: 0.5; } /* Reduzido de 0.8 */
        100% { opacity: 0.7; } /* Reduzido de 1 */
    }

    /* 2. Brilho fixo amarelo mais suave para mobile */
    #apresentacao::before {
        content: '';
        position: absolute;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background: radial-gradient(circle, 
            rgba(245,197,24,0.15) 0%,
            rgba(245,197,24,0.08) 30%,
            rgba(245,197,24,0.04) 60%,
            transparent 80%);
        filter: blur(60px); /* Reduzido de 80px para melhor performance */
        transform: translate(-50%, -50%);
        left: 50%;
        top: 50%;
        opacity: 0.4;
        z-index: 1;
        pointer-events: none;
        animation: glowPulse 4s ease-in-out infinite alternate;
    }

    /* Animação do brilho mais suave */
    @keyframes glowPulse {
        0% { 
            opacity: 0.3; /* Reduzido de 0.6 */
            transform: translate(-50%, -50%) scale(1);
        }
        100% { 
            opacity: 0.5; /* Reduzido de 0.9 */
            transform: translate(-50%, -50%) scale(1.05); /* Reduzido de 1.1 */
        }
    }

    /* 3. Container com efeitos visuais melhorados */
    #apresentacao .presentation-container {
        padding-top: 100px;
        padding-bottom: 100px;
        position: relative;
        z-index: 2;
    }

    /* 4. Foto com efeitos mais suaves */
    #apresentacao .personal-photo {
        box-shadow: 
            0 15px 40px rgba(245,197,24,0.15), /* Reduzido de 0.3 */
            0 0 25px rgba(245,197,24,0.1), /* Reduzido de 0.2 */
            inset 0 0 15px rgba(245,197,24,0.05); /* Reduzido de 0.1 */
        border: 2px solid rgba(245,197,24,0.25); /* Reduzido de 0.4 */
        transition: all 0.4s ease;
    }

    #apresentacao .personal-photo:hover {
        transform: scale(1.03); /* Reduzido de 1.05 */
        box-shadow: 
            0 20px 50px rgba(245,197,24,0.2), /* Reduzido de 0.4 */
            0 0 35px rgba(245,197,24,0.15), /* Reduzido de 0.3 */
            inset 0 0 20px rgba(245,197,24,0.08); /* Reduzido de 0.15 */
    }

    /* 5. Forma decorativa mais suave */
    #apresentacao .photo-background-shape {
        background: linear-gradient(135deg, 
            rgba(245,197,24,0.1) 0%, /* Reduzido de 0.2 */
            rgba(245,197,24,0.05) 50%, /* Reduzido de 0.1 */
            rgba(245,197,24,0.02) 100%); /* Reduzido de 0.05 */
        border: 1px solid rgba(245,197,24,0.15); /* Reduzido de 0.3 */
        box-shadow: 0 8px 20px rgba(245,197,24,0.1); /* Reduzido de 0.2 */
    }

    /* 6. Título com efeito de brilho mais suave */
    #apresentacao .presentation-text-wrapper .presentation-title {
        font-size: 2.4rem;
        text-shadow: 0 0 15px rgba(245,197,24,0.15); /* Reduzido de 0.3 */
        position: relative;
    }

    #apresentacao .presentation-title .highlight-simple {
        background: linear-gradient(45deg, var(--primary), #ffd700, var(--primary));
        background-size: 200% 200%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: textShine 3s ease-in-out infinite alternate;
    }

    @keyframes textShine {
        0% { background-position: 0% 50%; }
        100% { background-position: 100% 50%; }
    }

    /* 7. Botão CTA mais chamativo */
    #apresentacao .presentation-text-wrapper .cta-button {
        margin-top: 40px;
        background: linear-gradient(45deg, var(--primary), #ffd700);
        box-shadow: 
            0 10px 30px rgba(245,197,24,0.4),
            0 0 20px rgba(245,197,24,0.3);
        border: 2px solid rgba(245,197,24,0.5);
        position: relative;
        overflow: hidden;
    }

    #apresentacao .cta-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
        transition: left 0.6s ease;
    }

    #apresentacao .cta-button:hover::before {
        left: 100%;
    }

    /* 8. Remove o degradê antigo que estava cortando o botão */
    #apresentacao::after {
        display: none;
    }
}
/* ==========================================================
   NAVBAR COMPLETA E PROFISSIONAL (V2)
   ========================================================== */

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    padding: 15px 0; /* Padding vertical */
    transition: background-color 0.4s ease, padding 0.4s ease;
}

/* Efeito de vidro que se torna mais opaco ao rolar */
#navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(18, 18, 18, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: -1;
    transition: background-color 0.4s ease;
}

#navbar.scrolled {
    padding: 10px 0;
}
#navbar.scrolled::before {
    background: rgba(13, 13, 13, 0.85);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px; /* Largura máxima para o conteúdo da navbar */
    margin: 0 auto;
    padding: 0 40px; /* Espaçamento lateral */
}

/* Coluna da Esquerda: Logo */
.nav-logo-link img {
    height: 45px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}
.nav-logo-link:hover img {
    transform: scale(1.05);
}

/* Coluna do Meio: Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    position: relative;
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 12px;
    border-radius: 8px; /* Borda arredondada para o efeito cápsula */
    transition: color 0.3s ease;
}

/* EFEITO HOVER "CÁPSULA" */
.nav-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-links a:hover {
    color: var(--text-light);
}
.nav-links a:hover::before {
    transform: scale(1);
    opacity: 1;
}

/* Coluna da Direita: Ações */
.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Seletor de Idioma */
.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: 20px;
}

.language-selector .lang-option {
    font-weight: 600;
    color: var(--text-gray);
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.language-selector .lang-option.is-active {
    background-color: var(--primary);
    color: var(--bg-dark);
    cursor: default;
}

.language-selector .lang-separator {
    color: var(--text-gray);
    font-size: 1.2rem;
    line-height: 1;
}

/* Botão de Contato (CTA) */
.nav-cta-button {
    background-color: var(--primary);
    color: var(--bg-dark) !important; /* Importante para sobrescrever a cor padrão */
    padding: 8px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.3s;
}

.nav-cta-button:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

/* ==========================================================
   BARRAS DE PROGRESSO DE SCROLL
   ========================================================== */

/* Barra de progresso desktop (dentro da navbar) */
.scroll-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.scroll-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    width: 0%;
    transition: width 0.1s ease-out;
}


/* --- LÓGICA DO MENU MOBILE --- */
.nav-toggle { display: none; /* ... estilos do botão hambúrguer ... */ }
@media (max-width: 992px) {
    .nav-center, .nav-right { display: none; }
    .nav-toggle { display: block; /* ... estilos do botão hambúrguer ... */ }
    
    /* Quando o menu mobile estiver aberto */
    .nav-links.is-open {
        position: fixed;
        inset: 0;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        /* Aqui você colocaria o código para o menu mobile abrir e fechar */
    }
    .nav-links.is-open .language-selector {
        margin-top: 20px;
    }
}
/* =================================
   SEÇÃO DIFERENCIAIS 
   ================================= */

#diferenciais .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px auto;
}

.dynamic-list-container {
    position: relative;
    display: grid;
    /* Coluna estreita para o indicador, coluna larga para o texto */
    grid-template-columns: 80px 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: auto;
}

.scroll-indicator-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

/* A linha vertical fixa */
.indicator-line {
    width: 2px;
    height: 100%;
    background-color: var(--bg-light);
}

/* O ponto amarelo que se move (60fps otimizado) */
.indicator-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 1; /* Posição inicial, será controlada pelo JS */
    width: 20px;
    height: 20px;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary);
    
    /* Otimizações para 60fps */
    will-change: top, transform; /* Otimiza as propriedades que serão animadas */
    transform: translateX(-50%) translateZ(0); /* Força aceleração de hardware */
    backface-visibility: hidden; /* Evita flickering */
    perspective: 1000px; /* Melhora performance 3D */
    
    /* Remove transição CSS para deixar o GSAP controlar */
    transition: none;
    
    /* Efeito de brilho suave */
    animation: pulse-glow 2s ease-in-out infinite alternate;
}

/* Animação de brilho suave para a bolinha */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 20px var(--primary);
        transform: translateX(-50%) translateZ(0) scale(1);
    }
    100% {
        box-shadow: 0 0 30px var(--primary), 0 0 40px rgba(245, 197, 24, 0.3);
        transform: translateX(-50%) translateZ(0) scale(1.05);
    }
}

.value-list {
    display: flex;
    flex-direction: column;
}

.value-item {
    display: flex;
    gap: 30px;
    min-height: 40vh;
    padding: 40px 0;
    opacity: 0.35;
    /* Adicionamos a transição para o zoom e o fundo */
    transition: opacity 0.4s ease, transform 0.5s ease, filter 0.4s ease;
    transform: scale(1); /* Estado inicial do zoom */
    position: relative; /* Para o z-index funcionar */
    filter: blur(0px); /* Estado inicial sem desfoque */
}

.value-item.is-active {
    opacity: 1;
    transform: scale(1.05); /* Aplica o zoom médio */
    z-index: 101; /* Fica ACIMA do overlay de desfoque */
    background: var(--bg-dark); /* Fundo para não vermos o conteúdo desfocado através dele */
    padding: 40px 20px; /* Ajuste de padding para o fundo */
    margin: 0 -20px; /* Compensa o padding para manter o alinhamento */
    border-radius: 12px;
    filter: blur(0px); /* Item ativo sempre focado */
}

/* Aplica desfoque apenas aos itens não ativos quando a seção está ativa */
body.site-is-blurred .value-item:not(.is-active) {
    filter: blur(3px);
    opacity: 0.3;
}

.value-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    justify-content: center;
    align-items: center;
}

.value-icon svg {
    width: 30px;
    height: 30px;
    color: var(--primary);
}

.value-text h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
}

.value-text p {
    font-family: 'Inter', sans-serif;
    color: var(--text-gray);
    line-height: 1.7;
    max-width: 600px;
}



/* Media Query para responsividade */
@media (max-width: 992px) {
    .presentation-container {
        grid-template-columns: 1fr; /* Colunas empilhadas */
        text-align: center;
    }
    .presentation-photo-wrapper {
        margin-bottom: 40px;
    }
    .presentation-text-wrapper .presentation-title {
        font-size: 2.2rem;
    }
}

/* ==========================================================
   VERSÃO MOBILE OTIMIZADA PARA A SEÇÃO DIFERENCIAIS
   ========================================================== */

@media (max-width: 768px) {

    /* 1. Indicador de scroll removido para melhorar aparência mobile */

    /* 2. Ajusta o grid para um layout sem indicador. */
    #diferenciais .dynamic-list-container {
        grid-template-columns: 1fr; /* Remove a coluna do indicador */
        gap: 0; /* Remove o gap desnecessário */
    }

    /* 3. Adapta os itens da lista para o novo layout. */
    #diferenciais .value-item {
        flex-direction: column;   /* Empilha o ícone e o texto. */
        align-items: flex-start;  /* Alinha tudo à esquerda. */
        gap: 20px;
        min-height: auto; /* Altura automática, pois o conteúdo pode variar. */
        padding: 20px 0 40px 0;
        opacity: 0.35; /* Mantém a opacidade reduzida como no desktop */
        transition: opacity 0.4s ease, transform 0.5s ease;
        transform: scale(1);
    }

    /* 4. Aplica o mesmo efeito de foco do desktop na versão mobile */
    #diferenciais .value-item.is-active {
        opacity: 1;
        transform: scale(1.05);
        z-index: 101;
        background: var(--bg-dark);
        padding: 20px 15px 40px 15px;
        margin: 0 -15px;
        border-radius: 12px;
        filter: none; /* Remove qualquer desfoque do item ativo */
    }

    /* 5. Remove qualquer desfoque na versão mobile */
    #diferenciais .value-item:not(.is-active) {
        filter: blur(0px);
        opacity: 0.35;
    }

    /* 6. Garante que no mobile não haja desfoque mesmo com a classe site-is-blurred */
    body.site-is-blurred #diferenciais .value-item:not(.is-active) {
        filter: blur(0px);
        opacity: 0.35;
    }

    /* 5. Ajusta o tamanho da fonte do título para melhor leitura. */
    #diferenciais .value-text h3 {
        font-size: 1.6rem;
    }
}

/* =========================================
   SEÇÃO  - PROCESSO "PASSOS": CAVALETE DIGITAL
   ========================================= */

/* Damos um espaço extra para a rolagem da animação acontecer */
.section--easel-process {
    padding: 0;
    position: relative;
}
/* ==========================================================
   SOLUÇÃO PRECISA DE ESPAÇAMENTO PARA A SEÇÃO PROCESSO
   ========================================================== */

/* 1. Reduzimos o espaçamento superior da seção inteira. */
.section--process-swiper {
    padding-top: 80px; /* Menos espaço no topo da seção inteira. */
    padding-bottom: 80px;
    max-width: 100%;
    background-color: #121212;
    transition: background-color 0.6s ease; /* Transição suave para mudança de cor */
}

/* ==========================================================
   CORES DA SEÇÃO PROCESSO - MUDANÇA DINÂMICA
   ========================================================== */

/* Cor da seção para todos os Steps - Preto uniforme */
.process-section--step1 {
    background: linear-gradient(135deg, #000000 0%, #000000 50%, #000000 100%);
}

.process-section--step2 {
    background: linear-gradient(135deg, #000000 0%, #000000 50%, #000000 100%);
}

.process-section--step3 {
    background: linear-gradient(135deg, #000000 0%, #000000 50%, #000000 100%);
}

/* 2. Forçamos a remoção completa da margem abaixo do título. */
.section--process-swiper .section-title {
    margin-bottom: 0 !important; /* O !important garante que esta regra vença qualquer outra. */
    padding-left: 20px;
    padding-right: 20px;
}

/* 3. Adicionamos uma margem no topo do carrossel para criar o espaço exato. */
.process-swiper-container {
    margin-top: 40px; /* É ESTA PROPRIEDADE QUE AGORA CONTROLA O ESPAÇO. */
    height: auto;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* O restante das regras (para .process-panel, etc.) pode continuar como estava. */
.process-swiper-container .process-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    padding: 60px 30px;
    min-height: 420px;
    border-radius: 20px;
}
.process-swiper-container .panel--step1 { 
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}
.process-swiper-container .panel--step2 { 
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}
.process-swiper-container .panel--step3 { 
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}
.process-swiper-container .swiper-button-next,
.process-swiper-container .swiper-button-prev {
    color: var(--primary);
}
.process-swiper-container .swiper-pagination-bullet-active {
    background: var(--primary);
}

/* Estilização dos números dos painéis */
.panel-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(245, 197, 24, 0.5);
    transition: all 0.3s ease;
}

/* Efeito hover nos painéis */
.process-panel:hover .panel-number {
    transform: scale(1.1);
    text-shadow: 0 0 30px rgba(245, 197, 24, 0.8);
}

/* Estilização do conteúdo dos painéis */
.panel-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
}

.panel-content p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.6;
    max-width: 400px;
}

/* Step 2 agora usa as cores padrão (preto elegante) */
/* =================================
   AJUSTE DE LAYOUT FULL-WIDTH PARA A SEÇÃO PROCESSO
   ================================= */

/* Usamos o ID #processo para garantir que esta regra seja 
  específica o suficiente para sobrescrever a classe .section 
*/
#processo.section--easel-process {
    max-width: none; /* Remove o limite de largura */
    padding-left: 0; /* Remove o espaçamento lateral esquerdo */
    padding-right: 0; /* Remove o espaçamento lateral direito */
}
/* =================================
   SEÇÃO DEPOIMENTOS (feedback)
   ================================= */

#depoimentos .section-header {
    text-align: center;
    max-width: 100px;
    margin: 0 auto 50px auto;
}

.testimonials-horizontal-wrapper {
    padding: 50px 0;
}
.testimonials-horizontal-wrapper::-webkit-scrollbar { height: 6px; }
.testimonials-horizontal-wrapper::-webkit-scrollbar-track { background: var(--bg-light); border-radius: 3px; }
.testimonials-horizontal-wrapper::-webkit-scrollbar-thumb { background-color: var(--primary); border-radius: 3px; }


.testimonials-track {
    display: flex;
    justify-content: center; /* Alinha os cards no centro */
    gap: 40px; /* Cria um espaçamento consistente entre os cards */

    /* Remova o padding lateral antigo, pois o 'gap' e 'justify-content' cuidam do alinhamento */
    padding: 20px 0;
}

.testimonial-glass-card {
    width: 360px; 
    position: relative;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: transform 0.3s ease;
    display: flex; 
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex; 
}
.testimonial-glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4); /* Sombra mais forte */
    border-color: var(--primary); /* Borda destacada com a cor primária */
}

/* Efeito de iluminação dinâmica */
.testimonial-glass-card::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary), transparent 70%);
    opacity: 0;
    filter: blur(50px);
    transform: translate(-50%, -50%);
    left: var(--mouse-x, 50%); /* Posição controlada pelo JS */
    top: var(--mouse-y, 50%);
    transition: opacity 0.4s ease;
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 70px 30px 30px 30px; /* Aumentamos o padding superior */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.testimonial-quote {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    flex-grow: 1; /* Empurra o autor para o final */
}

.testimonial-author {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--text-gray);
    margin-top: 20px;
}
.testimonial-author span {
    display: block;
    font-weight: 400;
    color: var(--primary);
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Card especial "Veja Mais" */
.see-more-card .card-content {
    justify-content: center;
}
/* CENTRALIZAÇÃO DAS FOTOS DE FEEDBACK - DESKTOP */
.client-photo {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 3 !important;
    
    width: 90px !important;
    height: 90px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 4px solid var(--primary) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4) !important;
}

/* REGRA ADICIONAL COM MÁXIMA ESPECIFICIDADE PARA DESKTOP */
.testimonial-glass-card .card-content .client-photo {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 3 !important;
}

/* CENTRALIZAÇÃO DAS FOTOS DE FEEDBACK - MOBILE */
@media (max-width: 768px) {
    .client-photo {
        position: absolute !important;
        top: 0 !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 3 !important;
        
        width: 90px !important;
        height: 90px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        border: 4px solid var(--primary) !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4) !important;
    }
    
    /* REGRA ADICIONAL COM MÁXIMA ESPECIFICIDADE PARA MOBILE */
    .testimonial-glass-card .card-content .client-photo {
        position: absolute !important;
        top: 0 !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 3 !important;
    }
    
    /* Garante que o card-content esteja centralizado */
    .testimonial-glass-card .card-content {
        align-items: center !important;
        text-align: center !important;
        justify-content: flex-start !important;
        position: relative !important;
    }
    
    /* Garante que o swiper-slide esteja centralizado */
    .testimonials-swiper-container .swiper-slide {
        display: flex !important;
        justify-content: center !important;
        align-items: flex-start !important;
    }
    
    /* Garante que o testimonial-glass-card esteja centralizado */
    .testimonial-glass-card {
        margin: 0 auto !important;
        display: flex !important;
        justify-content: center !important;
        position: relative !important;
    }
}
.testimonial-glass-card {
    transition:
        transform 0.13s cubic-bezier(.4,0,.2,1),
        box-shadow 0.13s cubic-bezier(.4,0,.2,1),
        border-color 0.13s;
    will-change: transform, box-shadow, border-color;
}
.testimonial-glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    border-color: var(--primary);
}
.testimonial-glass-card::before {
    transition: opacity 0.09s, filter 0.09s;
}
#depoimentos {
    position: relative;
    overflow: hidden;
}
/* ==========================================================
   ESTILOS PARA OS BOTÕES DE NAVEGAÇÃO DO CARROSSEL FEEDBACKS
   ========================================================== */

.testimonials-swiper-container .swiper-button-next,
.testimonials-swiper-container .swiper-button-prev {
    /* Cor da seta, usando a variável primária do site */
    color: var(--primary);
    
    /* Posicionamento */
    top: 50%; /* Centraliza verticalmente */
    transform: translateY(-50%);

    /* Estilo do botão (círculo) */
    background-color: rgba(26, 26, 26, 0.5); /* Fundo semi-transparente */
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    /* Transição suave para o efeito hover */
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Efeito ao passar o mouse */
.testimonials-swiper-container .swiper-button-next:hover,
.testimonials-swiper-container .swiper-button-prev:hover {
    background-color: var(--primary);
    color: var(--bg-dark);
}

/* Ajusta o tamanho da seta dentro do botão */
.testimonials-swiper-container .swiper-button-next::after,
.testimonials-swiper-container .swiper-button-prev::after {
    font-size: 20px;
    font-weight: 900;
}
/* =================================
   SEÇÃO CONTATO (MÚLTIPLAS OPÇÕES)
   ================================= */
#contato .section-header {
    margin-bottom: 60px;
}

.contact-options-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-card {
    background: var(--bg-light);
    border: 1px solid #2a2a2a;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    border-color: var(--primary);
}

.contact-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--bg-dark);
    margin: 0 auto 30px auto;
}

.contact-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.contact-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
}

.contact-card p {
    font-family: 'Inter', sans-serif;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 30px;
    flex-grow: 1; /* Empurra o botão para o final do card */
}

.contact-button {
    display: block;
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Estilo do botão padrão (Calendly) */
.contact-button {
    background-color: var(--primary);
    color: var(--bg-dark);
}
.contact-button:hover {
    background-color: var(--primary);
}

/* Estilo do botão secundário (WhatsApp) */
.contact-button.whatsapp {
    background-color: var(--primary);
    color: --primary(--text-light);
    border: 2px solid var(--bg-light);
}
.contact-button.whatsapp:hover {
    background-color: var(--primary);
}

/* Responsividade */
@media(max-width: 992px) {
    .contact-options-container {
        grid-template-columns: 1fr;
    }
}

/* Garante que o botão primário se destaque sobre o fundo já primário no hover */
.contact-card--schedule:hover .contact-button {
    background-color: var(--accent);
}
/* =================================
   SEÇÃO RODAPÉ PREMIUM - DESIGN ATUALIZADO
   ================================= */
.footer-premium {
    padding: 1px 40px 10px 40px; /* <- O problema está aqui */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
/* Efeito de escala para a logo do rodapé ao passar o mouse */
.footer-logo-link:hover .footer-logo-img {
    transform: scale(1.05);
}
.footer-container {
    max-width: 1500px;
    margin: 0 auto;
}

/* O Container da Grade */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

/* A Regra Única para Alinhamento de TODAS as Colunas */
.footer-column {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centraliza o conteúdo interno na vertical */
}

.footer-column .footer-logo-img {
    max-width: 150px;
    margin-bottom: 20px;
    transition: transform 0.3s ease; /* <-- ADICIONE ESTA LINHA */
}

/* Diminui o tamanho da logo do footer na versão mobile */
@media (max-width: 768px) {
    .footer-column .footer-logo-img {
        max-width: 80px;
        margin-bottom: 15px;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    
    /* Centraliza e organiza o footer para mobile */
    .footer-premium {
        padding: 20px 20px 10px 20px;
        text-align: center;
    }
    
    .footer-container {
        max-width: 100%;
        margin: 0 auto;
    }
    
    /* Organiza as colunas uma abaixo da outra */
    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
        margin-bottom: 40px;
        align-items: center;
    }
    
    /* Centraliza cada coluna */
    .footer-column {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        justify-content: center;
        width: 100%;
        max-width: 300px;
    }
    
    /* Centraliza os títulos */
    .footer-heading {
        text-align: center;
        margin-bottom: 20px;
    }
    
    /* Centraliza a linha decorativa dos títulos */
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Centraliza as listas de links */
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .footer-links li {
        margin-bottom: 0;
    }
    
    /* Centraliza o email e redes sociais */
    .footer-email {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .footer-socials {
        justify-content: center;
        margin-top: 10px;
    }
    
    /* Centraliza a barra legal */
    .footer-legal-bar {
        text-align: center;
        padding-top: 20px;
    }
}
.footer-tagline {
    font-family: 'Inter', sans-serif;
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-heading {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

/* Linha decorativa sutil abaixo dos títulos */
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

/* Efeito suave no hover */
.footer-links a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.footer-email {
    display: inline-block;
    color: var(--text-gray);
    text-decoration: none;
    margin-bottom: 25px;
    transition: color 0.3s ease;
}
.footer-email:hover {
    color: var(--primary);
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-light);
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background-color: var(--primary);
    color: var(--bg-dark);
    transform: translateY(-4px);
}

.footer-socials svg {
    width: 20px;
    height: 20px;
}

.footer-legal-bar {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--text-gray);
}
/* =================================
   ESTILOS PÁGINA POLÍTICA DE PRIVACIDADE
   ================================= */

.privacy-policy-content {
  max-width: 800px; /* Largura ideal para leitura */
  padding-top: 140px; /* Espaço para a navbar fixa */
  padding-bottom: 120px;
}

.privacy-policy-content h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-top: 40px;
  margin-bottom: 20px;
  border-left: 3px solid var(--primary);
  padding-left: 15px;
}

.privacy-policy-content p, 
.privacy-policy-content li {
  font-family: 'Inter', sans-serif;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 15px;
}

.privacy-policy-content ul {
  list-style-position: inside;
  padding-left: 20px;
}

.privacy-policy-content a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.privacy-policy-content a:hover {
  text-decoration: underline;
}

.quick-summary-box {
  background: var(--bg-light);
  border-left: 4px solid var(--primary);
  padding: 25px 30px;
  margin: 40px 0;
  border-radius: 8px;
}

.quick-summary-box h3 {
  border-left: none;
  padding-left: 0;
  margin-top: 0;
  color: var(--text-light);
}

.quick-summary-box p {
  margin-bottom: 20px;
}
/* Estilos para os ícones nos títulos */
.privacy-policy-content h3 i {
 margin-right: 10px;
 color: var(--accent); /* Uma cor secundária para os ícones */
}

/* Efeito de hover sutil nos títulos */
.privacy-policy-content h3 {
 cursor: default; /* Resetamos o cursor para o padrão */
 transition: opacity 0.3s ease;
}

.privacy-policy-content h3:hover {
 opacity: 0.9;
}
/* =================================
   PÁGINA IMPRESSUM (NOVO DESIGN DE CARDS)
   ================================= */

.impressum-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 2 ou 3 colunas em desktop, 1 em mobile */
    gap: 30px; /* Espaçamento entre os cartões */
    margin-top: 50px;
}

.impressum-card {
    background: var(--bg-light); /* Fundo mais claro que o dark padrão */
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08); /* Borda sutil */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); /* Sombra para profundidade */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transição no hover */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Alinha o conteúdo à esquerda */
}

.impressum-card:hover {
    transform: translateY(-8px); /* Efeito de elevação sutil no hover */
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary); /* Fundo do ícone com cor primária */
    margin-bottom: 20px;
    flex-shrink: 0; /* Impede que o ícone encolha */
}

.card-icon i {
    color: var(--bg-dark); /* Cor do ícone (escura, contrastando com o primário) */
    width: 24px;
    height: 24px;
}

.impressum-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-light); /* Cor do título (clara) */
    margin-top: 0;
    margin-bottom: 15px;
    border-left: none; /* Remove a borda original, se houver */
    padding-left: 0;
}

.impressum-card p {
    font-family: 'Inter', sans-serif;
    color: var(--text-gray); /* Cor do texto (cinza) */
    line-height: 1.7;
    margin-bottom: 10px;
}

.impressum-card p strong {
    color: var(--primary); /* Destaca negritos com a cor primária */
}

.impressum-card a {
    color: var(--secondary); /* Cor dos links (secundária) */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.impressum-card a:hover {
    color: var(--accent); /* Cor do link no hover (accent) */
    text-decoration: underline;
}

/* Responsividade para o container de cards */
@media (max-width: 768px) {
    .impressum-cards-container {
        grid-template-columns: 1fr; /* Uma coluna em telas menores */
    }
    .impressum-card {
        padding: 25px;
    }
    .card-icon {
        margin-left: 0; /* Alinha o ícone à esquerda em mobile */
    }
    .impressum-card h3 {
        font-size: 1.4rem;
    }
}

/* =================================
   PÁGINA DE AGRADECIMENTO (CALENDARIO)
   ================================= */

.thank-you-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px;
  text-align: center;
}

.thank-you-card {
  max-width: 600px;
  background: var(--bg-light);
  padding: 50px;
  border-radius: 20px;
  border: 1px solid #2a2a2a;
}

.thank-you-icon {
  color: var(--primary);
  margin-bottom: 30px;
}

.thank-you-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 20px;
}

.thank-you-text {
  font-family: 'Inter', sans-serif;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 15px;
}

.thank-you-card .cta-button {
  margin-top: 30px;
}
/* CURSOR MINIMALISTA E BONITO */
#cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999 !important;
    width: 36px;
    height: 36px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    background: rgba(245,197,24,0.07); /* leve brilho amarelo */
    box-shadow: 0 0 16px 2px rgba(245,197,24,0.12);
    transition:
        width 0.25s cubic-bezier(.4,0,.2,1),
        height 0.25s cubic-bezier(.4,0,.2,1),
        border 0.25s cubic-bezier(.4,0,.2,1),
        background 0.25s cubic-bezier(.4,0,.2,1),
        box-shadow 0.25s cubic-bezier(.4,0,.2,1),
        opacity 0.2s;
    opacity: 0.85;
    mix-blend-mode: lighten;
    /* Remove o preenchimento sólido */
}

/* Estado de hover: anel maior e mais brilhante */
#cursor-outline.is-hover {
    width: 54px;
    height: 54px;
    border-width: 2.5px;
    background: rgba(245,197,24,0.18);
    box-shadow: 0 0 32px 6px rgba(245,197,24,0.22);
    opacity: 1;
}

/* Opcional: efeito de clique */
#cursor-outline.is-click {
    transform: scale(0.85);
    opacity: 0.7;
    transition: transform 0.1s, opacity 0.1s;
}
/* Cursor customizado removido para melhor compatibilidade */
/* ==========================================================
   EFEITO DE ILUMINAÇÃO REATIVA PARA A SEÇÃO APRESENTAÇÃO
   ========================================================== */

/* 1. Prepara a seção para conter o efeito de brilho */
#apresentacao {
    position: relative; /* Essencial para posicionar o brilho dentro dela */
    overflow: hidden;   /* Impede que o brilho vaze para outras seções */
}

/* 2. Cria o pseudo-elemento que será o nosso brilho */
#apresentacao::before {
    content: '';
    position: absolute;
    width: 300px;  /* Tamanho do brilho */
    height: 300px;
    border-radius: 50%;
    
    /* O gradiente que forma a luz (usando a cor primária) */
    background: radial-gradient(circle, var(--primary), transparent 70%);
    
    opacity: 0; /* Começa invisível */
    filter: blur(80px); /* Aumentamos o desfoque para um efeito mais suave */
    
    /* Centraliza o brilho na posição do mouse (controlada pelo JS) */
    transform: translate(-50%, -50%);
    left: var(--mouse-x, 50%);
    top: var(--mouse-y, 50%);
    
    transition: opacity 0.5s ease; /* Transição suave de fade-in/out */
    z-index: 1; /* Garante que fique acima do fundo, mas abaixo do conteúdo */
    pointer-events: none; /* Não interfere com cliques */
}

/* 3. Ativa o brilho quando o mouse passa por cima da seção */
#apresentacao:hover::before {
    opacity: 0.1; /* Opacidade sutil para o efeito */
}
/* ==========================================================
   EFEITO DE ILUMINAÇÃO "HOLOFOTE" REUTILIZÁVEL
   ========================================================== */

/* 1. Prepara qualquer seção com esta classe para ser um "palco" */
.interactive-glow-section {
    position: relative;
    overflow: hidden; /* Impede que o brilho vaze */
}

/* 2. Estilo do nosso "holofote" */
.section-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary), transparent 65%);
    border-radius: 50%;
    filter: blur(100px);
    
    /* Posição será controlada pelo JS */
    left: 0;
    top: 0;
    
    /* Começa invisível e será ativado pelo JS */
    opacity: 0;
    visibility: hidden;
    
    z-index: 1; /* Fica acima do fundo, mas abaixo do conteúdo */
    pointer-events: none; /* Não interfere com cliques */
}

/* 3. Garante que o conteúdo da seção fique acima do brilho */
.interactive-glow-section > *:not(.section-glow) {
    position: relative;
    z-index: 2;
}
/* Cursor padrão restaurado */

/* =================================
   HERO - EFEITO DE HOLOFOTE (GLOW)
   ================================= */

.hero--enhanced {
    position: relative; /* Essencial para posicionar o brilho */
    overflow: hidden;   /* Impede que o brilho vaze */
}

.hero--enhanced::before {
    content: '';
    position: absolute;
    width: 600px;  /* Tamanho grande para um efeito impactante na hero */
    height: 600px;
    border-radius: 50%;
    
    /* O gradiente que forma a luz */
    background: radial-gradient(circle, var(--primary), transparent 65%);
    
    opacity: 0; /* Começa invisível */
    filter: blur(100px); /* Desfoque intenso para suavidade */
    
    /* Centraliza o brilho na posição do mouse (controlada pelo JS) */
    transform: translate(-50%, -50%);
    left: var(--mouse-x, 50%);
    top: var(--mouse-y, 50%);
    
    transition: opacity 0.5s ease; /* Transição suave */
    z-index: 1; /* Fica acima da grid de fundo, mas abaixo do texto */
    pointer-events: none; /* Não interfere com cliques */
}

/* Ativa o brilho quando o mouse passa por cima da seção */
.hero--enhanced:hover::before {
    opacity: 0.08; /* Opacidade bem sutil para um efeito elegante */
}

/* Garante que o conteúdo da hero fique acima do brilho */
.hero__main, .hero__logo-container, .hero__cta-container {
    position: relative;
    z-index: 2;
}
/* AJUSTES GLOBAIS DE RESPONSIVIDADE E TIPOGRAFIA */
@media (max-width: 768px) {
  .section {
    /* Reduz o padding de 120px para 80px em celulares */
    padding-top: 80px;
    padding-bottom: 80px;
  }

  /* Otimizações de tipografia para mobile */
  .section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
    line-height: 1.2 !important;
    margin-bottom: 40px !important;
  }

  .section-description {
    font-size: clamp(1rem, 3vw, 1.1rem) !important;
    line-height: 1.6 !important;
    margin-bottom: 40px !important;
  }

  /* Melhora legibilidade dos textos em cards */
  .solution-card h3,
  .expect-content h3,
  .value-text h3 {
    font-size: clamp(1.2rem, 4vw, 1.5rem) !important;
    line-height: 1.3 !important;
  }

  .solution-description p,
  .expect-content p,
  .value-text p {
    font-size: clamp(0.95rem, 3vw, 1rem) !important;
    line-height: 1.6 !important;
  }

  /* Otimizações para FAQ */
  .faq-question {
    font-size: clamp(1rem, 3vw, 1.2rem) !important;
    line-height: 1.4 !important;
    padding: 20px 0 !important;
  }

  .faq-answer p {
    font-size: clamp(0.9rem, 3vw, 1rem) !important;
    line-height: 1.6 !important;
  }

  /* Melhora botões para touch */
  .cta-button {
    font-size: clamp(0.95rem, 3vw, 1rem) !important;
    padding: 12px 24px !important;
    min-height: 44px !important;
    touch-action: manipulation !important;
  }

  /* Otimizações para depoimentos */
  .testimonial-quote {
    font-size: clamp(1rem, 3vw, 1.1rem) !important;
    line-height: 1.6 !important;
  }

  .testimonial-author {
    font-size: clamp(0.9rem, 3vw, 1rem) !important;
  }

  /* Melhora contatos */
  .contact-card h3 {
    font-size: clamp(1.3rem, 4vw, 1.8rem) !important;
  }

  .contact-card p {
    font-size: clamp(0.95rem, 3vw, 1rem) !important;
    line-height: 1.6 !important;
  }

  .contact-button {
    font-size: clamp(1rem, 3vw, 1.1rem) !important;
    padding: 14px 20px !important;
  }
}
/* --- LÓGICA DO MENU MOBILE (COMPLEMENTO) --- */
@media (max-width: 992px) {
    .nav-center, .nav-right { display: none; }
    .nav-toggle { 
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 30px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 2001;
    }
    
    .nav-toggle span {
        width: 100%;
        height: 3px;
        background: var(--text-light);
        border-radius: 2px;
        transition: all 0.3s ease;
        transform-origin: center;
    }
    
    .nav-toggle.is-open span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .nav-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.is-open span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .nav-links {
        position: fixed;
        inset: 0;
        background: rgba(13, 13, 13, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        
        /* Começa escondido, fora da tela */
        transform: translateY(-100%);
        transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
        z-index: 2000;
    }
    
    .nav-links.is-open {
        transform: translateY(0); /* Traz o menu para a tela */
    }
    
    .nav-links a {
        font-size: 1.5rem;
        font-weight: 600;
        padding: 15px 25px;
        border-radius: 12px;
        transition: all 0.3s ease;
    }
    
    .nav-links a:hover {
        background: rgba(245, 197, 24, 0.1);
        transform: scale(1.05);
    }
    
    .nav-links.is-open .language-selector {
        margin-top: 30px;
        order: 2;
        background: rgba(255, 255, 255, 0.1);
        padding: 10px 20px;
        border-radius: 25px;
    }
    
    .nav-links.is-open .nav-cta-button {
        order: 1;
        font-size: 1.3rem;
        padding: 15px 30px;
        margin-top: 20px;
    }
}
/* AJUSTES RESPONSIVOS PARA A SEÇÃO DIFERENCIAIS */
@media (max-width: 768px) {
    /* Esconde o indicador de scroll em telas pequenas */
    .scroll-indicator-wrapper {
        display: none;
    }

    .dynamic-list-container {
        /* Muda o grid para ter apenas uma coluna de conteúdo */
        grid-template-columns: 1fr;
        gap: 0; /* Remove o gap desnecessário */
    }

    .value-item {
        /* Garante que todos os itens fiquem sempre visíveis */
        opacity: 1;
        transform: none;
        padding-bottom: 40px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        min-height: auto;
    }

    /* Remove o fundo e zoom do item "ativo", pois todos estarão ativos */
    .value-item.is-active {
        transform: none;
        background: none;
        padding: 40px 0;
        margin: 0;
    }

    /* Ajusta o tamanho da fonte do título para melhor leitura */
    .value-text h3 {
        font-size: 1.6rem;
    }
}
/* Esconde o cursor customizado em dispositivos touch ou telas menores */
@media (pointer: coarse), (max-width: 1024px) {
  #cursor-outline {
    display: none;
  }
}
/* Redesenho da Navbar Mobile */
@media (max-width: 992px) {
  /* Esconde o menu de links e o botão de contato */
  .nav-center,
  .nav-right .nav-cta-button {
    display: none;
  }
  /* Esconde o botão hambúrguer, pois não será usado nesta versão */
  .nav-toggle {
    display: none;
  }
  /* Garante que o seletor de idioma permaneça visível */
  .nav-right {
    display: flex;
  }
}
/* Correção do Botão na Seção Apresentação */
@media (max-width: 768px) {
  #apresentacao .presentation-container {
    padding: 0 20px; /* Adiciona um padding de segurança */
  }
  #apresentacao .presentation-text-wrapper .cta-button {
    padding: 14px 28px; /* Reduz um pouco o padding do botão */
    font-size: 1rem;    /* Garante que a fonte não seja muito grande */
    width: auto;        /* Permite que o botão se ajuste ao texto */
    max-width: 100%;
  }
}
/* Correção do Desfoque e Responsividade da Timeline 'Diferenciais' */
.value-item.is-active {
    z-index: 101; /* Garante que o item ativo fique NA FRENTE do overlay de desfoque (z-index: 100) */
}
/* ESTILOS PARA O CARROSSEL DE FEEDBACKS (SWIPER) */

.testimonials-swiper-container {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 380px; /* Largura base do slide */
    display: flex;
    justify-content: center;
}

.swiper-pagination-bullet {
    background-color: var(--text-gray);
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary);
    opacity: 1;
}

/* Esconde todos os bullets do Swiper na versão mobile */
@media (max-width: 768px) {
    .swiper-pagination-bullet {
        display: none !important;
    }
    
    .swiper-pagination-bullet-active {
        display: none !important;
    }
    
    .swiper-pagination {
        display: none !important;
    }
    
    /* Esconde qualquer elemento de paginação que possa estar aparecendo */
    [class*="pagination"] {
        display: none !important;
    }
    
    /* Esconde qualquer bullet ou indicador */
    [class*="bullet"] {
        display: none !important;
    }
    
    /* Esconde qualquer indicador de slide (exceto o da seção diferenciais) */
    .swiper [class*="indicator"],
    .carousel [class*="indicator"] {
        display: none !important;
    }
    
    /* Esconde especificamente elementos do carrossel do portfólio */
    .portfolio-carousel-container [class*="pagination"],
    .portfolio-carousel-container [class*="bullet"],
    .portfolio-carousel-container [class*="indicator"],
    .custom-carousel [class*="pagination"],
    .custom-carousel [class*="bullet"],
    .custom-carousel [class*="indicator"] {
        display: none !important;
    }
    
    /* Mantém a paginação visível apenas na seção processo para desktop */
    .process-swiper-container .swiper-pagination {
        display: block !important;
    }
    
    .process-swiper-container .swiper-pagination-bullet {
        display: inline-block !important;
    }
    
    .process-swiper-container .swiper-pagination-bullet-active {
        display: inline-block !important;
    }
}

/* REGRA FINAL DE CENTRALIZAÇÃO DAS FOTOS - MÁXIMA PRIORIDADE */
#FeedBacks .testimonial-glass-card .card-content .client-photo,
#FeedBacks .swiper-slide .testimonial-glass-card .card-content .client-photo {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 3 !important;
}

/* CORREÇÃO ADICIONAL - FORÇA CENTRALIZAÇÃO ABSOLUTA */
#FeedBacks .testimonial-glass-card .client-photo {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 3 !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 768px) {
    #FeedBacks .testimonial-glass-card .card-content .client-photo,
    #FeedBacks .swiper-slide .testimonial-glass-card .card-content .client-photo {
        position: absolute !important;
        top: 0 !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 3 !important;
    }
    
    /* CORREÇÃO ADICIONAL MOBILE - FORÇA CENTRALIZAÇÃO ABSOLUTA */
    #FeedBacks .testimonial-glass-card .client-photo {
        position: absolute !important;
        top: 0 !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 3 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* CORREÇÃO DEFINITIVA - CENTRALIZAÇÃO PERFEITA */
#FeedBacks .testimonial-glass-card .client-photo,
#FeedBacks .swiper-slide .testimonial-glass-card .client-photo {
    position: absolute !important;
    top: -45px !important; /* Metade da altura da foto (90px/2) */
    left: calc(50% - 0px) !important; /* Centralização perfeita */
    transform: translateX(-50%) !important; /* Ajuste fino para centro exato */
    z-index: 3 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 90px !important;
    height: 90px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 4px solid var(--primary) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4) !important;
}

@media (max-width: 768px) {
    #FeedBacks .testimonial-glass-card .client-photo,
    #FeedBacks .swiper-slide .testimonial-glass-card .client-photo {
        position: absolute !important;
        top: -45px !important; /* Metade da altura da foto (90px/2) */
        left: calc(50% - 0px) !important; /* Centralização perfeita */
        transform: translateX(-50%) !important; /* Ajuste fino para centro exato */
        z-index: 3 !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 90px !important;
        height: 90px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        border: 4px solid var(--primary) !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4) !important;
    }
}

/* ==========================================================
   INDICADORES DE CARREGAMENTO DE VÍDEO
   ========================================================== */

.video-loading-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.loading-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(245, 197, 24, 0.3);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.video-loading-indicator span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
}

.video-error-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 0, 0, 0.8);
    color: white;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.video-error-indicator .error-icon {
    font-size: 24px;
}

.video-error-indicator span {
    font-size: 12px;
    font-weight: 500;
}

/* Otimizações para dispositivos de baixo desempenho */
.low-quality-mode .video-loading-indicator,
.low-quality-mode .video-error-indicator {
    backdrop-filter: none;
    background: rgba(0, 0, 0, 0.9);
}

/* =================================
   MEDIA QUERIES CONSOLIDADAS
   ================================= */

/* Tablet e Mobile */
@media (max-width: 768px) {
    /* Hero Section */
    .hero--enhanced {
        padding: 120px 20px 60px;
        min-height: 100vh;
    }
    
    .hero__title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        line-height: 1.2;
        margin-bottom: 20px;
    }
    
    .hero__subtitle {
        font-size: clamp(1rem, 4vw, 1.1rem);
        max-width: 100%;
        margin: 15px auto 0;
    }
    
    .hero__cta-container {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        margin-top: 30px;
    }
    
    .cta-arrow-link {
        font-size: 1rem;
        padding: 12px 20px;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .arrow-icon-container {
        width: 40px;
        height: 40px;
    }
    
    .arrow-svg {
        width: 18px;
        height: 18px;
    }
    
    .hero__logo {
        max-width: clamp(120px, 25vw, 150px);
        margin-bottom: 20px;
    }
    
    .hero__main {
        max-width: 100%;
        margin-bottom: 40px;
    }

    /* Portfolio Carousel */
    .portfolio-carousel-container {
        padding: 0 15px;
        max-width: 100%;
    }

    .custom-carousel {
        height: clamp(400px, 70vh, 500px);
        overflow: hidden;
        position: relative;
        border-radius: 20px;
    }

    .carousel-track {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        position: relative;
        width: 100%;
    }

    .carousel-slide {
        position: absolute;
        width: clamp(250px, 85vw, 300px);
        height: clamp(350px, 62vh, 450px);
        border-radius: 16px;
        overflow: hidden;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        cursor: pointer;
        opacity: 0;
        transform: scale(0.85);
        z-index: 1;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%) scale(0.85);
        box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    }

    .carousel-slide.slide-primary {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        z-index: 10;
        box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    }

    .carousel-slide.slide-secondary,
    .carousel-slide.slide-left-2,
    .carousel-slide.slide-left-1,
    .carousel-slide.slide-right-1,
    .carousel-slide.slide-right-2,
    .carousel-slide.slide-hidden {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.85);
        z-index: 1;
        pointer-events: none;
    }

    .carousel-slide:active {
        transform: translate(-50%, -50%) scale(0.98);
    }

    .carousel-slide .portfolio-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 16px;
    }

    /* Sections */
    .section {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .section-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        line-height: 1.2;
        margin-bottom: 40px;
    }

    .section-description {
        font-size: clamp(1rem, 3vw, 1.1rem);
        line-height: 1.6;
        margin-bottom: 40px;
    }

    /* Footer */
    .footer-column .footer-logo-img {
        max-width: 80px;
        margin-bottom: 15px;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    
    .footer-premium {
        padding: 20px 20px 10px 20px;
        text-align: center;
    }
    
    .footer-container {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
        margin-bottom: 40px;
        align-items: center;
    }
    
    .footer-column {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        justify-content: center;
        width: 100%;
        max-width: 300px;
    }
    
    .footer-heading {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .footer-links li {
        margin-bottom: 0;
    }
    
    .footer-email {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .footer-socials {
        justify-content: center;
        margin-top: 10px;
    }
    
    .footer-legal-bar {
        text-align: center;
        padding-top: 20px;
    }

    /* Hide pagination bullets */
    .swiper-pagination-bullet,
    .swiper-pagination-bullet-active,
    .swiper-pagination,
    [class*="pagination"],
    [class*="bullet"],
    .swiper [class*="indicator"],
    .carousel [class*="indicator"],
    .portfolio-carousel-container [class*="pagination"],
    .portfolio-carousel-container [class*="bullet"],
    .portfolio-carousel-container [class*="indicator"],
    .custom-carousel [class*="pagination"],
    .custom-carousel [class*="bullet"],
    .custom-carousel [class*="indicator"] {
        display: none;
    }

    /* Keep process pagination visible */
    .process-swiper-container .swiper-pagination {
        display: block;
    }
    
    .process-swiper-container .swiper-pagination-bullet {
        display: inline-block;
    }
    
    .process-swiper-container .swiper-pagination-bullet-active {
        display: inline-block;
    }
}

/* Mobile Landscape */
@media (max-width: 768px) and (orientation: landscape) {
    .hero--enhanced {
        min-height: 100vh;
        padding: 80px 20px 40px;
    }
    
    .hero__title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 15px;
    }
    
    .hero__subtitle {
        font-size: clamp(0.9rem, 3vw, 1rem);
        margin: 10px auto 0;
    }
    
    .hero__cta-container {
        margin-top: 20px;
    }
    
    .hero__logo {
        max-width: 80px;
        margin-bottom: 15px;
    }
}

/* Small Mobile */
@media (max-width: 375px) {
    .hero--enhanced {
        padding: 100px 15px 40px;
    }
    
    .hero__title {
        font-size: 1.6rem;
        line-height: 1.1;
    }
    
    .hero__subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .hero__logo {
        max-width: 100px;
    }
    
    .cta-arrow-link {
        font-size: 0.9rem;
        padding: 10px 16px;
        max-width: 250px;
    }

    .portfolio-carousel-container {
        padding: 0 10px;
    }

    .custom-carousel {
        height: clamp(350px, 65vh, 400px);
    }

    .carousel-slide {
        width: clamp(220px, 90vw, 280px);
        height: clamp(300px, 55vh, 380px);
        border-radius: 12px;
    }

    .carousel-button {
        width: 40px;
        height: 40px;
    }

    .carousel-button svg {
        width: 16px;
        height: 16px;
    }

    .carousel-button-prev {
        left: 5px;
    }

    .carousel-button-next {
        right: 5px;
    }
}

/* Desktop */
@media (min-width: 992px) {
    .nav-center, .nav-right { 
        display: flex; 
    }
    .nav-toggle { 
        display: none; 
    }
}

/* Touch Devices */
@media (pointer: coarse), (max-width: 1024px) {
    #cursor-outline {
        display: none;
    }
}

