:root { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body { font-family: 'DM Sans', sans-serif; }
h1, h2, h3, h4, h5 { font-family: 'Sora', sans-serif; }
html, body { overflow-x: hidden; max-width: 100vw; }
img, video, iframe, table { max-width: 100%; }

.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nav-link.active { color: #0070f3; font-weight: 600; }

/* ── Logótipo ── */
.site-logo-img {
  height: auto;
  max-height: 72px;
  width: auto;
  max-width: 340px;
  object-fit: contain;
}
.site-logo-img-footer {
  height: auto;
  max-height: 50px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
}
.footer-logo-wrapper {
  display: inline-block;
  background: #ffffff;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}
@media (max-width: 640px) {
  .site-logo-img { max-height: 52px; max-width: 220px; }
}

/* ── Blog ── */
.blog-thumb { display: block; aspect-ratio: 16 / 9; background: #F0F4FF; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0d1f5c 0%, #0070f3 100%);
  color: #fff; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px;
  text-align: center; padding: 20px;
}

/* ── Testemunhos ── */
.testemunho-card { background: #fff; border: 1.5px solid #E2E8F0; border-radius: 16px; padding: 28px; transition: all .2s; }
.testemunho-card:hover { border-color: #0070f3; box-shadow: 0 8px 30px rgba(19,70,200,.1); }

/* ── Botões de partilha ── */
.share-buttons { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.share-label { font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 600; color: #64748b; margin-right: 4px; }
.share-btn { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; transition: transform .15s, opacity .15s; border: none; cursor: pointer; }
.share-btn:hover { transform: translateY(-2px); opacity: .9; }

/* ── Conteúdo formatado (prose) ── */
.prose h2 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.5rem; margin-top: 2rem; margin-bottom: .75rem; color: #0f172a; }
.prose h3 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.25rem; margin-top: 1.5rem; margin-bottom: .5rem; color: #0f172a; }
.prose p { margin-bottom: 1rem; }
.prose ul, .prose ol { margin: 1rem 0 1rem 1.5rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .4rem; }
.prose a { color: #0070f3; text-decoration: underline; }
.prose blockquote { border-left: 4px solid #0070f3; padding-left: 1rem; font-style: italic; color: #475569; margin: 1.5rem 0; }
.prose strong { font-weight: 700; color: #0f172a; }
.prose img { border-radius: 12px; margin: 1.5rem 0; }

/* ── Hero ── */
.hero-bg {
  background: linear-gradient(135deg, #0d1f5c 0%, #0070f3 55%, #1e6fff 100%);
  position: relative;
  overflow: hidden;
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Ccircle cx='40' cy='40' r='1' fill='%23ffffff' fill-opacity='0.06'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
}
.hero-glow { position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(0,200,150,.18) 0%, transparent 70%); right: -100px; top: -100px; pointer-events: none; }
.hero-glow-2 { position: absolute; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.07) 0%, transparent 70%); left: -80px; bottom: -80px; pointer-events: none; }

/* ── Category pill ── */
.cat-pill { background: #fff; border: 1.5px solid #E2E8F0; border-radius: 999px; padding: 10px 22px; display: inline-flex; align-items: center; gap: 8px; font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .18s; white-space: nowrap; }
.cat-pill:hover { background: #0070f3; border-color: #0070f3; color: #fff; box-shadow: 0 4px 16px rgba(19,70,200,.25); }

/* ── Product card ── */
.prod-card { background: #fff; border: 1.5px solid #E2E8F0; border-radius: 18px; overflow: hidden; transition: all .22s; position: relative; }
.prod-card:hover { border-color: #0070f3; box-shadow: 0 12px 40px rgba(19,70,200,.13); transform: translateY(-4px); }
.prod-card .img-wrap { aspect-ratio: 1; background: #F0F4FF; overflow: hidden; }
.prod-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.prod-card:hover img { transform: scale(1.06); }
.badge-discount { position: absolute; top: 12px; right: 12px; background: #ef4444; color: #fff; font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .02em; }
.badge-stock { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); color: #059669; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid #d1fae5; display: flex; align-items: center; gap: 5px; }

/* ── Buttons ── */
.btn-primary { background: #0070f3; color: #fff; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 14px; border-radius: 10px; padding: 11px 20px; display: inline-flex; align-items: center; gap: 8px; transition: all .18s; cursor: pointer; border: none; text-decoration: none; }
.btn-primary:hover { background: #0059c1; box-shadow: 0 6px 20px rgba(0,112,243,.3); transform: translateY(-1px); color: #fff; }
.btn-accent { background: #00C896; color: #fff; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 14px; border-radius: 10px; padding: 11px 20px; display: inline-flex; align-items: center; gap: 8px; transition: all .18s; cursor: pointer; border: none; text-decoration: none; }
.btn-accent:hover { background: #00a07a; box-shadow: 0 6px 20px rgba(0,200,150,.3); transform: translateY(-1px); color: #fff; }
.btn-ghost { background: transparent; color: #0070f3; border: 1.5px solid #0070f3; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 14px; border-radius: 10px; padding: 11px 20px; display: inline-flex; align-items: center; gap: 8px; transition: all .18s; cursor: pointer; text-decoration: none; }
.btn-ghost:hover { background: #0070f3; color: #fff; }
.btn-whatsapp { background: #25D366; color: #fff; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 14px; border-radius: 10px; padding: 11px 20px; display: inline-flex; align-items: center; gap: 8px; transition: all .18s; cursor: pointer; border: none; text-decoration: none; }
.btn-whatsapp:hover { background: #1ebe5d; box-shadow: 0 6px 20px rgba(37,211,102,.3); transform: translateY(-1px); color: #fff; }
.btn-white { background: #ffffff; color: #0d1f5c; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 14px; border-radius: 10px; padding: 11px 20px; display: inline-flex; align-items: center; gap: 8px; transition: all .18s; cursor: pointer; border: none; text-decoration: none; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.btn-white:hover { background: #f8fafc; box-shadow: 0 6px 20px rgba(0,0,0,0.15); transform: translateY(-1px); color: #0d1f5c; }

/* ── Section eyebrow ── */
.section-eyebrow { font-family: 'Sora', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #0070f3; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.section-eyebrow::before { content: ''; display: inline-block; width: 24px; height: 2px; background: #0070f3; border-radius: 2px; }

/* ── Feature item ── */
.feature-item { display: flex; align-items: flex-start; gap: 16px; padding: 24px; background: #fff; border: 1.5px solid #E2E8F0; border-radius: 16px; transition: all .2s; }
.feature-item:hover { border-color: #0070f3; box-shadow: 0 4px 20px rgba(19,70,200,.09); }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ── CTA band ── */
.cta-band { background: linear-gradient(135deg, #0d1f5c 0%, #0070f3 100%); border-radius: 24px; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; border-radius: 50%; background: rgba(0,200,150,.18); }

/* ── WhatsApp FAB ── */
.wa-fab { position: fixed; bottom: 28px; right: 28px; z-index: 9999; background: #25D366; width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 28px rgba(37,211,102,.45); transition: all .2s; animation: pulse-wa 2.5s infinite; color: #fff; }
.wa-fab:hover { transform: scale(1.12); background: #1ebe5d; color: #fff; }
@keyframes pulse-wa { 0%,100% { box-shadow: 0 8px 28px rgba(37,211,102,.45); } 50% { box-shadow: 0 8px 40px rgba(37,211,102,.7); } }

/* ── Filter buttons (shop) ── */
.filter-btn { font-size: 13px; font-weight: 500; border-radius: 8px; padding: 8px 14px; transition: all .15s; }
.filter-btn:hover { background: #F0F4FF; color: #0070f3; }
.filter-btn.active { background: #0070f3; color: #fff; font-weight: 600; }

/* ── Cart badge ── */
.cart-badge { transition: transform .2s; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #F7F9FC; }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94A3B8; }

/* ── Mobile ── */
@media (max-width: 768px) {
  button, a, [role="button"] { min-height: 44px; }
  input, select, textarea { font-size: 16px !important; }
  .wa-fab { bottom: 16px; right: 16px; }
}
@media (max-width: 640px) {
  section { padding-left: 1rem !important; padding-right: 1rem !important; }
}

/* ── Topbar ── */
.gt-topbar {
  background: #0d1f5c;
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: 'DM Sans', sans-serif;
}
.gt-topbar a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.15s ease;
}
.gt-topbar a:hover {
  color: #ffffff;
}
.gt-topbar-icon {
  color: rgba(255, 255, 255, 0.5);
  width: 14px;
  height: 14px;
}

/* ── Social links in Footer ── */
.gt-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  text-decoration: none;
}
.gt-social-link:hover {
  background: #0070f3;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ── Cookie Consent Card (canto discreto) ── */
.gt-cookie-card {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
  width: 320px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.14), 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 18px 20px 20px;
  font-family: 'DM Sans', sans-serif;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  pointer-events: none;
}
.gt-cookie-card[hidden] { display: none !important; }
.gt-cookie-card.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.gt-cookie-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.gt-cookie-card__icon { font-size: 18px; line-height: 1; }
.gt-cookie-card__title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #0f172a;
  flex: 1;
}
.gt-cookie-card__close {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  flex-shrink: 0;
}
.gt-cookie-card__close svg { width: 14px; height: 14px; }
.gt-cookie-card__close:hover { color: #ef4444; background: #fef2f2; }
.gt-cookie-card__text {
  font-size: 12px;
  line-height: 1.65;
  color: #64748b;
  margin-bottom: 14px;
}
.gt-cookie-card__text a { color: #0070f3; text-decoration: underline; }
.gt-cookie-card__btn {
  display: block;
  width: 100%;
  background: #0070f3;
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 13px;
  border: none;
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  transition: background 0.18s, transform 0.15s;
  text-align: center;
}
.gt-cookie-card__btn:hover { background: #0059c1; transform: translateY(-1px); }
@media (max-width: 400px) {
  .gt-cookie-card { right: 12px; bottom: 12px; width: calc(100vw - 24px); }
}

/* ── Load More button state ── */
@keyframes gt-spin { to { transform: rotate(360deg); } }
.animate-spin { animation: gt-spin 0.8s linear infinite; }
.gt-load-more-spinner { display: inline-block; }

/* ── Fade-in para cards carregados via AJAX ── */
@keyframes gt-fade-in-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.gt-ajax-card { animation: gt-fade-in-up 0.3s ease both; }
