/* =====================================================================
   MeloPhones — identidade visual
   Roxo MeloPhones #401473 · Magenta #B606E3 · Branco · Montserrat
   ===================================================================== */
:root {
  --purple: #401473;          /* fundo das artes oficiais */
  --purple-700: #2f0e57;
  --purple-900: #1a0833;      /* profundidade */
  --black: #0c0418;
  --magenta: #b606e3;         /* destaques comerciais */
  --magenta-600: #9c05c4;
  --magenta-300: #d36bf5;
  --violet-logo: #a201e3;
  --white: #ffffff;
  --ink: #ffffff;
  --ink-soft: rgba(255, 255, 255, 0.78);
  --ink-mute: rgba(255, 255, 255, 0.6);
  --paper: #ffffff;
  --paper-ink: #2a0d4d;
  --paper-soft: #f4effa;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-2: rgba(255, 255, 255, 0.1);
  --ok: #3fd08a;
  --warn: #ffc24a;

  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --radius: 22px;
  --sec: clamp(88px, 11vw, 168px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--purple-900);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.02em; }
p { margin: 0; }
strong { font-weight: 800; }
:focus-visible { outline: 3px solid var(--magenta-300); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--magenta); color: #fff; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--purple); padding: 10px 16px; border-radius: 99px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }

/* ---------- Marca ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 50%; }
.wordmark { font-weight: 700; font-size: 21px; letter-spacing: -0.03em; color: #fff; display: inline-flex; align-items: baseline; line-height: 1; }
.wordmark i { display: inline-block; width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--magenta); margin: 0 0.03em; transform: translateY(0.02em); }
.wordmark span { font-weight: 400; color: var(--magenta-300); }
.wordmark--xl { font-size: clamp(56px, 13vw, 190px); letter-spacing: -0.05em; }

/* ---------- Títulos: fino + negrito, como nas artes ---------- */
.display { font-weight: 300; font-size: clamp(42px, 6.4vw, 92px); line-height: 0.98; letter-spacing: -0.035em; }
.display strong { display: block; font-weight: 800; }
.display--md { font-size: clamp(40px, 6vw, 84px); }
.h-sec { font-weight: 300; font-size: clamp(32px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -0.03em; }
.h-sec strong { font-weight: 800; }
.h-sec--center { text-align: center; }
.h-sec--ink { color: var(--paper-ink); }
.sub { margin-top: 14px; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-soft); max-width: 46ch; }
.sub--magenta { color: var(--magenta); font-weight: 800; }

