/*
    Neural da Redação - Landing Page Premium
    Tema: Dark Editorial
*/

:root {
    /* Paleta de Cores */
    --bg-main: #0f1720;
    --bg-sec: #131d28;
    --bg-ter: #172230;

    --accent: #7a1230;
    --accent-hover: #96183e;
    --accent-light: #d82b5e;

    --text-main: #ffffff;
    --text-sec: #a0aec0;
    --text-muted: #718096;

    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(255, 255, 255, 0.15);

    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(122, 18, 48, 0.3);

    /* Tipografia */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    /* Espaçamentos e Layout */
    --container-width: 1140px;
    --section-spacing: 6rem;
    --border-radius: 8px;

    /* Transições */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
}

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

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

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

/* =========================================================================
   TIPOGRAFIA
   ========================================================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
}

p {
    margin-bottom: 1rem;
    color: var(--text-sec);
}

em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 600;
    letter-spacing: normal;
}

.text-center {
    text-align: center;
}

.text-accent {
    color: var(--accent-light);
}

.text-white {
    color: var(--text-main);
}

.fw-medium {
    font-weight: 500;
}

.fw-semibold {
    font-weight: 600;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-sec);
    line-height: 1.7;
}

/* =========================================================================
   LAYOUT UTILS
   ========================================================================= */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.section {
    padding: var(--section-spacing) 0;
}

.bg-secondary {
    background-color: var(--bg-sec);
}

.bg-tertiary {
    background-color: var(--bg-ter);
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.flex {
    display: flex;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-1 {
    gap: 1rem;
}

.gap-2 {
    gap: 2rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-4 {
    margin-top: 4rem;
}

/* =========================================================================
   COMPONENTES
   ========================================================================= */

/* Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
    border: none;
    line-height: 1.2;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-main);
    box-shadow: 0 4px 15px rgba(122, 18, 48, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(122, 18, 48, 0.6);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--border-color-hover);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: rgba(122, 18, 48, 0.15);
    color: var(--accent-light);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(122, 18, 48, 0.3);
}

/* Cards */
.card {
    background-color: var(--bg-sec);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: transform var(--transition-base), border-color var(--transition-base);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(122, 18, 48, 0.1);
    color: var(--accent-light);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

/* Listas customizadas */
.feature-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-sec);
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a1230' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.negative-list li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
}

/* Placeholders (Imagens) */
.image-placeholder {
    background-color: var(--bg-ter);
    border: 1px dashed var(--border-color);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: var(--text-muted);
    min-height: 400px;
    width: 100%;
    text-align: center;
}

.image-placeholder svg {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Componente Accordion (FAQ) */
.accordion {
    border-bottom: 1px solid var(--border-color);
}

.accordion-item {
    border-top: 1px solid var(--border-color);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.accordion-header:hover {
    color: var(--accent-light);
}

.accordion-header svg {
    transition: transform var(--transition-fast);
}

.accordion-header.active svg {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content p {
    padding-bottom: 1.5rem;
}

/* =========================================================================
   SECTIONS ESPECIFICAS
   ========================================================================= */

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(15, 23, 32, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    background-color: var(--accent);
    border-radius: 2px;
}

/* Hero */
.hero {
    padding-top: 120px;
    /* offset header */
    padding-bottom: 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 50vh;
    height: 50vh;
    background: radial-gradient(circle, rgba(122, 18, 48, 0.15) 0%, rgba(15, 23, 32, 0) 70%);
    z-index: -1;
}

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

.hero-content {
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

/* Dores / Cards */
.problem-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.problem-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Solução / O Que é */
.solution-section {
    position: relative;
    border-top: 1px solid var(--border-color);
}

.solution-section h2 {
    color: var(--text-main);
}

.solution-section h2 em {
    color: var(--accent-light);
}

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

.mockup-content p {
    font-size: 1.125rem;
}

/* O Que Você Vai Aprender */
.learn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.learn-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background-color: var(--bg-sec);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.learn-item-icon {
    color: var(--accent-light);
    flex-shrink: 0;
}

.learn-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.learn-item p {
    font-size: 0.9rem;
    margin: 0;
}

/* Modulos */
.module-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.module-card {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: var(--transition-base);
}

.module-card:hover {
    border-color: var(--accent);
    background-color: rgba(122, 18, 48, 0.03);
}

.module-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.3;
    line-height: 1;
}

.module-card h3 {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

.module-card p {
    margin: 0;
    font-size: 0.95rem;
}

/* Diferencial / Bônus */
.mechanism-box {
    background: linear-gradient(135deg, var(--bg-sec) 0%, var(--bg-ter) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mechanism-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--accent);
}

.mechanism-box p.highlight {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
}

.bonus-card {
    background: var(--bg-main);
    border: 1px dashed var(--border-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.bonus-card i {
    color: var(--accent-light);
    margin-bottom: 1rem;
}

.bonus-card h4 {
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

/* Oferta */
.offer-section {
    padding: 6rem 0;
}

.offer-box {
    background-color: var(--bg-sec);
    border: 2px solid var(--accent);
    border-radius: 12px;
    padding: 3rem;
    position: relative;
    box-shadow: var(--shadow-glow);
}

.offer-box-header {
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.offer-box-header h2 {
    margin-bottom: 0.5rem;
}

.price-tag {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-main);
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.5rem;
}

.price-tag small {
    font-size: 1.5rem;
    color: var(--text-muted);
}

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

/* Footer */
.footer {
    background-color: #0b1118;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    max-width: 300px;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.footer-links a {
    display: block;
    color: var(--text-sec);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--text-main);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* =========================================================================
   MEDIA QUERIES
   ========================================================================= */
@media (max-width: 992px) {

    .hero-grid,
    .mockup-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-ctas {
        justify-content: center;
    }

    .offer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 4rem;
    }

    .hero {
        padding-top: 100px;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .module-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem;
    }

    .offer-box {
        padding: 2rem 1.5rem;
    }

    .footer-inner {
        flex-direction: column;
    }
}