/* ===================================
   PÁGINA DE LOCALIZAÇÃO
   =================================== */

.location-page {
    min-height: 100vh;
    background-color: var(--color-white);
    padding-top: var(--header-height);
}
/* ===================================
   BREADCRUMB
   =================================== */

.breadcrumb-section {
    padding: 12px 0 10px 0;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    z-index: 10;
    margin-top: 60px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: #666666;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #555555;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.breadcrumb-item:not(.active):hover {
    color: #c8102e;
}

.breadcrumb-item:not(.active):hover i {
    transform: scale(1.1);
}

.breadcrumb-item.active {
    color: #333333;
    font-weight: 600;
    cursor: default;
}

.breadcrumb-item i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.breadcrumb-separator {
    color: #cccccc;
    user-select: none;
    font-weight: 400;
}

/* ===================================
   Hero da Página
   =================================== */

.page-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    padding: 80px 0 60px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.03) 10px,
        rgba(255, 255, 255, 0.03) 20px
    );
    opacity: 0.5;
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-title {
    font-family: "Poppins", sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-subtitle {
    font-family: "Open Sans", sans-serif;
    font-size: 1.25rem;
    font-weight: 300;
    color: #e0e0e0;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* ===================================
   Endereço em Destaque
   =================================== */

.address-highlight-section {
    padding: 60px 0;
    background-color: var(--color-white);
}

.address-highlight {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 50px;
    background: linear-gradient(
        135deg,
        rgba(200, 16, 46, 0.03) 0%,
        rgba(69, 123, 157, 0.03) 100%
    );
    border-radius: 16px;
    border-left: 4px solid var(--color-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.address-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(
        135deg,
        var(--color-primary),
        var(--color-primary-dark)
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(200, 16, 46, 0.25);
}

.address-icon i {
    font-size: 48px;
    color: var(--color-white);
}

.address-content {
    flex: 1;
}

.address-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.address-text {
    font-size: 1.125rem;
    color: var(--color-gray-dark);
    margin-bottom: 8px;
    font-weight: 500;
}

.address-actions {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

/* ===================================
   Mapa
   =================================== */

.map-section {
    padding: 0;
    background-color: var(--color-gray-lightest);
}

.map-container {
    position: relative;
    width: 100%;
    height: 500px;
    background-color: var(--color-gray-lighter);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ===================================
   Informações de Acesso
   =================================== */

.access-info-section {
    padding: 80px 0;
    background-color: var(--color-white);
    text-align: center;
}

.access-info-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-dark);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    width: auto;
    padding-bottom: 16px;
}

.access-info-section .section-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--color-primary);
    width: 0;
    left: 50%;
    transition: none;
    border-radius: 2px;
}

.access-info-section .section-title.title-visible::after {
    animation: underlineGrow 0.8s ease-out 0.3s both;
}

@keyframes underlineGrow {
    from {
        width: 0;
        left: 50%;
    }
    to {
        width: 100%;
        left: 0;
    }
}

.access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.access-card {
    padding: 40px 30px;
    background-color: var(--color-white);
    border-radius: 12px;
    border: 2px solid var(--color-gray-light);
    text-align: center;
    transition: all 0.3s ease;
}

.access-card:hover {
    transform: translateY(-4px);
}

/* Hover específico para cada tipo de card */
.access-card:has(.access-icon.metro):hover {
    border-color: #00a650;
    box-shadow: 0 8px 24px rgba(0, 166, 80, 0.15);
}

.access-card:has(.access-icon.bus):hover {
    border-color: #ff6b1a;
    box-shadow: 0 8px 24px rgba(255, 107, 26, 0.15);
}

.access-card:has(.access-icon.car):hover {
    border-color: #1976d2;
    box-shadow: 0 8px 24px rgba(25, 118, 210, 0.15);
}

.access-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.access-card:hover .access-icon {
    transform: scale(1.1);
}

.access-icon.metro {
    background: linear-gradient(135deg, #00a650, #00853f);
}

.access-icon.bus {
    background: linear-gradient(135deg, #ff6b1a, #e65100);
}

.access-icon.car {
    background: linear-gradient(135deg, #1976d2, #0d47a1);
}

.access-icon.bike {
    background: linear-gradient(135deg, #7b1fa2, #4a148c);
}

.access-icon i {
    font-size: 36px;
    color: var(--color-white);
}

.access-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 16px;
}

.access-description {
    font-size: 0.9375rem;
    color: var(--color-gray);
    line-height: 1.6;
    margin-bottom: 12px;
}

.access-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    text-align: left;
}

.access-list li {
    font-size: 0.9375rem;
    color: var(--color-gray-dark);
    padding-left: 28px;
    margin-bottom: 10px;
    position: relative;
    line-height: 1.5;
}

.access-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-size: 0.875rem;
}

/* ===================================
   Pontos de Referência
   =================================== */

.landmarks-section {
    padding: 80px 0;
    background-color: var(--color-gray-lightest);
    text-align: center;
}

.landmarks-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-dark);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    width: auto;
    padding-bottom: 16px;
    text-shadow: none;
}

.landmarks-section .section-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--color-primary);
    width: 0;
    left: 50%;
    transition: none;
    border-radius: 2px;
}

