:root {
  --bg: #0d0d0d;
  --bg-elevated: #161616;
  --card: #1a1a1a;
  --text: #f2f2f2;
  --text-muted: #9a9a9a;
  --border: #2b2b2b;
  --accent: #ffc300;
  --accent-ink: #1a1206;
  --accent-2: #e8491d;
  --font-display: 'Anton', 'Archivo Black', 'Arial Black', sans-serif;
  --font-body: 'Inter', Arial, sans-serif;
}

:root[data-theme="light"] {
  --bg: #f4f4f4;
  --bg-elevated: #ffffff;
  --card: #ffffff;
  --text: #101010;
  --text-muted: #5c5c5c;
  --border: #e0e0e0;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  scroll-behavior: smooth;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.logo-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: 10px;
  padding: 26px 20px 18px;
  overflow: hidden;
  isolation: isolate;
}
.logo-row-side { display: flex; align-items: center; }
.logo-row-side:empty { display: none; }
.logo-row .site-search { width: 100%; max-width: 280px; }
.brand-big { justify-self: center; }
.brand-big { display: inline-flex; align-items: center; }
.brand-big img {
  height: 104px;
  width: auto;
  filter: drop-shadow(0 8px 22px rgba(255, 195, 0, .22));
  transition: filter .2s, transform .2s;
}
.brand-big:hover img { filter: drop-shadow(0 8px 28px rgba(255, 195, 0, .35)); transform: scale(1.015); }
.brand-big span { font-family: var(--font-display); font-size: 30px; letter-spacing: .5px; }

.site-search {
  display: flex; align-items: center; gap: 6px;
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 99px;
  padding: 6px 6px 6px 14px; max-width: 220px;
}
.site-search input {
  background: none; border: none; outline: none; color: var(--text);
  font-family: var(--font-body); font-size: 13px; width: 100%; min-width: 0;
}
.site-search input::placeholder { color: var(--text-muted); }
.site-search button {
  background: var(--accent); color: var(--accent-ink); border: none; border-radius: 50%;
  width: 28px; height: 28px; flex: none; font-size: 13px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.site-search button:hover { opacity: .88; }

.site-header .bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  gap: 20px;
  flex-wrap: wrap;
}
.site-header .bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-2) 20%, var(--accent) 50%, var(--accent-2) 80%, transparent);
  opacity: .55;
}

.main-nav ul { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.main-nav li { position: relative; }
.main-nav a {
  position: relative;
  display: inline-block;
  padding: 4px 2px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  transition: color .15s;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--accent); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.cart-link { position: relative; font-size: 16px !important; padding: 2px 4px !important; }
.cart-badge {
  position: absolute; top: -8px; right: -10px; background: var(--accent); color: var(--accent-ink);
  font-size: 10px; font-weight: 800; min-width: 16px; height: 16px; border-radius: 99px;
  display: flex; align-items: center; justify-content: center; padding: 0 3px;
}
.nav-disabled {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--border);
  cursor: not-allowed;
}


/* Hero / featured */
.hero-badge {
  display: inline-block;
  background: var(--accent-2);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}

.section { padding-top: 48px; padding-bottom: 48px; }

/* Loja em destaque na home */
.home-shop { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 10%, var(--bg)), var(--bg) 60%); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.home-shop-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 26px; }
.home-shop-heading { display: flex; align-items: center; gap: 14px; }
.home-shop-icon { font-size: 34px; line-height: 1; }
.home-shop-title { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(24px, 3.5vw, 34px); margin: 0; line-height: 1; }
.home-shop-tagline { color: var(--text-muted); font-size: 14px; margin: 6px 0 0; }
.home-shop-cta { flex: none; }
@media (max-width: 560px) { .home-shop-header { flex-direction: column; align-items: flex-start; } }
.section-title {
  font-family: var(--font-display);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section-title a { font-size: 13px; color: var(--accent); font-family: var(--font-body); font-weight: 700; }

.featured-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}
@media (max-width: 860px) { .featured-grid { grid-template-columns: 1fr; } }

