/* --- GLOBAL STYLES & VARIABLES --- */
:root {
    --bg-dark: #101010;
    --bg-medium: #181818;
    --gold: #D4AF37;
    --gold-dark: #a88a2c;
    --text-light: #EAEAEA;
    --text-medium: #b0b0b0;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Cormorant Garamond', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: hidden;
}


body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-primary);
    /* A propriedade overflow-x foi movida para a tag html, 
       mas pode ser mantida aqui também por segurança. O mais importante é tê-la no html. */
}
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- REUSABLE COMPONENTS --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--bg-dark);
    border-color: var(--gold);
}

.btn-primary:hover {
    background-color: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn-secondary:hover {
    background-color: var(--gold);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.section-title {
    font-family: var(--font-secondary);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight {
    color: var(--gold);
}

/* --- HEADER --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    z-index: 1000;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.header.scrolled {
    background-color: rgba(16, 16, 16, 0.85);
    backdrop-filter: blur(10px);
    padding: 10px 0;
}


.logo img {
    height: 60px;
    transition: height 0.3s ease;
}

.header.scrolled .logo img {
    height: 55px;
}

.nav-links a {
    color: var(--text-medium);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-light);
}

/* Cor dos links da navegação */
.navbar .nav-link {
    color: var(--text-medium);
    font-weight: 400;
    transition: color 0.3s ease;
    text-align: center;
    /* Centraliza texto no mobile */
    padding: 10px 0;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    /* Estilo para link ativo */
    color: var(--text-light);
}


/* Customização do botão 'hambúrguer' para usar a cor --gold */
.navbar-toggler {
    border: 1px solid var(--gold);
    /* Borda do botão dourada */
    transition: box-shadow 0.2s ease-in-out;
}

/* Remove a sombra azul padrão do Bootstrap no foco */
.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.4);
}

.navbar-toggler-icon {
    /* O SVG do ícone agora tem a cor --gold */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28212, 175, 55, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* 2. DIVISÓRIAS DOURADAS ENTRE OS LINKS */

/* Estilo para MOBILE (menu recolhido) */
@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 15px;
        background-color: rgba(20, 20, 20, 0.9);
        backdrop-filter: blur(5px);
        border-radius: 10px;
        padding: 0;
        /* Remove padding para a borda ir de ponta a ponta */
        border-bottom: 1px solid #2a2a2a;
        overflow: hidden;
        /* Garante que os cantos fiquem arredondados */
    }

    /* Adiciona uma borda na parte de baixo de cada item, menos o último */
    .navbar-nav .nav-item:not(:last-child) {
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    }
}



/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--text-medium);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* --- AURORA BACKGROUND EFFECT --- */
.aurora-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.15) 0%, rgba(16, 16, 16, 0) 60%);
    z-index: -1;
    animation: aurora-pulse 15s infinite ease-in-out;
}

@keyframes aurora-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
}

/* --- GENERAL SECTION STYLING --- */
section {
    padding: 60px 0;
    position: relative;
}

.content-section {
    display: flex;
    align-items: center;
    gap: 60px;
}

.text-container {
    flex: 1;
}

.image-container {
    flex: 1;
    text-align: center;
}

@media (max-width: 768px) {
    .content-section {
        flex-direction: column;
    }

    .content-section.autor {
        flex-direction: column-reverse;
    }
}

/* --- LIVRO & AUTOR SECTIONS --- */
.livro,
.autor {
    background-color: var(--bg-dark);
}

.image-container img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.autor-img {

    border-radius: 10px;
    border: 5px solid var(--gold);
    max-width: 300px;
    width: 100%;
}

.autor-img-mobile {
    border-radius: 999px;
    border: 5px solid var(--gold);
    max-height: 200px;

}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.main-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-style: italic;
}

.highlight-text {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 700;
}

.livro ul {
    list-style: none;
    margin: 2rem 0;
}

