/* Reset e Configurações Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8FD250;
    --primary-hover: #9de05b;
    --text-dark: #1e3c10;
    --bg-dark: #376169;
    --bg-darker: #1f3337;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0d1117;
    color: #ffffff;
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

/* Fundo e Imagem Animada */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Suaviza micro-transições, embora seja trocada via JS */
}

/* Camada Escura / Degradê para dar leitura ao texto */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(357deg, rgb(27 45 48 / 0%) 0%, rgb(55 97 105 / 34%) 50%, rgb(0 0 0 / 64%) 100%);
    z-index: 2;
}

/* Container do Conteúdo */
.container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Container do Conteúdo (Desktop: Transparente sobreposto) */
.hero-content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
}

/* Bloco de Conteúdo */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 650px;
    opacity: 0;
}

.hero-content.visible {
    animation: slideUp 1.5s ease-out forwards;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
}

.hero-content p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

/* Botões */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-dark);
    box-shadow: 0 10px 20px rgba(143, 210, 80, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(143, 210, 80, 0.4);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

/* Animações de Entrada */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade */
@media (max-width: 992px) {
    .hero-section {
        height: auto;
        display: block;
        /* Desativa o flex para empilhar */
    }

    .hero-background {
        position: relative;
        height: 32vh;
        /* Altura do vídeo no mobile */
    }

    .hero-content-wrapper {
        background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
        padding: 60px 0;
    }

    .hero-content {
        text-align: center;
        align-items: center;
        margin: 0 auto;
    }

    .overlay {
        background: linear-gradient(357deg, rgb(27 45 48 / 0%) 0%, rgb(55 97 105 / 34%) 50%, rgb(0 0 0 / 64%) 100%);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-background img {
        /* Ajusta o posicionamento da imagem/vídeo no mobile para focar no cão e gato */
        object-position: 65% center;
    }
}