@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700;800&family=Quicksand:wght@400;500;600;700&display=swap');

:root {
    --cream: #FFF8EE;
    --cream-2: #FFF1E0;
    --white: #FFFFFF;
    --ink: #4A3228;
    --ink-soft: #8A6F5F;
    --amber: #F59E0B;
    --amber-dark: #D97706;
    --pink: #F472B6;
    --pink-dark: #DB2777;
    --sky: #38BDF8;
    --violet: #A78BFA;
    --green: #34D399;
    --red: #F87171;
    --radius-lg: 28px;
    --radius-md: 18px;
    --shadow: 0 18px 45px -18px rgba(244, 114, 182, 0.35);
    --shadow-sm: 0 8px 25px -12px rgba(74, 50, 40, 0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Quicksand', system-ui, sans-serif;
    background: var(--cream);
    color: var(--ink);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, .logo { font-family: 'Baloo 2', cursive; }

/* ===== Decorações de fundo ===== */
.bg-decor { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.deco-star, .deco-float { position: absolute; font-size: 1.5rem; opacity: 0.75; }
.deco-star { animation: twinkle 3s ease-in-out infinite; }
.deco-float { animation: floaty 6s ease-in-out infinite; }

@keyframes twinkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.5; }
    50% { transform: scale(1.25) rotate(15deg); opacity: 1; }
}
@keyframes floaty {
    0%, 100% { transform: translateY(0) rotate(-4deg); }
    50% { transform: translateY(-16px) rotate(6deg); }
}

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 248, 238, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(245, 158, 11, 0.18);
}
.nav {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}
.logo {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--ink);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}
.logo span { background: linear-gradient(90deg, var(--pink-dark), var(--amber-dark)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; list-style: none; gap: 0.4rem; align-items: center; }
.nav-links a {
    text-decoration: none;
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    transition: all 0.2s ease;
}
.nav-links a:hover { color: var(--ink); background: rgba(245, 158, 11, 0.12); }
.nav-links .btn-nav {
    background: linear-gradient(135deg, var(--pink), var(--amber));
    color: #5B2333; /* texto escuro para garantir contraste */
    box-shadow: var(--shadow-sm);
}
.nav-links .btn-nav:hover { transform: translateY(-2px); color: #5B2333; box-shadow: 0 10px 25px -10px rgba(219, 39, 119, 0.6); }
.menu-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

/* ===== Botões ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.9rem 1.9rem;
    border-radius: 999px;
    font-family: 'Baloo 2', cursive;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, #FF8FB1, #FF9F45);
    color: #5B2333; /* texto escuro para garantir contraste sobre o gradiente claro */
    box-shadow: 0 12px 30px -10px rgba(219, 39, 119, 0.55);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 35px -10px rgba(219, 39, 119, 0.65); }
.btn-ghost {
    background: #fff;
    color: var(--ink);
    border: 2px solid rgba(245, 158, 11, 0.35);
    box-shadow: none;
}
.btn-ghost:hover { border-color: var(--amber); transform: translateY(-3px); }
.btn-big { font-size: 1.2rem; padding: 1.1rem 2.4rem; }

/* ===== Hero ===== */
.hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 1.5rem 3rem;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.pill {
    display: inline-block;
    background: #fff;
    border: 2px solid rgba(245, 158, 11, 0.3);
    color: var(--amber-dark);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    margin-bottom: 1.2rem;
    box-shadow: var(--shadow-sm);
}
.hero h1 {
    font-size: clamp(3rem, 8vw, 5.2rem);
    line-height: 1.05;
    letter-spacing: 0.01em;
    margin-bottom: 1rem;
}
.grad-text {
    background: linear-gradient(90deg, var(--pink-dark), var(--amber-dark), var(--sky));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub { font-size: 1.2rem; color: var(--ink-soft); max-width: 480px; margin-bottom: 1.8rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.hero-meta { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.hero-meta span {
    background: #fff;
    border: 1px solid rgba(245, 158, 11, 0.25);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink-soft);
}

/* ===== Capa do livro (imagem real) ===== */
.hero-cover { position: relative; display: flex; justify-content: center; }
.book-cover { position: relative; width: 300px; }
.book-cover-img { width: 280px; }
.cover-face-img {
    position: relative;
    width: 280px;
    height: 400px;
    border-radius: 12px 20px 20px 12px;
    object-fit: cover;
    box-shadow: var(--shadow);
    display: block;
}
.cover-spine {
    position: absolute;
    left: -18px;
    top: 0;
    width: 20px;
    height: 400px;
    background: linear-gradient(180deg, #E86FA0, #F59E0B);
    border-radius: 6px 0 0 6px;
    box-shadow: inset -3px 0 6px rgba(0,0,0,0.15);
}
.cover-shadow {
    position: absolute;
    bottom: -18px;
    left: 10%;
    width: 80%;
    height: 26px;
    background: radial-gradient(ellipse, rgba(74,50,40,0.25), transparent 70%);
    filter: blur(4px);
}
.floating-badge {
    position: absolute;
    background: #fff;
    border: 2px solid rgba(245, 158, 11, 0.3);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    animation: floaty 4.5s ease-in-out infinite;
}
.badge-1 { top: 12%; right: -8px; }
.badge-2 { bottom: 16%; left: -12px; animation-delay: 1.2s; }

/* ===== Marquee ===== */
.marquee {
    background: linear-gradient(90deg, var(--pink), var(--amber), var(--pink));
    overflow: hidden;
    padding: 0.8rem 0;
    position: relative;
    z-index: 1;
}
.marquee-track {
    display: flex;
    gap: 2.5rem;
    width: max-content;
    animation: marquee 22s linear infinite;
}
.marquee span {
    color: #fff;
    font-family: 'Baloo 2', cursive;
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Seções ===== */
.section { max-width: 1100px; margin: 0 auto; padding: 4.5rem 1.5rem; position: relative; z-index: 1; scroll-margin-top: 90px; }
.section-alt {
    max-width: none;
    background: linear-gradient(180deg, var(--cream-2), #FFE7F0);
    border-block: 1px solid rgba(245, 158, 11, 0.15);
    scroll-margin-top: 90px;
}
.cta-final { scroll-margin-top: 90px; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 2.8rem; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0.8rem; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }
.section-note {
    margin-top: 2.5rem;
    background: #fff;
    border: 2px dashed rgba(245, 158, 11, 0.4);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.6rem;
    color: var(--ink-soft);
    text-align: center;
}

/* ===== Cards da história ===== */
.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}
.story-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.8rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(245, 158, 11, 0.15);
    transition: all 0.3s ease;
}
.story-card:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: var(--shadow); }
.story-emoji {
    font-size: 2.6rem;
    width: 74px;
    height: 74px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #FFF3D6, #FFE1EC);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.story-card:hover .story-emoji { transform: scale(1.15) rotate(8deg); }
.story-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.story-card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ===== Benefícios ===== */
.benefits-grid {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.benefit {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.6rem;
    border: 1px solid rgba(245, 158, 11, 0.15);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}
.benefit:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(244, 114, 182, 0.4); }
.benefit-icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 0.8rem;
}
.benefit h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.benefit p { color: var(--ink-soft); font-size: 0.93rem; }

/* ===== Preço ===== */
.preco-destaque { color: var(--pink-dark); }
.pricing-card {
    max-width: 460px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.2rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px solid rgba(244, 114, 182, 0.35);
    position: relative;
}
.pricing-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--pink-dark), var(--amber-dark));
    color: #fff;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}
.pricing-cover { font-size: 3rem; margin-bottom: 0.6rem; }
.pricing-card h3 { font-size: 1.5rem; margin-bottom: 1.2rem; }
.pricing-list { list-style: none; text-align: left; margin-bottom: 1.5rem; }
.pricing-list li {
    padding: 0.45rem 0;
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 0.98rem;
}
.pricing-price { display: flex; align-items: baseline; justify-content: center; gap: 0.8rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.price-old { color: var(--ink-soft); text-decoration: line-through; font-size: 1.1rem; }
.price-now { font-family: 'Baloo 2', cursive; font-size: 2.6rem; font-weight: 800; color: var(--pink-dark); }
.price-vezes { color: var(--ink-soft); font-size: 0.9rem; font-weight: 600; }
.pricing-card .btn-big { width: 100%; }
.pricing-safe { margin-top: 1rem; font-size: 0.82rem; color: var(--ink-soft); }

/* ===== Urgência / Contador regressivo ===== */
.urgency-box {
    background: linear-gradient(135deg, #FFF3D6, #FFE7F0);
    border: 2px dashed rgba(219, 39, 119, 0.4);
    border-radius: var(--radius-md);
    padding: 1.1rem 1rem;
    margin-bottom: 1.3rem;
    animation: urgency-pulse 2.5s ease-in-out infinite;
}
@keyframes urgency-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(219, 39, 119, 0); }
    50% { box-shadow: 0 0 0 6px rgba(219, 39, 119, 0.08); }
}
.urgency-label { font-size: 0.98rem; font-weight: 600; color: var(--ink); margin-bottom: 0.75rem; }
.urgency-label strong { color: var(--pink-dark); }
.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}
.cd-box {
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(245, 158, 11, 0.35);
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 0.65rem;
    min-width: 62px;
}
.cd-num {
    display: block;
    font-family: 'Baloo 2', cursive;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--pink-dark);
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.cd-label {
    font-size: 0.66rem;
    font-weight: 700;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.cd-sep {
    font-family: 'Baloo 2', cursive;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--amber-dark);
    animation: cd-blink 1s steps(2, start) infinite;
}
@keyframes cd-blink { to { visibility: hidden; } }
.urgency-note { margin-top: 0.75rem; font-size: 0.8rem; color: var(--ink-soft); font-weight: 600; }
.urgency-note strong { color: var(--red); }

