/* =====================================================================
   Brasileiros em Londres — estilo do site público
   Cores: verde (Brasil), amarelo (destaque), azul-marinho (Londres)
   ===================================================================== */

:root {
    --green: #0a7d4f;
    --green-dark: #07603c;
    --green-soft: #e8f5ee;
    --yellow: #ffc928;
    --yellow-dark: #e5ae00;
    --navy: #13233f;
    --red: #c8202f;
    --uk-blue: #1f3d8f;
    --text: #1d2433;
    --muted: #667085;
    --line: #e4e7ec;
    --bg: #f6f7f9;
    --white: #fff;
    --radius: 12px;
    --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
    --shadow-lg: 0 12px 24px -6px rgba(16, 24, 40, .14);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: 1.4rem; font-weight: 700; letter-spacing: -.01em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.narrow { max-width: 680px; }
.hp { position: absolute; left: -9999px; }

/* ---------- Botões ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .4em;
    padding: .7em 1.2em; border-radius: 10px; border: 2px solid transparent;
    font: inherit; font-weight: 600; cursor: pointer; text-decoration: none !important;
    transition: background .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-accent { background: var(--yellow); color: var(--navy); }
.btn-accent:hover { background: var(--yellow-dark); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--navy); }
.btn-outline:hover { border-color: var(--green); }
.btn-block { width: 100%; }
.btn-lg { padding: .9em 1.6em; font-size: 1.05rem; }

/* ---------- Cabeçalho ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none !important; flex-shrink: 0; }
.logo-img { height: 40px; width: auto; }
.logo-light .logo-img { background: #fff; border-radius: 8px; padding: 3px 5px; height: 46px; }
.tagline { color: var(--yellow); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin: 10px 0 4px; }
.logo-text { font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.logo-text em { font-style: normal; color: var(--green); }
.logo-light { color: #fff; }
.logo-light .logo-text em { color: var(--yellow); }

.main-nav { display: flex; align-items: center; gap: 16px; flex: 1; justify-content: space-between; }
.main-nav > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
    display: block; padding: 8px 10px; border-radius: 8px; color: var(--navy);
    font-weight: 600; font-size: .92rem; text-decoration: none;
}
.main-nav > ul > li > a:hover, .main-nav > ul > li > a.active { background: var(--green-soft); color: var(--green); }
.main-nav .sub {
    display: none; position: absolute; top: 100%; left: 0; min-width: 230px; z-index: 60;
    background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg);
    list-style: none; margin: 0; padding: 6px;
}
.main-nav .has-sub:hover .sub, .main-nav .has-sub:focus-within .sub { display: block; }
.main-nav .sub a { display: block; padding: 8px 10px; border-radius: 6px; color: var(--text); font-size: .9rem; }
.main-nav .sub a:hover { background: var(--bg); text-decoration: none; }
.main-nav .caret { font-size: .7em; opacity: .6; }
.main-nav .sub-wide { min-width: 260px; max-height: 75vh; overflow-y: auto; }
.main-nav .sub-head a { font-weight: 800; color: var(--green); text-transform: uppercase; font-size: .75rem; letter-spacing: .05em; margin-top: 4px; }
.main-nav .indented a { padding-left: 18px; }

/* Notícia entre as seções da página inicial */
.news-strip { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); color: inherit; text-decoration: none !important; }
.news-strip:hover { box-shadow: var(--shadow-lg); }
.news-strip .strip-img { aspect-ratio: 16 / 9; background: var(--green-soft); position: relative; overflow: hidden; }
.news-strip .strip-img img { position: absolute; inset: 0; }
.news-strip .strip-img img { width: 100%; height: 100%; object-fit: cover; }
.news-strip .strip-body { padding: 24px 28px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.news-strip h3 { font-size: 1.45rem; margin: 0; }
.news-strip p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .news-strip { grid-template-columns: 1fr; } }
.nav-toggle, .nav-burger { display: none; }
.nav-cta { white-space: nowrap; }
.main-nav > ul { flex-wrap: nowrap; }

/* ---------- Mensagens ---------- */
.flash { margin: 16px 0; padding: 12px 16px; border-radius: 10px; background: var(--green-soft); color: var(--green-dark); font-weight: 600; }
.error { color: var(--red); font-weight: 600; }

