@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow+Condensed:wght@400;500;600;700;800&family=Barlow:wght@300;400;500;600&display=swap');

:root {
  --white:      #FFFFFF;
  --bg:         #F4F4F4;
  --border:     #E4E4E4;
  --gray-light: #EBEBEB;
  --gray-mid:   #9B9B9B;
  --gray-dark:  #555555;
  --black:      #111111;
  --red:        #D9191F;
  --red-hover:  #B81218;
  --yellow:     #F5C400;
  --green:      #25D366;
  --green-h:    #1EBA58;
  --blue:       #3b00c4;
  --font-brand: 'Bebas Neue', sans-serif;
  --font-head:  'Barlow Condensed', sans-serif;
  --font-body:  'Barlow', sans-serif;
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.10);
  --ease:       all 0.22s ease;
  --header-h:   54px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100dvh;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }

/* ===== SITE SHELL ===== */
.site-shell { display: flex; flex-direction: column; min-height: 100dvh; }
.page-content { flex: 1; }

/* ===== SPA LOADER ===== */
.spa-loader {
  position: fixed; top: 0; left: 0; width: 0; height: 2px;
  background: var(--red); z-index: 9999;
  opacity: 0; pointer-events: none; transition: none;
}
.spa-loader.active { opacity: 1; width: 70%; transition: width 0.4s cubic-bezier(0.1,0.5,0.5,1); }
.spa-loader.done   { width: 100%; opacity: 0; transition: width 0.2s ease, opacity 0.3s ease 0.15s; }

/* ===== STICKY SHELL ===== */
.sticky-shell { position: sticky; top: 0; z-index: 100; background: var(--white); transition: background 0.3s ease; }
.sticky-shell.scrolled { background: var(--red); }
.sticky-shell.scrolled .header { border-bottom-color: rgba(255,255,255,.15); }
.sticky-shell.scrolled .logo-top,
.sticky-shell.scrolled .logo-top span { color: var(--white); }
.sticky-shell.scrolled .logo-sub { color: rgba(255,255,255,.55); }
.sticky-shell.scrolled .nav-link { color: rgba(255,255,255,.7); }
.sticky-shell.scrolled .nav-link:hover,
.sticky-shell.scrolled .nav-link.active { color: var(--white); }
.sticky-shell.scrolled .header-icon { color: var(--white); }
.sticky-shell.scrolled .header-icon:hover { color: rgba(255,255,255,.7); }
.sticky-shell.scrolled .hamburger span { background: var(--white); }
.sticky-shell.scrolled .cart-badge { background: var(--black); color: var(--white); border: 1.5px solid rgba(255,255,255,.2); }
.sticky-shell.scrolled .search-bar { background: var(--red-hover); border-bottom-color: rgba(255,255,255,.15); }
.sticky-shell.scrolled .search-input { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: var(--white); }
.sticky-shell.scrolled .search-input::placeholder { color: rgba(255,255,255,.45); }
.sticky-shell.scrolled .search-close { color: rgba(255,255,255,.7); }
.sticky-shell.scrolled .mobile-nav { background: var(--red-hover); border-bottom-color: rgba(255,255,255,.12); }
.sticky-shell.scrolled .mob-link { color: rgba(255,255,255,.75); }
.sticky-shell.scrolled .mob-link i { color: rgba(255,255,255,.5); }
.sticky-shell.scrolled .mob-link:hover { color: var(--white); border-left-color: var(--white); }

