/* Reset e Variáveis CSS */
:root {
    --cor-branco-gelo: #F5F5F0;
    --cor-branco-gelo-suave: #FAFAF5;
    --cor-branco-gelo-escuro: #E8E8E0;
    --cor-texto: #2C2C2C;
    --cor-texto-claro: #5A5A5A;
    --sombra-suave: 0 2px 20px rgba(0, 0, 0, 0.08);
    --sombra-media: 0 4px 30px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--cor-branco-gelo);
    color: var(--cor-texto);
    line-height: 1.7;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Cabeçalho com vídeo fixo */
.video-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40vh;
    z-index: 1000;
    overflow: hidden;
    background-color: #000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.video-header video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 2;
    pointer-events: none;
}

.header-content {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 3;
    width: 90%;
    max-width: 1200px;
    pointer-events: none;
}

.site-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    color: var(--cor-branco-gelo);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
    margin-bottom: 20px;
}

/* Conteúdo principal - rola normalmente */
.content {
    position: relative;
    z-index: 1;
    background-color: var(--cor-branco-gelo);
    margin-top: 40vh;
    padding: 0;
}

section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.intro-section {
    padding-top: 120px;
    text-align: center;
    background: linear-gradient(
        180deg,
        var(--cor-branco-gelo-suave) 0%,
        var(--cor-branco-gelo) 100%
    );
}

.section {
    padding: 100px 5%;
    background-color: var(--cor-branco-gelo);
    margin-bottom: 40px;
    border-radius: 20px;
    box-shadow: var(--sombra-suave);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-media);
}

h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--cor-texto);
    margin-bottom: 30px;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--cor-texto-claro), transparent);
    border-radius: 2px;
}

p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.8;
    color: var(--cor-texto-claro);
    margin-bottom: 20px;
    font-weight: 400;
}

/* Rodapé */
.footer {
    position: relative;
    z-index: 10;
    background-color: var(--cor-branco-gelo-escuro);
    padding: 40px 20px;
    text-align: center;
    color: var(--cor-texto-claro);
    font-size: 0.95rem;
    margin-top: 60px;
}

.footer p {
    margin: 0;
    color: var(--cor-texto-claro);
}

/* Responsividade */
@media (max-width: 768px) {
    .video-header {
        height: 70vh;
    }

    .content {
        margin-top: 70vh;
    }

    .header-content {
        bottom: 40px;
    }

    .site-title {
        font-size: 2.5rem;
    }

    section {
        padding: 60px 4%;
    }

    .intro-section {
        padding-top: 80px;
    }

    h2 {
        font-size: 1.75rem;
    }

    p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .video-header {
        height: 60vh;
    }

    .content {
        margin-top: 60vh;
    }

    .site-title {
        font-size: 2rem;
    }

    section {
        padding: 40px 3%;
    }
}

/* Animações suaves */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeInUp 0.6s ease-out;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--cor-branco-gelo-escuro);
}

::-webkit-scrollbar-thumb {
    background: var(--cor-texto-claro);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--cor-texto);
}

.aparecer {
  opacity: 0;
  transform: translateY(20px);
  animation: aparecer 1s ease forwards;
}

@keyframes aparecer {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
