/*
Theme Name: Planner Contabilidade
Theme URI: https://plannercontabilidade.com
Author: Planner Contabilidade & Assessoria
Author URI: https://plannercontabilidade.com
Description: Tema personalizado para o blog da Planner Contabilidade & Assessoria. Design moderno e consultivo, integrado ao site principal.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: planner-contabilidade
Tags: blog, contabilidade, consultoria, custom-header, custom-menu, featured-images, threaded-comments
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
*/

/* ============================================================
   PLANNER CONTABILIDADE - WORDPRESS THEME
   Design: Strategic Elegance
   Colors: Navy #0F2B46, Green #1FAF75, Light #F4F6F8
   Fonts: Montserrat (headings), Open Sans (body)
   ============================================================ */

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
    background: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #1FAF75; text-decoration: none; transition: color 0.2s; }
a:hover { color: #179960; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #0F2B46;
    line-height: 1.3;
}

/* UTILITIES */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.text-center { text-align: center; }
.text-green { color: #1FAF75; }
.section-padding { padding: 5rem 0; }
@media (min-width: 768px) {
    .container { padding: 0 2rem; }
    .section-padding { padding: 6rem 0; }
}

/* ANIMATIONS */
[data-aos] { opacity: 0; transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos="fade-up"] { transform: translateY(30px); }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos].aos-animate { opacity: 1; transform: translate(0, 0); }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1.4;
}
.btn--primary { background: #1FAF75; color: #FFFFFF; border-color: #1FAF75; }
.btn--primary:hover { background: #179960; border-color: #179960; color: #FFFFFF; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(31,175,117,0.3); }
.btn--outline-white { background: transparent; color: #FFFFFF; border-color: rgba(255,255,255,0.4); }
.btn--outline-white:hover { background: #FFFFFF; color: #0F2B46; border-color: #FFFFFF; }
.btn--outline-dark { background: transparent; color: #0F2B46; border-color: #E5E7EB; }
.btn--outline-dark:hover { background: #0F2B46; color: #FFFFFF; border-color: #0F2B46; }
.btn--whatsapp { background: #25D366; color: #FFFFFF; border-color: #25D366; }
.btn--whatsapp:hover { background: #20BD5A; border-color: #20BD5A; color: #FFFFFF; transform: translateY(-2px); }
.btn--lg { padding: 1rem 2rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* HEADER */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: rgba(15,43,70,0.95);
    backdrop-filter: blur(12px);
}
.site-header--scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 12px rgba(0,0,0,0.08);
    padding: 0.5rem 0;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.header-logo__img { height: 120px; width: auto; transition: height 0.3s; }
.site-header--scrolled .header-logo__img { height: 100px; }
.header-nav { display: none; }
.nav-list { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    color: #FFFFFF;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    transition: all 0.2s;
    text-decoration: none;
}
.nav-link:hover { color: #1FAF75; }
.nav-link--active { color: #1FAF75; font-weight: 600; }
.site-header--scrolled .nav-link { color: #374151; }
.site-header--scrolled .nav-link:hover,
.site-header--scrolled .nav-link--active { color: #1FAF75; }
.header-cta {
    display: none;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: #FFFFFF;
    background: #1FAF75;
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    transition: all 0.3s;
    text-decoration: none;
    white-space: nowrap;
}
.header-cta:hover { background: #179960; color: #FFFFFF; transform: translateY(-1px); }
.mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 1001;
}
.mobile-toggle__bar {
    width: 24px;
    height: 2px;
    background: #FFFFFF;
    border-radius: 2px;
    transition: all 0.3s;
}
.site-header--scrolled .mobile-toggle__bar { background: #0F2B46; }
.mobile-toggle--active .mobile-toggle__bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle--active .mobile-toggle__bar:nth-child(2) { opacity: 0; }
.mobile-toggle--active .mobile-toggle__bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.header-nav--mobile {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0F2B46;
    padding: 6rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
    overflow-y: auto;
}
.header-nav--mobile.is-open { transform: translateX(0); }
.header-nav--mobile .nav-list { flex-direction: column; gap: 0; }
.header-nav--mobile .nav-link {
    display: block;
    color: #FFFFFF;
    font-size: 1.125rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 1024px) {
    .header-nav { display: block; }
    .header-cta { display: inline-flex; }
    .mobile-toggle { display: none; }
    .header-nav--mobile { display: none; }
}

/* DROPDOWN MENU */
.nav-item--dropdown {
    position: relative;
}
.nav-item--dropdown > .nav-link svg {
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
    transition: transform 0.3s ease;
}
.nav-item--dropdown:hover > .nav-link svg {
    transform: rotate(180deg);
}
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 260px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(15,43,70,0.15), 0 4px 20px rgba(15,43,70,0.08);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    border: 1px solid rgba(15,43,70,0.06);
}
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
}
.nav-item--dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown li a {
    display: block;
    padding: 10px 20px;
    color: #1A1A2E;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.nav-dropdown li a:hover {
    background: #F4F6F8;
    color: #1FAF75;
    padding-left: 24px;
}
.nav-dropdown__divider {
    height: 1px;
    background: #eee;
    margin: 6px 16px;
}
.nav-dropdown__divider a {
    display: none !important;
}
.nav-dropdown li:last-child a {
    color: #1FAF75;
    font-weight: 600;
}

/* Mobile submenu */
.nav-item--has-submenu .nav-submenu {
    list-style: none;
    padding: 0 0 0 16px;
    margin: 4px 0 0;
}
.nav-item--has-submenu .nav-submenu li a {
    font-size: 0.85rem;
    padding: 6px 0;
    opacity: 0.85;
}

@media (max-width: 991px) {
    .nav-dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        border-radius: 0;
        min-width: auto;
        padding: 0 0 0 16px;
        background: transparent;
    }
    .nav-dropdown::before {
        display: none;
    }
    .nav-dropdown li a {
        color: inherit;
        padding: 6px 0;
        font-size: 0.85rem;
    }
    .nav-dropdown li a:hover {
        background: transparent;
        padding-left: 0;
    }
    .nav-dropdown__divider {
        display: none;
    }
}

/* ============================================================
   BLOG HERO
   ============================================================ */
.blog-hero {
    position: relative;
    padding: 10rem 0 4rem;
    background: #0F2B46;
    overflow: hidden;
}
.blog-hero__pattern {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(31,175,117,0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(31,175,117,0.05) 0%, transparent 50%);
}
.blog-hero__grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(31,175,117,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31,175,117,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
.blog-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.blog-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(31,175,117,0.15);
    border: 1px solid rgba(31,175,117,0.3);
    color: #1FAF75;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    font-family: 'Montserrat', sans-serif;
}
.blog-hero__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 1rem;
}
.blog-hero__desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
}
@media (min-width: 768px) {
    .blog-hero__title { font-size: 2.75rem; }
}

/* BREADCRUMB */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1.5rem;
    justify-content: center;
}
.breadcrumb a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb a:hover { color: #1FAF75; }
.breadcrumb__separator { color: rgba(255,255,255,0.3); }

/* ============================================================
   BLOG LAYOUT
   ============================================================ */
.blog-content {
    padding: 4rem 0;
    background: #F4F6F8;
}
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) {
    .blog-grid { grid-template-columns: 2fr 1fr; gap: 3rem; }
}

/* BLOG POSTS LIST */
.posts-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* POST CARD */
.post-card {
    background: #FFFFFF;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(15,43,70,0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(15,43,70,0.04);
}
.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(15,43,70,0.12);
}
.post-card__thumbnail {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #E5E7EB;
}
.post-card__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.post-card:hover .post-card__thumbnail img {
    transform: scale(1.05);
}
.post-card__thumbnail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0F2B46 0%, #1a3d5c 100%);
    color: rgba(255,255,255,0.3);
}
.post-card__category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #1FAF75;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.3rem 0.75rem;
    border-radius: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.post-card__body {
    padding: 1.5rem;
}
.post-card__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: #9CA3AF;
    margin-bottom: 0.75rem;
    font-family: 'Open Sans', sans-serif;
}
.post-card__meta svg {
    flex-shrink: 0;
}
.post-card__meta-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.post-card__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0F2B46;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    transition: color 0.2s;
}
.post-card__title a {
    color: inherit;
    text-decoration: none;
}
.post-card__title a:hover {
    color: #1FAF75;
}
.post-card__excerpt {
    font-size: 0.9rem;
    color: #6B7280;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.post-card__read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: #1FAF75;
    text-decoration: none;
    transition: all 0.2s;
}
.post-card__read-more:hover {
    color: #179960;
    gap: 0.75rem;
}

/* FEATURED POST (first post) */
.post-card--featured .post-card__thumbnail {
    height: 300px;
}
.post-card--featured .post-card__title {
    font-size: 1.35rem;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {}
.sidebar-widget {
    background: #FFFFFF;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(15,43,70,0.06);
    border: 1px solid rgba(15,43,70,0.04);
}
.sidebar-widget__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #0F2B46;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #1FAF75;
}

/* Search Widget */
.search-form {
    display: flex;
    gap: 0;
}
.search-form .search-field {
    flex: 1;
    padding: 0.65rem 1rem;
    border: 1px solid #E5E7EB;
    border-right: none;
    border-radius: 0.5rem 0 0 0.5rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    color: #374151;
    outline: none;
    transition: border-color 0.2s;
}
.search-form .search-field:focus {
    border-color: #1FAF75;
}
.search-form .search-submit {
    background: #1FAF75;
    color: #FFFFFF;
    border: none;
    padding: 0.65rem 1rem;
    border-radius: 0 0.5rem 0.5rem 0;
    cursor: pointer;
    transition: background 0.2s;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
}
.search-form .search-submit:hover {
    background: #179960;
}

/* Categories Widget */
.widget-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.widget-categories-list li {
    margin-bottom: 0;
}
.widget-categories-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0;
    color: #374151;
    font-size: 0.9rem;
    text-decoration: none;
    border-bottom: 1px solid #F4F6F8;
    transition: all 0.2s;
}
.widget-categories-list li a:hover {
    color: #1FAF75;
    padding-left: 0.5rem;
}
.widget-categories-list li a .count {
    background: #F4F6F8;
    color: #6B7280;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 1rem;
}

/* Recent Posts Widget */
.widget-recent-post {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #F4F6F8;
}
.widget-recent-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.widget-recent-post:first-child {
    padding-top: 0;
}
.widget-recent-post__thumb {
    width: 70px;
    height: 70px;
    border-radius: 0.5rem;
    overflow: hidden;
    flex-shrink: 0;
    background: #E5E7EB;
}
.widget-recent-post__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.widget-recent-post__content {
    flex: 1;
    min-width: 0;
}
.widget-recent-post__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0F2B46;
    line-height: 1.4;
    margin-bottom: 0.25rem;
}
.widget-recent-post__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.widget-recent-post__title a:hover {
    color: #1FAF75;
}
.widget-recent-post__date {
    font-size: 0.75rem;
    color: #9CA3AF;
}

/* CTA Widget */
.sidebar-cta {
    background: linear-gradient(135deg, #0F2B46 0%, #1a3d5c 100%);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
}
.sidebar-cta__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(31,175,117,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #1FAF75;
}
.sidebar-cta__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}
.sidebar-cta__text {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

/* Tags Widget */
.widget-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.widget-tags a {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: #F4F6F8;
    color: #6B7280;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 2rem;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid transparent;
}
.widget-tags a:hover {
    background: rgba(31,175,117,0.1);
    color: #1FAF75;
    border-color: rgba(31,175,117,0.2);
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.single-post-content {
    padding: 4rem 0;
    background: #F4F6F8;
}
.single-post-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) {
    .single-post-grid { grid-template-columns: 2fr 1fr; gap: 3rem; }
}
.single-post-article {
    background: #FFFFFF;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(15,43,70,0.06);
    border: 1px solid rgba(15,43,70,0.04);
}
.single-post-article__featured {
    width: 100%;
    height: 350px;
    overflow: hidden;
}
.single-post-article__featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.single-post-article__body {
    padding: 2rem;
}
@media (min-width: 768px) {
    .single-post-article__body { padding: 2.5rem; }
}
.single-post-article__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.85rem;
    color: #9CA3AF;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #F4F6F8;
}
.single-post-article__meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.single-post-article__meta-item svg {
    color: #1FAF75;
}
.single-post-article__meta-item a {
    color: #1FAF75;
    text-decoration: none;
    font-weight: 500;
}

/* Post Content Typography */
.post-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #374151;
}
.post-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0F2B46;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #F4F6F8;
}
.post-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0F2B46;
    margin: 2rem 0 0.75rem;
}
.post-content h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0F2B46;
    margin: 1.5rem 0 0.5rem;
}
.post-content p {
    margin-bottom: 1.25rem;
}
.post-content ul, .post-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
    list-style: disc;
}
.post-content ol {
    list-style: decimal;
}
.post-content li {
    margin-bottom: 0.5rem;
    padding-left: 0.25rem;
}
.post-content blockquote {
    border-left: 4px solid #1FAF75;
    background: #F4F6F8;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 0.5rem 0.5rem 0;
    font-style: italic;
    color: #0F2B46;
}
.post-content blockquote p {
    margin-bottom: 0;
}
.post-content img {
    border-radius: 0.75rem;
    margin: 1.5rem 0;
}
.post-content a {
    color: #1FAF75;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.post-content a:hover {
    color: #179960;
}
.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}
.post-content table th,
.post-content table td {
    padding: 0.75rem 1rem;
    border: 1px solid #E5E7EB;
    text-align: left;
}
.post-content table th {
    background: #0F2B46;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}
.post-content table tr:nth-child(even) {
    background: #F9FAFB;
}
.post-content pre {
    background: #0F2B46;
    color: #E5E7EB;
    padding: 1.25rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-size: 0.85rem;
}
.post-content code {
    background: #F4F6F8;
    padding: 0.15rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.85em;
    color: #0F2B46;
}
.post-content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

/* Post Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #F4F6F8;
}
.post-tags__label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: #0F2B46;
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
}
.post-tags a {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    background: #F4F6F8;
    color: #6B7280;
    font-size: 0.8rem;
    border-radius: 2rem;
    text-decoration: none;
    transition: all 0.2s;
}
.post-tags a:hover {
    background: rgba(31,175,117,0.1);
    color: #1FAF75;
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}
.post-navigation__item {
    background: #FFFFFF;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(15,43,70,0.06);
    border: 1px solid rgba(15,43,70,0.04);
    transition: all 0.3s;
}
.post-navigation__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15,43,70,0.1);
}
.post-navigation__item--next {
    text-align: right;
}
.post-navigation__label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1FAF75;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}
.post-navigation__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0F2B46;
    line-height: 1.4;
}
.post-navigation__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.post-navigation__title a:hover {
    color: #1FAF75;
}

/* Comments */
.comments-section {
    background: #FFFFFF;
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 2px 12px rgba(15,43,70,0.06);
    border: 1px solid rgba(15,43,70,0.04);
}
.comments-section__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0F2B46;
    margin-bottom: 1.5rem;
}
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.comment {
    padding: 1.25rem 0;
    border-bottom: 1px solid #F4F6F8;
}
.comment:last-child {
    border-bottom: none;
}
.comment-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}
.comment-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.comment-author__name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: #0F2B46;
}
.comment-author__date {
    font-size: 0.75rem;
    color: #9CA3AF;
}
.comment-body p {
    font-size: 0.9rem;
    color: #6B7280;
    line-height: 1.7;
}
.comment .children {
    margin-left: 2rem;
    padding-left: 1rem;
    border-left: 2px solid #F4F6F8;
}

