/* ==========================================
   LOCALIZACAO.CSS - ESTILOS DA PÁGINA DE LOCALIZAÇÃO
   ========================================== */

/* ==========================================
   RESET E BASE - GARANTIR SCROLL VERTICAL
   ========================================== */
html,
body {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
    min-height: 100vh !important;
    background: #0A0A0A;
}

/* Header fixo - não sobrescrever o do home.css */
.header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    height: 68px !important;
    background: rgba(10, 10, 10, 0.92) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 0 24px !important;
}

.header .container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 50px;
    width: auto;
}

/* Menu Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ==========================================
   MAIN - ESPAÇO PARA O HEADER FIXO
   ========================================== */
main {
    padding-top: 68px !important;
    min-height: 100vh !important;
    display: block !important;
}

/* ==========================================
   PAGE HERO
   ========================================== */
.page-hero {
    position: relative;
    height: 50vh !important;
    min-height: 350px !important;
    max-height: 450px !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
    padding: 0 !important;
}

.page-hero-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.page-hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) saturate(0.8);
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
                rgba(10, 10, 10, 0.4) 0%, 
                rgba(10, 10, 10, 0.8) 100%);
    z-index: 2;
}

.page-hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 20px 0 !important;
}

.page-hero-content h1 {
    font-size: clamp(2rem, 4vw, 3.5rem) !important;
    margin-bottom: 8px !important;
}

.page-hero-content .hero-subtitle {
    font-size: var(--font-size-lg) !important;
    max-width: 600px;
    color: var(--color-text-secondary);
}

/* ==========================================
   BREADCRUMB
   ========================================== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-sm);
    color: var(--color-text-tertiary);
    margin-bottom: 10px !important;
    padding-top: 10px !important;
}

.breadcrumb a {
    color: var(--color-text-secondary);
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--color-primary);
}

.breadcrumb .separator {
    color: var(--color-border);
}

.breadcrumb .current {
    color: var(--color-text-primary);
}

/* ==========================================
   MAPA FULLSCREEN
   ========================================== */
.map-section {
    padding: 0;
}

.map-fullscreen {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
}

.map-fullscreen iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.map-overlay-info {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 24px;
    max-width: 90%;
    width: auto;
}

.map-pin {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pin-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.pin-content strong {
    display: block;
    font-size: 14px;
    color: #fff;
}

.pin-content p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin: 2px 0;
}

/* ==========================================
   INFORMAÇÕES DE LOCALIZAÇÃO
   ========================================== */
.location-info {
    padding: 60px 0 !important;
    background: var(--color-bg-primary);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.section-header .tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    background: rgba(255, 193, 7, 0.1);
    padding: 4px 16px;
    border-radius: 9999px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 8px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.info-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 107, 0, 0.15);
    transform: translateY(-4px);
}

.info-icon {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
}

.info-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.info-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.info-card .info-detail {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 8px;
}

.schedule {
    margin-top: 8px;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.schedule-item .day {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.schedule-item .time {
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
}

.contact-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

/* ==========================================
   ROTAS
   ========================================== */
.how-to-get {
    padding: 60px 0 !important;
    background: var(--color-bg-secondary);
}

.routes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.route-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.route-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 107, 0, 0.15);
}

.route-icon {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
}

.route-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.route-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.route-list li {
    display: flex;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.route-list li:last-child {
    border-bottom: none;
}

.route-label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    min-width: 80px;
    flex-shrink: 0;
}

.route-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* ==========================================
   PONTOS DE REFERÊNCIA
   ========================================== */
.landmarks {
    padding: 60px 0 !important;
    background: var(--color-bg-primary);
}

.landmarks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.landmark-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.landmark-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 107, 0, 0.15);
    transform: translateY(-2px);
}

.landmark-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.landmark-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.landmark-card p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* ==========================================
   GALERIA
   ========================================== */
.unit-gallery {
    padding: 60px 0 !important;
    background: var(--color-bg-secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay span {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 16px;
    border-radius: 50px;
}

/* ==========================================
   CTA FINAL
   ========================================== */
.cta-final {
    padding: 60px 0 !important;
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-family-display);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: var(--font-size-lg);
    margin-bottom: 24px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* ==========================================
   BOTÕES
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #FF6B00, #FF8C38);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    border-color: #FF6B00;
    color: #FF6B00;
}

.btn-sm {
    padding: 6px 16px;
    font-size: 0.75rem;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: 48px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: 16px;
}

.footer-info p {
    font-size: 0.85rem;
    max-width: 300px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-contact p {
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.5);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.4);
    font-size: 18px;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--color-primary);
    color: #0A0A0A;
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 16px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ==========================================
   RESPONSIVIDADE
   ========================================== */
@media (max-width: 1024px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .routes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .landmarks-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-main {
        display: none !important;
    }

    .nav-main.open {
        display: flex !important;
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: #0A0A0A;
        padding: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        z-index: 999;
        flex-direction: column;
        max-height: calc(100vh - 68px);
        overflow-y: auto;
    }

    .nav-main.open ul {
        flex-direction: column;
        gap: 12px;
    }

    .nav-main.open ul li a {
        font-size: 1rem;
        padding: 8px 0;
        display: block;
    }

    .menu-toggle {
        display: flex !important;
    }

    .logo img {
        height: 40px;
    }

    .page-hero {
        height: 40vh !important;
        min-height: 280px !important;
        max-height: 380px !important;
    }

    .page-hero-content h1 {
        font-size: clamp(1.8rem, 5vw, 2.5rem) !important;
    }

    .info-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .routes-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .landmarks-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .map-fullscreen {
        height: 50vh;
        min-height: 300px;
    }

    .map-overlay-info {
        bottom: 16px;
        padding: 12px 16px;
        max-width: 95%;
    }

    .map-pin {
        gap: 8px;
    }

    .pin-icon {
        font-size: 22px;
    }

    .pin-content strong {
        font-size: 12px;
    }

    .pin-content p {
        font-size: 11px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .page-hero {
        height: 35vh !important;
        min-height: 220px !important;
        max-height: 320px !important;
    }

    .page-hero-content h1 {
        font-size: clamp(1.5rem, 6vw, 2rem) !important;
    }

    .landmarks-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .map-fullscreen {
        height: 40vh;
        min-height: 250px;
    }

    .contact-actions {
        flex-direction: column;
        width: 100%;
    }

    .contact-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .route-actions {
        flex-direction: column;
        width: 100%;
    }

    .route-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .info-card {
        padding: 18px;
    }
}