/*
Theme Name: Instituto Dr. Brasil
Description: Tema personalizado para o Instituto Dr. Brasil - Versão 3.0 completa alinhada com Lovable
Version: 3.0
Author: Instituto Dr. Brasil
Text Domain: instituto-brasil
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
*/

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

:root {
    /* Instituto colors - Blue, Yellow, Green - Sistema de design completo */
    --background: 0 0% 100%;
    --foreground: 220 25% 20%;

    --card: 0 0% 100%;
    --card-foreground: 220 25% 20%;

    --popover: 0 0% 100%;
    --popover-foreground: 220 25% 20%;

    /* Primary - Blue */
    --primary: 220 85% 45%;
    --primary-foreground: 0 0% 100%;
    --primary-hover: 220 85% 40%;

    /* Secondary - Yellow */
    --secondary: 45 95% 55%;
    --secondary-foreground: 220 25% 20%;
    --secondary-hover: 45 95% 50%;

    /* Accent - Blue */
    --accent: 210 70% 55%;
    --accent-foreground: 0 0% 100%;

    --muted: 220 15% 96%;
    --muted-foreground: 220 15% 45%;

    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 100%;

    --border: 220 15% 90%;
    --input: 220 15% 95%;
    --ring: 220 85% 45%;

    --radius: 0.75rem;

    /* Custom gradients */
    --gradient-primary: linear-gradient(135deg, hsl(220 85% 45%), hsl(210 70% 55%));
    --gradient-secondary: linear-gradient(135deg, hsl(45 95% 55%), hsl(210 70% 55%));
    --gradient-hero: linear-gradient(135deg, hsl(220 85% 45%) 0%, hsl(45 95% 55%) 50%, hsl(210 70% 55%) 100%);

    /* Shadows - Sistema avançado de sombras */
    --shadow-elegant: 0 10px 30px -10px hsl(220 85% 45% / 0.2);
    --shadow-card: 0 4px 20px -4px hsl(220 25% 20% / 0.1);
    --shadow-button: 0 2px 10px -2px hsl(220 85% 45% / 0.3);

    /* Transições suaves */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* Dark mode support */
.dark {
    --background: 220 30% 8%;
    --foreground: 0 0% 95%;
    --card: 220 25% 12%;
    --card-foreground: 0 0% 95%;
    --primary: 220 75% 55%;
    --primary-hover: 220 75% 60%;
    --secondary: 45 85% 45%;
    --secondary-hover: 45 85% 50%;
    --accent: 210 65% 50%;
    --muted: 220 20% 15%;
    --muted-foreground: 220 15% 65%;
    --border: 220 20% 20%;
    --input: 220 20% 15%;
    --ring: 220 75% 55%;
}

html {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#main {
    flex: 1;
}

/* Container system - Mobile first responsive */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Skip link para acessibilidade */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    padding: 0.5rem 1rem;
    text-decoration: none;
    z-index: 9999;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

/* Top Bar - Aprimorado */
.top-bar {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    font-size: 0.875rem;
    padding: 0.5rem 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    transition: var(--transition-smooth);
}

.top-bar.scrolled {
    padding: 0.25rem 0;
    position: fixed;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-bar-link {
    color: hsl(var(--primary-foreground));
    text-decoration: none;
    font-size: 0.8rem;
    transition: opacity 0.3s ease;
}

.top-bar-link:hover {
    opacity: 0.8;
}

.desktop-only {
    display: inline;
}

.mobile-only {
    display: none;
}

/* Header - Sistema avançado com efeitos de scroll */
.site-header {
    background: hsl(var(--background) / 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-card);
    position: absolute;
    top: 2.5rem;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid hsl(var(--border));
}

.site-header.scrolled {
    background: hsl(var(--background) / 0.98);
    box-shadow: var(--shadow-elegant);
    top: 0;
    position: fixed;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 2rem;
}

.logo img {
    height: 180px;
    width: auto;
    max-width: none;
    transition: all 0.3s ease;
    object-fit: contain;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: hsl(var(--foreground));
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover {
    color: hsl(var(--primary));
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: hsl(var(--background));
    border: 1px solid hsl(var(--border));
    border-radius: 8px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.2);
    min-width: 220px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
    backdrop-filter: blur(10px);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1rem;
    color: hsl(var(--foreground));
    text-decoration: none;
    font-size: 0.875rem;
    text-transform: none;
    font-weight: 400;
    transition: all 0.3s ease;
}

.dropdown-link:hover {
    background: hsl(var(--muted));
    color: hsl(var(--primary));
}

/* Header Search */
.header-search {
    display: flex;
    align-items: center;
}

.search-form-header {
    display: flex;
    align-items: center;
    position: relative;
}

.search-form-header input {
    width: 300px;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 1px solid hsl(var(--border));
    border-radius: 6px;
    font-size: 0.875rem;
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    transition: all 0.3s ease;
}

.search-form-header input:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 2px hsl(var(--primary) / 0.2);
}

.search-button {
    position: absolute;
    right: 0.5rem;
    background: none;
    border: none;
    color: hsl(var(--muted-foreground));
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.search-button:hover {
    color: hsl(var(--primary));
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: hsl(var(--foreground));
    transition: all 0.3s ease;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    background: hsl(var(--background));
    border-top: 1px solid hsl(var(--border));
    padding: 1rem 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 9998;
    box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.mobile-nav.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu Toggle States */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid hsl(var(--border));
}

.mobile-nav-title {
    display: block;
    padding: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    color: hsl(var(--foreground));
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: hsl(var(--foreground));
    text-decoration: none;
    font-size: 0.875rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: hsl(var(--primary));
}

.mobile-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: hsl(var(--muted));
}

.mobile-submenu .mobile-nav-link {
    padding-left: 2rem;
    text-transform: none;
    font-weight: 400;
    font-size: 0.8rem;
}

.mobile-search-form {
    padding: 1rem;
}

.mobile-search-form input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid hsl(var(--border));
    border-radius: 6px;
    font-size: 1rem;
    background: hsl(var(--background));
    color: hsl(var(--foreground));
}

