@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Work+Sans:wght@400;500;600&display=swap');

:root {
    --color-bg: #f8f9fa;
    --color-primary: #2c5aa0;
    --color-primary-dark: #1a3a66;
    --color-secondary: #f39c12;
    --color-accent: #ffc107;
    --color-success: #27ae60;
    --color-text: #2c3e50;
    --color-muted: #7f8c8d;
    --color-card: #ffffff;
    --color-border: rgba(44, 90, 160, 0.1);
    --gradient-hero: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    --gradient-primary: linear-gradient(135deg, #2c5aa0 0%, #1a3a66 100%);
    --shadow-card: 0 10px 30px rgba(44, 90, 160, 0.12);
    --shadow-hover: 0 15px 40px rgba(44, 90, 160, 0.18);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Work Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--color-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.container {
    width: 100%;
    max-width: 1400px;
    padding-left: clamp(1.5rem, 4vw, 2.5rem);
    padding-right: clamp(1.5rem, 4vw, 2.5rem);
    margin: 0 auto;
}

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 2px solid var(--color-secondary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 80px;
    width: auto;
    border-radius: 0;
    aspect-ratio: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    font-weight: 500;
    color: var(--color-text);
    flex: 1;
    justify-content: center;
}

.nav-links a {
    transition: color 0.3s ease;
    color: var(--color-text);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-secondary);
    font-weight: 600;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
}

.btn-doar {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    background: var(--color-secondary);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-doar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
    color: #fff;
    background: #e67e22;
}

.btn-doar svg {
    flex-shrink: 0;
}

.btn-parceiros {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-parceiros:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.4);
    color: #fff;
    background: var(--color-primary-dark);
}

.cta-btn {
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 15px 30px rgba(0, 107, 124, 0.3);
    transition: transform 0.2s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
}

.banner-slider {
    position: relative;
    width: 100vw;
    height: 550px;
    overflow: hidden;
    background: var(--gradient-hero);
    margin-bottom: 4rem;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    border-radius: 0;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.slide-content {
    text-align: center;
    color: #fff;
    max-width: 1000px;
    padding: 3rem 2rem;
    position: relative;
    z-index: 2;
}

.slide-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.2rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    font-weight: 800;
    letter-spacing: -1px;
}

.slide-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.98;
    font-weight: 500;
    line-height: 1.6;
}

.slide-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: #fff;
    color: var(--color-secondary);
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.slide-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 50px rgba(0,0,0,0.4);
    color: var(--color-secondary);
    background: #f5f5f5;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    transform: translateY(-50%);
    pointer-events: none;
}

.slider-prev,
.slider-next {
    pointer-events: all;
    background: rgba(255,255,255,0.3);
    border: none;
    color: #fff;
    font-size: 3rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255,255,255,0.5);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active,
.dot:hover {
    background: #fff;
}

