/* =========================================
   RESET GERAL E TIPOGRAFIA DE ALTO IMPACTO
   ========================================= */
*, *::before, *::after { box-sizing: border-box; }
body { 
    margin: 0; 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
    background-color: #f8fafc; 
    color: #0f172a; 
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
.header-container, .home-section-container { max-width: 1280px; margin: 0 auto; padding: 0 20px; width: 100%; }

/* =========================================
   HEADER E MENU SUPERIOR
   ========================================= */
.site-header { background: #fff; border-bottom: 1px solid #e2e8f0; }
.top-bar { background: #ff6600; font-size: 13px; padding: 8px 0; color: #fff; font-weight: 700; text-align: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

.main-header-bar { padding: 18px 0; border-bottom: 1px solid #e2e8f0; background: #fff; }
.header-grid { display: grid; grid-template-columns: 220px 1fr auto; gap: 30px; align-items: center; }

.site-logo img { 
    max-height: 55px; 
    display: block; 
    background: transparent !important;
    object-fit: contain;
}

.header-search form { display: flex; width: 100%; background: #f1f5f9; border-radius: 12px; padding: 4px; border: 1px solid #e2e8f0; }
.header-search input { width: 100%; padding: 10px 16px; border: none; background: transparent; outline: none; font-size: 14px; font-weight: 500; color: #0f172a; }
.header-search button { padding: 10px 24px; background: #111827; color: #fff; border: none; border-radius: 8px; cursor: pointer; font-weight: 800; font-size: 14px; transition: background 0.2s; }
.header-search button:hover { background: #ff6600; }

.header-actions { display: flex; gap: 20px; font-weight: 700; font-size: 14px; align-items: center; }
.header-actions a { color: #1e293b; text-decoration: none; transition: color 0.2s; }
.header-actions a:hover { color: #ff6600; }

.main-nav { background: #111827; padding: 12px 0; }
.nav-menu { display: flex; list-style: none; margin: 0; padding: 0; gap: 30px; align-items: center; font-size: 15px; font-weight: 700; }
.nav-menu a { color: #cbd5e1; text-decoration: none; transition: color 0.2s; }
.nav-menu a:hover { color: #ff6600; }
.btn-categorias { background: #ff6600; color: #fff; padding: 10px 20px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; gap: 8px; font-weight: 800; border: none; }

/* Menu Dropdown de Categorias (Desktop) */
.dropdown-categorias { position: relative; display: inline-block; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: #ffffff; min-width: 260px; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); border: 1px solid #e2e8f0; border-radius: 0 0 12px 12px; list-style: none; padding: 10px 0; margin: 0; z-index: 999; }
.dropdown-categorias:hover .dropdown-menu { display: block; }
.dropdown-menu li a { display: block; padding: 12px 20px; color: #334155; text-decoration: none; font-weight: 600; font-size: 14px; transition: all 0.2s; }
.dropdown-menu li a:hover { background: #fff7ed; color: #ff6600; padding-left: 25px; }

/* =========================================
   HERO SECTION
   ========================================= */
.hero-marketplace-section { background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%); padding: 50px 0; margin-bottom: 40px; border-bottom: 1px solid #fed7aa; }
.hero-grid-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.hero-badge { background: #ff6600; color: #fff; padding: 6px 14px; border-radius: 6px; font-size: 12px; font-weight: 800; text-transform: uppercase; display: inline-block; margin-bottom: 10px; }
.hero-main-banner h1 { font-size: 42px; margin: 10px 0; color: #0f172a; line-height: 1.15; font-weight: 900; letter-spacing: -1px; }
.hero-main-banner p { font-size: 15px; color: #475569; font-weight: 500; line-height: 1.5; margin-bottom: 25px; }
.hero-buttons { display: flex; gap: 12px; }
.btn-primary-hero { background: #ff6600; color: #fff; padding: 14px 28px; border-radius: 10px; text-decoration: none; font-weight: 800; font-size: 15px; box-shadow: 0 4px 12px rgba(255,102,0,0.3); transition: transform 0.2s; }
.btn-primary-hero:hover { transform: translateY(-2px); color: #fff; }
.btn-secondary-hero { background: #fff; color: #0f172a; padding: 14px 28px; border: 2px solid #e2e8f0; border-radius: 10px; text-decoration: none; font-weight: 800; font-size: 15px; transition: all 0.2s; }
.btn-secondary-hero:hover { border-color: #ff6600; color: #ff6600; }

.hero-trust-badges { display: flex; gap: 20px; margin-top: 25px; font-size: 13px; font-weight: 700; color: #475569; }
.hero-trust-item { display: flex; align-items: center; gap: 6px; }

.side-promo-box { 
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%); 
    color: #fff; 
    padding: 35px; 
    border-radius: 24px; 
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2); 
    border: 1px solid #334155; 
}
.side-badge { background: #ff6600; color: #fff; padding: 5px 12px; border-radius: 6px; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.side-promo-box h3 { font-size: 26px; font-weight: 900; margin: 15px 0 10px 0; line-height: 1.2; color: #fff; }
.side-promo-box p { color: #94a3b8; font-size: 14px; font-weight: 400; line-height: 1.5; margin-bottom: 15px; }
.side-btn { display: inline-block; color: #fbbf24; text-decoration: none; font-weight: 800; font-size: 15px; margin-bottom: 20px; }

.hero-countdown-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 18px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hero-countdown-label { font-size: 13px; color: #cbd5e1; font-weight: 600; }
.hero-countdown-time { font-family: monospace; font-size: 18px; font-weight: 900; color: #fbbf24; letter-spacing: 1px; }

/* =========================================
   GRID DE PRODUTOS
   ========================================= */
.home-section-container h2 { font-size: 24px; font-weight: 900; color: #0f172a; margin-bottom: 20px; }
.products-grid-home { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 20px 0 45px 0; }
.product-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02); transition: all 0.25s ease; position: relative; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 15px 25px -5px rgba(0,0,0,0.08); border-color: #cbd5e1; }
.product-card img { width: 100%; height: 170px; object-fit: contain; margin-bottom: 12px; }

.card-main-link,
.card-main-link:visited,
.card-main-link:hover,
.card-main-link:active {
    text-decoration: none !important;
    color: inherit !important;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}

.card-badge-top { background: #ff6600; color: #fff; padding: 4px 10px; border-radius: 20px; font-size: 10px; font-weight: 800; position: absolute; top: 12px; left: 12px; z-index: 2; text-transform: uppercase; }

.card-content h3,
.card-content h3 a,
.card-content h3 a:visited {
    font-family: inherit !important;
    color: #0f172a !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin: 10px 0 8px 0 !important;
}
.card-content h3 a:hover { color: #ff6600 !important; }

.rating-loja { font-size: 12px; color: #64748b; display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; font-weight: 700; }
.stars { color: #f59e0b; font-size: 13px; letter-spacing: 1px; }

.vendidos-hoje { font-size: 11px; font-weight: 800; color: #64748b; margin-top: 10px; display: flex; align-items: center; gap: 4px; text-transform: uppercase; }

.card-btn-comprar { background: #ff6600; color: #fff; text-align: center; padding: 11px; border-radius: 10px; font-weight: 800; font-size: 13px; text-decoration: none; display: block; margin-top: 12px; transition: background 0.2s; }
.card-btn-comprar:hover { background: #e65c00; color: #fff; }

/* =========================================
   SEÇÃO DE CUPONS: ESTILO TICKET PREMIUM
   ========================================= */
.cupons-section-container { max-width: 1280px; margin: 60px auto; padding: 0 20px; }
.cupons-section-header { margin-bottom: 30px; border-left: 6px solid #ff6600; padding-left: 14px; }
.cupons-section-header h2 { font-size: 26px; color: #0f172a; margin: 0 0 4px 0; font-weight: 900; }
.cupons-section-header p { font-size: 14px; color: #64748b; margin: 0; font-weight: 500; }

.cupons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }

.cupom-card-ticket {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}
.cupom-card-ticket:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px -10px rgba(255, 102, 0, 0.15);
    border-color: #ff6600;
}

.cupom-header-banner { background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%); color: #fff; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; }
.cupom-store-name { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; background: rgba(255, 255, 255, 0.2); padding: 4px 10px; border-radius: 20px; }
.cupom-timer-tag { font-size: 11px; font-weight: 800; background: #fef08a; color: #854d0e; padding: 3px 8px; border-radius: 6px; text-transform: uppercase; }

.cupom-content-body { padding: 24px 20px; background: #ffffff; }
.cupom-value-highlight { font-size: 30px; font-weight: 900; color: #0f172a; line-height: 1.1; margin-bottom: 10px; letter-spacing: -1px; }
.cupom-rules-text { font-size: 14px; color: #475569; margin: 0; line-height: 1.5; font-weight: 500; }

.cupom-footer-actions { background: #f8fafc; border-top: 2px dashed #cbd5e1; padding: 16px 20px; display: flex; gap: 10px; align-items: center; }
.cupom-code-box-styled { background: #fff; border: 2px dashed #94a3b8; padding: 10px 12px; border-radius: 8px; font-family: monospace; font-weight: 900; font-size: 14px; color: #0f172a; flex: 1; text-align: center; letter-spacing: 1.5px; }
.btn-copiar-ticket { background: #3b82f6; color: #fff; border: none; padding: 11px 16px; border-radius: 8px; font-size: 13px; font-weight: 800; cursor: pointer; transition: background 0.2s; }
.btn-copiar-ticket:hover { background: #2563eb; }
.btn-usar-ticket { background: #10b981; color: #fff !important; text-decoration: none; padding: 11px 16px; border-radius: 8px; font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; transition: background 0.2s; }
.btn-usar-ticket:hover { background: #059669; }

/* =========================================
   DEPARTAMENTOS E NEWSLETTER
   ========================================= */
.sec-subtitle { color: #ff6600; font-weight: 800; font-size: 12px; text-transform: uppercase; margin-bottom: 4px; display: block; letter-spacing: 1px; }
.departments-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin: 20px 0 50px 0; }
.dept-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 20px 10px; text-align: center; text-decoration: none; color: #0f172a; transition: all 0.2s ease; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.dept-card:hover { border-color: #ff6600; box-shadow: 0 8px 16px -4px rgba(255,102,0,0.15); transform: translateY(-2px); }
.dept-icon { font-size: 30px; margin-bottom: 8px; }
.dept-card span { font-weight: 800; font-size: 13px; color: #1e293b; }
.dept-card small { color: #94a3b8; font-size: 11px; margin-top: 2px; font-weight: 600; }

.newsletter-section { background: #0f172a; color: #ffffff; padding: 60px 20px; border-radius: 20px; margin: 40px auto; max-width: 1280px; text-align: center; }
.newsletter-badge { background: rgba(255,102,0,0.2); color: #ff6600; padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.newsletter-content h2 { font-size: 32px; font-weight: 900; margin: 12px 0; color: #fff; }
.newsletter-content p { color: #94a3b8; margin-bottom: 25px; font-size: 15px; }
.newsletter-form-wrapper { display: flex; justify-content: center; width: 100%; }
.newsletter-form-grid { display: flex; gap: 12px; width: 100%; max-width: 800px; }
.newsletter-form-grid input { flex: 1; padding: 16px 18px; border-radius: 10px; border: 2px solid #334155; background: #1e293b; color: #fff; outline: none; font-size: 14px; }
.newsletter-form-grid input:focus { border-color: #ff6600; }
.newsletter-submit-btn { background: #ff6600; color: #fff; border: none; padding: 16px 30px; border-radius: 10px; font-weight: 800; font-size: 15px; cursor: pointer; transition: background 0.2s; white-space: nowrap; }
.newsletter-submit-btn:hover { background: #e65c00; }
.newsletter-privacy { display: block; width: 100%; margin-top: 20px; font-size: 12px; color: #64748b; font-weight: 600; }

/* =========================================
   PÁGINA INSTITUCIONAL
   ========================================= */
.institutional-page-wrapper { padding: 50px 0; background: #f8fafc; }
.institutional-article { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 24px; box-shadow: 0 20px 60px rgba(15, 23, 42, 0.03); overflow: hidden; padding: 40px 42px; }
.institutional-header { max-width: 820px; margin-bottom: 36px; }
.institutional-title { font-size: clamp(2.4rem, 2.3vw, 3.4rem); line-height: 1.05; margin: 12px 0 0; font-weight: 900; color: #0f172a; }
.institutional-content { color: #334155; font-size: 1rem; line-height: 1.85; }
.institutional-content p { margin: 0 0 1.6rem; max-width: 100%; }
.institutional-content h2, .institutional-content h3, .institutional-content h4 { color: #0f172a; margin: 2rem 0 1rem; line-height: 1.3; font-weight: 800; }
.institutional-content ul, .institutional-content ol { margin: 0 0 1.6rem 1.4rem; color: #475569; }
.institutional-content li { margin-bottom: 0.75rem; }
.institutional-content a { color: #ff6600; text-decoration: none; transition: color 0.2s ease; }
.institutional-content a:hover { color: #1e293b; }

/* ================================================= */
/* CORREÇÃO RESPONSIVA PARA DISPOSITIVOS MÓVEIS      */
/* ================================================= */

@media (max-width: 900px) {
    .institutional-article { padding: 28px 24px; }
    .hero-grid-layout { grid-template-columns: 1fr !important; gap: 20px; }
    .cupons-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .departments-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .products-grid-home { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 768px) {
    .site-header, .main-header-bar, .header-container { width: 100% !important; box-sizing: border-box; }

    .header-container, .header-grid, .header-grid-layout {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 10px !important;
        gap: 12px !important;
    }

    .site-logo { text-align: center !important; margin-bottom: 5px; }
    .site-logo img { max-height: 45px !important; width: auto !important; margin: 0 auto !important; }

    .header-search, .header-search form { width: 100% !important; max-width: 100% !important; }

    .institutional-article { border-radius: 18px; padding: 22px 18px; }
    
    .newsletter-form-grid { flex-direction: column; }
    .newsletter-submit-btn { width: 100%; }

    .main-nav {
        width: 100% !important;
        padding: 8px 0 !important;
        box-sizing: border-box !important;
        overflow: hidden;
    }
    .nav-menu {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        gap: 15px !important;
        padding: 0 15px !important;
        margin: 0 !important;
        scrollbar-width: none;
    }
    .nav-menu::-webkit-scrollbar {
        display: none;
    }
    .nav-menu li {
        display: inline-block;
        font-size: 13px !important;
        flex-shrink: 0;
    }
    .btn-categorias {
        padding: 8px 14px !important;
        font-size: 13px !important;
        white-space: nowrap;
    }

    /* =========================================
       CORREÇÃO ESPECÍFICA PARA IPHONE 8 PLUS / TELAS 16:9
       ========================================= */
    .dropdown-categorias {
        position: relative !important;
    }
    
    .dropdown-categorias .dropdown-menu {
        display: none !important;
    }

    .dropdown-categorias.is-active .dropdown-menu,
    .dropdown-categorias.is-open .dropdown-menu {
        display: flex !important;
        flex-direction: column !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 240px !important;
        max-width: 90vw !important;
        background: #ffffff !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.3) !important;
        border-radius: 0 8px 8px 8px !important;
        padding: 10px 0 !important;
        margin-top: 2px !important;
        z-index: 999999 !important;
        list-style: none !important;
        white-space: normal !important;
    }

    .dropdown-categorias.is-active .dropdown-menu li,
    .dropdown-categorias.is-open .dropdown-menu li {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .dropdown-categorias.is-active .dropdown-menu li a,
    .dropdown-categorias.is-open .dropdown-menu li a {
        display: block !important;
        padding: 12px 18px !important;
        color: #334155 !important;
        font-size: 14px !important;
        text-align: left !important;
        text-decoration: none !important;
        background: transparent !important;
    }

    .dropdown-categorias.is-active .dropdown-menu li a:hover,
    .dropdown-categorias.is-open .dropdown-menu li a:hover {
        background: #fff7ed !important;
        color: #ff6600 !important;
    }
}

@media (max-width: 600px) {
    .cupons-grid { grid-template-columns: 1fr !important; }
    .departments-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .products-grid-home { grid-template-columns: 1fr !important; }
}
.home-blog-card h3 a {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.home-blog-image {
    aspect-ratio: 16 / 9;
}

/* ==========================================================
   CARDS DO BLOG NA HOME
   ========================================================== */
.home-blog-section {
    width: 100%;
    padding: 64px 20px;
    background: #fff7ed;
    border-top: 1px solid #ffedd5;
    border-bottom: 1px solid #ffedd5;
}

.home-blog-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.home-blog-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.home-blog-kicker {
    display: inline-block;
    margin-bottom: 7px;
    color: #ff6600;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.home-blog-heading h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 900;
    line-height: 1.15;
}

.home-blog-heading p {
    max-width: 700px;
    margin: 10px 0 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
}

.home-blog-all-link {
    flex-shrink: 0;
    color: #ff6600;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.home-blog-all-link:hover {
    color: #d94f00;
    text-decoration: underline;
}

.home-blog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.home-blog-card {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-blog-card:hover {
    transform: translateY(-5px);
    border-color: #fdba74;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.13);
}

.home-blog-image-link {
    display: block;
    width: 100%;
    text-decoration: none;
}

.home-blog-image {
    width: 100%;
    height: 185px;
    overflow: hidden;
    background: #f1f5f9;
}

.home-blog-image img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.home-blog-card:hover .home-blog-image img {
    transform: scale(1.04);
}

.home-blog-image-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: #ffedd5;
    color: #ff6600;
    font-size: 50px;
}

.home-blog-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.home-blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 11px;
    color: #94a3b8;
    font-size: 11px;
}

.home-blog-category {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 5px 9px;
    border-radius: 30px;
    background: #fff1e6;
    color: #e85d04;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.home-blog-card h3 {
    min-height: 68px;
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
}

.home-blog-card h3 a {
    display: -webkit-box;
    overflow: hidden;
    color: #0f172a;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home-blog-card h3 a:hover {
    color: #ff6600;
}

.home-blog-card p {
    display: -webkit-box;
    flex: 1;
    overflow: hidden;
    margin: 0 0 16px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.home-blog-read-more {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: auto;
    color: #ff6600;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.home-blog-read-more:hover {
    color: #d94f00;
    text-decoration: underline;
}

.home-blog-empty {
    grid-column: 1 / -1;
    padding: 36px;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    background: #fff;
    color: #64748b;
    text-align: center;
}

@media (max-width: 1100px) {
    .home-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .home-blog-section {
        padding: 48px 16px;
    }

    .home-blog-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        margin-bottom: 25px;
    }

    .home-blog-grid {
        grid-template-columns: 1fr;
    }

    .home-blog-image {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .home-blog-card h3 {
        min-height: 0;
    }
}
/* ==========================================================
   BLOG HOME
========================================================== */

.home-blog-section{
    width:100%;
    padding:70px 0;
    background:#fff;
}

.home-blog-container{
    max-width:1280px;
    margin:0 auto;
    padding:0 20px;
}

.home-blog-heading{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:20px;
    margin-bottom:35px;
}

.home-blog-kicker{
    display:inline-block;
    font-size:12px;
    font-weight:800;
    color:#ff6600;
    text-transform:uppercase;
    letter-spacing:1px;
    margin-bottom:8px;
}

.home-blog-heading h2{
    margin:0;
    font-size:34px;
    font-weight:900;
    color:#111827;
}

.home-blog-heading p{
    margin:10px 0 0;
    color:#64748b;
    max-width:700px;
    line-height:1.6;
}

.home-blog-all-link{
    color:#ff6600;
    text-decoration:none;
    font-weight:700;
}

.home-blog-all-link:hover{
    text-decoration:underline;
}

.home-blog-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:24px;
}

.home-blog-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:18px;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    transition:.25s;
    box-shadow:0 6px 18px rgba(0,0,0,.05);
}

.home-blog-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 35px rgba(0,0,0,.10);
    border-color:#ff6600;
}

.home-blog-image-link{
    display:block;
    text-decoration:none;
}

.home-blog-image{
    width:100%;
    aspect-ratio:16/9;
    overflow:hidden;
    background:#f3f4f6;
}

.home-blog-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:.35s;
}

.home-blog-card:hover .home-blog-image img{
    transform:scale(1.05);
}

.home-blog-image-placeholder{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:100%;
    background:#fff7ed;
    color:#ff6600;
    font-size:52px;
}

.home-blog-card-content{
    display:flex;
    flex-direction:column;
    flex:1;
    padding:18px;
}

.home-blog-meta{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:12px;
    font-size:11px;
    color:#94a3b8;
}

.home-blog-category{
    background:#fff3e5;
    color:#ff6600;
    padding:5px 10px;
    border-radius:30px;
    font-size:10px;
    font-weight:800;
    text-transform:uppercase;
}

.home-blog-card h3{
    margin:0 0 12px;
    font-size:19px;
    line-height:1.35;
    font-weight:800;
    min-height:54px;
}

.home-blog-card h3 a{
    color:#111827;
    text-decoration:none;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.home-blog-card h3 a:hover{
    color:#ff6600;
}

.home-blog-card p{
    margin:0 0 18px;
    color:#64748b;
    line-height:1.7;
    font-size:14px;
    flex:1;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.home-blog-read-more{
    margin-top:auto;
    display:inline-flex;
    align-items:center;
    gap:6px;
    color:#ff6600;
    text-decoration:none;
    font-weight:800;
    font-size:14px;
}

.home-blog-read-more:hover{
    color:#d94f00;
}

.home-blog-empty{
    grid-column:1/-1;
    padding:45px;
    text-align:center;
    border:2px dashed #d1d5db;
    border-radius:16px;
    color:#64748b;
    background:#fff;
}

/* RESPONSIVO */

@media(max-width:1100px){

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

}

@media(max-width:768px){

    .home-blog-section{
        padding:50px 0;
    }

    .home-blog-heading{
        flex-direction:column;
        align-items:flex-start;
    }

    .home-blog-heading h2{
        font-size:28px;
    }

    .home-blog-grid{
        grid-template-columns:1fr;
    }

}
/* ==========================================================
   AJUSTE DA PÁGINA INTERNA DO BLOG
========================================================== */

.single-post .site-main-content,
.single-post main {
    width: 100%;
}

.single-post .post-container,
.single-post .entry-container,
.single-post .content-area,
.single-post .single-post-container,
.single-post article {
    width: 100%;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.single-post article {
    background: #ffffff;
    padding: 34px 42px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.single-post .entry-header {
    margin-bottom: 24px;
}

.single-post .entry-title {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.15;
    color: #111827;
    margin: 0 0 18px;
    font-weight: 900;
}

.single-post .entry-content {
    font-size: 17px;
    line-height: 1.8;
    color: #334155;
}

.single-post .entry-content p {
    margin-bottom: 1.5em;
}

.single-post .entry-content h2 {
    margin-top: 42px;
    margin-bottom: 16px;
    font-size: 30px;
    line-height: 1.25;
    color: #111827;
}

.single-post .entry-content h3 {
    margin-top: 32px;
    margin-bottom: 14px;
    font-size: 24px;
    color: #111827;
}

.single-post .entry-content img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 28px auto;
    border-radius: 14px;
}

.single-post .entry-content ul,
.single-post .entry-content ol {
    padding-left: 24px;
    margin-bottom: 24px;
}

.single-post .entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
}

.single-post .entry-content th,
.single-post .entry-content td {
    padding: 12px;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.single-post .entry-content a {
    color: #ff6600;
    font-weight: 700;
}

@media (max-width: 768px) {
    .single-post article {
        padding: 24px 18px;
        border-radius: 12px;
    }

    .single-post .entry-title {
        font-size: 30px;
    }

    .single-post .entry-content {
        font-size: 16px;
        line-height: 1.75;
    }

    .single-post .entry-content h2 {
        font-size: 25px;
    }

    .single-post .entry-content h3 {
        font-size: 21px;
    }
}
