/* Saldão de Móveis Jerusalém — versão produção */
:root {
  --azul-deep: #141f2f;
  --azul-jerusalem: #1a2a40;
  --amarelo-gold: #ffce00;
  --whatsapp: #25d366;
  --insta: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  --waze: #1a2a40;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f0f2f5;
  margin: 0;
  color: #333;
}

.oculto {
  display: none !important;
}

.main-wrapper {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

@media (min-width: 992px) {
  .main-wrapper {
    flex-direction: row;
  }
}

/* —— Hero sidebar: ambiente + overlay + logo transparente —— */
.hero-sidebar {
  position: relative;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 24px;
  text-align: center;
  border-bottom: 6px solid var(--amarelo-gold);
  min-height: 420px;
}

.hero-sidebar-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1555041469-a586c61ea9bc?auto=format&fit=crop&q=80&w=1200') center/cover;
}

.hero-sidebar-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 31, 47, 0.88) 0%, rgba(26, 42, 64, 0.92) 100%);
}

.hero-sidebar-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

@media (min-width: 992px) {
  .hero-sidebar {
    width: 40%;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    min-height: 0;
    border-bottom: none;
    border-right: 8px solid var(--amarelo-gold);
  }
}

.badge-promo {
  background: var(--amarelo-gold);
  color: var(--azul-deep);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .badge-promo {
    animation: none;
  }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Logo PNG transparente — flutua sobre o fundo, sem caixa */
.logo-img {
  max-width: 280px;
  width: 85%;
  margin-bottom: 20px;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.hero-title {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  max-width: 320px;
}

.hero-sub {
  margin: 0 0 24px;
  font-size: 1rem;
  opacity: 0.95;
}

@media (min-width: 992px) {
  .hero-title {
    font-size: 1.65rem;
  }
}

/* Faixa Instagram no hero (mosaico de fotos reais) */
.hero-instagram-feed {
  width: 100%;
  max-width: 260px;
  margin-top: 8px;
}

.hero-instagram-label {
  margin: 0 0 10px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

.hero-instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  margin-bottom: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.hero-instagram-grid:hover {
  text-decoration: none;
}

.hero-instagram-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.hero-instagram-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amarelo-gold);
  text-decoration: none;
}

.hero-instagram-cta:hover {
  text-decoration: underline;
  color: #ffd633;
}

/* —— Área de conteúdo —— */
.content-area {
  flex: 1;
  padding: 40px 20px;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .content-area {
    margin-left: 40%;
    padding: 60px 50px 60px 60px;
  }
}

.container-narrow {
  max-width: 600px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
  border-left: 4px solid var(--azul-jerusalem);
  padding-left: 15px;
  color: var(--azul-deep);
}

.section-lead {
  margin: 0 0 20px;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
}

/* WhatsApp com copy de conversão */
.btn-whatsapp-wrap {
  margin-bottom: 20px;
}

.btn-whatsapp-note {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: #2e7d32;
  font-weight: 600;
}

.action-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
}

.btn-main {
  text-decoration: none;
  padding: 20px 24px;
  border-radius: 15px;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  color: inherit;
}

.btn-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  color: inherit;
}

.btn-main:focus-visible {
  outline: 3px solid var(--azul-deep);
  outline-offset: 3px;
}

.btn-main span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-main .fa-chevron-right {
  font-size: 0.9rem;
  opacity: 0.9;
}

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

.instagram {
  background: var(--insta);
  color: white;
}

/* Categorias — fotos circulares (ícones fotográficos) */
.categorias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.categoria-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--azul-deep);
  transition: transform 0.2s;
}

.categoria-item:hover {
  text-decoration: none;
  color: var(--azul-jerusalem);
  transform: translateY(-2px);
}

.categoria-foto {
  width: 100%;
  max-width: 120px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 10px;
  border: 3px solid var(--amarelo-gold);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.categoria-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.categoria-nome {
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

.categoria-item:focus-visible {
  outline: 2px solid var(--azul-jerusalem);
  outline-offset: 4px;
  border-radius: 8px;
}

/* Nossa Loja — endereço e horário com ícones e contraste */
.loja-info {
  margin-bottom: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.loja-line {
  margin: 0 0 14px;
  font-size: 1.05rem;
  color: #1a1a1a;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.loja-line:last-child {
  margin-bottom: 0;
}

.loja-line i {
  color: var(--azul-jerusalem);
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.loja-line strong {
  color: var(--azul-deep);
}

/* Mapa e botões de navegação */
.map-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.mapa-embed {
  position: relative;
  width: 100%;
  min-height: 280px;
  background: #e5e7eb;
}

.mapa-placeholder {
  margin: 0;
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: #6b7280;
  font-size: 0.9rem;
}

.mapa-placeholder a {
  color: #4285f4;
  font-weight: 600;
}

.mapa-placeholder a:hover {
  text-decoration: underline;
}

.mapa-placeholder a:focus-visible {
  outline: 3px solid var(--azul-deep);
  outline-offset: 2px;
}

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

.map-footer {
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.nav-link {
  text-align: center;
  padding: 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.2s, background 0.2s;
}

.nav-link:hover {
  text-decoration: none;
  opacity: 0.92;
}

.nav-link:focus-visible {
  outline: 3px solid var(--azul-deep);
  outline-offset: 2px;
}

.google {
  background: #4285f4;
  color: white;
}

.waze {
  background: var(--waze);
  color: white;
}

/* Footer */
.site-footer {
  margin-top: 50px;
  text-align: center;
  font-size: 0.85rem;
  color: #6b7280;
}

.site-footer p {
  margin: 0 0 8px;
}

.footer-admin {
  font-size: 0.75rem;
  color: #9ca3af;
  text-decoration: none;
}

.footer-admin:hover {
  text-decoration: underline;
  color: #6b7280;
}

.footer-admin:focus-visible {
  outline: 2px solid var(--azul-jerusalem);
  outline-offset: 2px;
}