/* Hero Section */
.hero-section {
    background: var(--gradient-hero);
    color: hsl(var(--primary-foreground));
    padding: 10rem 0 6rem;
    margin-top: 6rem;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, hsl(var(--primary) / 0.95), hsl(var(--primary-hover) / 0.95));
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 500px;
    position: relative;
    z-index: 1;
}

.hero-content {
    space-y: 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title-highlight {
    display: block;
    margin-top: 0.5rem;
    border-bottom: 4px solid hsl(var(--secondary));
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-secondary {
    background: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid hsl(var(--secondary));
    cursor: pointer;
    box-shadow: var(--shadow-button);
}

.btn-secondary:hover {
    background: hsl(var(--secondary-hover));
    border-color: hsl(var(--secondary-hover));
    transform: translateY(-2px);
    box-shadow: var(--shadow-elegant);
}

.btn-hero {
    background: transparent;
    color: hsl(var(--primary-foreground));
    border: 2px solid hsl(var(--primary-foreground));
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 0 1px hsl(var(--primary-foreground) / 0.2);
}

.btn-hero:hover {
    background: hsl(var(--primary-foreground) / 0.1);
    border-color: hsl(var(--primary-foreground));
    transform: translateY(-2px);
    box-shadow: var(--shadow-button), 0 0 0 1px hsl(var(--primary-foreground) / 0.3);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.hero-image-container img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-elegant);
}

.hero-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(20px);
}

.hero-decoration-1 {
    top: -1rem;
    right: -1rem;
    width: 5rem;
    height: 5rem;
    background: hsl(var(--secondary) / 0.2);
}

.hero-decoration-2 {
    bottom: -1rem;
    left: -1rem;
    width: 4rem;
    height: 4rem;
    background: hsl(var(--accent) / 0.2);
}

/* Services Section */
.services-section {
    padding: 4rem 0;
    background: hsl(var(--background));
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-4px);
}

.service-card:hover .service-icon {
    background: hsl(var(--primary) / 0.1);
}

.service-card:hover .service-icon svg {
    color: hsl(var(--primary));
}

.service-card:hover .service-title {
    color: hsl(var(--primary));
}

.service-icon {
    background: hsl(var(--muted));
    padding: 1rem;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-icon svg {
    transition: color 0.3s ease;
}

.service-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    color: hsl(var(--foreground));
    transition: color 0.3s ease;
}