.feature-card, .post-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-card .thumb, .post-card .thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #222, #000);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
  font-family: var(--font-display);
  overflow: hidden;
}
.feature-card .thumb img, .post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }

.feature-card .body, .post-card .body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.feature-card h3 { margin: 0; font-size: 20px; line-height: 1.25; }
.post-card h3 { margin: 0; font-size: 16px; line-height: 1.3; }
.card-meta { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }

.side-list { display: flex; flex-direction: column; gap: 12px; }
.side-list .post-card { flex-direction: row; }
.side-list .post-card .thumb { width: 120px; flex: none; aspect-ratio: 1; }
.side-list .post-card .body { padding: 10px 14px; justify-content: center; }
.side-list .post-card h3 { font-size: 14px; }

.posts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .posts-grid { grid-template-columns: 1fr; } }

/* Carrossel (usado nas seções "Vídeos Recentes" e "Loja" da home) */
.carousel { position: relative; }
.carousel-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding: 2px 2px 8px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; flex: 0 0 auto; }
.carousel-track .post-card { width: 260px; }
.carousel-track .product-card { width: 190px; }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--bg-elevated); color: var(--text); font-size: 18px; line-height: 1;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
}
.carousel-arrow:hover { border-color: var(--accent); color: var(--accent); }
.carousel-arrow.prev { left: 6px; }
.carousel-arrow.next { right: 6px; }

/* Magazine */
.magazine-block {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}
@media (max-width: 760px) { .magazine-block { grid-template-columns: 1fr; } }
.magazine-cover { aspect-ratio: 3/4; background: linear-gradient(160deg,#222,#000); border-radius: 8px; overflow: hidden; display:flex; align-items:center; justify-content:center; color:#555; font-family: var(--font-display); }
.magazine-cover img { width: 100%; height: 100%; object-fit: cover; }
.magazine-info h2 { font-family: var(--font-display); text-transform: uppercase; margin: 4px 0 4px; }
.magazine-info .edition { color: var(--accent); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; }
.magazine-info ul { margin: 16px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.magazine-info li { font-size: 14px; color: var(--text-muted); }
.magazine-info li::before { content: '• '; color: var(--accent); }

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 13px;
  padding: 12px 22px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}
.btn:hover { opacity: .88; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }

/* Alertas */
.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; }
.alert-success { background: rgba(22,163,74,.15); color: #4ade80; border: 1px solid rgba(22,163,74,.3); }
.alert-error { background: rgba(220,38,38,.15); color: #f87171; border: 1px solid rgba(220,38,38,.3); }

/* Formulário de inscrição */
.apply-intro { color: var(--text-muted); max-width: 640px; margin: 0 0 28px; font-size: 15px; line-height: 1.6; }
.apply-form { max-width: 640px; }
.apply-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .apply-row { grid-template-columns: 1fr; } }
.apply-field { margin-bottom: 18px; }
.apply-field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--text-muted); }
.apply-field input, .apply-field textarea {
  width: 100%; background: var(--card); border: 1px solid var(--border); color: var(--text);
  padding: 11px 14px; border-radius: 8px; font-size: 14px; font-family: var(--font-body);
}
.apply-field textarea { min-height: 110px; resize: vertical; }
.apply-field input:focus, .apply-field textarea:focus { outline: none; border-color: var(--accent); }

.apply-hero { max-width: 640px; margin-bottom: 28px; }
.apply-hero-badge {
  display: inline-block; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em; padding: 5px 12px; border-radius: 3px; margin-bottom: 14px;
}
.apply-hero h1 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(26px, 4vw, 38px); margin: 0 0 12px; line-height: 1.15; }
.apply-section-title {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .03em; font-size: 20px;
  color: var(--accent); margin: 30px 0 18px; padding-top: 20px; border-top: 1px solid var(--border);
}
.apply-form h2.apply-section-title:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.apply-question label { display: flex; gap: 10px; align-items: flex-start; }
.apply-question-num {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  font-size: 11px; font-weight: 800;
}