/* ===== HEADER ===== */
.header { border-bottom: 1px solid var(--border); height: var(--header-h); display: flex; align-items: center; padding: 0 14px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1400px; margin: 0 auto; gap: 12px; }
.logo { display: flex; flex-direction: column; line-height: 1; user-select: none; flex-shrink: 0; }
.logo-top { font-family: var(--font-brand); font-size: 24px; letter-spacing: 2.5px; color: var(--black); line-height: 1; }
.logo-top span { color: var(--red); }
.logo-sub { font-family: var(--font-head); font-size: 8px; font-weight: 600; letter-spacing: 3px; color: var(--gray-mid); text-transform: uppercase; line-height: 1; margin-top: 1px; }
.desktop-nav { display: none; align-items: center; gap: 2px; flex: 1; justify-content: center; }
@media (min-width: 960px) { .desktop-nav { display: flex; } }
.nav-link { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gray-dark); padding: 7px 12px; transition: var(--ease); background: none; border: none; white-space: nowrap; display: block; }
.nav-link:hover, .nav-link.active { color: var(--black); }
.header-actions { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.header-icon { font-size: 17px; color: var(--black); background: none; border: none; display: flex; align-items: center; padding: 8px; position: relative; transition: var(--ease); }
.header-icon:hover { color: var(--red); }
.cart-badge { position: absolute; top: 3px; right: 3px; background: var(--red); color: white; font-size: 9px; font-weight: 700; width: 15px; height: 15px; border-radius: 50%; display: none; align-items: center; justify-content: center; }
.hamburger { display: flex; flex-direction: column; justify-content: center; gap: 4.5px; padding: 8px; background: none; border: none; }
@media (min-width: 960px) { .hamburger { display: none; } }
.hamburger span { display: block; width: 18px; height: 1.5px; background: var(--black); transition: var(--ease); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }
.mobile-nav { border-bottom: 1px solid var(--border); overflow: hidden; max-height: 0; transition: max-height 0.28s cubic-bezier(0.4,0,0.2,1); }
.mobile-nav.open { max-height: 300px; }
.mobile-nav-inner { padding: 6px 0 10px; max-width: 1400px; margin: 0 auto; }
.mob-link { display: flex; align-items: center; gap: 12px; padding: 12px 20px; font-family: var(--font-head); font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--black); transition: var(--ease); background: none; border: none; width: 100%; border-left: 3px solid transparent; }
.mob-link i { color: var(--gray-mid); font-size: 13px; width: 18px; text-align: center; flex-shrink: 0; }
.mob-link:hover { color: var(--red); border-left-color: var(--red); }
.mob-link:hover i { color: var(--red); }
.search-bar { border-bottom: 1px solid var(--border); padding: 0 14px; max-height: 0; overflow: hidden; transition: max-height 0.25s ease, padding 0.25s ease; }
.search-bar.open { max-height: 60px; padding: 10px 14px; }
.search-form { display: flex; gap: 10px; align-items: center; max-width: 1400px; margin: 0 auto; }
.search-input { flex: 1; padding: 9px 12px; border: 1.5px solid var(--border); background: var(--bg); font-family: var(--font-body); font-size: 13px; color: var(--black); outline: none; transition: var(--ease); border-radius: 0; -webkit-appearance: none; }
.search-input:focus { border-color: var(--red); background: var(--white); }
.search-input::placeholder { color: #bbb; }
.search-close { background: none; border: none; color: var(--gray-mid); font-size: 17px; padding: 4px; transition: var(--ease); }
.search-close:hover { color: var(--black); }

/* ===== HERO ===== */
.hero { position: relative; overflow: hidden; min-height: 82vw; max-height: 620px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 56px 16px 48px; background: var(--black); }
@media (min-width: 768px) { .hero { min-height: 520px; max-height: 700px; } }
.hero-video-wrap { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero-video-wrap iframe { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 177.78vh; height: 56.25vw; min-width: 100%; min-height: 100%; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.70); z-index: 1; }
.hero-overlay::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--red), transparent); }
.hero-content { position: relative; z-index: 2; }
.hero-tag { display: inline-block; background: var(--red); color: white; font-family: var(--font-head); font-size: 10px; font-weight: 700; letter-spacing: 3px; padding: 4px 12px; margin-bottom: 18px; text-transform: uppercase; }
.hero-title { font-family: var(--font-head); font-size: clamp(52px, 14vw, 96px); font-weight: 800; line-height: 0.92; letter-spacing: -0.5px; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.hero-title em { font-style: normal; color: var(--red); }
.hero-sub { font-size: 12px; color: rgba(255,255,255,.5); letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 28px; }
.hero-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--white); color: var(--black); font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; padding: 12px 28px; border: 2px solid var(--white); transition: var(--ease); }
.hero-btn:hover { background: var(--red); color: white; border-color: var(--red); }

