:root {
    --primary: #FFD700;
    --secondary: #FF4500;
    --dark: #1A1A1A;
    --light: #FFFFFF;
    --overlay: rgba(0, 0, 0, 0.6);
}

/* Reset Otimizado */
body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    color: var(--light);
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: 
        linear-gradient(var(--overlay), var(--overlay)),
        url('assets/images/IODDS_Beta.png') no-repeat center/cover fixed;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 90%;
    padding: 15px 5%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo img {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

nav a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

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

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 40px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.banner-container {
    --banner-ratio: calc(264 / 850 * 100%);
    width: 75%;
    padding-top: var(--banner-ratio);
    position: relative;
}

.responsive-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-content {
    text-align: center;
    max-width: 600px;
    margin-top: 30px;
}

.hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 15px;
}

/* Botão CTA Corrigido */
.cta-button {
    background: var(--primary);
    color: var(--dark);
    border: none;
    padding: 10px 30px;
    font-size: 1.0rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background: var(--secondary);
    color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Footer Corrigido */
footer {
    margin-top: auto;
    padding: 30px;
    text-align: center;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    color: var(--light);
}

footer p {
    margin: 0;
    font-size: 1rem;
}

/* Animação Pulsante */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Responsividade */
@media (max-width: 768px) {
    header {
        width: 100%;
    }
    
    .banner-container {
        width: 90%;
    }
    
    .hero {
        margin-top: 70px;
        padding: 20px;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

.form-cta {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 20px auto;
}

.form-cta input {
    flex: 1;
    padding: 12px;
    border-radius: 50px;
    border: none;
    min-width: 200px;
}
