/* GUIA DO EPI - V5 REDESIGN (2026) */

:root {
    --bg-app: #FCFBF7;
    --bg-card: #FFFFFF;
    --bg-dark: #17181C;
    --bg-yellow-light: #FFF3C4;
    --bg-yellow-pale: #FFF9E0;

    --text-primary: #17181C;
    --text-secondary: #55534B;
    --text-tertiary: #A8A499;

    --accent-primary: #FFC907;
    --accent-dark: #B8860B;
    --accent-glow: rgba(255, 201, 7, 0.3);

    --border-subtle: #EBE8DE;
    --border-focus: #D8D4C6;

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;

    --shadow-card:
        0 4px 6px -1px rgba(23, 24, 28, 0.04),
        0 12px 16px -4px rgba(23, 24, 28, 0.04);

    --shadow-float:
        0 8px 20px rgba(23, 24, 28, 0.08);

    --font-sans: 'Figtree', 'Helvetica Neue', sans-serif;
    --font-display: 'Baloo 2', sans-serif;

    --container: 1200px;
    --gap: 24px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-app);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

a:hover { color: var(--accent-dark); }

img {
    max-width: 100%;
    display: block;
    border-radius: inherit;
}

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
}

.grid-bento {
    display: grid;
    gap: var(--gap);
}

/* Card System */
.bento-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 2px solid var(--border-subtle);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}

.bento-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-float);
    border-color: var(--text-primary);
}

.bento-dark {
    background: var(--bg-dark);
    color: white;
    border-color: var(--bg-dark);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.text-accent { color: var(--accent-primary); }
.text-mute   { color: var(--text-tertiary); }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: background 0.3s, box-shadow 0.3s, color 0.3s, border-color 0.3s;
}

.btn-primary {
    background: var(--accent-primary);
    color: var(--text-primary);
    font-weight: 800;
    border: 2px solid var(--text-primary);
    box-shadow: 0 3px 0 var(--text-primary);
}

.btn-primary:hover {
    background: #FFD335;
    color: var(--text-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 0 var(--text-primary);
}

.btn-dark {
    background: var(--text-primary);
    color: var(--accent-primary);
    font-weight: 800;
    border: 2px solid var(--text-primary);
}

.btn-dark:hover {
    background: #2C2D33;
    color: var(--accent-primary);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
    font-weight: 700;
}

.btn-outline:hover {
    background: var(--text-primary);
    color: var(--accent-primary);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* =========================================
   TICKER BAR
   ========================================= */
.ticker-bar {
    background: var(--bg-dark);
    color: white;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 9px 24px;
    letter-spacing: 0.02em;
}

.ticker-bar a {
    color: var(--accent-primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ticker-bar a:hover { color: #FFD335; }

/* =========================================
   HEADER
   ========================================= */
.nav-bar {
    background: #FFFFFF;
    border-bottom: 3px solid var(--accent-primary);
    position: sticky;
    top: 0;
    z-index: 100;
    margin-bottom: 0;
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 14px 24px;
}

.logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.logo:hover { color: inherit; }

.nav-links {
    display: flex;
    gap: 2px;
}

.nav-link {
    padding: 9px 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    border-radius: 999px;
    transition: background 0.2s;
}

.nav-link:hover {
    background: var(--bg-yellow-light);
    color: var(--text-primary);
}

.nav-link.active {
    background: var(--bg-yellow-light);
    color: var(--text-primary);
}

/* Hamburger Button (mobile only) */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: background 0.2s;
}

.nav-hamburger:hover {
    background: var(--bg-yellow-light);
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu Overlay */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--bg-dark);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.mobile-menu.open {
    opacity: 1;
}

.mobile-menu-panel {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 80px 32px 48px;
}

.mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background 0.2s;
    line-height: 1;
}
.mobile-close:hover { background: rgba(255, 255, 255, 0.2); }

.mobile-menu-panel a {
    display: block;
    padding: 14px 32px;
    font-size: 1.6rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    border-radius: var(--radius-sm);
    transition: color 0.2s;
    letter-spacing: -0.5px;
}

.mobile-menu-panel a:hover,
.mobile-menu-panel a.active {
    color: white;
}

.mobile-menu-panel .mobile-cta {
    margin-top: 32px;
    background: var(--accent-primary);
    color: var(--bg-dark);
    border-radius: 100px;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 800;
}
.mobile-menu-panel .mobile-cta:hover {
    color: var(--bg-dark);
    opacity: 0.9;
}

/* =========================================
   HERO GRID (V4.1 CENTRALIZED SEARCH)
   ========================================= */
.hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}


.hero-full-width {
    width: 100%;
}

.hero-main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 72px 40px 64px;
    border-radius: 0;
    background: var(--bg-app);
    position: relative;
    overflow: hidden;
}

/* Decorative blobs */
.hero-main::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -80px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: var(--bg-yellow-light);
    z-index: 0;
}

