/* =========================================
   VARIÁVEIS DE CORES E FONTES
========================================= */
:root {
    --roxo: #6B328C;
    --terra: #D97D5A;
    --verde: #8A9A86;
    --offwhite: #F7F5F0;
    --beringela: #2D1B36; 
    
    --text-main: #2D1B36;
    --text-sec: #55445d;
    --accent: #8A9A86; /* Verde Sálvia */
    
    --font-heading: 'League Spartan', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* =========================================
   RESET E OTIMIZAÇÃO MAXIMA DE PERFORMANCE
========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; background-color: var(--offwhite); }
body { font-family: var(--font-body); color: var(--text-main); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; }

/* Utilitários de Espaçamento e Texto */
.text-center { text-align: center; }
.text-left { text-align: left; }
.top-margin-20 { margin-top: 20px; }
.top-margin-30 { margin-top: 30px; }
.top-margin-40 { margin-top: 40px; }
.top-margin-60 { margin-top: 60px; }
.top-bottom-padding-60 { padding: 60px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* =========================================
   CORES DOS BLOCOS (INVERSÃO INTELIGENTE)
========================================= */
.bg-offwhite { background-color: var(--offwhite); }
.bg-roxo { background-color: var(--roxo); color: var(--offwhite); }
.bg-roxo h1, .bg-roxo h2, .bg-roxo h3, .bg-roxo p { color: var(--offwhite) !important; }

.bg-verde { background-color: var(--verde); color: var(--offwhite); }
.bg-verde h1, .bg-verde h2, .bg-verde h3, .bg-verde p { color: var(--offwhite) !important; }

/* Tipografia Base */
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.2; font-weight: 700; color: var(--roxo); }
p { font-size: 19px; color: var(--text-sec); line-height: 1.6; margin-bottom: 20px; }
.lead-text { font-size: 24px; color: var(--beringela); font-weight: 500; line-height: 1.5; }
.highlight { color: var(--terra); font-size: 24px; margin-top: 30px; }

/* =========================================
   HEADER & HAMBURGER (FLUTUANTES)
========================================= */
#lp-logo-header {
    position: fixed; top: 30px; left: 40px; z-index: 100;
    transition: opacity 0.4s ease; opacity: 1; pointer-events: none;
}
#lp-logo-header.hidden { opacity: 0; }
#lp-logo-header img { width: 150px; }

.fixed-hamburger {
    position: fixed; top: 25px; right: 25px; z-index: 1010;
    background: var(--offwhite); border-radius: 50%; width: 55px; height: 55px;
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); border: 1px solid rgba(107, 50, 140, 0.1);
}
.fixed-hamburger .line { width: 24px; height: 3px; background: var(--roxo); border-radius: 2px; transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1); }

.fixed-hamburger.merging .line-1 { transform: translate3d(0, 9px, 0); }
.fixed-hamburger.merging .line-3 { transform: translate3d(0, -9px, 0); }
.fixed-hamburger.active .line-1 { transform: translate3d(0, 9px, 0) rotate(45deg); }
.fixed-hamburger.active .line-2 { opacity: 0; }
.fixed-hamburger.active .line-3 { transform: translate3d(0, -9px, 0) rotate(-45deg); }

.mobile-menu-overlay {
    position: fixed; top: -100%; left: 0; width: 100%; height: 100vh; background: var(--beringela);
    z-index: 1000; display: flex; flex-direction: column; justify-content: center; align-items: center;
    gap: 40px; transition: top 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.mobile-menu-overlay.open { top: 0; }
.mobile-link { color: var(--offwhite); font-size: 2rem; font-family: var(--font-heading); text-transform: uppercase; }

/* =========================================
   SCROLL-TELLING (FOCO CENTRAL / TELEPROMPTER)
========================================= */
.lp-main-wrapper { position: relative; width: 100%; z-index: 2; height: auto; min-height: 100vh; background: transparent; }

.hero-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: 0;
    background-size: cover; background-position: center; pointer-events: none; will-change: opacity;
}
.hero-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: 0;
    background: linear-gradient(to bottom, rgba(45,27,54,0.2) 0%, rgba(45,27,54,0.7) 100%);
    pointer-events: none; will-change: opacity;
}

.content-wrapper { position: relative; z-index: 2; padding: 40px 0; overflow: hidden; }
.scroll-content { padding: 0 20px; max-width: 800px; margin: 0 auto; }

/* Animação que faz aparecer apenas no meio e sumir nas bordas */
.center-focus {
    min-height: 60vh; /* Altura que garante o respiro entre os textos */
    display: flex; flex-direction: column; justify-content: center;
    opacity: 0; transform: scale(0.95) translate3d(0, 30px, 0);
    transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}
.center-focus.in-view { opacity: 1; transform: scale(1) translate3d(0, 0, 0); }
.center-focus h2 { font-size: 38px; margin-bottom: 25px; }

/* Hero Especial */
.hero-step { min-height: 100vh; align-items: center; padding: 0 20px; position: relative; z-index: 2; }
.hero-step h1 { font-size: 42px; color: var(--offwhite); text-shadow: 0px 4px 20px rgba(0,0,0,0.5); text-align: center; max-width: 900px; }

