/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #d77f32;
    --primary-dark: #9d4f18;
    --accent: #2447ff;
    --accent-muted: rgba(215, 127, 50, 0.14);
    --ink: #17120c;
    --dark: #17120c;
    --gray-800: #3c3329;
    --gray-600: #726657;
    --gray-400: #a99e90;
    --gray-100: #efe7da;
    --bg: #f8f0e3;
    --bg-elevated: #fffaf1;
    --hover-row: rgba(23, 18, 12, 0.035);
    --white: #ffffff;
    --border: rgba(54, 43, 31, 0.16);
    --border-subtle: rgba(54, 43, 31, 0.09);
    --radius: 18px;
    --shadow: 0 18px 55px rgba(55, 38, 18, 0.10);
    --font-sans: "Avenir Next", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: Georgia, "Times New Roman", serif;
}

body {
    font-family: var(--font-sans);
    color: var(--dark);
    background:
        radial-gradient(circle at 16% 4%, rgba(215, 127, 50, 0.16), transparent 28rem),
        radial-gradient(circle at 86% 12%, rgba(36, 71, 255, 0.09), transparent 24rem),
        linear-gradient(180deg, #fbf4e8 0%, var(--bg) 42%, #f4ead9 100%);
    line-height: 1.6;
    font-size: 16px;
    letter-spacing: -0.01em;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.34;
    background-image:
        linear-gradient(rgba(23, 18, 12, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 18, 12, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, black, transparent 82%);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 clamp(18px, 4vw, 34px);
}

/* ===== BARRA DE PROGRESSO ===== */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    z-index: 9999;
    transition: width .1s linear;
}

/* ===== HEADER ===== */
.site-header {
    background: rgba(255, 250, 241, 0.78);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 12px 38px rgba(55, 38, 18, 0.06);
    backdrop-filter: blur(18px) saturate(150%);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 24px;
}

.logo {
    font-family: var(--font-display);
    font-size: 27px;
    font-weight: 900;
    letter-spacing: -0.08em;
    white-space: nowrap;
}
.logo-caja { color: var(--dark); }
.logo-news { color: var(--dark); }
.logo-news::before {
    content: ".";
    color: var(--primary);
    margin: 0 1px 0 2px;
}

.nav {
    display: flex;
    gap: 24px;
}
.nav a {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-600);
    transition: color .2s, opacity .2s;
    white-space: nowrap;
}
.nav a:hover { color: var(--primary); }

.nav .nav-cta,
.nav-mobile .nav-cta {
    background: var(--dark);
    color: #fff;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 900;
    border: 1px solid rgba(23, 18, 12, 0.95);
    box-shadow: 0 10px 24px rgba(23, 18, 12, 0.12);
    transition: transform .2s, background .2s, border-color .2s;
}
.nav .nav-cta:hover,
.nav-mobile .nav-cta:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-1px);
}
.nav-mobile .nav-cta--mobile {
    text-align: center;
    margin-top: 8px;
    border-bottom: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--dark);
}

.nav-mobile {
    display: none;
    flex-direction: column;
    padding: 12px 0;
    border-top: 1px solid var(--border);
}
.nav-mobile a {
    padding: 10px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
}
.nav-mobile.open { display: flex; }

/* ===== ADS ===== */
.ad-unit-wrap {
    margin: 0;
}

.ad-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    margin: 0 0 8px;
    line-height: 1.2;
}

.ad-unit-wrap .adsbygoogle {
    min-height: 90px;
}

.ad-placeholder {
    background: var(--gray-50, #f8fafc);
    border: 1px solid var(--border);
    color: var(--gray-400);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.ad-top { padding: 10px 0; }
.ad-top .ad-placeholder { height: 90px; width: 100%; max-width: 728px; margin: 0 auto; }

.ad-inline { margin: 28px 0; }
.ad-inline .ad-placeholder { min-height: 72px; }

.ad-sidebar-box { height: 250px; width: 100%; }
.ad-sidebar-tall { height: 400px; width: 100%; }
.ad-footer { padding: 10px 0; margin-top: 24px; }
.ad-footer .ad-placeholder { height: 90px; max-width: 728px; margin: 0 auto; }

.sticky-ad { position: sticky; top: 80px; }

/* Banner fixo mobile */
.ad-sticky-mobile {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 8px 12px;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
}
.ad-sticky-mobile.visible { display: block; }
.ad-sticky-inner { height: 50px; }
.ad-sticky-close {
    position: absolute;
    top: 4px;
    right: 8px;
    background: none;
    border: none;
    font-size: 18px;
    color: var(--gray-400);
    cursor: pointer;
    line-height: 1;
    z-index: 1;
}

/* ===== MAIN LAYOUT ===== */
.main { padding: 32px 0 48px; }

.content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

/* ===== HERO ===== */
.hero { margin-bottom: 40px; }

.hero-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .2s;
}
.hero-card:hover { transform: translateY(-3px); }

.hero-img { position: relative; }
.hero-img img { width: 100%; height: 360px; object-fit: cover; }

.hero-content {
    padding: 36px;
    background: var(--dark);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}
.hero-content h1 { font-size: 22px; line-height: 1.4; }
.hero-content p { font-size: 15px; color: var(--gray-400); line-height: 1.6; }

.leia-mais {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 8px;
}

/* ===== CATEGORIA BADGE ===== */
.categoria-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: rgba(255, 250, 241, 0.92);
    color: var(--dark);
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    padding: 6px 10px;
    border: 1px solid rgba(23, 18, 12, 0.14);
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .08em;
    box-shadow: 0 10px 28px rgba(23, 18, 12, 0.12);
    backdrop-filter: blur(12px);
}

/* ===== SECTION TITLE ===== */
.section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

/* ===== ARTICLE GRID ===== */
.article-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}
.article-grid--archive {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
}

.ad-mid {
    grid-column: 1 / -1;
}

.article-card {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: rgba(255, 250, 241, 0.82);
    box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    display: block;
}
.article-card:hover {
    transform: translateY(-5px) rotate(-0.2deg);
    border-color: rgba(215, 127, 50, 0.45);
    box-shadow: 0 22px 48px rgba(55, 38, 18, 0.13);
}

.article-img {
    position: relative;
    background: var(--gray-100);
}
.article-img img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    filter: saturate(0.82) contrast(1.04);
    transition: transform .28s ease, filter .28s ease;
}
.article-card:hover .article-img img {
    transform: scale(1.035);
    filter: saturate(1) contrast(1.03);
}