/* ===== PAGE BANNER ===== */
.page-banner { position: relative; overflow: hidden; background: var(--black); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 52px 16px 44px; }
.page-banner::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--red), transparent); }
.page-banner-tag { display: inline-block; background: var(--red); color: white; font-family: var(--font-head); font-size: 9px; font-weight: 700; letter-spacing: 3px; padding: 4px 12px; margin-bottom: 14px; text-transform: uppercase; }
.page-banner-title { font-family: var(--font-head); font-size: clamp(40px, 11vw, 76px); font-weight: 800; line-height: 0.92; letter-spacing: -0.5px; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
.page-banner-title em { font-style: normal; color: var(--red); }
.page-banner-sub { font-size: 11px; color: rgba(255,255,255,.45); letter-spacing: 2.5px; text-transform: uppercase; }

/* ===== FILTER BAR ===== */
.filter-bar { background: var(--white); border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.filter-bar::-webkit-scrollbar { display: none; }
.filter-inner { display: flex; align-items: center; gap: 7px; padding: 12px 16px; white-space: nowrap; max-width: 1400px; margin: 0 auto; }
.filter-label { font-family: var(--font-head); font-size: 9px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gray-mid); margin-right: 4px; flex-shrink: 0; }
.filter-chip-wrap { --cc: 8px; display: inline-block; flex-shrink: 0; padding: 1.5px; background: var(--border); clip-path: polygon(var(--cc) 0%, 100% 0%, 100% calc(100% - var(--cc)), calc(100% - var(--cc)) 100%, 0% 100%, 0% var(--cc)); transition: background 0.18s ease; cursor: pointer; }
.filter-chip-wrap:hover { background: #aaa; }
.filter-chip-wrap.active { background: var(--black); }
.filter-chip { --ci: 6px; display: block; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 7px 15px; background: var(--white); color: var(--gray-dark); border: none; white-space: nowrap; clip-path: polygon(var(--ci) 0%, 100% 0%, 100% calc(100% - var(--ci)), calc(100% - var(--ci)) 100%, 0% 100%, 0% var(--ci)); transition: background 0.18s ease, color 0.18s ease; }
.filter-chip-wrap:hover .filter-chip { background: var(--gray-light); color: var(--black); }
.filter-chip-wrap.active .filter-chip { background: var(--black); color: var(--white); }

/* ===== CATALOG ===== */
.catalog-header { display: flex; align-items: baseline; justify-content: space-between; padding: 20px 16px 10px; max-width: 1400px; margin: 0 auto; }
.catalog-title { font-family: var(--font-head); font-size: 20px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.catalog-count { font-size: 11px; color: var(--gray-mid); }
.product-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; padding: 0 12px 24px; max-width: 1400px; margin: 0 auto; }
@media (min-width: 540px)  { .product-grid { gap: 12px; padding: 0 16px 24px; } }
@media (min-width: 768px)  { .product-grid { grid-template-columns: repeat(3,1fr); gap: 14px; } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4,1fr); gap: 18px; padding: 0 24px 24px; } }
@media (min-width: 1280px) { .product-grid { grid-template-columns: repeat(5,1fr); } }

