/* ============================================
   MAPA INTERATIVO - CHAVEIRO GOIÂNIA
   CSS Completo para ambas as versões
============================================ */

/* ===== VARIÁVEIS ===== */
:root {
    --primary-blue: #012A55;
    --primary-orange: #FC791A;
    --success-green: #15B239;
    --title-color: #010F1C;
    --text-color: #5C6574;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(1, 42, 85, 0.1);
    --shadow-hover: 0 15px 40px rgba(1, 42, 85, 0.15);
}

/* ===== VERSÃO 1: TELA CHEIA ===== */
.map-section-full {
    position: relative;
    width: 100%;
    min-height: 700px;
    padding: 0;
    margin: 0;
    background: #f8f9fa;
}

.map-container-full {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
}

/* ===== VERSÃO 2: CONTAINER ===== */
.map-section-container {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.map-container-box {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

/* ===== CABEÇALHO (VERSÃO 2) ===== */
.section-header {
    margin-bottom: 50px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #014178 100%);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 20px;
    animation: fadeInDown 0.6s ease-out;
}

.section-badge i {
    font-size: 16px;
    color: var(--primary-orange);
}

.section-title {
    font-family: 'Epilogue', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.text-highlight {
    color: var(--primary-orange);
    position: relative;
}

.section-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== MAPA ===== */
.map-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none; /* Wrapper não bloqueia cliques */
}

.map-wrapper iframe {
    filter: grayscale(0%);
    transition: filter 0.3s ease;
    pointer-events: auto !important; /* Iframe recebe todos os cliques */
    cursor: grab; /* Mostra cursor de arrastar */
}

.map-wrapper iframe:active {
    cursor: grabbing; /* Cursor ao arrastar */
}

/* ===== BADGE DISPONÍVEL ===== */
.availability-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--white);
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    z-index: 100;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--success-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: slideInRight 0.6s ease-out;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background: var(--success-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 0 rgba(21, 178, 57, 0.7);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(21, 178, 57, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(21, 178, 57, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(21, 178, 57, 0);
    }
}

/* ===== CARD DE INFORMAÇÕES ===== */
.map-info-card {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 380px;
    max-height: calc(100% - 40px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
	padding-bottom: 30px;  /* ← ADICIONE ESTA LINHA */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 50;
    overflow-y: auto;
    animation: slideInLeft 0.6s ease-out;
}

.map-info-card::-webkit-scrollbar {
    width: 6px;
}

.map-info-card::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.map-info-card::-webkit-scrollbar-thumb {
    background: var(--primary-orange);
    border-radius: 10px;
}

/* Header do Card */
.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.company-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #014178 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    flex-shrink: 0;
}

.company-info h3 {
    font-family: 'Epilogue', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--title-color);
    margin: 0 0 5px 0;
}

.company-info .subtitle {
    font-size: 14px;
    color: var(--text-color);
    margin: 0;
}

.card-divider {
    height: 2px;
    background: linear-gradient(90deg, var(--primary-orange) 0%, transparent 100%);
    margin: 20px 0;
}

/* Items de Informação */
.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff9a4d 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
}

.info-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.info-text {
    font-size: 14px;
    color: var(--title-color);
    line-height: 1.6;
    margin: 0;
}

.info-link {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.info-link:hover {
    color: var(--primary-orange);
}

.phone-link {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.phone-link:hover {
    color: var(--primary-orange);
}

.highlight-24h {
    color: var(--success-green);
    font-weight: 600;
}

/* Bairros Atendidos */
.neighborhoods-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 20px;
    margin: 25px 0;
}

.neighborhoods-title {
    font-family: 'Epilogue', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--title-color);
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.neighborhoods-title i {
    color: var(--primary-orange);
}

.neighborhoods-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.neighborhood-tag {
    display: inline-block;
    padding: 6px 12px;
    background: var(--white);
    border: 2px solid var(--primary-blue);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-blue);
    transition: all 0.3s ease;
    cursor: default;
}

.neighborhood-tag:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* Botões de Ação */
.action-buttons {
    display: flex;
    gap: 10px;
    margin: 25px 0;
	margin-bottom: 0;  /* ← ADICIONE ESTA LINHA */
}

