/**
 * Eco Wiki - Tijolo Ecológico
 * Estilos específicos para a seção de conteúdo
 */

/* ==============================================
   LAYOUT BASE
   ============================================== */

.eco-wiki-body {
    background: #F4F6F9;
    padding-top: 60px;
    /* Navbar height */
}

.eco-navbar {
    background: #FFFFFF;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    height: 60px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.eco-nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.eco-nav-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #3F3F3F;
}

.eco-wrapper {
    display: flex;
    min-height: calc(100vh - 60px);
}

/* ==============================================
   SIDEBAR
   ============================================== */

.eco-sidebar {
    width: 280px;
    background: #FFFFFF;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.eco-sidebar__search {
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.eco-sidebar__search .input-group {
    background: #F4F6F9;
    border-radius: 8px;
    overflow: hidden;
}

.eco-sidebar__search .input-group-text {
    border: none;
    background: transparent;
    color: #9ca3af;
}

.eco-sidebar__search input {
    border: none;
    background: transparent;
    font-size: 0.85rem;
    padding-left: 0;
}

.eco-sidebar__search input:focus {
    box-shadow: none;
    outline: none;
}

.eco-sidebar__nav {
    flex: 1;
    padding: 8px 0;
    overflow-y: auto;
}

.eco-sidebar__home {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #3F3F3F;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-left: 3px solid transparent;
    transition: all 0.15s;
}

.eco-sidebar__home:hover,
.eco-sidebar__home.active {
    background: rgba(158, 90, 83, 0.08);
    border-left-color: #9E5A53;
    color: #9E5A53;
}

.eco-sidebar__menu {
    padding: 8px 0;
}

/* Category */
.eco-menu-category__trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    border: none;
    background: transparent;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 600;
    color: #3F3F3F;
    cursor: pointer;
    transition: all 0.15s;
}

.eco-menu-category__trigger:hover {
    background: #F8F9FA;
}

.eco-menu-category__icon {
    font-size: 18px;
    color: #9E5A53;
}

.eco-menu-category__name {
    flex: 1;
}

.eco-menu-category__arrow {
    font-size: 18px;
    color: #9ca3af;
    transition: transform 0.2s;
}

.eco-menu-category__trigger[aria-expanded="true"] .eco-menu-category__arrow {
    transform: rotate(180deg);
}

.eco-menu-category__content {
    padding-left: 16px;
}

/* Subcategory */
.eco-menu-subcategory__trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 16px;
    border: none;
    background: transparent;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
}

.eco-menu-subcategory__trigger:hover {
    color: #9E5A53;
}

.eco-menu-subcategory__arrow {
    font-size: 16px;
    margin-left: auto;
    transition: transform 0.2s;
}

.eco-menu-subcategory__trigger[aria-expanded="true"] .eco-menu-subcategory__arrow {
    transform: rotate(180deg);
}

.eco-menu-subcategory__content {
    padding-left: 12px;
}

/* Page Link */
.eco-menu-page {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.15s;
}

.eco-menu-page:hover {
    color: #9E5A53;
    background: rgba(158, 90, 83, 0.05);
}

.eco-menu-page .material-symbols-outlined {
    font-size: 16px;
}

.eco-menu-empty {
    display: block;
    padding: 8px 16px;
    font-size: 0.75rem;
    color: #9ca3af;
    font-style: italic;
}

/* FAQ Link */
.eco-sidebar__faq {
    padding: 16px;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
}

.eco-sidebar__faq-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #9E5A53, #8A4F49);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 10px;
    transition: transform 0.15s, box-shadow 0.15s;
}

.eco-sidebar__faq-link:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(158, 90, 83, 0.3);
}

/* ==============================================
   MAIN CONTENT
   ============================================== */

.eco-main {
    flex: 1;
    margin-left: 280px;
    padding: 24px 32px;
    max-width: calc(100% - 280px);
}

.eco-breadcrumb {
    margin-bottom: 20px;
}

