/* Frigodário — Áreas de atuação (mapa interativo) — apenas area-de-atuacao.html */

.frigo-areas-section {
  background: #f4f6f8;
  padding: 100px 0 110px;
}

.frigo-areas-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.frigo-areas-head .frigo-areas-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--theme);
  margin-bottom: 12px;
}

.frigo-areas-head .frigo-areas-kicker span {
  line-height: 1.2;
}

.frigo-areas-head .frigo-areas-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--theme);
  border-radius: 2px;
  flex-shrink: 0;
}

.frigo-areas-head h2 {
  color: var(--header);
  margin-bottom: 16px;
}

.frigo-areas-head p {
  color: var(--text);
  line-height: 1.65;
  margin: 0;
}

.frigo-areas-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: start;
}

@media (max-width: 991px) {
  .frigo-areas-grid {
    grid-template-columns: 1fr;
  }
}

.frigo-map-card,
.frigo-areas-panel-wrap {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 56, 101, 0.08);
}

.frigo-map-card {
  padding: 28px 28px 20px;
  overflow: hidden;
}

.frigo-map-card-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.frigo-map-card-head .frigo-pin {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--theme);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.frigo-map-card-head h3 {
  margin: 0 0 6px;
  font-size: 22px;
  color: var(--header);
}

.frigo-map-card-head p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}

.frigo-mapa-host {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #eef2f6;
}

.frigo-mapa-host svg {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.frigo-mapa-host .frigo-regiao {
  cursor: pointer;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.frigo-mapa-host .frigo-regiao use {
  transition: color 0.3s ease, stroke 0.3s ease, stroke-width 0.3s ease, opacity 0.3s ease,
    filter 0.3s ease;
}

.frigo-mapa-host.is-selection .frigo-regiao:not(.active) {
  opacity: 0.22;
  filter: grayscale(0.85);
}

/* Traço e preenchimento vêm de style no <use> (JS); só opacidade/filtro aqui. */

.frigo-mapa-host:not(.is-selection) .frigo-regiao:hover:not(.active) use {
  filter: brightness(1.06) saturate(1.08);
}

.frigo-mapa-host.is-selection .frigo-regiao:not(.active):hover {
  opacity: 0.38;
  filter: grayscale(0.65);
}

.frigo-mapa-host .frigo-regiao.active {
  opacity: 1 !important;
  filter: none !important;
  z-index: 2;
}

/* Contorno da região ativa definido em syncMapFills (inline no <use>). */

.frigo-map-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text);
  opacity: 0.85;
}

.frigo-map-hint::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text);
  opacity: 0.45;
}

.frigo-areas-panel-wrap {
  padding: 22px 22px 24px;
  min-height: 420px;
}

.frigo-areas-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

@media (max-width: 575px) {
  .frigo-areas-cards {
    grid-template-columns: 1fr;
  }
}

.frigo-regiao-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 12px;
  border: 1px solid rgba(13, 38, 108, 0.1);
  background: #fafbfc;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease,
    opacity 0.25s ease, transform 0.25s ease;
}

.frigo-regiao-card:hover {
  border-color: rgba(237, 35, 41, 0.35);
  box-shadow: 0 6px 18px rgba(0, 56, 101, 0.06);
}

.frigo-areas-panel-wrap.is-selection .frigo-regiao-card:not(.active) {
  opacity: 0.28;
  transform: scale(0.98);
}

.frigo-areas-panel-wrap.is-selection .frigo-regiao-card:not(.active):hover {
  opacity: 0.55;
  transform: scale(1);
}

.frigo-regiao-card.active {
  border-color: var(--theme);
  background: #fff;
  box-shadow: 0 8px 24px rgba(237, 35, 41, 0.12);
  opacity: 1 !important;
  transform: none !important;
}

.frigo-regiao-card .frigo-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 16px;
}

.frigo-regiao-card .frigo-card-text {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  font-size: 15px;
  color: var(--header);
}

.frigo-regiao-card .frigo-card-chev {
  color: var(--text);
  opacity: 0.5;
  font-size: 12px;
}

.frigo-btn-reset {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(13, 38, 108, 0.15);
  background: #fff;
  color: var(--header);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.frigo-btn-reset:hover {
  border-color: var(--theme);
  color: var(--theme);
}

.frigo-info-panel {
  border-top: 1px solid rgba(13, 38, 108, 0.08);
  padding-top: 20px;
}

.frigo-info-panel h4 {
  margin: 0 0 12px;
  font-size: 22px;
  color: var(--header);
}

.frigo-info-panel .frigo-info-desc {
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 18px;
  font-size: 15px;
}

.frigo-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.frigo-info-list li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(13, 38, 108, 0.06);
  font-size: 14px;
  color: var(--text);
}

.frigo-info-list li strong {
  color: var(--header);
  min-width: 118px;
  font-weight: 600;
}