.hero-main::after {
    content: "";
    position: absolute;
    bottom: -180px;
    left: -120px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: var(--bg-yellow-pale);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
}

.hero-main h1 {
    font-size: 5rem;
    margin-bottom: 24px;
    color: var(--text-primary);
    line-height: 1.02;
    letter-spacing: -0.01em;
}

.hero-main p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin: 0 auto 40px auto;
    font-weight: 400;
    max-width: 560px;
    line-height: 1.55;
}

/* Hero eyebrow badge */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-dark);
    color: var(--accent-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    padding: 8px 18px;
    border-radius: 999px;
    margin-bottom: 24px;
}

.hero-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-primary);
    display: inline-block;
}

/* Giant Centralized Search */
.hero-search-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.giant-search {
    display: flex;
    align-items: center;
    background: white;
    padding: 8px;
    border-radius: 999px;
    border: 2px solid var(--text-primary);
    box-shadow: 0 6px 0 var(--accent-primary);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    gap: 0;
}

.giant-search:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 8px 0 var(--accent-primary);
}

.search-field {
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    padding: 8px 20px;
    text-align: left;
    border-right: 1px solid var(--border-subtle);
}

.search-field:last-of-type {
    border-right: none;
}

.search-field label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.search-field input,
.search-field select {
    border: none;
    outline: none;
    background: transparent;
    font-size: 15px;
    font-family: var(--font-sans);
    color: var(--text-tertiary);
    padding: 2px 0;
    width: 100%;
}

.search-field input::placeholder {
    color: var(--text-tertiary);
}

.search-field select {
    cursor: pointer;
    appearance: none;
    font-weight: 500;
}

.search-divider {
    width: 1px;
    height: 40px;
    background: var(--border-subtle);
    flex-shrink: 0;
}

.giant-search .btn-primary {
    padding: 16px 34px;
    font-size: 16px;
    font-weight: 800;
    border-radius: 999px;
    margin-left: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    background: var(--accent-primary);
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
    box-shadow: none;
    flex-shrink: 0;
}

.giant-search .btn-primary:hover {
    background: #FFD335;
    transform: none;
    box-shadow: none;
}

/* Quick Tags */
.hero-tags {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.hero-tags span {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.hero-tags a {
    background: white;
    color: var(--text-primary);
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1.5px solid var(--border-subtle);
    transition: all 0.2s;
}

.hero-tags a:hover {
    border-color: var(--accent-primary);
    background: var(--bg-yellow-pale);
    color: var(--text-primary);
}

/* =========================================
   TWO-COL LAYOUT
   ========================================= */
.layout-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--gap);
    margin-top: 80px;
    margin-bottom: 80px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
}

.section-head h2 {
    font-size: 2rem;
    color: var(--text-primary);
}

.section-head .link {
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-focus);
}

/* Category Grid */
.cats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 20px;
    gap: 16px;
    cursor: pointer;
}

.cat-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--accent-primary);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.2s;
}

