/*
Theme Name: VenderCarros SEO
Theme URI: https://vendercarros.app.site/
Author: Planeta Diário / ChatGPT
Author URI: https://vendercarros.app.site/
Description: Tema WordPress leve e responsivo para portal de veículos integrado ao plugin Brasil Veículos Grátis. Home otimizada para anunciar carro grátis, anunciar venda de carros e anunciar veículos grátis.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vendercarros-seo
Tags: custom-logo, custom-menu, featured-images, one-column, two-columns, block-styles, wide-blocks
*/

:root {
    --vcs-bg: #f4f7fb;
    --vcs-surface: #ffffff;
    --vcs-surface-soft: #eff6ff;
    --vcs-text: #0f172a;
    --vcs-muted: #64748b;
    --vcs-line: #dbe4ef;
    --vcs-primary: #047857;
    --vcs-primary-dark: #064e3b;
    --vcs-primary-soft: #d1fae5;
    --vcs-accent: #f59e0b;
    --vcs-radius: 24px;
    --vcs-shadow: 0 18px 50px rgba(15, 23, 42, .08);
    --bvg-primary: #047857;
    --bvg-primary-2: #10b981;
    --bvg-dark: #0f172a;
    --bvg-radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--vcs-bg);
    color: var(--vcs-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}
a { color: var(--vcs-primary); }
a:hover { color: var(--vcs-primary-dark); }
img { max-width: 100%; height: auto; }

