/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variáveis CSS - Design System */
:root {
    /* Cores principais */
    --education-primary: hsl(41, 100%, 56%);
    --education-secondary: hsl(22, 100%, 45%);
    --education-accent: hsl(45, 100%, 65%);
    
    /* Footer específico */
    --footer-bg: hsl(0, 0%, 21%);
    --footer-bg-light: hsl(220, 2%, 29%);
    --footer-text: hsl(204, 12%, 92%);
    --footer-text-muted: hsl(210, 14%, 80%);
    --footer-border: hsl(29, 78%, 49%);
    
    /* Gradientes */
    --gradient-footer: linear-gradient(135deg, var(--footer-bg), var(--footer-bg-light));
    --gradient-accent: linear-gradient(45deg, var(--education-primary), var(--education-secondary));
    
    /* Sombras */
    --shadow-footer: 0 -10px 40px -10px hsl(220, 26%, 10%, 0.3);
    --shadow-card: 0 8px 32px -8px hsl(220, 26%, 10%, 0.2);
    
    /* Transições */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--footer-bg);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-footer);
}

.footer-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-footer);
}

.footer-top-shadow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--footer-border), transparent);
}

.footer-container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Contact Information */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-title {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--footer-text);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-line {
    width: 5px;
    height: 48px;
    background: linear-gradient(to bottom, var(--education-primary), var(--education-secondary));
    border-radius: 2px;
}

.brand-line2 {
    width: 40px;
    height: 6px;
    background-color: var(--education-primary);
    
}

.contact-sections {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-subtitle {
    font-weight: 600;
    color: var(--footer-text);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-text {
    color: var(--footer-text-muted);
    line-height: 1.6;
    padding-left: 1.5rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--footer-text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
    padding: 0.25rem 0;
}

.contact-link:hover {
    color: var(--education-primary);
}

.contact-link:hover .icon {
    transform: scale(1.1);
}

/* Icons */
.icon {
    width: 16px;
    height: 16px;
    transition: var(--transition-smooth);
}

.icon-primary {
    color: var(--education-primary);
}

.icon-small {
    width: 12px;
    height: 12px;
    color: var(--footer-text-muted);
}

/* Social Media */
.social-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--footer-bg-light);
    color: var(--footer-text-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
}

.social-link:hover {
    background: var(--education-primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 25px -8px var(--education-primary);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Map Section */
.footer-map-section {
    padding-left: 0;
}

@media (min-width: 1024px) {
    .footer-map-section {
        padding-left: 2rem;
    }
}

.map-title {
    font-weight: 600;
    color: var(--footer-text);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--footer-border);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.map-container:hover {
    box-shadow: 0 12px 40px -12px hsl(220, 26%, 10%, 0.4);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border: 1px solid var(--footer-border);
    border-radius: 12px;
}

/* Bottom Bar */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--footer-border);
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.copyright {
    color: var(--footer-text-muted);
    font-size: 0.875rem;
}

.footer-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--footer-text-muted);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.scale-in {
    animation: scaleIn 0.4s ease-out;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .footer-container {
        padding: 2rem 1rem;
    }
    
    .footer-grid {
        gap: 2rem;
    }
    
    .social-links {
        flex-wrap: wrap;
    }
    
    .map-container iframe {
        height: 250px;
    }
}