.hero {
    padding: 5rem 0 4rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-card {
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 24px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(44, 90, 160, 0.25);
}

.hero-card h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero-card p {
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 45ch;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-card::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    filter: blur(2px);
}

.hero-stats {
    display: grid;
    gap: 1.8rem;
}

.stat-card {
    background: var(--color-card);
    border-radius: 18px;
    padding: 2.2rem;
    box-shadow: 0 8px 24px rgba(44, 90, 160, 0.1);
    border-left: 6px solid var(--color-secondary);
    transition: all 0.3s ease;
}

.stat-card:hover {
    box-shadow: 0 16px 40px rgba(44, 90, 160, 0.15);
    transform: translateY(-6px);
}

.stat-card strong {
    font-size: 3rem;
    font-family: 'Space Grotesk', sans-serif;
    display: block;
    color: var(--color-secondary);
    margin-bottom: 0.8rem;
    font-weight: 800;
}

.stat-card span {
    color: var(--color-muted);
    font-size: 0.98rem;
    line-height: 1.6;
    font-weight: 500;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 5rem 0 3rem;
    padding-bottom: 1.8rem;
    border-bottom: 4px solid var(--color-secondary);
}

.section-title h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    margin: 0;
    color: var(--color-text);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-title a {
    color: var(--color-secondary);
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.section-title a:hover {
    color: var(--color-primary);
    transform: translateX(4px);
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.post-card {
    background: var(--color-card);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(44, 90, 160, 0.08);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    border-color: var(--color-secondary);
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(44, 90, 160, 0.15);
}

.post-card img {
    width: 100%;
    border-radius: 0;
    height: 240px;
    object-fit: cover;
    margin-bottom: 0;
    transition: transform 0.35s ease;
}

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

.post-card .category {
    display: inline-flex;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    background: rgba(243, 156, 18, 0.15);
    color: var(--color-secondary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 1.4rem 1.4rem 0 1.4rem;
    width: fit-content;
    letter-spacing: 0.5px;
}

.post-card h3 {
    font-size: 1.4rem;
    margin: 1rem 1.4rem 0.6rem;
    color: var(--color-text);
    font-weight: 700;
    line-height: 1.4;
}

.post-card p {
    margin: 0 1.4rem 1.2rem;
    color: var(--color-muted);
    line-height: 1.7;
    flex-grow: 1;
    font-size: 0.98rem;
}

.post-card time {
    display: block;
    margin: 0 1.4rem 1.4rem;
    color: var(--color-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.tag-pill {
    font-size: 0.85rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.blog-hero {
    background: var(--color-card);
    border-radius: 28px;
    padding: 2.5rem;
    margin: 3rem 0;
    box-shadow: var(--shadow-card);
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.filter-chip {
    border: 1px solid var(--color-border);
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    font-weight: 500;
    color: var(--color-muted);
}

.filter-chip.active {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(0, 107, 124, 0.08);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin: 2rem 0 4rem;
}

.pagination a,
.pagination span {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: 600;
    border: 1px solid var(--color-border);
    background: #fff;
}

.pagination .active {
    border-color: var(--color-primary);
    color: #fff;
    background: var(--color-primary);
}

.post-hero {
    background: var(--color-card);
    padding: 3rem;
    border-radius: 32px;
    box-shadow: var(--shadow-card);
    margin: 3rem 0;
}

.post-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 3.8vw, 3rem);
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    color: var(--color-muted);
    margin: 1.5rem 0;
}

.post-cover {
    border-radius: 24px;
    overflow: hidden;
    margin: 2rem 0;
}

.post-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text);
}

.post-content h2, .post-content h3 {
    font-family: 'Space Grotesk', sans-serif;
}

.footer {
    background: var(--gradient-primary);
    color: rgba(255, 255, 255, 0.95);
    margin-top: 6rem;
    padding: 5rem 0 2.5rem;
}

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

.footer-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 800;
}

.footer p {
    margin: 0.6rem 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-size: 0.98rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer a:hover {
    color: var(--color-secondary);
    transform: translateX(2px);
}

.page-hero {
    background: var(--gradient-primary);
    color: #fff;
    padding: 5rem 0;
    text-align: center;
    margin-bottom: 4rem;
    border-radius: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.page-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.2rem, 6vw, 4rem);
    margin-bottom: 0.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.page-hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 500;
}

.page-content {
    margin: 3rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.content-main h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    color: var(--color-text);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.content-main p {
    color: var(--color-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.values-list li {
    padding: 1rem;
    margin-bottom: 0.8rem;
    background: var(--color-card);
    border-left: 5px solid var(--color-secondary);
    border-radius: 8px;
    color: var(--color-text);
    line-height: 1.6;
}

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

.service-card {
    background: var(--color-card);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    border-top: 4px solid var(--color-secondary);
}

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

.service-card h3 {
    color: var(--color-text);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.service-card p {
    color: var(--color-muted);
    line-height: 1.6;
    margin: 0;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.impact-item {
    background: var(--gradient-hero);
    color: #fff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.impact-item strong {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

.impact-item span {
    display: block;
    font-size: 0.95rem;
    opacity: 0.95;
}

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

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        flex: none;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
    }

    .hero-card, .blog-hero, .post-hero {
        padding: 2rem;
    }

    .post-card img {
        height: 180px;
    }

    .section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

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

    .banner-slider {
        height: 450px;
    }

    .slide-content h2 {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
    
    .slide-btn {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }
}

/* Menu Hamburguer Mobile */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

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

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

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

    .navbar {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 1rem;
        align-items: center;
    }

    .logo {
        grid-column: 1;
        grid-row: 1;
    }

    .mobile-menu-toggle {
        grid-column: 2;
        grid-row: 1;
    }

    .header-actions {
        grid-column: 1 / -1;
        grid-row: 2;
        flex-direction: row;
        width: 100%;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 6rem 2rem 2rem 2rem;
        gap: 0.5rem;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        align-items: flex-start;
        justify-content: flex-start;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        width: 100%;
        padding: 1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        text-decoration: none;
        color: var(--color-text);
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: var(--color-bg);
        color: var(--color-primary);
    }

    /* Prevenir scroll horizontal em mobile */
    body {
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    html {
        overflow-x: hidden;
        overflow-y: auto;
    }

    /* Garantir que o conteúdo não estique horizontalmente */
    .container {
        max-width: 100%;
        overflow-x: hidden;
    }

    .logo-img {
        height: 60px;
    }
}

/* Dropdown Menu - Adicionado para corrigir o menu */
.dropdown {
    position: relative;
}

.dropdown > a::after {
    content: ' ▼';
    font-size: 0.8em;
    margin-left: 0.3rem;
    transition: transform 0.3s ease;
}

.dropdown:hover > a::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

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

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--color-text);
    text-decoration: none;
    border-bottom: 1px solid rgba(44, 90, 160, 0.05);
    transition: all 0.3s ease;
}

.dropdown-menu a:first-child {
    border-radius: 12px 12px 0 0;
}

.dropdown-menu a:last-child {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
}

.dropdown-menu a:hover {
    background: var(--color-bg);
    color: var(--color-primary);
    padding-left: 2rem;
}

@media (max-width: 968px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        margin: 0.5rem 0 0 0;
        min-width: auto;
    }
    
    .dropdown-menu a {
        padding: 0.8rem 1rem;
        background: rgba(44, 90, 160, 0.05);
        margin-bottom: 0.3rem;
        border-radius: 8px;
        border: none;
    }
    
    .dropdown-menu a:hover {
        background: var(--color-bg);
        padding-left: 1rem;
    }
    
    .dropdown > a::after {
        display: none;
    }
}

/* Overlay para menu mobile */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* Botão Voltar ao Topo */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(44, 90, 160, 0.4);
}

/* Projetos Showcase - Página Inicial */
.projects-showcase {
    padding: 4rem 0;
    background: var(--color-bg);
}

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

.project-showcase-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
}

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

.project-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.project-showcase-card h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-family: 'Space Grotesk', sans-serif;
}

.project-showcase-card p {
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.project-impact {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.project-impact span {
    background: var(--color-bg);
    color: var(--color-muted);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* Testemunhos */
.testimonials {
    padding: 4rem 0;
    background: white;
}

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

.testimonial-card {
    background: var(--color-card);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

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

.testimonial-card.placeholder {
    text-align: center;
    border: 2px dashed var(--color-border);
    background: var(--color-bg);
}

.testimonial-content {
    text-align: center;
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.testimonial-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.testimonial-content p {
    color: var(--color-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.btn-share-story {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--color-secondary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-share-story:hover {
    background: #e67e22;
    transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    margin: 4rem 0;
}

.cta-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 1rem 2rem;
    background: var(--color-secondary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #e67e22;
    transform: translateY(-2px);
}

.btn-secondary {
    padding: 1rem 2rem;
    background: white;
    color: var(--color-primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--color-bg);
    transform: translateY(-2px);
}

.btn-outline {
    padding: 1rem 2rem;
    background: transparent;
    color: white;
    text-decoration: none;
    border: 2px solid white;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .project-showcase-card {
        padding: 2rem;
    }
}

/* Projetos Transformadores - Estilos restaurados */
.project-hero {
    background: var(--gradient-primary);
    color: #fff;
    padding: 5rem 0;
    text-align: center;
    margin-bottom: 4rem;
}

.project-hero-content h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.project-hero-content p {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 500;
}

.project-content {
    margin: 3rem 0;
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.project-text {
    max-width: 800px;
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 2rem;
}

.project-description h2,
.project-description h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--color-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.project-description p {
    margin-bottom: 1.5rem;
}

.project-description ul,
.project-description ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.project-description li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.project-cta {
    margin-top: 2rem;
}

.btn-project {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--color-secondary);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    transition: all 0.3s ease;
}

.btn-project:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
    color: #fff;
}

.project-stats {
    background: var(--color-card);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-card);
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--color-bg);
    border-radius: 12px;
    border-left: 4px solid var(--color-secondary);
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--color-muted);
    font-weight: 500;
}

.project-gallery {
    margin-top: 3rem;
}

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

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
}

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

@media (max-width: 768px) {
    .project-hero {
        padding: 3rem 0;
    }
    
    .project-grid {
        gap: 2rem;
    }
    
    .project-stats {
        padding: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }
}

/* Aviso de Cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    border-top: 3px solid var(--color-primary);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
}

.cookie-text h3 {
    margin: 0 0 0.5rem 0;
    color: var(--color-text);
    font-size: 1.1rem;
    font-weight: 700;
}

.cookie-text p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-text a {
    color: var(--color-primary);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(44, 90, 160, 0.4);
}

.cookie-btn-decline {
    background: #f3f4f6;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.cookie-btn-decline:hover {
    background: #e5e7eb;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .cookie-actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        text-align: center;
    }

    .cookie-banner {
        padding: 1.5rem 1rem;
    }
}