/* Cartão de pagamento PIX */
.pix-card { max-width: 560px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 26px; }
.pix-intro { margin: 0 0 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.pix-body { display: flex; gap: 22px; flex-wrap: wrap; align-items: flex-start; }
.pix-qr { width: 180px; height: 180px; background: #fff; padding: 8px; border-radius: 10px; flex: none; }
.pix-copy { flex: 1 1 220px; min-width: 220px; }
.pix-copy label { display: block; font-size: 12px; font-weight: 700; color: var(--text-muted); margin-bottom: 6px; }
.pix-copy textarea {
  width: 100%; min-height: 90px; background: var(--bg); border: 1px solid var(--border); color: var(--text);
  border-radius: 8px; padding: 10px; font-size: 12px; font-family: monospace; resize: vertical; margin-bottom: 10px;
}
.pix-status { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-muted); }
.pix-spinner {
  width: 16px; height: 16px; border: 2px solid var(--border); border-top-color: var(--accent);
  border-radius: 50%; animation: pix-spin 0.8s linear infinite;
}
@keyframes pix-spin { to { transform: rotate(360deg); } }

/* Shop */
/* Página de produto */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 800px) { .product-detail { grid-template-columns: 1fr; } }
.product-gallery-main { aspect-ratio: 1; background: var(--bg-elevated); border-radius: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-empty { color: #555; font-weight: 800; }
.product-gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.product-gallery-thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; cursor: pointer; border: 2px solid transparent; opacity: .65; }
.product-gallery-thumbs img.active, .product-gallery-thumbs img:hover { border-color: var(--accent); opacity: 1; }
.product-info h1 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(24px, 3vw, 32px); margin: 10px 0 16px; line-height: 1.15; }
.variant-section { margin-bottom: 20px; }
.variant-label { display: block; font-size: 13px; font-weight: 700; color: var(--text-muted); margin-bottom: 8px; }
.variant-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.variant-card { padding: 10px 18px; border: 2px solid var(--border); border-radius: 8px; cursor: pointer; font-weight: 700; font-size: 14px; }
.variant-card:hover { border-color: var(--accent); }
.variant-card.selected { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--card)); }
.variant-card.variant-disabled { opacity: .4; cursor: not-allowed; }
.variant-out { display: block; font-size: 10px; font-weight: 600; text-transform: uppercase; color: var(--text-muted); }
.product-price { font-size: 26px; font-weight: 800; color: var(--accent); margin: 0 0 20px; }

/* Seletor de quantidade (stepper), reutilizado na loja e no carrinho */
.qty-stepper-wrap { max-width: 320px; margin-bottom: 24px; }
.qty-stepper-wrap > label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--text-muted); }
.qty-stepper { display: flex; align-items: stretch; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; width: fit-content; }
.qty-btn {
  flex: none; width: 42px; background: var(--card); border: none; color: var(--text); font-size: 18px; font-weight: 700;
  cursor: pointer; line-height: 1;
}
.qty-btn:hover { background: var(--accent); color: var(--accent-ink); }
.qty-stepper input {
  flex: none; width: 56px; text-align: center; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border);
  background: var(--bg); color: var(--text); font-size: 15px; font-weight: 800; padding: 10px 6px;
  -moz-appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Checkout */
.checkout-summary { max-width: 640px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 18px 20px; margin-bottom: 28px; }
.checkout-summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14px; color: var(--text-muted); }
.checkout-summary-row + .checkout-summary-row { border-top: 1px solid var(--border); }
.checkout-summary-total { color: var(--text); font-weight: 800; font-size: 17px; }
.checkout-summary-total span:last-child { color: var(--accent); }
.payment-method-picker { display: flex; gap: 12px; margin-bottom: 22px; }
.payment-method-option {
  flex: 1; display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 2px solid var(--border);
  border-radius: 8px; cursor: pointer; font-weight: 700; font-size: 14px;
}
.payment-method-option:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--card)); }
.payment-method-option input { accent-color: var(--accent); width: 16px; height: 16px; }