.frigo-info-panel .frigo-info-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.frigo-info-placeholder {
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.75;
}

.frigo-areas-cta {
  margin-top: 36px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 56, 101, 0.08);
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) auto;
  gap: 24px;
  align-items: stretch;
  overflow: hidden;
}

/* Espaçamento só nas laterais: a coluna da imagem encosta ao topo/fundo do card. */
.frigo-areas-cta-copy {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  min-width: 0;
  align-self: stretch;
  padding: 28px 0 28px 32px;
  box-sizing: border-box;
}

.frigo-areas-cta .frigo-cta-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--theme);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.frigo-areas-cta h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--header);
}

.frigo-areas-cta p {
  margin: 0;
  color: var(--text);
  line-height: 1.55;
  max-width: 520px;
}

.frigo-areas-cta-visual {
  position: relative;
  align-self: stretch;
  height: 100%;
  min-height: 0;
  width: 100%;
  max-width: min(320px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 0;
}

/* Preenche sempre a célula da grelha (evita %/flex circular); card mantém a mesma altura externa. */
.frigo-areas-cta-visual img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.frigo-areas-cta .theme-btn {
  white-space: nowrap;
  align-self: center;
  margin: 28px 32px 28px 0;
  box-sizing: border-box;
}

.frigo-numeros {
  margin-top: 56px;
}

.frigo-numeros-head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 34px;
}

.frigo-numeros-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--theme);
  font-size: 15px;
  font-weight: 700;
  text-transform: lowercase;
}

.frigo-numeros-kicker span::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--theme);
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
}

.frigo-numeros-head h2 {
  margin: 0 0 16px;
  color: var(--header);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.15;
}

.frigo-numeros-head p {
  margin: 0 auto;
  max-width: 780px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.65;
}

.frigo-numeros-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.frigo-numero-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 38px rgba(0, 56, 101, 0.07);
  padding: 34px 24px 30px;
  text-align: center;
  border: 1px solid rgba(13, 38, 108, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease,
    background-color 0.25s ease;
}

.frigo-numero-icon {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--theme);
  background: rgba(237, 35, 41, 0.08);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.frigo-numero-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 64, 111, 0.2);
  box-shadow: 0 16px 34px rgba(0, 64, 111, 0.16);
}

.frigo-numero-card:hover .frigo-numero-icon {
  background: var(--theme);
  color: #fff;
  transform: scale(1.03);
}

.frigo-numero-card h3 {
  margin: 0 0 8px;
  font-size: clamp(40px, 4vw, 58px);
  line-height: 1;
  color: var(--header);
}

.frigo-numero-card h4 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.2;
  color: var(--header);
}

.frigo-numero-card p {
  margin: 0;
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
}

/* Geometria em <defs>: fill currentColor + stroke inherit do <use> (JS). */

@media (max-width: 991px) {
  .frigo-areas-cta {
    grid-template-columns: 1fr;
    text-align: center;
    align-items: stretch;
  }
  .frigo-areas-cta-copy {
    flex-direction: column;
    align-items: center;
    text-align: center;
    align-self: stretch;
    padding: 28px 32px 0;
  }
  .frigo-areas-cta .frigo-areas-cta-visual {
    margin: 0;
    max-width: 100%;
    width: 100%;
    min-height: 200px;
    max-height: min(320px, 48vw);
  }
  .frigo-areas-cta .frigo-areas-cta-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .frigo-areas-cta .theme-btn {
    justify-self: center;
    align-self: center;
    margin: 20px 32px 28px;
  }

  .frigo-numeros-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .frigo-numeros-head p {
    font-size: 17px;
  }

  .frigo-numero-card h3 {
    font-size: 42px;
  }

  .frigo-numero-card h4 {
    font-size: 26px;
  }

  .frigo-numero-card p {
    font-size: 16px;
  }
}

@media (max-width: 575px) {
  .frigo-numeros {
    margin-top: 42px;
  }

  .frigo-numeros-grid {
    grid-template-columns: 1fr;
  }

  .frigo-numero-card {
    padding: 28px 20px 24px;
  }

  .frigo-numero-icon {
    width: 78px;
    height: 78px;
    font-size: 30px;
    margin-bottom: 18px;
  }

  .frigo-numero-card h3 {
    font-size: 38px;
  }

  .frigo-numero-card h4 {
    font-size: 24px;
  }

  .frigo-numero-card p {
    font-size: 16px;
  }
}

/* Hero: preenche a largura com escala natural (sem cover/zoom); excedente corta com overflow do bloco. */
.breadcrumb-wrapper--frigo-atuacao {
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center center;
}

/* Hero / breadcrumb: foto própria + mesmo ângulo de degradé, ligeiramente mais escuro para o texto */
.breadcrumb-wrapper--frigo-atuacao::before {
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    227deg,
    rgba(15, 49, 58, 0.32) 24.35%,
    rgba(15, 49, 58, 0.88) 81.21%
  );
}
