/* ============================================================
   Tribuna Pelotas — loja comercial (inspiração estrutural Trocafy)
   Azul elétrico + coral · DM Sans
   ============================================================ */

:root {
  --blue-900: #061433;
  --blue-800: #0a1f4d;
  --blue-600: #0b5fff;
  --blue-500: #2b74ff;
  --blue-050: #eef4ff;
  --coral-600: #ff4d6d;
  --coral-500: #ff6b84;
  --coral-050: #fff0f3;
  --ink: #0b1220;
  --ink-soft: #5b6b7c;
  --ink-mute: #8a97a6;
  --paper: #ffffff;
  --surface: #f4f7fb;
  --line: #e2e8f0;
  --line-soft: #eef2f7;
  --ok: #0f8a4b;
  --warn: #b86e00;
  --bad: #c62828;
  --font: "DM Sans", "Segoe UI", sans-serif;
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-soft: 0 8px 28px -18px rgba(6, 20, 51, 0.35);
  --shadow-card: 0 2px 0 rgba(6, 20, 51, 0.03), 0 14px 40px -24px rgba(6, 20, 51, 0.35);
  --wrap: 1180px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--blue-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--blue-500);
}

h1,
h2,
h3 {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

button {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.button:active {
  transform: translateY(1px);
}

.button--primary {
  background: var(--coral-600);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(255, 77, 109, 0.7);
}

.button--primary:hover {
  background: var(--coral-500);
  color: #fff;
}

.button--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: #fff;
}

.button--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.button--outline:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
  background: var(--blue-050);
}

.button--dark {
  background: var(--blue-900);
  color: #fff;
}

.button--dark:hover {
  background: var(--blue-800);
  color: #fff;
}

.button--block {
  width: 100%;
}

.button.is-loading {
  opacity: 0.72;
  pointer-events: none;
}

/* ---------- Tags ---------- */
.tag {
  display: inline-block;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.35;
}

.tag--promo {
  background: var(--coral-050);
  color: var(--coral-600);
}

.tag--as-is {
  background: var(--blue-050);
  color: var(--blue-600);
}

.tag--condition {
  background: #fff7e8;
  color: var(--warn);
}

.tag--defect {
  background: #fdecea;
  color: var(--bad);
}

.tag--soldout {
  background: #eceff3;
  color: #5b6570;
}

/* ---------- Promo bar ---------- */
.promo-bar {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--blue-900);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
}

.promo-bar__item {
  padding: 10px 14px;
  text-align: center;
  letter-spacing: 0.01em;
}

.promo-bar__item:nth-child(1) {
  background: var(--blue-600);
}

.promo-bar__item:nth-child(2) {
  background: var(--coral-600);
}

.promo-bar__item:nth-child(3) {
  background: var(--blue-800);
}

.promo-bar__item:nth-child(4) {
  background: #132a5c;
}

@media (min-width: 768px) {
  .promo-bar {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 12px 20px;
  display: grid;
  gap: 12px;
  align-items: center;
}

@media (min-width: 900px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
    min-height: var(--header-h);
    padding: 10px 20px;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.brand:hover {
  color: var(--blue-600);
}

.brand__logo {
  display: block;
  width: auto;
  height: auto;
}

.brand__logo--header {
  width: clamp(180px, 21vw, 230px);
}

.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--blue-600), var(--blue-900));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.brand__mark-accent {
  color: #9ec0ff;
}

.brand__name {
  white-space: nowrap;
}

.brand__sub {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 2px;
}