/* ---------- Página inicial ---------- */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--uk-blue) 55%, var(--green-dark) 100%);
    color: #fff; padding: 56px 0 44px;
}
.hero h1 { color: #fff; max-width: 760px; }
.hero-sub { color: #d6deeb; max-width: 640px; margin: 0 0 24px; font-size: 1.1rem; }
.search-bar {
    display: grid; grid-template-columns: 1fr 200px 170px auto; gap: 8px;
    background: #fff; padding: 8px; border-radius: 14px; box-shadow: var(--shadow-lg);
}
.search-bar input, .search-bar select { border: 0; background: var(--bg); }
.quick-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.quick-links .chip { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }
.quick-links .chip:hover { background: rgba(255,255,255,.22); }

.section { padding: 40px 0; }
.section-tint { background: #fffbea; border-top: 1px solid #fbefc0; border-bottom: 1px solid #fbefc0; }
.section-tight { margin-top: 48px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.see-all { font-weight: 600; white-space: nowrap; }
.cta-box {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    background: var(--green); color: #fff; padding: 32px; border-radius: 18px;
}
.cta-box h2 { color: #fff; }
.cta-box p { margin: 0; color: #d9f2e6; }

/* ---------- Formulários ---------- */
input[type=text], input[type=search], input[type=email], input[type=number], select, textarea {
    width: 100%; font: inherit; color: var(--text);
    padding: .65em .8em; border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: transparent; }
label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: 12px; }
label input, label select, label textarea { margin-top: 4px; font-weight: 400; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.chip {
    display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line);
    background: #fff; color: var(--navy); font-size: .88rem; font-weight: 600; text-decoration: none !important;
}
.chip:hover { border-color: var(--green); color: var(--green); }
.chip-active { background: var(--green); border-color: var(--green); color: #fff; }

/* ---------- Cartões ---------- */
.card {
    display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none !important;
    box-shadow: var(--shadow); transition: box-shadow .15s, transform .15s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-img { position: relative; aspect-ratio: 4 / 3; background: var(--bg); overflow: hidden; min-height: 0; flex-shrink: 0; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.img-placeholder {
    width: 100%; height: 100%; display: grid; place-items: center;
    font-size: 2.4rem; font-weight: 800; color: #b9c2d0; background: linear-gradient(135deg, #eef1f5, #e3e8ef);
}
.img-placeholder-news { background: linear-gradient(135deg, #e8f5ee, #d4ecdf); color: #9ccbb2; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-title { font-size: 1rem; font-weight: 700; color: var(--navy); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
.card-meta .zone { background: var(--bg); border-radius: 6px; padding: 0 6px; }
.card-foot { margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); }
.price { font-size: 1.2rem; font-weight: 800; color: var(--green-dark); }
.price small { font-size: .78rem; font-weight: 600; color: var(--muted); }
.price .ono { background: var(--bg); padding: 1px 6px; border-radius: 6px; }
.badge { position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 6px; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.badge-urgent { background: var(--red); color: #fff; }
.badge-featured { background: var(--yellow); color: var(--navy); left: auto; right: 10px; }
.photo-count { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,.6); color: #fff; font-size: .75rem; padding: 2px 8px; border-radius: 6px; }
.listing-card.is-featured { border: 2px solid var(--yellow); }

.listing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.listing-grid-3 { grid-template-columns: repeat(3, 1fr); }

.kicker { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--green); }
.article-card .date { font-size: .8rem; color: var(--muted); margin-top: auto; }
.excerpt { margin: 0; color: var(--muted); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news-grid .is-large { grid-column: span 2; grid-row: span 2; }
.news-grid .is-large .card-img { aspect-ratio: 16 / 9; }
.news-grid .is-large .card-title { font-size: 1.5rem; -webkit-line-clamp: 3; }
.news-grid-3 .is-large { grid-column: auto; grid-row: auto; }

/* ---------- Páginas internas ---------- */
.page { padding-top: 24px; padding-bottom: 56px; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--muted); }
.page-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.with-sidebar { display: grid; grid-template-columns: 270px 1fr; gap: 24px; align-items: start; }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: sticky; top: 88px; }
.filters h3 { font-size: 1rem; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.clear-filters { display: block; text-align: center; margin-top: 10px; font-size: .88rem; }
.empty { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 40px; text-align: center; }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 28px; }
.pagination .pg { padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-weight: 600; font-size: .9rem; }
.pagination .current { background: var(--green); color: #fff; border-color: var(--green); }
.pagination .disabled { color: #b5bcc8; }

/* ---------- Página do anúncio ---------- */
.listing-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.gallery-main { position: relative; background: #0f1724; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-empty { color: #8a94a6; background: var(--bg); }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.thumb { border: 2px solid transparent; padding: 0; border-radius: 8px; overflow: hidden; cursor: pointer; width: 84px; height: 64px; flex-shrink: 0; background: none; }
.thumb:hover, .thumb:focus { border-color: var(--green); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.listing-title { margin-top: 20px; }
.listing-sub { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.h-sm { font-size: 1.1rem; margin-top: 28px; }
.details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.details > div { padding: 10px 14px; border-bottom: 1px solid var(--line); }
.details > div:nth-child(odd) { border-right: 1px solid var(--line); }
.details dt { font-size: .78rem; color: var(--muted); font-weight: 600; }
.details dd { margin: 0; font-weight: 600; color: var(--navy); }
.description { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; white-space: normal; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: 88px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); }
.side-price { font-size: 1.9rem; font-weight: 800; color: var(--green-dark); line-height: 1; }
.ono-tag { display: inline-block; background: var(--bg); border-radius: 6px; padding: 2px 8px; font-size: .85rem; font-weight: 600; width: fit-content; }
.seller { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; }
.verified { color: var(--green); font-size: .85rem; font-weight: 700; }
.reveal summary { list-style: none; }
.reveal summary::-webkit-details-marker { display: none; }
.phone { display: block; text-align: center; font-size: 1.3rem; font-weight: 800; margin-top: 8px; }
.safety { font-size: .8rem; color: var(--muted); margin: 0; background: var(--bg); padding: 10px; border-radius: 8px; }
.report { margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; }
.report summary { cursor: pointer; font-weight: 600; color: var(--muted); }
.report form { margin-top: 12px; }

/* ---------- Compartilhar ---------- */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0; }
.share-label { font-size: .85rem; font-weight: 700; color: var(--muted); margin-right: 2px; }
.share-btn {
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
    font-size: .85rem; font-weight: 600; color: #fff; text-decoration: none !important; line-height: 1;
}
.share-btn svg { width: 16px; height: 16px; fill: currentColor; }
.share-btn:hover { filter: brightness(.92); }
.share-whatsapp { background: #25d366; }
.share-facebook { background: #1877f2; }
.share-x { background: #111; }
.share-email { background: #5b6472; }
.share-copy, .share-native { background: #fff; color: var(--navy); border: 1px solid var(--line); }

/* ---------- Artigo ---------- */
.article { max-width: 820px; }
.article-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.lead { font-size: 1.2rem; color: #475467; margin: 0 0 12px; }
.byline { color: var(--muted); font-size: .92rem; }
.article-cover { margin: 20px 0; }
.article-cover img {
    border-radius: var(--radius); width: 100%; max-height: 460px;
    object-fit: contain; background: #eef1f5;
}
.article-cover figcaption { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.article-extra { margin: 20px 0; }
.prose { font-size: 1.08rem; line-height: 1.75; }
.prose p { margin: 0 0 1.1em; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose img { border-radius: 10px; margin: 1em 0; }
.prose blockquote { margin: 1.2em 0; padding: .4em 1.2em; border-left: 4px solid var(--yellow); color: #475467; font-style: italic; }
.article-foot { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--navy); color: #c8d1e0; margin-top: 40px; padding-top: 44px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #c8d1e0; }
.site-footer a:hover { color: #fff; }
.muted-light { color: #93a1b8; font-size: .92rem; }
.footer-account { display: inline-block; font-weight: 800; color: var(--navy) !important; background: var(--yellow); padding: 6px 12px; border-radius: 8px; letter-spacing: .04em; }
.footer-account:hover { background: var(--yellow-dark); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding: 18px 20px; font-size: .85rem; color: #93a1b8; }

/* ---------- Celular e tablet ---------- */
@media (max-width: 1024px) {
    .listing-grid { grid-template-columns: repeat(3, 1fr); }
    .listing-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .nav-burger { display: block; margin-left: auto; width: 40px; height: 40px; cursor: pointer; position: relative; }
    .nav-burger span, .nav-burger span::before, .nav-burger span::after {
        content: ""; position: absolute; left: 9px; width: 22px; height: 2px; background: var(--navy); border-radius: 2px;
    }
    .nav-burger span { top: 19px; }
    .nav-burger span::before { top: -7px; left: 0; }
    .nav-burger span::after { top: 7px; left: 0; }
    .main-nav {
        display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff;
        flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    }
    .nav-toggle:checked ~ .main-nav { display: flex; }
    .main-nav > ul { flex-direction: column; }
    .main-nav .sub { display: none !important; }
    .search-bar { grid-template-columns: 1fr 1fr; }
    .search-bar input { grid-column: 1 / -1; }
    .search-bar button { grid-column: 1 / -1; }
    .with-sidebar, .listing-layout { grid-template-columns: 1fr; }
    .filters, .side-box { position: static; }
    .news-grid { grid-template-columns: 1fr 1fr; }
    .news-grid .is-large { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 560px) {
    .listing-grid, .listing-grid-3 { grid-template-columns: 1fr 1fr; gap: 10px; }
    .card-body { padding: 10px 12px 12px; }
    .price { font-size: 1.05rem; }
    .news-grid { grid-template-columns: 1fr; }
    .details { grid-template-columns: 1fr; }
    .details > div:nth-child(odd) { border-right: 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero { padding: 36px 0 28px; }
}

/* ---------- Vídeos ---------- */
.video-thumb { aspect-ratio: 16 / 9; }
.video-thumb .play {
    position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%;
    background: rgba(200, 32, 47, .92); color: #fff; display: grid; place-items: center; font-size: 1.2rem;
    box-shadow: 0 4px 14px rgba(0,0,0,.3);
}
.video-card:hover .play { transform: scale(1.08); }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.section-dark { background: var(--navy); }
.section-dark h2 { color: #fff; }
.section-dark .see-all { color: var(--yellow); }
.source-credit { margin-top: 24px; font-size: .92rem; color: var(--muted); border-left: 3px solid var(--yellow); padding-left: 12px; }

/* ---------- Lista de notícias (foto à esquerda, texto à direita) ---------- */
.article-list { display: flex; flex-direction: column; gap: 14px; max-width: 900px; }
.article-row {
    display: grid; grid-template-columns: 260px 1fr; gap: 20px; align-items: center;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px;
    color: inherit; text-decoration: none !important; box-shadow: var(--shadow); transition: box-shadow .15s;
}
.article-row:hover { box-shadow: var(--shadow-lg); }
.article-row:hover .row-title { color: var(--green); }
.row-img { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--bg); }
.row-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.row-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.row-title { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin: 0; line-height: 1.3; }
.row-excerpt { margin: 0; color: var(--muted); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row-meta { font-size: .8rem; color: var(--muted); }

/* Primeira notícia em destaque: foto maior */
.article-row.is-highlight { grid-template-columns: 1.3fr 1fr; padding: 16px; gap: 28px; }
.article-row.is-highlight .row-title { font-size: 1.6rem; }
.article-row.is-highlight .row-excerpt { -webkit-line-clamp: 4; font-size: 1.02rem; }

@media (max-width: 760px) {
    .article-row, .article-row.is-highlight { grid-template-columns: 120px 1fr; gap: 12px; padding: 10px; }
    .row-title { font-size: 1rem; }
    .row-excerpt { display: none; }
    .article-row.is-highlight { grid-template-columns: 1fr; }
    .article-row.is-highlight .row-title { font-size: 1.25rem; }
    .article-row.is-highlight .row-excerpt { display: -webkit-box; }
}

.details > div:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
.badge-inline { display: inline-block; background: var(--red); color: #fff; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 2px 8px; border-radius: 6px; margin-right: 6px; vertical-align: middle; }

/* ---------- Páginas institucionais (Termos, Privacidade, Como funciona) ---------- */
.legal { max-width: 900px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.legal-nav a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: .88rem; font-weight: 600; text-decoration: none; }
.legal-nav a:hover { border-color: var(--green); color: var(--green); }
.legal-nav a.active { background: var(--green); border-color: var(--green); color: #fff; }
.legal .prose { font-size: 1rem; line-height: 1.7; }
.legal .prose h2 { font-size: 1.35rem; color: var(--navy); scroll-margin-top: 90px; }
.legal .prose h3 { font-size: 1.08rem; color: var(--navy); }
.legal .prose li { margin-bottom: .45em; }
.legal-toc { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 28px; font-size: .92rem; }
.legal-toc ol { margin: 8px 0 0; padding-left: 20px; columns: 2; column-gap: 28px; }
.legal-toc li { margin-bottom: 4px; break-inside: avoid; }
.table-wrap { overflow-x: auto; margin: 1em 0 1.4em; border: 1px solid var(--line); border-radius: var(--radius); }
.legal-table { width: 100%; border-collapse: collapse; font-size: .92rem; background: #fff; }
.legal-table th, .legal-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table thead th { background: var(--navy); color: #fff; font-weight: 700; }
.legal-table tbody tr:last-child td { border-bottom: 0; }
.legal-table .price { white-space: nowrap; font-weight: 800; color: var(--green); }
.plan-table th:not(:first-child), .plan-table td:not(:first-child) { text-align: center; }
.plan-table td:first-child { font-weight: 600; color: var(--navy); }
.plan-price { display: block; font-size: 1.15rem; font-weight: 800; color: var(--yellow); margin-top: 2px; }
.plan-price small { font-size: .75rem; color: #d6deeb; font-weight: 600; }
.callout { background: var(--green-soft); border-left: 4px solid var(--green); border-radius: 8px; padding: 12px 16px; margin: 1em 0; }
mark.todo { background: #fff3c4; color: #7a5a00; padding: 0 4px; border-radius: 4px; font-size: .9em; }
@media (max-width: 640px) { .legal-toc ol { columns: 1; } }

/* =====================================================================
   Página inicial — layout aprovado em 19/11/2026
   ===================================================================== */
.top-strip { background: var(--navy); color: #c8d1e0; font-size: .82rem; }
.top-strip-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 7px; padding-bottom: 7px; }
.top-links { display: flex; gap: 20px; align-items: center; }
.top-links a { color: #c8d1e0; }
.top-links a:hover { color: #fff; text-decoration: none; }
.top-links .top-account { color: var(--yellow); font-weight: 700; letter-spacing: .04em; }

.serif, .lead-title, .more-title, .guide-title, .mr-num { font-family: 'Source Serif 4', Georgia, serif; }
.label-heading { margin: 0 0 4px; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.home-block { margin-top: 52px; }
.home-block .section-head h2 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; color: var(--navy); margin: 0; }
.home-spacer { height: 56px; }
.home-videos { margin-top: 56px; }

/* 1. Manchete */
.home-lead { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; padding-top: 32px; }
.lead-story { display: flex; flex-direction: column; gap: 12px; color: inherit; text-decoration: none !important; min-width: 0; }
.lead-img { position: relative; aspect-ratio: 16 / 9; background: #e3e8ef; border-radius: 8px; overflow: hidden; }
.lead-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lead-title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.15; font-weight: 700; color: var(--navy); }
.lead-story:hover .lead-title { color: var(--green); }
.lead-excerpt { font-size: 1.12rem; line-height: 1.55; color: #475467; }
.lead-meta { font-size: .85rem; color: var(--muted); }
.more-news { display: flex; flex-direction: column; min-width: 0; }
.more-item { display: grid; grid-template-columns: 1fr 96px; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none !important; }
.more-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.more-text .kicker { font-size: .68rem; }
.more-title { font-weight: 700; font-size: 1.08rem; line-height: 1.3; color: var(--navy); }
.more-item:hover .more-title { color: var(--green); }
.more-img { position: relative; aspect-ratio: 1 / 1; background: #e3e8ef; border-radius: 6px; overflow: hidden; }
.more-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.more-news .see-all { margin-top: 14px; }

/* 2. Classificados da comunidade */
.home-search { display: grid; grid-template-columns: 1fr 200px 170px auto; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: var(--shadow); margin-bottom: 16px; }
.home-search input, .home-search select { border: 0; background: var(--bg); border-radius: 10px; padding: 11px 12px; font: inherit; min-width: 0; }
.cat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.cat-card { background: #fff; border: 1px solid #eceef2; border-radius: 18px; padding: 20px 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: var(--navy); text-decoration: none !important; transition: box-shadow .15s, transform .15s; }
.cat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.cat-icon { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.cat-name { font-weight: 700; line-height: 1.25; }
.cat-count { font-size: .78rem; color: var(--muted); }
.tone-green .cat-icon { background: #e8f5ee; color: #0a7d4f; }
.tone-yellow .cat-icon { background: #fff6d6; color: #9a6b00; }
.tone-blue .cat-icon { background: #e8edf8; color: #1f3d8f; }
.tone-red .cat-icon { background: #fde8ea; color: #c8202f; }

/* Cartão compacto (Destaques e Recentes) */
.tile { display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; color: inherit; text-decoration: none !important; box-shadow: var(--shadow); height: 100%; transition: box-shadow .15s; }
.tile:hover { box-shadow: var(--shadow-lg); }
.tile:hover .tile-title { color: var(--green); }
.tile-img { position: relative; aspect-ratio: 1 / 1; background: #e3e8ef; overflow: hidden; }
.tile-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-img .img-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; font-weight: 800; color: #b3bccb; }
.tile-badge { position: absolute; top: 12px; left: 12px; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 3px 9px; border-radius: 6px; }
.tile-badge-paid { background: var(--yellow); color: var(--navy); }
.tile-badge-urgent { background: var(--red); color: #fff; }
.tile-price { position: absolute; left: 12px; bottom: 12px; background: #fff; color: var(--navy); font-weight: 800; padding: 5px 11px; border-radius: 999px; box-shadow: 0 2px 6px rgba(16, 24, 40, .18); }
.tile-price small { font-size: .72rem; color: var(--muted); font-weight: 600; }
.tile-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.tile-title { font-weight: 700; color: var(--navy); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile-meta { font-size: .82rem; color: var(--muted); }
.tile-biz { font-size: .8rem; font-weight: 600; color: var(--uk-blue); }
.tile-check { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; border-radius: 50%; background: var(--green); color: #fff; font-size: .62rem; vertical-align: 1px; }

/* 3. Destaques: 4 posições, cada uma troca com fade */
.showcase { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.showcase-slot { display: grid; }
.showcase-item { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s linear .8s; }
.showcase-item.is-active { opacity: 1; visibility: visible; transition: opacity .8s ease, visibility 0s; }
@media (prefers-reduced-motion: reduce) { .showcase-item, .showcase-item.is-active { transition: none; } }

/* 4. Notícias + Guia de Negócios */
.news-biz { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; align-items: start; }
.news-col { min-width: 0; }
.news-feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: center; background: #fff; border-radius: 20px; padding: 14px; box-shadow: var(--shadow); color: inherit; text-decoration: none !important; }
.nf-img, .nm-img { position: relative; background: #e3e8ef; overflow: hidden; }
.nf-img { aspect-ratio: 16 / 10; border-radius: 14px; }
.nf-img img, .nm-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nf-body { display: flex; flex-direction: column; gap: 8px; }
.nf-title { font-size: 1.35rem; font-weight: 800; line-height: 1.2; color: var(--navy); }
.news-feature:hover .nf-title, .news-mini:hover .nm-title { color: var(--green); }
.nf-meta { font-size: .82rem; color: var(--muted); }
.news-mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.news-mini { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: center; background: #fff; border-radius: 16px; padding: 12px; box-shadow: var(--shadow); color: inherit; text-decoration: none !important; }
.nm-img { aspect-ratio: 1 / 1; border-radius: 10px; }
.nm-title { font-weight: 700; line-height: 1.3; color: var(--navy); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.biz-box { background: var(--navy); color: #fff; border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.biz-kicker { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); }
.biz-box h3 { margin: 0; font-size: 1.3rem; line-height: 1.2; color: #fff; }
.biz-list { display: flex; flex-direction: column; gap: 10px; }
.biz-item { display: flex; gap: 12px; align-items: center; background: #1c3053; border-radius: 14px; padding: 10px 12px; color: #fff; text-decoration: none !important; }
.biz-item:hover { background: #24406b; }
.biz-item strong { display: block; font-size: .95rem; }
.biz-item small { color: #c8d1e0; }
.biz-logo { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; background: #fff; color: var(--navy); font-weight: 800; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.biz-logo img { width: 100%; height: 100%; object-fit: contain; }
.biz-empty { margin: 0; color: #c8d1e0; line-height: 1.5; }
.biz-actions { margin-top: 6px; display: flex; flex-direction: column; gap: 10px; }
.biz-actions .btn { text-align: center; }
.biz-link { color: var(--yellow); font-weight: 600; }

/* 5. Anúncios recentes (carrossel) */
.carousel-tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { font: inherit; font-size: .85rem; font-weight: 600; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.pill:hover { border-color: var(--navy); }
.pill.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.carousel-arrows { display: flex; gap: 6px; }
.arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.4rem; line-height: 1; color: var(--navy); cursor: pointer; }
.arrow:hover { border-color: var(--green); color: var(--green); }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 12px; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-item { scroll-snap-align: start; min-width: 0; }
.carousel-item[hidden] { display: none; }

/* 6. Guia & Dicas + Mais lidas */
.guides-row { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.guides-col { min-width: 0; }
.guides-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.guide-card { display: flex; flex-direction: column; gap: 10px; color: inherit; text-decoration: none !important; }
.guide-img { position: relative; aspect-ratio: 16 / 10; background: var(--green-soft); border-radius: 8px; overflow: hidden; }
.guide-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.guide-title { font-weight: 700; font-size: 1.08rem; line-height: 1.3; color: var(--navy); }
.guide-card:hover .guide-title { color: var(--green); }
.most-read { min-width: 0; }
.mr-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none !important; }
.mr-item:last-child { border-bottom: 0; }
.mr-num { font-size: 1.9rem; font-weight: 700; color: var(--yellow-dark); line-height: 1; min-width: 26px; }
.mr-title { font-weight: 600; line-height: 1.35; color: var(--navy); }
.mr-item:hover .mr-title { color: var(--green); }

@media (max-width: 1024px) {
    .home-lead, .news-biz, .guides-row { grid-template-columns: 1fr; }
    .showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .carousel-track { grid-auto-columns: calc((100% - 40px) / 3); }
    .home-search { grid-template-columns: 1fr 1fr; }
    .home-search input, .home-search button { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .top-date { display: none; }
    .top-strip-inner { justify-content: center; }
    .home-block { margin-top: 40px; }
    .home-block .section-head h2 { font-size: 1.35rem; }
    .showcase { gap: 12px; }
    .tile-body { padding: 10px 12px 12px; }
    .tile-price { left: 8px; bottom: 8px; font-size: .9rem; padding: 4px 9px; }
    .carousel-track { grid-auto-columns: 72%; gap: 12px; }
    .news-feature { grid-template-columns: 1fr; }
    .news-mini-grid, .guides-grid { grid-template-columns: 1fr; }
    .guides-grid .guide-card { display: grid; grid-template-columns: 110px 1fr; align-items: center; }
    .home-search { grid-template-columns: 1fr; }
    .cat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Busca no cabeçalho */
.header-search { display: flex; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 2px 4px 2px 14px; margin-left: auto; min-width: 0; }
.header-search:focus-within { border-color: var(--green); background: #fff; }
.header-search input { border: 0; background: transparent; font: inherit; font-size: .9rem; width: 190px; padding: 7px 0; outline: none; min-width: 0; }
.header-search button { border: 0; background: var(--green); color: #fff; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.header-search button:hover { background: var(--green-dark); }
@media (max-width: 1180px) and (min-width: 861px) { .header-search input { width: 120px; } }
@media (max-width: 860px) {
    .header-search { margin: 8px 0; padding-left: 16px; }
    .header-search input { width: 100%; flex: 1; }
}

/* Atalhos da equipe (só aparecem para quem acessa o painel) */
.top-links .top-admin { background: var(--yellow); color: var(--navy); font-weight: 800; padding: 2px 10px; border-radius: 6px; }
.top-links .top-admin:hover { color: var(--navy); background: #fff; }
.admin-edit-fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; background: var(--navy); color: #fff; font-weight: 700; font-size: .9rem; padding: 11px 18px; border-radius: 999px; box-shadow: 0 8px 24px rgba(16, 24, 40, .3); text-decoration: none !important; }
.admin-edit-fab:hover { background: var(--green); color: #fff; }


/* =====================================================================
   Cabeçalho em duas linhas (como no mockup): logo + busca + anunciar,
   e o menu embaixo. Estas regras substituem as antigas do cabeçalho.
   ===================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-top { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.header-top .logo { gap: 12px; }
.header-top .logo-img { height: 46px; }
.logo-words { display: flex; flex-direction: column; line-height: 1.1; }
.logo-words .logo-text { font-size: 1.3rem; }
.logo-tagline { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 3px; }
.header-top .header-search { flex: 1; max-width: 620px; margin: 0 0 0 auto; display: flex; align-items: center; gap: 6px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 4px 4px 4px 14px; }
.header-top .header-search:focus-within { border-color: var(--green); background: #fff; }
.header-top .header-search input { flex: 1; width: auto; min-width: 0; border: 0; background: transparent; font: inherit; font-size: .95rem; padding: 9px 0; outline: none; }
.header-top .header-search button { display: inline-flex; align-items: center; gap: 6px; width: auto; height: auto; border: 0; border-radius: 9px; background: var(--green); color: #fff; font: inherit; font-weight: 600; padding: 9px 16px; cursor: pointer; }
.header-top .header-search button:hover { background: var(--green-dark); }
.header-top .nav-cta { flex-shrink: 0; padding: 12px 20px; }

.nav-row { border-top: 1px solid var(--line); }
.nav-row .main-nav { display: flex; flex: none; justify-content: flex-start; }
.nav-row .main-nav > ul { display: flex; gap: 2px; flex-wrap: wrap; }
.nav-row .main-nav > ul > li > a { padding: 12px 14px; border-radius: 0; border-bottom: 3px solid transparent; font-size: .93rem; }
.nav-row .main-nav > ul > li > a:hover { background: transparent; color: var(--green); }
.nav-row .main-nav > ul > li > a.active { background: transparent; color: var(--green); border-bottom-color: var(--green); }
.nav-row .main-nav .sub { top: calc(100% - 3px); }

@media (max-width: 1024px) {
    .header-top { gap: 16px; }
    .logo-tagline { display: none; }
}
@media (max-width: 860px) {
    .site-header { position: static; }
    .header-top { flex-wrap: wrap; gap: 10px 12px; padding-top: 10px; padding-bottom: 10px; }
    .header-top .logo-img { height: 38px; }
    .logo-words .logo-text { font-size: 1.1rem; }
    .header-top .nav-cta { margin-left: auto; padding: 8px 12px; font-size: .85rem; }
    .header-top .nav-burger { margin-left: 0; }
    .header-top .header-search { order: 5; flex-basis: 100%; max-width: none; margin: 0; }
    .header-top .header-search button span { display: none; }
    .nav-row { display: none; }
    .nav-toggle:checked ~ .nav-row { display: block; }
    .nav-row .main-nav { position: static; display: flex; flex-direction: column; align-items: stretch; padding: 6px 0 14px; border: 0; box-shadow: none; background: transparent; }
    .nav-row .main-nav > ul { flex-direction: column; }
    .nav-row .main-nav > ul > li > a { border-bottom: 0; border-left: 3px solid transparent; padding: 10px 12px; }
    .nav-row .main-nav > ul > li > a.active { border-left-color: var(--green); }
}

/* Busca geral: notícias acima dos anúncios */
.search-articles { margin: 8px 0 24px; }
.search-articles h2 { font-size: 1.2rem; color: var(--navy); margin: 0 0 12px; }
.search-articles .article-list { max-width: none; }
.search-articles .search-listings-title { margin-top: 28px; }
