/* localizacao.css - Seção Localização */

.localizacao {
  padding: 100px 0;
  background: linear-gradient(135deg, #000000 0%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
}

/* Efeito de grid sutil no fundo */
.localizacao::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    repeating-linear-gradient(45deg, rgba(229, 9, 20, 0.02) 0px, rgba(229, 9, 20, 0.02) 2px, transparent 2px, transparent 12px);
  pointer-events: none;
}

/* Borda divisória */
.localizacao .section-divider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #e50914 20%, #e50914 80%, transparent 100%);
  opacity: 0.5;
}

/* Container */
.localizacao .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ===== SECTION TITLE ===== */
.localizacao .section-title {
  text-align: center !important;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 60px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  width: 100% !important;
  display: block !important;
  background:  #ffffff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.localizacao .section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #ff000d;
  margin: 20px auto 0 !important;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(229, 9, 20, 0.5);
}

/* Grid da Localização */
.localizacao-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 35px;
  align-items: stretch;
}

/* ===== MAPA ===== */
.mapa-container {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(229, 9, 20, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  min-height: 480px;
  background: #000000;
  /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); */
}

.mapa-container:hover {
  border-color: rgba(229, 9, 20, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(229, 9, 20, 0.15);
}

.mapa {
  width: 100%;
  height: 100%;
  position: relative;
}

.mapa iframe {
  width: 100%;
  height: 100%;
  border: none;
  transition: transform 0.5s ease;
}

.mapa-container:hover iframe {
  transform: scale(1.02);
}

/* Overlay de gradiente no mapa */
.mapa-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mapa-container:hover::after {
  opacity: 1;
}

/* ===== CARD DE CONTATO ===== */
.contato-card {
  background: linear-gradient(135deg, #111111 0%, #0a0a0a 100%);
  border-radius: 28px;
  padding: 35px;
  border: 1px solid rgba(229, 9, 20, 0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); */
}

/* Efeito de brilho no fundo */
.contato-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.contato-card:hover::before {
  opacity: 1;
}

.contato-card:hover {
  border-color: rgba(229, 9, 20, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(229, 9, 20, 0.2);
}

/* Header do card */
.contato-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(229, 9, 20, 0.2);
  position: relative;
  z-index: 2;
}

.contato-header h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  background: #fff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

/* Status Badge */
.unidade-status {
  margin-top: 12px;
  display: flex;
  justify-content: flex-start;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.status-aberta {
  color: #4caf50;
  border: 1px solid #4caf50;
  background: rgba(76, 175, 80, 0.1);
}

.status-fechada {
  color: #ff9800;
  border: 1px solid #ff9800;
  background: rgba(255, 152, 0, 0.1);
}

.status-badge i {
  font-size: 0.7rem;
}

/* Body do card */
.contato-body {
  flex: 1;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.info-item {
  display: flex;
  gap: 18px;
  margin-bottom: 24px;
  padding: 12px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.info-item:hover {
  background: rgba(229, 9, 20, 0.05);
  transform: translateX(5px);
}

.info-icon {
  width: 48px;
  height: 48px;
  background: rgba(229, 9, 20, 0.12);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.info-item:hover .info-icon {
  background: #e50914;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(229, 9, 20, 0.4);
}

.info-icon i {
  font-size: 1.3rem;
  color: #e50914;
  transition: all 0.3s ease;
}

.info-item:hover .info-icon i {
  color: #ffffff;
}

.info-content {
  flex: 1;
}

.info-label {
  display: block;
  font-size: 0.7rem;
  color: #888888;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
  font-weight: 600;
}

.info-text {
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.5;
  font-weight: 500;
}

/* Horários estilizados */
.horario {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.horario-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.horario-item .dia {
  font-weight: 600;
  color: #cccccc;
  font-size: 0.85rem;
}

.horario-item .horas {
  color: #e50914;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Ações de contato */
.info-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.75rem;
  color: #e50914;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.info-action:hover {
  gap: 10px;
  color: #ff3b44;
}

/* Footer do card */
.contato-footer {
  position: relative;
  z-index: 2;
  padding-top: 20px;
  border-top: 1px solid rgba(229, 9, 20, 0.2);
  display: flex;
  gap: 12px;
}

.btn-mapa {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  background: transparent;
  border: 2px solid #e50914;
  border-radius: 50px;
  color: #e50914;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-size: 0.85rem;
  cursor: pointer;
}

.btn-mapa::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-mapa:hover {
  background: #e50914;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(229, 9, 20, 0.4);
}

.btn-mapa:hover::before {
  left: 100%;
}

.btn-mapa i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.btn-mapa:hover i {
  transform: translateX(5px);
}

.btn-mapa-secondary {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(229, 9, 20, 0.4);
  color: #ffffff;
}

.btn-mapa-secondary:hover {
  background: rgba(229, 9, 20, 0.2);
  border-color: #e50914;
  color: #e50914;
}

/* Mensagem quando não há unidade selecionada */
.mensagem-selecao {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 30px;
  background: linear-gradient(135deg, #111111, #0a0a0a);
  border-radius: 28px;
  min-height: 450px;
  border: 1px solid rgba(229, 9, 20, 0.2);
}

.mensagem-selecao i {
  font-size: 4rem;
  color: #e50914;
  margin-bottom: 24px;
  opacity: 0.7;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

.mensagem-selecao p {
  color: #cccccc;
  font-size: 1.1rem;
  margin-bottom: 28px;
  font-weight: 500;
}

.btn-selecionar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #e50914, #b80710);
  border: none;
  border-radius: 50px;
  color: white;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.btn-selecionar:hover {
  transform: translateY(-3px);
  gap: 16px;
  box-shadow: 0 10px 25px rgba(229, 9, 20, 0.4);
}

/* ===== RESPONSIVIDADE ===== */

/* Desktop médio */
@media (max-width: 1024px) {
  .localizacao {
    padding: 80px 0;
  }

  .localizacao .section-title {
    font-size: 2.4rem;
    margin-bottom: 50px;
  }

  .localizacao-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .mapa-container {
    min-height: 420px;
  }

  .contato-card {
    padding: 30px;
  }

  .contato-header h3 {
    font-size: 1.6rem;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .localizacao {
    padding: 60px 0;
  }

  .localizacao .container {
    padding: 0 20px;
  }

  .localizacao .section-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .localizacao-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .mapa-container {
    min-height: 380px;
  }

  .contato-card {
    padding: 28px;
  }

  .contato-header h3 {
    font-size: 1.5rem;
  }

  .info-item {
    gap: 14px;
    padding: 10px;
  }

  .info-icon {
    width: 44px;
    height: 44px;
  }

  .info-icon i {
    font-size: 1.2rem;
  }

  .info-text {
    font-size: 0.95rem;
  }

  .contato-footer {
    flex-direction: column;
    gap: 10px;
  }

  .btn-mapa {
    padding: 12px;
  }
}

/* Mobile Grande */
@media (max-width: 480px) {
  .localizacao {
    padding: 50px 0;
  }

  .localizacao .section-title {
    font-size: 1.8rem;
    margin-bottom: 35px;
  }

  .mapa-container {
    min-height: 280px;
  }

  .contato-card {
    padding: 20px;
  }

  .contato-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
  }

  .contato-header h3 {
    font-size: 1.3rem;
  }

  .info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    padding: 8px;
  }

  .info-icon {
    width: 38px;
    height: 38px;
  }

  .info-icon i {
    font-size: 1rem;
  }

  .info-label {
    font-size: 0.65rem;
  }

  .info-text {
    font-size: 0.9rem;
  }

  .horario-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .btn-mapa {
    padding: 10px;
    font-size: 0.8rem;
  }

  .mensagem-selecao {
    padding: 40px 20px;
    min-height: 350px;
  }

  .mensagem-selecao i {
    font-size: 3rem;
  }

  .mensagem-selecao p {
    font-size: 0.95rem;
  }

  .btn-selecionar {
    padding: 10px 24px;
    font-size: 0.8rem;
  }
}

/* Telas muito pequenas */
@media (max-width: 360px) {
  .mapa-container {
    min-height: 240px;
  }

  .contato-card {
    padding: 16px;
  }

  .contato-header h3 {
    font-size: 1.2rem;
  }

  .info-item {
    gap: 10px;
  }

  .btn-mapa {
    font-size: 0.7rem;
  }
}