/* ====================================================================
   SOBRE-CONTATO.CSS — Páginas institucionais
   ==================================================================== */

/* ---------- Hero institucional (Sobre / Contato) ---------- */
.page-hero {
  text-align: center;
  padding-block: var(--space-2xl) var(--space-xl);
}

.page-hero .eyebrow {
  display: block;
}

.page-hero h1 {
  margin-bottom: var(--space-sm);
}

.page-hero p {
  color: var(--color-text-muted);
  max-width: 560px;
  margin-inline: auto;
}

/* ---------- Sobre: História ---------- */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  padding-block: var(--space-2xl);
}

.story__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.story__content h2 {
  margin-bottom: var(--space-md);
}

.story__content p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.75;
}

.story__content p:last-child {
  margin-bottom: 0;
}

.story--reverse .story__image {
  order: 2;
}

/* ---------- Galeria da loja ---------- */
.store-gallery__grid {
  grid-template-columns: repeat(3, 1fr);
}

.store-gallery__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}

.store-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.store-gallery__item:hover img {
  transform: scale(1.05);
}

/* ---------- Diferenciais (Sobre) ---------- */
.differentials__grid {
  grid-template-columns: repeat(4, 1fr);
}

.differential-card {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.differential-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: var(--space-md);
  color: var(--color-secondary);
}

.differential-card__icon svg {
  width: 24px;
  height: 24px;
}

.differential-card h3 {
  font-size: var(--fs-md);
  margin-bottom: 6px;
}

.differential-card p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

/* ---------- Contato ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-2xl);
  padding-block: var(--space-md) var(--space-3xl);
  align-items: start;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.contact-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-bg-alt);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card__icon svg {
  width: 20px;
  height: 20px;
}

.contact-card h3 {
  font-size: var(--fs-base);
  margin-bottom: 2px;
}

.contact-card p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.contact-card__action {
  margin-top: 6px;
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--color-secondary-dark);
}

.contact-hours {
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.contact-hours h3 {
  font-size: var(--fs-base);
  margin-bottom: var(--space-md);
}

.contact-hours dl {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact-hours .hours-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-sm);
}

.contact-hours dt {
  color: var(--color-text-muted);
}

.contact-hours dd {
  font-weight: 600;
  color: var(--color-text);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 480px;
  background-color: var(--color-bg-alt);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
  display: block;
}

@media (max-width: 980px) {
  .story,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .story--reverse .story__image {
    order: 0;
  }
  .differentials__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .store-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .differentials__grid,
  .store-gallery__grid {
    grid-template-columns: 1fr;
  }
}
