:root {
    --vermelho-sobratema: #D71920;
    --dourado-sobratema: #F4C430;
    --cinza-escuro: #54565A;
    --cinza-medio: #8A8C8E;
    --cinza-claro: #D9D9D9;
    --preto: #121212;
    --branco: #FFFFFF;
    --azul-escuro: #1a1a1a;
    --text-primary: #111827;
    --text-secondary: #374151;
    --text-muted: #4b5563;
    --title-tight: -0.024em;
    --space-section-y: 88px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.72;
    padding-top: 80px;
    position: relative;
    background: #f8fafc;
    color: var(--text-primary);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

section {
    padding-top: var(--space-section-y);
    padding-bottom: var(--space-section-y);
}

.container {
    max-width: 1160px;
}

p {
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.section-title {
    font-weight: 800;
    letter-spacing: var(--title-tight);
    color: var(--cinza-escuro);
    margin-bottom: 14px;
    line-height: 1.12;
    font-size: clamp(1.9rem, 2.7vw, 2.6rem);
}

.lead {
    color: var(--text-muted);
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    line-height: 1.15;
}

h1 {
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.hero-section h1 {
    color: #ffffff;
}

h5 {
    letter-spacing: -0.01em;
}

.btn {
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    letter-spacing: 0.005em;
    line-height: 1.2;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.hero-section {
    background: linear-gradient(135deg, var(--vermelho-sobratema) 0%, #2d2d2d 100%);
    color: white;
    padding-top: 110px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-section .lead {
    color: #f3f4f6;
}

.hero-section .list-unstyled li {
    color: #f9fafb;
    font-weight: 500;
    line-height: 1.6;
}

.hero-section .btn-outline-light {
    border-width: 2px;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.12) 0%, transparent 35%),
                radial-gradient(circle at 80% 80%, rgba(255,255,255,0.10) 0%, transparent 35%);
    opacity: 0.08;
    pointer-events: none;
}

.newsletter-preview {
    max-height: 400px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    margin: 0 auto;
    display: block;
}

.newsletter-preview:hover {
    transform: scale(1.03);
}

.stats-section {
    background: #f8fafc;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 32px 26px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--vermelho-sobratema);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--vermelho-sobratema);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.formatos-section {
    padding: 80px 0;
    background: #fff;
}

.formato-card {
    background: white;
    border-radius: 15px;
    padding: 26px 22px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.formato-card h6,
.formato-card .small {
    color: #4b5563 !important;
}

.formato-card:hover {
    transform: translateY(-5px);
    border-color: var(--dourado-sobratema);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.formato-image {
    max-width: 120px;
    max-height: 120px;
    width: auto;
    height: auto;
    margin: 0 auto 20px auto;
    display: block;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
    object-fit: contain;
}

.conversion-strip {
    background: transparent;
    color: #fff;
    padding: 60px 0;
}

.conversion-strip .container {
    background: linear-gradient(90deg, #111 0%, #2d2d2d 100%);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 16px 32px rgba(0,0,0,0.28);
}

.conversion-strip h4 {
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #ffffff;
    margin-bottom: 8px !important;
    font-size: clamp(1.35rem, 1.6vw, 1.75rem);
}

.conversion-strip p {
    color: #e5e7eb !important;
    font-size: 1rem;
    line-height: 1.65;
}

.conversion-strip .btn {
    border-radius: 999px;
    font-weight: 600;
    min-width: 220px;
}

.conversion-strip .btn-light {
    color: #111827;
}

.stats-section,
.issuu-section,
.formatos-section {
    background: #fff;
}

.process-section {
    background: #f4f7fb;
}

.process-step {
    background: #f8f9fa;
    border-radius: 14px;
    padding: 24px;
    height: 100%;
    border-left: 4px solid var(--vermelho-sobratema);
}

.process-step h5 {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.cta-banner {
    background: linear-gradient(135deg, #ffffff 0%, #eef2ff 100%);
}

.cta-box {
    border: 1px solid #dbe2ea;
    border-radius: 20px;
    padding: 36px 28px;
    background: #fff;
    box-shadow: 0 14px 28px rgba(16, 24, 40, 0.08);
}

.cta-box h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: clamp(1.55rem, 2vw, 2rem);
}

.cta-box .btn {
    border-radius: 999px;
    font-weight: 600;
}

.social-proof-section {
    background: #ffffff;
}

.reach-data-section {
    background: #f8fafc;
}

#help-placeholder .authority-section {
    padding: 8rem 0 8rem 0 !important;
    border-top: 1px solid #e5e7eb;
    background: var(--branco) !important;
}

#help-placeholder .section-title {
    margin-bottom: 1.1rem !important;
}

#help-placeholder .section-subtitle {
    color: var(--text-muted) !important;
    line-height: 1.75 !important;
    margin-bottom: 2.2rem !important;
}

.footer-custom {
    background: var(--azul-escuro);
    color: white;
    padding: 4rem 0 2rem;
    width: 100%;
    padding-left: 3rem;
    padding-right: 3rem;
}

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(0,0,0,0.9);
    transform: scale(1.1);
}

.lightbox-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.lightbox-image-container {
    overflow: auto;
    max-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-controls {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.lightbox-zoom-btn {
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-zoom-btn:hover {
    background: rgba(0,0,0,0.9);
    transform: scale(1.1);
}

.lightbox-caption {
    padding: 20px;
    background: white;
}

.lightbox-caption h4 {
    color: var(--azul-escuro);
    margin-bottom: 10px;
    font-weight: 600;
}

.lightbox-caption p {
    color: var(--cinza-medio);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 991px) {
    section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .hero-section {
        padding-top: 88px;
        padding-bottom: 72px;
    }

    .conversion-strip .container {
        padding: 22px;
    }

    .conversion-strip .btn {
        min-width: unset;
        width: 100%;
    }

    #help-placeholder .authority-section {
        padding: 8rem 0 8rem 0 !important;
    }

    p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .section-title {
        line-height: 1.16;
    }

    .stat-card,
    .formato-card,
    .cta-box {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 576px) {
    :root {
        --space-section-y: 56px;
    }

    body {
        line-height: 1.68;
    }

    .hero-section h1 {
        font-size: clamp(1.9rem, 8vw, 2.5rem);
    }

    .lead {
        font-size: 1rem;
    }

    .conversion-strip .container {
        border-radius: 14px;
    }

    #help-placeholder .authority-section {
        padding: 8rem 0 8rem 0 !important;
    }

    .btn {
        width: 100%;
    }
}
