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

:root {
    --primary-blue: #00a8e1;
    --dark-blue: #0086b3;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #333;
    --text-dark: #2c3e50;
    --text-light: #5a6c7d;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header e Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 4px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px 1.5rem 20px;
}

/* Logo */
.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.85;
}

.logo-image {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.logo .tagline {
    font-size: 1.05rem;
    color: var(--text-dark);
    font-style: italic;
    font-weight: 500;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a.lang-switch {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    border-radius: 4px;
    font-size: 0.9rem;
}

.nav-links a.lang-switch:hover {
    opacity: 0.9;
    color: var(--white);
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.75rem;
    z-index: 1001;
    line-height: 1;
}

.mobile-menu-toggle:hover {
    color: var(--primary-blue);
}

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

.mobile-menu-overlay.active {
    opacity: 1;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    padding: 4rem 0;
}

.hero-content h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.hero-content .intro {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    display: inline-block;
}

.stat-plus {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-blue);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Sections */
section {
    padding: 4rem 0;
}

section h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

/* Focus Areas */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.area-card {
    padding: 1.5rem;
    background-color: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.area-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    display: block;
    transition: all 0.4s ease;
}

.area-card:hover .area-icon {
    transform: scale(1.1) rotate(5deg);
}

.area-card:hover .area-icon path {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: draw 0.8s ease forwards;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

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

.area-card h4 {
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.area-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Projects Preview */
.projects-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.project-card h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.project-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.link-arrow {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.3s;
}

.link-arrow:hover {
    color: var(--dark-blue);
}

/* Manifesto Teaser Section */
.manifesto-teaser {
    background-color: var(--light-gray);
    padding: 4rem 0;
}

.teaser-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.teaser-content p {
    font-size: 1.15rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.btn-secondary {
    display: inline-block;
    padding: 0.875rem 2rem;
    background-color: transparent;
    color: var(--primary-blue);
    text-decoration: none;
    border: 2px solid var(--primary-blue);
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 0.875rem 2rem;
    background-color: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
}

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

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

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--medium-gray);
    line-height: 1.8;
}

.footer-section a {
    color: var(--medium-gray);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        box-shadow: -2px 0 10px var(--shadow);
        transition: right 0.3s ease;
        z-index: 1000;
        gap: 1.5rem;
    }

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

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--light-gray);
    }

    .nav-links a.lang-switch {
        margin-top: 1rem;
        text-align: center;
    }

    header nav {
        padding: 1rem 20px;
    }

    .logo {
        gap: 0.25rem;
        max-width: calc(100% - 60px);
    }

    .mobile-menu-toggle {
        position: fixed !important;
        right: 15px !important;
        top: 20px !important;
        transform: none !important;
        display: block !important;
        background-color: var(--white);
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        border-radius: 4px;
    }

    .logo-image {
        height: 50px;
    }

    .logo .tagline {
        font-size: 0.85rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content .intro {
        font-size: 1.1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .areas-grid,
    .projects-preview {
        grid-template-columns: 1fr;
    }

    section h3 {
        font-size: 1.75rem;
    }
}

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

    section {
        padding: 2rem 0;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .area-card,
    .project-card {
        padding: 1.25rem;
    }
}