/* ---------- Botões (pílula, como no perfil e nas artes) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0;
  font: 700 15px/1 var(--font); letter-spacing: 0.02em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, color .25s, box-shadow .25s;
}
.btn:active { transform: scale(0.97); }
.btn--magenta { background: var(--magenta); color: #fff; }
.btn--magenta:hover { background: var(--magenta-600); }
.btn--white { background: #fff; color: var(--purple); }
.btn--white:hover { background: var(--paper-soft); }
.btn--ghost { background: var(--surface-2); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.18); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 13px; }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.link-arrow { font-weight: 700; color: var(--magenta-300); text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: ' →'; transition: margin .25s var(--ease); }
.link-arrow:hover::after { margin-left: 6px; }

/* ---------- Barra superior ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(26, 8, 51, 0.92); transition: background-color .3s; }
.topbar.is-scrolled { background: rgba(18, 5, 36, 0.97); }
.topbar__in { display: flex; align-items: center; gap: 28px; height: 72px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-soft); transition: color .2s; }
.nav a:hover { color: #fff; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--surface-2); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease); }
.menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Primeira tela ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: calc(100svh - 72px);
  display: flex; align-items: center;
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(60% 70% at 78% 45%, rgba(182, 6, 227, 0.32), transparent 70%),
    radial-gradient(80% 90% at 15% 100%, rgba(64, 20, 115, 0.9), transparent 70%),
    var(--purple-900);
}
.hero__m {
  position: absolute; z-index: -1; right: -6vw; top: 50%; transform: translateY(-46%);
  font-weight: 700; font-size: clamp(420px, 62vw, 980px); line-height: 0.7; letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.07);
  user-select: none; pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 40px; }
.hero__copy { max-width: 640px; }
.lineup { display: grid; gap: 4px; margin-bottom: 28px; font-size: 11px; font-weight: 500; letter-spacing: 0.42em; text-transform: uppercase; }
.lineup span:nth-child(1) { opacity: .18; } .lineup span:nth-child(2) { opacity: .4; } .lineup span:nth-child(3) { opacity: .8; }
.hero__lead { margin-top: 28px; font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-soft); max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__facts { list-style: none; padding: 0; margin: 48px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.hero__facts li { display: inline-flex; align-items: center; gap: 10px; }
.hero__facts li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--magenta); }
.hero__device { margin: 0; position: relative; display: grid; place-items: center; }
.hero__device::after { content: ''; position: absolute; bottom: 4%; left: 20%; right: 20%; height: 40px; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), transparent); z-index: -1; filter: blur(6px); }
.hero__device img { max-height: min(78svh, 760px); width: auto; object-fit: contain; filter: drop-shadow(0 40px 60px rgba(10, 2, 25, 0.55)); animation: float 9s ease-in-out infinite; }
.hero--no-image .hero__grid { grid-template-columns: 1fr; }
.hero--no-image .hero__copy { max-width: 820px; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* ---------- Ofertas ---------- */
.offers { padding: var(--sec) 0 0; }
.offers__track { margin-top: 32px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.offer { scroll-snap-align: start; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 16px; min-height: 240px; padding: 32px; border-radius: var(--radius); background: var(--magenta); position: relative; overflow: hidden; }
.offer:nth-child(even) { background: var(--purple); }
.offer h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; }
.offer p { margin-top: 8px; color: rgba(255,255,255,.88); }
.offer img { width: 150px; height: 190px; object-fit: contain; }
.offer .btn { margin-top: 20px; }