.btn-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #014178 100%);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(1, 42, 85, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* Botão de Emergência */
.btn-emergency {
	display: none;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 25px;
    background: linear-gradient(135deg, var(--success-green) 0%, #12a034 100%);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-family: 'Epilogue', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: pulse-button 2s infinite;
}

.btn-emergency i {
    font-size: 22px;
}

.btn-emergency:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(21, 178, 57, 0.4);
}

.emergency-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    transform: translate(-50%, -50%) scale(0);
    animation: pulse-wave 2s infinite;
}

@keyframes pulse-button {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(21, 178, 57, 0.3);
    }
    50% {
        box-shadow: 0 8px 30px rgba(21, 178, 57, 0.5);
    }
}

@keyframes pulse-wave {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

/* ===== CALCULADORA DE TEMPO ===== */
.time-calculator-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    background: var(--white);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    z-index: 200;
    overflow-y: auto;
    animation: zoomIn 0.3s ease-out;
}

.close-calculator {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: #f8f9fa;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.close-calculator:hover {
    background: var(--primary-orange);
    color: var(--white);
    transform: rotate(90deg);
}

.calculator-title {
    font-family: 'Epilogue', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--title-color);
    margin: 0 0 25px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.calculator-title i {
    color: var(--primary-orange);
}

/* Toggle de Urgência */
.urgency-toggle {
    background: linear-gradient(135deg, #fff5f0 0%, #ffe9e0 100%);
    border: 2px solid var(--primary-orange);
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.urgency-toggle:hover {
    background: linear-gradient(135deg, #ffe9e0 0%, #ffd4c2 100%);
}

.urgency-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.urgency-label {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-orange);
    cursor: pointer;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.urgency-checkbox:checked + .urgency-label {
    color: #dc3545;
}

/* Input Group */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--title-color);
    margin-bottom: 10px;
}

.address-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    transition: all 0.3s ease;
}

.address-input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(252, 121, 26, 0.1);
}

/* Botão Usar Localização */
.btn-use-location {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #014178 100%);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-use-location:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(1, 42, 85, 0.3);
}

/* Divider */
.or-divider {
    position: relative;
    text-align: center;
    margin: 25px 0;
}

.or-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
}

.or-divider span {
    position: relative;
    display: inline-block;
    padding: 0 15px;
    background: var(--white);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
}

/* Seletor de Distância */
.distance-selector {
    margin-bottom: 25px;
}

.distance-selector label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--title-color);
    margin-bottom: 15px;
}

.distance-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.distance-btn {
    padding: 14px 20px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--title-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.distance-btn:hover,
.distance-btn.active {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: var(--white);
    transform: translateY(-2px);
}

/* Botão Calcular */
.btn-calculate {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 25px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff9a4d 100%);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-calculate:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(252, 121, 26, 0.4);
}

/* Resultado */
.time-result {
    margin-top: 25px;
    padding: 25px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
    border: 3px solid var(--primary-blue);
    border-radius: 15px;
    text-align: center;
    animation: slideInUp 0.5s ease-out;
}

.result-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #014178 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
}

.result-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 10px 0;
}

.result-time {
    font-family: 'Epilogue', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0 0 10px 0;
}

.result-distance {
    font-size: 14px;
    color: var(--text-color);
    margin: 0;
}

