:root {
    --bg-dark: #0a0a0a;
    --bg-surface: #141415;
    --bg-surface-elevated: #1f1f22;
    --gold: #d4af37; /* Premium Gold */
    --gold-hover: #f0c950;
    --gold-muted: rgba(212, 175, 55, 0.2);
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(212, 175, 55, 0.4);
    
    --font-sans: 'Outfit', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 500;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.section-title span {
    font-weight: 700;
    color: var(--gold);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 3rem;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--gold-muted);
    color: var(--gold);
    border: 1px solid var(--border-gold);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--gold);
    color: #000;
}

.btn-primary:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    color: var(--text-primary);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo span {
    color: var(--gold);
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px; /* Offset nav */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.05) 0%, rgba(10, 10, 10, 1) 60%);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.headline {
    font-size: 4rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.headline .highlight {
    font-weight: 700;
    color: var(--gold);
}

.hero-text .subheadline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hero-actions .btn-ghost i {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(5px); }
    60% { transform: translateY(3px); }
}

.mockup-image {
    width: 100%;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5));
}

.mockup-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transform: scale(1.25);
    transition: transform var(--transition);
}

.mockup-image.small img {
    transform: scale(1.15);
}

/* TENSION SECTION */
.tension {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.tension-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.tension-cards {
    display: grid;
    gap: 1.5rem;
}

.t-card {
    background: var(--bg-surface-elevated);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.t-card i {
    font-size: 2.5rem;
    color: var(--gold);
}

.t-card h3 {
    font-size: 1.2rem;
}

.t-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* BELIEF BREAK */
.belief-break {
    text-align: center;
    padding: 120px 0;
}

.lines-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    opacity: 0.5;
}

.belief-content h2 {
    font-size: 3rem;
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.belief-content h2 span {
    color: var(--text-primary);
}

.separator-gold {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 3rem auto;
}

.belief-content .the-truth {
    font-size: 4rem;
    color: var(--text-primary);
    font-weight: 600;
}

.belief-content .the-truth span {
    color: var(--gold);
}

/* BOOK PRESENTATION */
.book-presentation {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-surface) 100%);
}

.presentation-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.mockup-image.small {
    /* Sem constraint de proporção, deixa a imagem guiar. */
}

.presentation-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.book-benefits {
    margin-top: 2rem;
    display: grid;
    gap: 1rem;
}

.book-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
}

.book-benefits i {
    color: var(--gold);
    font-size: 1.5rem;
}

/* FRAMEWORK */
.framework {
    background: var(--bg-surface);
}

.framework .center-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.framework-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.f-card {
    background: var(--bg-surface-elevated);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.f-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-muted);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--gold-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.icon-wrapper i {
    font-size: 1.8rem;
    color: var(--gold);
}

.f-card h3 {
    margin-bottom: 1rem;
}

.f-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* AUTHOR */
.author-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.author-role {
    color: var(--gold);
    font-weight: 500;
    margin-top: -0.5rem;
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.author-text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.author-photo {
    width: 100%;
    position: relative;
}

.author-photo img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    object-fit: cover;
}

/* CAPTURE FORM */
.capture {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
}

.capture-box {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.capture-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.capture-form-wrapper {
    background: var(--bg-dark);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: inset 0 0 40px rgba(0,0,0,0.5);
}

/* START: FORÇAR RESET DO ACTIVECAMPAIGN COM ALTA ESPECIFICIDADE */
#captura ._form_13,
#captura ._form_13 * {
    font-family: inherit !important;
}

#captura ._form_13,
#captura ._form_13._inline-form,
#captura ._form-content,
#captura form {
    background-color: transparent !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

#captura ._form-branding,
#captura ._ac_branding,
#captura a[href*="activecampaign"] {
    display: none !important;
}

#captura ._form-title,
#captura ._form_13 h1,
#captura ._form_13 h2,
#captura ._form_13 h3 {
    display: block !important;
    color: var(--text-primary) !important;
    font-size: 1.5rem !important;
    margin-bottom: 0.5rem !important;
    font-weight: 600 !important;
}