.article-content {
    padding: 18px;
}
.article-content h3 {
    font-family: var(--font-display);
    font-size: 1.18rem;
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
    color: var(--dark);
}
.article-content p {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 10px;
}

.article-date {
    font-size: 12px;
    color: var(--gray-400);
}

/* ===== CATEGORY ARCHIVE ===== */
.category-hero {
    background:
        linear-gradient(135deg, rgba(23, 18, 12, 0.94), rgba(55, 38, 18, 0.86)),
        radial-gradient(circle at 78% 10%, rgba(215, 127, 50, 0.5), transparent 20rem);
    color: var(--dark);
    padding: 58px 0 52px;
    border-bottom: 1px solid rgba(23, 18, 12, 0.18);
}
.category-hero__back {
    display: inline-block;
    color: rgba(255, 250, 241, 0.72);
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 22px;
}
.category-hero__back:hover { color: #fff; }
.category-hero__eyebrow {
    color: #f2b36d;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.category-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-bottom: 12px;
    color: #fffaf1;
}
.category-hero p {
    max-width: 620px;
    color: rgba(255, 250, 241, 0.72);
    font-size: 1.04rem;
}
.article-grid--archive {
    display: block;
    border-top: 3px solid var(--dark);
    background: rgba(255, 250, 241, 0.66);
}
.article-grid--archive .article-card {
    display: grid;
    grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
    border: 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.article-grid--archive .article-card:hover {
    transform: none;
    background: rgba(255, 250, 241, 0.72);
    box-shadow: none;
}
.article-grid--archive .article-img {
    min-height: 100%;
}
.article-grid--archive .article-img img {
    height: 100%;
    min-height: 190px;
}
.article-grid--archive .article-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(18px, 3vw, 28px);
}
.article-grid--archive .article-content h3 {
    max-width: 760px;
    font-size: clamp(1.55rem, 3vw, 2.45rem);
    line-height: 0.98;
}
.article-grid--archive .article-content p {
    max-width: 680px;
    font-size: 0.98rem;
}
.empty-state {
    max-width: 620px;
    padding: 36px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-elevated);
}

/* ===== SIDEBAR ===== */
.sidebar-widget {
    background: rgba(255, 250, 241, 0.78);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-top: 24px;
    box-shadow: 0 16px 42px rgba(55, 38, 18, 0.08);
}
.sidebar-widget h3 {
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.sidebar-article {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    transition: opacity .2s;
}
.sidebar-article:hover { opacity: .7; }
.sidebar-article:last-child { border-bottom: none; }
.sidebar-article img {
    width: 60px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.sidebar-article span {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--dark);
}

/* ===== ARTIGO PAGE ===== */
.artigo-col { min-width: 0; }

.artigo-header {
    margin-bottom: 24px;
}
.artigo-header .categoria-badge {
    position: static;
    display: inline-block;
    margin-bottom: 12px;
}
.artigo-header h1 {
    font-size: 30px;
    line-height: 1.3;
    margin-bottom: 12px;
}
.artigo-meta {
    display: flex;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-400);
    flex-wrap: wrap;
    align-items: center;
}
.reading-time {
    background: var(--gray-100);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 12px;
}

.artigo-imagem {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
}
.artigo-imagem img { width: 100%; height: 400px; object-fit: cover; }

.artigo-conteudo {
    font-size: 17px;
    line-height: 1.85;
    color: var(--gray-800);
}
.artigo-conteudo h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 36px 0 14px;
    color: var(--dark);
    border-left: 4px solid var(--primary);
    padding-left: 12px;
}
.artigo-conteudo h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0 10px;
    color: var(--dark);
}
.artigo-conteudo p { margin-bottom: 18px; }
.artigo-conteudo ul, .artigo-conteudo ol {
    margin: 16px 0 20px 24px;
}
.artigo-conteudo li { margin-bottom: 10px; line-height: 1.7; }
.artigo-conteudo strong { color: var(--dark); }
.artigo-conteudo em {
    background: var(--gray-100);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 15px;
    font-style: normal;
}
.artigo-conteudo blockquote {
    border-left: 4px solid var(--primary);
    background: var(--gray-100);
    padding: 16px 20px;
    margin: 24px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 16px;
    color: var(--gray-800);
}

/* Ad injetado pelo JS */
.ad-injected { margin: 32px 0; }

/* ===== RELACIONADOS ===== */
.relacionados { margin-top: 48px; }
.relacionados h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}
.relacionados-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ===== PAGES ESTÁTICAS ===== */
.page-content {
    max-width: 780px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
}
.page-content h1 { font-size: 28px; line-height: 1.3; margin-bottom: 16px; }
.page-content h2 { font-size: 20px; margin: 26px 0 10px; }
.page-content p { font-size: 16px; color: var(--gray-800); line-height: 1.75; margin-bottom: 12px; }

/* ===== FOOTER ===== */
.site-footer {
    background: var(--dark);
    color: var(--white);
    padding: 48px 0 0;
    margin-top: 40px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 12px; font-size: 20px; }
.footer-brand p { font-size: 14px; color: var(--gray-400); line-height: 1.6; }

.footer-links h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-400);
    margin-bottom: 16px;
}
.footer-links a {
    display: block;
    font-size: 14px;
    color: var(--gray-400);
    margin-bottom: 10px;
    transition: color .2s;
}
.footer-links a:hover { color: var(--primary); }

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: var(--gray-400);
}