.livro ul li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.livro ul li svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* --- DIAGNOSTICO SECTION --- */
.diagnostico {
    background-color: var(--bg-medium);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header p {
    color: var(--text-medium);
    font-size: 1.2rem;
    line-height: 1.6;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: linear-gradient(145deg, #1c1c1c, #151515);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #2a2a2a;
    text-align: center;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.card h3 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #b0b0b0;
}

.card-desc {
    color: var(--text-medium);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.features {
    list-style: none;
    text-align: left;
    margin-bottom: 2.5rem;
    color: var(--text-medium);
    flex-grow: 1;
}

.features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.features li::before {
    content: '✓';
    color: var(--gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.card.featured {
    border-color: var(--gold);
    transform: scale(1.05);
    position: relative;
}

.featured-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--gold);
    color: var(--bg-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* --- FINAL CTA SECTION --- */
.final-cta {
    text-align: center;
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-dark);
}

.final-cta h2 {
    font-family: var(--font-secondary);
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.final-cta p {
    max-width: 600px;
    margin: 20px auto 40px;
    color: var(--text-medium);
    font-size: 1.2rem;
}

.valor {
    color: #b0b0b0;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* --- FOOTER --- */
.footer {
    background-color: #0c0c0c;
    padding: 40px 20px;
    text-align: center;
    color: var(--text-medium);
}

.footer .disclaimer {
    font-size: 0.8rem;
    color: #555;
    margin-top: 10px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Adicione estas classes ao final do seu arquivo style.css */

.livro-lista-beneficios {
    list-style: none;
    padding-left: 0;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.livro-lista-beneficios li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.livro-lista-beneficios li svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* ========================================================= */
/* ESTILOS ADICIONAIS PARA O NOVO RODAPÉ ESTILIZADO          */
/* ========================================================= */

.footer-main-content {
    padding-bottom: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Espaço entre o ícone e o texto */
    color: var(--text-medium);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--gold); /* Destaque dourado ao passar o mouse */
}

/* Divisória dourada e sutil */
.footer-divider {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(212, 175, 55, 0), rgba(212, 175, 55, 0.5), rgba(212, 175, 55, 0));
    margin: 20px auto;
}

.footer-bottom {
    padding-top: 10px;
}

/* Estilo para os créditos do desenvolvedor */
.developer-credit {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 20px;
}

.developer-credit a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.developer-credit a:hover {
    color: var(--gold-dark);
}

/* Ajusta o disclaimer para ficar menos destacado */
.footer .disclaimer {
    font-size: 0.8rem;
    color: #555;
    margin-top: 0;
}

/* ========================================================= */
/* AJUSTES RESPONSIVOS PARA O CARD DE OFERTA EM DISPOSITIVOS MÓVEIS */
/* ========================================================= */
@media (max-width: 767.98px) {

    /* Diminui o espaçamento da seção em telas pequenas para dar mais foco ao card */
    section#oferta {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    /* Ajusta o card principal para mobile */
    .card.featured {
        /* Remove o efeito de 'zoom' que consome espaço precioso no celular */
        transform: scale(1);

        /* Diminui drasticamente o padding interno para o conteúdo respirar */
        padding: 30px 20px;
    }

    /* Reduz o tamanho da fonte do título do card */
    .card h3 {
        font-size: 1.7rem;
    }

    /* Reduz o tamanho da fonte do preço para melhor encaixe */
    .card .valor {
        font-size: 2rem;
    }

    /* Faz o botão de ação ocupar 100% da largura do card, 
       facilitando o clique e criando um visual mais moderno no mobile */
    .card .btn {
        width: 100%;
        padding: 16px;
        font-size: 1rem;
    }

    /* Diminui um pouco o tamanho da fonte na lista de benefícios */
    .features li {
        font-size: 1rem;
    }

    ul {
        padding-left: 0;
    }
}

/* ========================================================= */
/* ESTILOS PARA AJUSTES DE CONVERSÃO NA HERO SECTION         */
/* ========================================================= */

/* Estilo para a prova social (frase de autoridade) */
.social-proof {
    font-size: 0.9rem;
    color: var(--text-medium);
    font-style: italic;
    opacity: 0.8;
}

/* Novo estilo para o botão secundário, para que pareça um link sutil */
.btn.btn-link-subtle {
    background: transparent;
    border-color: transparent;
    color: var(--text-medium);
    text-decoration: none;
    text-transform: none; /* Remove o uppercase padrão da classe .btn */
    font-weight: 400; /* Deixa a fonte mais leve */
    letter-spacing: normal;
    box-shadow: none;
}

.btn.btn-link-subtle:hover {
    color: var(--gold); /* Destaque dourado ao passar o mouse */
    background: transparent;
    transform: none; /* Remove o efeito de levantar do .btn:hover */
    box-shadow: none;
}