.eco-breadcrumb .breadcrumb {
    font-size: 0.8rem;
}

.eco-breadcrumb a {
    color: #9E5A53;
    text-decoration: none;
}

/* ==============================================
   HERO
   ============================================== */

.eco-hero {
    background: linear-gradient(135deg, #3F3F3F 0%, #161313 100%);
    border-radius: 16px;
    padding: 48px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.eco-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(158, 90, 83, 0.3), transparent 70%);
}

.eco-hero__content {
    position: relative;
    z-index: 1;
}

.eco-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #10b981;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.eco-hero__badge .material-symbols-outlined {
    font-size: 16px;
}

.eco-hero__title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}

.eco-hero__subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.eco-hero__stats {
    display: flex;
    gap: 32px;
}

.eco-stat {
    text-align: center;
}

.eco-stat__value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #E2A69E;
}

.eco-stat__label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==============================================
   SECTIONS
   ============================================== */

.eco-section {
    margin-bottom: 40px;
}

.eco-section__header {
    margin-bottom: 20px;
}

.eco-section__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #3F3F3F;
}

.eco-section__title .material-symbols-outlined {
    color: #9E5A53;
}

/* ==============================================
   CARDS
   ============================================== */

.eco-card {
    display: block;
    background: white;
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
    height: 100%;
}

.eco-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(158, 90, 83, 0.2);
}

.eco-card__header {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.eco-card__category {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #9E5A53;
    background: rgba(158, 90, 83, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
}

.eco-card__subcategory {
    font-size: 0.65rem;
    font-weight: 600;
    color: #6b7280;
    background: #F4F6F9;
    padding: 4px 10px;
    border-radius: 4px;
}

.eco-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #3F3F3F;
    margin-bottom: 8px;
    line-height: 1.3;
}

.eco-card__excerpt {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 16px;
}

.eco-card__footer {
    margin-top: auto;
}

.eco-card__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #9E5A53;
}

.eco-card__link .material-symbols-outlined {
    font-size: 16px;
    transition: transform 0.2s;
}

.eco-card:hover .eco-card__link .material-symbols-outlined {
    transform: translateX(4px);
}

/* Horizontal Card */
.eco-card--horizontal {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
}

.eco-card--horizontal .eco-card__icon {
    width: 48px;
    height: 48px;
    background: rgba(158, 90, 83, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.eco-card--horizontal .eco-card__icon .material-symbols-outlined {
    color: #9E5A53;
}

.eco-card--horizontal .eco-card__body {
    flex: 1;
}

.eco-card--horizontal .eco-card__title {
    margin-bottom: 4px;
}

/* Category Card */
.eco-category-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none;
    transition: all 0.2s;
}

.eco-category-card:hover {
    background: #F8F9FA;
    border-color: rgba(158, 90, 83, 0.2);
}

.eco-category-card__icon {
    width: 40px;
    height: 40px;
    background: rgba(158, 90, 83, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eco-category-card__icon .material-symbols-outlined {
    color: #9E5A53;
}

.eco-category-card__content {
    flex: 1;
}

.eco-category-card__name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #3F3F3F;
    margin: 0;
}

.eco-category-card__count {
    font-size: 0.75rem;
    color: #6b7280;
}

.eco-category-card__arrow {
    color: #9ca3af;
    transition: transform 0.2s;
}

.eco-category-card:hover .eco-category-card__arrow {
    transform: translateX(4px);
    color: #9E5A53;
}

/* ==============================================
   ARTICLE PAGE
   ============================================== */

.eco-article {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 32px;
}

.eco-article__header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f0f0f0;
}

.eco-article__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.eco-article__category {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #9E5A53;
    background: rgba(158, 90, 83, 0.1);
    padding: 4px 12px;
    border-radius: 4px;
}

.eco-article__divider {
    color: #9ca3af;
}

.eco-article__subcategory {
    font-size: 0.75rem;
    color: #6b7280;
}

.eco-article__title {
    font-size: 2rem;
    font-weight: 800;
    color: #161313;
    line-height: 1.3;
    margin-bottom: 12px;
}

.eco-article__lead {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 16px;
}

.eco-article__info {
    display: flex;
    gap: 20px;
    font-size: 0.8rem;
    color: #9ca3af;
}

.eco-article__date,
.eco-article__read-time {
    display: flex;
    align-items: center;
    gap: 4px;
}

.eco-article__date .material-symbols-outlined,
.eco-article__read-time .material-symbols-outlined {
    font-size: 16px;
}

.eco-article__content {
    font-size: 1rem;
    line-height: 1.8;
    color: #3F3F3F;
}

.eco-article__content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 16px;
    color: #161313;
}