.service-description {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

.service-link {
    color: hsl(var(--primary));
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

/* Service Cards - Enhanced with icons and colors */
.service-icon-orange svg {
    color: #ea580c;
}

.service-icon-green svg {
    color: #16a34a;
}

.service-icon-purple svg {
    color: #9333ea;
}

.service-icon-red svg {
    color: #dc2626;
}

.service-icon-pink svg {
    color: #ec4899;
}

/* Enhanced service card styling */
.service-card-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.service-content {
    flex: 1;
}

.service-icon {
    background: hsl(var(--muted));
    padding: 0.75rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.service-card:hover .service-icon {
    background: hsl(var(--primary) / 0.1);
}

.service-card:hover .service-icon svg {
    color: hsl(var(--primary)) !important;
}

/* Hero Section - Mobile responsive improvements */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-image {
        order: -1;
        justify-content: center;
    }

    .hero-image-container {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 6rem 0 4rem;
        margin-top: 5rem;
        min-height: 500px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn-secondary,
    .btn-hero {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* Footer - Enhanced with comprehensive styling */
.site-footer {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Fix for logo display */
.logo img {
    max-height: 120px;
    width: auto;
    display: block;
}

/* Ensure dropdown is visible on desktop only */
@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Fix mobile menu display */
@media (max-width: 768px) {
    .mobile-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: hsl(var(--background));
        border-top: 1px solid hsl(var(--border));
        box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.15);
        z-index: 9998;
    }

    .mobile-nav.active {
        display: block;
    }

    /* Fix header positioning on mobile */
    .site-header {
        position: relative;
        z-index: 9999;
    }
}

/* WordPress specific fixes */
body.wordpress {
    margin: 0;
    padding: 0;
}

/* Fix for WordPress admin bar */
body.admin-bar .site-header {
    top: calc(2.5rem + 32px);
}

body.admin-bar .top-bar {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .site-header {
        top: calc(2rem + 46px);
    }

    body.admin-bar .top-bar {
        top: 46px;
    }
}

/* WordPress alignment classes */
.alignleft {
    float: left;
    margin: 0 1rem 1rem 0;
}

.alignright {
    float: right;
    margin: 0 0 1rem 1rem;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

/* Additional fixes for layout issues */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Ensure proper stacking context */
.site-header {
    background: hsl(var(--background));
    z-index: 1000;
}

.top-bar {
    z-index: 1001;
}

/* Fix for mobile responsiveness */
@media (max-width: 768px) {
    .hero-section {
        margin-top: 6rem;
        padding: 4rem 0 3rem;
    }
}

/* News Section - Enhanced with all Lovable features */
.news-section {
    padding: 6rem 0 5rem;
    background: hsl(var(--background));
    position: relative;
}

.news-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.news-section .section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-bottom: 1rem;
    position: relative;
}

.news-section .section-divider {
    width: 4rem;
    height: 3px;
    background: var(--gradient-primary);
    margin: 0 auto 1rem;
    border-radius: 2px;
}

.news-section .section-title p {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    max-width: 600px;
    margin: 0 auto;
}

.news-header {
    text-align: center;
    margin-bottom: 4rem;
}

.news-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: hsl(var(--foreground));
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}

.news-title-line {
    width: 5rem;
    height: 4px;
    background: hsl(var(--secondary));
    margin: 0 auto 1rem;
}

.news-subtitle {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center;
}

/* News Search - Advanced functionality */
.news-search {
    max-width: 500px;
    margin: 0 auto 3rem;
}

.news-search-form {
    position: relative;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.news-search-input {
    width: 100%;
    padding: 1rem 3.5rem 1rem 1.5rem;
    border: 2px solid hsl(var(--border));
    border-radius: 50px;
    font-size: 1rem;
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    transition: var(--transition-smooth);
    outline: none;
}

.news-search-input:focus {
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

.news-search-input::placeholder {
    color: hsl(var(--muted-foreground));
}

.news-search-button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border: none;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.news-search-button:hover {
    background: hsl(var(--primary-hover));
    transform: translateY(-50%) scale(1.05);
}

/* News Grid - Enhanced */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-elegant);
}

.news-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}

.news-badge {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-content {
    padding: 1.5rem;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.news-card-title {
    margin-bottom: 0.75rem;
}

.news-card-title a {
    font-size: 1.25rem;
    font-weight: bold;
    color: hsl(var(--foreground));
    text-decoration: none;
    line-height: 1.4;
    transition: var(--transition-smooth);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card:hover .news-card-title a {
    color: hsl(var(--primary));
}

.news-excerpt {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-read-more {
    color: hsl(var(--primary));
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.news-read-more:hover {
    color: hsl(var(--primary-hover));
}

.news-read-more svg {
    transition: var(--transition-smooth);
}

.news-read-more:hover svg {
    transform: translateX(4px);
}

/* View All News Button */
.news-view-all {
    text-align: center;
    margin-top: 3rem;
}

.btn-primary-large {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    padding: 1rem 3rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-button);
}

.btn-primary-large:hover {
    background: hsl(var(--primary-hover));
    transform: translateY(-2px);
    box-shadow: var(--shadow-elegant);
}

.news-image-container {
    position: relative;
}

/* No Posts/Search Results */
.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.no-posts-icon {
    margin-bottom: 2rem;
}

.no-posts-icon svg {
    color: hsl(var(--muted-foreground));
    opacity: 0.6;
}

.no-posts h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 1rem;
    line-height: 1.3;
}

.no-posts p {
    color: hsl(var(--muted-foreground));
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.no-posts-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .no-posts-actions {
        flex-direction: row;
        justify-content: center;
    }
}

.section-cta {
    text-align: center;
    margin-top: 2rem;
}

.btn-primary {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    padding: 1rem 2rem;
}

.btn-primary:hover {
    background: hsl(var(--primary-hover));
}

/* Footer Updates */
.footer-brand {
    grid-column: span 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    width: 4rem;
    height: 4rem;
    object-fit: contain;
}

.footer-brand-text h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.footer-brand-text span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: hsl(var(--primary-foreground));
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: hsl(var(--primary-foreground));
    color: hsl(var(--primary));
}

.footer-section h4 {
    font-size: 0.875rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 0.875rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-item svg {
    margin-top: 0.125rem;
    opacity: 0.6;
    flex-shrink: 0;
}

.contact-item div {
    font-size: 0.875rem;
    line-height: 1.4;
}

.contact-item a {
    color: hsl(var(--primary-foreground));
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.contact-item a:hover {
    opacity: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
}

.footer-bottom p {
    font-size: 0.75rem;
    opacity: 0.8;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-legal a {
    font-size: 0.75rem;
    color: hsl(var(--primary-foreground) / 0.8);
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: hsl(var(--primary-foreground));
}

/* News Grid */
/* Remove duplicate news-section rule */

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: hsl(var(--foreground));
    line-height: 1.2;
}

.section-title p {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.section-divider {
    width: 6rem;
    height: 5px;
    background: hsl(var(--secondary));
    margin: 0 auto 2rem;
    border-radius: 2px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card {
    background: hsl(var(--card));
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid hsl(var(--border));
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-meta {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.news-category {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    display: flex;
    align-items: center;
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.news-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-excerpt {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    color: hsl(var(--primary));
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: hsl(var(--primary) / 0.8);
}

/* Search Section */
.search-section {
    margin-bottom: 3rem;
}

.search-form {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.search-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-form input {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    border: 2px solid hsl(var(--border));
    border-radius: 12px;
    font-size: 1rem;
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-card);
}

.search-form input:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
    transform: translateY(-1px);
}

.search-form input::placeholder {
    color: hsl(var(--muted-foreground));
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: hsl(var(--muted-foreground));
    z-index: 2;
}

.search-clear {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: hsl(var(--muted-foreground));
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-clear:hover {
    color: hsl(var(--destructive));
    background: hsl(var(--destructive) / 0.1);
}

.search-results-info {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: hsl(var(--muted) / 0.5);
    border-radius: 8px;
    border-left: 4px solid hsl(var(--primary));
}

.search-results-info p {
    margin: 0;
    color: hsl(var(--foreground));
    font-size: 1rem;
}

.search-results-info strong {
    color: hsl(var(--primary));
}

.search-results-info em {
    color: hsl(var(--primary));
    font-style: normal;
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: hsl(var(--primary) / 0.9);
}

/* Footer */
.site-footer {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: bold;
}

.footer-section a {
    color: hsl(var(--background) / 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: hsl(var(--background));
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid hsl(var(--background) / 0.2);
    color: hsl(var(--background) / 0.8);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    border: 1px solid hsl(var(--border));
    border-radius: 4px;
    text-decoration: none;
    color: hsl(var(--foreground));
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-color: hsl(var(--primary));
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .search-form-header input {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: inline;
    }

    .desktop-nav {
        display: none;
    }

    .header-search {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .site-header {
        top: 2rem;
    }

    .top-bar {
        padding: 0.25rem 0;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .hero-section {
        padding: 6rem 0 4rem;
        margin-top: 4rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
        letter-spacing: 0.05em;
    }

    .section-title {
        margin-bottom: 3rem;
        padding: 0 0.5rem;
    }

    .section-divider {
        width: 5rem;
        height: 4px;
    }

    .news-section {
        padding: 4rem 0 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .contact-info {
        align-items: center;
    }

    .contact-item {
        justify-content: center;
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .section-title h2 {
        font-size: 1.9rem;
        letter-spacing: 0.03em;
        line-height: 1.1;
    }

    .section-title {
        margin-bottom: 2.5rem;
        padding: 0 0.25rem;
    }

    .section-divider {
        width: 4rem;
        height: 3px;
        margin: 0 auto 1.5rem;
    }

    .news-section {
        padding: 3rem 0 2rem;
    }

    .service-card {
        padding: 1.25rem;
    }

    .news-card {
        margin: 0 0.5rem;
    }
}

/* Mobile Menu Animation */
.mobile-nav.active {
    display: block;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
.nav-link:focus,
.btn:focus,
.search-form input:focus,
.search-button:focus {
    outline: 2px solid hsl(var(--primary));
    outline-offset: 2px;
}

/* Print styles */
@media print {

    .top-bar,
    .site-header,
    .mobile-nav,
    .footer-social,
    .search-form,
    .btn {
        display: none;
    }

    .hero-section {
        margin-top: 0;
        padding: 2rem 0;
        break-inside: avoid;
    }

    .news-card,
    .service-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Transparency Page Styles */
.transparency-page {
    padding-top: 2rem;
}

.page-hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, hsl(var(--primary) / 0.1), hsl(var(--accent) / 0.1));
    margin-bottom: 3rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: hsl(var(--primary));
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.transparency-section {
    margin-bottom: 4rem;
}

.transparency-section h2 {
    font-size: 2rem;
    font-weight: bold;
    color: hsl(var(--primary));
    margin-bottom: 2rem;
    text-align: center;
}

.transparency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.transparency-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.transparency-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px hsl(var(--primary) / 0.1);
}

.card-icon {
    width: 3rem;
    height: 3rem;
    background: hsl(var(--primary) / 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: hsl(var(--primary));
}

.transparency-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.75rem;
}

.transparency-card p {
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-link {
    display: inline-block;
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: background-color 0.3s ease;
}

.card-link:hover {
    background: hsl(var(--primary-hover));
    text-decoration: none;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background: hsl(var(--accent) / 0.1);
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    padding: 2rem;
}

.info-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: hsl(var(--primary));
    margin-bottom: 1rem;
}

.info-card p {
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    text-align: center;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-color: hsl(var(--primary));
}

.btn-primary:hover {
    background: hsl(var(--primary-hover));
    border-color: hsl(var(--primary-hover));
    transform: translateY(-1px);
    box-shadow: var(--shadow-button);
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: hsl(var(--foreground));
    border-color: hsl(var(--border));
}

.btn-secondary:hover {
    background: hsl(var(--muted));
    border-color: hsl(var(--primary));
    color: hsl(var(--primary));
    text-decoration: none;
}

.legal-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    background: hsl(var(--muted) / 0.3);
    padding: 2rem;
    border-radius: 0.5rem;
}

.legal-item h4 {
    font-weight: 600;
    color: hsl(var(--primary));
    margin-bottom: 0.5rem;
}

.legal-item p {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

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

    .transparency-card {
        padding: 1.5rem;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

    .legal-info {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
}

/* =====================================================
   SKELETON LOADING SYSTEM
   ===================================================== */

/* Skeleton Loading Animation */
@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Skeleton Components */
.skeleton {
    background: linear-gradient(90deg, hsl(var(--muted)) 25%, hsl(var(--muted-foreground) / 0.1) 50%, hsl(var(--muted)) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    opacity: 0.7;
}

.skeleton-text {
    height: 1em;
    margin: 0.5em 0;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-text.medium {
    width: 80%;
}

.skeleton-text.long {
    width: 100%;
}

.skeleton-title {
    height: 1.5em;
    width: 75%;
    margin: 1em 0 0.5em 0;
}

.skeleton-image {
    width: 100%;
    height: 200px;
    border-radius: 8px;
}

.skeleton-image.small {
    height: 80px;
    width: 120px;
}

.skeleton-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.skeleton-button {
    height: 40px;
    width: 120px;
    border-radius: 6px;
}

.skeleton-card {
    padding: 1rem;
    border: 1px solid hsl(var(--border));
    border-radius: 8px;
    background: hsl(var(--card));
    opacity: 0.8;
}

/* Loading states for images */
img {
    transition: opacity 0.3s ease;
}

img[data-src] {
    opacity: 0.3;
    background: linear-gradient(90deg, hsl(var(--muted)) 25%, hsl(var(--muted-foreground) / 0.1) 50%, hsl(var(--muted)) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

img.loaded {
    opacity: 1;
}

/* Page Loading States */
.page-loading .news-grid {
    opacity: 0.6;
    pointer-events: none;
}

.page-loading .service-card {
    opacity: 0.6;
    pointer-events: none;
}

/* Content loading animations */
.content-loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.content-loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Skeleton-specific styles for news cards */
.news-card.skeleton-loading {
    pointer-events: none;
    opacity: 0.8;
}

.news-card.skeleton-loading .news-card-image,
.news-card.skeleton-loading .news-card-content {
    position: relative;
    overflow: hidden;
}

/* Skeleton-specific styles for service cards */
.service-card.skeleton-loading {
    pointer-events: none;
    opacity: 0.8;
}

.service-card.skeleton-loading .service-icon,
.service-card.skeleton-loading .service-content {
    position: relative;
    overflow: hidden;
}

/* =====================================================
   ANCHOR LINKS FIX - Evita que o header fixo cubra os títulos
   ===================================================== */

/* Global fix para anchor links */
section[id] {
    scroll-margin-top: 8rem;
}

h1[id],
h2[id],
h3[id],
h4[id],
h5[id],
h6[id] {
    scroll-margin-top: 8rem;
}

/* Fix específico para seções da página Quem Somos */
#nossa-historia,
#missao-visao-valores,
#associados,
#conselhos,
#diretoria-executiva,
#localizacao,
#organograma {
    scroll-margin-top: 8rem;
}

/* Garantir que os títulos fiquem visíveis */
#nossa-historia h1,
#nossa-historia h2 {
    margin-top: 0;
    padding-top: 0;
    scroll-margin-top: 8rem;
}

/* Skeleton loading container styles */
.skeleton-loading-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.skeleton-loading-container .news-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 12px;
    overflow: hidden;
    transition: none;
}

/* Responsive skeleton adjustments */
@media (max-width: 768px) {
    .skeleton-image {
        height: 150px;
    }

    .skeleton-image.small {
        height: 60px;
        width: 90px;
    }

    .skeleton-avatar {
        width: 32px;
        height: 32px;
    }

    .skeleton-button {
        height: 36px;
        width: 100px;
    }

    .skeleton-loading-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Archive Page Styles */
.archive-page {
    padding: 4rem 0;
    background: linear-gradient(135deg, hsl(var(--background)) 0%, hsl(var(--muted)) 100%);
    min-height: 80vh;
}

.archive-header {
    text-align: center;
    margin-bottom: 3rem;
}

.archive-title {
    font-size: 3rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.archive-divider {
    width: 5rem;
    height: 0.25rem;
    background: hsl(var(--secondary));
    margin: 0 auto 1rem;
    border-radius: 2px;
}

.archive-description {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.7;
}

/* Featured News Card for Archive */
.featured-news-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    background: hsl(var(--card));
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 30px -10px hsl(var(--primary) / 0.1);
    border: 1px solid hsl(var(--border));
    transition: all 0.3s ease;
}

.featured-news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -10px hsl(var(--primary) / 0.15);
}

.featured-news-image-container {
    position: relative;
    overflow: hidden;
}

.featured-news-image-container img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-news-card:hover .featured-news-image-container img {
    transform: scale(1.05);
}

.featured-news-meta {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.featured-news-category {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.featured-news-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-news-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.featured-news-date svg {
    color: hsl(var(--primary));
}

.featured-news-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

.featured-news-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.featured-news-title a:hover {
    color: hsl(var(--primary));
}

.featured-news-excerpt {
    font-size: 1.125rem;
    line-height: 1.7;
    color: hsl(var(--muted-foreground));
    margin-bottom: 2rem;
}

.featured-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: hsl(var(--primary));
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.featured-read-more:hover {
    color: hsl(var(--primary-hover));
    transform: translateX(4px);
}

.featured-read-more svg {
    transition: transform 0.2s ease;
}

.featured-read-more:hover svg {
    transform: translateX(4px);
}

/* Mobile Responsive for Archive */
@media (max-width: 768px) {
    .archive-title {
        font-size: 2rem;
    }

    .featured-news-card {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .featured-news-image-container img {
        height: 16rem;
    }

    .featured-news-content {
        padding: 1.5rem;
    }

    .featured-news-title {
        font-size: 1.5rem;
    }

    .featured-news-excerpt {
        font-size: 1rem;
    }
}

/* =====================================================
   ENHANCED PAGINATION STYLES
   ===================================================== */

/* Pagination Styles */
.pagination-container {
    margin-top: 4rem;
    text-align: center;
}

.pagination-info {
    margin-bottom: 2rem;
}

.pagination-info p {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    margin: 0;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    align-items: center;
}

.pagination-item {
    margin: 0;
}

.pagination-item a,
.pagination-item span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: hsl(var(--foreground));
    text-decoration: none;
    border: 2px solid hsl(var(--border));
    border-radius: 8px;
    transition: var(--transition-smooth);
    font-weight: 500;
    min-width: 44px;
    justify-content: center;
    background: hsl(var(--background));
}

.pagination-item a:hover {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-color: hsl(var(--primary));
    transform: translateY(-1px);
    box-shadow: var(--shadow-button);
}

.pagination-item .current {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-color: hsl(var(--primary));
    cursor: default;
}

.pagination-item .dots {
    background: transparent;
    border: none;
    color: hsl(var(--muted-foreground));
    cursor: default;
}

.pagination-item .prev,
.pagination-item .next {
    font-weight: 600;
    gap: 0.75rem;
}

.pagination-item .prev svg,
.pagination-item .next svg {
    transition: transform 0.2s ease;
}

.pagination-item .prev:hover svg {
    transform: translateX(-2px);
}

.pagination-item .next:hover svg {
    transform: translateX(2px);
}

/* Responsive Pagination */
@media (max-width: 768px) {
    .pagination-list {
        gap: 0.25rem;
        flex-wrap: wrap;
    }

    .pagination-item a,
    .pagination-item span {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
        min-width: 40px;
    }

    .pagination-item .prev,
    .pagination-item .next {
        order: -1;
        width: 100%;
        margin-bottom: 1rem;
    }

    .pagination-item .prev {
        order: -2;
    }
}

/* =====================================================
   LOVABLE ANIMATION SYSTEM
   ===================================================== */

/* Remove default WordPress animations */
.wp-block-group,
.wp-block-columns,
.wp-block-media-text,
.entry-content>*,
.site-main>*,
.wp-block-fade,
.fadeIn,
.fadeInUp,
.slideInUp {
    animation: none !important;
    transition: none !important;
}

/* Override WordPress default transitions */
* {
    transition: var(--transition-smooth) !important;
}

/* Keyframe Animations - Lovable Style */
@keyframes accordion-down {
    from {
        height: 0;
        opacity: 0;
    }

    to {
        height: var(--radix-accordion-content-height, auto);
        opacity: 1;
    }
}

@keyframes accordion-up {
    from {
        height: var(--radix-accordion-content-height, auto);
        opacity: 1;
    }

    to {
        height: 0;
        opacity: 0;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-out {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(10px);
    }
}

@keyframes scale-in {
    0% {
        transform: scale(0.95);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes scale-out {
    from {
        transform: scale(1);
        opacity: 1;
    }

    to {
        transform: scale(0.95);
        opacity: 0;
    }
}

@keyframes slide-in-right {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes slide-out-right {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes slide-in-left {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes slide-out-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes slide-in-up {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes slide-out-down {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(100%);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes bounce {

    0%,
    20%,
    53%,
    80%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    40%,
    43% {
        transform: translate3d(0, -30px, 0);
    }

    70% {
        transform: translate3d(0, -15px, 0);
    }

    90% {
        transform: translate3d(0, -4px, 0);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Animation Classes */
.animate-fade-in {
    animation: fade-in 0.3s ease-out;
}

.animate-fade-out {
    animation: fade-out 0.3s ease-out;
}

.animate-scale-in {
    animation: scale-in 0.2s ease-out;
}

.animate-scale-out {
    animation: scale-out 0.2s ease-out;
}

.animate-slide-in-right {
    animation: slide-in-right 0.3s ease-out;
}

.animate-slide-out-right {
    animation: slide-out-right 0.3s ease-out;
}

.animate-slide-in-left {
    animation: slide-in-left 0.3s ease-out;
}

.animate-slide-out-left {
    animation: slide-out-left 0.3s ease-out;
}

.animate-slide-in-up {
    animation: slide-in-up 0.3s ease-out;
}

.animate-slide-out-down {
    animation: slide-out-down 0.3s ease-out;
}

.animate-accordion-down {
    animation: accordion-down 0.2s ease-out;
}

.animate-accordion-up {
    animation: accordion-up 0.2s ease-out;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-bounce {
    animation: bounce 1s infinite;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Combined Animations */
.animate-enter {
    animation: fade-in 0.3s ease-out, scale-in 0.2s ease-out;
}

.animate-exit {
    animation: fade-out 0.3s ease-out, scale-out 0.2s ease-out;
}

/* Interactive Elements */
.story-link {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.story-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: hsl(var(--primary));
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.story-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Hover Scale Animation */
.hover-scale {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-scale:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-elegant);
}

/* Enhanced Hover Effects */
.news-card:hover,
.service-card:hover,
.transparency-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-elegant);
}

.news-card:hover .news-image img,
.service-card:hover .service-icon {
    transform: scale(1.02);
}

/* Navigation Animations - Fixed hover effect */
.nav-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background-color: hsl(var(--primary));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before {
    width: 100%;
}

/* Active page indicator */
.nav-link.current-page::before {
    width: 100%;
    background-color: hsl(var(--secondary));
}

/* Stagger Animations for Lists */
.news-grid .news-card:nth-child(1) {
    animation: fade-in 0.5s ease-out 0.1s both;
}

.news-grid .news-card:nth-child(2) {
    animation: fade-in 0.5s ease-out 0.2s both;
}

.news-grid .news-card:nth-child(3) {
    animation: fade-in 0.5s ease-out 0.3s both;
}

.news-grid .news-card:nth-child(4) {
    animation: fade-in 0.5s ease-out 0.4s both;
}

.news-grid .news-card:nth-child(5) {
    animation: fade-in 0.5s ease-out 0.5s both;
}

.news-grid .news-card:nth-child(6) {
    animation: fade-in 0.5s ease-out 0.6s both;
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-animate.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.transition-smooth {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-fast {
    transition: all 0.15s ease;
}

.delay-75 {
    animation-delay: 75ms;
}

.delay-100 {
    animation-delay: 100ms;
}

.delay-150 {
    animation-delay: 150ms;
}

.delay-200 {
    animation-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
}

.delay-500 {
    animation-delay: 500ms;
}

.duration-75 {
    animation-duration: 75ms;
}

.duration-100 {
    animation-duration: 100ms;
}

.duration-150 {
    animation-duration: 150ms;
}

.duration-200 {
    animation-duration: 200ms;
}

.duration-300 {
    animation-duration: 300ms;
}

.duration-500 {
    animation-duration: 500ms;
}

/* Contact Page Styles */
.contact-page {
    padding-top: 8rem;
    background: hsl(var(--background));
}

.page-hero {
    text-align: center;
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: hsl(var(--primary));
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact Info Grid */
.contact-info-section {
    margin-bottom: 4rem;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-info-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-card);
}

.contact-info-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-elegant);
}

.contact-info-card .card-icon {
    width: 60px;
    height: 60px;
    background: hsl(var(--primary) / 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: hsl(var(--primary));
}

.contact-info-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
}

.contact-info-card p {
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.25rem;
}

.contact-info-card strong {
    color: hsl(var(--primary));
    font-weight: 600;
    font-size: 1.1rem;
}

/* Contact Form Section */
.contact-form-section {
    padding: 4rem 0;
    background: hsl(var(--muted) / 0.3);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 3rem;
    box-shadow: var(--shadow-card);
}

.contact-form-card .card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form-card .card-icon {
    width: 60px;
    height: 60px;
    background: hsl(var(--primary) / 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: hsl(var(--primary));
}

.contact-form-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
}

.contact-form-card p {
    color: hsl(var(--muted-foreground));
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid hsl(var(--border));
    border-radius: calc(var(--radius) - 2px);
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 2px hsl(var(--primary) / 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: hsl(var(--muted-foreground));
}

.btn-primary {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border: none;
    padding: 0.875rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-button);
}

.btn-primary:hover {
    background: hsl(var(--primary-hover));
    transform: translateY(-1px);
    box-shadow: var(--shadow-elegant);
}

/* Additional Info Section */
.additional-info-section {
    padding: 4rem 0;
}

.additional-info-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 3rem;
}

.additional-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-card);
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-elegant);
}

.info-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 1rem;
}

.info-card p {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
}

.info-card .small-text {
    font-size: 0.9rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
}

.btn-secondary {
    background: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-secondary:hover {
    background: hsl(var(--secondary-hover));
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-form-card {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .additional-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 2rem 0;
    }

    .page-title {
        font-size: 2rem;
    }

    .contact-form-card {
        padding: 1.5rem;
    }

    .contact-info-card {
        padding: 1.5rem;
    }
}

/* Performance Optimizations */
.animate-fade-in,
.animate-fade-out,
.animate-scale-in,
.animate-scale-out,
.animate-slide-in-right,
.animate-slide-out-right,
.animate-slide-in-left,
.animate-slide-out-left,
.animate-slide-in-up,
.animate-slide-out-down {
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

/* =====================================================
   ESPAÇAMENTO MELHORADO PARA PÁGINAS DE CONTEÚDO
   ===================================================== */

/* Página Quem Somos e páginas gerais de conteúdo */
.page-content,
.entry-content,
.content-area {
    padding: 2rem 0;
}

/* Espaçamento entre seções */
.page-content section,
.entry-content section {
    margin-bottom: 4rem;
}

/* Espaçamento entre títulos e conteúdo */
.page-content h1,
.entry-content h1 {
    margin-top: 3rem;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.page-content h2,
.entry-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.page-content h3,
.entry-content h3 {
    margin-top: 2rem;
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

/* Primeiro título não precisa de margem top */
.page-content h1:first-child,
.entry-content h1:first-child,
.page-content h2:first-child,
.entry-content h2:first-child {
    margin-top: 0;
}

/* Espaçamento entre parágrafos */
.page-content p,
.entry-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Espaçamento para listas */
.page-content ul,
.page-content ol,
.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 0;
    list-style: none;
}

.page-content li,
.entry-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

/* Espaçamento para divider lines */
.page-content hr,
.entry-content hr {
    margin: 3rem 0;
    border: none;
    border-top: 2px solid hsl(var(--border));
}

/* Espaçamento para imagens */
.page-content img,
.entry-content img {
    margin: 2rem 0;
    border-radius: 8px;
}

/* Espaçamento para blockquotes */
.page-content blockquote,
.entry-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-left: 4px solid hsl(var(--primary));
    background: hsl(var(--muted) / 0.3);
    border-radius: 4px;
}

/* Ajuste para mobile */
@media (max-width: 768px) {

    .page-content,
    .entry-content {
        padding: 1rem 0;
    }

    .page-content section,
    .entry-content section {
        margin-bottom: 3rem;
    }

    .page-content h1,
    .entry-content h1 {
        margin-top: 2rem;
        margin-bottom: 1.5rem;
        font-size: 2rem;
    }

    .page-content h2,
    .entry-content h2 {
        margin-top: 2rem;
        margin-bottom: 1.25rem;
        font-size: 1.75rem;
    }

    .page-content h3,
    .entry-content h3 {
        margin-top: 1.5rem;
        margin-bottom: 1rem;
        font-size: 1.5rem;
    }

    .page-content p,
    .entry-content p {
        margin-bottom: 1.25rem;
    }

    .page-content ul,
    .page-content ol,
    .entry-content ul,
    .entry-content ol {
        padding-left: 0;
        list-style: none;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}