:root {
    --primary: #003366; /* Azul Sergipe */
    --secondary: #009933; /* Verde Sergipe */
    --accent: #FFCC00; /* Amarelo Sergipe */
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --bg-light: #f4f7f6;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Outfit', 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Styles */
header {
    background: var(--white);
    padding: 1.25rem 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-subtle);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--secondary);
}

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

.header-logo {
    height: 100px;
    width: auto;
    display: block;
}

/* Hero Section */
.hero {
    padding: 4rem 5% 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, #004a8e 100%);
    color: var(--text-light);
    border-radius: 0 0 50px 50px;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Card Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

/* Card Styles - Inspired by Vendedor Vencedor */
.program-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
}

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

.card-image-wrapper {
    height: 240px;
    overflow: hidden;
    position: relative;
}

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

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

.card-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(255, 204, 0, 0.3);
}

.card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-emoji {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.card-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.card-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
}

.card-action span {
    transition: var(--transition);
}

.program-card:hover .card-action span {
    transform: translateX(5px);
}

/* Footer */
footer {
    text-align: center;
    padding: 4rem 5%;
    margin-top: 4rem;
    color: #888;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-logo {
    margin-bottom: 1rem;
    opacity: 0.6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.program-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.25rem;
    }
    .container {
        grid-template-columns: 1fr;
    }
}