/* ===== EXIT-INTENT POPUP ===== */
.exit-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.exit-popup-overlay.visible {
    display: flex;
}
.exit-popup-box {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px 28px;
    max-width: 420px;
    width: 100%;
    position: relative;
    text-align: center;
    box-shadow: 0 12px 34px rgba(0,0,0,0.14);
}
.exit-popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--gray-400);
    cursor: pointer;
    line-height: 1;
}
.exit-popup-close:hover { color: var(--dark); }
.exit-popup-eyebrow {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 10px;
}
.exit-popup-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 12px;
}
.exit-popup-desc {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 22px;
}
.exit-popup-btn {
    display: block;
    background: var(--dark);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 24px;
    border-radius: var(--radius);
    text-decoration: none;
    margin-bottom: 12px;
    transition: background .2s;
}
.exit-popup-btn:hover { background: #2f2f2f; }
.exit-popup-skip {
    background: none;
    border: none;
    font-size: 0.82rem;
    color: var(--gray-400);
    cursor: pointer;
    text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .content-grid { grid-template-columns: 1fr; }
    .sidebar { display: none; }
    .hero-card { grid-template-columns: 1fr; }
    .hero-img img { height: 220px; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .relacionados-grid { grid-template-columns: repeat(2, 1fr); }
    /* Compensa o banner sticky mobile */
    body { padding-bottom: 70px; }
}

@media (max-width: 640px) {
    .nav { display: none; }
    .menu-toggle { display: block; }
    .article-grid { grid-template-columns: 1fr; }
    .hero-content { padding: 20px; }
    .hero-content h1 { font-size: 18px; }
    .artigo-header h1 { font-size: 22px; }
    .artigo-imagem img { height: 220px; }
    .relacionados-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 24px; }
    .page-content { padding: 20px; }
    .page-content h1 { font-size: 24px; }
    .page-content h2 { font-size: 18px; }
}

/* ===== HOMEPAGE — HERO ===== */
.hp-hero {
    background: var(--bg);
    color: var(--dark);
    padding: 44px 0 38px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}
.hp-hero::after {
    content: none;
}
.hp-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hp-hero__copy {
    max-width: 680px;
}
.hp-hero__eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    margin-bottom: 18px;
}
.hp-hero__headline {
    font-size: clamp(2.45rem, 5vw, 4.65rem);
    font-weight: 750;
    line-height: 1;
    letter-spacing: -0.055em;
    color: var(--dark);
    max-width: 760px;
    margin: 0 0 20px;
}
.hp-hero__sub {
    font-size: 1.08rem;
    color: var(--gray-600);
    max-width: 590px;
    margin: 0 0 28px;
    line-height: 1.6;
}
.hp-hero__actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.hp-hero__cta {
    display: inline-block;
    padding: 14px 28px;
    background: var(--dark);
    color: #fff !important;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius);
    transition: background 0.15s, transform 0.12s;
    box-shadow: none;
}
.hp-hero__cta:hover {
    background: #2f2f2f;
    transform: translateY(-1px);
}
.hp-hero__link {
    color: var(--gray-600);
    font-weight: 800;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
}
.hp-hero__link:hover { color: var(--dark); border-bottom-color: var(--dark); }
.hp-hero__proof {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 26px;
}
.hp-hero__proof span {
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    border-radius: var(--radius);
    padding: 7px 11px;
    color: var(--gray-600);
    font-size: 0.82rem;
}
.hp-hero__proof strong { color: var(--dark); }
.hp-hero__visual {
    position: relative;
    min-height: 430px;
}
.hp-hero__visual img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    border-radius: var(--radius);
    filter: saturate(0.72) contrast(0.98);
    border: 1px solid var(--border);
    box-shadow: none;
}
.hp-hero__note {
    position: absolute;
    left: -24px;
    bottom: 28px;
    width: min(82%, 330px);
    background: var(--bg-elevated);
    color: var(--dark);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 18px 18px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.hp-hero__note span {
    display: block;
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}
.hp-hero__note strong {
    display: block;
    font-size: 1.02rem;
    line-height: 1.35;
}
@media (max-width: 640px) {
    .hp-hero { padding: 34px 0 30px; }
    .hp-hero__headline { font-size: 2.25rem; }
    .hp-hero__cta { width: 100%; text-align: center; }
    .hp-hero__actions { gap: 14px; }
    .hp-hero__link { width: 100%; text-align: center; border-bottom: 0; }
}

/* ===== HOMEPAGE — LAYOUT ===== */
.hp-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
    padding-top: 36px;
}
@media (max-width: 900px) {
    .hp-layout { grid-template-columns: 1fr; }
    .hp-layout .sidebar { display: none; }
}

