/* ================= home.css ================= */

/* --- ESTRUTURA GERAL (HERO) --- */
.hero {
    position: relative;
    height: 100vh; /* Fallback para navegadores antigos */
    height: 100dvh; /* Ajuste dinâmico perfeito para celulares (ignora a barra de URL) */
    width: 100%; /* Mais seguro que 100vw para evitar barra de rolagem horizontal */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: url('https://i.pinimg.com/736x/53/96/aa/5396aa331a24cb6f5cbacdb701d2beb9.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
    animation: slowZoom 30s infinite alternate linear;
    transition: transform 0.1s ease-out;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Overlay com gradiente radial focado no centro */
    background: radial-gradient(circle at center, rgba(30, 26, 22, 0.5) 0%, rgba(10, 8, 6, 0.85) 100%);
    z-index: 2;
}

/* --- CONTEÚDO CENTRAL --- */
.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px; /* Compensa visualmente o espaço do cabeçalho mobile */
}

/* Elemento decorativo vintage */
.decorative-flourish {
    display: flex;
    align-items: center;
    gap: 10px; /* Mais compacto no mobile */
    color: var(--cor-acento);
    margin-bottom: 15px;
    font-size: clamp(12px, 3vw, 16px);
}

.decorative-flourish .line {
    width: 30px; /* Linha menor no celular */
    height: 1px;
    background-color: var(--cor-acento);
    opacity: 0.5;
}

/* Tipografia Fluida (Mobile-First + Clamp) */
.subtitle-top {
    font-family: var(--font-texto);
    font-size: clamp(0.55rem, 2vw, 0.7rem); /* Se adapta à tela */
    letter-spacing: 3px; /* Espaçamento mais seguro para celular */
    text-transform: uppercase;
    color: var(--cor-texto);
    margin-bottom: 12px;
    font-weight: 600; /* Mais legível em fundos escuros */
}

.main-title {
    font-family: var(--font-titulo);
    font-size: clamp(2.5rem, 9vw, 5rem); /* Mágica fluida: 2.5rem no mobile, 5rem no PC */
    margin-bottom: 8px;
    line-height: 1.1;
    letter-spacing: 1px; /* Reduzido no cel para as palavras longas caberem */
    text-transform: uppercase;
    font-weight: 400;
    text-shadow: 2px 4px 15px rgba(0, 0, 0, 0.6);
    word-wrap: break-word; /* Se uma palavra for gigante, ela quebra de linha em vez de vazar */
}

.subtitle-bottom {
    font-family: var(--font-cursiva);
    font-size: clamp(1.6rem, 5vw, 2.5rem);
    color: var(--cor-acento);
    margin-bottom: 35px;
    font-weight: 400;
    text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5);
}

/* --- BOTÕES DA PÁGINA INICIAL --- */
.hero-buttons {
    display: flex;
    flex-direction: column; /* Mobile: empilha os botões */
    gap: 15px;
    width: 100%;
    align-items: center;
}

.btn-minimal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--cor-texto);
    padding: 14px 25px; /* Tamanho confortável para toque no celular */
    text-decoration: none;
    font-weight: 400;
    font-family: var(--font-texto);
    letter-spacing: 2px;
    font-size: 0.7rem;
    text-transform: uppercase;
    border: 1px solid rgba(244, 240, 230, 0.4);
    transition: all 0.4s ease;
    background: rgba(0, 0, 0, 0.15); /* Fundo levíssimo para dar contraste */
    border-radius: 4px;
    width: 100%; /* Ocupa tudo no celular */
    max-width: 280px; /* Mas sem estourar o limite */
}

.btn-minimal:hover {
    background-color: var(--cor-texto);
    color: var(--cor-fundo);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Estilo Exclusivo do Botão do WhatsApp */
.btn-whatsapp {
    border-color: rgba(37, 211, 102, 0.4);
    color: #F4F0E6;
}

.btn-whatsapp:hover {
    background-color: #25D366; /* Verde icônico do WhatsApp */
    color: #111;
    border-color: #25D366;
}


/* ==========================================
   TABLETS E DESKTOPS
   ========================================== */

@media (min-width: 768px) {
    .hero-content {
        padding: 0 40px;
        margin-top: 0; /* Centralização milimétrica no PC */
    }

    .decorative-flourish .line { width: 50px; }
    .subtitle-top { letter-spacing: 5px; margin-bottom: 15px; }
    .main-title { letter-spacing: 3px; }
    .subtitle-bottom { margin-bottom: 45px; }

    /* Botões ficam lado a lado no PC */
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .btn-minimal {
        width: auto;
        padding: 14px 35px;
        font-size: 0.75rem;
        letter-spacing: 3px;
    }
}

/* ♿ ACESSIBILIDADE */
@media (prefers-reduced-motion: reduce) {
    .hero-bg {
        animation: none !important; /* Desliga o zoom de 30s que pode causar enjoo */
    }
    .btn-minimal {
        transition: none !important;
        transform: none !important;
    }
}