.header-search {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.header-search__input {
  width: 100%;
  height: 46px;
  padding: 0 48px 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.header-search__input::placeholder {
  color: var(--ink-mute);
}

.header-search__input:focus {
  outline: none;
  background: var(--paper);
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(11, 95, 255, 0.15);
}

.header-search__btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--blue-600);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.header-search__btn:hover {
  background: var(--blue-500);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.header-actions__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.header-actions__link:hover {
  background: var(--blue-050);
  color: var(--blue-600);
}

.header-actions__cta {
  background: var(--coral-050);
  color: var(--coral-600);
}

.header-actions__cta:hover {
  background: var(--coral-600);
  color: #fff;
}

/* ---------- Category nav ---------- */
.cat-nav {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.cat-nav__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cat-nav__btn {
  flex-shrink: 0;
  padding: 14px 16px;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.cat-nav__btn:hover {
  color: var(--blue-600);
}

.cat-nav__btn.is-active {
  color: var(--blue-600);
  border-bottom-color: var(--blue-600);
}

/* ---------- SPA pages ---------- */
.page {
  display: none;
}

.page.is-active {
  display: block;
  animation: page-enter 0.35s ease both;
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 420px at 85% 20%, rgba(255, 77, 109, 0.28), transparent 55%),
    linear-gradient(118deg, var(--blue-900) 0%, #0a2a7a 48%, var(--blue-600) 100%);
}

.hero__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 48px 20px 56px;
  display: grid;
  gap: 36px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    padding: 64px 20px 72px;
    gap: 48px;
  }
}

.hero__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  animation: rise-in 0.5s ease both;
}

.hero__title {
  font-size: clamp(34px, 6.5vw, 56px);
  font-weight: 800;
  color: #fff;
  max-width: 14ch;
  animation: rise-in 0.5s 0.06s ease both;
}

.hero__lead {
  margin-top: 16px;
  max-width: 42ch;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
  animation: rise-in 0.5s 0.12s ease both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  animation: rise-in 0.5s 0.18s ease both;
}

.hero__visual {
  position: relative;
  animation: rise-in 0.55s 0.1s ease both;
}

.hero__image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.55);
  background: rgba(255, 255, 255, 0.06);
}

.hero__image {
  width: 100%;
  height: auto;
  min-height: 240px;
  object-fit: cover;
}

.hero__brand-seal {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: 0 12px 30px -18px rgba(6, 20, 51, 0.72);
  backdrop-filter: blur(8px);
}

.hero__brand-seal img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.hero__brand-seal strong {
  display: block;
  color: var(--blue-900);
  font-size: 13px;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hero__chip {
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
}

/* ---------- Benefits ---------- */
.benefits {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.benefits__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 28px 20px;
  display: grid;
  gap: 16px;
}

@media (min-width: 800px) {
  .benefits__inner {
    grid-template-columns: 1.1fr repeat(4, 1fr);
    align-items: center;
    gap: 18px;
  }
}

.benefits__video {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--coral-050), #ffe4ea);
  color: var(--ink);
  text-decoration: none;
}

.benefits__video:hover {
  color: var(--ink);
}

.benefits__play {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--coral-600);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.benefits__video-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

.benefits__video-sub {
  font-size: 13px;
  color: var(--ink-soft);
}

.benefit {
  display: grid;
  gap: 4px;
  padding: 8px 4px;
}

.benefit__title {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
}

.benefit__text {
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---------- Sections ---------- */
.home-section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px 20px 8px;
}

.home-section:last-of-type {
  padding-bottom: 72px;
}

.home-section__header {
  max-width: 640px;
  margin: 0 auto 36px;
  text-align: center;
}

.home-section__title {
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 800;
}

.home-section__subtitle {
  margin-top: 10px;
  font-size: 16px;
  color: var(--ink-soft);
}

@media (min-width: 980px) {
  .home-section {
    padding-top: 72px;
  }
}

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }
}

.product-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card[hidden] {
  display: none !important;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px -24px rgba(6, 20, 51, 0.4);
  border-color: #c9d7f0;
}

.product-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.product-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  min-height: 280px;
  overflow: hidden;
  background: var(--surface);
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.35s ease;
}

.product-card:hover .product-card__image {
  transform: scale(1.04);
}

.product-card__body {
  padding: 18px 18px 20px;
}