.cat-item:hover .cat-icon-box {
    background: var(--text-primary);
    color: var(--accent-primary);
    transform: rotate(-5deg);
}

.cat-name {
    font-weight: 700;
    font-size: 1rem;
}

/* Native Ad Cards */
.ad-native {
    border: 1px solid rgba(234, 179, 8, 0.2);
    background: linear-gradient(to bottom, #fff, #fefce8);
}

.ad-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-primary);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.sidebar-sticky {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Footer */
.footer-tech {
    background: var(--bg-dark);
    color: #B8B5AA;
    padding: 56px 24px 0;
    margin-top: 80px;
}

.footer-tech a {
    color: #B8B5AA;
}

.footer-tech a:hover {
    color: var(--accent-primary);
}

.footer-tech h4 {
    color: var(--accent-primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-tech .footer-copy {
    border-top: 1px solid #2C2D33;
    padding: 20px 0;
    margin-top: 48px;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-tech .footer-copy span:last-child {
    color: var(--accent-primary);
    font-weight: 700;
}

.footer-logo-wrap {
    background: white;
    border-radius: 14px;
    padding: 10px 14px;
    display: inline-block;
    margin-bottom: 16px;
}

/* =========================================
   SUPPLIER PROFILE
   ========================================= */
.profile-header {
    margin-bottom: var(--gap);
    overflow: hidden;
}

.profile-cover {
    height: 320px;
    background: linear-gradient(135deg, var(--bg-dark), #2C2D33);
    border-radius: var(--radius-lg);
    position: relative;
    border: 2px solid var(--border-subtle);
}

.profile-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    opacity: 0.8;
}

.profile-cover-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Premium badge on supplier profile */
.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-primary);
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 999px;
    letter-spacing: 0.3px;
    border: 1.5px solid var(--text-primary);
}

.profile-logo-wrapper {
    position: absolute;
    bottom: -40px;
    left: 40px;
    background: white;
    padding: 12px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid var(--border-subtle);
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.profile-meta-top {
    margin-top: 60px;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.profile-meta-info h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.profile-meta-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-meta-stats {
    display: flex;
    gap: 24px;
    margin-top: 16px;
}

.profile-meta-stats .stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.profile-meta-stats .stat strong {
    color: var(--text-primary);
}

/* =========================================
   PAGE: SOBRE
   ========================================= */
.sobre-header {
    text-align: center;
    padding-top: 60px;
    margin-bottom: 60px;
}

.sobre-eyebrow {
    font-weight: 700;
    color: var(--accent-primary);
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.sobre-header h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.sobre-header p {
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.6;
}

.sobre-grid {
    grid-template-columns: repeat(3, 1fr);
}

.sobre-card-main {
    grid-column: 1 / 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sobre-card-visual {
    grid-column: 3 / 4;
    min-height: 400px;
    padding: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background: #e2e8f0;
}

.sobre-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #2C2D33 100%);
}

.sobre-visual-content {
    position: relative;
    z-index: 2;
    padding: 32px;
    color: white;
}

.sobre-cta {
    background: var(--accent-primary);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 40px;
}

@media (max-width: 1024px) {
    .sobre-grid { grid-template-columns: 1fr 1fr; }
    .sobre-card-main  { grid-column: 1 / 3; }
    .sobre-card-visual { grid-column: 1 / 3; min-height: 300px; }
    .sobre-header h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .sobre-grid { grid-template-columns: 1fr; }
    .sobre-card-main  { grid-column: 1; }
    .sobre-card-visual { grid-column: 1; }
    .sobre-header h1  { font-size: 2rem; }
    .sobre-cta h2     { font-size: 1.6rem; }
    .sobre-cta        { padding: 40px 24px; }
}

/* =========================================
   PAGE: CONTATO
   ========================================= */

/* Layout */
.ct-main-grid { grid-template-columns: 2fr 1fr; gap: 32px; }
.ct-faq-grid  { grid-template-columns: 1fr 1fr; gap: 24px; }

.ct-side {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Form */
.ct-form {
    display: grid;
    gap: 24px;
}

.ct-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.ct-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ct-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.ct-input {
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border-focus);
    background: var(--bg-app);
    outline: none;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-primary);
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ct-input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

textarea.ct-input { resize: vertical; }

.ct-select {
    cursor: pointer;
    appearance: none;
}

.ct-submit {
    justify-content: center;
    margin-top: 10px;
    width: 100%;
}

/* Feedback notices */
.msg-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
}

.msg-notice--ok  { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.msg-notice--err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* Channels list */
.ct-channels {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ct-channels li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.ct-channel-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ct-channel-label {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 4px;
}

/* Map placeholder */
.ct-map {
    padding: 0 !important;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0 !important;
    overflow: hidden;
    position: relative;
}

.ct-map-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: white;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: var(--shadow-float);
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .ct-main-grid  { grid-template-columns: 1fr; }
    .ct-faq-grid   { grid-template-columns: 1fr; }
    .ct-row-2col   { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .ct-main-grid h1 { font-size: 2rem; }
}

/* =========================================
   SINGLE POST (Notícias)
   ========================================= */
.post-hero {
    background: linear-gradient(135deg, var(--bg-dark), #2C2D33);
    padding: 80px 0 60px;
    margin-bottom: 60px;
}

.post-hero .post-category {
    display: inline-block;
    background: var(--accent-primary);
    color: var(--bg-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.post-hero h1 {
    color: white;
    font-size: 3rem;
    max-width: 800px;
    margin-bottom: 20px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.post-body {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-body h2, .post-body h3 {
    color: var(--text-primary);
    margin: 40px 0 16px;
}

.post-body p { margin-bottom: 24px; }

.post-body img {
    width: 100%;
    border-radius: var(--radius-md);
    margin: 32px 0;
}

.post-thumbnail-full {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 40px;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .container { padding: 0 20px; }

    .hero-main {
        min-height: 400px;
        padding: 60px 24px;
    }

    .hero-main h1 { font-size: 3rem; }

    .layout-grid { grid-template-columns: 1fr; }

    .sidebar-sticky { position: static; }

    .nav-container {
        padding: 12px 16px;
        gap: 16px;
    }

    /* Show hamburger, hide desktop nav */
    .nav-hamburger { display: flex; }
    .nav-links     { display: none; }
    .nav-actions   { display: none; }

    .giant-search {
        flex-direction: column;
        border-radius: var(--radius-md);
        padding: 16px;
        align-items: stretch;
    }

    .search-divider {
        width: 100%;
        height: 1px;
        margin: 8px 0;
    }

    .search-field { border-radius: 8px; }

    .giant-search .btn-primary {
        margin-left: 0;
        margin-top: 16px;
        justify-content: center;
    }

    .post-hero h1 { font-size: 2rem; }
}

@media (max-width: 768px) {
    .profile-cover {
        height: 200px;
        border-radius: 0;
    }

    .profile-logo-wrapper {
        left: 50%;
        transform: translateX(-50%);
        bottom: -50px;
    }

    .profile-meta-top {
        margin-top: 70px;
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .profile-meta-stats {
        justify-content: center;
        flex-direction: column;
        gap: 12px;
    }

    .hero-main h1 { font-size: 2.2rem; }

    .cats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Archive: Sidebar + Listings Layout ────────────────────────── */
.af-layout-with-sidebar {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: var(--gap);
    align-items: start;
}

/* Sidebar column */
.af-sidebar {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Generic card inside sidebar */
.af-sb-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    padding: 24px;
}

/* Dark ad card */
.af-sb-ad {
    border-radius: var(--radius-md);
    background: var(--bg-dark);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 260px;
    position: relative;
}
.af-sb-ads-label {
    position: absolute;
    top: 12px;
    right: 12px;
    background: white;
    color: var(--bg-dark);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 7px;
    border-radius: 4px;
}
.af-sb-ad-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px 20px 24px;
}
.af-sb-ad-cta {
    display: block;
    background: var(--accent-primary);
    color: white;
    text-align: center;
    padding: 14px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}
.af-sb-ad-cta:hover { opacity: 0.85; color: white; }

@media (max-width: 1024px) {
    .af-layout-with-sidebar {
        grid-template-columns: 1fr;
    }
    .af-sidebar {
        display: none;
    }
}

/* ─── Archive Filter Bar ─────────────────────────────────────────── */
.af-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.af-filter-form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.af-select,
.af-input {
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 0.85rem;
    font-family: var(--font-sans);
    height: 40px;
    cursor: pointer;
    appearance: auto;
}

.af-select:focus,
.af-input:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.af-input { width: 120px; }

.af-btn { white-space: nowrap; height: 40px; }

.af-btn-clear {
    background: transparent;
    color: var(--text-tertiary);
    border: 1px solid var(--border-subtle);
}

@media (max-width: 768px) {
    .af-filter-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .af-filter-form {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .af-select,
    .af-input {
        width: 100%;
        height: 48px;
        font-size: 1rem;
    }

    .af-btn {
        width: 100%;
        justify-content: center;
        height: 48px;
        font-size: 1rem;
    }
}

/* ─── Homepage CTA Banner ────────────────────────────────────────── */
@media (max-width: 768px) {
    .home-ad-banner { display: none; }

    /* CTA split card mobile: stack vertically */
    .home-cta-banner-inner {
        flex-direction: column !important;
    }

    .home-cta-banner-inner > div:last-child {
        min-height: 180px !important;
        border-left: none !important;
        border-top: 3px solid var(--bg-dark);
    }

    .home-cta-banner-inner > div:first-child {
        padding: 32px 24px !important;
    }

    .home-cta-banner-inner h2 {
        font-size: 1.5rem !important;
    }
}

/* ─── Footer Mobile ──────────────────────────────────────────────── */
@media (max-width: 768px) {
    .footer-tech {
        padding: 48px 20px 0;
        margin-top: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        text-align: center;
    }

    .footer-logo-wrap {
        margin: 0 auto 16px;
    }

    .footer-copy {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ─── Ticker Mobile ──────────────────────────────────────────────── */
@media (max-width: 768px) {
    .ticker-bar {
        font-size: 12px;
        gap: 12px;
        flex-direction: column;
        text-align: center;
        padding: 10px 16px;
    }
}

/* ─── Classificados ──────────────────────────────────────────────── */

/* Badge tipo */
.cl-badge-tipo {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
}
.cl-badge-produto {
    background: rgba(59,130,246,0.1);
    color: #2563eb;
}
.cl-badge-servico {
    background: rgba(168,85,247,0.1);
    color: #7c3aed;
}

/* Category tag */
.cl-cat-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

/* Grid */
.cl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

/* Card */
.cl-card {
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.cl-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-float);
}

/* Card thumbnail */
.cl-card-thumb {
    position: relative;
    height: 160px;
    background: var(--bg-app);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.cl-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cl-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.cl-thumb-placeholder i {
    font-size: 3rem;
    color: var(--text-tertiary);
    opacity: 0.4;
}
.cl-badge-tipo {
    position: absolute;
    top: 12px;
    left: 12px;
}

/* Card body */
.cl-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}
.cl-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}
.cl-title a {
    color: var(--text-primary);
}
.cl-title a:hover { color: var(--accent-primary); }

.cl-excerpt {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
    flex: 1;
}

.cl-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--accent-primary);
}

.cl-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.8rem;
    color: var(--text-tertiary);
}
.cl-meta a { color: var(--text-tertiary); }
.cl-meta a:hover { color: var(--text-primary); }

.cl-actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

/* Responsive */
@media (max-width: 1024px) {
    .cl-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .cl-grid { grid-template-columns: 1fr; }
}