.eco-article__content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 12px;
    color: #3F3F3F;
}

.eco-article__content p {
    margin-bottom: 16px;
}

.eco-article__content ul,
.eco-article__content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.eco-article__content li {
    margin-bottom: 8px;
}

.eco-article__content blockquote {
    border-left: 4px solid #9E5A53;
    padding-left: 20px;
    margin: 24px 0;
    font-style: italic;
    color: #6b7280;
}

.eco-article__content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.eco-article__footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

.eco-article__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.eco-article__tags-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
}

.eco-article__tag {
    font-size: 0.75rem;
    font-weight: 500;
    color: #9E5A53;
    background: rgba(158, 90, 83, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

/* ==============================================
   FAQ
   ============================================== */

.eco-faq-header {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 16px;
    margin-bottom: 24px;
}

.eco-faq-header__icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #9E5A53, #8A4F49);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.eco-faq-header__icon .material-symbols-outlined {
    font-size: 32px;
    color: white;
}

.eco-faq-header__title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #161313;
    margin-bottom: 8px;
}

.eco-faq-header__subtitle {
    font-size: 1rem;
    color: #6b7280;
    max-width: 500px;
    margin: 0 auto;
}

.eco-faq-form-wrapper {
    margin-bottom: 32px;
}

.eco-faq-form {
    background: white;
    border-radius: 12px;
    padding: 24px;
    border: 2px dashed rgba(158, 90, 83, 0.2);
}

.eco-faq-form__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 700;
    color: #3F3F3F;
    margin-bottom: 16px;
}

.eco-faq-form__title .material-symbols-outlined {
    color: #9E5A53;
}

.eco-faq-login-prompt {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #F8F9FA;
    border-radius: 12px;
    padding: 24px;
}

.eco-faq-login-prompt .material-symbols-outlined {
    font-size: 32px;
    color: #9ca3af;
}

.eco-faq-login-prompt div {
    flex: 1;
}

.eco-faq-login-prompt strong {
    display: block;
    margin-bottom: 4px;
}

.eco-faq-login-prompt p {
    font-size: 0.85rem;
    color: #6b7280;
}

.eco-faq-list__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #3F3F3F;
    margin-bottom: 20px;
}

.eco-faq-list__count {
    font-size: 0.75rem;
    background: #9E5A53;
    color: white;
    padding: 2px 10px;
    border-radius: 20px;
}

.eco-faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.eco-faq-item__question {
    margin: 0;
}

.eco-faq-item__question button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 20px;
    border: none;
    background: transparent;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: #3F3F3F;
    cursor: pointer;
}

