/* ============================================
   E.D.S TECH - Estilos Principais
   ============================================ */

:root {
  --azul: #2d2a7d;
  --azul-escuro: #1e1c54;
  --vermelho: #e30613;
  --vermelho-escuro: #c00510;
  --amarelo: #fbbf24;
  --amarelo-escuro: #f59e0b;
  --verde-whatsapp: #25D366;
  --verde-whatsapp-escuro: #1da851;
  --cinza-bg: #f8f8fb;
  --cinza-borda: #e5e7eb;
  --cinza-texto: #6b7280;
  --preto: #111111;
  --branco: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  max-width: 100%;
  /* NÃO usar overflow: hidden no body — parte o position:fixed */
}
body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1f2937;
  background: var(--cinza-bg);
  line-height: 1.6;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ============================================
   HEADER
   ============================================ */
.header-top {
  background: #fbbf24;
  color: #2d2a7d;
  padding: 12px 0;
}

.header-top-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.header-logo-link { flex-shrink: 0; }

.header-logo {
  height: 65px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.25s;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.12));
}

.header-logo:hover { transform: scale(1.05); }

.header-logo-link-right {
  flex-shrink: 0;
  margin-left: auto;
}

.header-logo-right {
  height: 65px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.25s;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.12));
}

.header-logo-right:hover { transform: scale(1.05); }

.header-search {
  flex: 1;
  max-width: 420px;
  position: relative;
}

.header-search input {
  width: 100%;
  padding: 10px 16px;
  border-radius: 999px;
  border: none;
  font-size: 14px;
  outline: none;
  font-family: inherit;
  color: #2d2a7d;
  background: #fff;
}

.header-search button {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: #2d2a7d;
  border: none;
  border-radius: 999px;
  padding: 8px;
  color: #fbbf24;
  transition: background 0.2s;
}

.header-search button:hover { background: #1e1c54; }

.header-contacts {
  display: flex;
  gap: 16px;
  align-items: center;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #2d2a7d;
}

.header-contact svg {
  color: #e30613;
  width: 20px;
  height: 20px;
}

.header-contact small {
  display: block;
  font-size: 10px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.header-contact strong {
  color: #2d2a7d;
  font-weight: 700;
}

.header-nav {
  background: white;
  border-bottom: 1px solid var(--cinza-borda);
  padding: 12px 0;
}

.header-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
}

.menu a {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: #374151;
  padding: 8px 4px;
  position: relative;
  transition: color 0.2s;
}

.menu a:hover, .menu a.active {
  color: var(--vermelho);
}

.menu a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--amarelo);
  border-radius: 1px;
}

.btn-whatsapp-header {
  background: var(--vermelho);
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}

.btn-whatsapp-header:hover { background: var(--vermelho-escuro); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: linear-gradient(135deg, #f7f8fc 0%, #f0f2fa 50%, #f7f8fc 100%);
  color: #1f2937;
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content { text-align: left; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(45, 42, 125, 0.08);
  color: var(--azul);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--vermelho);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--azul);
  text-align: left;
}

.hero-sub {
  font-size: 20px;
  color: var(--cinza-texto);
  margin-bottom: 32px;
  font-weight: 500;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-feature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #1f2937;
  box-shadow: 0 2px 8px rgba(45, 42, 125, 0.06);
}

.hero-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--azul);
  color: white;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.2s;
}

.btn-hero-primary:hover {
  background: var(--azul-escuro);
  transform: translateY(-2px);
}

.btn-hero-secondary {
  background: white;
  color: var(--azul);
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--azul);
  transition: all 0.2s;
}

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

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-stat { text-align: left; }

.hero-stat strong {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--azul);
  line-height: 1;
}

.hero-stat span {
  font-size: 13px;
  color: var(--cinza-texto);
  margin-top: 4px;
  display: block;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
}

.hero-image img {
  max-width: 100%;
  max-height: 480px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(45, 42, 125, 0.15));
}

/* ============================================
   SEÇÕES
   ============================================ */
.section { padding: 80px 0; }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--azul);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.section-title::before,
.section-title::after {
  content: '';
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--azul), var(--vermelho));
}

.section-sub {
  color: var(--cinza-texto);
  font-size: 18px;
}

/* ============================================
   PRODUTOS
   ============================================ */
.produtos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.produto-card {
  background: white;
  border: 1px solid var(--cinza-borda);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.produto-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(45,42,125,0.12);
  border-color: var(--azul);
}

.produto-imagem {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #f9fafb;
  padding: 16px;
}

.produto-imagem-vazia {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d1d5db;
  padding: 0 !important;
}

