:root {
    /* Color Palette - Premium Coffee & Spiritual Gold */
    --primary: #d4a373;
    /* Golden Coffee */
    --primary-light: #faedcd;
    /* Cream */
    --primary-dark: #bc8a5f;
    /* Deep Tan */
    --accent: #e0a100;
    /* Rich Gold */
    --bg-dark: #1a0f0e;
    /* Espresso Night */
    --bg-darker: #0d0807;
    /* Roasted Black */
    --bg-card: rgba(46, 31, 28, 0.4);
    /* Coffee Glass */
    --text-main: #fdfaf3;
    /* Off White / Paper */
    --text-muted: #a89491;
    /* Warm Gray */
    --glass-border: rgba(212, 163, 115, 0.15);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    /* Misc */
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-premium: 0 20px 50px rgba(0, 0, 0, 0.5);
    --glow-gold: 0 0 20px rgba(224, 161, 0, 0.3);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-darker);
    background-image:
        radial-gradient(circle at 50% 0%, rgba(212, 163, 115, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 100% 50%, rgba(188, 138, 95, 0.05) 0%, transparent 40%);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.7;
}

/* Typography Styles */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--primary);
}

p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 100px 0;
    position: relative;
}

.center {
    text-align: center;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(15px);
    background: rgba(13, 8, 7, 0.8);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 80px;
    transition: transform 0.3s ease;
    /* Transforma o logo preto em Dourado/Branco e remove o fundo */
    filter: invert(1) sepia(1) saturate(5) hue-rotate(10deg) brightness(1.1);
    mix-blend-mode: screen;
}

.nav-logo:hover {
    transform: scale(1.05);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.8rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    /* Classic book/premium feel uses less round corners */
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent);
    color: #1a0f0e;
    box-shadow: var(--glow-gold);
}

.btn-primary:hover {
    transform: translateY(-5px);
    background: #ffb703;
    box-shadow: 0 10px 30px rgba(224, 161, 0, 0.4);
}

.btn-sm {
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
}

/* Specific Style for Kiwify Buttons as requested: Orange to Purple-ish Gradient */
a[href*='kiwify'],
.btn-checkout {
    background: linear-gradient(135deg, #f59e0b 0%, #a78bfa 100%);
    color: #fff !important;
    border-radius: 50px;
    /* Modern touch for the main CTA */
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

a[href*='kiwify']:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    background:
        linear-gradient(rgba(13, 8, 7, 0.8), rgba(13, 8, 7, 0.9)),
        url('https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?auto=format&fit=crop&q=80&w=2070') center/cover no-repeat;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-book-wrapper {
    position: relative;
    perspective: 1000px;
}

.hero-book-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.7));
    animation: bookFloat 6s ease-in-out infinite;
    border-radius: 4px 15px 15px 4px;
}

@keyframes bookFloat {

    0%,
    100% {
        transform: translateY(0) rotateX(0deg);
    }

    50% {
        transform: translateY(-20px) rotateX(2deg);
    }
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(212, 163, 115, 0.15);
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border-radius: 50px;
}

/* Cards & Grid */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(46, 31, 28, 0.6);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--bg-darker);
    margin-bottom: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Special Highlighting */
.highlight-box {
    background: linear-gradient(to right, rgba(224, 161, 0, 0.1), transparent);
    border-left: 4px solid var(--accent);
    padding: 2rem;
    margin: 2rem 0;
    font-family: var(--font-body);
}

/* Author Section */
.author-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.author-img-wrapper {
    position: relative;
}

.author-img {
    width: 100%;
    border-radius: 20px;
    filter: sepia(20%) contrast(1.1);
    box-shadow: var(--shadow-premium);
}

.author-img-wrapper::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--primary);
    border-radius: 20px;
    z-index: -1;
}

/* Footer & Socials */
footer {
    padding: 60px 0;
    background: var(--bg-darker);
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.socials-grid {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.socials-grid a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent);
    border-radius: 50%;
    color: var(--accent);
    font-size: 1.3rem;
    transition: var(--transition);
}

.socials-grid a:hover {
    background: var(--accent);
    color: var(--bg-darker);
    box-shadow: var(--glow-gold);
}

/* Animations Logic */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {

    .hero-grid,
    .author-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-book-wrapper {
        order: -1;
        display: flex;
        justify-content: center;
    }

    .hero-book-img {
        max-width: 300px;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        display: none;
    }

    .navbar .container {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .glass-card {
        padding: 2rem;
    }
}
/* ===== CORREÇÃO DEFINITIVA HOSTGATOR ===== */
.reveal,
.reveal * {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

.hero,
section,
footer {
    display: block !important;
    height: auto !important;
    min-height: auto !important;
}