.eco-faq-item__icon {
    width: 36px;
    height: 36px;
    background: rgba(158, 90, 83, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.eco-faq-item__icon .material-symbols-outlined {
    color: #9E5A53;
    font-size: 20px;
}

.eco-faq-item__text {
    flex: 1;
}

.eco-faq-item__arrow {
    color: #9ca3af;
    transition: transform 0.2s;
}

.eco-faq-item__question button[aria-expanded="true"] .eco-faq-item__arrow {
    transform: rotate(180deg);
}

.eco-faq-item__answer {
    padding: 0 20px 20px;
    padding-left: 68px;
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.7;
}

.eco-faq-item__date {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
    font-size: 0.75rem;
    color: #9ca3af;
}

.eco-faq-item__date .material-symbols-outlined {
    font-size: 14px;
}

/* ==============================================
   SEARCH
   ============================================== */

.eco-search-header {
    background: white;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    text-align: center;
}

.eco-search-header__title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #3F3F3F;
    margin-bottom: 20px;
}

.eco-search-header__form {
    max-width: 500px;
    margin: 0 auto 16px;
}

.eco-search-header__info {
    font-size: 0.9rem;
    color: #6b7280;
}

.eco-search-result {
    display: flex;
    gap: 16px;
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 12px;
    transition: all 0.2s;
}

.eco-search-result:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.eco-search-result__icon {
    width: 44px;
    height: 44px;
    background: rgba(158, 90, 83, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.eco-search-result__icon .material-symbols-outlined {
    color: #9E5A53;
}

.eco-search-result__content {
    flex: 1;
}

.eco-search-result__type {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 4px;
}

.eco-search-result__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.eco-search-result__title a {
    color: #3F3F3F;
    text-decoration: none;
}

.eco-search-result__title a:hover {
    color: #9E5A53;
}

.eco-search-result__excerpt {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.5;
}

/* ==============================================
   CATEGORY HEADER
   ============================================== */

.eco-category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
}

.eco-category-header__icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #9E5A53, #8A4F49);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eco-category-header__icon .material-symbols-outlined {
    font-size: 32px;
    color: white;
}

.eco-category-header__title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #161313;
    margin: 0 0 4px;
}

.eco-category-header__parent {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0 0 4px;
}

.eco-category-header__parent a {
    color: #9E5A53;
}

.eco-category-header__count {
    font-size: 0.8rem;
    color: #9ca3af;
}

/* ==============================================
   EMPTY STATE
   ============================================== */

.eco-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 16px;
}

.eco-empty-state .material-symbols-outlined {
    font-size: 48px;
    color: #d1d5db;
    margin-bottom: 16px;
}

.eco-empty-state h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 8px;
}

.eco-empty-state p {
    font-size: 0.9rem;
    color: #9ca3af;
}

/* ==============================================
   CTA
   ============================================== */

.eco-cta-faq {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #3F3F3F, #161313);
    border-radius: 16px;
    padding: 32px;
}

.eco-cta-faq__icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eco-cta-faq__icon .material-symbols-outlined {
    font-size: 28px;
    color: #E2A69E;
}

.eco-cta-faq__content {
    flex: 1;
}

.eco-cta-faq__content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin: 0 0 4px;
}

.eco-cta-faq__content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.eco-cta-inline {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #F8F9FA;
    border-radius: 12px;
    padding: 20px 24px;
    margin-top: 32px;
}

.eco-cta-inline .material-symbols-outlined {
    font-size: 24px;
    color: #9E5A53;
}

.eco-cta-inline div {
    flex: 1;
}

.eco-cta-inline strong {
    display: block;
    font-size: 0.9rem;
    color: #3F3F3F;
}

.eco-cta-inline span {
    font-size: 0.8rem;
    color: #6b7280;
}

/* ==============================================
   RELATED
   ============================================== */

.eco-related {
    margin-top: 32px;
}

.eco-related__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #3F3F3F;
    margin-bottom: 16px;
}

.eco-related__title .material-symbols-outlined {
    color: #9E5A53;
}

.eco-related-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border-radius: 10px;
    padding: 16px;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
    height: 100%;
}