/* ===== PRODUCT CARD ===== */
@keyframes cardIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
.product-card { background: var(--white); border: 1px solid var(--border); overflow: hidden; transition: var(--ease); color: inherit; display: block; position: relative; animation: cardIn 0.3s ease forwards; opacity: 0; }
.product-card:hover { border-color: #ccc; box-shadow: var(--shadow-md); transform: translateY(-3px); }
.product-card:active { transform: scale(0.99); }
.card-image-wrap { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--gray-light); }
.card-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.product-card:hover .card-img { transform: scale(1.05); }
.card-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(145deg,#f0f0f0,#e6e6e6); color: #c8c8c8; gap: 6px; }
.card-placeholder i { font-size: 24px; }
.card-placeholder span { font-size: 9px; letter-spacing: 1px; text-transform: uppercase; }
.card-badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 3px; z-index: 2; }
.card-badge { font-family: var(--font-head); font-size: 9px; font-weight: 700; letter-spacing: 1px; padding: 3px 8px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 3px; width: fit-content; }
.card-badge.pre-venda  { background: var(--red);    color: white; }
.card-badge.novo       { background: var(--yellow);  color: var(--black); font-weight: 800; }
.card-badge.licenciado { background: var(--blue);    color: white; }
.card-body { padding: 9px 10px 10px; }
.card-studio { font-size: 8.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray-mid); margin-bottom: 2px; }
.card-name { font-family: var(--font-head); font-size: 14px; font-weight: 700; line-height: 1.1; letter-spacing: 0.2px; text-transform: uppercase; margin-bottom: 7px; color: var(--black); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; }
.card-price { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--red); line-height: 1; }
.card-installment { font-size: 8.5px; color: var(--gray-mid); margin-top: 2px; }
.card-btn { background: var(--black); color: white; display: flex; align-items: center; justify-content: center; gap: 5px; border: none; flex-shrink: 0; border-radius: 2px; font-family: var(--font-head); font-weight: 700; font-size: 12px; width: 30px; height: 30px; padding: 0; transition: var(--ease); }
.card-btn-label { display: none; font-size: 11px; letter-spacing: 0.5px; }
@media (min-width: 768px) { .card-btn { width: auto; padding: 0 12px; } .card-btn-label { display: inline; } }
.card-btn:hover { background: var(--red); }
.card-hidden { display: none !important; }
.empty-state { grid-column: 1/-1; text-align: center; padding: 56px 16px; color: var(--gray-mid); }
.empty-state i { font-size: 34px; display: block; margin-bottom: 12px; opacity: .4; }
.empty-state p { font-size: 14px; }

/* ===== PAGINATION ===== */
.pagination-wrap { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 24px 16px 48px; flex-wrap: wrap; }
.pag-btn { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: 1px; padding: 8px 13px; background: var(--white); border: 1.5px solid var(--border); color: var(--gray-dark); min-width: 38px; text-align: center; line-height: 1; transition: var(--ease); display: inline-block; }
.pag-btn:hover { border-color: var(--black); color: var(--black); }
.pag-btn.active { background: var(--black); border-color: var(--black); color: white; }
.pag-btn[disabled] { opacity: .3; cursor: not-allowed; pointer-events: none; }
.pag-info { font-size: 11px; color: var(--gray-mid); letter-spacing: .5px; padding: 0 4px; white-space: nowrap; }