.vcs-container,
.alignwide {
    width: min(1180px, calc(100% - 36px));
    margin-inline: auto;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.vcs-site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(219, 228, 239, .9);
}
.vcs-header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.vcs-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--vcs-text);
    text-decoration: none;
    font-weight: 900;
    letter-spacing: -.03em;
    font-size: 22px;
    white-space: nowrap;
}
.vcs-logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--vcs-primary), #10b981);
    box-shadow: 0 10px 24px rgba(4, 120, 87, .24);
    font-size: 20px;
}
.vcs-logo-image img { max-height: 48px; width: auto; display: block; }
.vcs-nav { display: flex; align-items: center; gap: 10px; }
.vcs-nav ul { list-style: none; display: flex; align-items: center; gap: 6px; padding: 0; margin: 0; flex-wrap: wrap; }
.vcs-nav a {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 9px 12px;
    color: var(--vcs-text);
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
}
.vcs-nav a:hover { background: #f1f5f9; color: var(--vcs-primary-dark); }
.vcs-header-cta,
.vcs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 13px 18px;
    color: #fff !important;
    background: var(--vcs-primary);
    box-shadow: 0 14px 32px rgba(4, 120, 87, .22);
    text-decoration: none;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.vcs-header-cta:hover,
.vcs-btn:hover { transform: translateY(-1px); background: var(--vcs-primary-dark); color: #fff !important; }
.vcs-btn--light { background: #fff; color: var(--vcs-text) !important; box-shadow: none; border: 1px solid rgba(255,255,255,.35); }
.vcs-btn--light:hover { color: var(--vcs-primary-dark) !important; background: #f8fafc; }
.vcs-btn--ghost { background: transparent; color: var(--vcs-primary-dark) !important; border: 1px solid var(--vcs-line); box-shadow: none; }
.vcs-btn--ghost:hover { background: #ecfdf5; color: var(--vcs-primary-dark) !important; }

.vcs-main { min-height: 60vh; }
.vcs-hero {
    position: relative;
    overflow: hidden;
    margin: 28px auto 30px;
    border-radius: 38px;
    padding: clamp(32px, 6vw, 70px);
    color: #fff;
    background:
        radial-gradient(circle at 20% 20%, rgba(16,185,129,.45), transparent 32%),
        linear-gradient(135deg, #064e3b 0%, #065f46 48%, #0f172a 100%);
    box-shadow: 0 24px 80px rgba(6, 78, 59, .26);
}
.vcs-hero:before,
.vcs-hero:after {
    content: '';
    position: absolute;
    border-radius: 999px;
    background: rgba(255,255,255,.09);
    pointer-events: none;
}
.vcs-hero:before { width: 360px; height: 360px; right: -120px; top: -130px; }
.vcs-hero:after { width: 220px; height: 220px; left: 54%; bottom: -110px; }
.vcs-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 34px; align-items: center; }
.vcs-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #a7f3d0;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: .10em;
    text-transform: uppercase;
}
.vcs-eyebrow:before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--vcs-accent); box-shadow: 0 0 0 6px rgba(245, 158, 11, .18); }
.vcs-hero h1 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(38px, 6vw, 72px);
    line-height: .95;
    letter-spacing: -.06em;
    max-width: 820px;
}
.vcs-hero p { margin: 0 0 26px; color: rgba(255,255,255,.86); font-size: clamp(17px, 2vw, 21px); max-width: 780px; }
.vcs-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.vcs-hero-panel {
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 22px 70px rgba(0,0,0,.18);
    backdrop-filter: blur(18px);
}
.vcs-hero-panel strong { display: block; color: #fff; font-size: 24px; letter-spacing: -.04em; margin-bottom: 14px; }
.vcs-hero-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.vcs-hero-panel li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,.86); }
.vcs-hero-panel li:before { content: '✓'; flex: 0 0 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #064e3b; background: #a7f3d0; font-weight: 900; font-size: 13px; }

.vcs-section { margin: 30px auto; }
.vcs-card-section {
    background: var(--vcs-surface);
    border: 1px solid rgba(219, 228, 239, .9);
    border-radius: var(--vcs-radius);
    padding: clamp(22px, 4vw, 34px);
    box-shadow: var(--vcs-shadow);
}
.vcs-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}
.vcs-section h2,
.vcs-content h1,
.vcs-content h2,
.vcs-content h3 {
    color: var(--vcs-text);
    line-height: 1.12;
    letter-spacing: -.04em;
}
.vcs-section h2 { margin: 0 0 12px; font-size: clamp(28px, 3.5vw, 42px); }
.vcs-section p { color: var(--vcs-muted); margin: 0 0 14px; }
.vcs-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vcs-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.vcs-feature-card {
    border: 1px solid var(--vcs-line);
    border-radius: 22px;
    padding: 22px;
    background: linear-gradient(180deg, #fff, #f8fafc);
}
.vcs-feature-card span { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; margin-bottom: 14px; background: var(--vcs-primary-soft); color: var(--vcs-primary-dark); font-size: 22px; }
.vcs-feature-card h3 { margin: 0 0 8px; font-size: 22px; }
.vcs-feature-card p { margin: 0; }
.vcs-seo-copy {
    background: linear-gradient(135deg, #fff, #f7fbff);
    border: 1px solid var(--vcs-line);
    border-radius: var(--vcs-radius);
    padding: clamp(24px, 4vw, 38px);
}
.vcs-seo-copy h2 { margin-top: 0; }
.vcs-seo-copy p { max-width: 930px; }
.vcs-faq details {
    border-top: 1px solid var(--vcs-line);
    padding: 16px 0;
}
.vcs-faq details:last-child { border-bottom: 1px solid var(--vcs-line); }
.vcs-faq summary { cursor: pointer; font-weight: 900; color: var(--vcs-text); }
.vcs-faq p { margin: 10px 0 0; }
.vcs-plugin-alert {
    border: 1px dashed #f59e0b;
    background: #fffbeb;
    color: #713f12;
    border-radius: 18px;
    padding: 16px;
    font-weight: 700;
}

.vcs-content {
    width: min(920px, calc(100% - 36px));
    margin: 30px auto;
    background: var(--vcs-surface);
    border: 1px solid var(--vcs-line);
    border-radius: var(--vcs-radius);
    padding: clamp(24px, 4vw, 42px);
    box-shadow: var(--vcs-shadow);
}
.vcs-content h1 { margin-top: 0; font-size: clamp(34px, 5vw, 52px); }
.vcs-content p, .vcs-content li { color: #334155; }
.vcs-post-meta { color: var(--vcs-muted); font-size: 14px; margin-bottom: 22px; }
.vcs-entry-list { display: grid; gap: 18px; }
.vcs-entry-card { border: 1px solid var(--vcs-line); border-radius: 20px; padding: 20px; background: #fff; }
.vcs-entry-card h2 { margin: 0 0 8px; font-size: 26px; }
.vcs-entry-card a { text-decoration: none; }

.vcs-site-footer {
    margin-top: 50px;
    background: #0f172a;
    color: #cbd5e1;
}
.vcs-footer-grid {
    padding: 42px 0;
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr;
    gap: 28px;
}
.vcs-site-footer h2,
.vcs-site-footer h3 { color: #fff; margin-top: 0; }
.vcs-site-footer a { color: #cbd5e1; text-decoration: none; }
.vcs-site-footer a:hover { color: #fff; }
.vcs-footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vcs-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; color: #94a3b8; font-size: 14px; }

/* Ajustes finos para elementos do plugin Brasil Veículos Grátis */
.bvg-wrap { width: min(1180px, calc(100% - 36px)); }
.bvg-section,
.bvg-card,
.bvg-search,
.bvg-form__section,
.bvg-local-hero,
.bvg-single__side { border-color: rgba(219, 228, 239, .95); }
.bvg-button--primary,
.bvg-pagination .current { background: var(--vcs-primary); border-color: var(--vcs-primary); }
.bvg-card__price,
.bvg-breadcrumbs a { color: var(--vcs-primary); }
.bvg-hero { background: radial-gradient(circle at top left, #10b981, #047857 45%, #0f172a); }

@media (max-width: 980px) {
    .vcs-header-inner { align-items: flex-start; flex-direction: column; padding: 14px 0; }
    .vcs-nav { width: 100%; overflow-x: auto; padding-bottom: 4px; }
    .vcs-nav ul { flex-wrap: nowrap; }
    .vcs-header-cta { width: 100%; }
    .vcs-hero-grid,
    .vcs-grid-2,
    .vcs-footer-grid { grid-template-columns: 1fr; }
    .vcs-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .vcs-container,
    .alignwide,
    .bvg-wrap { width: min(100% - 24px, 1180px); }
    .vcs-hero { border-radius: 26px; margin-top: 14px; }
    .vcs-hero h1 { font-size: clamp(36px, 12vw, 48px); }
    .vcs-hero-actions,
    .vcs-section-head { flex-direction: column; align-items: stretch; }
    .vcs-btn { width: 100%; }
    .vcs-grid-3 { grid-template-columns: 1fr; }
    .vcs-card-section,
    .vcs-seo-copy,
    .vcs-content { border-radius: 20px; }
}
