:root {
    --primary-color: #0d2531;
    /* Mais profundo */
    /* Azul Escuro (Textos e Títulos) */
    --secondary-color: #d35400;
    /* Laranja Queimado (Destaques Texto) */
    --accent-green: #1b4d3e;
    /* Verde Escuro (Botões e Linhas) */
    --bg-color: #fbf8f1;
    /* Off-white Papel */
    --bg-surface: #f4f1ea;
    /* Bege claro */
    --text-color: #0a1f29;
    /* Azul muito escuro para texto */
    --text-muted: #4a6572;
    /* Azul acinzentado */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lora', serif;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(15, 46, 61, 0.1);
    --shadow-soft: 0 10px 40px rgba(15, 46, 61, 0.08);
    --shadow-hover: 0 20px 50px rgba(21, 56, 44, 0.15);
    --transition: all 0.4s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.8;
    overflow-x: hidden;
    position: relative;
    background-image: radial-gradient(#2d5a4c 0.5px, transparent 0.5px);
    background-size: 40px 40px;
    /* Textura sutil de pontilhados */
    background-position: 0 0, 20px 20px;
    background-blend-mode: overlay;
    opacity: 1;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Utilities */
.highlight {
    color: var(--secondary-color);
    font-style: italic;
    font-weight: 600;
}

.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(15, 46, 61, 0.05);
    border-radius: 12px;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    /* Botões arredondados clássicos */
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent-green), #2ecc71);
    color: #fff;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
    position: relative;
    overflow: hidden;
    animation: pulse-green 2s infinite;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(46, 204, 113, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: 0.5s;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(27, 77, 62, 0.4);
    background-color: #153e32;
}

.btn-secondary {
    background: transparent;
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
    margin-left: 15px;
}

.btn-secondary:hover {
    background: var(--accent-green);
    color: #fff;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(251, 248, 241, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-menu a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

.nav-menu a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-green);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu .btn-nav {
    padding: 12px 30px;
    background: linear-gradient(45deg, var(--accent-green), #27ae60);
    color: white;
    border-radius: 50px;
    transition: var(--transition);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
    animation: pulse-green 2s infinite;
}

.nav-menu .btn-nav:hover {
    background: #153e32;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.5);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.c1 {
    width: 500px;
    height: 500px;
    background: #e8e0d0;
    /* Beige escuro */
    top: -10%;
    right: -10%;
    animation: float 15s infinite ease-in-out;
}

.c2 {
    width: 400px;
    height: 400px;
    background: #d1e2d7;
    /* Verde claro pastel */
    bottom: 0%;
    left: -5%;
    animation: float 18s infinite ease-in-out reverse;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-text .badge {
    background: rgba(27, 77, 62, 0.1);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
    display: inline-block;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.hero-text h1 span {
    font-style: italic;
    font-weight: 400;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.ebook-container {
    position: relative;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-book {
    max-width: 80%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    transform: rotateY(-10deg);
    transition: transform 0.5s ease;
}

.floating-book:hover {
    transform: rotateY(0deg) scale(1.02);
}

/* Features */
.features {
    padding: 100px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.feature-card {
    padding: 40px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 4px 15px rgba(13, 37, 49, 0.2);
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Product Section */
.product {
    padding: 100px 0;
    background-color: var(--bg-surface);
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.feature-list {
    margin-top: 35px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.15rem;
    color: var(--text-color);
}

.feature-list i {
    color: #fff;
    background-color: var(--primary-color);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.code-block {
    padding: 30px;
    /* Transform code block into a quote/highlight block */
    background: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    position: relative;
    border: none;
    box-shadow: var(--shadow-soft);
    border-radius: 8px;
    line-height: 1.8;
}

.code-block pre {
    white-space: pre-wrap;
    color: var(--text-color);
    font-family: var(--font-body);
}

.code-block::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 5rem;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    opacity: 0.5;
}

.code-header {
    display: none;
    /* Turn off code dots */
}

/* CTA Section */
.cta {
    padding: 120px 0;
}

.cta-box {
    text-align: center;
    padding: 70px 30px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(27, 77, 62, 0.1);
}

.cta-box::before {
    display: none;
}

.cta-box .badge {
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 20px;
}

.price-tag {
    font-size: 5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--secondary-color);
    /* Laranja queimado */
    margin: 10px 0;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 5px;
    line-height: 1;
}

.old-price {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: -10px;
}

.installments {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 30px;
}

.currency,
.cents {
    font-size: 2rem;
    color: var(--text-muted);
    font-weight: 400;
}

.btn-large {
    padding: 20px 60px;
    font-size: 1.25rem;
    background: linear-gradient(135deg, var(--accent-green), #103328);
    box-shadow: 0 15px 35px rgba(27, 77, 62, 0.3);
    letter-spacing: 1.5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-large:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(27, 77, 62, 0.4);
    background: linear-gradient(135deg, #1b4d3e, #0d2b21);
}

.guarantee {
    margin-top: 30px;
    font-size: 0.95rem;
    color: var(--text-muted);
    opacity: 0.8;
}

/* Footer */
footer {
    padding: 60px 0;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    color: var(--text-muted);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.socials {
    display: flex;
    gap: 20px;
}

.socials a {
    color: var(--primary-color);
    font-size: 1.3rem;
    transition: var(--transition);
}

.socials a:hover {
    color: var(--secondary-color);
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -20px);
    }
}

/* Scroll Animations Classes */
.fade-in-up,
.fade-in-left,
.fade-in-right {
    opacity: 0;
    transition: all 1s ease-out;
}

.fade-in-up {
    transform: translateY(40px);
}

.fade-in-left {
    transform: translateX(-40px);
}

.fade-in-right {
    transform: translateX(40px);
}

.visible {
    opacity: 1;
    transform: translate(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 3rem;
    }
}

/* Mobile CTA Button (Hidden on Desktop) */
.mobile-cta-btn {
    display: none;
    background: var(--accent-green);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
    animation: pulse-green 2s infinite;
}

@media (max-width: 768px) {
    .mobile-cta-btn {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        /* Fullscreen on mobile */
        height: 100vh;
        background: #fbf8f1;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 1000;
        flex-direction: column;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .nav-menu a {
        font-size: 1.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 50px;
    }

    .hero-text p {
        margin: 0 auto 30px;
        font-size: 1.1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 20px;
    }

    .btn-secondary {
        margin-left: 0;
    }

    .hero-image {
        order: -1;
        margin-bottom: 30px;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .ebook-container {
        margin-top: 0;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }

    .product-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .cta-box {
        padding: 40px 20px;
    }

    .price-tag {
        font-size: 3.5rem;
    }
}

/* Adicionando estilos para a seção Problem Intro */
.problem-intro {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
    text-align: center;
}

.problem-intro .section-header {
    text-align: center;
    margin-bottom: 0;
}

.problem-text-detail {
    margin-top: 20px;
    font-size: 1.1rem;
    color: var(--text-color);
}

.problem-image {
    order: -1;
    /* Imagem acima do texto */
    width: 100%;
    margin: 0 auto;
}

.problem-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    object-fit: cover;
}

@media (min-width: 769px) {
    /* Layout Desktop: lado a lado ou manter vertical? 
       O usuário pediu "imagem em cima e texto embaixo" sem especificar mobile.
       Vou manter vertical mas com imagem menor ou layout flex controlado se ele quisesse lado a lado.
       Mas vou seguir o pedido literal. Imagem em cima. 
    */
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--bg-surface);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    /* Fallback */
}

.placeholder-avatar {
    background: #bdc3c7;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.testimonial-info h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
    color: var(--primary-color);
}

.testimonial-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stars {
    color: #f1c40f;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
}

/* Author Section */
.author-section {
    padding: 100px 0;
    background: #fff;
}

.author-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.author-image {
    flex: 1;
    position: relative;
}

.author-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-hover);
}

.author-text {
    flex: 1;
}

.author-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.author-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--bg-surface);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(0, 0, 0, 0.01);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: var(--text-muted);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 25px;
    padding-top: 0;
    max-height: 300px;
}

@media (max-width: 768px) {
    .author-content {
        flex-direction: column;
        gap: 40px;
    }

    .author-text {
        text-align: center;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

/* Evolution Section (Before/After) */
.evolution-section {
    padding: 100px 0;
    background: #fff;
}

.evolution-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.comparison-wrapper {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.evolution-card {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.evolution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.evolution-card img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.evolution-label {
    margin-top: 15px;
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.evolution-date {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.evolution-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.stat-badge {
    background: var(--bg-surface);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}

.evolution-arrow {
    font-size: 3rem;
    color: var(--secondary-color);
    animation: float-horizontal 2s infinite ease-in-out;
}

@keyframes float-horizontal {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(10px);
    }
}

@media (max-width: 768px) {
    .evolution-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
        animation: float-vertical 2s infinite ease-in-out;
    }

    @keyframes float-vertical {

        0%,
        100% {
            transform: translateY(0) rotate(90deg);
        }

        50% {
            transform: translateY(10px) rotate(90deg);
        }
    }
}