/* =========================================================
   Akylla Shop — landing page
   CSS moderno, mobile-first, sem framework
   ========================================================= */

/* Fontes locais (OFL) — sem chamadas ao Google Fonts */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/dm-sans-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/sora-latin.woff2") format("woff2");
}

:root {
  --ink: #060913;
  --ink-soft: #0b1120;
  --ink-3: #121a2c;
  --paper: #f4f5ef;
  --paper-2: #e9ece1;
  --white: #ffffff;
  --brand: #ff8a00;
  --brand-soft: #ffb347;
  --brand-deep: #ff6a00;
  --orange: #ff7a3d;
  --violet: #b69cff;
  --wa: #25d366;
  --text: #111726;
  --muted: #5f6878;
  --muted-2: #667080;
  --line: rgba(9, 14, 26, 0.1);
  --line-strong: rgba(9, 14, 26, 0.16);
  --line-dark: rgba(255, 255, 255, 0.12);
  --radius: 24px;
  --radius-sm: 16px;
  --shadow-sm: 0 10px 30px rgba(8, 12, 22, 0.07);
  --shadow-md: 0 24px 60px rgba(8, 12, 22, 0.14);
  --shadow-lg: 0 40px 100px rgba(4, 8, 18, 0.28);
  --container: 1180px;
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

::selection {
  background: var(--brand);
  color: var(--ink);
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

.sr-only {
  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: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  background: var(--brand);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 2.5rem), var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

/* Tipografia de seção */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.62);
}

.pulse-dot {
  position: relative;
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgba(255, 138, 0, 0.45);
  animation: pulse 2.4s ease-out infinite;
  flex: none;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head--center {
  justify-content: center;
  text-align: center;
}

.section-head--center .section-head-copy {
  max-width: 720px;
}

.section-head h2 {
  margin: 0.65rem 0 0.85rem;
  font-size: clamp(2.15rem, 4.2vw, 3.55rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.section-lead {
  max-width: 38rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.7;
}

.section-head--center .section-lead {
  margin-inline: auto;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.82rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--brand-soft);
  box-shadow: 0 12px 30px rgba(255, 138, 0, 0.22);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: #172036;
  box-shadow: 0 14px 30px rgba(6, 9, 19, 0.22);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
}

.btn-outline {
  border-color: rgba(6, 9, 19, 0.2);
  background: transparent;
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
}

.btn-outline-dark {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--text);
}

.btn-outline-dark:hover {
  border-color: var(--ink);
  background: var(--white);
}

.btn-ghost-dark {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--text);
}

.btn-ghost-dark:hover {
  border-color: var(--ink);
  background: rgba(6, 9, 19, 0.04);
}

.btn-whatsapp {
  background: var(--wa);
  color: #041b0c;
}

.btn-whatsapp:hover {
  background: #4be184;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.24);
}

.btn-block {
  width: 100%;
}

/* Barra de anúncio */
.announcement {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: 34px;
  padding-block: 0.35rem;
}

.announcement-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.announcement .pulse-dot {
  width: 5px;
  height: 5px;
}

.announcement-sep {
  width: 1px;
  height: 11px;
  background: rgba(255, 255, 255, 0.18);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(244, 245, 239, 0.82);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(244, 245, 239, 0.94);
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(8, 12, 22, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--ink);
  color: var(--brand);
  box-shadow: 0 8px 18px rgba(6, 9, 19, 0.16);
}