#captura ._form-text,
#captura ._html-code,
#captura ._form_13 p,
#captura ._form-html {
    display: block !important;
    color: var(--text-secondary) !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
}

#captura label,
#captura ._form_13 label {
    display: block !important;
    color: var(--text-secondary) !important;
    font-size: 0.95rem !important;
    margin-bottom: 0.5rem !important;
    font-weight: 500 !important;
    text-align: left !important;
}

#captura input[type="text"],
#captura input[type="email"],
#captura input[type="tel"],
#captura ._form_13 input {
    width: 100% !important;
    padding: 14px 18px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: var(--radius-sm) !important;
    color: var(--text-primary) !important;
    font-size: 1rem !important;
    margin-bottom: 1.5rem !important;
    transition: var(--transition) !important;
    box-sizing: border-box !important;
}

#captura input:focus {
    outline: none !important;
    border-color: var(--gold) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1) !important;
}

#captura input::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
}

#captura button._submit,
#captura button[type="submit"] {
    width: 100% !important;
    background: var(--gold) !important;
    background-color: var(--gold) !important;
    color: #000 !important;
    padding: 16px 24px !important;
    border: none !important;
    border-radius: 100px !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    margin-top: 0.5rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: none !important;
}

#captura button._submit:hover,
#captura button[type="submit"]:hover {
    background: var(--gold-hover) !important;
    background-color: var(--gold-hover) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2) !important;
}
/* END: FORÇAR RESET DO ACTIVECAMPAIGN */

/* FINAL CTA */
.final-cta {
    text-align: center;
    background: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dotted" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect x="0" y="0" width="100%" height="100%" fill="url(%23dotted)"/></svg>'), var(--bg-dark);
}

.final-box h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
}

.final-box h2 span {
    font-weight: 700;
    color: var(--gold);
}

/* FOOTER */
footer {
    background: var(--bg-surface-elevated);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ANIMATIONS CONFIG */
.fade-in-up, .reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
}

/* Classes de Animação ativadas por JS */
.fade-in-up.active {
    animation: fadeInUp 0.8s forwards ease-out;
}

.reveal-up.active {
    animation: fadeInUp 0.8s forwards ease-out;
}

.reveal-left.active {
    animation: revealLeft 0.8s forwards ease-out;
}

.reveal-right.active {
    animation: revealRight 0.8s forwards ease-out;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes revealLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes revealRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* MEDIA QUERIES */
@media (max-width: 1024px) {
    .framework-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .capture-box {
        padding: 3rem;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* Navbar Adjustment */
    .navbar {
        position: relative; /* avoids overlapping hero if it gets too tall */
        background: var(--bg-dark);
        border-bottom: 1px solid var(--border-color);
        padding: 15px 0;
    }
    
    .nav-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .hero {
        padding-top: 60px; /* Reduzido pois navbar não é fixed no mobile */
        min-height: auto;
        padding-bottom: 40px;
    }

    .hero-content, 
    .tension-grid, 
    .presentation-grid, 
    .author-grid, 
    .capture-box {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .headline {
        font-size: 2.6rem;
    }

    /* Impedir que imagens quebrem layout mobile */
    .mockup-image img,
    .mockup-image.small img {
        transform: scale(1);
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }
    
    .hero-actions {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .belief-content h2 {
        font-size: 1.8rem;
    }
    
    .belief-content .the-truth {
        font-size: 2.3rem;
    }

    .author-image {
        grid-row: 1; /* Move a foto para cima no mobile */
        max-width: 250px;
        margin: 0 auto;
    }

    .presentation-image {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .book-benefits {
        text-align: left;
        display: inline-block;
    }
    
    .book-benefits li {
        align-items: flex-start;
    }
    
    .book-benefits i {
        margin-top: 4px;
        flex-shrink: 0;
    }
    
    .framework-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .capture-box {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .headline { font-size: 2.2rem; }
    .belief-content .the-truth { font-size: 1.8rem; }
    .section-title { font-size: 2rem; }
}
