/* ============================================
   LEVE VIDA - STYLESHEET PRINCIPAL
   Arquivo: style.css
   Descrição: Estilos globais e componentes do site
   ============================================ */

/* ============================================
   VARIÁVEIS CSS
   Edite estas variáveis para personalizar cores
   ============================================ */
:root {
    /* Cores principais */
    --color-primary: #667eea;
    --color-secondary: #764ba2;
    --color-accent: #f093fb;
    
    /* Cores de texto */
    --color-text-dark: #333;
    --color-text-light: #666;
    --color-text-white: #ffffff;
    
    /* Cores de fundo */
    --color-bg-light: #f8f9fa;
    --color-bg-white: #ffffff;
    --color-bg-dark: #333;
    
    /* Gradiente */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    
    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 6px 12px rgba(0,0,0,0.15);
    
    /* Transições */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    
    /* Tamanhos */
    --container-max-width: 1200px;
    --border-radius: 10px;
    --header-height: 80px;
}

/* ============================================
   RESET CSS
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-bg-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* ============================================
   HEADER E NAVEGAÇÃO
   ============================================ */
.header {
    background-color: var(--color-bg-white);
    box-shadow: var(--shadow-md);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navegação */
.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--color-text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color var(--transition-normal);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--color-primary);
}

/* Menu Mobile */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    transition: all var(--transition-normal);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: var(--gradient-primary);
    color: var(--color-text-white);
    padding: 8rem 2rem 4rem;
    margin-top: var(--header-height);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,96C1248,75,1344,53,1392,42.7L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-cta {
    display: inline-block;
    background-color: var(--color-bg-white);
    color: var(--color-primary);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* ============================================
   CONTAINER GLOBAL
   ============================================ */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* ============================================
   SEÇÕES
   ============================================ */
section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--color-primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* ============================================
   GRID DE CARDS
   ============================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-title {
    font-size: 1.4rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.card-description {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.card-link {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 600;
    margin-top: 1rem;
    transition: all var(--transition-normal);
}

.card-link:hover {
    color: var(--color-secondary);
    transform: translateX(5px);
}

.card-link i {
    margin-left: 0.5rem;
    transition: transform var(--transition-normal);
}

.card-link:hover i {
    transform: translateX(3px);
}

/* ============================================
   BOTÕES
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-text-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background-color: var(--color-bg-white);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-text-white);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

/* ============================================
   FORMULÁRIOS
   ============================================ */
.form-container {
    background-color: var(--color-bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color var(--transition-normal);
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter {
    background: var(--gradient-primary);
    color: var(--color-text-white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.newsletter h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.newsletter p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 1;
    min-width: 250px;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-btn {
    padding: 1rem 2rem;
    background-color: var(--color-bg-white);
    color: var(--color-primary);
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--color-bg-dark);
    color: var(--color-text-white);
    padding: 3rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--color-text-white);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    transition: color var(--transition-normal);
}

.footer-section a:hover {
    color: var(--color-text-white);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-media {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-text-white);
    font-size: 1.2rem;
    transition: all var(--transition-normal);
}

.social-link:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   E-BOOK - SEÇÃO ESPECIAL
   ============================================ */
.ebook-showcase {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.ebook-cover {
    position: relative;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.ebook-cover img {
    width: 100%;
    height: auto;
}

.ebook-details h1 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.ebook-price {
    margin: 2rem 0;
}

.price-old {
    text-decoration: line-through;
    color: var(--color-text-light);
    font-size: 1.3rem;
}

.price-new {
    font-size: 2.5rem;
    color: var(--color-secondary);
    font-weight: bold;
    display: block;
    margin-top: 0.5rem;
}

.price-discount {
    display: inline-block;
    background-color: #ff4757;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-left: 1rem;
}

.benefits-list {
    list-style: none;
    margin: 2rem 0;
}

.benefits-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--color-text-dark);
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.3rem;
}

/* ============================================
   PAGINAÇÃO
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination-link {
    padding: 0.6rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: var(--color-text-dark);
    transition: all var(--transition-normal);
}

.pagination-link:hover,
.pagination-link.active {
    background: var(--gradient-primary);
    color: var(--color-text-white);
    border-color: transparent;
}

/* ============================================
   FILTROS
   ============================================ */
.filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--color-primary);
    background-color: transparent;
    color: var(--color-primary);
    border-radius: 25px;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--color-text-white);
}

/* ============================================
   DOWNLOADS LIST
   ============================================ */
.download-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
    transition: all var(--transition-normal);
}

.download-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.download-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
}

.download-info {
    flex: 1;
}

.download-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.3rem;
}

.download-meta {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.download-btn {
    padding: 0.7rem 1.5rem;
    background: var(--gradient-primary);
    color: var(--color-text-white);
    border-radius: 5px;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

/* Tablets */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 1.5rem;
    }
    
    .container {
        padding: 3rem 1.5rem;
    }
    
    .ebook-showcase {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Menu mobile */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - var(--header-height));
        background-color: var(--color-bg-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition-normal);
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 0.8rem 0;
        border-bottom: 1px solid #eee;
    }
    
    /* Hero */
    .hero {
        padding: 6rem 1.5rem 3rem;
    }
    
    /* Container */
    .container {
        padding: 2rem 1rem;
    }
    
    /* Cards */
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Newsletter */
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-input {
        min-width: 100%;
    }
    
    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Download items */
    .download-item {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* ============================================
   NOVOS ESTILOS - Sistema 3.0
   ============================================ */

/* Breadcrumbs */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    list-style: none;
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: var(--color-primary);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #666;
}

.breadcrumb i {
    font-size: 0.7rem;
    color: #999;
}