.time-result.emergency {
    background: linear-gradient(135deg, #fff5f0 0%, #ffe9e0 100%);
    border-color: #dc3545;
}

.time-result.emergency .result-icon {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.time-result.emergency .result-time {
    color: #dc3545;
}

/* ===== CONTROLES DO MAPA ===== */
.map-controls {
    display: none !important; /* Oculta os controles que não funcionam */
}

.map-control-btn {
    display: none !important; /* Oculta os botões de controle */
}

/* ===== BOTÃO RECENTRALIZAR MAPA ===== */
.btn-recenter-map {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    border-radius: 12px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.btn-recenter-map:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(1, 42, 85, 0.3);
}

.btn-recenter-map i {
    animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ===== BOTÃO FLUTUANTE RECENTRALIZAR (NO MAPA) ===== */
.floating-recenter-btn {
    position: absolute;
    bottom: 90px; /* Acima dos controles nativos do Google Maps */
    right: 15px; /* Canto direito */
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid var(--primary-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000; /* Z-index bem alto para ficar acima de tudo */
    transition: all 0.3s ease;
    pointer-events: auto !important; /* Força receber cliques */
}

.floating-recenter-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(1, 42, 85, 0.4);
}

.floating-recenter-btn i {
    animation: pulse-icon 2s infinite;
    pointer-events: none; /* Ícone não bloqueia clique no botão */
}

/* ===== CHAT BUBBLE ===== */
.chat-bubble {
	display: none !important;
    position: absolute;
    bottom: 30px;
    left: 30px;
    width: 320px;
    background: var(--white);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 40;
    animation: bounceIn 0.8s ease-out;
}

.chat-bubble-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    background: #f8f9fa;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.chat-bubble-close:hover {
    background: var(--primary-orange);
    color: var(--white);
}

.chat-content {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.chat-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #014178 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    flex-shrink: 0;
}

.chat-text {
    flex: 1;
}

.chat-message {
    font-size: 15px;
    font-weight: 600;
    color: var(--title-color);
    margin: 0 0 5px 0;
}

.chat-submessage {
    font-size: 13px;
    color: var(--text-color);
    margin: 0;
}

.chat-actions {
    display: flex;
    gap: 10px;
}

.chat-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.chat-whatsapp {
    background: var(--success-green);
    color: var(--white);
}

.chat-whatsapp:hover {
    background: #12a034;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(21, 178, 57, 0.3);
}

.chat-call {
    background: var(--primary-blue);
    color: var(--white);
}

.chat-call:hover {
    background: #014178;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(1, 42, 85, 0.3);
}

/* ===== CARD DE ESTATÍSTICAS ===== */
.stats-card {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 30;
    animation: slideInUp 0.8s ease-out;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff9a4d 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
}

.stat-content h4 {
    font-family: 'Epilogue', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0 0 3px 0;
}

.stat-content p {
    font-size: 12px;
    color: var(--text-color);
    margin: 0;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: #e9ecef;
}

/* ===== ANIMAÇÕES ===== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 991px) {
    .map-container-full {
        height: 600px;
    }

    .map-container-box {
        height: 500px;
    }

    .map-info-card {
        width: 320px;
        padding: 25px;
    }

    .stats-card {
        flex-wrap: wrap;
        gap: 15px;
        padding: 15px 20px;
    }

    .stat-divider {
        display: none;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 32px;
    }

    .map-container-full {
        height: auto;
        min-height: 500px;
    }

    .map-container-box {
        height: 600px;
        border-radius: 0;
    }

    .map-info-card {
        position: relative;
        width: 100%;
        max-height: none;
        border-radius: 0;
        left: 0;
        top: 0;
        margin-bottom: 0;
        z-index: 5; /* Garante que não bloqueia o mapa */
    }

    .map-wrapper {
        position: relative;
        height: 400px;
        pointer-events: none; /* Wrapper não bloqueia */
        z-index: 1;
    }

    .map-wrapper iframe {
        pointer-events: auto !important; /* Iframe recebe todos os toques */
        touch-action: pan-x pan-y pinch-zoom; /* Permite gestos de toque */
    }

    .floating-recenter-btn {
        bottom: 70px; /* Ajuste para mobile - acima dos controles */
        right: 10px;
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .availability-badge {
        top: 10px;
        right: 10px;
        font-size: 11px;
        padding: 10px 16px;
    }

    .stats-card {
        position: relative;
        left: 0;
        transform: none;
        margin: 20px;
        bottom: auto;
    }

    .chat-bubble {
        width: calc(100% - 40px);
        left: 20px;
        bottom: 20px;
    }

    .map-controls {
        right: 15px;
        bottom: 15px;
        gap: 8px;
    }

    .map-control-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .time-calculator-card {
        width: calc(100% - 40px);
        padding: 25px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .distance-options {
        grid-template-columns: 1fr;
    }
}

/* ===== UTILITÁRIOS ===== */
.mb-50 {
    margin-bottom: 50px;
}

.text-center {
    text-align: center;
}

/* Ocultar scrollbar mas manter funcionalidade */
.time-calculator-card::-webkit-scrollbar {
    width: 6px;
}

.time-calculator-card::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.time-calculator-card::-webkit-scrollbar-thumb {
    background: var(--primary-orange);
    border-radius: 10px;
}