/* --- 1. CONFIGURAÇÕES GERAIS (FOCO EM BEM-ESTAR) --- */
body {
    background-color: #faf9f6; /* Off-white para reduzir cansaço visual */
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Iluminação pêssego suave para acolhimento */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: radial-gradient(circle at 50% 0%, rgba(212, 163, 115, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

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

.header-container h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    color: #2c1e14;
    margin: 0;
}

.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('icone\ sebo\ .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(10px); transform: scale(0.95); }
    10%, 40% { opacity: 1; filter: blur(0px); transform: scale(1); }
}

/* --- 3. ESTRUTURA DA GALERIA E BOTÕES --- */
.galeria-wrapper {
    position: relative;
    width: 95%;
    max-width: 1300px;
    margin: 40px auto;
    display: flex;
    align-items: center;
}

#galeria {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 10px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch; /* Suporte Mac/iOS */
}

#galeria::-webkit-scrollbar { display: none; }

#galeria img {
    flex: 0 0 auto; /* Impede achatamento no Safari */
    height: 320px;
    border-radius: 25px;
    box-shadow: 0 10px 20px rgba(45, 74, 62, 0.1); 
    transition: all 0.4s ease;
    cursor: pointer;
    filter: sepia(10%) contrast(95%);
    -webkit-user-drag: none;
}

#galeria img:hover { 
    transform: scale(1.05) translateY(-5px); 
    filter: sepia(0%) contrast(100%);
    box-shadow: 0 15px 30px rgba(45, 74, 62, 0.15);
}

/* --- 4. BOTÕES MODERNOS (GLASSMORPHISM AUTOAJUDA) --- */
.btn-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #8e7d6c; /* Terracota */
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}

.btn-nav:hover {
    background: linear-gradient(135deg, #fdfbf7 0%, #fff9c4 100%); /* Amarelo bem fraco solicitado */
    color: #2d4a3e; /* Verde ao focar */
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(142, 125, 108, 0.2);
}

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

/* --- 5. SEÇÃO DE COMPRA (CTA) --- */
.compra {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
    max-width: 800px;
    margin: 40px auto;
}

.compra h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: #2d4a3e;
    margin-bottom: 30px;
    line-height: 1.4;
}

.btn-autoajuda {
    display: inline-block;
    padding: 18px 45px;
    background-color: #8e7d6c;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(142, 125, 108, 0.2);
    transition: all 0.3s ease;
}

.btn-autoajuda:hover {
    background-color: #2d4a3e;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(45, 74, 62, 0.3);
}

/* --- 6. ADAPTAÇÃO MOBILE --- */
@media (max-width: 768px) {
    .header-container { padding: 40px 5%; justify-content: center; text-align: center; }
    
    #galeria img { height: 260px; }
    
    .btn-nav { width: 45px; height: 45px; font-size: 1.2rem; }
    .btn-prev { left: 5px; } 
    .btn-next { right: 5px; }
    
    .header-container h2.imagem-rotativa { min-width: 100%; }
    
    .btn-autoajuda { width: 100%; box-sizing: border-box; }
}