.eco-related-card:hover {
    border-color: rgba(158, 90, 83, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.eco-related-card__icon {
    color: #9E5A53;
    font-size: 20px;
}

.eco-related-card__title {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 600;
    color: #3F3F3F;
    line-height: 1.3;
}

/* ==============================================
   RESPONSIVE
   ============================================== */

@media (max-width: 992px) {
    .eco-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }

    .eco-sidebar.open {
        transform: translateX(0);
    }

    .eco-main {
        margin-left: 0;
        max-width: 100%;
        padding: 16px;
    }

    .eco-hero {
        padding: 32px 24px;
    }

    .eco-hero__title {
        font-size: 1.75rem;
    }

    .eco-article {
        padding: 24px;
    }

    .eco-article__title {
        font-size: 1.5rem;
    }
}

/* Button Outline Terracotta */
.btn-outline-terracotta {
    color: #9E5A53;
    border-color: #9E5A53;
}

.btn-outline-terracotta:hover {
    background: #9E5A53;
    border-color: #9E5A53;
    color: white;
}

/* ==============================================
   WIKI ARTICLE STYLES
   Classes para artigos formatados da Wiki
   ============================================== */

/* Header do Artigo */
.wiki-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f0f0f0;
}

.wiki-header h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #161313;
    line-height: 1.25;
    margin: 0;
}

/* Seção Genérica */
.wiki-section {
    margin-bottom: 40px;
}

.wiki-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #161313;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(158, 90, 83, 0.15);
}

.wiki-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #3F3F3F;
    margin-top: 24px;
    margin-bottom: 12px;
}

.wiki-section p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: #3F3F3F;
}

/* Intro Box */
.wiki-intro-box {
    background: linear-gradient(135deg, rgba(158, 90, 83, 0.05), rgba(158, 90, 83, 0.02));
    border-left: 4px solid #9E5A53;
    border-radius: 0 12px 12px 0;
    padding: 24px;
    margin-bottom: 24px;
}

.wiki-intro-box p {
    margin-bottom: 12px;
    color: #3F3F3F;
}

.wiki-intro-box p:last-child {
    margin-bottom: 0;
}

/* Table of Contents */
.wiki-toc {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}

.wiki-toc h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #3F3F3F;
    margin-bottom: 16px;
    padding-bottom: 0;
    border-bottom: none;
}

.wiki-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc;
}

.wiki-toc-list li {
    counter-increment: toc;
    margin-bottom: 8px;
}

.wiki-toc-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: #F8F9FA;
    border-radius: 8px;
    text-decoration: none;
    color: #3F3F3F;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}