.product-card__actions {
  padding: 0 18px 20px;
}

.product-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.product-card__title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.product-card__spec {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-mute);
}

.product-card__price-range {
  margin-top: 12px;
  font-size: 22px;
  font-weight: 800;
  color: var(--blue-600);
  letter-spacing: -0.02em;
}

.product-card__price-note {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-mute);
}

.product-card__defects {
  display: none;
}

.product-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  background: var(--coral-600);
  color: #fff !important;
  font-size: 14.5px;
  font-weight: 700;
  transition: background 0.18s ease;
}

.product-card:hover .product-card__cta {
  background: var(--coral-500);
}

.product-card--soldout {
  opacity: 0.92;
}

.product-card--soldout:hover {
  transform: none;
  box-shadow: var(--shadow-card);
  border-color: var(--line);
}

.product-card--soldout .product-card__image {
  filter: grayscale(0.45) brightness(0.92);
}

.product-card--soldout:hover .product-card__image {
  transform: none;
}

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(11, 18, 32, 0.82);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.product-card__cta--soldout,
.product-card--soldout .product-card__cta {
  background: #9aa6b2;
  cursor: default;
  pointer-events: none;
}

.product-card--soldout:hover .product-card__cta {
  background: #9aa6b2;
}

.product-card--soldout .product-card__price-range {
  color: #6b7785;
}

.button--soldout {
  background: #9aa6b2;
  color: #fff;
  cursor: not-allowed;
  opacity: 0.95;
}

.button--soldout:hover,
.button--soldout:focus {
  background: #9aa6b2;
}

.product--soldout .product__image {
  filter: grayscale(0.4) brightness(0.94);
}

.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.catalog-pagination[hidden] {
  display: none !important;
}

.catalog-pagination__btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.catalog-pagination__btn:hover:not(:disabled) {
  border-color: var(--blue-600);
  color: var(--blue-600);
}

.catalog-pagination__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.catalog-pagination__status {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-mute);
}

.catalog-empty {
  display: none;
  grid-column: 1 / -1;
  padding: 36px 20px;
  text-align: center;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
}

.catalog-empty.is-visible {
  display: block;
}

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  gap: 16px;
}

@media (min-width: 800px) {
  .testimonials {
    grid-template-columns: repeat(4, 1fr);
  }
}

.testimonial {
  padding: 22px 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
}

.testimonial__text {
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.55;
}

.testimonial__name {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-600);
}

/* ---------- Breadcrumb / docs ---------- */
.breadcrumb {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 22px 20px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-mute);
}

.breadcrumb__link {
  color: var(--ink-mute);
  text-decoration: none;
}

.breadcrumb__link:hover {
  color: var(--blue-600);
}

.breadcrumb__sep {
  color: #c5ced9;
}

.breadcrumb__current {
  color: var(--ink);
  font-weight: 600;
}

.doc {
  max-width: 820px;
  margin: 24px auto 72px;
  padding: clamp(26px, 5vw, 48px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.doc__title {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
}

.doc__meta {
  margin: 10px 0 26px;
  font-size: 13px;
  color: var(--ink-mute);
}

.doc h2 {
  margin: 34px 0 12px;
  font-size: 20px;
  font-weight: 800;
}

.doc p {
  margin-bottom: 14px;
  font-size: 15.5px;
}

.doc ul,
.doc ol {
  margin: 0 0 16px;
  padding-left: 22px;
  display: grid;
  gap: 7px;
  font-size: 15.5px;
}

.doc__highlight {
  margin: 22px 0;
  padding: 18px 20px;
  background: var(--blue-050);
  border: 1px solid #d5e3ff;
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--blue-800);
}

/* ---------- FAQ ---------- */
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq__item[open] {
  border-color: #c9d7f0;
  background: var(--paper);
}

.faq__question {
  position: relative;
  padding: 16px 44px 16px 18px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question:hover {
  color: var(--blue-600);
}

.faq__question::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--coral-600);
}