/* Comment Form */
.comment-respond {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #F4F6F8;
}
.comment-respond .comment-reply-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0F2B46;
    margin-bottom: 1rem;
}
.comment-form label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: #0F2B46;
    margin-bottom: 0.375rem;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 0.5rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    color: #374151;
    background: #FFFFFF;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    margin-bottom: 1rem;
}
.comment-form input:focus,
.comment-form textarea:focus {
    border-color: #1FAF75;
    box-shadow: 0 0 0 3px rgba(31,175,117,0.1);
}
.comment-form textarea {
    resize: vertical;
    min-height: 120px;
}
.comment-form .submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: 2px solid #1FAF75;
    background: #1FAF75;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
}
.comment-form .submit:hover {
    background: #179960;
    border-color: #179960;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31,175,117,0.3);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #E5E7EB;
}
.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: #374151;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    text-decoration: none;
    transition: all 0.2s;
}
.pagination .page-numbers:hover {
    background: #F4F6F8;
    color: #1FAF75;
    border-color: #1FAF75;
}
.pagination .page-numbers.current {
    background: #1FAF75;
    color: #FFFFFF;
    border-color: #1FAF75;
}
.pagination .page-numbers.dots {
    background: transparent;
    border: none;
    color: #9CA3AF;
}

/* ============================================================
   ARCHIVE / CATEGORY / SEARCH RESULTS
   ============================================================ */