/* ===== HOMEPAGE — BLOCOS DE INTENÇÃO ===== */
.hp-featured {
    margin: 32px 0 4px;
}
.hp-featured__link {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-elevated);
    box-shadow: none;
}
.hp-featured__image {
    min-height: 260px;
    background: var(--gray-100);
}
.hp-featured__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hp-featured__content {
    padding: clamp(24px, 4vw, 42px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hp-featured__eyebrow {
    color: var(--gray-400);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.hp-featured__content h2 {
    font-size: clamp(1.45rem, 3vw, 2.2rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
    margin-bottom: 12px;
}
.hp-featured__content p {
    color: var(--gray-600);
    line-height: 1.62;
    margin-bottom: 18px;
}
.hp-featured__content span {
    color: var(--primary);
    font-weight: 900;
}
.hp-section { margin-bottom: 44px; }
.hp-section__head { margin-bottom: 20px; }
.hp-section__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}
.hp-section__sub {
    font-size: 0.9rem;
    color: var(--gray-600);
}
.hp-card-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 900px) {
    .hp-card-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .hp-card-row { grid-template-columns: 1fr; }
}
.hp-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    box-shadow: none;
    transition: background 0.15s, border-color 0.15s;
}
.hp-card:hover {
    border-color: #d3d2cf;
    background: var(--white);
}
.hp-card__img {
    position: relative;
    overflow: hidden;
    line-height: 0;
}
.hp-card__img img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}
.hp-card__img .categoria-badge {
    position: absolute;
    top: 12px;
    bottom: auto;
    left: 12px;
}
.hp-card__body {
    padding: 14px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.hp-card__body h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.35;
}
.hp-card__body p {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* ===== HOMEPAGE — BLOCO PONTE → FUNIL ===== */
.hp-bridge {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px 30px;
    margin-bottom: 36px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hp-bridge__eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
}
.hp-bridge__headline {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
    margin: 0;
}
.hp-bridge__bullets {
    list-style: none;
    padding: 0;
    margin: 4px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hp-bridge__bullets li {
    font-size: 0.92rem;
    color: var(--gray-600);
    padding-left: 1.2em;
    position: relative;
    line-height: 1.5;
}
.hp-bridge__bullets li::before {
    content: "";
    top: 0.7em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary);
    position: absolute;
    left: 0;
}
.hp-bridge__cta {
    display: inline-block;
    align-self: flex-start;
    margin-top: 4px;
    padding: 12px 22px;
    background: var(--dark);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius);
    transition: background 0.15s;
}
.hp-bridge__cta:hover { background: #2f2f2f; }
@media (max-width: 560px) {
    .hp-bridge { padding: 24px 20px; }
    .hp-bridge__cta { align-self: stretch; text-align: center; }
}

@media (max-width: 900px) {
    .hp-hero__grid,
    .hp-featured__link {
        grid-template-columns: 1fr;
    }
    .hp-hero__visual {
        min-height: 300px;
    }
    .hp-hero__visual img {
        height: 320px;
    }
    .hp-hero__note {
        left: 18px;
        bottom: 18px;
    }
    .article-grid--archive {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .hp-featured { margin-top: 22px; }
    .hp-featured__image { min-height: 210px; }
    .article-grid--archive { grid-template-columns: 1fr; }
    .category-hero { padding: 38px 0 34px; }
}

/* ===== CTA EDITORIAL → FUNIL ===== */
.artigo-funil-cta {
    border-radius: var(--radius);
    padding: 20px 22px;
    margin: 28px 0;
}
.artigo-funil-cta--meio {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.artigo-funil-cta--fim {
    background: var(--bg-elevated);
    color: var(--dark);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.artigo-funil-cta__eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
}
.artigo-funil-cta--fim .artigo-funil-cta__eyebrow {
    color: var(--primary);
}
.artigo-funil-cta__headline {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--dark);
    margin: 0;
}
.artigo-funil-cta--fim .artigo-funil-cta__headline {
    font-size: 1.15rem;
    color: var(--dark);
}
.artigo-funil-cta__body {
    font-size: 0.92rem;
    color: var(--gray-600);
    line-height: 1.55;
    margin: 0;
}
.artigo-funil-cta__btn {
    display: inline-block;
    margin-top: 4px;
    padding: 10px 18px;
    background: var(--dark);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius);
    text-decoration: none;
    align-self: flex-start;
    transition: background 0.15s;
}
.artigo-funil-cta__btn:hover { background: #2f2f2f; }
.artigo-funil-cta__btn--lg {
    padding: 13px 22px;
    font-size: 1rem;
    align-self: stretch;
    text-align: center;
}

/* ===== AFFILIATE LINKS — destaque visual para aumentar CTR ===== */
.artigo-conteudo .aff-link {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px dashed var(--primary);
    transition: background .15s, color .15s;
    padding: 0 2px;
}
.artigo-conteudo .aff-link:hover {
    background: var(--primary);
    color: #fff;
    border-bottom-color: transparent;
}
.artigo-conteudo .aff-link strong { font-weight: 700; }
.artigo-conteudo .aff-cta {
    font-size: 0.92em;
    color: var(--gray-600);
}
.artigo-conteudo .aff-link:hover .aff-cta { color: #fff; }

/* ===== TABELA COMPARATIVA — arbitragem-friendly, alta leitura ===== */
.artigo-conteudo .artigo-tabela {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.95rem;
    background: #fff;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 8px;
    overflow: hidden;
}
.artigo-conteudo .artigo-tabela th,
.artigo-conteudo .artigo-tabela td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border, #e5e7eb);
    vertical-align: top;
}
.artigo-conteudo .artigo-tabela th {
    background: var(--gray-100, #f3f4f6);
    font-weight: 700;
    color: var(--dark, #0f1419);
}
.artigo-conteudo .artigo-tabela tbody tr:last-child td { border-bottom: none; }
.artigo-conteudo .artigo-tabela tbody tr:hover { background: var(--gray-100, #f9fafb); }
@media (max-width: 640px) {
    .artigo-conteudo .artigo-tabela { font-size: 0.85rem; }
    .artigo-conteudo .artigo-tabela th,
    .artigo-conteudo .artigo-tabela td { padding: 10px 8px; }
}

/* ===== E-BOOK — PRODUTO DIGITAL ===== */
.ebook-page {
    background:
        radial-gradient(circle at 12% 0%, rgba(215, 127, 50, 0.16), transparent 26rem),
        linear-gradient(180deg, #fbf4e8 0%, #f7ecdc 100%);
}
.ebook-hero {
    padding: clamp(46px, 7vw, 82px) 0 clamp(34px, 6vw, 70px);
    color: var(--dark);
}
.ebook-hero__grid,
.ebook-two-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
    gap: clamp(30px, 6vw, 76px);
    align-items: center;
}
.ebook-kicker {
    color: var(--primary-dark);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.ebook-hero h1,
.ebook-section h2,
.ebook-final h2 {
    font-family: var(--font-display);
    font-weight: 900;
    letter-spacing: -0.07em;
}
.ebook-hero h1 {
    max-width: 760px;
    margin: 10px 0 18px;
    font-size: clamp(3.3rem, 8vw, 7rem);
    line-height: 0.86;
}
.ebook-hero__sub {
    max-width: 620px;
    color: var(--gray-600);
    font-size: clamp(1.08rem, 1.8vw, 1.3rem);
    line-height: 1.55;
}
.ebook-price-card {
    display: inline-grid;
    gap: 2px;
    margin: 28px 0 22px;
    padding: 18px 22px;
    border: 1px solid rgba(23, 18, 12, 0.12);
    border-radius: 24px;
    background: rgba(255, 250, 241, 0.82);
    box-shadow: 0 18px 45px rgba(55, 38, 18, 0.10);
}
.ebook-price-card span,
.ebook-price-card small {
    color: var(--gray-600);
    font-size: 0.82rem;
    font-weight: 800;
}
.ebook-price-card strong {
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: 1;
    letter-spacing: -0.07em;
}
.ebook-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}
.ebook-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border-radius: 999px;
    background: var(--dark);
    color: #fffaf1 !important;
    font-weight: 900;
    box-shadow: 0 16px 38px rgba(23, 18, 12, 0.18);
    transition: transform .2s ease, background .2s ease;
}
.ebook-btn:hover {
    transform: translateY(-2px);
    background: var(--primary);
}
.ebook-btn--dark {
    background: #fffaf1;
    color: var(--dark) !important;
}
.ebook-link {
    color: var(--gray-600);
    font-size: 0.9rem;
    font-weight: 900;
    border-bottom: 2px solid var(--primary);
}
.ebook-checkout-note {
    max-width: 560px;
    margin-top: 14px;
    color: var(--primary-dark);
    font-size: 0.86rem;
}
.ebook-checkout-note code {
    padding: 2px 5px;
    border-radius: 5px;
    background: rgba(215, 127, 50, 0.14);
}
.ebook-hero__visual {
    display: flex;
    justify-content: center;
}
.ebook-cover {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: min(100%, 360px);
    min-height: 480px;
    padding: 34px;
    border: 1px solid rgba(255, 250, 241, 0.42);
    border-radius: 34px;
    background:
        radial-gradient(circle at 80% 18%, rgba(242, 179, 109, 0.55), transparent 11rem),
        linear-gradient(145deg, #17120c 0%, #3a2415 58%, #9d4f18 100%);
    color: #fffaf1;
    box-shadow: 0 34px 90px rgba(55, 38, 18, 0.28);
    transform: rotate(2deg);
}
.ebook-cover::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 250, 241, 0.18);
    border-radius: 24px;
}
.ebook-cover span,
.ebook-cover small {
    position: relative;
    z-index: 1;
    color: rgba(255, 250, 241, 0.72);
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.ebook-cover strong {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: clamp(2.35rem, 5vw, 3.45rem);
    line-height: 0.9;
    letter-spacing: -0.08em;
}
.ebook-section {
    padding: clamp(42px, 6vw, 72px) 0;
}
.ebook-section--muted {
    background: rgba(255, 250, 241, 0.58);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.ebook-section--sample {
    padding-top: clamp(34px, 5vw, 58px);
    background: rgba(255, 250, 241, 0.44);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.ebook-sample {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
    gap: clamp(24px, 5vw, 56px);
    align-items: center;
}
.ebook-sample__cards {
    display: grid;
    gap: 14px;
}
.ebook-prompt-card {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(255, 250, 241, 0.74);
}
.ebook-prompt-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--gray-600);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}
.ebook-prompt-card p {
    margin: 0;
    color: var(--gray-800);
    font-weight: 700;
}
.ebook-prompt-card--strong {
    background: var(--dark);
    color: #fffaf1;
    box-shadow: 0 18px 48px rgba(23, 18, 12, 0.18);
}
.ebook-prompt-card--strong span {
    color: #f2b36d;
}
.ebook-prompt-card--strong p,
.ebook-prompt-card--strong strong {
    color: #fffaf1;
}
.ebook-section h2,
.ebook-final h2 {
    max-width: 760px;
    margin-top: 8px;
    font-size: clamp(2rem, 4.6vw, 4rem);
    line-height: 0.95;
}
.ebook-benefits {
    display: grid;
    gap: 12px;
}
.ebook-benefit {
    display: flex;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(255, 250, 241, 0.75);
}
.ebook-benefit span {
    color: var(--primary-dark);
    font-weight: 900;
}
.ebook-benefit p {
    color: var(--gray-800);
    font-weight: 650;
}
.ebook-outline__head {
    margin-bottom: 22px;
}
.ebook-outline__list {
    display: grid;
    border-top: 3px solid var(--dark);
}
.ebook-outline__item {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}
.ebook-outline__item span {
    color: var(--primary-dark);
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
}
.ebook-outline__item strong {
    font-size: clamp(1.08rem, 2vw, 1.45rem);
    line-height: 1.15;
}
.ebook-audience {
    display: grid;
    gap: 12px;
    list-style: none;
}
.ebook-audience li {
    padding: 0 0 12px 22px;
    border-bottom: 1px solid var(--border);
    color: var(--gray-800);
    font-weight: 700;
}
.ebook-audience li::before {
    content: "•";
    margin-left: -22px;
    margin-right: 12px;
    color: var(--primary-dark);
}
.ebook-final {
    padding: clamp(42px, 7vw, 78px) 0;
    background:
        radial-gradient(circle at 90% 0%, rgba(215, 127, 50, 0.42), transparent 22rem),
        linear-gradient(135deg, #17120c, #4a2c17);
    color: #fffaf1;
}
.ebook-final .ebook-kicker,
.ebook-final h2,
.ebook-final p {
    color: #fffaf1;
}
.ebook-final .ebook-btn {
    margin-top: 22px;
}

/* ===== RADAR IA ===== */
.radar-hero {
    padding: clamp(42px, 7vw, 78px) 0 clamp(30px, 5vw, 58px);
    background:
        linear-gradient(135deg, rgba(23, 18, 12, 0.95), rgba(55, 38, 18, 0.9)),
        radial-gradient(circle at 82% 12%, rgba(215, 127, 50, 0.5), transparent 20rem);
    color: #fffaf1;
}
.radar-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: end;
}
.radar-kicker {
    color: #f2b36d;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.radar-hero h1 {
    max-width: 860px;
    margin: 8px 0 14px;
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 6.4rem);
    font-weight: 900;
    line-height: 0.88;
    letter-spacing: -0.08em;
}
.radar-hero p {
    max-width: 660px;
    color: rgba(255, 250, 241, 0.74);
    font-size: 1.08rem;
}
.radar-hero__panel {
    padding: 22px;
    border: 1px solid rgba(255, 250, 241, 0.16);
    border-radius: 24px;
    background: rgba(255, 250, 241, 0.075);
}
.radar-hero__panel span {
    color: #f2b36d;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.radar-hero__panel strong {
    display: block;
    margin: 6px 0 8px;
    font-family: var(--font-display);
    font-size: 2.2rem;
    line-height: 1;
    letter-spacing: -0.06em;
}
.radar-hero__panel p {
    margin: 0;
    font-size: 0.92rem;
}
.radar-section {
    padding: clamp(34px, 6vw, 64px) 0;
}
.radar-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}
.radar-topics span {
    padding: 8px 11px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 250, 241, 0.7);
    color: var(--gray-800);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.radar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 3px solid var(--dark);
}
.radar-card {
    min-height: 330px;
    padding: clamp(20px, 3vw, 28px);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255, 250, 241, 0.62);
}
.radar-card:nth-child(3n) {
    border-right: 0;
}
.radar-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}
.radar-card__meta span,
.radar-card__meta time {
    color: var(--primary-dark);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.radar-card h2 {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.7vw, 2.35rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.055em;
}
.radar-card p {
    color: var(--gray-600);
}
.radar-card a {
    display: inline-block;
    margin-top: 8px;
    color: var(--dark);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    border-bottom: 2px solid var(--primary);
}
.hp-radar {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: rgba(255, 250, 241, 0.62);
}
.hp-radar__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-top: 3px solid var(--dark);
}
.hp-radar__item {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.hp-radar__item:nth-child(odd) {
    padding-right: 16px;
    border-right: 1px solid var(--border);
}
.hp-radar__item:nth-child(even) {
    padding-left: 16px;
}
.hp-radar__item span,
.hp-radar__item small {
    display: block;
    color: var(--primary-dark);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.hp-radar__item strong {
    display: block;
    margin: 6px 0;
    font-family: var(--font-display);
    font-size: 1.25rem;
    line-height: 1.02;
    letter-spacing: -0.045em;
}
.hp-radar__more {
    display: inline-block;
    margin-top: 16px;
    font-weight: 900;
    border-bottom: 2px solid var(--primary);
}

/* ===== REDESIGN 2026 — CAPA EDITORIAL ===== */
.hp-hero {
    padding: clamp(48px, 7vw, 86px) 0 clamp(42px, 6vw, 76px);
    border-bottom: 0;
    background:
        linear-gradient(115deg, rgba(23, 18, 12, 0.96) 0%, rgba(41, 30, 18, 0.92) 48%, rgba(94, 48, 22, 0.82) 100%),
        radial-gradient(circle at 78% 20%, rgba(215, 127, 50, 0.62), transparent 24rem);
    color: #fffaf1;
    isolation: isolate;
}
.hp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(120deg, black, transparent 72%);
}
.hp-hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.82fr);
    gap: clamp(34px, 6vw, 76px);
}
.hp-hero__eyebrow {
    color: #f2b36d;
    border: 1px solid rgba(242, 179, 109, 0.34);
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(255, 250, 241, 0.055);
}
.hp-hero__headline {
    font-family: var(--font-display);
    color: #fffaf1;
    font-size: clamp(3rem, 7vw, 6.7rem);
    font-weight: 900;
    line-height: 0.88;
    letter-spacing: -0.085em;
    max-width: 820px;
}
.hp-hero__sub {
    color: rgba(255, 250, 241, 0.76);
    font-size: clamp(1.04rem, 1.7vw, 1.24rem);
    max-width: 610px;
}
.hp-hero__cta,
.hp-bridge__cta,
.artigo-funil-cta__btn {
    border-radius: 999px;
    background: #fffaf1;
    color: var(--dark) !important;
    box-shadow: 0 16px 38px rgba(0,0,0,0.18);
}
.hp-hero__cta:hover,
.hp-bridge__cta:hover,
.artigo-funil-cta__btn:hover {
    background: var(--primary);
    color: #fff !important;
}
.hp-hero__link {
    color: rgba(255, 250, 241, 0.72);
    border-bottom-color: rgba(255, 250, 241, 0.26);
}
.hp-hero__link:hover {
    color: #fffaf1;
    border-bottom-color: #fffaf1;
}
.hp-hero__proof span {
    border-color: rgba(255, 250, 241, 0.16);
    background: rgba(255, 250, 241, 0.075);
    color: rgba(255, 250, 241, 0.72);
}
.hp-hero__proof strong { color: #fffaf1; }
.hp-hero__visual {
    min-height: clamp(360px, 40vw, 520px);
}
.hp-hero__visual::before {
    content: "";
    position: absolute;
    inset: -18px 20px 34px -20px;
    border: 1px solid rgba(255, 250, 241, 0.18);
    border-radius: 34px;
    transform: rotate(-3deg);
}
.hp-hero__visual img {
    height: clamp(360px, 40vw, 520px);
    border: 1px solid rgba(255, 250, 241, 0.22);
    border-radius: 34px;
    filter: sepia(0.14) saturate(0.9) contrast(1.08);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
    transform: rotate(1.4deg);
}
.hp-hero__note {
    left: -34px;
    bottom: 34px;
    border: 1px solid rgba(23, 18, 12, 0.08);
    border-radius: 22px;
    background: rgba(255, 250, 241, 0.92);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}
.hp-hero__note span { color: var(--primary-dark); }
.hp-hero__note strong {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: -0.045em;
}
.main { padding: 42px 0 58px; }
.hp-layout {
    grid-template-columns: minmax(0, 1fr) 292px;
    gap: clamp(28px, 4vw, 48px);
}
.hp-newsdesk {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(230px, 0.72fr) minmax(230px, 0.62fr);
    gap: 0;
    margin: 0 0 42px;
    border-top: 3px solid var(--dark);
    border-bottom: 1px solid var(--border);
    background: rgba(255, 250, 241, 0.72);
    box-shadow: 0 1px 0 rgba(255,255,255,0.84) inset;
}
.hp-newsdesk__lead,
.hp-newsdesk__headline,
.hp-newsdesk__latest-item {
    transition: color .18s ease, background .18s ease;
}
.hp-newsdesk__lead {
    display: grid;
    grid-template-rows: auto 1fr;
    min-width: 0;
    border-right: 1px solid var(--border);
}
.hp-newsdesk__lead:hover,
.hp-newsdesk__headline:hover,
.hp-newsdesk__latest-item:hover {
    color: var(--primary-dark);
}
.hp-newsdesk__lead-img {
    position: relative;
    overflow: hidden;
    background: var(--gray-100);
}
.hp-newsdesk__lead-img img {
    width: 100%;
    height: clamp(260px, 34vw, 420px);
    object-fit: cover;
    filter: saturate(0.86) contrast(1.04);
    transition: transform .32s ease, filter .32s ease;
}
.hp-newsdesk__lead:hover .hp-newsdesk__lead-img img {
    transform: scale(1.025);
    filter: saturate(1) contrast(1.03);
}
.hp-newsdesk__lead-copy {
    padding: clamp(20px, 3vw, 30px);
}
.hp-newsdesk__kicker,
.hp-newsdesk__headline span,
.hp-newsdesk__latest-item span,
.hp-newsdesk__latest-head span {
    display: block;
    color: var(--primary-dark);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.hp-newsdesk__lead-copy h2 {
    max-width: 760px;
    margin: 8px 0 12px;
    font-family: var(--font-display);
    font-size: clamp(2.35rem, 5.4vw, 4.65rem);
    font-weight: 900;
    line-height: 0.91;
    letter-spacing: -0.075em;
}
.hp-newsdesk__lead-copy p {
    max-width: 620px;
    color: var(--gray-600);
    font-size: 1.02rem;
    line-height: 1.58;
}
.hp-newsdesk__lead-copy > span {
    display: inline-block;
    margin-top: 16px;
    color: var(--dark);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 2px solid var(--primary);
}
.hp-newsdesk__rail {
    display: grid;
    align-content: start;
    border-right: 1px solid var(--border);
}
.hp-newsdesk__headline {
    display: block;
    padding: 18px 20px 20px;
    border-bottom: 1px solid var(--border);
}
.hp-newsdesk__headline:last-child {
    border-bottom: none;
}
.hp-newsdesk__headline strong {
    display: block;
    margin-top: 6px;
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 1.8vw, 1.42rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.045em;
}
.hp-newsdesk__latest {
    padding: 18px 18px 20px;
}
.hp-newsdesk__latest-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--dark);
}
.hp-newsdesk__latest-head h2 {
    font-family: var(--font-display);
    font-size: 1.72rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.055em;
}
.hp-newsdesk__latest-item {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
}
.hp-newsdesk__latest-item strong {
    display: block;
    margin-top: 4px;
    font-size: 0.95rem;
    font-weight: 850;
    line-height: 1.26;
}
.hp-newsdesk__topics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.hp-newsdesk__topics a {
    padding: 7px 10px;
    border: 1px solid rgba(54, 43, 31, 0.18);
    border-radius: 999px;
    background: rgba(255,255,255,0.42);
    color: var(--gray-800);
    font-size: 0.73rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.hp-newsdesk__topics a:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
}
.hp-featured { margin: 0 0 34px; }
.hp-featured__link {
    border-radius: 28px;
    background: rgba(255, 250, 241, 0.78);
    box-shadow: var(--shadow);
    transition: transform .22s ease, box-shadow .22s ease;
}
.hp-featured__link:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 70px rgba(55, 38, 18, 0.15);
}
.hp-featured__image img {
    filter: saturate(0.82) contrast(1.04);
}
.hp-featured__eyebrow,
.hp-section__sub,
.article-date {
    letter-spacing: 0.045em;
}
.hp-featured__content h2,
.hp-section__title,
.hp-bridge__headline {
    font-family: var(--font-display);
    font-weight: 900;
    letter-spacing: -0.055em;
}
.hp-featured__content h2 {
    font-size: clamp(1.9rem, 4vw, 3.35rem);
    line-height: 0.98;
}
.hp-section {
    margin-bottom: 52px;
}
.hp-section__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.hp-section__title {
    font-size: clamp(1.55rem, 3vw, 2.25rem);
}
.hp-section__sub {
    max-width: 390px;
    text-align: right;
    font-size: 0.82rem;
    text-transform: uppercase;
    font-weight: 800;
}
.hp-card-row {
    gap: 18px;
}
.hp-card {
    border-radius: 24px;
    background: rgba(255, 250, 241, 0.78);
    box-shadow: 0 1px 0 rgba(255,255,255,0.84) inset;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.hp-card:hover {
    transform: translateY(-5px);
    border-color: rgba(215, 127, 50, 0.45);
    box-shadow: 0 20px 48px rgba(55, 38, 18, 0.13);
}
.hp-card__img img {
    height: 178px;
    filter: saturate(0.82) contrast(1.04);
    transition: transform .28s ease, filter .28s ease;
}
.hp-card:hover .hp-card__img img {
    transform: scale(1.04);
    filter: saturate(1) contrast(1.03);
}
.hp-card__body {
    padding: 17px 17px 20px;
}
.hp-card__body h3 {
    font-family: var(--font-display);
    font-size: 1.16rem;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.045em;
}
.hp-bridge {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 28px;
    background:
        radial-gradient(circle at 100% 0%, rgba(215, 127, 50, 0.38), transparent 18rem),
        linear-gradient(135deg, #21170e, #4a2c17);
    color: #fffaf1;
    padding: clamp(28px, 5vw, 46px);
    box-shadow: 0 24px 60px rgba(55, 38, 18, 0.18);
}
.hp-bridge__eyebrow {
    color: #f2b36d;
}
.hp-bridge__headline {
    color: #fffaf1;
    font-size: clamp(1.7rem, 3.4vw, 2.65rem);
    line-height: 1;
}
.hp-bridge__bullets li {
    color: rgba(255, 250, 241, 0.78);
}
.hp-bridge__bullets li::before {
    background: #f2b36d;
}
.site-footer {
    background:
        linear-gradient(135deg, #17120c 0%, #281a10 100%);
    margin-top: 52px;
}

@media (max-width: 900px) {
    .hp-hero__grid { grid-template-columns: 1fr; }
    .hp-hero__visual { max-width: 620px; }
    .hp-section__head {
        display: block;
    }
    .hp-section__sub {
        max-width: none;
        margin-top: 6px;
        text-align: left;
    }
}

@media (max-width: 640px) {
    .container { padding: 0 18px; }
    .header-inner { height: 58px; }
    .logo { font-size: 24px; }
    .hp-hero { padding: 38px 0 40px; }
    .hp-hero__headline {
        font-size: clamp(2.75rem, 16vw, 4rem);
        letter-spacing: -0.075em;
    }
    .hp-hero__visual::before { inset: -10px 12px 26px -10px; }
    .hp-hero__visual img {
        height: 320px;
        border-radius: 26px;
    }
    .hp-hero__note {
        left: 14px;
        right: 14px;
        width: auto;
        bottom: 16px;
    }
    .hp-featured__link,
    .hp-card,
    .article-card,
    .hp-bridge {
        border-radius: 22px;
    }
}

/* ===== RESPONSIVIDADE FINAL — TABLET E MOBILE ===== */
@media (max-width: 1100px) {
    .container {
        max-width: 100%;
        padding-inline: clamp(18px, 4vw, 30px);
    }
    .nav {
        gap: 16px;
    }
    .nav a {
        font-size: 11px;
    }
    .hp-hero__headline {
        font-size: clamp(3.35rem, 9vw, 5.8rem);
    }
    .article-grid {
        gap: 18px;
    }
    .hp-newsdesk {
        grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    }
    .hp-newsdesk__lead {
        grid-row: span 2;
    }
    .hp-newsdesk__rail {
        border-right: 0;
    }
    .hp-newsdesk__latest {
        grid-column: 2;
        border-top: 1px solid var(--border);
    }
    .radar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .radar-card:nth-child(3n) {
        border-right: 1px solid var(--border);
    }
    .radar-card:nth-child(2n) {
        border-right: 0;
    }
}

@media (max-width: 820px) {
    body {
        overflow-x: hidden;
    }
    .site-header {
        backdrop-filter: blur(14px) saturate(140%);
    }
    .nav {
        display: none;
    }
    .menu-toggle {
        display: block;
        font-size: 28px;
        font-weight: 900;
        line-height: 1;
    }
    .nav-mobile {
        padding: 10px 0 16px;
    }
    .nav-mobile a {
        border-bottom-color: rgba(23, 18, 12, 0.08);
        color: var(--dark);
        font-weight: 800;
    }
    .nav-mobile .nav-cta--mobile {
        display: block;
        padding: 13px 18px;
    }
    .ad-top {
        padding: 8px 0;
    }
    .hp-hero__grid,
    .hp-featured__link,
    .content-grid {
        grid-template-columns: 1fr;
    }
    .hp-hero__copy,
    .hp-hero__sub,
    .hp-hero__headline {
        max-width: none;
    }
    .hp-hero__headline {
        font-size: clamp(3.05rem, 13.5vw, 5.2rem);
    }
    .hp-hero__visual {
        width: min(100%, 620px);
        margin: 0 auto;
    }
    .hp-hero__visual::before,
    .hp-hero__visual img {
        transform: none;
    }
    .hp-newsdesk {
        grid-template-columns: 1fr;
    }
    .hp-newsdesk__lead,
    .hp-newsdesk__rail {
        border-right: 0;
    }
    .hp-newsdesk__latest {
        grid-column: auto;
    }
    .radar-hero__grid,
    .radar-grid,
    .hp-radar__grid {
        grid-template-columns: 1fr;
    }
    .radar-card,
    .radar-card:nth-child(2n),
    .radar-card:nth-child(3n),
    .hp-radar__item:nth-child(odd),
    .hp-radar__item:nth-child(even) {
        border-right: 0;
    }
    .hp-radar__item:nth-child(odd),
    .hp-radar__item:nth-child(even) {
        padding-left: 0;
        padding-right: 0;
    }
    .hp-layout {
        display: block;
        padding-top: 28px;
    }
    .hp-layout .sidebar,
    .sidebar {
        display: none;
    }
    .hp-card-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .article-grid,
    .article-grid--archive {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
    .artigo-imagem img {
        height: clamp(260px, 48vw, 380px);
    }
}

@media (max-width: 620px) {
    body {
        font-size: 15px;
        padding-bottom: 72px;
    }
    body::before {
        background-size: 34px 34px;
        opacity: 0.22;
    }
    .container {
        padding-inline: 16px;
    }
    .header-inner {
        height: 58px;
    }
    .logo {
        font-size: 24px;
    }
    .hp-hero {
        padding: 34px 0 36px;
    }
    .hp-hero__eyebrow {
        max-width: 100%;
        font-size: 0.68rem;
        line-height: 1.25;
    }
    .hp-hero__headline {
        font-size: clamp(2.7rem, 15vw, 4.1rem);
        line-height: 0.93;
        letter-spacing: -0.072em;
        margin-bottom: 18px;
        overflow-wrap: normal;
    }
    .hp-hero__sub {
        font-size: 1rem;
        line-height: 1.58;
        margin-bottom: 22px;
    }
    .hp-hero__actions {
        display: grid;
        gap: 12px;
    }
    .hp-hero__cta,
    .hp-hero__link {
        width: 100%;
        text-align: center;
    }
    .hp-hero__link {
        border-bottom: 0;
    }
    .hp-hero__proof {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 20px;
    }
    .hp-hero__proof span {
        width: 100%;
    }
    .hp-hero__visual {
        min-height: 0;
        margin-top: 8px;
    }
    .hp-hero__visual::before {
        inset: -8px 10px 22px -8px;
        border-radius: 24px;
    }
    .hp-hero__visual img {
        height: clamp(250px, 72vw, 330px);
        border-radius: 24px;
    }
    .hp-hero__note {
        position: relative;
        inset: auto;
        width: auto;
        margin: -34px 12px 0;
        padding: 16px;
    }
    .main {
        padding: 30px 0 44px;
    }
    .hp-featured {
        margin-bottom: 28px;
    }
    .hp-newsdesk {
        margin-bottom: 30px;
    }
    .hp-newsdesk__lead-copy {
        padding: 20px 16px 22px;
    }
    .hp-newsdesk__lead-copy h2 {
        font-size: clamp(2.08rem, 12vw, 3.35rem);
        line-height: 0.94;
    }
    .hp-newsdesk__lead-img img {
        height: clamp(230px, 62vw, 310px);
    }
    .hp-newsdesk__headline,
    .hp-newsdesk__latest {
        padding-inline: 16px;
    }
    .hp-featured__image {
        min-height: 0;
    }
    .hp-featured__image img {
        height: 230px;
    }
    .hp-featured__content {
        padding: 22px 18px 24px;
    }
    .hp-featured__content h2 {
        font-size: clamp(1.8rem, 10vw, 2.65rem);
        line-height: 1;
    }
    .hp-section {
        margin-bottom: 38px;
    }
    .hp-section__head {
        display: block;
        margin-bottom: 16px;
    }
    .hp-section__title {
        font-size: clamp(1.5rem, 8vw, 2rem);
        line-height: 1;
    }
    .hp-section__sub {
        max-width: none;
        margin-top: 8px;
        text-align: left;
        font-size: 0.75rem;
    }
    .hp-card-row,
    .article-grid,
    .article-grid--archive,
    .relacionados-grid {
        grid-template-columns: 1fr;
    }
    .article-grid--archive {
        display: block;
    }
    .article-grid--archive .article-card {
        display: block;
    }
    .article-grid--archive .article-img img {
        height: clamp(200px, 58vw, 270px);
        min-height: 0;
    }
    .article-grid--archive .article-content {
        padding: 18px 16px 20px;
    }
    .article-grid--archive .article-content h3 {
        font-size: 1.35rem;
        line-height: 1.04;
    }
    .hp-card__img img,
    .article-img img {
        height: clamp(200px, 58vw, 270px);
    }
    .hp-card__body h3,
    .article-content h3 {
        font-size: 1.22rem;
    }
    .hp-bridge {
        padding: 26px 20px;
        border-radius: 22px;
    }
    .hp-bridge__headline {
        font-size: clamp(1.7rem, 9vw, 2.25rem);
        line-height: 1;
    }
    .hp-bridge__cta {
        width: 100%;
        text-align: center;
    }
    .category-hero {
        padding: 34px 0 32px;
    }
    .category-hero h1,
    .artigo-header h1 {
        font-size: clamp(2rem, 11vw, 3rem);
        line-height: 1;
    }
    .artigo-conteudo {
        font-size: 16px;
        line-height: 1.78;
    }
    .artigo-conteudo h2 {
        font-size: 1.35rem;
        line-height: 1.18;
    }
    .artigo-imagem img {
        height: 230px;
    }
    .page-content {
        padding: 22px 18px;
        border-radius: 20px;
    }
    .ebook-hero__grid,
    .ebook-two-col,
    .ebook-sample {
        grid-template-columns: 1fr;
    }
    .ebook-hero h1 {
        font-size: clamp(2.9rem, 15vw, 4.4rem);
    }
    .ebook-actions {
        display: grid;
    }
    .ebook-cover {
        min-height: 380px;
        transform: none;
    }
    .ebook-outline__item {
        grid-template-columns: 48px minmax(0, 1fr);
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .exit-popup-box {
        padding: 28px 20px 22px;
        border-radius: 22px;
    }
}

@media (max-width: 380px) {
    .container {
        padding-inline: 14px;
    }
    .hp-hero__headline {
        font-size: clamp(2.45rem, 14vw, 3.35rem);
    }
    .hp-hero__cta,
    .nav-mobile .nav-cta--mobile,
    .hp-bridge__cta {
        padding-inline: 14px;
        font-size: 0.92rem;
    }
    .hp-card__body,
    .article-content {
        padding: 16px;
    }
}