.wiki-toc-list li a::before {
    content: counter(toc);
    width: 24px;
    height: 24px;
    background: #9E5A53;
    color: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.wiki-toc-list li a:hover {
    background: rgba(158, 90, 83, 0.1);
    color: #9E5A53;
}

/* Figuras e Placeholders de Imagem */
.wiki-figure {
    margin: 32px 0;
    text-align: center;
}

.wiki-image-placeholder {
    background: linear-gradient(135deg, #F4F6F9, #E8EAED);
    border: 2px dashed #D1D5DB;
    border-radius: 12px;
    padding: 48px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.wiki-image-placeholder .material-symbols-outlined {
    font-size: 48px;
    color: #9CA3AF;
}

.wiki-image-placeholder p {
    font-size: 0.85rem;
    color: #6B7280;
    max-width: 400px;
    margin: 0;
    line-height: 1.5;
}

.wiki-figure figcaption {
    font-size: 0.85rem;
    color: #6B7280;
    margin-top: 12px;
    font-style: italic;
}

/* Destaques / Highlights */
.wiki-highlight {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 12px;
    margin: 24px 0;
}

.wiki-highlight-icon {
    flex-shrink: 0;
}

.wiki-highlight-icon .material-symbols-outlined {
    font-size: 24px;
}

.wiki-highlight-content {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.wiki-highlight-content strong {
    display: block;
    margin-bottom: 4px;
}

.wiki-highlight-info {
    background: rgba(16, 185, 129, 0.08);
    border-left: 4px solid #10B981;
}

.wiki-highlight-info .wiki-highlight-icon .material-symbols-outlined {
    color: #10B981;
}

.wiki-highlight-warning {
    background: rgba(217, 119, 6, 0.08);
    border-left: 4px solid #D97706;
}

.wiki-highlight-warning .wiki-highlight-icon .material-symbols-outlined {
    color: #D97706;
}

.wiki-highlight-terracotta {
    background: rgba(158, 90, 83, 0.08);
    border-left: 4px solid #9E5A53;
}

.wiki-highlight-terracotta .wiki-highlight-icon .material-symbols-outlined {
    color: #9E5A53;
}

/* Tabelas */
.wiki-table-wrapper {
    overflow-x: auto;
    margin: 24px 0;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.wiki-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.wiki-table caption {
    padding: 16px;
    font-weight: 700;
    color: #3F3F3F;
    background: #F8F9FA;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.wiki-table thead {
    background: #3F3F3F;
    color: white;
}

.wiki-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
}

.wiki-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #F0F0F0;
    color: #3F3F3F;
}

.wiki-table tbody tr:hover {
    background: rgba(158, 90, 83, 0.03);
}

.wiki-table tbody tr:last-child td {
    border-bottom: none;
}

.wiki-table-compact th,
.wiki-table-compact td {
    padding: 10px 16px;
}

.wiki-table-compact th {
    background: #F8F9FA;
    color: #3F3F3F;
    width: 35%;
}

/* Listas */
.wiki-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.wiki-list li {
    position: relative;
    padding: 12px 16px 12px 48px;
    margin-bottom: 8px;
    background: #F8F9FA;
    border-radius: 8px;
    line-height: 1.5;
}

.wiki-list-check li::before {
    content: '✓';
    position: absolute;
    left: 16px;
    top: 12px;
    width: 20px;
    height: 20px;
    background: #10B981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}

/* Timeline */
.wiki-timeline {
    position: relative;
    padding-left: 32px;
    margin: 32px 0;
}

.wiki-timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #9E5A53, rgba(158, 90, 83, 0.2));
}

.wiki-timeline-item {
    position: relative;
    padding-bottom: 24px;
}

.wiki-timeline-item:last-child {
    padding-bottom: 0;
}

.wiki-timeline-marker {
    position: absolute;
    left: -32px;
    top: 4px;
    width: 24px;
    height: 24px;
    background: #9E5A53;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 2px 8px rgba(158, 90, 83, 0.3);
}

.wiki-timeline-content {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    padding: 16px 20px;
}

.wiki-timeline-year {
    display: inline-block;
    background: #9E5A53;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.wiki-timeline-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #3F3F3F;
}

/* Card Grid */
.wiki-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.wiki-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s;
}

.wiki-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.wiki-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #9E5A53;
    color: white;
}

.wiki-card-header .material-symbols-outlined {
    font-size: 24px;
}

.wiki-card-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.wiki-card-header-olive {
    background: #9DB159;
}

.wiki-card-header-navy {
    background: #5760A5;
}

.wiki-card-header-bronze {
    background: #B47936;
}

.wiki-card-header-sky {
    background: #6E9CAF;
}

.wiki-card-header-purple {
    background: #915699;
}

.wiki-card-body {
    padding: 20px;
}

.wiki-card-body p {
    font-size: 0.9rem;
    color: #6B7280;
    margin-bottom: 12px;
}

.wiki-card-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wiki-card-body li {
    font-size: 0.85rem;
    color: #3F3F3F;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.wiki-card-body li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #9E5A53;
    font-weight: bold;
}

/* CTA Box */
.wiki-cta-box {
    display: flex;
    align-items: center;
    gap: 24px;
    background: linear-gradient(135deg, #3F3F3F, #161313);
    border-radius: 16px;
    padding: 32px;
    margin: 40px 0;
}

.wiki-cta-content {
    flex: 1;
}

.wiki-cta-content h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.wiki-cta-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0;
}

.wiki-cta-action {
    flex-shrink: 0;
}

/* Stats Row */
.wiki-stats-row {
    display: flex;
    gap: 20px;
    margin: 32px 0;
    justify-content: center;
}

.wiki-stat-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 24px 32px;
    text-align: center;
    min-width: 180px;
}

