/* ===============================================
   SIEMETRAFO — DESIGN SYSTEM GLOBAL
   =============================================== */

/* Fonte principal: Manrope (moderna, geométrica, industrial) */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand */
  --blue: #1D3A9E;
  --blue-dark: #152b78;
  --blue-mid: #2649c0;
  --blue-light: #e8edf8;
  --red: #C61E29;
  --red-dark: #9a151f;
  --red-light: #fde8ea;
  --gold: #fbbf24;
  --gold-dark: #d97706;

  /* Neutrals */
  --gray-900: #0d0e12;
  --gray-800: #1a1d27;
  --gray-700: #2e3142;
  --gray-600: #4a4f63;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f4f5f7;
  --gray-50:  #f9fafb;
  --white:    #ffffff;

  /* Status */
  --success: #16a34a;
  --warning: #d97706;
  --danger:  #dc2626;
  --info:    #0284c7;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
  --shadow:    0 4px 16px rgba(0,0,0,.12);
  --shadow-md: 0 8px 32px rgba(0,0,0,.14);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.18);
  --shadow-blue: 0 4px 20px rgba(29,58,158,.25);
  --shadow-red:  0 4px 20px rgba(198,30,41,.25);

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Layout */
  --max-w: 1280px;
  --header-h: 132px;

  /* Tema (light por padrão) */
  --bg-page: #ffffff;
  --bg-card: #ffffff;
  --bg-elevated: #f9fafb;
  --text-primary: #0d0e12;
  --text-secondary: #4a4f63;
  --text-muted: #6b7280;
  --border-color: #e5e7eb;
  --border-strong: #d1d5db;
}

/* ================= DARK MODE ================= */
html[data-tema="dark"] {
  --bg-page: #0d1017;
  --bg-card: #1a1e28;
  --bg-elevated: #232838;
  --text-primary: #f4f5f7;
  --text-secondary: #c4c8d3;
  --text-muted: #94a3b8;
  --border-color: #2e3444;
  --border-strong: #3d4458;
  
  /* Ajustes de brand para dark */
  --blue-light: #1e2740;
  --gray-50: #1a1e28;
  --gray-100: #232838;
  --gray-200: #2e3444;
  --gray-300: #3d4458;
  --white: #1a1e28;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,.30), 0 1px 2px rgba(0,0,0,.20);
  --shadow: 0 4px 16px rgba(0,0,0,.35);
  --shadow-md: 0 8px 32px rgba(0,0,0,.40);
}

html[data-tema="dark"] body { background: var(--bg-page); color: var(--text-secondary); }
html[data-tema="dark"] h1, html[data-tema="dark"] h2, html[data-tema="dark"] h3, html[data-tema="dark"] h4 { color: var(--text-primary); }
html[data-tema="dark"] .site-header { background: rgba(26,30,40,.95); border-color: var(--border-color); }
html[data-tema="dark"] .footer, html[data-tema="dark"] .site-footer { background: #0a0d13; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: 'ss01', 'ss02', 'cv01', 'cv11';
  letter-spacing: -0.005em;
  color: var(--text-secondary);
  background: var(--bg-page);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
  transition: background 0.3s, color 0.3s;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
h1,h2,h3,h4 { line-height: 1.2; color: var(--gray-900); font-weight: 800; letter-spacing: -0.01em; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ================= TOPBAR ================= */
.topbar {
  background: linear-gradient(90deg, var(--gray-900), var(--gray-800));
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.topbar-left, .topbar-right { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--gold); }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-live {
  color: var(--gold);
  font-weight: 600;
}
.topbar-live::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  margin-right: 6px;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(251,191,36,.7); }
  50% { opacity: .6; box-shadow: 0 0 0 6px rgba(251,191,36,0); }
}

/* ================= HEADER ================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  box-shadow: var(--shadow-blue);
}
/* Quando o logo-mark é uma <img> com a logo oficial da marca */
img.logo-mark.logo-mark-img {
  width: auto;
  height: 68px;                /* logo maior — proporção 905x505 ≈ 122x68 */
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
  padding: 0;
}
@media (max-width: 900px) {
  img.logo-mark.logo-mark-img { height: 56px; }
}
@media (max-width: 640px) {
  img.logo-mark.logo-mark-img { height: 48px; }
}
/* No header dark (footer), aplica um leve realce no logo pra ficar bem visível */
.footer-brand .logo-mark-img { filter: drop-shadow(0 0 6px rgba(255,255,255,.2)); }
.logo-text small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: -3px;
}