/* Links Relacionados (Clusters) */
.links-relacionados {
    background: #f8f9fa;
    padding: 3rem 2rem;
    border-radius: 15px;
    margin: 4rem 0;
}

.links-relacionados h3 {
    color: var(--color-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.link-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.link-card:hover {
    transform: translateY(-3px);
    border-color: var(--color-primary);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.link-card.alta {
    border-left: 4px solid var(--color-primary);
}

.link-card.média {
    border-left: 4px solid #ffa726;
}

/* E-book Hero */
.ebook-hero {
    padding: 4rem 2rem;
}

.ebook-hero-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.ebook-imagem {
    position: relative;
}

.capa-ebook {
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.preco-tag {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.preco-de {
    display: block;
    font-size: 0.9rem;
    text-decoration: line-through;
    opacity: 0.8;
}

.preco-por {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    margin: 0.5rem 0;
}

.desconto-badge {
    display: inline-block;
    background: #ff4444;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.ebook-info h1 {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.ebook-info .subtitulo {
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.ebook-info .autor {
    color: #666;
    margin-bottom: 2rem;
}

.ebook-info .descricao {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.garantia-rapida {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4caf50;
    font-weight: 600;
}

/* Benefícios Grid */
.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.beneficio-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.beneficio-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

/* Depoimentos */
.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.depoimento-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.depoimento-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.depoimento-header .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.estrelas {
    color: #ffa726;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.depoimento-texto {
    font-style: italic;
    line-height: 1.7;
}

/* Garantia Box */
.garantia-box {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    border: 3px solid #4caf50;
    margin: 3rem 0;
}

.garantia-box i {
    font-size: 4rem;
    color: #4caf50;
    margin-bottom: 1rem;
}

.garantia-box h3 {
    color: #2e7d32;
    margin-bottom: 1rem;
}

/* Downloads Grid */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.download-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.download-card:hover {
    transform: translateY(-5px);
}

.download-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.download-content {
    padding: 2rem;
    text-align: center;
}

.download-content i {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.download-meta {
    color: #999;
    font-size: 0.9rem;
    margin: 1rem 0;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 3rem auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.faq-pergunta {
    width: 100%;
    padding: 1.5rem;
    background: white;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-secondary);
    transition: all 0.3s;
}

.faq-pergunta:hover {
    background: #f8f9fa;
}

.faq-pergunta i {
    transition: transform 0.3s;
}

.faq-resposta {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}

.faq-resposta p {
    padding: 0 1.5rem 1.5rem;
    line-height: 1.7;
    color: #666;
}

/* CTA Final */
.cta-final {
    background: var(--gradient-primary);
    color: white;
    padding: 4rem 2rem;
    border-radius: 20px;
    text-align: center;
    margin: 4rem 0;
}

.cta-final h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.preco-destaque {
    margin: 2rem 0;
}

.preco-grande {
    display: block;
    font-size: 3rem;
    font-weight: bold;
}

.preco-parcelado {
    display: block;
    font-size: 1.2rem;
    opacity: 0.9;
}

.garantia-texto {
    margin-top: 2rem;
    opacity: 0.95;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
}

/* Notificações */
.notificacao {
    position: fixed;
    bottom: -100px;
    right: 2rem;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: bottom 0.3s;
}

.notificacao.show {
    bottom: 2rem;
}

.notificacao-success {
    border-left: 5px solid #4caf50;
}

/* Responsive */
@media (max-width: 768px) {
    .ebook-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .preco-tag {
        position: static;
        margin-top: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SISTEMA DE ARTIGOS DINÂMICOS
   ============================================ */

/* Seção de artigos */
.artigos-section {
    margin: 4rem 0;
}

.artigos-section:first-of-type {
    margin-top: 2rem;
}

/* Grid de artigos */
.artigos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.artigos-grid.destaque {
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
}

/* Card de artigo */
.artigo-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.artigo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.artigo-card.card-destaque {
    border: 2px solid var(--color-primary);
}

/* Imagem do artigo */
.artigo-imagem {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    background-color: #e0e0e0;
    position: relative;
}

.card-destaque .artigo-imagem {
    height: 260px;
}

.artigo-imagem::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

/* Conteúdo do card */
.artigo-conteudo {
    padding: 1.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Categoria */
.artigo-categoria {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: white;
    border-radius: 25px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
    margin-bottom: 1rem;
    align-self: flex-start;
}

/* Título do artigo */
.artigo-titulo {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.card-destaque .artigo-titulo {
    font-size: 1.6rem;
}

.artigo-titulo a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.artigo-titulo a:hover {
    color: var(--color-primary);
}

/* Resumo */
.artigo-resumo {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

/* Footer do card */
.artigo-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.2rem;
    border-top: 1px solid #e0e0e0;
}

.artigo-data {
    color: #999;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.artigo-data::before {
    content: '📅';
    margin-right: 0.5rem;
}

.artigo-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.artigo-link:hover {
    color: var(--color-accent);
    gap: 0.8rem;
}

.artigo-link i {
    transition: transform 0.3s;
}

.artigo-link:hover i {
    transform: translateX(3px);
}

/* Busca de artigos */
#busca-artigos {
    width: 100%;
    max-width: 600px;
    padding: 1rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-size: 1rem;
    margin: 2rem auto;
    display: block;
    transition: all 0.3s;
}

#busca-artigos:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

/* Responsivo */
@media (max-width: 768px) {
    .artigos-grid,
    .artigos-grid.destaque {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .artigo-imagem,
    .card-destaque .artigo-imagem {
        height: 200px;
    }
    
    .artigo-conteudo {
        padding: 1.5rem;
    }
    
    .artigo-titulo,
    .card-destaque .artigo-titulo {
        font-size: 1.2rem;
    }
}