/* ===== FRANCHISE GRID ===== */
.franchise-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; padding: 20px 14px 64px; max-width: 1400px; margin: 0 auto; }
@media (min-width: 540px)  { .franchise-grid { grid-template-columns: repeat(3,1fr); gap: 16px; } }
@media (min-width: 900px)  { .franchise-grid { grid-template-columns: repeat(4,1fr); gap: 20px; padding: 20px 24px 72px; } }
@media (min-width: 1200px) { .franchise-grid { grid-template-columns: repeat(5,1fr); } }
.fc-wrap { display: block; animation: cardIn 0.3s ease forwards; opacity: 0; filter: drop-shadow(0 2px 8px rgba(0,0,0,.10)); transition: filter 0.28s ease, transform 0.28s ease; }
.fc-wrap:hover { filter: drop-shadow(0 8px 24px rgba(0,0,0,.22)); transform: translateY(-5px); }
.fc-card { --cut: 20px; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); overflow: hidden; display: flex; flex-direction: column; background: var(--white); position: relative; }
.fc-image { position: relative; aspect-ratio: 2/3; overflow: hidden; flex-shrink: 0; background: #ebebeb; }
.fc-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.48s cubic-bezier(.25,.46,.45,.94); }
.fc-wrap:hover .fc-image img { transform: scale(1.08); }
.fc-placeholder { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; background: linear-gradient(145deg,#f0f0f0,#e6e6e6); color: #ccc; font-size: 28px; }

/* FIX: overlay encosta no botão sem gap */
.fc-overlay {
  position: absolute;
  bottom: 0;          /* encosta no fundo do fc-card, sem gap */
  left: 0; right: 0;
  padding: 50px 13px 46px; /* padding-bottom empurra o texto acima do botão */
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.4) 55%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}
.fc-name { font-family: var(--font-head); font-size: clamp(14px,2.5vw,18px); font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: white; line-height: 1.05; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fc-count { font-family: var(--font-head); font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.55); }
.fc-btn { width: 100%; background: var(--red); color: white; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 11px 14px; border: none; display: flex; align-items: center; justify-content: center; gap: 7px; transition: background 0.2s ease; flex-shrink: 0; position: relative; z-index: 2; }
.fc-wrap:hover .fc-btn { background: var(--red-hover); }

/* ===== PÁGINA DO PRODUTO ===== */
.product-page {
  max-width: 1240px;
  margin: 0 auto;
  padding-bottom: 80px;
}

/* FIX: breadcrumb com visual limpo e separado */
.product-breadcrumb {
  padding: 14px 20px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--gray-mid);
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.product-breadcrumb a { color: var(--gray-mid); transition: color .18s; }
.product-breadcrumb a:hover { color: var(--red); }
.product-breadcrumb span { color: var(--black); font-weight: 600; }
.product-breadcrumb i { font-size: 8px; color: var(--border); }

/* Wrapper 2 colunas */
.product-layout {
  display: flex;
  flex-direction: column;
  gap: 0;
}
@media (min-width: 900px) {
  .product-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }
}

/* ── GALERIA ── */
.product-gallery-col {
  width: 100%;
  flex-shrink: 0;
}
@media (min-width: 900px) {
  .product-gallery-col {
    width: 50%;
    position: sticky;
    top: var(--header-h);
    height: calc(100vh - var(--header-h));
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
}

.gallery-main {
  position: relative;
  overflow: hidden;
  background: var(--white);
  aspect-ratio: 1 / 1;
  user-select: none;
  flex-shrink: 0;
}
@media (min-width: 900px) {
  .gallery-main { flex: 1; aspect-ratio: unset; min-height: 0; }
}
.gallery-main-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .2s ease; display: block; }
.gallery-fb { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; background: var(--gray-light); color: var(--gray-mid); gap: 10px; }
.gallery-fb i { font-size: 44px; }
.gallery-fb span { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; }
.gallery-arrow { position: absolute; top: 50%; z-index: 10; transform: translateY(-50%); background: rgba(255,255,255,.92); border: none; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--black); transition: var(--ease); box-shadow: 0 2px 10px rgba(0,0,0,.14); }
.gallery-arrow:hover { background: var(--red); color: white; }
.gallery-arrow:active { transform: translateY(-50%) scale(.93); }
.gallery-arrow.prev { left: 10px; }
.gallery-arrow.next { right: 10px; }
.gallery-arrow:disabled { opacity: .2; pointer-events: none; }
.gallery-counter { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,.5); color: white; font-family: var(--font-head); font-size: 11px; font-weight: 600; letter-spacing: 1px; padding: 3px 9px; pointer-events: none; }
.gallery-thumbs { display: flex; gap: 5px; padding: 8px 12px; overflow-x: auto; scrollbar-width: none; background: var(--white); border-top: 1px solid var(--border); flex-shrink: 0; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumb { width: 52px; height: 52px; flex-shrink: 0; border: 2px solid transparent; overflow: hidden; transition: border-color .18s; background: var(--gray-light); cursor: pointer; }
.gallery-thumb.active { border-color: var(--red); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── INFO ── */
.product-info-col {
  width: 100%;
  background: var(--white);
}
@media (min-width: 900px) {
  .product-info-col {
    width: 50%;
    border-left: 1px solid var(--border);
    height: calc(100vh - var(--header-h));
    overflow-y: auto;
    position: sticky;
    top: var(--header-h);
  }
}

/* Seções dentro da coluna info */
.pinfo-section {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.pinfo-section:last-child { border-bottom: none; }

/* Badges */
.product-badges { display: flex; gap: 5px; flex-wrap: wrap; padding: 16px 24px 0; }

/* Cabeçalho */
.product-series { font-size: 9.5px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gray-mid); margin-bottom: 6px; }
.product-name-big { font-family: var(--font-head); font-size: clamp(26px, 4vw, 36px); font-weight: 800; line-height: .95; letter-spacing: -.5px; text-transform: uppercase; margin-bottom: 14px; }
.product-meta-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.studio-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--gray-light); padding: 5px 10px; font-size: 9.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray-dark); }
.franchise-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--black); color: rgba(255,255,255,.7); padding: 5px 10px; font-size: 9.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }

/* Preço */
.price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.price-label { font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--gray-mid); }
.price-big { font-family: var(--font-head); font-size: 38px; font-weight: 800; color: var(--red); line-height: 1; }
.payment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.payment-item { background: var(--bg); padding: 12px 14px; border-top: 3px solid transparent; }
.payment-item.entrada { border-color: var(--red); }
.payment-item.entrega { border-color: var(--black); }
.pay-label { font-size: 8.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray-mid); margin-bottom: 3px; }
.pay-pct { font-size: 10px; color: var(--gray-mid); margin-bottom: 4px; }
.pay-value { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--black); line-height: 1; }
.avista-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--green); color: white; font-family: var(--font-head); font-size: 9px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 14px; }

/* Specs */
.block-label { font-size: 9px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gray-mid); margin-bottom: 12px; }
.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.spec-item { background: var(--white); padding: 12px 14px; }
.spec-label { font-size: 8.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray-mid); margin-bottom: 4px; }
.spec-value { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--black); }

/* Descrição */
.desc-text { font-size: 13.5px; line-height: 1.78; color: var(--gray-dark); }

/* CTA desktop */
.product-cta-desktop { display: none; }
@media (min-width: 900px) { .product-cta-desktop { display: block; } }
.btn-whatsapp { width: 100%; background: var(--green); color: white; font-family: var(--font-head); font-size: 15px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 15px; border: none; transition: var(--ease); display: flex; align-items: center; justify-content: center; gap: 10px; }
.btn-whatsapp:hover { background: var(--green-h); }
.cta-note { text-align: center; margin-top: 10px; font-size: 11px; color: var(--gray-mid); line-height: 1.6; }

