img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

:root {
    --bg-color: #0A0A0A;
    --card-bg: #1A1A1A;
    --primary-color: #FFD700;
    /* Gold */
    --secondary-color: #E63946;
    /* Red */
    --text-color: #F5F5F5;
    --text-muted: #A0A0A0;
    --glass-bg: rgba(26, 26, 26, 0.8);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    padding: 10px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-text p {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: -5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links.active {
    display: flex !important;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.8rem;
    transition: var(--transition);
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
#hero {
    min-height: 90vh;
    background: url('img/hero-bg.png') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 0 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.3) 0%, rgba(10, 10, 10, 0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-logo-box {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.hero-main-logo {
    width: 100%;
    max-width: 450px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.2));
    transition: var(--transition);
}

.hero-main-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.4));
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.selection-title {
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: #fff;
    opacity: 0.8;
}

.cta-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn.main-cta {
    padding: 25px 30px;
    border-radius: 20px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
    width: 100%;
    max-width: 400px;
    border: 3px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000;
}

.btn-primary:hover {
    background-color: #fff;
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-secondary:hover {
    background-color: #ff4d5a;
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(230, 57, 70, 0.4);
}

.btn-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.btn-sub {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 15px;
}

.btn-action {
    background: rgba(0, 0, 0, 0.1);
    padding: 5px 15px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* Unidades Section */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    text-transform: uppercase;
}

.unidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.unidade-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: var(--transition);
}

.unidade-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.unidade-card h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.unidade-tag {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.unidade-address {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    min-height: 60px;
}

.map-link-container {
    margin-bottom: 30px;
}

.map-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 2px;
    transition: var(--transition);
}

.map-link:hover {
    color: var(--secondary-color);
}

.unidade-info-extra {
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.05);
}

.unidade-info-extra p {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 500;
}

.unidade-info-extra p:last-child {
    margin-bottom: 0;
}

.phone-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.phone-link:hover {
    text-decoration: underline;
    color: #fff;
}

.unidade-btn-small {
    display: block;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: var(--transition);
}

.unidade-btn-small:hover {
    background: var(--primary-color);
    color: #000;
}

/* Horarios Section */
#horarios {
    background: #050505;
}

.horarios-box {
    background: var(--card-bg);
    padding: 60px 40px;
    border-radius: 30px;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.horarios-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 40px;
}

.horario-item {
    text-align: center;
}

.horario-item h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.horario-item p {
    color: var(--text-muted);
}

.time {
    font-weight: 900;
    font-size: 1.4rem !important;
    color: #fff !important;
    margin-top: 5px;
}

.divider {
    width: 2px;
    height: 100px;
    background: rgba(255, 215, 0, 0.2);
}

/* Bordas Info */
.info-highlight {
    text-align: center;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    padding: 20px;
    border-radius: 10px;
}

.info-highlight p {
    font-weight: 700;
    color: var(--primary-color);
}

/* Footer */
footer {
    padding: 60px 0 30px;
    background: #000;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 20px;
}

.credit {
    margin-top: 10px;
    font-size: 0.75rem;
}

.credit a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.credit a:hover {
    color: var(--secondary-color);
}

.footer-btn {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 5px 15px;
}

.footer-btn:hover {
    color: #fff;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.animate-fade-in-delay {
    animation: fadeIn 0.8s ease 0.2s forwards;
    opacity: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .logo-img {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .horarios-content {
        flex-direction: column;
        text-align: center;
    }

    .divider {
        width: 80%;
        height: 2px;
    }

    .btn.main-cta {
        width: 100%;
        min-width: auto;
        padding: 20px;
    }

    .hero-main-logo {
        max-width: 280px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .section-title {
        font-size: 1.5rem;
        letter-spacing: 0;
    }

    .unidade-card {
        padding: 25px 15px;
    }

    .horarios-box {
        padding: 30px 15px;
        width: 100%;
        border-radius: 15px;
    }

    .time {
        font-size: 1.2rem !important;
    }

    .logo-text h1 {
        font-size: 1.2rem;
    }
}