.faq__item[open] .faq__question::after {
  content: "–";
}

.faq__answer {
  padding: 0 18px 18px;
  font-size: 15px;
}

.faq__answer p {
  margin-bottom: 10px;
}

/* ---------- Product page ---------- */
.product {
  max-width: var(--wrap);
  margin: 24px auto 72px;
  padding: 0 20px;
}

.product__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}

@media (min-width: 900px) {
  .product__layout {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
  }
}

.product__media {
  position: relative;
}

.product__figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.product__image {
  width: 100%;
  aspect-ratio: 3 / 4;
  min-height: 360px;
  object-fit: contain;
  object-position: center;
  background: var(--surface);
  display: block;
}

.product__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product__title {
  margin-top: 14px;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
}

.product__subtitle {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--ink-mute);
}

.product__price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 6px;
  padding: 16px 18px;
  background: var(--blue-050);
  border: 1px solid #d5e3ff;
  border-radius: var(--radius-md);
}

.product__price {
  font-size: 32px;
  font-weight: 800;
  color: var(--blue-600);
  line-height: 1.1;
}

.product__price-note {
  font-size: 13px;
  color: var(--ink-soft);
}

.product__section {
  margin-top: 24px;
}

.product__section-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 10px;
}

.product__section p {
  font-size: 15px;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 8px;
}

.check-list__item {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
}

.check-list__item::before {
  position: absolute;
  left: 2px;
  top: 0;
  font-weight: 700;
}

.check-list__item--ok::before {
  content: "✓";
  color: var(--ok);
}

.check-list__item--warn::before {
  content: "!";
  color: var(--warn);
}

.check-list__item--bad::before {
  content: "×";
  color: var(--bad);
}

.product__buy {
  margin-top: 28px;
}

.product__buy-hint {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-mute);
  text-align: center;
}

.notice {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.notice__icon {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--blue-600);
}

.notice__text {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--blue-600);
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

/* ---------- Contact / values ---------- */
.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 18px 0;
}

@media (min-width: 640px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
}

.value-card__title {
  font-size: 16.5px;
  font-weight: 800;
}

.value-card__text {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.cta-banner {
  max-width: 820px;
  margin: 0 auto 72px;
  padding: 26px clamp(22px, 4vw, 40px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(120deg, var(--blue-050), var(--coral-050));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

@media (max-width: 880px) {
  .cta-banner {
    margin-left: 20px;
    margin-right: 20px;
  }
}

.cta-banner__text {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
}

.contact {
  max-width: var(--wrap);
  margin: 24px auto 72px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 900px) {
  .contact {
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
  }
}

.contact__form-card,
.contact-channels {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-soft);
}

.contact__title {
  font-size: clamp(26px, 4.5vw, 34px);
  font-weight: 800;
}

.contact__subtitle {
  margin: 8px 0 26px;
  font-size: 15px;
  color: var(--ink-soft);
}

.contact-channels__title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
}

.channel {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
}

.channel:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.channel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex-shrink: 0;
}

.channel__icon--mail {
  background: var(--blue-050);
  color: var(--blue-600);
}

.channel__icon--clock {
  background: var(--coral-050);
  color: var(--coral-600);
}

.channel__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.channel__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.channel__value {
  font-size: 14.5px;
  color: var(--ink);
  overflow-wrap: anywhere;
}

/* ---------- Forms ---------- */
.form-field {
  margin-bottom: 18px;
}

.form-field__label {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.form-field__label span {
  color: var(--bad);
}

.form-field__control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.form-field__control:focus {
  outline: none;
  border-color: var(--blue-600);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(11, 95, 255, 0.14);
}

.form-field__control--textarea {
  min-height: 130px;
  resize: vertical;
}

.form-field__hint {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--ink-mute);
}

.form-field__error {
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid #efc4c4;
  border-radius: var(--radius-sm);
  background: #fff5f5;
  font-size: 13.5px;
  color: var(--bad);
}

