:root {
    --primary: #564693;
    --dark: #0a0a0a;
    --dark-grey: #1a1a1a;
    --light: #54ad3b;
    --glitch-color: #00f3ff; 
    --glitch-alt: #ff0055;   
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

@font-face {
    font-family: 'ChevinPro';
    src: url('ChevinPro-Medium.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap; 
}

body {
    font-family: 'ChevinPro', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    overflow-x: hidden;
}

/* *** Logotipo *** */
/********************/
.logo-wrapper {
    position: relative;
    width: 100%;           
    max-width: 450px;
    aspect-ratio: 2 / 1;   
    cursor: pointer;
    margin: auto;
}

.logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Logo Base (Cor 1) */
.logo-primary {
    opacity: 1;
    z-index: 5;
    transition: opacity 0.1s;
}

/* Logo Glitch (Cor 2) */
.logo-secondary {
    opacity: 0;
    z-index: 10;
}

/* Ativação do Efeito */
.is-glitching .logo-primary {
    opacity: 0.2;
}

.is-glitching .logo-secondary {
    opacity: 1;
    /* Camadas de sombra para o efeito de "fringe" (bordas coloridas) */
    filter: drop-shadow(2px 0 var(--glitch-color)) drop-shadow(-2px 0 var(--glitch-alt));
    animation: glitch-slice 0.25s infinite;
}

/* Pseudo-elementos para as fatias de erro */
.is-glitching::before, .is-glitching::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit; /* Pega a imagem B via JS (opcional) ou use a logo-secondary */
    opacity: 0.8;
    z-index: 15;
}

/* Keyframes para fatiamento digital agressivo */
@keyframes glitch-slice {
    0% {
        clip-path: inset(40% 0 61% 0);
        transform: translate(-10px, 5px) skew(10deg);
    }
    20% {
        clip-path: inset(92% 0 1% 0);
        transform: translate(10px, -5px) rotate(1deg);
    }
    40% {
        clip-path: inset(25% 0 58% 0);
        transform: translate(-5px, 0);
    }
    60% {
        clip-path: inset(76% 0 14% 0);
        transform: translate(5px, 2px) skew(-5deg);
    }
    80% {
        clip-path: inset(10% 0 85% 0);
        transform: translate(0);
    }
    100% {
        clip-path: inset(0 0 0 0);
    }
}

/* Overlay de Scanlines (linhas de TV) opcional */
.scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(18, 16, 16, 0) 50%,
        rgba(0, 0, 0, 0.15) 50%
    );
    background-size: 100% 4px;
    z-index: 20;
    pointer-events: none;
    opacity: 0;
}

.is-glitching .scanlines {
    opacity: 1;
}

/* *** Topo Background-image Slideshow *** */
/*******************************************/
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow {
    position: absolute;
    width: 100%; height: 100%;
    z-index: -1;
}

.slide {
    position: absolute;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 8s linear;
}

.slide.active {
    opacity: 1;
    transform: scale(1.1); /* Efeito de zoom lento */
}

.hero-overlay {
    background: rgba(0,0,0,0.6);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    width: 500px;
}

/* *** Seções de Serviço *** */
/*****************************/
.service-section {
    padding: 80px 10%;
}

.service-text {
    font-size: 18px;
    margin-bottom: 10px;
}

.bg-alt { 
    background-color: var(--dark-grey); 
}

h2 {
    color: var(--primary);
    margin-bottom: 30px;
    font-size: 2rem;
    border-left: 5px solid var(--primary);
    padding-left: 15px;
}

.item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    list-style: none;
}

.item-grid li {
    background: #222;
    padding: 15px;
    border-radius: 5px;
    transition: 0.3s;
    cursor: help;
    text-align: center;
}

