/* ================================================================
   SEC-LOCATIONS v3.4
   Focofy Factory — Design Tokens Contract v3.6

   v3.3 → v3.4:
     - style="border:0;" inline nos iframes → movido para CSS
     - height="360/240" nos iframes → height via CSS (aspect-ratio)
     - rel="noopener" → rel="noopener noreferrer" no link externo
   ================================================================ */

/* ── MAPA ÚNICO ──────────────────────────────────────────────── */

.sec-locations__map{
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  overflow:hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-8);
}

.sec-locations__map iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

.sec-locations__grid{
  display:grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}

/* Tablet */
@media (min-width: 768px){
  .sec-locations__grid{ grid-template-columns: repeat(2, 1fr); }
}

/* Desktop */
@media (min-width: 1024px){
  .sec-locations__grid{ grid-template-columns: repeat(3, 1fr); }
}

/* Wide: libera 4 quando selecionado */
@media (min-width: 1440px){
  .sec-locations__grid[data-columns="4"]{ grid-template-columns: repeat(4, 1fr); }
}

.location-card{
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  overflow:hidden;
  box-shadow: var(--shadow-sm);
  padding: var(--space-6);
}

.location-card__title a{
  color: var(--color-heading);
  text-decoration:none;
}

.location-card__map{
  margin-top: var(--space-4);
  border-radius: var(--radius-md);
  overflow:hidden;
  border: 1px solid var(--color-border-subtle);
}

.location-card__map iframe {
  display: block;
  width: 100%;
  height: 240px;
  border: 0;
}

.location-card__actions{
  margin-top: var(--space-5);
  display:flex;
  gap: var(--space-3);
  flex-wrap:wrap;
}