.produto-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.produto-categoria {
  font-size: 11px;
  color: var(--cinza-texto);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.produto-nome {
  font-size: 16px;
  font-weight: 700;
  color: var(--azul);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
}

.produto-preco {
  font-size: 20px;
  font-weight: 800;
  color: var(--vermelho);
}

.produto-stock {
  display: inline-block;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
  width: fit-content;
}

.produto-stock.em-stock { background: #d1fae5; color: #065f46; }
.produto-stock.sem-stock { background: #fee2e2; color: #991b1b; }

.produto-acoes {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}

.btn-detalhes {
  flex: 1;
  background: white;
  border: 1px solid #d1d5db;
  color: var(--azul);
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s;
}

.btn-detalhes:hover {
  border-color: var(--azul);
  background: #f9fafb;
}

.btn-whatsapp {
  flex: 1;
  background: var(--verde-whatsapp);
  color: white;
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.2s;
}

.btn-whatsapp:hover { background: var(--verde-whatsapp-escuro); }

.estado-vazio {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 16px;
  color: #9ca3af;
  border: 1px solid var(--cinza-borda);
}

.estado-vazio svg {
  margin: 0 auto 16px;
  color: #d1d5db;
}

.estado-vazio h3 {
  color: var(--azul);
  margin-bottom: 8px;
  font-size: 20px;
}

.estado-vazio p {
  color: var(--cinza-texto);
  font-size: 14px;
}

/* ============================================
   CATEGORIAS
   ============================================ */
.categorias-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.categoria-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px 18px;
  background: #fff;
  border: 2px solid #e8ecf0;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  min-height: 120px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.25s,
              box-shadow 0.25s;
}

.categoria-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--vermelho) 0%, var(--azul) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.categoria-card:hover::before { transform: scaleX(1); }

.categoria-card:hover {
  transform: translateY(-6px);
  border-color: var(--azul);
  box-shadow: 0 16px 40px rgba(45, 42, 125, 0.15),
              0 4px 12px rgba(10, 61, 98, 0.06);
}

.categoria-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--azul);
  margin: 0;
  text-align: center;
  line-height: 1.3;
  transition: color 0.2s;
}

.categoria-card:hover h3 { color: var(--vermelho); }

.categoria-card .count {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  border-radius: 999px;
  transition: background 0.25s, color 0.25s;
  white-space: nowrap;
}

.categoria-card:hover .count {
  background: var(--azul);
  color: white;
}

/* ============================================
   SERVIÇOS
   ============================================ */
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.servico-card {
  position: relative;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 32px 28px 26px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s,
              border-color 0.3s;
}

.servico-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #2d2a7d 0%, #e30613 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s ease;
}

.servico-card:hover::before { transform: scaleX(1); }

.servico-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow:
    0 24px 48px rgba(45, 42, 125, 0.14),
    0 8px 16px rgba(45, 42, 125, 0.06);
}

.servico-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.servico-icon svg {
  width: 28px;
  height: 28px;
}

.servico-card:hover .servico-icon {
  transform: translateY(-4px) rotate(-4deg);
}