.inline-rounded-img { width: 100%; max-width: 400px; border-radius: 20px; margin: 20px auto; display: block; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* =========================================
   BOTÕES E PREÇOS (CONTRASte APLICADO)
========================================= */
.lp-btn {
    display: inline-block; padding: 18px 45px; margin-top: 15px; background: var(--roxo); color: var(--offwhite);
    font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: 15px; letter-spacing: 2px;
    border-radius: 8px; transition: 0.3s ease; width: max-content; box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.lp-btn:hover { background: var(--beringela); transform: translate3d(0, -4px, 0); box-shadow: 0 12px 30px rgba(0,0,0,0.2); color: var(--offwhite); }

/* Botões em fundos escuros/verdes */
.bg-verde .lp-btn { background: var(--terra); color: var(--offwhite); }
.bg-verde .lp-btn:hover { background: var(--offwhite); color: var(--terra); }

.inverted-btn { background: var(--offwhite); color: var(--roxo); }
.inverted-btn:hover { background: var(--terra); color: var(--offwhite); }

.garantia-text { display: block; margin-top: 15px; font-size: 13px; font-weight: 500; color: var(--terra); }

/* Caixas de Preço */
.price-box { background: var(--roxo); border-radius: 20px; padding: 50px 40px; margin-top: 40px; box-shadow: 0 10px 40px rgba(107, 50, 140, 0.2); }
.lp-list { list-style: none; padding: 0; }
.lp-list li { font-size: 17px; margin-bottom: 15px; position: relative; padding-left: 30px; line-height: 1.4; }
.lp-list li::before { content: '\f00c'; font-family: 'Font Awesome 5 Free'; font-weight: 900; color: var(--terra); position: absolute; left: 0; top: 2px; font-size: 16px; }

.secondary-price { background: transparent; border: 2px solid rgba(107, 50, 140, 0.2); box-shadow: none; margin-top: 20px; padding: 40px; text-align: center; }
.secondary-price .lp-list li::before { color: var(--roxo); }
.secondary-price .lp-list li { color: var(--beringela); }

/* =========================================
   ELEMENTOS DE FUNDO AFETIVOS (BEBÊ/GRAVIDEZ)
========================================= */
.bg-decorations { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: hidden; }

/* Ícones GIGANTES mas SUPER transparentes (0.03 = 3% de opacidade) */
.floating-icon { position: absolute; font-size: 12rem; color: var(--roxo); opacity: 0.03; pointer-events: auto; }
.bg-roxo .floating-icon { color: #fff; opacity: 0.05; }

/* Borboleta SVG */
.butterfly-icon {
    position: absolute; width: 180px; height: 180px; opacity: 0.03; background-color: var(--roxo);
    -webkit-mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12,1.5c-0.6,0-1,0.4-1,1v5.7C7.4,6.2,3.2,7,1.5,10.6c-0.8,1.7-0.7,3.5-0.1,5.1c-1.3,1.8-1.7,4.3-0.5,6c1.1,1.5,3.3,1.8,5.1,1.1c2-0.8,3.9-3.2,5-5.8v2.6c0,0.6,0.4,1,1,1s1-0.4,1-1v-2.6c1.1,2.6,3,5,5,5.8c1.8,0.7,4,0.4,5.1-1.1c1.2-1.7,0.8-4.2-0.5-6c0.6-1.6,0.7-3.4-0.1-5.1C20.8,7,16.6,6.2,11,8.2V2.5C11,1.9,11.4,1.5,12,1.5z"/></svg>') no-repeat center / contain;
    mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12,1.5c-0.6,0-1,0.4-1,1v5.7C7.4,6.2,3.2,7,1.5,10.6c-0.8,1.7-0.7,3.5-0.1,5.1c-1.3,1.8-1.7,4.3-0.5,6c1.1,1.5,3.3,1.8,5.1,1.1c2-0.8,3.9-3.2,5-5.8v2.6c0,0.6,0.4,1,1,1s1-0.4,1-1v-2.6c1.1,2.6,3,5,5,5.8c1.8,0.7,4,0.4,5.1-1.1c1.2-1.7,0.8-4.2-0.5-6c0.6-1.6,0.7-3.4-0.1-5.1C20.8,7,16.6,6.2,11,8.2V2.5C11,1.9,11.4,1.5,12,1.5z"/></svg>') no-repeat center / contain;
}

/* Movimentos sutis e afetivos */
.icon-1 { top: 15%; left: -5%; animation: floatY 12s ease-in-out infinite; } /* Carrinho */
.icon-2 { bottom: 20%; right: 5%; animation: floatX 15s ease-in-out infinite; font-size: 15rem; } /* Lua */
.icon-3 { top: 30%; right: -5%; animation: floatY 10s infinite alternate; font-size: 18rem; } /* Formas/Brinquedos */
.icon-4 { top: 20%; right: 10%; animation: flapWing 6s infinite alternate; } /* Borboleta */
.icon-5 { bottom: 10%; left: 0%; font-size: 10rem; animation: floatX 14s ease-in-out infinite; } /* Estrela */
.icon-6 { top: 25%; left: 10%; font-size: 14rem; animation: floatY 10s ease-in-out infinite; } /* Coração */

@keyframes floatY { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-30px) rotate(5deg); } }
@keyframes floatX { 0%, 100% { transform: translateX(0) rotate(0deg); } 50% { transform: translateX(30px) rotate(-5deg); } }
@keyframes flapWing { 0% { transform: skewY(0deg) scale(1) translateY(0); } 100% { transform: skewY(5deg) scale(0.9) translateY(-20px); } }

/* =========================================
   PERSIANA, FAQ E FEEDBACKS
========================================= */
.accordion-wrapper { display: flex; width: 100%; height: 50vh; min-height: 400px; gap: 10px; }
.accordion-item { flex: 1; position: relative; overflow: hidden; border-radius: 8px; cursor: pointer; transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1); background: var(--beringela); }
.accordion-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0.25; transition: opacity 0.6s; filter: grayscale(100%); }
.accordion-title-vert { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%) rotate(180deg); color: var(--offwhite); font-family: var(--font-heading); font-size: 24px; font-weight: 700; text-transform: uppercase; writing-mode: vertical-rl; white-space: nowrap; transition: 0.3s ease; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
.accordion-content { position: absolute; bottom: 30px; left: 30px; right: 30px; opacity: 0; transform: translateY(20px); transition: all 0.5s ease; transition-delay: 0.1s; pointer-events: none; }
.accordion-content h3 { color: var(--terra); margin-bottom: 15px; font-size: 28px; line-height: 1.1; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
.accordion-content p { color: var(--offwhite); font-size: 16px; line-height: 1.6; text-shadow: 1px 1px 5px rgba(0,0,0,0.5); }

@media (min-width: 1000px) {
    .accordion-item:hover { flex: 4; }
    .accordion-item:hover .accordion-bg { opacity: 0.6; filter: grayscale(0%); }
    .accordion-item:hover .accordion-title-vert { opacity: 0; pointer-events: none; }
    .accordion-item:hover .accordion-content { opacity: 1; transform: translateY(0); pointer-events: auto; }
}

/* Acordeão Ativo no Mobile (Altura Aumentada para Evitar Cortes) */
.accordion-item.active-mobile { flex: 4; }
.accordion-item.active-mobile .accordion-bg { opacity: 0.6; filter: grayscale(0%); }
.accordion-item.active-mobile .accordion-title-vert { opacity: 0; pointer-events: none; }
.accordion-item.active-mobile .accordion-content { opacity: 1; transform: translateY(0); pointer-events: auto; }

details { background: #fff; padding: 20px; margin-bottom: 15px; border-radius: 8px; cursor: pointer; border: 1px solid rgba(107, 50, 140, 0.1); text-align: left; transition: 0.3s; }
summary { font-family: var(--font-heading); font-size: 20px; color: var(--roxo); font-weight: 600; outline: none; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '\f067'; font-family: 'Font Awesome 5 Free'; font-weight: 900; font-size: 18px; color: var(--terra); transition: 0.3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 15px; margin-bottom: 0; font-size: 16px; color: var(--text-sec); }

.feedback-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 30px; }

.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px;
    background-color: var(--verde); color: #FFFFFF; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 35px; z-index: 9999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3); transition: transform 0.4s ease;
}
.whatsapp-float:hover { transform: scale(1.1); background-color: var(--terra); }