/* Carrinho */
.cart-list { display: flex; flex-direction: column; gap: 12px; max-width: 780px; margin-bottom: 24px; }
.cart-row {
  display: grid; grid-template-columns: 64px 1fr auto auto auto; gap: 16px; align-items: center;
  background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 12px;
}
.cart-row-thumb { width: 64px; height: 64px; border-radius: 6px; overflow: hidden; background: var(--bg-elevated); }
.cart-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-row-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cart-row-info a { font-weight: 700; font-size: 14px; }
.cart-row-variant, .cart-row-price { font-size: 12px; color: var(--text-muted); }
.cart-row-qty { display: flex; gap: 6px; align-items: center; }
.cart-row-qty input {
  width: 56px; text-align: center; background: var(--bg); border: 1px solid var(--border); border-radius: 6px;
  color: var(--text); padding: 8px 4px; font-size: 14px;
}
.cart-row-subtotal { font-weight: 800; white-space: nowrap; }
.cart-row-remove button { padding: 6px 12px; }
.cart-summary {
  display: flex; justify-content: space-between; align-items: center; max-width: 780px; padding: 16px 0;
  border-top: 1px solid var(--border); font-size: 16px; margin-bottom: 20px;
}
.cart-summary strong { font-size: 22px; color: var(--accent); }
.cart-actions { display: flex; gap: 12px; max-width: 780px; }
@media (max-width: 640px) {
  .cart-row { grid-template-columns: 48px 1fr; grid-template-areas: "thumb info" "qty qty" "subtotal remove"; }
  .cart-row-thumb { width: 48px; height: 48px; }
  .cart-row-qty { grid-area: qty; }
  .cart-row-subtotal { grid-area: subtotal; }
  .cart-row-remove { grid-area: remove; justify-self: end; }
}

.shop-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; }
.shop-filter {
  padding: 8px 16px; border-radius: 99px; border: 1px solid var(--border); font-size: 13px; font-weight: 700;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: .03em;
}
.shop-filter:hover { color: var(--text); border-color: var(--accent); }
.shop-filter.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.shop-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
@media (max-width: 980px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
.product-card { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 14px; text-align: center; display: flex; flex-direction: column; gap: 10px; }
.product-card .thumb { aspect-ratio: 1; background: var(--bg-elevated); border-radius: 6px; display:flex; align-items:center; justify-content:center; color:#555; overflow:hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card h3 { font-size: 13px; margin: 0; min-height: 34px; }
.product-card .price { font-weight: 800; }

/* Post detail */
.post-header { padding-top: 40px; padding-bottom: 20px; }
.post-header h1 { font-family: var(--font-display); font-size: clamp(26px, 5vw, 42px); text-transform: uppercase; line-height: 1.1; margin: 12px 0; }
.post-cover { aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: var(--card); margin-bottom: 24px; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }

.lightbox-trigger { cursor: zoom-in; }
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 200;
  display: none; align-items: center; justify-content: center; padding: 40px;
}
.lightbox-overlay.open { display: flex; }
.lightbox-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; cursor: default; }
.lightbox-close {
  position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,.12); border: none; color: #fff;
  width: 40px; height: 40px; border-radius: 50%; font-size: 18px; cursor: pointer; line-height: 1;
}
.lightbox-close:hover { background: rgba(255,255,255,.25); }
@media (max-width: 600px) {
  .lightbox-overlay { padding: 16px; }
  .lightbox-close { top: 10px; right: 10px; }
}
.post-content { font-size: 17px; line-height: 1.75; max-width: 760px; }
.post-content p { margin: 0 0 20px; }