.servico-card:nth-child(3n+1) .servico-icon {
  background: linear-gradient(135deg, #f0f2fa, #e0e4f5);
  color: #2d2a7d;
}
.servico-card:nth-child(3n+1)::before {
  background: linear-gradient(90deg, #2d2a7d 0%, #4a47a3 100%);
}

.servico-card:nth-child(3n+2) .servico-icon {
  background: linear-gradient(135deg, #fef2f3, #fde0e2);
  color: #e30613;
}
.servico-card:nth-child(3n+2)::before {
  background: linear-gradient(90deg, #e30613 0%, #f43f5e 100%);
}

.servico-card:nth-child(3n) .servico-icon {
  background: linear-gradient(135deg, #fef9e7, #fef0c7);
  color: #b45309;
}
.servico-card:nth-child(3n)::before {
  background: linear-gradient(90deg, #fbbf24 0%, #e30613 100%);
}

.servico-card h3 {
  color: #2d2a7d;
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
  letter-spacing: -0.2px;
}

.servico-card p {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.servico-card .servico-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: transparent;
  border: 1.5px solid #2d2a7d;
  color: #2d2a7d;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  width: fit-content;
  transition: all 0.25s ease;
  margin-top: auto;
  text-decoration: none;
}

.servico-card .servico-btn:hover {
  background: #2d2a7d;
  color: white;
  transform: translateX(4px);
  box-shadow: 0 8px 20px rgba(45, 42, 125, 0.25);
}

.servico-card .servico-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
}

.servico-card .servico-btn:hover svg {
  transform: translateX(2px);
}

/* ============================================
   CTA FINAL
   ============================================ */
.cta-final {
  position: relative;
  background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 40%, #7c2d12 70%, #b91c1c 100%);
  color: white;
  padding: 80px 0;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-final::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-final .container {
  position: relative;
  z-index: 1;
}

.cta-final h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
  color: white;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.cta-final p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-botoes {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-final,
.btn-cta-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--verde-whatsapp);
  color: white;
  padding: 16px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.2px;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn-cta-final:hover,
.btn-cta-whatsapp:hover {
  background: var(--verde-whatsapp-escuro);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.45);
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: #1e1b4b;
  padding: 16px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid white;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-cta-outline:hover {
  background: transparent;
  color: white;
  transform: translateY(-3px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--azul);
  color: white;
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer h3 {
  color: var(--amarelo);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer p, .footer a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  line-height: 1.8;
}

.footer a:hover { color: var(--amarelo); }

.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }

.footer-logo {
  height: 60px;
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social a:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  display: block;
}

.footer-social a[aria-label="Facebook"]:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.footer-social a[aria-label="Instagram"]:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: #dc2743;
}

.footer-social a[aria-label="WhatsApp"]:hover {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* ============================================
   FOOTER TOP — Localizações e contactos
   ============================================ */
/* ═══════════════════════════════════════════════
   FOOTER TOP — Barra compacta com contactos
   ═══════════════════════════════════════════════ */
.footer-top {
  background: #1e1c54;
  color: #fff;
  padding: 18px 0;
  border-top: 4px solid #fbbf24;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
}

.footer-top-item {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-top-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-top-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.footer-top-text strong {
  font-size: 11px;
  font-weight: 800;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
}

.footer-top-text span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 900px) {
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 500px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .footer-top-text span {
    white-space: normal;
  }
}

.footer-top-text span a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-top-text span a:hover {
  color: #fbbf24;
}

/* Responsivo */
/* ═══════════════════════════════════════════════
   HEADER MOBILE — FIXO NO TOPO
   ═══════════════════════════════════════════════ */

@media (max-width: 900px) {

  /* Header amarelo FIXO no topo */
  .header-top {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    background: #fbbf24;
    padding: 8px 0;
    box-shadow: 0 4px 16px rgba(45, 42, 125, 0.18);
  }

  .header-top-inner {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "logoL logoR"
      "search search";
    gap: 8px 16px;
    justify-items: center;
    align-items: center;
  }

  .header-logo-link {
    grid-area: logoL;
    justify-self: center;
  }

  .header-logo-link-right {
    grid-area: logoR;
    justify-self: center;
    margin-left: 0;
  }

  .header-search {
    grid-area: search;
    justify-self: stretch;
    width: 100%;
    max-width: 100%;
    margin: 0;
    position: relative;
  }

  .header-logo,
  .header-logo-right {
    height: 38px !important;
    max-height: 38px !important;
    width: auto !important;
    max-width: 110px !important;
    object-fit: contain;
    display: block;
  }

  .header-search input {
    width: 100%;
    padding: 9px 40px 9px 14px;
    font-size: 13px;
    border-radius: 999px;
    background: #fff;
    border: none;
    color: #2d2a7d;
  }

  .header-search input::placeholder {
    color: #9ca3af;
    font-size: 12px;
  }

  .header-search button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #2d2a7d;
    color: #fbbf24;
    border: none;
    border-radius: 999px;
    padding: 6px 9px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-search button svg {
    width: 14px;
    height: 14px;
  }

  .header-contacts { display: none; }

  /* Nav fica por baixo do header fixo */
  .header-nav {
    position: sticky;
    top: 108px;
    z-index: 999;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  }

  .header-nav::-webkit-scrollbar { display: none; }

  .header-nav-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
    min-width: max-content;
  }

  .menu {
    display: flex !important;
    gap: 0;
    padding: 0 6px;
    flex-wrap: nowrap;
  }

  .menu li { flex-shrink: 0; }

  .menu a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 13px 14px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #374151;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    transition: all 0.2s;
  }

  .menu a svg { width: 14px; height: 14px; flex-shrink: 0; }

  .menu a.active {
    color: #e30613;
    border-bottom-color: #fbbf24;
  }

  .btn-whatsapp-header {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #e30613;
    color: #fff;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    margin: 8px 10px 8px 0;
    flex-shrink: 0;
  }

  .btn-whatsapp-header svg { width: 14px; height: 14px; }

  .menu-toggle { display: none !important; }

  /* Compensa a altura do header fixo no conteúdo */
  body {
    padding-top: 108px !important;
  }
}

/* ── Ecrãs muito pequenos ── */
@media (max-width: 480px) {
  .header-logo,
  .header-logo-right {
    height: 34px !important;
    max-height: 34px !important;
    max-width: 95px !important;
  }

  .header-nav { top: 100px; }

  body { padding-top: 100px !important; }

  .menu a {
    padding: 11px 12px;
    font-size: 11px;
  }
}
/* ============================================
   BOTÃO WHATSAPP FLUTUANTE
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow:
    0 10px 30px rgba(37, 211, 102, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: whatsapp-pulse 2s ease-in-out infinite;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  display: block;
  flex-shrink: 0;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow:
    0 16px 40px rgba(37, 211, 102, 0.55),
    0 6px 16px rgba(0, 0, 0, 0.2);
  animation-play-state: paused;
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow:
      0 10px 30px rgba(37, 211, 102, 0.4),
      0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow:
      0 10px 30px rgba(37, 211, 102, 0.4),
      0 0 0 20px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow:
      0 10px 30px rgba(37, 211, 102, 0.4),
      0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-float-tooltip {
  position: absolute;
  top: 50%;
  right: calc(100% + 14px);
  transform: translateY(-50%) translateX(8px);
  background: #0f172a;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  line-height: 1.2;
  z-index: 10;
}

.whatsapp-float-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 7px solid transparent;
  border-left-color: #0f172a;
  border-right-width: 0;
}

.whatsapp-float:hover .whatsapp-float-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* ============================================
   PAGE HERO (páginas internas)
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-escuro) 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
  color: white;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--cinza-texto);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--azul);
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.breadcrumb a:hover { color: var(--vermelho); }
.breadcrumb strong { color: var(--preto); }
.breadcrumb span { color: #ababbb; }

/* ============================================
   LOJA
   ============================================ */
.loja-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
}

.loja-sidebar {
  position: sticky;
  top: 20px;
  height: fit-content;
}

.filtro-bloco {
  background: white;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--cinza-borda);
}

.filtro-bloco h3 {
  color: var(--azul);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filtro-categorias { list-style: none; }
.filtro-categorias li { margin-bottom: 4px; }

.filtro-categorias a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--cinza-texto);
  transition: all 0.2s;
}

.filtro-categorias a:hover {
  background: #f0f2fa;
  color: var(--azul);
}

.filtro-categorias a.ativo {
  background: var(--azul);
  color: white;
  font-weight: 600;
}

.loja-main { min-width: 0; }

.loja-topo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.loja-topo p {
  font-size: 14px;
  color: var(--cinza-texto);
}

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

.loja-ordem select {
  padding: 8px 16px;
  border: 1px solid var(--cinza-borda);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: var(--azul);
  background: white;
  cursor: pointer;
  outline: none;
}

.loja-ordem select:focus { border-color: var(--azul); }

/* ============================================
   PRODUTO DETALHE
   ============================================ */
.produto-detalhe { padding: 20px 0 60px; }

.produto-detalhe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.produto-detalhe-imagem {
  background: white;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--cinza-borda);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 320px;
  max-height: 320px;
  overflow: hidden;
}

