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

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

:root {
    --primary-color: #7c9885;
    --primary-dark: #5a877e;
    --primary-light: #a8dadc;
    --secondary-color: #f4a261;
    --accent-color: #7e57c2;
    --brazil-green: #7c9885;
    --brazil-yellow: #f4a261;
    --brazil-blue: #7e57c2;
    --mpb-warm: #ffb3ba;
    --mpb-earth: #d4a574;
    --mpb-ocean: #a8dadc;
    --dark-bg: #1a1d23;
    --light-bg: #2d3142;
    --card-bg: #3d4059;
    --surface-bg: #4d516e;
    --text-primary: #f8f9fa;
    --text-secondary: #e9ecef;
    --text-muted: #adb5bd;
    --border-color: #6c757d;
    --success-color: #a8dadc;
    --warning-color: #f4a261;
    --gradient-1: linear-gradient(135deg, #7c9885 0%, #a8dadc 100%);
    --gradient-2: linear-gradient(135deg, #f4a261 0%, #f6c23e 100%);
    --gradient-3: linear-gradient(135deg, #7e57c2 0%, #a8dadc 100%);
    --gradient-brazil: linear-gradient(135deg, #7c9885 0%, #f4a261 50%, #7e57c2 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.25), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.25);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--dark-bg);
    background-image:
        radial-gradient(circle at 25% 25%, rgba(124, 152, 133, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(244, 162, 97, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(126, 87, 194, 0.03) 0%, transparent 50%);
    color: var(--text-primary);
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: -0.01em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Enhanced Animations */
.menu-header {
    background: rgba(26, 29, 35, 0.9);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(244, 162, 97, 0.3);
    padding: 0;
    box-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-header.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

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

/* Loading animation */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

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

/* Hover effects for cards */
.card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Button animations */
.menu-btn,
.hero-btn {
    position: relative;
    overflow: hidden;
}

.menu-btn::after,
.hero-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.menu-btn:active::after,
.hero-btn:active::after {
    width: 300px;
    height: 300px;
}

/* Stagger animation for features */
@keyframes fadeInUpStagger {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card {
    opacity: 0;
    animation: fadeInUpStagger 0.6s ease-out forwards;
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Intersection Observer for scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ripple effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Loading state */
body:not(.loaded) .animate-on-scroll {
    opacity: 0;
}

body.loaded .animate-on-scroll {
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Professional micro-interactions */
.menu-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    border-color: var(--brazil-yellow);
}

.menu-btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-md);
}

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

.hero-btn:active {
    transform: translateY(0);
}

/* Enhanced card hover */
.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

/* Smooth transitions for all interactive elements */
* {
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-container {
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    height: 72px;
}

.logo {
    margin-right: 30px;
}

.logo a {
    text-decoration: none;
    display: inline-block;
}

.logo img {
    height: 45px;
    width: auto;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.logo a:hover img {
    transform: scale(1.05) translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.menu-nav {
    display: flex;
    gap: 10px;
}

.mobile-menu-btn {
    display: none;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content:hover {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.menu-btn {
    background: var(--gradient-1);
    color: white;
    border: 1px solid rgba(244, 162, 97, 0.2);
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.025em;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    text-transform: none;
}

.menu-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.menu-btn:hover::before {
    left: 100%;
}

.menu-btn:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.dropdown-content {
    display: none;
    position: absolute;
    background: rgba(45, 49, 66, 0.95);
    backdrop-filter: blur(24px);
    min-width: 240px;
    box-shadow: var(--shadow-2xl);
    z-index: 1000;
    border-radius: 12px;
    top: calc(100% + 8px);
    left: 0;
    margin-top: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(244, 162, 97, 0.2);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

.dropdown:hover .dropdown-content {
    pointer-events: auto;
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content .submenu-btn {
    color: var(--text-secondary);
    padding: 16px 24px;
    text-decoration: none;
    display: block;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.025em;
    position: relative;
    border-bottom: 1px solid rgba(74, 103, 65, 0.3);
}

.dropdown-content .submenu-btn::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.dropdown-content .submenu-btn:hover::after {
    width: 100%;
}

.dropdown-content .submenu-btn:hover {
    background: rgba(124, 152, 133, 0.15);
    color: var(--text-primary);
    padding-left: 28px;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-content:hover {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown:hover .menu-btn {
    background: var(--gradient-2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    border-color: var(--brazil-blue);
}

/* Área invisível para manter dropdown aberto (ponte entre botão e menu) */
.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
    z-index: 999;
    pointer-events: none;
}

.dropdown:hover::after {
    pointer-events: auto;
}

.content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 140px 32px 60px;
    min-height: 100vh;
}

/* Estilos da Linha do Tempo */
.timeline-section {
    width: 100%;
}

.timeline-header {
    text-align: center;
    margin-bottom: 20px;
}

.timeline-header h1 {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.thin-line {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 20px 0;
    width: 100%;
}

.cards-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 0;
    scrollbar-width: thin;
    scrollbar-color: #555 #333;
}

.cards-container::-webkit-scrollbar {
    height: 8px;
}

.cards-container::-webkit-scrollbar-track {
    background: #333;
}

.cards-container::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}

.cards-container::-webkit-scrollbar-thumb:hover {
    background: #777;
}

.cards-scroll {
    display: flex;
    gap: 20px;
    padding: 0 20px;
    min-width: fit-content;
}

.card {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: grab;
}

.card:active {
    cursor: grabbing;
}

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

.red-card {
    background-color: #dc3545;
    color: white;
}

.white-card {
    background-color: white;
    color: #333;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-link:hover {
    text-decoration: none;
    color: inherit;
}

.card-link:hover .white-card {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.large-card {
    width: 400px;
    height: 300px;
}

.white-card {
    width: 300px;
    height: 300px;
}

.card-content {
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.red-card .year {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.red-card h2 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
}

.red-card p {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: auto;
}

.red-card .year-bottom {
    font-size: 24px;
    font-weight: bold;
    position: absolute;
    bottom: 30px;
    left: 30px;
}

.white-card h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
}

.white-card p {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 20px;
}

.portraits {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.portrait img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.date {
    font-size: 14px;
    font-weight: bold;
    color: #666;
}

.welcome-message {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(34, 211, 238, 0.1));
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    padding: 60px 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.welcome-message::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(99, 102, 241, 0.1),
            transparent,
            rgba(34, 211, 238, 0.1),
            transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.welcome-message h2 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.welcome-message p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-content {
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(71, 85, 105, 0.4);
    padding: 60px;
    border-radius: 20px;
    box-shadow: var(--shadow-2xl);
}

.page-content h1 {
    color: var(--text-primary);
    margin-bottom: 40px;
    font-size: 40px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.page-content h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.page-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 17px;
    margin-bottom: 28px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 32px;
    background: var(--gradient-brazil);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    font-weight: 400;
    letter-spacing: -0.01em;
    max-width: 680px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-btn {
    padding: 18px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.025em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.hero-btn.primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(244, 162, 97, 0.2);
}

.hero-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.hero-btn.secondary {
    background: rgba(61, 65, 82, 0.8);
    color: var(--text-primary);
    border: 1px solid rgba(126, 87, 194, 0.3);
    backdrop-filter: blur(12px);
}

.hero-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    height: 400px;
    z-index: 5;
}

.floating-cards {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.floating-card {
    position: absolute;
    background: rgba(61, 65, 82, 0.9);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(244, 162, 97, 0.2);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-2xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 160px;
    max-width: 180px;
    z-index: 15;
}

.floating-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 179, 186, 0.3);
    z-index: 25 !important;
}

.card-1 {
    top: 15%;
    left: 8%;
    animation: float1 7s ease-in-out infinite;
    z-index: 18;
    max-width: 180px;
}

.card-2 {
    top: 45%;
    right: 8%;
    animation: float2 8s ease-in-out infinite 1s;
    z-index: 17;
    max-width: 180px;
}

.card-3 {
    bottom: 15%;
    left: 35%;
    animation: float3 6s ease-in-out infinite 2s;
    z-index: 16;
    max-width: 180px;
}

.card-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.floating-card h3 {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

@keyframes float {

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

    50% {
        transform: translateY(-15px);
    }
}

@keyframes float1 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px);
    }

    25% {
        transform: translateY(-10px) translateX(5px);
    }

    50% {
        transform: translateY(-15px) translateX(0px);
    }

    75% {
        transform: translateY(-10px) translateX(-5px);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px);
    }

    25% {
        transform: translateY(-12px) translateX(-5px);
    }

    50% {
        transform: translateY(-18px) translateX(0px);
    }

    75% {
        transform: translateY(-12px) translateX(5px);
    }
}

@keyframes float3 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px);
    }

    25% {
        transform: translateY(-8px) translateX(3px);
    }

    50% {
        transform: translateY(-12px) translateX(0px);
    }

    75% {
        transform: translateY(-8px) translateX(-3px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Features Section */
.features-section {
    padding: 100px 0;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.section-title {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 80px;
    background: var(--gradient-brazil);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(61, 65, 82, 0.9);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(244, 162, 97, 0.3);
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-2xl);
    border-color: rgba(244, 162, 97, 0.5);
}

.feature-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 32px;
    background: var(--gradient-1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(244, 162, 97, 0.2);
}

.feature-card:hover .feature-icon {
    transform: scale(1.08) rotate(3deg);
    box-shadow: var(--shadow-xl);
    background: var(--gradient-2);
}

.feature-card h3 {
    font-size: 26px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Footer */
.footer {
    background: rgba(45, 49, 66, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(244, 162, 97, 0.4);
    margin-top: 100px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 24px 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 20px 24px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        gap: 40px;
    }

    .hero-title {
        font-size: 48px;
    }

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

@media (max-width: 768px) {
    .page-content {
        padding: 25px;
    }

    .page-content h1 {
        font-size: 24px;
    }

    .page-content p {
        font-size: 14px;
    }

    /* Hero Section Mobile */
    .hero-section {
        padding: 60px 0;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

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

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

    .hero-visual {
        height: 300px;
    }

    .floating-card {
        padding: 20px;
        min-width: 120px;
    }

    .card-icon {
        font-size: 36px;
    }

    /* Features Section Mobile */
    .features-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    /* Hero cards mobile - vertical layout */
    .hero-visual {
        height: auto;
        min-height: 300px;
    }

    .floating-cards {
        display: flex;
        flex-direction: column;
        gap: 20px;
        height: auto;
        position: static;
    }

    .floating-card {
        position: static;
        width: 100%;
        padding: 25px;
        animation: none;
        text-align: center;
    }

    .floating-card:hover {
        transform: translateY(-5px);
    }

    .card-1,
    .card-2,
    .card-3 {
        animation: fadeInUp 0.6s ease-out forwards;
    }

    .card-1 {
        animation-delay: 0.1s;
    }

    .card-2 {
        animation-delay: 0.2s;
    }

    .card-3 {
        animation-delay: 0.3s;
    }

    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 20px 20px;
    }
}

/* Tablets */
@media (max-width: 1024px) {
    .menu-container {
        padding: 0 15px;
    }

    .logo {
        margin-right: 20px;
    }

    .logo img {
        height: 40px;
    }

    .menu-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .dropdown-content {
        min-width: 180px;
    }
}

/* Celulares */
@media (max-width: 768px) {
    .menu-header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .content {
        padding: 80px 15px 20px;
    }

    .timeline-header h1 {
        font-size: 18px;
    }

    /* Cards verticais no mobile */
    .cards-container {
        overflow-x: visible;
        overflow-y: visible;
        padding: 20px 0;
    }

    .cards-scroll {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 0;
        min-width: auto;
        width: 100%;
    }

    .large-card {
        width: 100%;
        height: auto;
        min-height: 200px;
    }

    .white-card {
        width: 100%;
        height: auto;
        min-height: 200px;
    }

    .card {
        margin-bottom: 20px;
    }

    .card-content {
        padding: 20px;
    }

    .red-card .year {
        font-size: 16px;
    }

    .red-card h2 {
        font-size: 18px;
    }

    .red-card p {
        font-size: 14px;
    }

    .red-card .year-bottom {
        font-size: 20px;
        bottom: 20px;
        left: 20px;
    }

    .white-card h3 {
        font-size: 16px;
    }

    .white-card p {
        font-size: 13px;
    }

    .portrait img {
        width: 60px;
        height: 80px;
    }

    .date {
        font-size: 12px;
    }

    .menu-container {
        justify-content: space-between;
        padding: 10px 15px;
    }

    .logo {
        margin-right: 0;
        margin-bottom: 0;
    }

    .logo img {
        height: 35px;
    }

    /* Menu Hambúrguer */
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 25px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    .mobile-menu-btn span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: white;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

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

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

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

    .menu-nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #333;
        flex-direction: column;
        width: 100%;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 999;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .menu-nav.active {
        max-height: 80vh;
        overflow-y: auto;
    }

    .dropdown {
        width: 100%;
    }

    .menu-btn {
        padding: 15px 20px;
        font-size: 16px;
        text-align: left;
        justify-content: space-between;
        display: flex;
        align-items: center;
        border-radius: 0;
        border-bottom: 1px solid #444;
        background-color: #555;
    }

    .menu-btn.active-page {
        background-color: #007bff;
        font-weight: bold;
    }

    .menu-btn::after {
        content: '\25B2';
        font-size: 12px;
        margin-left: auto;
        transition: transform 0.3s ease;
    }

    .dropdown.open .menu-btn::after {
        transform: rotate(180deg);
    }

    .dropdown-content {
        position: static;
        margin-top: 0;
        width: 100%;
        min-width: auto;
        box-shadow: none;
        background-color: #444;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown.open .dropdown-content {
        max-height: 500px !important;
        display: block !important;
    }


    .dropdown-content .submenu-btn {
        padding: 15px 30px;
        font-size: 14px;
        border-bottom: 1px solid #555;
        background-color: #444;
    }

    .dropdown-content .submenu-btn:last-child {
        border-bottom: none;
    }

    .dropdown-content .submenu-btn.active-page {
        background-color: #007bff;
        font-weight: bold;
    }

    .content {
        margin: 20px auto;
        padding: 0 15px;
    }

    .welcome-message {
        padding: 20px;
    }

    .welcome-message h2 {
        font-size: 24px;
    }

    .welcome-message p {
        font-size: 14px;
    }
}

/* Celulares pequenos */
@media (max-width: 480px) {
    .menu-container {
        padding: 8px;
    }

    .logo img {
        height: 30px;
    }

    .menu-btn {
        padding: 12px;
        font-size: 14px;
    }

    .dropdown-content .submenu-btn {
        padding: 12px;
        font-size: 13px;
    }

    .welcome-message {
        padding: 15px;
    }

    .welcome-message h2 {
        font-size: 20px;
    }

    /* Cards verticais em celulares pequenos */
    .cards-scroll {
        gap: 15px;
    }

    .large-card,
    .white-card {
        min-height: 180px;
    }

    .card-content {
        padding: 15px;
    }

    .floating-card {
        padding: 20px;
    }

    .card-icon {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .floating-card h3 {
        font-size: 16px;
    }

    /* Features em telas pequenas */
    .feature-card {
        padding: 25px 15px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
    }

    .feature-card h3 {
        font-size: 20px;
    }

    .feature-card p {
        font-size: 14px;
    }
}