.archive-description {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: #FFFFFF;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(15,43,70,0.06);
}
.no-results__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0F2B46;
    margin-bottom: 1rem;
}
.no-results__text {
    font-size: 1rem;
    color: #6B7280;
    margin-bottom: 2rem;
}

/* ============================================================
   WHATSAPP FAB
   ============================================================ */
.whatsapp-fab {
    position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 900;
    display: flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 50%; background: #25D366;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4); transition: all 0.3s;
    animation: fab-pulse 2s infinite;
}
.whatsapp-fab:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
@keyframes fab-pulse { 0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); } 50% { box-shadow: 0 4px 24px rgba(37,211,102,0.6); } }

/* FOOTER */
.site-footer { background: #0F2B46; padding: 4rem 0 0; color: rgba(255,255,255,0.7); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-logo { margin-bottom: 1rem; }
.footer-logo img { height: 150px; width: auto; }
.footer-desc { font-size: 0.9rem; line-height: 1.6; margin-bottom: 0.75rem; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.footer-social__link {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6);
    transition: all 0.2s; text-decoration: none;
}
.footer-social__link:hover { background: #1FAF75; color: #FFFFFF; }
.footer-col__title { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1rem; color: #FFFFFF; margin-bottom: 1rem; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color 0.2s; text-decoration: none; }
.footer-links a:hover { color: #1FAF75; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; font-size: 0.875rem; }
.footer-contact svg { flex-shrink: 0; color: #1FAF75; margin-top: 2px; }
.footer-contact a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.footer-contact a:hover { color: #1FAF75; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.5rem 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; font-size: 0.8rem; color: rgba(255,255,255,0.4); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }

/* PRINT */
@media print {
    .site-header, .whatsapp-fab, .header-nav--mobile { display: none !important; }
    body { font-size: 12pt; color: #000; }
}

/* WordPress specific */
.wp-caption { max-width: 100%; margin: 1.5rem 0; }
.wp-caption img { border-radius: 0.75rem; }
.wp-caption-text { font-size: 0.8rem; color: #9CA3AF; text-align: center; margin-top: 0.5rem; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 1.5rem auto; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.75rem; margin: 1.5rem 0; }
.gallery-item img { border-radius: 0.5rem; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }

/* ============================================================
   PLANNER SKIN COMPATIBILITY PATCH
   Corrige conflitos do tema com posts HTML customizados
   ============================================================ */
.post-content .planner-skin,
.post-content .planner-skin * {
    box-sizing: border-box;
}

.post-content .planner-skin {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #1f2937;
}

.post-content .planner-skin p,
.post-content .planner-skin ul,
.post-content .planner-skin ol,
.post-content .planner-skin li,
.post-content .planner-skin table,
.post-content .planner-skin th,
.post-content .planner-skin td,
.post-content .planner-skin details,
.post-content .planner-skin summary,
.post-content .planner-skin .box,
.post-content .planner-skin .card,
.post-content .planner-skin .cta-box,
.post-content .planner-skin .mini-cta,
.post-content .planner-skin .sumario,
.post-content .planner-skin .note,
.post-content .planner-skin .checklist,
.post-content .planner-skin .hero,
.post-content .planner-skin .assinatura {
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
}

.post-content .planner-skin a {
    color: #1d4ed8;
    text-decoration: none;
}

.post-content .planner-skin a:hover {
    color: #1e40af;
    text-decoration: underline;
}

.post-content .planner-skin .cta-box a,
.post-content .planner-skin .cta-box a:visited,
.post-content .planner-skin .cta-box a:hover,
.post-content .planner-skin .mini-cta a,
.post-content .planner-skin .mini-cta a:visited,
.post-content .planner-skin .mini-cta a:hover {
    text-decoration: none !important;
}

.post-content .planner-skin .cta-box a {
    display: inline-block !important;
    width: auto !important;
    max-width: 100%;
    background: #25D366 !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 10px !important;
    padding: 12px 22px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    box-shadow: none !important;
}

.post-content .planner-skin .cta-box a:hover {
    background: #20bd5a !important;
    color: #ffffff !important;
    filter: none !important;
}

.post-content .planner-skin .mini-cta a {
    color: #25D366 !important;
    font-weight: 900 !important;
}

.post-content .planner-skin ul,
.post-content .planner-skin ol {
    margin: 10px 0 10px 22px;
}

.post-content .planner-skin ul {
    list-style: disc;
}

.post-content .planner-skin ol {
    list-style: decimal;
}

.post-content .planner-skin li {
    margin: 8px 0;
    padding-left: 0;
}

.post-content .planner-skin table {
    font-size: 1rem;
}

.post-content .planner-skin table th {
    background: #eef2ff;
    color: #0f172a;
}

.post-content .planner-skin img {
    border-radius: 0;
    margin: 0;
}

.post-content .planner-skin .cta-box,
.post-content .planner-skin .mini-cta,
.post-content .planner-skin .sumario,
.post-content .planner-skin .box,
.post-content .planner-skin .note,
.post-content .planner-skin .card,
.post-content .planner-skin .hero,
.post-content .planner-skin .assinatura,
.post-content .planner-skin .checklist,
.post-content .planner-skin details {
    overflow-wrap: break-word;
}

@media (max-width: 767px) {
    .post-content .planner-skin .cta-box a {
        width: 100% !important;
        text-align: center !important;
    }

    .post-content .planner-skin table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}