.produto-detalhe-imagem img {
  max-width: 100%;
  max-height: 280px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.produto-detalhe-info h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--azul);
  margin: 12px 0 16px;
  line-height: 1.2;
}

.produto-marca {
  color: var(--cinza-texto);
  font-size: 14px;
  margin-bottom: 16px;
}

.produto-detalhe-preco {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}

.preco-original {
  font-size: 18px;
  color: #ababbb;
  text-decoration: line-through;
}

.preco-atual {
  font-size: 36px;
  font-weight: 800;
  color: var(--vermelho);
}

.badge-desconto {
  background: var(--vermelho);
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}

.produto-detalhe-descricao {
  color: var(--cinza-texto);
  font-size: 16px;
  line-height: 1.8;
  margin: 24px 0;
}

.btn-whatsapp-grande {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--verde-whatsapp);
  color: white;
  padding: 18px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 18px;
  margin: 24px 0;
  transition: background 0.2s;
}

.btn-whatsapp-grande:hover { background: var(--verde-whatsapp-escuro); }

.produto-detalhe-info-extra {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--cinza-borda);
}

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

.info-item svg { color: var(--vermelho); flex-shrink: 0; }

.info-item strong {
  display: block;
  color: var(--azul);
  font-size: 14px;
  margin-bottom: 2px;
}

.info-item span {
  color: var(--cinza-texto);
  font-size: 13px;
}

/* ============================================
   BLOG
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.blog-card {
  background: white;
  border: 1px solid var(--cinza-borda);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(45,42,125,0.1);
  border-color: var(--azul);
}

.blog-card-imagem {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #f9fafb;
}

.blog-imagem-vazia {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d1d5db;
}

.blog-card-info {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.blog-card-categoria {
  font-size: 10px;
  color: var(--vermelho);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.blog-card-titulo {
  font-size: 15px;
  font-weight: 700;
  color: var(--azul);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-resumo {
  font-size: 12px;
  color: var(--cinza-texto);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #ababbb;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--vermelho);
  margin-top: auto;
  padding-top: 8px;
}

.blog-card-link:hover { color: var(--azul); }

/* ============================================
   POST INDIVIDUAL
   ============================================ */
.post-artigo { padding: 20px 0 40px; }

.post-categoria {
  display: inline-block;
  background: var(--vermelho);
  color: white;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.post-titulo {
  font-size: 30px;
  font-weight: 800;
  color: var(--azul);
  line-height: 1.2;
  margin-bottom: 16px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--cinza-texto);
  font-size: 13px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--cinza-borda);
  margin-bottom: 20px;
}

.post-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.post-meta-item svg { color: var(--vermelho); }

.post-imagem {
  width: 100%;
  max-height: 400px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}

.post-imagem img {
  width: 100%;
  height: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

.post-conteudo {
  font-size: 15px;
  line-height: 1.8;
  color: #374151;
}

.post-partilhar {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--cinza-borda);
  text-align: center;
}

.post-partilhar p {
  color: var(--cinza-texto);
  font-size: 14px;
  margin-bottom: 12px;
}

.btn-partilhar-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--verde-whatsapp);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  transition: background 0.2s;
}

.btn-partilhar-whatsapp:hover { background: var(--verde-whatsapp-escuro); }

