/* --- 1. CONFIGURAÇÕES GERAIS (ATMOSFERA SOMBRIA) --- */
body {
    background-color: #0a0a0c; /* Preto quase absoluto */
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-family: 'Crimson Text', serif; /* Fonte clássica de mistério */
    color: #d1d1d1;
}

/* Efeito de nevoeiro no fundo */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: radial-gradient(circle at 50% -20%, rgba(60, 0, 0, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(20, 20, 30, 0.5) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

/* --- 2. BANNER DE COMANDO --- */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 10%;
    flex-wrap: wrap;
    gap: 20px;
}

.header-container h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    color: #ffffff;
    margin: 0;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.header-container h2.imagem-rotativa {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(1rem, 3vw, 1.8rem);
    color: #8b4513;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 300px;
    height: 150px;
}

.header-container h2 span {
    position: absolute;
    white-space: nowrap;
    animation: blurCiclo 4.0s infinite ease-in-out;
}

.header-container h2::after {
    content: "";
    position: absolute;
    width: 130px; 
    height: 130px;
    background-image: url('logo\ principal.png');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    opacity: 0;
    filter: blur(15px);
    animation: blurCiclo 4.0s infinite ease-in-out 2.0s;
}

@keyframes blurCiclo {
    0%, 100% { opacity: 0; filter: blur(12px); transform: scale(0.95); }
    10%, 40% { opacity: 1; filter: blur(0px); transform: scale(1); }
}

/* --- 3. GALERIA (ESTANTE DE EVIDÊNCIAS) --- */
.galeria-wrapper {
    position: relative;
    width: 95%;
    max-width: 1300px;
    margin: 40px auto;
    display: flex;
    align-items: center;
}

#galeria {
    display: flex;
    gap: 25px;
    overflow-x: hidden; /* Botões controlam o scroll */
    scroll-behavior: smooth;
    padding: 40px 10px;
    width: 100%;
}

#galeria img {
    flex: 0 0 auto;
    height: 380px;
    border-radius: 5px;
    /* Efeito de foto antiga/investigação */
    filter: grayscale(100%) sepia(20%) contrast(1.2);
    box-shadow: 10px 10px 30px rgba(0,0,0,0.8);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    border: 1px solid #333;
}

#galeria img:hover {
    filter: grayscale(0%) contrast(1.1);
    transform: scale(1.05) translateY(-5px);
    border: 1px solid #991b1b; /* Vermelho sangue seco */
    box-shadow: 0 0 25px rgba(153, 27, 27, 0.5);
}

/* --- 4. BOTÕES MODERNOS DE VIDRO --- */
.btn-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15); /* Glassmorphism */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.btn-nav:hover {
    /* Degradê amarelo fraco solicitado */
    background: linear-gradient(135deg, #fff9c4 0%, #ffffff 100%);
    color: #000;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 25px rgba(255, 249, 196, 0.4);
}

.btn-prev { left: -25px; }
.btn-next { right: -25px; }

/* --- 5. SEÇÃO DE CONVERSÃO (O DESFECHO) --- */
.secao-conversao {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(to bottom, #0a0a0c, #050505);
    border-top: 1px solid #1a1a1a;
}

.secao-conversao h1 {
    font-family: 'Playfair Display', serif;
    color: #b1b1b1; 
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.btn-marketing-direto {
    display: inline-block;
    padding: 20px 50px;
    background: #8b0000; /* Vermelho profundo */
    color: white !important;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-marketing-direto:hover {
    background: #991b1b;
    box-shadow: 0 0 30px rgba(153, 27, 27, 0.6);
    transform: translateY(-3px);
}

.seta-btn {
    display: inline-block;
    transition: transform 0.4s;
}

.btn-marketing-direto:hover .seta-btn {
    transform: translateX(10px);
}

/* --- 6. ADAPTAÇÃO MOBILE --- */
@media (max-width: 768px) {
    .header-container { padding: 40px 5%; justify-content: center; }
    #galeria img { height: 300px; }
    .btn-nav { width: 45px; height: 45px; font-size: 1.2rem; }
    .btn-prev { left: 5px; }
    .btn-next { right: 5px; }
    #galeria { overflow-x: auto; } /* No mobile permite o touch */
    .btn-marketing-direto { width: 100%; box-sizing: border-box; }
}