.brand-mark {
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-type {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.brand-word {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text);
}

.brand-dot {
  color: var(--brand);
  text-shadow: 0 0 12px rgba(255, 138, 0, 0.3);
}

.brand-sub {
  color: var(--muted-2);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.34em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.45rem;
}

.desktop-nav a {
  position: relative;
  padding-block: 0.35rem;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 500;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: none;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.icon-btn svg {
  width: 19px;
  height: 19px;
}

.icon-btn:hover {
  border-color: var(--line-strong);
  background: var(--white);
}

.icon-btn--light {
  border-color: var(--line-dark);
  color: var(--white);
}

.icon-btn--light:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0.4rem 0.5rem 0.4rem 0.85rem;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.77rem;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cart-btn:hover {
  background: #172036;
  transform: translateY(-1px);
}

.cart-btn svg {
  width: 18px;
  height: 18px;
}

.cart-count {
  display: grid;
  place-items: center;
  min-width: 23px;
  height: 23px;
  padding-inline: 0.3rem;
  border-radius: 999px;
  background: var(--brand);
  color: var(--ink);
  font-size: 0.63rem;
  font-weight: 800;
  line-height: 1;
}

.menu-toggle {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  overflow: clip; /* não deixa o foco/scrollIntoView rolar o bloco por dentro */
  padding: clamp(3.5rem, 6vw, 5.6rem) 0 clamp(4rem, 7vw, 6rem);
  background: var(--ink);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 60% 35%, black, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 35%, black, transparent 72%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.6;
  pointer-events: none;
}

.hero-glow--one {
  top: -220px;
  right: -130px;
  background: radial-gradient(circle, rgba(255, 138, 0, 0.24), transparent 68%);
}

.hero-glow--two {
  bottom: -280px;
  left: -150px;
  background: radial-gradient(circle, rgba(255, 138, 0, 0.17), transparent 68%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 11ch;
  margin: 0.9rem 0 1.35rem;
  font-size: clamp(3rem, 6.1vw, 5.35rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.058em;
}

.grad-text {
  background: linear-gradient(96deg, var(--brand-soft) 4%, var(--brand) 48%, var(--brand-deep) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 35rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.4rem;
  margin: 2.1rem 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.77rem;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.hero-trust svg {
  width: 15px;
  height: 15px;
  color: var(--brand);
}

.hero-visual {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
}

.hero-photo {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 34px 34px 118px 34px;
  background: var(--ink-3);
  box-shadow: var(--shadow-lg);
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.hero-photo:hover img {
  transform: scale(1.02);
}

.hero-photo:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.9rem 0.7rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 17px;
  background: rgba(12, 18, 32, 0.82);
  box-shadow: 0 20px 45px rgba(3, 7, 16, 0.4);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: floaty 5.5s ease-in-out infinite alternate;
}

.float-card--top {
  top: 43%;
  right: -2.2rem;
}

.float-card--bottom {
  top: 66%;
  bottom: auto;
  left: -2.6rem;
  animation-delay: -2.4s;
}

.float-card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 138, 0, 0.2);
  border-radius: 12px;
  background: rgba(255, 138, 0, 0.1);
  color: var(--brand);
  flex: none;
}

.float-card-icon--orange {
  border-color: rgba(255, 122, 61, 0.24);
  background: rgba(255, 122, 61, 0.1);
  color: #ff9b6d;
}

.float-card-icon svg {
  width: 26px;
  height: 26px;
}

.float-card-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.float-card-copy strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.float-card-copy span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.65rem;
}

.hero-seal {
  position: absolute;
  top: -1.1rem;
  right: 1.2rem;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(6, 9, 19, 0.12);
  border-radius: 50%;
  background: var(--brand);
  color: var(--ink);
  font-size: 0.56rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(8deg);
  box-shadow: 0 18px 40px rgba(255, 138, 0, 0.16);
}

.hero-seal svg {
  width: 19px;
  height: 19px;
}

.hero-seal strong {
  font-weight: 800;
}

/* Faixa animada */
.marquee {
  overflow: hidden;
  padding: 0.95rem 0;
  border-block: 1px solid rgba(6, 9, 19, 0.16);
  background: var(--brand);
  color: var(--ink);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-dot {
  opacity: 0.42;
  font-size: 1rem !important;
}

/* Produtos */
.products-head {
  align-items: flex-end;
}

.catalog-tools {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.search-field {
  position: relative;
  display: block;
}

.search-field svg {
  position: absolute;
  top: 50%;
  left: 0.95rem;
  width: 18px;
  height: 18px;
  color: var(--muted-2);
  transform: translateY(-50%);
  pointer-events: none;
}

.search-field input {
  width: 258px;
  height: 48px;
  padding: 0 1rem 0 2.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.82rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-field input::placeholder {
  color: var(--muted-2);
}

.search-field input:focus {
  border-color: var(--ink);
  outline: none;
  box-shadow: 0 0 0 4px rgba(6, 9, 19, 0.06);
}

.sort-field {
  position: relative;
  display: block;
}

.sort-field select {
  height: 48px;
  padding: 0 2.6rem 0 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  font-size: 0.8rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.sort-field select:focus {
  border-color: var(--ink);
  outline: none;
  box-shadow: 0 0 0 4px rgba(6, 9, 19, 0.06);
}

.sort-field svg {
  position: absolute;
  top: 50%;
  right: 0.9rem;
  width: 15px;
  height: 15px;
  color: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.filter-row {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  margin-bottom: 1.8rem;
  padding-bottom: 0.35rem;
  scrollbar-width: none;
}

.filter-row::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.filter-chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.filter-chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-chip.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.filter-chip.is-active::before {
  background: var(--brand);
  opacity: 1;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 1.15rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(9, 14, 26, 0.02);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  animation: cardIn 0.5s both;
  animation-delay: calc(var(--i, 0) * 28ms);
}

.product-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.product-media {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  padding: 1rem;
  border: 0;
  background:
    radial-gradient(circle at 50% 96%, color-mix(in srgb, var(--accent, var(--brand)) 16%, transparent), transparent 58%),
    linear-gradient(180deg, #ffffff 0%, #f4f6ef 100%);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
}

.product-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.9), transparent 56%);
}

.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(9, 14, 26, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 14, 26, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black, transparent 78%);
}

.product-media.is-fallback {
  background: linear-gradient(150deg, #111a2d, #070b14);
}

.product-media.is-fallback::before {
  background: radial-gradient(circle at 50% 18%, color-mix(in srgb, var(--accent, var(--brand)) 30%, transparent), transparent 62%);
}

.product-media.is-fallback::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
}

.product-media:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: -3px;
}

.visual--watch {
  --accent: #ff8a00;
}

.visual--headphones {
  --accent: #b69cff;
}

.visual--earbuds {
  --accent: #8bd7ff;
}

.visual--drone {
  --accent: #ff8a5b;
}

.visual--cable {
  --accent: #67e8f9;
}

.visual--charger {
  --accent: #ffd166;
}

.visual--powerbank {
  --accent: #7cf0b0;
}

.visual--mic {
  --accent: #ff9ec7;
}

.product-icon {
  position: relative;
  z-index: 1;
  display: none;
  width: 42%;
  max-width: 118px;
  height: auto;
  color: var(--accent, var(--brand));
  filter: drop-shadow(0 12px 24px color-mix(in srgb, var(--accent, var(--brand)) 18%, transparent));
  transition: transform 0.35s ease;
}

.product-media.is-fallback .product-icon {
  display: block;
}

.product-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-icon {
  transform: scale(1.07) rotate(-2deg);
}

.product-card:hover .product-photo {
  transform: scale(1.035) translateY(-3px);
}

.product-media.is-fallback .product-photo {
  display: none;
}

.product-brand {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  max-width: calc(100% - 1.7rem);
  overflow: hidden;
  padding: 0.28rem 0.5rem;
  border: 1px solid rgba(9, 14, 26, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.product-media.is-fallback .product-brand {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.7);
}

.product-model {
  position: absolute;
  right: 0.9rem;
  bottom: 0.75rem;
  z-index: 2;
  color: var(--muted-2);
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.product-media.is-fallback .product-model {
  color: rgba(255, 255, 255, 0.38);
}

.media-note {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 3;
  max-width: calc(100% - 1.6rem);
  padding: 0.24rem 0.48rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--muted);
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.product-media.is-fallback .media-note {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(9, 14, 26, 0.55);
  color: rgba(255, 255, 255, 0.7);
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.05rem 1.15rem 1.2rem;
}

.product-kicker {
  margin: 0 0 0.4rem;
  color: var(--muted-2);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 0 0 0.45rem;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.34;
  letter-spacing: -0.025em;
}

.product-name {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
}

.product-name:hover {
  color: #000;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.product-desc {
  display: -webkit-box;
  flex: 1;
  overflow: hidden;
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.details-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.28rem;
  margin: 0 0 0.9rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted-2);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease;
}

.details-link svg {
  width: 13px;
  height: 13px;
  transition: transform 0.2s ease;
}

.details-link:hover {
  color: var(--text);
}

.details-link:hover svg {
  transform: translateX(3px);
}

.product-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.price-label {
  display: block;
  margin-bottom: 0.1rem;
  color: var(--muted-2);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

/* Estoque (vem da planilha) */
.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  margin: 0 0 0.5rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.3;
}

.stock-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.stock-badge--ok {
  background: #e7f6ec;
  color: #17723a;
}

.stock-badge--low {
  background: #fff1e0;
  color: #a34a00;
}

.stock-badge--out {
  background: #f1f1f1;
  color: #5f6878;
}

.price-wrap .stock-badge {
  margin: 0.35rem 0 0;
}

.add-btn:disabled,
.add-btn:disabled:hover {
  background: #d9dbd3;
  color: #8a8f99;
  cursor: not-allowed;
  transform: none;
}

.add-btn {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  color: var(--brand);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  flex: none;
}

.add-btn svg {
  width: 19px;
  height: 19px;
}

.add-btn:hover {
  background: var(--brand);
  color: var(--ink);
  transform: scale(1.04);
}

.add-btn.is-added {
  background: var(--brand);
  color: var(--ink);
}

.catalog-empty {
  padding: 3.5rem 1.5rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  text-align: center;
}

.catalog-empty-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--brand);
}

.catalog-empty-icon svg {
  width: 23px;
  height: 23px;
}

.catalog-empty h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.catalog-empty p {
  margin: 0 auto 1.2rem;
  max-width: 30rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.catalog-empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.catalog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.8rem;
}

.catalog-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.fine-print {
  max-width: 62rem;
  margin: 1.4rem 0 0;
  color: var(--muted-2);
  font-size: 0.68rem;
  line-height: 1.6;
}

/* Sobre */
.about {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.about::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -100px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 138, 0, 0.1), transparent 68%);
  pointer-events: none;
}

.about-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.9fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.about h2 {
  max-width: 13ch;
  margin: 0.7rem 0 1.3rem;
  font-size: clamp(2.2rem, 4.1vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.about-copy > p {
  max-width: 38rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.94rem;
  line-height: 1.75;
}

.about-list {
  display: grid;
  gap: 0.62rem;
  margin: 1.8rem 0 2rem;
  padding: 0;
  list-style: none;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
}

.about-list svg {
  width: 17px;
  height: 17px;
  color: var(--brand);
  flex: none;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.stat-card {
  display: flex;
  min-height: 132px;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  border: 1px solid var(--line-dark);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.stat-card strong {
  color: var(--brand);
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.8vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
}

.stat-card span {
  max-width: 10rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  line-height: 1.45;
}

.stat-card--accent {
  border-color: transparent;
  background: var(--brand);
}

.stat-card--accent strong {
  color: var(--ink);
}

.stat-card--accent span {
  color: rgba(6, 9, 19, 0.62);
}

.about-quote {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1.2rem 1.4rem;
  border-left: 2px solid var(--brand);
  border-radius: 0 16px 16px 0;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-display);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Como funciona */
.how {
  background: var(--paper);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.step-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.step-number {
  position: absolute;
  top: 0.4rem;
  right: 1rem;
  color: transparent;
  font-family: var(--font-display);
  font-size: 4.2rem;
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(6, 9, 19, 0.1);
  pointer-events: none;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.2rem;
  border-radius: 14px;
  background: var(--ink);
  color: var(--brand);
}

.step-icon svg {
  width: 22px;
  height: 22px;
}

.step-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

/* Políticas */
.policies {
  background: var(--paper-2);
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.policy-card {
  padding: 1.4rem;
  border: 1px solid rgba(9, 14, 26, 0.08);
  border-radius: 20px;
  background: var(--white);
}

.policy-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  margin-bottom: 1rem;
  border-radius: 13px;
  background: rgba(6, 9, 19, 0.05);
  color: var(--ink);
}

.policy-icon svg {
  width: 21px;
  height: 21px;
}

.policy-card h3 {
  margin: 0 0 0.45rem;
  font-size: 0.94rem;
  letter-spacing: -0.02em;
}

.policy-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.65;
}

.policy-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.8rem;
  color: var(--text);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.policy-link svg {
  width: 13px;
  height: 13px;
  transition: transform 0.2s ease;
}

.policy-link:hover {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-link:hover svg {
  transform: translateX(3px);
}

.transparency-note {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-top: 1rem;
  padding: 1.05rem 1.3rem;
  border-radius: 18px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
}

.transparency-note svg {
  width: 21px;
  height: 21px;
  margin-top: 0.05rem;
  color: var(--brand);
  flex: none;
}

.transparency-note p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.65;
}

.transparency-note strong {
  color: var(--white);
}

/* FAQ */
.faq {
  background: var(--paper);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 110px;
}

.faq-intro h2 {
  max-width: 12ch;
  margin: 0.7rem 0 0.8rem;
  font-size: clamp(2.1rem, 3.7vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.faq-intro .btn {
  margin-top: 1.5rem;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-toggle {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.25s ease;
  flex: none;
}

.faq-toggle svg {
  width: 15px;
  height: 15px;
}

.faq-item[open] .faq-toggle {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--brand);
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 2.5rem 1.25rem 0;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.72;
}

.faq-answer a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* CTA final */
.cta-final {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 7vw, 6rem) 0;
  background: linear-gradient(128deg, var(--brand-soft) 0%, var(--brand) 48%, var(--brand-deep) 100%);
  color: var(--ink);
}

.cta-final-glow {
  position: absolute;
  top: -180px;
  right: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent 65%);
  pointer-events: none;
}

.cta-final-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.cta-final .eyebrow {
  color: rgba(6, 9, 19, 0.55);
}

.cta-final h2 {
  max-width: 12ch;
  margin: 0.7rem 0 1rem;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.cta-final-copy > p {
  max-width: 36rem;
  margin: 0;
  color: rgba(6, 9, 19, 0.64);
  font-size: 0.96rem;
  line-height: 1.7;
}

.cta-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.8rem;
}

.cta-final-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.6rem !important;
  color: rgba(6, 9, 19, 0.55) !important;
  font-size: 0.72rem !important;
  font-weight: 600;
}

.cta-final-meta .pulse-dot {
  background: var(--ink);
  box-shadow: 0 0 0 0 rgba(6, 9, 19, 0.28);
}

.cta-final-art {
  position: relative;
  min-height: 290px;
  display: grid;
  place-items: center;
}

.cta-art-ring {
  position: absolute;
  border: 1px solid rgba(6, 9, 19, 0.2);
  border-radius: 50%;
}

.cta-art-ring--one {
  width: 230px;
  height: 230px;
}

.cta-art-ring--two {
  width: 320px;
  height: 320px;
  border-style: dashed;
  opacity: 0.65;
}

.cta-art-bolt {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--brand);
  box-shadow: 0 30px 60px rgba(6, 9, 19, 0.25);
  transform: rotate(-7deg);
}

.cta-art-bolt {
  overflow: hidden;
}

.cta-art-bolt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-art-label {
  position: absolute;
  right: -0.5rem;
  bottom: -1.4rem;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(6, 9, 19, 0.2);
  pointer-events: none;
}

.cta-art-label span {
  color: var(--ink);
  -webkit-text-stroke: 0;
}

/* Footer */
.site-footer {
  padding: 4rem 0 1.5rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.58);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
}

.brand--footer .brand-word {
  color: var(--white);
}

.brand--footer .brand-sub {
  color: rgba(255, 255, 255, 0.55);
}

.footer-brand > p {
  max-width: 30ch;
  margin: 1rem 0 1.2rem;
  font-size: 0.8rem;
  line-height: 1.7;
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 600;
}

.footer-whatsapp svg {
  width: 17px;
  height: 17px;
}

.footer-whatsapp:hover {
  color: var(--white);
}

.footer-col h3 {
  margin: 0 0 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 0.62rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a,
.footer-col span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.79rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--brand);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-dark);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.66rem;
}