/* ============================================
   SOBRE
   ============================================ */
.sobre-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: white;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}

.sobre-badge-inline {
  display: inline-block;
  background: #f0f2fa;
  color: var(--azul);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.sobre-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.sobre-stat {
  background: white;
  border: 1px solid var(--cinza-borda);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  transition: all 0.3s;
}

.sobre-stat:hover {
  border-color: var(--azul);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(45,42,125,0.08);
}

.sobre-stat-numero {
  font-size: 32px;
  font-weight: 800;
  color: var(--azul);
  line-height: 1;
  margin-bottom: 6px;
}

.sobre-stat-label {
  color: var(--cinza-texto);
  font-size: 12px;
  font-weight: 500;
}

.sobre-historia {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.sobre-historia-texto h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--azul);
  margin-bottom: 16px;
  line-height: 1.3;
}

.sobre-historia-texto p {
  color: var(--cinza-texto);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.sobre-historia-card {
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-escuro) 100%);
  color: white;
  border-radius: 16px;
  padding: 28px;
}

.sobre-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.sobre-card-item {
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.sobre-card-item svg { width: 22px; height: 22px; }

.sobre-historia-card blockquote {
  font-size: 15px;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 12px;
  font-weight: 500;
}

.sobre-card-autor {
  font-size: 13px;
  font-weight: 700;
  opacity: 0.9;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.area-card {
  background: var(--cinza-bg);
  border: 1px solid var(--cinza-borda);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  transition: all 0.3s;
}

.area-card:hover {
  background: white;
  border-color: var(--azul);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(45,42,125,0.08);
}

.area-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.area-card h3 {
  color: var(--azul);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.valor-card {
  background: white;
  border: 1px solid var(--cinza-borda);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  transition: all 0.3s;
}

.valor-card:hover {
  border-color: var(--azul);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(45,42,125,0.08);
}

.valor-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.valor-card h3 {
  color: var(--azul);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.valor-card p {
  color: var(--cinza-texto);
  font-size: 12px;
  line-height: 1.6;
}

.porque-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.porque-card {
  background: var(--cinza-bg);
  border: 1px solid var(--cinza-borda);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s;
}

.porque-card:hover {
  background: white;
  border-color: var(--azul);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(45,42,125,0.1);
}

.porque-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--azul) 0%, var(--vermelho) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: white;
}

.porque-card h3 {
  color: var(--azul);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.porque-card p {
  color: var(--cinza-texto);
  font-size: 13px;
  line-height: 1.6;
}

/* ============================================
   CONTACTO
   ============================================ */
.contacto-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}

.contacto-form {
  background: white;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--cinza-borda);
}

.contacto-form-header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--cinza-borda);
}

.contacto-form-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f0f2fa;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--azul);
  flex-shrink: 0;
}

.contacto-form-header h2 {
  color: var(--azul);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
}

.contacto-form-header p {
  color: var(--cinza-texto);
  font-size: 12px;
}

.form-campo {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-campo label {
  color: var(--azul);
  font-size: 12px;
  font-weight: 600;
}

.form-input-wrap { position: relative; }

.form-input-wrap > svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #ababbb;
  pointer-events: none;
  z-index: 1;
}

.form-input-wrap:has(textarea) > svg {
  top: 14px;
  transform: none;
}

.form-input-wrap input,
.form-input-wrap select,
.form-input-wrap textarea {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border: 1px solid var(--cinza-borda);
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  color: var(--preto);
  background: white;
  outline: none;
  transition: border-color 0.2s;
}

.form-input-wrap input:focus,
.form-input-wrap select:focus,
.form-input-wrap textarea:focus {
  border-color: var(--azul);
}

.form-input-wrap textarea {
  resize: vertical;
  padding-top: 12px;
}

.btn-enviar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--azul);
  color: white;
  padding: 13px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  margin-top: 8px;
  transition: background 0.2s;
}

.btn-enviar:hover { background: var(--azul-escuro); }

.form-seguranca {
  text-align: center;
  font-size: 11px;
  color: var(--cinza-texto);
  margin-top: 12px;
}

.contacto-rapido h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--azul);
  margin-bottom: 6px;
}

.contacto-sub {
  color: var(--cinza-texto);
  font-size: 13px;
  margin-bottom: 20px;
}

.canal-card {
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 14px;
  border: 1px solid var(--cinza-borda);
  background: white;
}

.canal-card-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.canal-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.canal-card h3 {
  color: var(--azul);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.canal-card p {
  color: var(--cinza-texto);
  font-size: 12px;
  line-height: 1.5;
}

.canal-whatsapp { background: #f0fdf4; border-color: #bbf7d0; }
.canal-whatsapp .canal-card-icon { background: var(--verde-whatsapp); color: white; }

.canal-numero {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #166534 !important;
  margin-bottom: 12px !important;
}

.canal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--verde-whatsapp);
  color: white;
  padding: 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-align: center;
  transition: background 0.2s;
}

.canal-btn:hover { background: var(--verde-whatsapp-escuro); }