/* ===== Selo de garantia ===== */
.guarantee-box {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-align: left;
    background: linear-gradient(135deg, #ECFDF5, #F0FDF4);
    border: 1px solid rgba(52, 211, 153, 0.45);
    border-radius: var(--radius-md);
    padding: 0.95rem 1.1rem;
    margin-top: 1.1rem;
}
.guarantee-icon { font-size: 2.1rem; flex-shrink: 0; }
.guarantee-box strong { display: block; font-size: 0.95rem; color: #166534; }
.guarantee-box p { font-size: 0.82rem; color: #15803D; margin: 0.15rem 0 0; line-height: 1.4; }

/* ===== Seção do aplicativo ===== */
.app-promo {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
}
.app-promo-text {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(245, 158, 11, 0.15);
}
.app-promo-text h3 { font-size: 1.4rem; margin-bottom: 1rem; color: var(--pink-dark); }
.app-features { list-style: none; margin-bottom: 1.2rem; }
.app-features li {
    padding: 0.5rem 0;
    color: var(--ink-soft);
    font-size: 0.98rem;
    border-bottom: 1px dashed rgba(245, 158, 11, 0.25);
}
.app-features li:last-child { border-bottom: none; }
.app-features strong { color: var(--ink); }
.app-promo-note { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 1.4rem; }
.app-promo-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }

.app-promo-phone { display: flex; justify-content: center; }
.phone-screen {
    width: 190px;
    background: linear-gradient(160deg, #FFD3E0, #FFF3D6);
    border: 4px solid #4A3228;
    border-radius: 26px;
    padding: 1.4rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    box-shadow: 0 24px 50px -20px rgba(74, 50, 40, 0.5);
    animation: floaty 5s ease-in-out infinite;
}
.phone-app-name {
    font-family: 'Baloo 2', cursive;
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--pink-dark);
    text-align: center;
    margin-bottom: 0.4rem;
}
.phone-stat {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    padding: 0.55rem 0.9rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--ink);
    text-align: center;
}

@media (max-width: 720px) {
    .app-promo { grid-template-columns: 1fr; }
    .app-promo-phone { order: -1; transform: scale(0.9); }
}

/* ===== Depoimentos ===== */
.avaliacao-nota {
    display: block;
    margin-top: 0.6rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--amber-dark);
    background: #fff;
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 999px;
    padding: 0.35rem 1rem;
    box-shadow: var(--shadow-sm);
}
.testimonials {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.testimonial {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(245, 158, 11, 0.15);
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    transition: all 0.3s ease;
}
.testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(244, 114, 182, 0.4); }
.t-header { display: flex; align-items: center; gap: 0.7rem; }
.t-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tc, var(--pink)), var(--amber));
    color: #fff;
    font-family: 'Baloo 2', cursive;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px -4px rgba(74, 50, 40, 0.35);
}
.t-id { flex: 1; min-width: 0; }
.t-name { font-weight: 700; color: var(--ink); font-size: 0.95rem; line-height: 1.25; }
.t-role { font-size: 0.78rem; color: var(--ink-soft); font-weight: 500; }
.t-verified {
    font-size: 0.68rem;
    font-weight: 700;
    color: #15803D;
    background: #ECFDF5;
    border: 1px solid rgba(52, 211, 153, 0.4);
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
    white-space: nowrap;
}
.t-stars { color: var(--amber); font-size: 1rem; letter-spacing: 2px; }
.testimonial p { color: var(--ink); font-style: italic; flex: 1; font-size: 0.95rem; }
.t-date { font-size: 0.75rem; color: var(--ink-soft); font-weight: 600; }

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid rgba(245, 158, 11, 0.2);
    padding: 1.1rem 1.4rem;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: rgba(244, 114, 182, 0.5); }
.faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: 'Baloo 2', cursive;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: linear-gradient(135deg, var(--pink), var(--amber));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: transform 0.3s ease;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item p { color: var(--ink-soft); padding-top: 0.8rem; font-size: 0.95rem; }

/* ===== CTA final ===== */
.cta-final {
    max-width: 820px;
    margin: 2rem auto 5rem;
    padding: 3.5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #FFD3E0, #FFE9C2, #C7EBFF);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
}
.cta-final h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 0.8rem; }
.cta-final p { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 1.8rem; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ===== Footer ===== */
.site-footer {
    text-align: center;
    padding: 2.2rem 1.5rem;
    background: var(--ink);
    color: #FDE8C8;
}
.site-footer .footer-small { font-size: 0.85rem; opacity: 0.75; margin-top: 0.3rem; }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsivo ===== */
@media (max-width: 860px) {
    .hero { grid-template-columns: 1fr; text-align: center; padding-top: 2.5rem; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-cta, .hero-meta { justify-content: center; }
    .hero-cover { order: -1; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border-bottom: 1px solid rgba(245, 158, 11, 0.18);
        box-shadow: var(--shadow-sm);
    }
    .nav-links.open { display: flex; }
    .nav-links a { text-align: center; padding: 0.8rem; }
    .menu-toggle { display: block; }
    .book-cover { transform: scale(0.92); }
    .badge-1 { right: 0; top: 6%; }
    .badge-2 { left: 0; bottom: 10%; }
}