.footer-bottom .footer-seller {
  order: 1;
  flex-basis: 100%;
}

.nowrap {
  white-space: nowrap;
}

.footer-top-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.66rem;
  font-weight: 600;
}

.footer-top-link svg {
  width: 13px;
  height: 13px;
}

.footer-top-link:hover {
  color: var(--brand);
}

/* Páginas legais (privacidade e termos) */
.legal {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: var(--paper);
}

.legal-shell {
  max-width: 780px;
  margin-inline: auto;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.6rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.legal-back svg {
  width: 15px;
  height: 15px;
}

.legal-back:hover {
  color: var(--text);
}

.legal-shell h1 {
  margin: 0.6rem 0 0.5rem;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.legal-updated {
  margin: 0 0 2rem;
  color: var(--muted-2);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-body h2 {
  margin: 2.1rem 0 0.6rem;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.legal-body p,
.legal-body li {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.legal-body p {
  margin: 0 0 0.9rem;
}

.legal-body ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.legal-body li {
  margin-bottom: 0.4rem;
}

.legal-body a {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-body code {
  padding: 0.1rem 0.3rem;
  border-radius: 6px;
  background: rgba(6, 9, 19, 0.05);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
}

.legal-note {
  margin-top: 2.2rem;
  padding: 1.05rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
}

/* Diálogos */
dialog {
  border: 0;
  color: var(--text);
}

dialog::backdrop {
  background: rgba(3, 6, 14, 0.74);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Menu mobile */
.mobile-menu {
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 1.1rem;
  background: var(--ink);
  color: var(--white);
}

.mobile-menu[open] {
  display: flex;
  flex-direction: column;
  animation: menuIn 0.28s ease both;
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line-dark);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 1rem 0;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.mobile-nav a span {
  color: var(--brand);
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-nav a:hover {
  color: var(--brand);
}

.mobile-menu-foot {
  margin-top: auto;
  padding-top: 1.5rem;
}

.mobile-menu-foot p {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
  text-align: center;
}

/* Sacola */
.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(430px, 100%);
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--paper);
  box-shadow: -30px 0 80px rgba(4, 8, 18, 0.2);
}

.cart-drawer[open] {
  display: flex;
  flex-direction: column;
  animation: drawerIn 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.4rem 1rem;
  border-bottom: 1px solid var(--line);
}

.cart-head .eyebrow {
  margin-bottom: 0.25rem;
}

.cart-head h2 {
  margin: 0;
  font-size: 1.7rem;
  letter-spacing: -0.05em;
}

.cart-body {
  display: grid;
  flex: 1;
  align-content: start;
  gap: 1rem;
  overflow-y: auto;
  padding: 1.1rem 1.4rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: start;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  animation: cardIn 0.3s both;
}

.cart-thumb {
  display: grid;
  place-items: center;
  width: 62px;
  height: 70px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f7f8f3;
  color: var(--accent, var(--brand));
}

.cart-thumb.is-fallback {
  border-color: transparent;
  background: linear-gradient(150deg, #111a2d, #070b14);
}

.cart-thumb-photo {
  width: 100%;
  height: 100%;
  padding: 3px;
  object-fit: contain;
}

.cart-thumb svg {
  display: none;
  width: 36px;
  height: 36px;
}

.cart-thumb.is-fallback svg {
  display: block;
}

.cart-item-main {
  min-width: 0;
}

.cart-item h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 0.15rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cart-item-code {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
}

.qty-control button {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
}

.qty-control button:hover {
  background: rgba(6, 9, 19, 0.06);
}

.qty-control button:disabled {
  color: var(--muted-2);
  cursor: not-allowed;
}

.qty-control svg {
  width: 13px;
  height: 13px;
}

.qty-value {
  min-width: 24px;
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
}

.remove-item {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted-2);
  transition: background 0.2s ease, color 0.2s ease;
}

.remove-item:hover {
  background: rgba(255, 84, 84, 0.1);
  color: #d63c3c;
}

.remove-item svg {
  width: 15px;
  height: 15px;
}

.cart-item-price {
  padding-top: 0.1rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.cart-empty {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  text-align: center;
}

.cart-empty-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--brand);
}

.cart-empty-icon svg {
  width: 28px;
  height: 28px;
}

.cart-empty h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.cart-empty p {
  max-width: 18rem;
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.6;
}

.cart-foot {
  padding: 1.1rem 1.4rem 1.3rem;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.cart-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.3rem;
}

.cart-total-row span {
  color: var(--muted);
  font-size: 0.8rem;
}

.cart-total-row strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: -0.05em;
}

.cart-note {
  margin: 0 0 0.9rem;
  color: var(--muted-2);
  font-size: 0.66rem;
  line-height: 1.5;
}

.cart-foot .btn + .btn {
  margin-top: 0.5rem;
}

/* Detalhes do produto */
.product-dialog {
  width: min(960px, calc(100% - 2rem));
  max-width: 960px;
  max-height: 92dvh;
  margin: auto;
  padding: 0;
  overflow: auto;
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 50px 120px rgba(3, 6, 14, 0.4);
}

.product-dialog[open] {
  animation: modalIn 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.product-dialog-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 520px;
}

.product-dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.product-dialog-close:hover {
  background: var(--ink);
  color: var(--white);
  transform: rotate(4deg);
}

.product-dialog-close svg {
  width: 17px;
  height: 17px;
}

.product-dialog-media {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 300px;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 28px 0 0 28px;
  background: #ffffff;
}

.product-dialog-media.is-fallback {
  background: linear-gradient(150deg, #111a2d, #070b14);
}

.product-dialog-photo {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: contain;
}

.product-dialog-icon {
  display: none;
  width: 42%;
  max-width: 180px;
  height: auto;
  color: var(--brand);
}

.product-dialog-media.is-fallback .product-dialog-photo {
  display: none;
}

.product-dialog-media.is-fallback .product-dialog-icon {
  display: block;
}

.product-dialog-media .media-note {
  top: 1rem;
  left: 1rem;
  right: auto;
}

.product-dialog-media.has-thumbs {
  padding-bottom: 6.2rem;
}

.product-dialog-thumbs {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  overflow-x: auto;
  padding: 0.25rem;
  scrollbar-width: thin;
}

.product-dialog-thumbs[hidden] {
  display: none;
}

.product-dialog-thumb {
  flex: none;
  width: 60px;
  height: 60px;
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.product-dialog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-dialog-thumb:hover {
  transform: translateY(-2px);
}

.product-dialog-thumb[aria-pressed="true"] {
  border-color: var(--brand);
}

.product-dialog-thumb:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

.product-dialog-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.5rem, 3.5vw, 2.6rem);
}

.product-dialog-body h2 {
  margin: 0 0 0.35rem;
  padding-right: 2.5rem;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.04em;
}

.product-dialog-code {
  margin: 0 0 1rem;
  color: var(--muted-2);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-dialog-desc {
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.65;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0 0 1.5rem;
  padding: 0;
}

.spec-row {
  min-width: 0;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.68);
}

.spec-row dt {
  margin: 0;
  color: var(--muted-2);
  font-size: 0.53rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.spec-row dd {
  margin: 0.18rem 0 0;
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.38;
}

.product-dialog-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.product-dialog-buy .price {
  font-size: 1.35rem;
}

.product-dialog-buy .btn {
  flex: none;
}

.product-dialog-wa {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.4rem;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-dialog-wa svg {
  width: 17px;
  height: 17px;
  color: #1faa53;
}

.product-dialog-wa:hover {
  color: var(--text);
}

.product-dialog-fine {
  margin: 0.9rem 0 0;
  color: var(--muted-2);
  font-size: 0.62rem;
  line-height: 1.5;
}

/* Checkout */
.checkout-dialog {
  width: min(980px, calc(100% - 2rem));
  max-width: 980px;
  max-height: 92dvh;
  margin: auto;
  padding: 0;
  overflow: auto;
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 50px 120px rgba(3, 6, 14, 0.4);
}

.checkout-dialog[open] {
  animation: modalIn 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.checkout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.8fr);
  min-height: 100%;
}

.checkout-main {
  min-width: 0;
  padding: clamp(1.3rem, 3vw, 2rem);
}

.checkout-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.3rem;
}

.checkout-head .eyebrow {
  margin-bottom: 0.25rem;
}

.checkout-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.pix-box {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 1.4rem;
  align-items: center;
  min-width: 0;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
}

.pix-box > *,
.pix-info,
.pix-qr-wrap,
.pix-key-row > div,
.pix-payload-row > div {
  min-width: 0;
}

.pix-qr-wrap {
  text-align: center;
}

.pix-qr {
  display: grid;
  place-items: center;
  width: 190px;
  max-width: 100%;
  aspect-ratio: 1;
  margin-inline: auto;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 10px 25px rgba(8, 12, 22, 0.06);
}

.pix-qr svg {
  width: 100%;
  height: 100%;
}

.pix-qr-fallback {
  margin: 0;
  padding: 0.5rem;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.5;
  text-align: center;
}

.pix-qr-caption {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 600;
}

.pix-qr-caption svg {
  width: 13px;
  height: 13px;
}

.pix-amount-label {
  margin: 0;
  color: var(--muted-2);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pix-amount {
  margin: 0.05rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.1;
}

.pix-instructions {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.55;
}

.pix-key-row,
.pix-payload-row {
  margin-bottom: 0.55rem;
  padding: 0.55rem 0.7rem;
  border: 1px dashed var(--line-strong);
  border-radius: 11px;
  background: var(--paper);
}

.pix-key-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.pix-key-label {
  display: block;
  margin-bottom: 0.1rem;
  color: var(--muted-2);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.pix-key-row code,
.pix-payload-row code {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.63rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pix-payload-row code {
  max-height: 1.4em;
}

.copy-btn {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  flex: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.copy-btn:hover {
  background: var(--ink);
  color: var(--brand);
}

.copy-btn svg {
  width: 14px;
  height: 14px;
}

.pix-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.8rem;
}

.pix-actions .btn {
  min-height: 42px;
  padding: 0.65rem 0.95rem;
  font-size: 0.72rem;
}

.pix-actions .btn svg {
  width: 15px;
  height: 15px;
}

.pix-holder {
  margin: 0.7rem 0 0;
  color: var(--muted-2);
  font-size: 0.62rem;
}

.pix-holder strong {
  color: var(--muted);
  font-weight: 600;
}

.checkout-steps {
  display: grid;
  gap: 0.5rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.checkout-steps li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.checkout-steps span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--brand);
  font-size: 0.58rem;
  font-weight: 700;
  flex: none;
}

.checkout-fine {
  margin: 1rem 0 0;
  color: var(--muted-2);
  font-size: 0.63rem;
  line-height: 1.55;
}

.checkout-summary {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.3rem, 3vw, 2rem);
  background: var(--ink);
  color: var(--white);
}

.checkout-summary h3 {
  margin: 0.25rem 0 0.4rem;
  font-size: 1.45rem;
  letter-spacing: -0.045em;
}

.summary-id {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.63rem;
}

.summary-id strong {
  color: var(--brand);
  font-weight: 600;
}

.summary-items {
  display: grid;
  gap: 0.75rem;
  max-height: 255px;
  overflow-y: auto;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.summary-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: start;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.summary-item:last-child {
  border-bottom: 0;
}

.summary-item-name {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  line-height: 1.4;
}

.summary-item-meta {
  margin: 0.15rem 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.6rem;
}

.summary-item-price {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}

.summary-foot {
  margin-top: auto;
}

.summary-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-dark);
}

.summary-total-row span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
}

.summary-total-row strong {
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: -0.05em;
}

.checkout-summary .btn {
  min-height: 46px;
  font-size: 0.78rem;
}

.checkout-summary .btn + .btn {
  margin-top: 0.45rem;
}

.summary-note {
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.6rem;
  line-height: 1.5;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  z-index: 120;
  max-width: calc(100% - 2rem);
  padding: 0.8rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(3, 6, 14, 0.3);
  font-size: 0.78rem;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Aviso sem JS */
.noscript-note {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 150;
  padding: 1rem 1.2rem;
  border-radius: 16px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.82rem;
  box-shadow: var(--shadow-md);
}

.noscript-note p {
  margin: 0;
}

.noscript-note a {
  color: var(--brand);
  text-decoration: underline;
}

/* Revelação suave */
.js .reveal {
  opacity: 1;
  transform: none;
}

.js .reveal.is-visible {
  animation: revealUp 0.7s ease both;
}

/* Animações */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 138, 0, 0.42);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(255, 138, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 138, 0, 0);
  }
}

@keyframes floaty {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-9px);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes cardIn {
  from {
    transform: translateY(14px);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drawerIn {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    /* "none" (e não translate 0): um transform que sobra no fim da animação
       vira o "containing block" de filhos position: fixed e os faz rolar junto. */
    transform: none;
  }
}

/* Responsivo */
@media (max-width: 1100px) {
  .desktop-nav {
    gap: 1.1rem;
  }

  .desktop-nav a {
    font-size: 0.78rem;
  }

  .header-whatsapp {
    display: none;
  }

  .hero-grid {
    gap: 2.5rem;
  }

  .float-card--top {
    right: -0.6rem;
  }

  .float-card--bottom {
    left: -0.8rem;
  }
}

@media (max-width: 960px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .header-search {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-copy {
    max-width: 42rem;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .hero-visual {
    max-width: 460px;
    width: min(100%, 460px);
  }

  .hero-photo {
    border-radius: 30px 30px 90px 30px;
  }

  .float-card--top {
    display: none;
  }

  .float-card--bottom {
    left: -1.2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about h2 {
    max-width: 16ch;
  }

  .about-stats {
    max-width: 620px;
  }

  .policy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .faq-intro {
    position: static;
  }

  .faq-intro h2 {
    max-width: 18ch;
  }

  .cta-final-inner {
    grid-template-columns: 1fr;
  }

  .cta-final-art {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 30rem;
  }
}

@media (max-width: 820px) {
  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.2rem;
  }

  .products-head {
    align-items: flex-start;
  }

  .catalog-tools {
    width: 100%;
  }

  .search-field {
    flex: 1;
  }

  .search-field input {
    width: 100%;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 1rem;
    align-items: start;
  }

  .step-icon {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .step-card h3 {
    margin-top: 0.15rem;
  }

  .checkout-dialog {
    max-height: 94dvh;
  }

  .checkout-shell {
    grid-template-columns: 1fr;
  }

  .product-dialog-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .product-dialog-media {
    min-height: 280px;
    border-radius: 28px 28px 0 0;
  }

  .product-dialog-photo {
    max-height: 320px;
  }

  .checkout-summary {
    gap: 1.2rem;
  }

  .summary-items {
    max-height: none;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 2rem), var(--container));
  }

  .announcement-inner {
    gap: 0.65rem;
    justify-content: space-between;
    font-size: 0.58rem;
  }

  .announcement-item {
    gap: 0.35rem;
  }

  .hide-sm {
    display: none;
  }

  .header-inner {
    min-height: 68px;
    gap: 0.75rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .brand-word {
    font-size: 1rem;
  }

  .cart-btn-label {
    display: none;
  }

  .cart-btn {
    padding: 0.35rem;
    width: 42px;
    justify-content: center;
    gap: 0;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--line);
  }

  .cart-btn:hover {
    background: var(--white);
    color: var(--text);
  }

  .cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    font-size: 0.55rem;
    border: 2px solid var(--paper);
  }

  .cart-btn {
    position: relative;
  }

  .hero {
    padding-top: 2.8rem;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 12vw, 3.6rem);
  }

  .hero-actions .btn {
    flex: 1;
  }

  .hero-seal {
    width: 76px;
    height: 76px;
    top: -0.8rem;
    right: 0.6rem;
    font-size: 0.48rem;
  }

  .float-card {
    padding: 0.55rem 0.7rem 0.55rem 0.55rem;
    border-radius: 14px;
  }

  .float-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .float-card-icon svg {
    width: 21px;
    height: 21px;
  }

  .float-card-copy strong {
    font-size: 0.66rem;
  }

  .float-card-copy span {
    font-size: 0.57rem;
  }

  .float-card--top {
    top: 18%;
    right: -0.45rem;
  }

  .float-card--bottom {
    bottom: 4%;
    left: -0.45rem;
  }

  .filter-row {
    margin-inline: -1rem;
    padding-inline: 1rem;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  }

  .policy-grid {
    grid-template-columns: 1fr;
  }

  .catalog-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .pix-box {
    grid-template-columns: minmax(0, 1fr);
  }

  .pix-qr {
    width: 210px;
  }

  .pix-key-row code,
  .pix-payload-row code {
    max-height: 2.8em;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .pix-key-row {
    align-items: flex-start;
  }

  /* No celular o modal ocupa a tela e quem rola é o conteúdo (.product-dialog-shell):
     assim o botão de fechar e a barra de compra ficam sempre presos à tela. */
  .product-dialog {
    width: 100%;
    max-width: none;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
  }

  .product-dialog-shell {
    display: block; /* coluna única: evita a grade "espremer" a área da foto */
    height: 100%;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .product-dialog-close {
    position: fixed;
    top: calc(0.75rem + env(safe-area-inset-top, 0px));
    right: 0.75rem;
  }

  .product-dialog-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    padding: 1.4rem;
    border-radius: 0;
  }

  .product-dialog-photo {
    width: min(100%, 300px);
    height: auto;
    max-height: none;
    aspect-ratio: 1 / 1;
  }

  .product-dialog-body {
    padding: 1.3rem 1.2rem calc(8.6rem + env(safe-area-inset-bottom, 0px));
  }

  .product-dialog-body h2 {
    padding-right: 2.2rem;
  }

  .product-dialog-buy {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 6;
    align-items: center;
    margin-top: 0;
    padding: 0.8rem 1.2rem calc(0.8rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 -12px 30px rgba(6, 9, 19, 0.08);
    flex-direction: row;
  }

  .product-dialog-buy .price {
    font-size: 1.12rem;
  }

  .product-dialog-buy .btn {
    flex: 1;
    width: auto;
  }

  .checkout-dialog {
    width: calc(100% - 1rem);
    border-radius: 22px;
  }

  .checkout-main,
  .checkout-summary {
    padding: 1.15rem;
  }

  .cart-head,
  .cart-body,
  .cart-foot {
    padding-inline: 1.1rem;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-trust {
    gap: 0.55rem 1rem;
    font-size: 0.7rem;
  }

  .hero-photo {
    border-radius: 26px 26px 74px 26px;
  }

  .float-card--bottom {
    display: none;
  }

  .float-card--top {
    top: 47%;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .about-quote {
    grid-column: auto;
  }

  .stat-card {
    min-height: 105px;
  }

  .catalog-tools {
    flex-direction: column;
    align-items: stretch;
  }

  .sort-field select {
    width: 100%;
  }

  .catalog-tools .search-field {
    flex: auto;
  }

  .step-card {
    display: block;
  }

  .step-icon {
    margin-bottom: 1rem;
  }

  .faq-answer {
    padding-right: 0;
  }

  .cta-final-actions {
    flex-direction: column;
  }

  .cta-final-actions .btn {
    width: 100%;
  }

  .pix-actions .btn {
    flex: 1;
  }

  .summary-total-row strong {
    font-size: 1.15rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .brand-sub {
    letter-spacing: 0.24em;
  }

  .brand-word {
    font-size: 0.92rem;
  }

  .cart-btn {
    width: 38px;
    height: 38px;
  }

  .menu-toggle,
  .icon-btn {
    width: 38px;
    height: 38px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .spec-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* ---------------------------------------------------------------
   Promoção (preço riscado = preço normal praticado; ver promo.js)
   --------------------------------------------------------------- */
.promo-strip {
  background: linear-gradient(90deg, var(--brand-deep), var(--brand));
  color: var(--ink);
  font-size: 0.82rem;
}

.promo-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem 0.6rem;
  min-height: 40px;
  padding-block: 0.45rem;
  text-align: center;
}

.promo-strip-tag {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 800;
}

.promo-strip strong {
  font-weight: 800;
}

.promo-strip a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.catalog-promo {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin: 0.9rem 0 0;
  padding: 0.5rem 0.85rem;
  border-radius: 14px;
  background: #fff1e0;
  color: #7a3700;
  font-size: 0.86rem;
}

.catalog-promo[hidden] {
  display: none;
}

.price-old {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.1rem;
  color: var(--muted-2);
  font-size: 0.78rem;
}

.price-old[hidden] {
  display: none;
}

.price-old s {
  text-decoration-thickness: 1.5px;
}

.discount-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.08rem 0.42rem;
  border-radius: 999px;
  background: var(--brand);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.4;
}

.price-until {
  display: block;
  margin-top: 0.15rem;
  color: #a34a00;
  font-size: 0.66rem;
  font-weight: 700;
}

.price-until[hidden] {
  display: none;
}

.summary-item-meta s {
  margin-left: 0.25rem;
  color: var(--muted-2);
}

@media (max-width: 520px) {
  .promo-strip-inner a {
    display: none;
  }
}

/* ---------------------------------------------------------------
   Entrega (checkout) — frete calculado em assets/js/frete.js
   --------------------------------------------------------------- */
.checkout-step-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.8rem;
  font-size: 1rem;
}

.checkout-step-title span {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
}

.delivery-box {
  margin-bottom: 1.4rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
}

.delivery-box[hidden] {
  display: none;
}

.delivery-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.delivery-option {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.8rem 0.9rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.delivery-option[hidden] {
  display: none;
}

.delivery-option input {
  width: 18px;
  height: 18px;
  margin: 0.15rem 0 0;
  accent-color: var(--brand-deep);
  flex: none;
}

.delivery-option strong {
  display: block;
  font-size: 0.92rem;
}

.delivery-option small {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.delivery-option.is-active {
  border-color: var(--brand);
  background: #fff7ee;
}

.delivery-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

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

.delivery-form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.delivery-form input {
  min-height: 44px;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}

.delivery-form input:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 1px;
}

.delivery-full {
  grid-column: 1 / -1;
}

.delivery-result {
  display: grid;
  gap: 0.2rem;
  margin-top: 0.8rem;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: #e7f6ec;
  color: #17723a;
  font-size: 0.86rem;
}

.delivery-result[hidden] {
  display: none;
}

.delivery-result strong {
  font-size: 1rem;
}

.delivery-result span {
  color: var(--text);
}

.delivery-result.is-warn {
  background: #fff1e0;
  color: #a34a00;
}

.delivery-result.is-error {
  background: #fde8e8;
  color: #b42318;
}

.pix-locked {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.pix-locked[hidden],
.pix-box[hidden] {
  display: none;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.shipping-table {
  width: 100%;
  margin-top: 0.8rem;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.shipping-table th,
.shipping-table td {
  padding: 0.4rem 0.2rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.shipping-table td:last-child,
.shipping-table th:last-child {
  text-align: right;
  font-weight: 700;
}

@media (max-width: 520px) {
  .delivery-options,
  .delivery-form {
    grid-template-columns: 1fr;
  }
}

/* Detalhes do produto: "Comprar agora" + "Adicionar à sacola" */
.product-dialog-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.product-dialog-actions .btn {
  white-space: nowrap;
}

/* O conteúdo rola dentro do modal: o botão de fechar fica sempre visível. */
.product-dialog {
  overflow: hidden;
}

.product-dialog-shell {
  position: static;
  max-height: 92dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
}

@media (max-width: 700px) {
  .product-dialog-shell {
    max-height: none;
  }

  .product-dialog-actions {
    flex-direction: row;
    flex: 1;
    justify-content: flex-end;
  }

  .product-dialog-actions #productDialogBuy {
    flex: 1;
  }

  .product-dialog-actions .add-label {
    display: none;
  }

  .product-dialog-actions #productDialogAdd {
    flex: none;
    width: 48px;
    padding-inline: 0;
  }
}

/* Miniaturas: centralizadas quando cabem, roláveis desde a primeira quando não cabem */
.product-dialog-thumbs {
  justify-content: flex-start;
}

.product-dialog-thumbs > :first-child {
  margin-left: auto;
}

.product-dialog-thumbs > :last-child {
  margin-right: auto;
}

/* Resumo do checkout: alterar quantidade e remover itens */
.summary-item-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.45rem;
}

.summary-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
}

.summary-qty button,
.summary-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-width: 32px;
  height: 32px;
  padding: 0 0.4rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 0.74rem;
  cursor: pointer;
}

.summary-qty button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.summary-qty svg,
.summary-remove svg {
  width: 15px;
  height: 15px;
}

.summary-qty span {
  min-width: 1.4rem;
  font-weight: 700;
  text-align: center;
}

.summary-remove {
  color: rgba(255, 255, 255, 0.6);
}

.summary-qty button:hover,
.summary-remove:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--brand);
}

.summary-qty button:focus-visible,
.summary-remove:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}

#sendProof[aria-disabled="true"] {
  opacity: 0.4;
  filter: grayscale(0.6);
  cursor: not-allowed;
}

/* ---------------------------------------------------------------
   PIX automático (Mercado Pago)
   --------------------------------------------------------------- */
.mp-box {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
}

.mp-box[hidden],
.mp-box [hidden] {
  display: none !important;
}

.mp-customer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.mp-customer label,
.mp-email {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.mp-customer label {
  margin-bottom: 0;
}

.mp-customer input,
.mp-email input {
  min-height: 44px;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}

.mp-note {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.mp-pay {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.mp-qr img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.mp-info {
  display: grid;
  gap: 0.6rem;
  min-width: 0;
}

.mp-info code {
  display: block;
  max-height: 4.6em;
  overflow: auto;
  word-break: break-all;
  font-size: 0.72rem;
}

.mp-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: #a34a00;
  font-weight: 700;
}

.mp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 1.6s infinite;
}

.mp-expire {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.mp-done {
  display: grid;
  gap: 0.6rem;
  padding: 1rem;
  border-radius: 16px;
  background: #e7f6ec;
  color: #17723a;
}

.mp-done strong {
  font-size: 1.15rem;
}

.mp-done p {
  margin: 0;
  color: var(--text);
}

.mp-error {
  margin-top: 0.8rem;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  background: #fde8e8;
  color: #b42318;
  font-size: 0.88rem;
}

.mp-error p {
  margin: 0 0 0.5rem;
}

/* Enquanto o PIX automático está aberto, os itens e a entrega ficam travados. */
.checkout-dialog.is-paying .summary-item-controls,
.checkout-dialog.is-paying .delivery-form,
.checkout-dialog.is-paying .delivery-options {
  pointer-events: none;
  opacity: 0.55;
}

@media (max-width: 640px) {
  .mp-pay,
  .mp-customer {
    grid-template-columns: 1fr;
  }

  .mp-qr img {
    margin: 0 auto;
  }
}

.pix-locked.is-sent {
  border-style: solid;
  border-color: #b7e3c6;
  background: #e7f6ec;
  color: #17723a;
  font-weight: 700;
}
