@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   CSS VARIABLES & GLOBAL RESETS
   ========================================================================== */
:root {
    --primary: #2563eb;
    --primary-light: #eff6ff;
    --primary-dark: #1e40af;
    --secondary: #f97316;
    --secondary-light: #fff7ed;
    --accent: #10b981;
    --accent-light: #ecfdf5;
    --neutral-light: #f8fafc;
    --neutral-dark: #0f172a;
    --neutral-grey: #64748b;
    --border-color: #e2e8f0;
    --white: #ffffff;
    
    --font-title: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.08);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--neutral-dark);
    background-color: var(--neutral-light);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* ==========================================================================
   LAYOUT STRUCTURE
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
}

/* ==========================================================================
   TYPOGRAPHY & COMPONENT BASICS
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    color: var(--neutral-dark);
    line-height: 1.25;
}

.section-title {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--neutral-grey);
    max-width: 600px;
    margin: 0 auto 50px auto;
    font-size: 1.125rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

.btn-secondary:hover {
    background-color: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.logo-text span {
    color: var(--secondary);
    font-size: 0.875rem;
    display: block;
    font-weight: 500;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1rem;
    color: var(--neutral-dark);
}

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

.nav-cta {
    margin-left: 16px;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-nav-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: var(--neutral-dark);
    border-radius: 3px;
    transition: var(--transition);
}

@media (max-width: 992px) {
    .mobile-nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100px;
        left: 0;
        right: 0;
        background-color: var(--white);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-cta {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-cta .btn {
        width: 100%;
    }
}

/* ==========================================================================
   HERO / BANNER SECTION
   ========================================================================== */
.hero {
    background: radial-gradient(circle at 10% 20%, rgba(239, 246, 255, 0.7) 0%, rgba(255, 255, 255, 1) 90%);
    padding: 100px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    max-width: 540px;
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero-title span {
    color: var(--primary);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--neutral-grey);
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-image-wrapper {
    position: relative;
}

.hero-blob {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(249, 115, 22, 0.15) 100%);
    border-radius: 43% 57% 62% 38% / 45% 48% 52% 55%;
    animation: blobify 8s ease-in-out infinite alternate;
    z-index: 1;
}

.hero-image {
    position: relative;
    z-index: 2;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 6px solid var(--white);
    background-color: #cbd5e1; /* Mockup light grey */
    aspect-ratio: 4/3;
    object-fit: cover;
}