.landmarks-section .section-title.title-visible::after {
    animation: underlineGrow 0.8s ease-out 0.3s both;
}

@keyframes landmarksUnderlineGrow {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.landmarks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.landmark-card {
    background-color: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.landmark-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.landmark-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.landmark-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.landmark-card:hover .landmark-image img {
    transform: scale(1.05);
}

.landmark-distance {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(200, 16, 46, 0.3);
}

.landmark-content {
    padding: 24px;
}

.landmark-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.landmark-description {
    font-size: 0.9375rem;
    color: var(--color-gray);
    line-height: 1.6;
}

/* ===================================
   CTA de Contato
   =================================== */

.location-cta-section {
    padding: 80px 0;
    background: linear-gradient(
        135deg,
        rgba(200, 16, 46, 0.03) 0%,
        rgba(69, 123, 157, 0.03) 100%
    );
    border-top: 1px solid var(--color-gray-light);
}

.location-cta-section .cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.location-cta-section .cta-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(
        135deg,
        var(--color-primary),
        var(--color-primary-dark)
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 8px 24px rgba(200, 16, 46, 0.25);
}

.location-cta-section .cta-icon i {
    font-size: 36px;
    color: var(--color-white);
}

.location-cta-section .cta-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 16px;
    line-height: 1.3;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.location-cta-section .cta-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--color-primary);
    width: 0;
    left: 50%;
    transition: none;
    border-radius: 2px;
}

.location-cta-section .cta-title.title-visible::after {
    animation: underlineGrow 0.8s ease-out 0.3s both;
}

@keyframes ctaTitleUnderlineGrow {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.location-cta-section .cta-description {
    font-size: 1.125rem;
    color: var(--color-gray);
    line-height: 1.6;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.btn-subtitle {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.9;
}

.link-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.link-contact:hover {
    color: var(--color-primary-dark);
    gap: 12px;
}

.link-contact i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.link-contact:hover i {
    transform: translateX(4px);
}

/* ===================================
   Responsividade
   =================================== */

/* Tablets */
@media (max-width: 992px) {
    .page-hero {
        padding: 60px 0 50px;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    .address-highlight {
        flex-direction: column;
        padding: 40px 30px;
        text-align: center;
    }

    .address-icon {
        width: 80px;
        height: 80px;
    }

    .address-icon i {
        font-size: 40px;
    }

    .address-title {
        font-size: 1.75rem;
    }

    .address-actions {
        justify-content: center;
    }

    .map-container {
        height: 400px;
    }

    .access-info-section,
    .landmarks-section,
    .location-cta-section {
        padding: 60px 0;
    }

    .access-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .landmarks-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .page-hero {
        padding: 50px 0 40px;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .address-highlight {
        padding: 30px 20px;
        gap: 24px;
    }

    .address-icon {
        width: 70px;
        height: 70px;
    }

    .address-icon i {
        font-size: 32px;
    }

    .address-title {
        font-size: 1.5rem;
    }

    .address-text {
        font-size: 1rem;
    }

    .address-actions {
        flex-direction: column;
        width: 100%;
    }

    .address-actions .btn {
        width: 100%;
    }

    .map-container {
        height: 350px;
    }

    .access-info-section,
    .landmarks-section,
    .location-cta-section {
        padding: 50px 0;
    }

    .access-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .access-card {
        padding: 30px 20px;
    }

    .access-icon {
        width: 70px;
        height: 70px;
    }

    .access-icon i {
        font-size: 32px;
    }

    .landmarks-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .landmark-image {
        height: 200px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .link-contact {
        font-size: 0.9375rem;
    }
}

/* Mobile Pequeno */
@media (max-width: 375px) {
    .address-icon {
        width: 60px;
        height: 60px;
    }

    .address-icon i {
        font-size: 28px;
    }

    .access-icon {
        width: 60px;
        height: 60px;
    }

    .access-icon i {
        font-size: 28px;
    }
}