.canal-email { background: #eff6ff; border-color: #bfdbfe; }
.canal-email .canal-card-icon { background: #3b82f6; color: white; }

.canal-link {
  display: block;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 0 0;
  border-top: 1px solid #bfdbfe;
  margin-top: 4px;
}

.canal-localizacao { background: #fffbeb; border-color: #fde68a; }
.canal-localizacao .canal-card-icon { background: #f59e0b; color: white; }

.canal-horario { background: #f9fafb; border-color: var(--cinza-borda); }
.canal-horario .canal-card-icon { background: var(--azul); color: white; }

.horario-linhas {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--cinza-borda);
  margin-top: 12px;
}

.horario-linha {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.horario-linha span { color: var(--cinza-texto); }
.horario-linha strong { color: var(--azul); font-weight: 700; }

/* ============================================
   ALERTA
   ============================================ */
.alerta {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 13px;
}

.alerta svg { flex-shrink: 0; margin-top: 2px; }
.alerta strong { display: block; margin-bottom: 4px; }
.alerta p { margin: 0; }

.alerta-sucesso { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.alerta-erro { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ============================================
   SERVIÇOS NO FUNDO DA PÁGINA (contacto)
   ============================================ */
.servicos-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.servico-footer-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 8px;
}

.servico-footer-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #f0f2fa;
  color: var(--azul);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.servico-footer-icon svg {
  width: 26px;
  height: 26px;
}

.servico-footer-item:hover .servico-footer-icon {
  background: var(--azul);
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(45, 42, 125, 0.2);
}

.servico-footer-item span {
  color: var(--azul);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

/* ============================================
   HOME — Localizações
   ============================================ */
.localizacoes-home {
  background: #fff;
  padding: 70px 0;
}

.localizacoes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.localizacao-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.localizacao-card:hover {
  transform: translateY(-6px);
  border-color: #2d2a7d;
  box-shadow: 0 20px 40px rgba(45, 42, 125, 0.12);
}

.localizacao-mapa {
  position: relative;
  width: 100%;
  height: 220px;
  background: #f3f4f6;
  overflow: hidden;
}

.localizacao-mapa iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  filter: grayscale(15%);
  transition: filter 0.3s;
}

.localizacao-card:hover .localizacao-mapa iframe {
  filter: grayscale(0%);
}

.localizacao-info {
  display: flex;
  gap: 14px;
  padding: 22px;
  align-items: flex-start;
}

.localizacao-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #b91c1c;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.localizacao-info h3 {
  font-size: 17px;
  font-weight: 800;
  color: #2d2a7d;
  margin: 0 0 6px;
  letter-spacing: -0.2px;
}

.localizacao-info p {
  font-size: 13.5px;
  color: #6b7280;
  line-height: 1.55;
  margin: 0 0 12px;
}

.localizacao-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #e30613;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: gap 0.2s;
}

.localizacao-link:hover {
  gap: 10px;
}

/* ============================================
   RESPONSIVO GERAL (tablet + mobile)
   ============================================ */
@media (max-width: 900px) {
  .loja-grid { grid-template-columns: 1fr; }
  .loja-sidebar { position: static; }

  .produto-detalhe-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .produto-detalhe-info h1 { font-size: 28px; }
  .preco-atual { font-size: 28px; }

  .contacto-grid { grid-template-columns: 1fr; }

  .sobre-historia {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sobre-historia-texto h2 { font-size: 22px; }
  .sobre-stat-numero { font-size: 26px; }
  .area-card h3 { font-size: 12px; }

  .cta-final h2 { font-size: 32px; }
  .cta-final p { font-size: 16px; }

  /* CATEGORIAS */
  .categorias-grid { grid-template-columns: repeat(2, 1fr); }

  /* SERVIÇOS */
  .servicos-grid { grid-template-columns: repeat(2, 1fr); }

  /* FOOTER TOP */
  .footer-top-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  /* HERO */
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content { text-align: center; }
  .hero-title { text-align: center; font-size: 36px; }
  .hero-sub { font-size: 16px; }
  .hero-features { justify-content: center; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-stat { text-align: center; }
}

@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .section-title { font-size: 26px; }
  .section-title::before, .section-title::after { width: 24px; }

  .localizacoes-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .cta-final { padding: 60px 0; }
  .cta-final h2 { font-size: 26px; }
  .cta-final p { font-size: 15px; }
  .btn-cta-final,
  .btn-cta-whatsapp,
  .btn-cta-outline {
    padding: 14px 24px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
  }

  .servicos-grid { grid-template-columns: 1fr; }
  .servicos-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .localizacoes-home { padding: 50px 0; }
  .localizacao-mapa { height: 180px; }
  .localizacao-info { padding: 18px; }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
  .whatsapp-float-tooltip { display: none; }
}

/* ============================================
   HEADER MOBILE (2 logos em cima, pesquisa em baixo)
   ============================================ */
@media (max-width: 900px) {

  .header-top {
    background: #fbbf24;
    padding: 12px 0;
  }

  .header-top-inner {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "logoL logoR"
      "search search";
    gap: 10px 16px;
    justify-items: center;
    align-items: center;
  }

  .header-logo-link {
    grid-area: logoL;
    justify-self: center;
  }

  .header-logo-link-right {
    grid-area: logoR;
    justify-self: center;
    margin-left: 0;
  }

  .header-search {
    grid-area: search;
    justify-self: stretch;
    width: 100%;
    max-width: 100%;
    margin: 0;
    position: relative;
  }

  .header-logo,
  .header-logo-right {
    height: 55px !important;
    width: auto !important;
    max-height: 55px !important;
    max-width: 140px !important;
    object-fit: contain;
    display: block;
  }

  .header-search input {
    width: 100%;
    padding: 11px 46px 11px 16px;
    font-size: 14px;
    border-radius: 999px;
    background: #fff;
    border: none;
    color: #2d2a7d;
  }

  .header-search input::placeholder {
    color: #9ca3af;
    font-size: 13px;
  }

  .header-search button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #2d2a7d;
    color: #fbbf24;
    border: none;
    border-radius: 999px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-search button svg {
    width: 15px;
    height: 15px;
  }

  .header-contacts { display: none; }

  .header-nav {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .header-nav::-webkit-scrollbar { display: none; }

  .header-nav-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
    min-width: max-content;
  }

  .menu {
    display: flex !important;
    gap: 0;
    padding: 0 6px;
    flex-wrap: nowrap;
  }

  .menu li { flex-shrink: 0; }

  .menu a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 14px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #374151;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    transition: all 0.2s;
  }

  .menu a svg { width: 14px; height: 14px; flex-shrink: 0; }

  .menu a.active {
    color: #e30613;
    border-bottom-color: #fbbf24;
  }

  .menu a:hover { color: #e30613; }

  .btn-whatsapp-header {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #e30613;
    color: #fff;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    margin: 8px 10px 8px 0;
    flex-shrink: 0;
  }

  .btn-whatsapp-header svg { width: 14px; height: 14px; }

  .menu-toggle { display: none !important; }
}

@media (max-width: 480px) {
  .header-logo,
  .header-logo-right {
    height: 48px !important;
    max-height: 48px !important;
    max-width: 120px !important;
  }

  .header-search input {
    padding: 10px 42px 10px 14px;
    font-size: 13px;
  }

  .header-search button { padding: 7px 9px; }

  .menu a {
    padding: 12px 12px;
    font-size: 11px;
  }
}
/* ═══════════════════════════════════════════════
   FOOTER PREMIUM
   ═══════════════════════════════════════════════ */
.footer {
  background: linear-gradient(180deg, #2d2a7d 0%, #1e1c54 100%);
  color: #fff;
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.06), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1000px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
}

/* ── Sobre ── */
.footer-logo {
  height: 55px;
  width: auto;
  margin-bottom: 18px;
  filter: brightness(1.05);
}

.footer-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 20px;
  max-width: 320px;
}

/* ── Redes sociais ── */
.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.25s;
}

.footer-social a svg {
  width: 16px;
  height: 16px;
}

.footer-social a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.footer-social a[aria-label="Facebook"]:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.footer-social a[aria-label="Instagram"]:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: #dc2743;
}

.footer-social a[aria-label="WhatsApp"]:hover {
  background: #25d366;
  border-color: #25d366;
}

/* ── Títulos ── */
.footer-title {
  font-size: 13px;
  font-weight: 800;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, #fbbf24 0%, transparent 100%);
  border-radius: 2px;
  max-width: 40px;
}

/* ── Links ── */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.footer-links a::before {
  content: '›';
  position: absolute;
  left: -14px;
  opacity: 0;
  transition: all 0.2s;
  color: #fbbf24;
  font-weight: 800;
}

.footer-links a:hover {
  color: #fbbf24;
  padding-left: 12px;
}

.footer-links a:hover::before {
  opacity: 1;
  left: 0;
}

/* ── Newsletter ── */
.footer-news-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  margin-bottom: 14px;
}

.footer-news-form {
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 4px 4px 4px 16px;
  margin-bottom: 18px;
  transition: all 0.25s;
}

.footer-news-form:focus-within {
  border-color: #fbbf24;
  background: rgba(251, 191, 36, 0.08);
}

.footer-news-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  padding: 10px 0;
  min-width: 0;
}

