:root {
    --bg-dark: #050505;
    --text-light: #F4F4F4;
    --text-dim: #999;
    --primary: #F35E18;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(20px);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    /* Scroll bloqueado para navegação teclado */
    height: 100vh;
}

h1,
h2,
h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.1;
}

h1 {
    font-size: 4rem;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    color: #fff;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

p {
    font-size: 1.1rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* Nova Classe para Logo no Slide 1 */
.hero-logo {
    width: 150px;
    /* Tamanho ajustado */
    margin-bottom: 2rem;
    display: block;
}

/* Container Geral */
#presentation-container {
    height: 100vh;
    overflow-y: hidden;
    scroll-behavior: smooth;
}

.slide {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
}

/* --- ESTILOS ESPECÍFICOS DO SLIDE 01 (CAPA) --- */

.hero-container {
    display: grid;
    grid-template-columns: 45% 55%;
    /* Divisão da tela */
    height: 100%;
    width: 100%;
}

/* Lado Esquerdo: Texto */
.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 10%;
    padding-right: 5%;
    z-index: 10;
    position: relative;
}

/* Lado Direito: Visual (Mosaico) */
.hero-visual {
    position: relative;
    height: 100%;
    overflow: hidden;
}

/* O Mosaico de Fotos */
.mosaic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    width: 120%;
    /* Maior que a tela para estilo */
    height: 120%;
    transform: rotate(-5deg) translateY(-10%) translateX(-10%);
    /* Inclinação estilosa */
    opacity: 0.8;
    /* Aumentei a opacidade de 0.6 para 0.8 */
}

.mosaic-item {
    background-color: #1a1a1a;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    position: relative;
    border: 1px solid var(--glass-border);
    /* Placeholder visual enquanto não tem foto */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 0.8rem;
    font-weight: bold;
}

/* O Degradê de Fusão (O Segredo) */
.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    /* Degradê mais suave: Preto sólido até 10%, transparente aos 80% */
    background: linear-gradient(90deg, #050505 10%, rgba(5, 5, 5, 0.8) 40%, transparent 100%);
    z-index: 5;
}

/* Animação de Entrada */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- SLIDE 02: AMBIENTAÇÃO 3D --- */
/* --- SLIDE 02: AMBIENTAÇÃO 3D --- */
.slide-02-wrapper {
    position: relative;
    width: 100%;
    height: 100%;

    /* CORREÇÃO AQUI: Aspas duplas obrigatórias para nomes com espaço */
    background-image: url("./BRANDKIT/Slide 16_9 - 3 (1).png");

    /* Garante que a imagem cubra tudo sem distorcer */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;

    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Ajuste Responsivo para telas menores (Notebooks) */
@media (max-height: 800px) {
    .slide-02-wrapper {
        background-size: contain;
        /* Garante que o MacBook caiba na tela inteira */
        background-color: #000;
        /* Fundo preto caso sobre borda */
    }

    .ios-grid {
        transform: scale(0.85);
        /* Reduz um pouco os cards para não tapar o Mac */
    }
}

/* Camada escura suave para garantir leitura do texto na esquerda */
/* Camada escura suave para garantir leitura do texto na esquerda */
.slide-overlay {
    position: absolute;
    inset: 0;
    /* Preto sólido na esquerda (texto) -> Transparente rápido no centro */
    background: linear-gradient(90deg, #050505 0%, #050505 25%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.villains-content {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    /* Texto menor | Cards ocupando o espaço do Mac */
    gap: 4rem;
    max-width: 1400px;
    width: 90%;
    position: relative;
    z-index: 2;
    /* Acima do overlay */
    align-items: center;
}

/* Texto */
.villains-text h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    /* Sombra para destacar do fundo */
}

/* --- GRID DE VIDRO POLIDO --- */
.ios-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    perspective: 1000px;
    /* Prepara o 3D */
    padding: 2rem;
    /* Espaço para a levitação não cortar */
}

/* O Card de Vidro Polido (Ultra Realista) */
.ios-card {
    /* Vidro Polido: Quase invisível, apenas reflexo e distorção leve */
    background: rgba(255, 255, 255, 0.01);

    /* Blur baixo = Vidro nítido/polido. Blur alto = Vidro jateado/fosco */
    backdrop-filter: blur(4px) brightness(1.1);
    -webkit-backdrop-filter: blur(4px) brightness(1.1);

    /* Bordas brilhantes para dar o efeito 3D */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    /* Luz batendo em cima */
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 2rem;

    /* Sombra para separar do fundo (Levitação) */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);

    /* Mantém a animação de flutuar */
    animation: floatCard 6s ease-in-out infinite;
}

.ios-card:hover {
    /* Brilho ao passar o mouse */
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.05);
}

/* O Loop de Levitação */
@keyframes floatCard {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    /* Sobe suavemente */
    100% {
        transform: translateY(0px);
    }
}

.ios-icon {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    display: block;
    filter: drop-shadow(0 0 10px rgba(243, 94, 24, 0.4));
}

.ios-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.ios-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* --- SLIDE 03: WRAPPER LIMPO (SEM OVERLAY) --- */
.slide-03-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    /* Fundo da Lys (Limpo) */
    background-image: url("./BRANDKIT/LYS1.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diagnostics-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1300px;
    width: 90%;
}

/* MOCKUP IPHONE */
.iphone-mockup {
    width: 340px;
    height: 680px;
    background: #000;
    border-radius: 50px;
    border: 8px solid #1a1a1a;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iphone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: #1a1a1a;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 10;
}

.iphone-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 40px;
}

/* LISTA DE CARDS */
.diag-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.diag-card {
    background: rgba(255, 255, 255, 0.05);
    /* Vidro Leve */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.diag-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.check-icon-glass {
    min-width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), #ff8e5e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #000;
    font-size: 0.9rem;
}

.diag-content h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.diag-content p {
    font-size: 0.9rem;
    color: #ddd;
    margin: 0;
    line-height: 1.4;
}

/* BOTÃO INSTAGRAM CORRIGIDO */
.insta-btn-wrapper {
    margin-top: 2.5rem;
    display: flex;
    justify-content: flex-start;
}

.insta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #fff !important;
    /* Força Branco */
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.insta-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    border-color: #fff;
}

.insta-icon {
    width: 20px;
    height: 20px;
    filter: none;
    margin: 0;
}

/* --- SLIDE 04: FILOSOFIA (TEXTO + VÍDEO CLEAN) --- */
.slide-04-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 50% Texto | 50% Vídeo */
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.philosophy-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
    background: #050505;
    /* Fundo Preto Puro */
    position: relative;
    z-index: 2;
}

.phil-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.phil-desc {
    font-size: 1.2rem;
    color: #999;
    line-height: 1.6;
    font-style: italic;
    border-left: 3px solid var(--primary);
    padding-left: 1.5rem;
}

/* Lado Direito: Vídeo */
.david-visual {
    width: 100%;
    height: 100%;
    position: relative;
    background: #000;
    overflow: hidden;
    /* REMOVIDO: .david-visual::after (O Fade na junção) */
}

.bg-video-slide4 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    /* Opacidade total para o vídeo */
}