/* ---------- Catálogos ---------- */
.catalog { padding: var(--sec) 0 0; }
.catalog__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 36px 0 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--surface-2); color: #fff; font: 600 14px var(--font); cursor: pointer; transition: background-color .2s, color .2s; }
.chip:hover { background: rgba(255,255,255,.18); }
.chip[aria-pressed="true"] { background: #fff; color: var(--purple); }
.field { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--surface-2); font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.field select, .field input { background: transparent; border: 0; color: #fff; font: 600 14px var(--font); min-height: 38px; outline: none; max-width: 170px; }
.field select option { color: #111; }
.field input::placeholder { color: var(--ink-mute); }
.field:focus-within { box-shadow: 0 0 0 2px var(--magenta-300); }
.filters__count { margin-left: auto; font-size: 14px; color: var(--ink-mute); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.grid__loading, .grid__empty { grid-column: 1 / -1; padding: 56px 32px; border-radius: var(--radius); background: var(--surface); text-align: center; color: var(--ink-soft); }
.grid__empty h3 { font-size: 22px; color: #fff; margin-bottom: 10px; font-weight: 700; }
.grid__empty .btn { margin-top: 22px; }

.card { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); overflow: hidden; transition: transform .35s var(--ease), background-color .35s; }
.card:hover { transform: translateY(-4px); background: var(--surface-2); }
.card__media { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 28px; background: radial-gradient(70% 70% at 50% 40%, rgba(182,6,227,.18), transparent 70%); }
.card__media { min-height: 0; overflow: hidden; }
/* A foto fica dentro da área (tamanho fixo), seja ela em pé ou deitada */
.card__media img { position: absolute; inset: var(--media-pad, 28px); width: calc(100% - 2 * var(--media-pad, 28px)); height: calc(100% - 2 * var(--media-pad, 28px)); object-fit: contain; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__noimg { font-weight: 700; font-size: 96px; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.18); line-height: 1; }
.card__tags { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; gap: 8px; }
.tag { padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(12,4,24,.6); color: #fff; }
.tag--offer { background: var(--magenta); }
.tag--ok::before, .tag--warn::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.tag--ok::before { background: var(--ok); } .tag--warn::before { background: var(--warn); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.card__brand { font-size: 13px; font-weight: 600; color: var(--magenta-300); }
.card__title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-top: 4px; }
.card__specs { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; font-size: 14px; }
.card__specs li { display: flex; flex-direction: column; }
.card__specs b { font-size: 12px; font-weight: 500; color: var(--ink-mute); }
.card__specs span { font-weight: 600; }
.battery { display: inline-flex; align-items: center; gap: 6px; }
.battery i { width: 22px; height: 11px; border-radius: 3px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; }
.battery i::after { content: ''; position: absolute; inset: 0; width: var(--lvl); background: var(--ok); }
.card__notes { margin-top: 14px; font-size: 14px; color: var(--ink-soft); }
.card__warranty { margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--ink-soft); display: flex; gap: 8px; align-items: center; }
.card__warranty::before { content: ''; width: 16px; height: 16px; flex: none; background: var(--magenta); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 4l24 9v17c0 15-10.3 25.6-24 30C18.3 55.6 8 45 8 30V13z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 4l24 9v17c0 15-10.3 25.6-24 30C18.3 55.6 8 45 8 30V13z'/%3E%3C/svg%3E") center/contain no-repeat; }
.card__price { margin-top: auto; padding-top: 20px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.card__price strong { font-size: 28px; letter-spacing: -0.02em; }
.card__price s { color: var(--ink-mute); font-size: 15px; }
.card__price em { font-style: normal; font-size: 17px; font-weight: 700; color: var(--ink-soft); }
.card .btn { margin-top: 16px; width: 100%; }
.card--sold { opacity: .62; }
.card--sold .card__media img { filter: grayscale(.8); }

/* ---------- Diferenciais ---------- */
.trust { padding: var(--sec) 0; margin-top: var(--sec); background: var(--purple); position: relative; }
.trust__list { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px; }
.trust__item h3 { margin-top: 22px; font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.trust__item p { margin-top: 12px; color: var(--ink-soft); font-size: 16px; }
.seal { width: 64px; height: 64px; }
.seal path, .seal circle { fill: var(--magenta); }
.seal .ck { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.trust__quote { margin: 88px auto 0; text-align: center; font-weight: 300; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.2; max-width: 36ch; letter-spacing: -0.02em; }
.trust__quote strong { display: block; color: var(--magenta-300); }

/* ---------- Seminovo de verdade ---------- */
.truth { background: var(--magenta); padding: clamp(64px, 8vw, 112px) 0; }
.truth__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: end; }
.truth .h-sec { font-size: clamp(30px, 3.8vw, 52px); }
.truth p { font-size: clamp(17px, 1.5vw, 20px); font-weight: 500; }

/* ---------- Como funcionam (seção clara, como a arte branca) ---------- */
.how { position: relative; overflow: hidden; isolation: isolate; background: var(--paper); color: var(--paper-ink); padding: var(--sec) 0; }
.hero__m--light { -webkit-text-stroke: 2px rgba(64, 20, 115, 0.07); right: auto; left: -8vw; }
.arts { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.art { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--paper-soft); box-shadow: 0 24px 48px -28px rgba(42, 13, 77, .45); }
.art img { width: 100%; height: auto; }
.steps { list-style: none; padding: 0; margin: 72px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.steps li { padding: 24px 22px 26px; border-radius: var(--radius); background: var(--paper-soft); }
.steps__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--purple); color: #fff; font-weight: 800; }
.steps p { margin-top: 18px; font-size: 16px; line-height: 1.45; }
.steps li:last-child { background: var(--purple); color: #fff; }
.steps li:last-child .steps__n { background: var(--magenta); }

/* ---------- Encomendas ---------- */
.order { padding: var(--sec) 0; background: var(--black); position: relative; overflow: hidden; }
.order::before { content: ''; position: absolute; inset: auto -10% -40% 40%; height: 90%; background: radial-gradient(closest-side, rgba(182,6,227,.35), transparent); pointer-events: none; }
.order__grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.order__sub { margin-top: 22px; font-size: clamp(20px, 2vw, 26px); font-weight: 700; color: var(--magenta-300); }
.order__text { margin-top: 18px; color: var(--ink-soft); max-width: 44ch; font-size: 18px; }
.order__copy .btn { margin-top: 36px; }
.order__card { padding: 40px; border-radius: 28px; background: var(--purple); }
.order__clock { display: flex; align-items: baseline; gap: 12px; font-size: clamp(88px, 10vw, 140px); font-weight: 800; letter-spacing: -0.05em; line-height: .9; }
.order__clock span { font-size: 22px; font-weight: 400; letter-spacing: 0; color: var(--ink-soft); }
.order__rules { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; font-size: 17px; }
.order__rules li { position: relative; padding-left: 32px; }
.order__rules li::before { content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--magenta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.order__status { margin-top: 26px; padding: 14px 18px; border-radius: 16px; background: rgba(255,255,255,.08); font-weight: 600; font-size: 15px; }
.order__status:empty { display: none; }
.order__status b { color: var(--ok); }
.order__status.is-closed b { color: var(--warn); }
.order__note { margin-top: 18px; font-size: 13px; color: var(--ink-mute); }
.order__call { position: relative; margin-top: 96px; font-weight: 300; font-size: clamp(24px, 3vw, 40px); letter-spacing: -0.02em; line-height: 1.2; max-width: 32ch; }

/* ---------- Novos ---------- */
.catalog--new { padding-bottom: 0; }

/* ---------- História ---------- */
.story { padding: var(--sec) 0; }
.story__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.story__years { font-size: clamp(120px, 16vw, 230px); font-weight: 800; letter-spacing: -0.06em; line-height: .8; color: var(--magenta); margin-bottom: 28px; }
.story__years span { display: block; font-size: 0.2em; font-weight: 300; letter-spacing: -0.01em; color: #fff; margin-top: 14px; }
.story__text { display: grid; gap: 18px; font-size: 18px; color: var(--ink-soft); max-width: 62ch; }
.story__text p:first-child { color: #fff; font-size: 21px; font-weight: 500; line-height: 1.5; }
.gallery { margin-top: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.gallery figcaption { padding: 12px 16px; font-size: 14px; color: var(--ink-soft); }
.story__quote { margin: 88px 0 0; padding: 0; }
.story__quote p { font-weight: 800; font-size: clamp(28px, 3.6vw, 52px); line-height: 1.06; letter-spacing: -0.03em; max-width: 22ch; }

/* ---------- Sustentabilidade ---------- */
.eco { padding: var(--sec) 0; background: var(--purple); }
.eco__grid { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 40px; align-items: start; }
.eco__fig { margin: 0; padding: 36px; border-radius: var(--radius); background: rgba(12, 4, 24, .3); min-height: 100%; }
.eco__big { font-size: clamp(48px, 4.6vw, 72px); font-weight: 800; letter-spacing: -0.05em; line-height: .95; }
.eco__big--sm { margin-top: 18px; font-size: clamp(44px, 4.5vw, 64px); }
.eco__fig figcaption { margin-top: 16px; color: var(--ink-soft); font-size: 17px; }
.donut { width: 140px; height: 140px; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 14; }
.donut__bg { stroke: rgba(255,255,255,.14); }
.donut__val { stroke: var(--magenta); stroke-linecap: round; transition: stroke-dasharray 1.6s var(--ease); }
.eco__text { display: grid; gap: 16px; font-size: 18px; }
.eco__text p { color: var(--ink-soft); }
.eco__text strong { color: #fff; }
.eco__src { font-size: 14px; }
.eco__src a { color: var(--magenta-300); }

/* ---------- Contato ---------- */
.visit { padding: var(--sec) 0; }
.visit__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: stretch; }
.visit__name { margin-top: 36px; font-size: 26px; font-weight: 800; }
.visit__addr { margin-top: 8px; font-style: normal; font-size: 18px; color: var(--ink-soft); }
.visit__hours { margin-top: 28px; }
.visit__hours h3 { font-size: 16px; font-weight: 700; }
.visit__hours p { margin-top: 6px; color: var(--ink-soft); }
.visit__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.visit__map { border-radius: var(--radius); overflow: hidden; min-height: 420px; background: var(--surface); }
.visit__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: saturate(.85); }

/* ---------- Rodapé ---------- */
.foot { background: var(--black); padding: var(--sec) 0 48px; }
.foot__claim { font-weight: 300; font-size: clamp(28px, 3.6vw, 52px); line-height: 1.06; letter-spacing: -0.03em; max-width: 20ch; }
.foot__claim strong { display: block; color: var(--magenta-300); }
.foot__grid { margin-top: 80px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.foot__grid h2 { font-size: 15px; font-weight: 700; margin-bottom: 14px; letter-spacing: 0; }
.foot__grid a { display: block; padding: 6px 0; text-decoration: none; color: var(--ink-soft); transition: color .2s; }
.foot__grid a:hover { color: #fff; }
.foot__brand { margin-top: 96px; }
.foot__brand p { margin-top: 20px; font-size: 14px; color: var(--ink-mute); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(0,0,0,.5); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: currentColor; }

/* ---------- Animações de entrada (discretas) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero__copy > * { animation: rise .9s var(--ease) both; }
.js .hero__copy > :nth-child(2) { animation-delay: .08s; } .js .hero__copy > :nth-child(3) { animation-delay: .16s; }
.js .hero__copy > :nth-child(4) { animation-delay: .24s; } .js .hero__copy > :nth-child(5) { animation-delay: .32s; }
.js .hero__device:not([hidden]) { animation: rise 1.1s .2s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .nav { gap: 18px; } .nav a { font-size: 14px; }
  .trust__list { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .eco__grid { grid-template-columns: 1fr 1fr; } .eco__text { grid-column: 1 / -1; }
}
@media (max-width: 920px) {
  .menu-btn { display: block; margin-left: auto; }
  .topbar__cta { display: none; }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; margin: 0; padding: 12px var(--gutter) 28px; background: var(--purple-900); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 14px 0; font-size: 18px; color: #fff; }
  .hero__grid, .order__grid, .story__grid, .visit__grid, .truth__grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero__device { order: -1; }
  .hero__device img { max-height: 52svh; }
  .arts { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-bottom: 12px; }
  .art { scroll-snap-align: center; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .trust__list, .steps, .eco__grid, .foot__grid { grid-template-columns: 1fr; }
  .steps li { display: flex; gap: 16px; align-items: center; padding: 18px; }
  .steps p { margin: 0; }
  .hero__actions .btn { width: 100%; }
  .hero__facts { flex-direction: column; margin-top: 36px; }
  .lineup { letter-spacing: .28em; font-size: 10px; }
  .filters__count { margin-left: 0; width: 100%; }
  .grid { grid-template-columns: 1fr; }
  .card__media { aspect-ratio: 4 / 3; padding: 20px; --media-pad: 20px; }
  .order__card { padding: 28px; }
  .visit__map, .visit__map iframe { min-height: 320px; }
  .wa-float { right: 14px; bottom: 14px; width: 56px; height: 56px; }
}

/* ---------- Páginas legais ---------- */
.legal__body { padding: 72px var(--gutter) 120px; max-width: 820px; }
.legal__body h2 { margin-top: 40px; font-size: 22px; font-weight: 700; }
.legal__body p { margin-top: 14px; color: var(--ink-soft); }
.legal__date { font-size: 14px; }

/* ---------- Mapa (link para o Google Maps) ---------- */
.visit__map--link { display: grid; place-items: center; text-decoration: none; position: relative; overflow: hidden; background: var(--purple); transition: background-color .3s; }
.visit__map--link:hover { background: var(--purple-700); }
.visit__map--link::before { content: 'm'; position: absolute; right: -4%; bottom: -18%; font-weight: 700; font-size: 520px; line-height: .7; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.08); }
.visit__pin { width: 56px; height: 56px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--magenta); position: relative; }
.visit__pin::after { content: ''; position: absolute; inset: 18px; border-radius: 50%; background: #fff; }
.visit__maptext { position: relative; display: grid; gap: 6px; text-align: center; margin-top: -120px; padding-top: 0; }
.visit__map--link { grid-template-rows: 1fr auto; padding: 48px 24px; gap: 24px; }
.visit__map--link .visit__maptext { margin-top: 0; }
.visit__maptext strong { font-size: 24px; }
.visit__maptext span { color: var(--ink-soft); }
.visit__maptext em { font-style: normal; font-weight: 700; color: var(--magenta-300); margin-top: 8px; }
/* ---------- Ajustes da página online ---------- */
:root { color-scheme: dark; }
.wrap { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.topbar { top: env(safe-area-inset-top, 0px); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--purple-900); }
.wa-float { right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }

/* ---------- Catálogo principal: abas de categoria ---------- */
.cat-tabs { display: flex; gap: 10px; margin-top: 36px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 6px; margin-inline: -2px; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab { flex: none; min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--surface-2); color: #fff; font: 700 15px var(--font); cursor: pointer; white-space: nowrap; transition: background-color .25s, color .25s, transform .25s var(--ease); }
.cat-tab:hover { background: rgba(255,255,255,.18); }
.cat-tab:active { transform: scale(.97); }
.cat-tab[aria-selected="true"] { background: var(--magenta); color: #fff; }
.cat-tab[data-count]::after { content: attr(data-count); display: inline-grid; place-items: center; min-width: 24px; height: 24px; margin-left: 10px; padding: 0 7px; border-radius: 99px; background: rgba(255,255,255,.16); font-size: 12px; font-weight: 700; }
.cat-tab[aria-selected="true"][data-count]::after { background: rgba(255,255,255,.26); }
.cat-tabs + .filters { margin-top: 20px; }

/* Especificações extras e link de troca nos cards */
.card__more { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 4px; font-size: 14px; color: var(--ink-soft); }
.card__more b { color: #fff; font-weight: 600; }
.card__upgrade { margin-top: 12px; align-self: center; font-size: 14px; font-weight: 700; color: var(--magenta-300); text-decoration: none; }
.card__upgrade::after { content: ' →'; transition: margin .25s var(--ease); }
.card__upgrade:hover::after { margin-left: 4px; }

/* ---------- Área de Upgrade (troca) ---------- */
.upgrade { position: relative; overflow: hidden; isolation: isolate; margin-top: 56px; padding: clamp(32px, 5vw, 56px); border-radius: 28px; background: var(--purple); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px 48px; }
.upgrade::before { content: 'm'; position: absolute; z-index: -1; right: -2%; top: 50%; transform: translateY(-48%); font-weight: 700; font-size: 380px; line-height: .7; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.08); pointer-events: none; }
.upgrade__title { font-weight: 300; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.05; letter-spacing: -0.03em; }
.upgrade__title strong { font-weight: 800; color: var(--magenta-300); }
.upgrade__copy p { margin-top: 14px; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-soft); max-width: 44ch; }
.upgrade__btn { white-space: normal; text-align: center; }
@media (max-width: 760px) {
  .upgrade { grid-template-columns: 1fr; }
  .upgrade__btn { width: 100%; }
  .cat-tab { min-height: 44px; padding: 0 18px; font-size: 14px; }
}
/* Botão do card: texto sempre com folga, mesmo em cards estreitos */
.card .btn { white-space: normal; text-align: center; padding: 10px 16px; font-size: 14px; line-height: 1.2; }