.footer-news-form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.footer-news-form button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fbbf24;
  color: #2d2a7d;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s;
  flex-shrink: 0;
}

.footer-news-form button:hover {
  background: #f59e0b;
  transform: scale(1.05);
}

/* ── Trust items ── */
.footer-trust {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-trust-item svg {
  color: #10b981;
  flex-shrink: 0;
}

/* ── Rodapé final ── */
.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copy {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.footer-copy strong {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
}

.footer-website {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.footer-website svg {
  color: #fbbf24;
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
/* ═══════════════════════════════════════════════
   HEADER FIXO NO MOBILE
   ═══════════════════════════════════════════════ */

@media (max-width: 900px) {

  /* Fixa o header amarelo no topo */
  .header-top {
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(45, 42, 125, 0.15);
  }

  /* Fixa também a barra de navegação por baixo */
  .header-nav {
    position: sticky;
    top: 96px; /* altura do header-top em mobile */
    z-index: 998;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }

  /* Compensa o espaço ocupado pelo header fixo */
  body {
    padding-top: 0;
  }

  /* Reduz o tamanho do header para não ocupar muito */
  .header-top {
    padding: 8px 0;
  }

  .header-logo,
  .header-logo-right {
    height: 40px !important;
    max-height: 40px !important;
  }

  .header-search input {
    padding: 8px 40px 8px 14px;
    font-size: 13px;
  }

  .header-search button {
    padding: 6px 9px;
  }

  .menu a {
    padding: 12px 14px;
    font-size: 12px;
  }
}

/* ── Ajuste para ecrãs muito pequenos ── */
@media (max-width: 480px) {

  .header-logo,
  .header-logo-right {
    height: 36px !important;
    max-height: 36px !important;
  }

  .header-nav {
    top: 88px;
  }

  .menu a {
    padding: 11px 12px;
    font-size: 11px;
  }
}
@media (max-width: 900px) {
  .header-top,
  .header-nav {
    position: relative;
    top: auto;
    box-shadow: none;
  }

  /* Apenas o header-top fica sticky */
  .header-top {
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(45, 42, 125, 0.15);
  }
}
/* ═══════════════════════════════════════════════
   HEADER MOBILE — Logos maiores
   ═══════════════════════════════════════════════ */

@media (max-width: 900px) {

  .header-top-inner {
    grid-template-columns: auto auto !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 4px;
  }

  /* Logo ESQUERDA */
  .header-logo-link {
    justify-self: start !important;
  }

  /* Logo DIREITA */
  .header-logo-link-right {
    justify-self: end !important;
  }

  /* Ambas as logos - maiores e com aspect ratio correto */
  .header-logo,
  .header-logo-right {
    height: 60px !important;
    max-height: 60px !important;
    width: auto !important;
    max-width: 130px !important;
    object-fit: contain !important;
    display: block !important;
  }

  .header-search {
    grid-column: 1 / -1 !important;
    margin-top: 8px;
  }
}

@media (max-width: 480px) {
  .header-logo,
  .header-logo-right {
    height: 52px !important;
    max-height: 52px !important;
    max-width: 110px !important;
  }
}
/* ═══════════════════════════════════════════════
   FOOTER — Logo quadrada sem esticar
   ═══════════════════════════════════════════════ */

.footer-logo {
  height: 80px !important;
  width: 80px !important;
  max-width: 80px !important;
  max-height: 80px !important;
  object-fit: contain !important;
  aspect-ratio: 1 / 1 !important;
  display: block !important;
  margin-bottom: 18px !important;
  filter: none !important;
  background: transparent !important;
}

/* Se a logo tem fundo amarelo, adiciona um padding branco para ela respirar */
.footer-logo {
  background: #fff;
  padding: 6px;
  border-radius: 10px;
}

@media (max-width: 600px) {
  .footer-logo {
    height: 70px !important;
    width: 70px !important;
    max-width: 70px !important;
    max-height: 70px !important;
  }
}
/* ═══════════════════════════════════════════════
   HEADER MOBILE — Logos GRANDES e visíveis
   ═══════════════════════════════════════════════ */

@media (max-width: 900px) {

  /* Container do header com padding mais generoso */
  .header-top {
    padding: 14px 0 !important;
    background: #fbbf24;
  }

  .header-top-inner {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-areas:
      "logoL logoR"
      "search search" !important;
    gap: 10px 12px !important;
    justify-items: center !important;
    align-items: center !important;
    padding: 0 8px !important;
  }

  .header-logo-link {
    grid-area: logoL !important;
    justify-self: center !important;
  }

  .header-logo-link-right {
    grid-area: logoR !important;
    justify-self: center !important;
  }

  /* 🔥 LOGOS GRANDES */
  .header-logo,
  .header-logo-right {
    height: 90px !important;
    max-height: 90px !important;
    width: auto !important;
    max-width: 160px !important;
    object-fit: contain !important;
    display: block !important;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15)) !important;
  }

  /* Pesquisa */
  .header-search {
    grid-area: search !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .header-search input {
    padding: 12px 46px 12px 18px !important;
    font-size: 14px !important;
    border-radius: 999px !important;
    background: #fff !important;
  }

  .header-search button {
    padding: 9px 11px !important;
    right: 5px !important;
  }
}

/* ── Ecrãs pequenos (telemóveis normais) ── */
@media (max-width: 480px) {
  .header-logo,
  .header-logo-right {
    height: 75px !important;
    max-height: 75px !important;
    max-width: 140px !important;
  }

  .header-top {
    padding: 12px 0 !important;
  }
}

/* ── Ecrãs muito pequenos ── */
@media (max-width: 360px) {
  .header-logo,
  .header-logo-right {
    height: 65px !important;
    max-height: 65px !important;
    max-width: 120px !important;
  }
}