.main-nav {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  transition: all .15s;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--blue); background: var(--blue-light); }
.main-nav a.active { color: var(--blue); background: var(--blue-light); }

.nav-cta {
  background: var(--red) !important;
  color: #fff !important;
  padding: 10px 16px !important;
  border-radius: var(--r-sm) !important;
  box-shadow: var(--shadow-red);
}
.nav-cta:hover { background: var(--red-dark) !important; color: #fff !important; }

.cart-btn {
  position: relative;
  background: var(--gray-100);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  color: var(--gray-800);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cart-count {
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile-toggle { display: none; }

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 15px;
  transition: all .15s;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  justify-content: center;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn-primary:hover { background: var(--red-dark); color: #fff; transform: translateY(-1px); }
.btn-secondary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-secondary:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-gold { background: var(--gold); color: var(--gray-900); }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-block { width: 100%; }

/* ================= BADGES ================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--gray-700);
  letter-spacing: .02em;
}
.badge-blue { background: var(--blue-light); color: var(--blue); }
.badge-red  { background: var(--red-light); color: var(--red-dark); }
.badge-gold { background: #fef3c7; color: var(--gold-dark); }
.badge-green{ background: #dcfce7; color: #15803d; }

/* ================= SECTIONS ================= */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-dark { background: var(--gray-900); color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-blue {
  background: var(--blue-dark);
  background-image: radial-gradient(ellipse at top right, rgba(255,255,255,.06), transparent 60%);
  color: #fff;
}
.section-blue h1, .section-blue h2, .section-blue h3 { color: #fff; }
.section-gray { background: var(--gray-50); }

.section-head { text-align: center; max-width: 780px; margin: 0 auto 48px; }
.section-eyebrow {
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 44px);
  margin-bottom: 16px;
  text-wrap: balance;
}
.section-sub {
  font-size: 17px;
  color: var(--gray-600);
  text-wrap: pretty;
}
.section-dark .section-sub, .section-blue .section-sub { color: rgba(255,255,255,.8); }

/* ================= CARDS ================= */
.card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all .2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* ================= BREADCRUMB ================= */
.breadcrumb {
  padding: 20px 0;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  font-size: 14px;
}
.breadcrumb-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  color: var(--gray-500);
}
.breadcrumb a { color: var(--gray-600); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb-sep { margin: 0 8px; color: var(--gray-400); }

/* ================= PAGE HERO ================= */
.page-hero {
  background: var(--blue-dark);
  background-image: linear-gradient(180deg, var(--blue-dark) 0%, #16307D 100%);
  color: #fff;
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(251,191,36,.15), transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(198,30,41,.2), transparent 50%);
}
.page-hero > * { position: relative; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 16px;
}
.page-hero p {
  color: rgba(255,255,255,.85);
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
}

/* ================= FOOTER ================= */
.site-footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.75);
  padding: 64px 0 24px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { color: #fff; }
.footer-brand .logo-text small { color: rgba(255,255,255,.5); }
.footer-desc { margin-top: 16px; line-height: 1.6; }
.footer-title {
  color: #fff;
  font-weight: 800;
  margin-bottom: 16px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.footer-list { list-style: none; }
.footer-list li { margin-bottom: 10px; }
.footer-list a { color: rgba(255,255,255,.65); }
.footer-list a:hover { color: var(--gold); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 8px; }
/* ============ REDES SOCIAIS — PREMIUM ============ */
.footer-social { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.footer-social a {
  position: relative;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all .3s cubic-bezier(.22,1,.36,1);
  overflow: hidden;
  text-decoration: none;
}
.footer-social a svg { width: 20px; height: 20px; position: relative; z-index: 2; transition: transform .3s ease; }
.footer-social a::before {
  content: '';
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 1;
}
/* Instagram — gradiente oficial */
.footer-social a.social-instagram::before {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
/* Facebook — azul oficial */
.footer-social a.social-facebook::before { background: #1877F2; }
/* WhatsApp — verde oficial */
.footer-social a.social-whatsapp::before { background: #25D366; }
.footer-social a:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(0,0,0,.4);
}
.footer-social a:hover::before { opacity: 1; }
.footer-social a:hover svg { transform: rotate(-8deg) scale(1.1); }

/* ============ SEÇÃO SIGA-NOS PREMIUM (landing) ============ */
.social-hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #0d1017 0%, #1a1e28 50%, #1D3A9E 120%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.social-hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(29,58,158,0.35), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}
.social-hero::after {
  content: '';
  position: absolute;
  bottom: -40%; left: -20%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(220,38,127,0.15), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}
.social-hero .container { position: relative; z-index: 2; }
.social-hero-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.social-hero-eyebrow {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.social-hero h2 {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: #fff;
}
.social-hero h2 .accent {
  background: linear-gradient(90deg, #f09433, #dc2743, #cc2366, #bc1888);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.social-hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,.72);
  line-height: 1.6;
  margin-bottom: 0;
}
.social-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}
.social-card {
  position: relative;
  border-radius: 20px;
  padding: 32px 28px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  transition: all .35s cubic-bezier(.22,1,.36,1);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  color: #fff;
  min-height: 280px;
}
.social-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 20px 20px 0 0;
  transition: height .3s ease;
}
.social-card.instagram::before { background: linear-gradient(90deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-card.facebook::before { background: linear-gradient(90deg, #0d6efd, #1877F2, #4267B2); }
.social-card.whatsapp::before { background: linear-gradient(90deg, #128C7E, #25D366, #34d375); }
.social-card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.25);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  color: #fff;
}
.social-card:hover::before { height: 6px; }
.social-card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform .3s ease;
}
.social-card:hover .social-card-icon { transform: rotate(-6deg) scale(1.08); }
.social-card.instagram .social-card-icon {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.social-card.facebook .social-card-icon { background: #1877F2; }
.social-card.whatsapp .social-card-icon { background: #25D366; }
.social-card-icon svg { width: 28px; height: 28px; color: #fff; }
.social-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 6px;
  color: #fff;
  letter-spacing: -0.01em;
}
.social-card-handle {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  margin-bottom: 16px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.social-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.75);
  margin-bottom: 24px;
  flex: 1;
}
.social-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .01em;
  transition: all .25s ease;
  align-self: flex-start;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  color: #fff;
}
.social-card.instagram:hover .social-card-cta {
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
  border-color: transparent;
}
.social-card.facebook:hover .social-card-cta {
  background: #1877F2;
  border-color: transparent;
}
.social-card.whatsapp:hover .social-card-cta {
  background: #25D366;
  border-color: transparent;
}
.social-card-cta svg { width: 14px; height: 14px; transition: transform .25s ease; }
.social-card:hover .social-card-cta svg { transform: translateX(4px); }
/* Stats internos dos cards */
.social-card-stats {
  display: flex;
  gap: 20px;
  padding: 12px 0 16px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.social-card-stat { display: flex; flex-direction: column; }
.social-card-stat .n {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.social-card-stat .l {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 4px;
  font-weight: 600;
}
@media (max-width: 900px) {
  .social-cards { grid-template-columns: 1fr; max-width: 480px; }
  .social-hero { padding: 60px 0; }
  .social-card { min-height: auto; }
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255,255,255,.5);
  font-size: 13px;
}
.footer-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-badge {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 11px;
  color: rgba(255,255,255,.8);
  font-weight: 600;
}

/* ================= WHATSAPP FLOAT ================= */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 60px; height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 30px;
  box-shadow: 0 8px 24px rgba(37,211,102,.5);
  transition: transform .15s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 3px solid #25d366;
  animation: wa-pulse 2s infinite;
  opacity: .5;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .5; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ================= COOKIE BANNER ================= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--gray-900);
  color: #fff;
  padding: 16px 24px;
  z-index: 95;
  display: none;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  box-shadow: 0 -4px 20px rgba(0,0,0,.3);
}
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; font-size: 14px; max-width: 700px; }

/* ================= MOBILE — RESPONSIVIDADE APRIMORADA ================= */

/* Tablet e desktop pequeno */
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    position: fixed;
    top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--bg-card);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
    align-items: stretch;
    overflow-y: auto;
    z-index: 1001;                    /* ACIMA do backdrop (1000) */
    animation: slideInMobileMenu 0.28s cubic-bezier(.22,1,.36,1);
    gap: 0;
    -webkit-overflow-scrolling: touch; /* rolagem suave iOS */
    isolation: isolate;                /* garante stacking context próprio */
  }
  .main-nav.open a,
  .main-nav.open .nav-cta {
    position: relative;
    z-index: 2;                        /* links garantidamente clicáveis */
    pointer-events: auto;
  }
  @keyframes slideInMobileMenu {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  .main-nav.open a {
    padding: 16px 14px;
    border-bottom: 1px solid var(--border-color);
    font-size: 16px;
    font-weight: 700;
    border-radius: 0;
    transition: background 0.15s;
  }
  .main-nav.open a:hover,
  .main-nav.open a:active { background: var(--blue-light); }
  .main-nav.open a:last-child { border-bottom: 0; }
  .main-nav.open .nav-cta {
    background: var(--red);
    color: #fff !important;
    text-align: center;
    border-radius: 10px;
    margin-top: 12px;
    padding: 16px;
    font-size: 17px;
  }

  /* Backdrop desativado — menu ocupa fullscreen. Regra mantida como no-op
     para versões cacheadas que ainda tentam mostrar o backdrop. */
  .menu-backdrop { display: none !important; }
  @keyframes fadeInBackdrop {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 8px;
    background: var(--gray-100);
    font-size: 22px;
    transition: all 0.2s;
    border: 1px solid var(--border-color);
  }
  .mobile-toggle:hover { transform: scale(1.05); }
  .mobile-toggle.is-open {
    background: var(--red);
    color: #fff;
    border-color: var(--red-dark);
  }
}

/* Tablet */
@media (max-width: 900px) {
  .container { padding: 0 16px; }
  h1 { font-size: clamp(24px, 5vw, 36px) !important; }
  h2 { font-size: clamp(20px, 4vw, 28px) !important; }
  .section { padding: 48px 0; }
  .page-hero { padding: 40px 0 32px; }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --header-h: 100px; }
  .topbar { display: none; }
  :root { --header-h: 70px; }
  .topbar-inner { justify-content: center; text-align: center; flex-direction: column; gap: 6px; padding: 8px 12px; }
  .topbar-left, .topbar-right { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .site-footer .footer-col { text-align: center; }
  .section { padding: 40px 0; }
  .page-hero { padding: 32px 0 24px; }
  
  /* Botões e formulários mobile-friendly */
  .btn { padding: 12px 20px; font-size: 14px; min-height: 44px; }
  .btn-lg { padding: 14px 24px; font-size: 15px; min-height: 48px; }
  .btn-block { width: 100%; }
  
  /* Inputs touchscreen amigáveis */
  input, select, textarea { font-size: 16px !important; min-height: 44px; }
  
  /* Cards e grids: 1 coluna em mobile */
  .cards-3, .cards-4, .grid-3, .grid-4 { grid-template-columns: 1fr !important; }
  .field-row, .field-row-3 { grid-template-columns: 1fr !important; }
  
  /* Header em mobile */
  .site-header .brand-name { font-size: 18px !important; }
  .site-header .cart-btn { padding: 8px 10px; min-width: 40px; font-size: 15px; }
  
  /* Tabelas responsivas */
  table { display: block; overflow-x: auto; }
  
  /* Modais em mobile */
  #reviewModal > div { max-width: 95vw; padding: 20px !important; }
  
  /* Cookies e banners */
  .cookie-banner { flex-direction: column; text-align: center; gap: 12px; padding: 16px; }
  #cartAbandonadoBanner { right: 12px !important; left: 12px !important; max-width: none !important; }
  
  /* Card produtos mobile */
  .product-btns { flex-direction: column; }
  .product-btns .product-btn { width: 100%; }
}

/* Mobile pequeno (celular menor) */
@media (max-width: 480px) {
  .container { padding: 0 12px; }
  h1 { font-size: 24px !important; }
  h2 { font-size: 20px !important; }
  .section { padding: 32px 0; }
  
  /* Header mais compacto */
  .site-header .cart-btn { padding: 6px 8px; font-size: 14px; }
  .site-header .cart-count { padding: 1px 4px; font-size: 10px; }
  
  /* Configurador em mobile */
  .step-item .step-name { font-size: 10px; }
  .step-item .step-item-label { display: none; }
  .step-circle { width: 32px; height: 32px; font-size: 13px; }
  
  /* Reduzir padding de painéis */
  .conf-panel, .checkout-panel { padding: 16px !important; }
}