@keyframes blobify {
    0% { border-radius: 43% 57% 62% 38% / 45% 48% 52% 55%; }
    100% { border-radius: 58% 42% 39% 61% / 54% 60% 40% 46%; }
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-tag {
        margin: 0 auto 20px auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
}

/* ==========================================================================
   STATS SECTION (NÚMEROS QUE INSPIRAM)
   ========================================================================== */
.stats {
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-card h3 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card.secondary h3 {
    color: var(--secondary);
}

.stat-card.accent h3 {
    color: var(--accent);
}

.stat-card p {
    font-family: var(--font-title);
    font-weight: 600;
    color: var(--neutral-grey);
    font-size: 1.125rem;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

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

/* ==========================================================================
   SERVICES GRID (CARDS)
   ========================================================================== */
.services-section {
    background-color: var(--neutral-light);
}

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

.service-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 36px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(37, 99, 235, 0.2);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.75rem;
}

.service-card:nth-child(2n) .service-icon-box {
    background-color: var(--secondary-light);
    color: var(--secondary);
}

.service-card:nth-child(3n) .service-icon-box {
    background-color: var(--accent-light);
    color: var(--accent);
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--neutral-grey);
    margin-bottom: 24px;
    font-size: 0.95rem;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
    gap: 6px;
}

.service-link:hover {
    color: var(--primary-dark);
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ==========================================================================
   ABOUT SUMMARY & BIO SECTIONS
   ========================================================================== */
.about-summary {
    background-color: var(--white);
}

.about-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-summary-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    background-color: #cbd5e1;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.about-summary-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-summary-content p {
    color: var(--neutral-grey);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.mvs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.mvs-card {
    background-color: var(--neutral-light);
    border-radius: var(--radius-sm);
    padding: 24px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.mvs-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.mvs-card p {
    font-size: 0.875rem;
    color: var(--neutral-grey);
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .about-summary-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-summary-image {
        order: 2;
    }
}

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

/* ==========================================================================
   TEAM MEMBERS GRIDS
   ========================================================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-image-box {
    aspect-ratio: 1;
    background-color: #e2e8f0;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-grey);
}

.team-avatar-placeholder {
    font-size: 3rem;
}

.team-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 20px;
}

.team-info h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-info p {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.team-info span {
    font-size: 0.85rem;
    color: var(--neutral-grey);
    display: block;
}

@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ==========================================================================
   DEPOIMENTOS (TESTIMONIALS)
   ========================================================================== */
.testimonials {
    background-color: var(--primary-light);
}

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

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 36px;
    box-shadow: var(--shadow-md);
    position: relative;
    border: 1px solid rgba(37, 99, 235, 0.05);
}

.testimonial-quote {
    font-size: 0.975rem;
    color: var(--neutral-grey);
    font-style: italic;
    margin-bottom: 24px;
    position: relative;
}

.testimonial-quote::before {
    content: '“';
    font-family: var(--font-title);
    font-size: 4rem;
    color: rgba(37, 99, 235, 0.1);
    position: absolute;
    top: -30px;
    left: -10px;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.author-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.author-info p {
    font-size: 0.8rem;
    color: var(--neutral-grey);
}

@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ==========================================================================
   NEWS (BLOG) INDEX & DETAIL
   ========================================================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.news-image {
    aspect-ratio: 16/9;
    background-color: #cbd5e1;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    font-size: 0.8rem;
    color: var(--neutral-grey);
    margin-bottom: 12px;
}

.news-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.news-body p {
    color: var(--neutral-grey);
    font-size: 0.925rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.news-card-link {
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* News Detail Page */
.page-header {
    background-color: var(--primary-light);
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
}

.news-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    margin-top: 40px;
}

.news-post-body {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.news-post-img {
    margin-bottom: 30px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background-color: #cbd5e1;
    aspect-ratio: 16/9;
}

.news-post-meta {
    font-size: 0.875rem;
    color: var(--neutral-grey);
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.news-post-content {
    font-size: 1.05rem;
    line-height: 1.75;
}

.news-post-content p {
    margin-bottom: 20px;
}

/* Sidebar */
.sidebar-widget {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 10px;
}

.recent-post-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.recent-post-item:last-child {
    margin-bottom: 0;
}

.recent-post-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 4px;
}

.recent-post-date {
    font-size: 0.775rem;
    color: var(--neutral-grey);
}

@media (max-width: 992px) {
    .news-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ==========================================================================
   TRANSPARENCY PAGE (Prestação de Contas)
   ========================================================================== */
.transparency-category-section {
    margin-bottom: 50px;
}

.transparency-category-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--primary);
    border-left: 4px solid var(--secondary);
    padding-left: 12px;
}

.doc-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.doc-item {
    background-color: var(--white);
    border-radius: var(--radius-sm);
    padding: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.doc-item:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.15);
}

.doc-icon-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.doc-icon {
    font-size: 1.75rem;
    color: #ef4444; /* Vermelho PDF */
}

.doc-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.doc-info p {
    font-size: 0.875rem;
    color: var(--neutral-grey);
}

@media (max-width: 768px) {
    .doc-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .doc-item a {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   CONTACT FORM & INFO (FALE CONOSCO)
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-panel {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.contact-info-panel h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.contact-info-panel p {
    color: var(--neutral-grey);
    margin-bottom: 30px;
}

.contact-method {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.contact-method:nth-child(even) .contact-method-icon {
    background-color: var(--secondary-light);
    color: var(--secondary);
}

.contact-method-text h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-method-text p {
    margin-bottom: 0;
    color: var(--neutral-grey);
    font-size: 0.95rem;
}

/* Form Styling */
.contact-form-panel {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.contact-form-panel h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.alert-success {
    background-color: var(--accent-light);
    color: var(--accent);
    padding: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(16, 185, 129, 0.2);
    margin-bottom: 24px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--neutral-dark);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--neutral-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ==========================================================================
   COLABORE / COMO AJUDAR
   ========================================================================== */
.colabore-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
}

.donation-options {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.donation-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 36px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 24px;
}

.donation-icon-box {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.donation-card:nth-child(2) .donation-icon-box {
    background-color: var(--secondary-light);
    color: var(--secondary);
}

.donation-card:nth-child(3) .donation-icon-box {
    background-color: var(--accent-light);
    color: var(--accent);
}

.donation-details h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.donation-details p {
    color: var(--neutral-grey);
    margin-bottom: 16px;
}

.donation-details ul {
    list-style: disc;
    margin-left: 20px;
    color: var(--neutral-grey);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.pix-box {
    background-color: var(--neutral-light);
    border: 2px dashed var(--primary);
    border-radius: var(--radius-sm);
    padding: 24px;
    text-align: center;
    margin-top: 20px;
}

.pix-key-display {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--neutral-dark);
    margin: 12px 0;
    letter-spacing: 0.5px;
}

.copy-pix-btn {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-family: var(--font-title);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.copy-pix-btn:hover {
    background-color: var(--primary-dark);
}

.copy-pix-btn.copied {
    background-color: var(--accent);
}

@media (max-width: 992px) {
    .colabore-grid {
        grid-template-columns: 1fr;
    }
    
    .donation-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: #0f172a; /* Slate 900 */
    color: #cbd5e1; /* Slate 300 */
    padding: 80px 0 30px 0;
    border-top: 4px solid var(--secondary);
}

.footer h3 {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-text {
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--white);
}

.footer-logo-text span {
    color: var(--secondary);
    font-size: 0.8rem;
    display: block;
    font-weight: 500;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    font-size: 0.9rem;
}

.footer-links-list a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.footer-contact-list i {
    color: var(--secondary);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icon-link {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

/* ==========================================================================
   CALL TO ACTION (CTA) SECTION
   ========================================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 36px auto;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

@media (max-width: 576px) {
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    .cta-actions .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ==========================================================================
   ICONS PLACEHOLDERS
   ========================================================================== */
/* Usando CSS puro para renderizar ícones básicos inline, sem depender de FontAwesome externa */
.icon-svg {
    display: inline-block;
    width: 1em;
    height: 1em;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
}

/* ==========================================================================
   ACCESSIBILITY BAR (BARRA DE ACESSIBILIDADE)
   ========================================================================== */
.accessibility-bar {
    background-color: #0f172a;
    color: #94a3b8;
    font-size: 0.8rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1001;
}

.accessibility-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
}

.accessibility-text {
    font-family: var(--font-title);
    font-weight: 600;
}

.access-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-family: var(--font-title);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.access-btn:hover {
    color: #ffffff;
}

/* ==========================================================================
   HIGH CONTRAST MODE (ALTO CONTRASTE - LGPD/ACESSIBILIDADE)
   ========================================================================== */
body.high-contrast {
    background-color: #000000 !important;
    color: #ffffff !important;
}

body.high-contrast h1, 
body.high-contrast h2, 
body.high-contrast h3, 
body.high-contrast h4, 
body.high-contrast h5, 
body.high-contrast h6,
body.high-contrast p,
body.high-contrast span,
body.high-contrast a,
body.high-contrast li {
    color: #ffffff !important;
}

body.high-contrast a {
    text-decoration: underline !important;
}

body.high-contrast .header,
body.high-contrast .footer,
body.high-contrast .card,
body.high-contrast .service-card,
body.high-contrast .contact-info-panel,
body.high-contrast .contact-form-panel,
body.high-contrast .donation-card,
body.high-contrast .testimonial-card,
body.high-contrast .news-card,
body.high-contrast .news-post-body,
body.high-contrast .sidebar-widget,
body.high-contrast .doc-item,
body.high-contrast .mvs-card,
body.high-contrast .pix-box,
body.high-contrast .pix-qr-container {
    background-color: #000000 !important;
    border: 2px solid #ffffff !important;
    box-shadow: none !important;
    color: #ffffff !important;
}

body.high-contrast .service-icon-box,
body.high-contrast .contact-method-icon,
body.high-contrast .donation-icon-box {
    background-color: #ffffff !important;
    color: #000000 !important;
}

body.high-contrast .btn,
body.high-contrast .copy-pix-btn {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #ffffff !important;
    font-weight: 800 !important;
}

body.high-contrast .btn:hover,
body.high-contrast .copy-pix-btn:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
}

body.high-contrast .accessibility-bar {
    background-color: #000000 !important;
    border-bottom: 2px solid #ffffff !important;
}

body.high-contrast .access-btn {
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
}

/* ==========================================================================
   COOKIE CONSENT BANNER (LGPD COOKIES)
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: -150px;
    left: 0;
    right: 0;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    border-top: 2px solid var(--secondary);
    padding: 20px 0;
    z-index: 9999;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.visible {
    bottom: 0;
}

.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-container p {
    font-size: 0.9rem;
    margin-bottom: 0;
    max-width: 80%;
}

@media (max-width: 768px) {
    .cookie-container {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-container p {
        max-width: 100%;
    }
    
    .cookie-container button {
        width: 100%;
        margin-top: 10px;
    }
}

/* ==========================================================================
   PIX QR CODE STYLING
   ========================================================================== */
.pix-qr-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    background-color: var(--neutral-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    margin-top: 30px;
}

.pix-qr-code {
    width: 150px;
    height: 150px;
    border: 4px solid var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    background-color: var(--white);
}

.pix-qr-info {
    flex-grow: 1;
}

@media (max-width: 576px) {
    .pix-qr-container {
        flex-direction: column;
        text-align: center;
    }
}