.item-grid li:hover {
    background: linear-gradient(135deg, #564693 0%, #54ad3b 100%);
    background-size: 100% auto;
    color: black;
    transform: translateX(10px);
}

.item-grid  a {
    text-decoration: none;
    color: var(--color-secondary);
}

/* POP-UP ***********************************************/
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 10, 27, 0.25); /* Fundo escuro baseado no seu roxo */
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 480px;
    padding: 35px;
    border-radius: 15px;
    position: relative;
    transform: translateY(30px);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-overlay.active .modal-content { transform: translateY(0); }

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #ccc;
    line-height: 1;
}
.close-btn:hover { color: var(--primary); }

#modal-title { color: var(--primary); margin-top: 0; font-size: 24px; }
#modal-text { color: #666; font-size: 16px; }

.btn-confirm {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
    font-weight: bold;
}
/* POP-UP ***************************************** FIM */

/* Footer & Contato */
footer {
    padding: 80px 10%;
    background: #000;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-form, .contact-info { 
    flex: 1; min-width: 300px; 
}

input, textarea {
    font-family: 'ChevinPro';
    font-size: 16px;
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    background: #111;
    border: 1px solid #333;
    color: var(--light);
    border-radius: 4px;
    transition: all 0.6s;
}

.btn-submit {
    font-family: 'ChevinPro';
    background: linear-gradient(135deg, #564693 0%, #54ad3b 100%);
    background-size: 200% auto;
    transition: 0.5s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    padding: 12px 25px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 4px;
}

.btn-submit:hover {
    background-position: right center;
    box-shadow: 0 6px 20px rgba(84, 173, 59, 0.4);
    transform: translateY(-2px);
}

/* Ícones Animados */
.anim-icon i {
    color: var(--primary);
    margin-right: 15px;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.anim-icon:hover i {
    transform: scale(1.3) rotate(10deg);
}

.info-item { 
    margin-bottom: 20px; 
    display: flex; 
    align-items: center; 
}

/* LOGO *************************************** */
.typing-container {
    font-size: 3.5rem;
    font-weight: bold;
    text-align: center;
}

.static-text {
    color: #aaa;
    font-weight: 300;
}

/* O texto que muda */
#dynamic-text {
    min-width: 50px;
}

/* Cursor piscante */
.cursor {
    display: inline-block;
    width: 2px;
    height: 4rem;
    background-color: #fff;
    margin-left: 1px;
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Cores customizadas para cada palavra */
.color-pessoas { color: #FFF; }
.color-eventos { color: #FFF; }
.color-emocao  { color: #FFF; }

/* LOGO ************************************FIM */

/* BOTÃO: FALE CONOSCO ************************ */
.btn-high-end {
    padding: 12px 36px;
    font-size: 18px;
    text-transform: uppercase;
    color: white;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    position: relative;
    overflow: hidden; /* Importante para o efeito de brilho */
    isolation: isolate; /* Garante que z-index e overflow funcionem */

    /* Gradiente principal com tamanho aumentado para o efeito de animação */
    background: linear-gradient(135deg, var(--primary) 0%, var(--light) 100%);
    background-size: 100% 100%; /* Permite mover o gradiente */
    background-position: left bottom; /* Posição inicial */

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4); /* Sombra para profundidade */
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Transição suave */
    outline: none; /* Remove a borda de foco padrão */
}

/* Efeito de brilho / luz que se move no hover */
.btn-high-end::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%; /* Começa fora do botão */
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4) 30%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0.4) 70%,
        transparent
    );
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    mix-blend-mode: overlay; /* Mistura a luz com o fundo */
    z-index: 1; /* Garante que a luz fique acima do gradiente */
}

.btn-high-end:hover {
    background-position: right bottom; /* Move o gradiente para o outro lado */
    transform: translateY(-5px); /* Efeito de flutuação */
    box-shadow: 0 12px 30px rgba(84, 173, 59, 0.6); /* Sombra mais intensa do verde */
}

.btn-high-end:hover::before {
    left: 100%; /* Move o brilho para o outro lado */
}

.btn-high-end:active {
    transform: translateY(0); /* Retorna na pressão */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}