/* CTA mobile fixo — abaixo do toast */
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--border); padding: 9px 14px; z-index: 80; display: flex; align-items: center; gap: 14px; box-shadow: 0 -4px 20px rgba(0,0,0,.06); }
@media (min-width: 900px) { .sticky-cta { display: none; } }
.sticky-price-label { font-size: 9px; color: var(--gray-mid); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.sticky-price-val { font-family: var(--font-head); font-size: 21px; font-weight: 800; color: var(--black); line-height: 1; }
.btn-reserve { flex: 1; background: var(--green); color: white; font-family: var(--font-head); font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 13px 18px; border: none; transition: var(--ease); display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-reserve:hover { background: var(--green-h); }
.product-spacer { height: 68px; }
@media (min-width: 900px) { .product-spacer { display: none; } }

/* ===== SEARCH PAGE ===== */
.search-hero { background: var(--black); padding: 36px 16px 32px; text-align: center; position: relative; }
.search-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--red), transparent); }
.search-hero h1 { font-family: var(--font-head); font-size: clamp(32px,9vw,56px); font-weight: 800; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.search-hero-form { display: flex; max-width: 560px; margin: 0 auto; }
.search-hero-input { flex: 1; padding: 13px 16px; border: none; background: var(--white); font-family: var(--font-body); font-size: 14px; color: var(--black); outline: none; border-radius: 0; -webkit-appearance: none; }
.search-hero-btn { background: var(--red); color: white; border: none; padding: 13px 22px; font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; display: flex; align-items: center; gap: 7px; transition: var(--ease); white-space: nowrap; }
.search-hero-btn:hover { background: var(--red-hover); }
.search-wrap { max-width: 1400px; margin: 0 auto; padding: 24px 16px 60px; }
.search-results-info { padding: 0 0 16px; font-size: 13px; color: var(--gray-mid); }
.search-results-info strong { color: var(--black); }

/* ===== LOGIN ===== */
.login-wrap { min-height: calc(100dvh - var(--header-h)); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 16px 48px; }
.login-card { background: var(--white); width: 100%; max-width: 380px; padding: 40px 28px; border: 1px solid var(--border); }
.login-logo { font-family: var(--font-brand); font-size: 38px; letter-spacing: 3px; color: var(--black); text-align: center; line-height: 1; }
.login-logo span { color: var(--red); }
.login-logo-sub { text-align: center; font-family: var(--font-head); font-size: 8.5px; font-weight: 600; letter-spacing: 3.5px; color: var(--gray-mid); text-transform: uppercase; margin-bottom: 6px; }
.login-admin-label { display: flex; align-items: center; justify-content: center; gap: 7px; background: var(--black); color: white; font-family: var(--font-head); font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 5px 14px; margin: 0 auto 28px; width: fit-content; }
.login-admin-label i { font-size: 9px; color: var(--yellow); }
.btn-full { width: 100%; background: var(--red); color: white; font-family: var(--font-head); font-size: 15px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 14px; border: none; transition: var(--ease); display: flex; align-items: center; justify-content: center; gap: 9px; }
.btn-full:hover { background: var(--red-hover); }
.btn-full:disabled { opacity: .65; cursor: not-allowed; }
.input-wrap { position: relative; }
.input-eye { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--gray-mid); font-size: 14px; transition: var(--ease); padding: 4px; }
.input-eye:hover { color: var(--black); }
.login-help { text-align: center; margin-top: 20px; font-size: 11px; color: var(--gray-mid); line-height: 1.6; }
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.form-label { font-size: 9.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray-dark); }
.form-input { width: 100%; padding: 11px 13px; border: 1.5px solid var(--border); background: var(--bg); font-family: var(--font-body); font-size: 14px; color: var(--black); transition: var(--ease); outline: none; -webkit-appearance: none; border-radius: 0; }
.form-input:focus { border-color: var(--red); background: var(--white); }
.form-input::placeholder { color: #c0c0c0; }

/* ===== CART DRAWER ===== */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.42); z-index: 200; opacity: 0; pointer-events: none; transition: opacity .28s ease; }
.overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer { position: fixed; top: 0; right: -105%; width: 100%; max-width: 350px; height: 100dvh; background: var(--white); z-index: 300; transition: right 0.3s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; }
.cart-drawer.open { right: 0; }
.drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.drawer-title { font-family: var(--font-head); font-size: 17px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.close-btn { background: none; border: none; font-size: 19px; color: var(--black); padding: 4px; transition: var(--ease); }
.close-btn:hover { color: var(--red); }
.cart-body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
.cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--gray-mid); gap: 12px; padding: 40px; text-align: center; }
.cart-empty i { font-size: 40px; opacity: .4; }
.cart-empty p { font-size: 14px; }
.cart-items { flex: 1; overflow-y: auto; }
.cart-item { display: flex; gap: 11px; padding: 13px 15px; border-bottom: 1px solid var(--border); align-items: flex-start; }
.cart-item-img { width: 58px; height: 58px; object-fit: cover; background: var(--gray-light); flex-shrink: 0; display: block; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-family: var(--font-head); font-size: 12px; font-weight: 700; text-transform: uppercase; margin-bottom: 2px; }
.cart-item-price { font-size: 12px; color: var(--red); font-weight: 600; }
.cart-item-qty { font-size: 10px; color: var(--gray-mid); margin-top: 2px; }
.cart-item-remove { background: none; border: none; color: var(--gray-mid); font-size: 14px; padding: 2px; transition: var(--ease); flex-shrink: 0; }
.cart-item-remove:hover { color: var(--red); }
.cart-footer { padding: 14px 16px; border-top: 1px solid var(--border); flex-shrink: 0; }
.cart-total-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 11px; }
.cart-total-label { font-size: 9.5px; color: var(--gray-mid); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.cart-total-value { font-family: var(--font-head); font-size: 19px; font-weight: 700; color: var(--red); }

/* ===== TOAST =====
   FIX: quando oculto fica abaixo do viewport inteiro.
   Quando visível, aparece bem acima do sticky-cta mobile. */
.toast {
  position: fixed;
  bottom: 0;
  left: 50%;
  /* oculto: empurra para baixo do viewport */
  transform: translateX(-50%) translateY(calc(100% + 20px));
  background: var(--black); color: white;
  font-family: var(--font-head); font-size: 12px; font-weight: 600;
  letter-spacing: .8px; padding: 11px 22px; z-index: 9999;
  transition: transform 0.3s cubic-bezier(.34,1.4,.64,1);
  white-space: nowrap; display: flex; align-items: center; gap: 8px;
  pointer-events: none; box-shadow: var(--shadow-md);
}
/* visível no mobile: sobe 148px do fundo (68px spacer + 80px de folga) */
.toast.show {
  transform: translateX(-50%) translateY(calc(-68px - 80px));
}
/* no desktop não há sticky-cta, posição normal acima do fundo */
@media (min-width: 900px) {
  .toast        { bottom: 28px; transform: translateX(-50%) translateY(120px); }
  .toast.show   { transform: translateX(-50%) translateY(0); }
}
.toast-icon { color: var(--red); }

/* ===== FOOTER ===== */
.footer { background: var(--black); }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 32px; padding: 48px 24px 40px; max-width: 1400px; margin: 0 auto; }
@media (min-width: 540px)  { .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (min-width: 900px)  { .footer-inner { grid-template-columns: 1fr 1fr 1fr 1fr; gap: 48px; } }
@media (min-width: 1200px) { .footer-inner { grid-template-columns: 2fr 1fr 1.4fr 1fr; } }
.footer-logo { font-family: var(--font-brand); font-size: 32px; letter-spacing: 3px; color: var(--white); line-height: 1; margin-bottom: 2px; }
.footer-logo span { color: var(--red); }
.footer-logo-sub { font-family: var(--font-head); font-size: 8px; font-weight: 600; letter-spacing: 3.5px; color: #444; text-transform: uppercase; margin-bottom: 14px; }
.footer-tagline { font-size: 12px; color: #555; line-height: 1.7; }
.footer-col-title { font-family: var(--font-head); font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #555; margin-bottom: 14px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 13px; color: #888; transition: color .18s ease; }
.footer-links a:hover { color: var(--white); }
.footer-contact-link { display: flex; align-items: center; gap: 9px; font-size: 13px; color: #888; transition: color .18s ease; }
.footer-contact-link i { font-size: 15px; color: #555; transition: color .18s ease; flex-shrink: 0; }
.footer-contact-link:hover { color: var(--white); }
.footer-contact-link:hover i { color: var(--green); }
.footer-socials { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.footer-social-btn { width: 40px; height: 40px; background: #1a1a1a; border: 1px solid #2a2a2a; display: flex; align-items: center; justify-content: center; font-size: 17px; color: #666; transition: var(--ease); }
.footer-social-btn--ig:hover { background: #E1306C; color: white; border-color: #E1306C; }
.footer-social-btn--wa:hover { background: var(--green); color: white; border-color: var(--green); }
.footer-bottom { border-top: 1px solid #1e1e1e; padding: 16px 24px; font-size: 11px; color: #3a3a3a; letter-spacing: .3px; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; text-align: center; }
.footer-bottom-sep { color: #2a2a2a; }

/* ===== MISC ===== */
@media (max-width: 360px) { .logo-top { font-size: 20px; } .logo-sub { font-size: 7px; letter-spacing: 2px; } }
@keyframes pulse { 0%,100%{opacity:1;}50%{opacity:.45;} }