.wiki-stat-card-highlight {
    background: linear-gradient(135deg, #9E5A53, #8A4F49);
    border: none;
}

.wiki-stat-card-highlight .wiki-stat-number,
.wiki-stat-card-highlight .wiki-stat-label {
    color: white;
}

.wiki-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #9E5A53;
    line-height: 1;
    margin-bottom: 8px;
}

.wiki-stat-label {
    font-size: 0.85rem;
    color: #6B7280;
    font-weight: 500;
}

/* Lesson Box */
.wiki-lesson-box {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    overflow: hidden;
    margin: 24px 0;
}

.wiki-lesson-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.1), rgba(217, 119, 6, 0.05));
    border-bottom: 1px solid rgba(217, 119, 6, 0.2);
}

.wiki-lesson-header .material-symbols-outlined {
    color: #D97706;
    font-size: 24px;
}

.wiki-lesson-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #D97706;
}

.wiki-lesson-content {
    padding: 20px;
}

.wiki-lesson-content p {
    margin: 0;
    line-height: 1.7;
}

/* FAQ Section */
.wiki-faq-section {
    background: #F8F9FA;
    border-radius: 16px;
    padding: 32px;
    margin: 40px 0;
}

.wiki-faq-section h2 {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 24px;
}

.wiki-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wiki-faq-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.wiki-faq-question {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 18px 20px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #3F3F3F;
    transition: background 0.2s;
}

.wiki-faq-question:hover {
    background: rgba(158, 90, 83, 0.03);
}

.wiki-faq-question .material-symbols-outlined {
    color: #9E5A53;
    font-size: 20px;
}

.wiki-faq-question::after {
    content: '▼';
    margin-left: auto;
    font-size: 0.7rem;
    color: #9CA3AF;
    transition: transform 0.2s;
}

.wiki-faq-item[open] .wiki-faq-question::after {
    transform: rotate(180deg);
}

.wiki-faq-answer {
    padding: 0 20px 20px 52px;
    font-size: 0.95rem;
    color: #6B7280;
    line-height: 1.7;
}

/* Checklist */
.wiki-checklist {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}

/* Bibliography */
.wiki-bibliography {
    background: #F8F9FA;
    border-radius: 16px;
    padding: 32px;
    margin-top: 40px;
}

.wiki-bibliography h2 {
    border-bottom: none;
    padding-bottom: 0;
}

.wiki-reference-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wiki-reference-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: white;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #3F3F3F;
    line-height: 1.5;
}

.wiki-reference-list li:last-child {
    margin-bottom: 0;
}

.wiki-ref-icon {
    flex-shrink: 0;
}

.wiki-ref-icon .material-symbols-outlined {
    color: #9E5A53;
    font-size: 20px;
}

.wiki-reference-list em {
    font-style: italic;
}

/* Footer do Artigo */
.wiki-footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid #F0F0F0;
}

.wiki-footer-meta {
    background: rgba(158, 90, 83, 0.05);
    border-radius: 12px;
    padding: 20px 24px;
}

.wiki-footer-meta p {
    margin: 0;
    font-size: 0.9rem;
    color: #6B7280;
    line-height: 1.6;
}

/* Responsivo para Wiki */
@media (max-width: 768px) {
    .wiki-header h1 {
        font-size: 1.75rem;
    }

    .wiki-cta-box {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .wiki-stats-row {
        flex-direction: column;
        align-items: stretch;
    }

    .wiki-stat-card {
        min-width: auto;
    }

    .wiki-card-grid {
        grid-template-columns: 1fr;
    }

    .wiki-timeline {
        padding-left: 24px;
    }

    .wiki-timeline-marker {
        left: -24px;
        width: 18px;
        height: 18px;
    }

    .wiki-faq-section {
        padding: 20px;
    }

    .wiki-bibliography {
        padding: 20px;
    }
}