/* ==========================================
   RESET E VARIÁVEIS
   ========================================== */

:root {
    /* Cores principais */
    --primary: #1E4D5C;
    --secondary: #E8DCC4;
    --accent: #B8956A;
    --text: #2C2C2C;
    --bg: #FAFAF8;
    --white: #FFFFFF;
    --success: #4CAF50;
    
    /* Tipografia */
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Espaçamentos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Transições */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ==========================================
   NAVEGAÇÃO
   ========================================== */

.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    color: var(--text);
    transition: var(--transition);
}

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

.nav-link.cta-nav {
    background: var(--accent);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
}

.nav-link.cta-nav:hover {
    background: #C4A77A;
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
    background: var(--bg);
    padding: 6rem 0 4rem;
}

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 1.25rem 3rem;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 24px rgba(184, 149, 106, 0.35);
    transition: var(--transition);
    border: none;
}

.cta-button:hover {
    background: #C4A77A;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(184, 149, 106, 0.45);
}

.hero-benefits {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--primary);
    opacity: 0.8;
}

.hero-image .image-container {
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(30, 77, 92, 0.2);
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scroll-indicator {
    text-align: center;
    margin-top: 4rem;
    font-size: 0.95rem;
    color: var(--primary);
    opacity: 0.7;
}

/* ==========================================
   ANIMAÇÕES
   ========================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }

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

/* ==========================================
   PROBLEMA SECTION
   ========================================== */

.problema {
    background: var(--white);
    padding: var(--spacing-xl) 0;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--primary);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.problema-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.problema-card {
    background: var(--bg);
    border-left: 4px solid var(--accent);
    padding: 2rem;
    border-radius: 8px;
    transition: var(--transition);
}

.problema-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.problema-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.problema-card p {
    color: var(--text);
    opacity: 0.9;
}

.testimonial {
    background: linear-gradient(135deg, var(--secondary) 0%, #F5F1E8 100%);
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 5px solid var(--accent);
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.quote-text {
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.testimonial cite {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    font-style: normal;
}

/* ==========================================
   SOLUÇÃO SECTION
   ========================================== */

.solucao {
    background: var(--bg);
    padding: var(--spacing-xl) 0;
}

.solucao-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.subsection-title {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.intro-text {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.beneficios-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.beneficio-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

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

.beneficio-content h4 {
    font-size: 1.125rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.beneficio-content p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin: 0;
}

/* Book Mockup */
.book-mockup {
    perspective: 1000px;
}

.book-cover {
    background: linear-gradient(135deg, var(--primary) 0%, #2A6B7F 100%);
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: 8px 12px 12px 8px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
    transform: rotateY(-5deg) rotateX(2deg);
    transition: var(--transition);
    position: relative;
}

.book-cover:hover {
    transform: rotateY(-2deg) rotateX(1deg);
}

.book-cover h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent);
}

.book-cover p {
    font-size: 1.25rem;
    line-height: 1.4;
}

.book-spine {
    position: absolute;
    left: -15px;
    top: 0;
    bottom: 0;
    width: 15px;
    background: linear-gradient(to bottom, #163943 0%, #1E4D5C 100%);
    border-radius: 4px 0 0 4px;
}

/* ==========================================
   CASOS SECTION
   ========================================== */

.casos {
    background: var(--white);
    padding: var(--spacing-xl) 0;
}

.casos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.caso-card {
    background: linear-gradient(to right, #F9F7F4 0%, var(--white) 100%);
    border-radius: 12px;
    padding: 2rem;
    border-top: 3px solid var(--accent);
    transition: var(--transition);
    position: relative;
}

.caso-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(30, 77, 92, 0.1);
}

.caso-numero {
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.3;
    font-weight: 700;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
}

.caso-tag {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.caso-tag-success {
    background: var(--success);
}

.caso-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.caso-card p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.caso-link {
    color: var(--accent);
    font-weight: 600;
    transition: var(--transition);
}

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

.toolkit-info {
    background: var(--secondary);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.toolkit-info strong {
    color: var(--primary);
}

/* ==========================================
   VALIDAÇÃO SECTION
   ========================================== */

.validacao {
    background: var(--primary);
    color: var(--white);
    padding: 4rem 0;
}

.validacao-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 1rem;
}

.stat-label {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.validacao-stat p {
    opacity: 0.9;
    line-height: 1.6;
}

/* ==========================================
   QUESTIONÁRIO SECTION
   ========================================== */

.questionario {
    background: #F9F7F4;
    padding: var(--spacing-xl) 0;
}

.section-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.125rem;
    opacity: 0.9;
}

.typeform-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    min-height: 500px;
}

.questionario-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.95rem;
    opacity: 0.8;
}

/* ==========================================
   PRÉ-LANÇAMENTO SECTION
   ========================================== */

.prelancamento {
    background: linear-gradient(135deg, var(--primary) 0%, #2A6B7F 100%);
    color: var(--white);
    padding: 6rem 0;
}

.section-title-light {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--white);
    margin-bottom: 1rem;
}

.section-intro-light {
    text-align: center;
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

.email-form {
    max-width: 500px;
    margin: 0 auto 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.email-form input {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.email-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.email-form input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.2);
}

.cta-button-large {
    background: var(--accent);
    color: var(--primary);
    padding: 1rem 3rem;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.cta-button-large:hover {
    background: #C4A77A;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(184, 149, 106, 0.4);
}

.email-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.benefit-item {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.check {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.25rem;
}

.privacy-note {
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.7;
    max-width: 500px;
    margin: 0 auto;
}

.form-message {
    text-align: center;
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.2);
    color: var(--white);
}

.form-message.error {
    background: rgba(244, 67, 54, 0.2);
    color: var(--white);
}

/* ==========================================
   FAQ SECTION
   ========================================== */

.faq {
    background: var(--white);
    padding: var(--spacing-xl) 0;
}

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

.faq-item {
    border-bottom: 1px solid var(--secondary);
    padding: 1.5rem 0;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faq-item[data-open="true"] .faq-icon {
    transform: rotate(45deg);
}

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

.faq-item[data-open="true"] .faq-answer {
    max-height: 500px;
    padding-top: 1rem;
}

.faq-answer p {
    color: #555;
    line-height: 1.6;
}

.faq-answer strong {
    color: var(--primary);
}

.faq-answer a {
    color: var(--accent);
    text-decoration: underline;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    background: var(--primary);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

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

.footer-logo {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    opacity: 0.8;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer a {
    color: var(--accent);
}

.footer-note {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ==========================================
   RESPONSIVE - MOBILE
   ========================================== */

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    /* Navegação Mobile */
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        gap: 1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    /* Hero */
    .hero {
        padding: 4rem 0 3rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-benefits {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image .image-container {
        max-width: 90%;
        margin: 0 auto;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
        padding: 1rem 2rem;
    }
    
    /* Problema */
    .problema-grid {
        grid-template-columns: 1fr;
    }
    
    /* Solução */
    .solucao-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .solucao-image {
        order: -1;
    }
    
    .book-cover {
        transform: none;
    }
    
    /* Casos */
    .casos-grid {
        grid-template-columns: 1fr;
    }
    
    /* Validação */
    .validacao-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    /* Email Form */
    .email-benefits {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cta-button,
    .cta-button-large {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
}
