/* =========================================
   COPY DE IMPACTO + CORREÇÃO DE QUEBRAS
   ========================================= */

/* =========================================
   1. FRASES DE IMPACTO - ESTILO COMUM
   ========================================= */

.impact-line {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    color: #FF6B00;
    text-align: center;
    margin: 24px auto;
    padding: 0 20px;
    max-width: 22ch; /* Evita quebras estranhas */
    line-height: 1.2;
    text-wrap: balance;
    letter-spacing: -0.02em;
}

.impact-line.white {
    color: #FFFFFF;
}

.impact-line.large {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    max-width: 18ch;
}

/* =========================================
   2. HERO SECTION - MELHORIAS
   ========================================= */

.hero-title {
    max-width: 22ch !important; /* Quebra natural */
    text-wrap: balance;
    line-height: 1.1 !important;
    letter-spacing: -0.03em;
    word-break: normal;
}

.hero-subtitle {
    max-width: 40ch !important;
    line-height: 1.5 !important;
    text-wrap: balance;
    margin-top: 20px !important;
}

/* Nova frase de impacto no hero */
.hero-impact-phrase {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(1.375rem, 2.8vw, 1.75rem);
    color: #FF6B00;
    text-align: center;
    margin: 28px auto 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-wrap: balance;
    max-width: 18ch;
}

/* Subtítulo secundário do hero */
.hero-secondary-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    line-height: 1.6;
    max-width: 45ch;
    margin: 0 auto 32px;
    text-wrap: balance;
}

/* Microcopy abaixo do CTA */
.cta-subtitle {
    font-size: 0.9375rem !important;
    line-height: 1.4 !important;
    max-width: 35ch;
    margin: 12px auto 0 !important;
    text-wrap: balance;
}

/* =========================================
   3. BLOCO DE DOR (Alert Section)
   ========================================= */

.pain-block {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid #FF6B00;
    padding: 24px 32px;
    margin: 40px auto;
    max-width: 800px;
    border-radius: 8px;
}

.pain-block p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #C7D2E0;
    margin: 0;
    max-width: 52ch;
    text-wrap: balance;
}

.pain-block p:first-child {
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 12px;
}

/* =========================================
   4. QUEBRA DE CRENÇA
   ========================================= */

.belief-breaker {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.1) 0%, rgba(255, 184, 0, 0.05) 100%);
    border: 2px solid rgba(255, 107, 0, 0.3);
    padding: 32px 40px;
    margin: 60px auto;
    max-width: 900px;
    border-radius: 12px;
    text-align: center;
}

.belief-breaker-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #FF6B00;
    line-height: 1.2;
    margin: 0;
    text-wrap: balance;
    max-width: 20ch;
    margin: 0 auto;
    letter-spacing: -0.02em;
}

/* =========================================
   6. CORREÇÃO DE TÍTULOS (GLOBAL)
   ========================================= */

/* H1 - Títulos principais */
h1 {
    max-width: 24ch;
    text-wrap: balance;
    line-height: 1.1;
    letter-spacing: -0.03em;
    word-break: normal;
    overflow-wrap: normal;
}

/* H2 - Títulos de seção */
h2, .section-header h2 {
    max-width: 26ch !important;
    text-wrap: balance;
    line-height: 1.15 !important;
    letter-spacing: -0.02em;
    word-break: normal;
    margin-left: auto;
    margin-right: auto;
}

/* H3 - Subtítulos */
h3 {
    max-width: 28ch;
    text-wrap: balance;
    line-height: 1.3;
    letter-spacing: -0.01em;
    word-break: normal;
}

/* Parágrafos de destaque */
.lead, .section-subtitle {
    max-width: 55ch !important;
    line-height: 1.6 !important;
    text-wrap: balance;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   7. CARDS - CORREÇÃO DE QUEBRAS
   ========================================= */

.benefit-card h3,
.problem-card h3,
.chapter-card h3,
.forwho-card p {
    max-width: 24ch;
    text-wrap: balance;
    line-height: 1.3;
    word-break: normal;
}

.benefit-card p,
.problem-card p,
.chapter-card p {
    max-width: 40ch;
    line-height: 1.6;
    text-wrap: balance;
}

/* =========================================
   8. PROVA RACIONAL - CAC DESTACADO
   ========================================= */

.cac-highlight {
    background: rgba(0, 204, 102, 0.1);
    border: 2px solid rgba(0, 204, 102, 0.3);
    padding: 16px 24px;
    border-radius: 8px;
    margin: 16px 0;
    display: inline-block;
}

.cac-highlight strong {
    color: #00CC66;
    font-weight: 700;
    font-size: 1.125rem;
}

.rational-proof {
    font-size: 1rem;
    color: #C7D2E0;
    line-height: 1.6;
    margin-top: 12px;
    max-width: 48ch;
    text-wrap: balance;
}

/* =========================================
   9. RESPONSIVIDADE MOBILE
   ========================================= */

@media (max-width: 768px) {
    .impact-line {
        font-size: 1.125rem;
        max-width: 20ch;
        margin: 20px auto;
    }
    
    .hero-impact-phrase {
        font-size: 1.25rem;
        max-width: 16ch;
    }
    
    .hero-title {
        max-width: 18ch !important;
    }
    
    .hero-subtitle {
        max-width: 35ch !important;
    }
    
    .hero-secondary-subtitle {
        max-width: 38ch;
        font-size: 0.9375rem;
    }
    
    h2, .section-header h2 {
        max-width: 22ch !important;
        font-size: 1.5rem !important;
    }
    
    .belief-breaker-text {
        font-size: 1.25rem;
        max-width: 18ch;
    }
    
    .pain-block {
        padding: 20px 24px;
    }
    
    .pain-block p {
        font-size: 1rem;
        max-width: 40ch;
    }
}

@media (max-width: 480px) {
    .impact-line {
        font-size: 1rem;
        max-width: 18ch;
    }
    
    .hero-title {
        max-width: 16ch !important;
        font-size: 2.5rem !important;
    }
    
    .hero-subtitle {
        max-width: 30ch !important;
    }
    
    h2 {
        max-width: 18ch !important;
    }
    
    .benefit-card h3,
    .problem-card h3 {
        max-width: 20ch;
        font-size: 1.125rem;
    }
}

/* =========================================
   10. SUPORTE A TEXT-WRAP (Fallback)
   ========================================= */

@supports not (text-wrap: balance) {
    h1, h2, h3,
    .hero-title,
    .impact-line,
    .belief-breaker-text {
        /* Fallback: apenas max-width faz o trabalho */
        hyphens: none;
        word-break: normal;
    }
}

/* =========================================
   11. AJUSTES FINOS DE TIPOGRAFIA
   ========================================= */

/* Remove viúvas/órfãs onde possível */
p {
    orphans: 3;
    widows: 3;
}

/* Melhora legibilidade em títulos */
h1, h2, h3, h4 {
    font-variant-ligatures: common-ligatures;
    font-feature-settings: "kern" 1;
    text-rendering: optimizeLegibility;
}