.form-field__error[hidden] {
  display: none;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
}

.consent__checkbox {
  margin-top: 4px;
  width: 16px;
  height: 16px;
  accent-color: var(--blue-600);
  flex-shrink: 0;
}

.consent__label {
  font-size: 13.5px;
  color: var(--ink-soft);
}

.form-success {
  display: none;
  padding: 18px 20px;
  background: #e9f8ef;
  border: 1px solid #bfe8cd;
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: #14532d;
}

.form-success.is-visible {
  display: block;
}

.form-success strong {
  display: block;
  margin-bottom: 4px;
}

/* ---------- Sell strip (compramos peças) ---------- */
.sell-strip {
  margin: 8px 0 12px;
  padding: 0 20px;
}

.sell-strip__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border: 1px dashed #c9d7f0;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #f8faff 0%, var(--blue-050) 100%);
}

.sell-strip__eyebrow {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.sell-strip__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 52ch;
}

.sell-strip__cta {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .sell-strip__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 18px;
  }

  .sell-strip__cta {
    width: 100%;
    text-align: center;
  }
}

/* ---------- Interest modal ---------- */
.purchase-modal[hidden] {
  display: none;
}

.purchase-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 18px;
}

.purchase-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 20, 51, 0.58);
}

.purchase-modal__dialog {
  position: relative;
  width: min(100%, 560px);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px -28px rgba(6, 20, 51, 0.55);
}

.purchase-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.purchase-form {
  padding: clamp(24px, 4vw, 34px);
}

.purchase-form__brand {
  display: inline-flex;
  margin: 0 42px 16px 0;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.brand__logo--modal {
  width: clamp(160px, 42vw, 190px);
}

.purchase-form.is-hidden {
  display: none;
}

.purchase-form__title {
  margin-bottom: 6px;
  font-size: 22px;
  font-weight: 800;
}

.purchase-form__text {
  margin-bottom: 18px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.purchase-form .form-field--submit-gap {
  margin-bottom: 24px;
}

.purchase-form__success {
  margin: clamp(24px, 4vw, 34px);
}

body.is-purchase-modal-open {
  overflow: hidden;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--blue-900);
  color: rgba(255, 255, 255, 0.78);
  border-top: 0;
}

.site-footer__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px 20px 32px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 700px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 44px;
  }
}

.site-footer__logo-panel {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 36px -24px rgba(0, 0, 0, 0.72);
}

.brand__logo--footer {
  width: min(230px, 68vw);
}

.site-footer__about {
  margin-top: 16px;
  font-size: 14px;
  max-width: 36ch;
}

.site-footer__heading {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}

.site-footer__list {
  list-style: none;
  display: grid;
  gap: 9px;
  font-size: 14px;
}

.site-footer__link {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.site-footer__link:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer__legal {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  line-height: 1.7;
}

.site-footer__legal strong {
  color: #fff;
}

.site-footer__copy {
  margin-top: 10px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 250;
  max-width: 480px;
  margin: 0 auto;
  padding: 20px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink-soft);
  box-shadow: var(--shadow-card);
  animation: rise-in 0.4s ease both;
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-banner__title {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}

.cookie-banner__text {
  font-size: 13.5px;
  line-height: 1.6;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.cookie-banner__button {
  flex: 1;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}

.cookie-banner__button--accept {
  border: 1px solid var(--coral-600);
  background: var(--coral-600);
  color: #fff;
}

.cookie-banner__button--reject {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

@media (min-width: 700px) {
  .cookie-banner {
    left: auto;
    right: 24px;
    bottom: 24px;
    margin: 0;
  }
}

/* Legacy hooks kept for SPA pages */
.condition-note,
.pledge-grid,
.pledge-card,
.disclaimer-bar {
  display: none;
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.main-nav__link {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.main-nav__link:hover,
.main-nav__link--cta {
  color: var(--blue-600);
  background: var(--blue-050);
}