/* Logo Sutil no Rodapé */
.footer-logo { width: 90px; opacity: 0.4; display: block; margin: 0 auto; filter: grayscale(100%); transition: 0.3s; }
.footer-logo:hover { opacity: 0.8; filter: grayscale(0%); }

/* =========================================
   MOBILE (ELEGANTE E FLUIDO)
========================================= */
@media (max-width: 999px) {
    #lp-logo-header { left: 20px; top: 20px; }
    
    .hero-step { padding: 0 15px; } 
    .hero-step h1 { font-size: 28px; } /* Fonte principal reduzida e elegante */
    
    .scroll-content { padding: 0 15px; }
    .center-focus { min-height: 50vh; }
    .center-focus h2 { font-size: 26px; }
    
    .lead-text { font-size: 18px; }
    p { font-size: 17px; }
    
    .lp-btn { font-size: 13px; padding: 16px 20px; width: 100%; display: block; text-align: center; }
    
    .accordion-wrapper { flex-direction: column; height: auto; }
    .accordion-item { flex: none; height: 80px; width: 100%; }
    
    /* Altura maior no Mobile para o texto da persiana caber todo */
    .accordion-item.active-mobile { height: 400px !important; }
    .accordion-title-vert { writing-mode: horizontal-tb; transform: translateY(-50%); bottom: auto; top: 50%; left: 20px; font-size: 18px; }
    
    .price-box { padding: 40px 20px; }
    
    .whatsapp-float { right: 20px; bottom: 20px; width: 50px; height: 50px; font-size: 28px; }
}