.share-bar {
  display: flex; align-items: center; flex-wrap: nowrap; gap: 10px;
  margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); max-width: 760px;
}
.share-label { font-size: 13px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; flex: none; }
.share-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; font-weight: 700;
  padding: 10px 16px; border-radius: 99px; border: none; cursor: pointer; color: #fff;
  white-space: nowrap; flex: 1 1 auto; min-width: 0;
}
.share-btn .ic { font-size: 16px; line-height: 1; flex: none; }
.share-btn .share-text { overflow: hidden; text-overflow: ellipsis; }
.share-whatsapp { background: #25d366; }
.share-whatsapp:hover { opacity: .9; }
.share-story { background: linear-gradient(45deg, #feda75, #d62976, #4f5bd5); }
.share-story:hover { opacity: .9; }

@media (max-width: 480px) {
  .share-bar { gap: 8px; }
  .share-label { display: none; }
  .share-btn { padding: 9px 10px; font-size: 12px; }
  .share-text-long { display: none; }
}
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; border-radius: 12px; overflow: hidden; margin-bottom: 24px; }
.video-embed iframe { position: absolute; top:0; left:0; width:100%; height:100%; border: 0; }

/* Institutional */
.prose { max-width: 760px; font-size: 17px; line-height: 1.8; color: var(--text-muted); white-space: pre-line; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); margin-top: 60px; padding: 48px 0 24px; background: var(--bg-elevated); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin: 0 0 14px; }
.footer-grid li { margin-bottom: 8px; font-size: 14px; }
.footer-grid li a:hover { color: var(--accent); }
.social-icons { display: flex; gap: 12px; }
.social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); color: var(--text-muted);
}
.social-icon svg { width: 18px; height: 18px; }
.social-icon:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle { border: 1px solid var(--border); background: none; color: var(--text); padding: 8px 14px; border-radius: 6px; cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.footer-bottom { display:flex; justify-content: space-between; align-items:center; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-muted); flex-wrap: wrap; gap: 12px; }

.badge {
  display: inline-block;
  background: var(--accent-2);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 9px;
  border-radius: 3px;
}

.breadcrumb { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .05em; }

/* Conteúdo montado no construtor visual */
.post-content { max-width: 900px; }
.b-section { margin-bottom: 8px; }
.b-columns { display: flex; gap: 28px; flex-wrap: wrap; }
.b-col { flex: 1 1 0; min-width: 0; }
.b-heading { font-family: var(--font-display); text-transform: uppercase; line-height: 1.2; margin: 0 0 18px; }
.b-heading.b-align-center { text-align: center; }
.b-heading.b-align-right { text-align: right; }
.b-text p { margin: 0 0 20px; }
.b-image { margin: 0 0 24px; }
.b-image img { width: 100%; border-radius: 10px; }
.b-image figcaption { font-size: 13px; color: var(--text-muted); margin-top: 8px; text-align: center; }
.b-video { margin-bottom: 24px; }
.b-quote { margin: 0 0 24px; padding: 20px 24px; border-left: 4px solid var(--accent); background: var(--card); border-radius: 0 10px 10px 0; }
.b-quote p { margin: 0; font-size: 20px; font-style: italic; line-height: 1.5; }
.b-quote cite { display: block; margin-top: 10px; font-size: 13px; color: var(--text-muted); font-style: normal; }
.b-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 24px; }
.b-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.b-button-wrap { margin: 0 0 24px; }
.b-divider { border: 0; border-top: 1px solid var(--border); margin: 32px 0; }
.b-spacer { width: 100%; }
@media (max-width: 700px) { .b-columns { flex-direction: column; } .b-col { flex-basis: 100% !important; max-width: 100% !important; } }

@media (max-width: 760px) {
  .logo-row { padding: 16px 16px 12px; }
  .site-header .bar { padding: 0 0 12px; }
  .main-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav ul { flex-wrap: nowrap; justify-content: center; gap: 8px; padding: 0 8px; }
  .main-nav a { font-size: 11px; letter-spacing: .03em; padding: 4px 1px; white-space: nowrap; }
  .shop-grid, .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-big img { height: 72px; }
  .magazine-info ul { grid-template-columns: 1fr; }
  .section { padding-top: 32px; padding-bottom: 32px; }
  .post-header { padding-top: 26px; padding-bottom: 14px; }
}

@media (max-width: 480px) {
  .shop-grid, .posts-grid { grid-template-columns: 1fr; }
  .side-list .post-card { flex-direction: column; }
  .side-list .post-card .thumb { width: 100%; aspect-ratio: 16/9; }
  .brand-big span { font-size: 22px; }
  .section-title { font-size: 18px; flex-direction: column; align-items: flex-start; gap: 6px; }
}
