/* ==========================================================
   Pri Place Ótica · Nova Santa Rita/RS
   Paleta: roxo (o violeta do container no topo, a uva da marca
   nos textos) + linho (o bege do Instagram) + mostarda (os
   detalhes dourados) + madeira (o interior da loja). A ideia é
   uma casa aconchegante, não um consultório.
   ========================================================== */

:root {
  --uva: #3a1d63;
  --uva-900: #22103c;
  --roxo: #5b2c9e;          /* violeta do container, um pouco mais fechado */
  --roxo-escuro: #4a2386;
  --madeira: #9a5d30;
  --violeta: #7b3fc4;
  --lilas: #cdb8ec;
  --linho: #f5eee3;
  --areia: #ebdfcc;
  --mostarda: #d4a64a;
  --mostarda-txt: #8f6516;
  --ink: #2a1a38;
  --muted: #6d5e79;
  --line: rgba(58, 29, 99, .16);

  --f-display: "Young Serif", Georgia, serif;
  --f-body: "Instrument Sans", system-ui, sans-serif;
  --f-hand: "Caveat", cursive;

  --radius: 22px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--linho);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
h2 em, h1 em { font-style: normal; color: var(--violeta); }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.hand { font-family: var(--f-hand); font-weight: 500; }
.muted { color: var(--muted); }
.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--mostarda-txt); margin-bottom: .9rem;
  display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--mostarda); }

.ico { width: 1.15em; height: 1.15em; flex: none; }
.ico--star { color: var(--mostarda); width: .8em; height: .8em; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .8em 1.35em; border-radius: 999px;
  font: 600 .98rem/1 var(--f-body); text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn--lg { padding: 1em 1.6em; font-size: 1.03rem; }
.btn--gold { background: var(--mostarda); color: var(--uva-900); }
.btn--gold:hover { background: #e2b85e; transform: translateY(-2px); }
.btn--ghost { border-color: rgba(245, 238, 227, .45); color: var(--linho); }
.btn--ghost:hover { border-color: var(--linho); background: rgba(245, 238, 227, .08); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--mostarda); outline-offset: 3px; }

.link-arrow {
  display: inline-block; margin-top: .6rem;
  font-weight: 600; color: var(--violeta); text-decoration: none;
  border-bottom: 2px solid var(--lilas); padding-bottom: 2px;
  transition: border-color .2s;
}
.link-arrow:hover { border-color: var(--violeta); }
/* área de toque maior (44px), sem mudar o visual */
.link-arrow, .legal__back { position: relative; }
.link-arrow::after, .legal__back::after { content: ""; position: absolute; inset: -8px -4px; }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--linho);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.header.is-solid { background: rgba(74, 35, 134, .95); backdrop-filter: blur(8px); box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

/* logo oficial (versão horizontal do manual), em branco sobre o roxo */
.brand { display: inline-flex; flex-direction: column; text-decoration: none; color: #fff; }
.brand__logo { display: block; width: 158px; height: 19.4px; }
.brand__sub {
  margin: 5px 0 0 31.5%; /* alinhado ao início do "PriPlace", depois do símbolo */
  font-size: .6rem; font-weight: 600; letter-spacing: .5em; text-transform: uppercase; opacity: .8; line-height: 1;
}

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .95rem; opacity: .88; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--mostarda); transition: right .25s ease; }
.nav a:not(.btn):hover { opacity: 1; }
.nav a:not(.btn):hover::after { right: 0; }
.nav__cta { padding: .62em 1.1em; }

.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; color: inherit; }
.menu-toggle span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s ease; }
.menu-toggle span + span { margin-top: 8px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 90px 0 44px;
  background: var(--roxo);
  color: var(--linho);
  text-align: center;
}
.hero__bg {
  position: absolute; inset: -40px; z-index: -2;
  width: calc(100% + 80px); height: calc(100% + 80px);
  max-width: none; object-fit: cover;
  filter: blur(14px) saturate(1.05);
}
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(110,56,186,.18), rgba(74,35,134,.84) 78%),
    linear-gradient(rgba(126,72,204,.4), rgba(74,35,134,.5));
}
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.hero__title { font-size: clamp(2.5rem, min(7.4vw, 9.4svh), 5.6rem); line-height: .98; max-width: 14ch; }
.hero__title em { color: #e7d9ff; }

/* o palco guarda o lugar dos óculos; os óculos em si podem sair dele quando arrastados */
.lens-stage { position: relative; z-index: 5; width: min(92vw, 640px, 76svh); aspect-ratio: 1000 / 400; margin: clamp(1rem, 2.2vw, 1.6rem) 0 .2rem; }
.specs {
  position: absolute; inset: 0;
  touch-action: none; cursor: grab;
  will-change: transform;
  user-select: none; -webkit-user-select: none;
}
.specs.is-dragging { cursor: grabbing; }
.lens-svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 12px 18px rgba(20,8,36,.45)); }
.frame__line {
  stroke: var(--linho); stroke-width: 13;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.is-ready .frame__line { animation: draw 1.5s cubic-bezier(.65,0,.35,1) forwards; }
.is-ready .frame__line:nth-child(3) { animation-delay: .5s; animation-duration: .5s; }
.is-ready .frame__line:nth-child(n+4) { animation-delay: .8s; animation-duration: .5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* lente escurecida em repouso; clareia quando a pessoa mexe nos óculos */
.lens-tint { fill: #1c0c33; opacity: .87; transition: opacity .45s ease; }
.hero.is-peeking .lens-tint { opacity: 0; }

.glint { opacity: 0; transform-box: fill-box; }
.is-focused .glint { animation: glint 1.3s ease-out .2s forwards; }
@keyframes glint { 0% { opacity: 1; transform: skewX(-18deg) translateX(0); } 100% { opacity: 1; transform: skewX(-18deg) translateX(560px); } }

.specs__label {
  position: absolute; left: 50%; top: calc(100% - 4px);
  width: max-content; max-width: 88vw; white-space: nowrap;
  translate: -50% 6px;
  background: var(--linho); color: var(--uva);
  font: 600 clamp(1.1rem, 1.7vw, 1.35rem)/1.1 var(--f-hand);
  padding: .35em .8em .4em; border-radius: 14px;
  box-shadow: 0 8px 20px rgba(20,8,36,.35);
  opacity: 0; transition: opacity .3s ease, translate .3s ease;
  pointer-events: none;
}
.specs__label.is-show { opacity: 1; translate: -50% 0; }

.lens-hint {
  display: inline-flex; align-items: center; gap: .45rem;
  margin: 2.4rem 0 .8rem; font-size: .88rem; font-weight: 500;
  color: rgba(245,238,227,.7);
  opacity: 0; transition: opacity .5s ease;
}
.lens-hint svg { width: 18px; height: 18px; color: var(--mostarda); }
.is-focused .lens-hint { opacity: 1; animation: nudge 2.4s ease-in-out 1s 2; }
.hero.is-touched .lens-hint { opacity: 0; animation: none; }
@keyframes nudge { 0%, 100% { transform: none; } 40% { transform: translateX(6px); } 60% { transform: translateX(-3px); } }

.hero__lead { max-width: 52ch; font-size: clamp(1rem, 1.6vw, 1.15rem); color: rgba(245,238,227,.86); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: .6rem; }
.rating {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.2rem;
  padding: .5rem 1.05rem; border-radius: 999px; text-decoration: none; font-size: .92rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  transition: background-color .2s;
}
.rating:hover { background: rgba(255,255,255,.18); }
.rating__stars { color: #f3d38a; letter-spacing: .12em; }

/* ---------- fatos ---------- */
.facts { background: var(--roxo-escuro); color: var(--linho); }
.facts__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact {
  display: flex; flex-direction: column; gap: .25rem;
  padding: 1.6rem 1.2rem; text-decoration: none;
  border-left: 1px solid rgba(245,238,227,.14);
}
.fact:first-child { border-left: 0; }
a.fact:hover .fact__small { color: var(--linho); }
.fact__big { font: 400 clamp(1.5rem, 2.6vw, 2.1rem)/1.1 var(--f-display); display: inline-flex; align-items: center; gap: .3em; }
.fact__small { font-size: .9rem; color: rgba(245,238,227,.72); }

/* ---------- seções base ---------- */
section { position: relative; }
.about, .chart-sec, .perks, .reviews { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.sec-head { margin-bottom: clamp(2.2rem, 5vw, 3.6rem); max-width: 760px; }
.sec-head--split { max-width: none; display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: end; }

/* ---------- visagismo ---------- */
/* a coluna da foto segue o formato do retrato (vertical e estreito), sem recortar */
.about__grid {
  display: grid; grid-template-columns: minmax(230px, 320px) minmax(0, 600px);
  justify-content: center; gap: clamp(2.5rem, 8vw, 7rem); align-items: center;
}
.about__photo { margin: 0; position: relative; isolation: isolate; }
.about__photo::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: -1;
  border: 2px solid var(--lilas); border-radius: var(--radius);
}
.about__photo img { width: 100%; height: auto; border-radius: var(--radius); }
.about__photo figcaption {
  position: absolute; left: -22px; bottom: 34px;
  background: var(--mostarda); color: var(--uva-900);
  font-size: 1.6rem; line-height: 1; padding: .35em .6em .4em;
  border-radius: 12px; transform: rotate(-5deg);
  box-shadow: 0 10px 24px rgba(58,29,99,.18);
}
.about__text h2 { margin-bottom: 1.4rem; }
.about__list { list-style: none; padding: 0; margin: 1.6rem 0 1.4rem; display: grid; gap: .55rem; }
.about__list li { display: flex; gap: .7rem; align-items: baseline; }
.about__list li::before {
  content: ""; flex: none; width: 18px; height: 9px; transform: translateY(-1px);
  background: no-repeat center/contain url("img/logo-mark.svg");
}

/* ---------- serviços: tabela de leitura ---------- */
.chart-sec { background: #fbf7f0; border-block: 1px solid var(--line); }
.chart { list-style: none; margin: 0; padding: 0; counter-reset: row; }
.chart__row {
  display: grid; grid-template-columns: 4.5rem 1fr 4.5rem; column-gap: 1rem; align-items: center; text-align: center;
  padding: clamp(.7rem, 1.6vw, 1.1rem) 0;
  border-bottom: 1px dashed var(--line);
  transition: filter .9s ease, opacity .9s ease;
}
.chart__row:first-child { border-top: 1px dashed var(--line); }
.chart__n, .chart__acuity { grid-row: 1 / 3; font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: .08em; }
.chart__name {
  font-family: var(--f-display);
  grid-column: 2; font-size: max(7px, calc(var(--s) * clamp(1.7rem, 4.2vw, 3.4rem)));
  line-height: 1.02; text-transform: uppercase; letter-spacing: .04em;
  color: var(--uva);
  text-wrap: balance;
}
.chart__desc { grid-column: 2; font-size: .95rem; color: var(--muted); margin-top: .35rem; }
.chart__n { text-align: left; }
.chart__acuity { grid-column: 3; text-align: right; font-variant-numeric: tabular-nums; }
.chart__row:hover .chart__name { color: var(--violeta); }
.js .chart__row { filter: blur(5px); opacity: .55; }
.js .chart__row.is-in { filter: none; opacity: 1; }

/* ---------- vou até você ---------- */
.home-visit { background: var(--violeta); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; overflow: hidden; }
.home-visit::before {
  content: ""; position: absolute; right: -60px; top: 50%; width: 420px; height: 210px; translate: 0 -50%;
  background: no-repeat center/contain url("img/logo-mark-white.svg");
  opacity: .12;
  pointer-events: none;
}
.home-visit__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; position: relative; }
.home-visit h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: .8rem; max-width: 20ch; }
.home-visit h2 em { color: #ffe3a6; }
.home-visit p:last-child { margin: 0; max-width: 54ch; color: rgba(255,255,255,.88); }

/* ---------- facilidades ---------- */
.perks__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.perk {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.8rem;
}
.perk h3 { font-size: 1.45rem; margin-bottom: 1.1rem; color: var(--uva); }
.perk ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.perk li { padding-left: 1.4rem; position: relative; }
.perk li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--mostarda); }
.perk b { color: var(--uva); }
.perk--accent { background: var(--areia); border-color: transparent; }
.perk--accent p { margin: 0; color: #4a3a57; }

/* ---------- o espaço: a porta que se abre com o vídeo ---------- */
.space { background: var(--linho); padding-top: clamp(3.5rem, 7vw, 5.5rem); padding-bottom: 0; overflow: clip; }
.space__intro { text-align: center; max-width: 760px; }
.space__intro p:last-child { color: #4a3a57; max-width: 54ch; margin: 1.2rem auto 0; }

/* a porta fica logo abaixo do menu fixo, sem sobra em cima e embaixo */
.space__track { position: relative; height: 210svh; margin-top: -32px; }
.space__pin {
  position: sticky; top: 0; height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  padding-top: 88px;
}
.door {
  --it: 0px; --ix: 0px; --rt: 28px; --rb: 28px; --zoom: 1; --cap: 1;
  position: relative; overflow: hidden;
  --door-h: min(calc(100svh - 160px), 700px);
  width: min(calc(100vw - 2 * var(--gutter)), calc(var(--door-h) * 9 / 16));
  height: var(--door-h);
  background: #3b1d68;
  container-type: inline-size;
  clip-path: inset(var(--it) var(--ix) 0 var(--ix) round var(--rt) var(--rt) var(--rb) var(--rb));
}
.door__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transform: scale(var(--zoom));
}
/* a frase da filha da Pri aparece quando a porta termina de abrir */
.door::after {
  content: ""; position: absolute; inset: 45% 0 0; pointer-events: none;
  background: linear-gradient(transparent, rgba(30,12,58,.78));
  opacity: var(--cap);
}
.door__caption {
  position: absolute; z-index: 1; left: 7cqw; right: 7cqw; bottom: 7cqw;
  margin: 0; color: #fff;
  opacity: var(--cap);
  transform: translateY(calc((1 - var(--cap)) * 18px));
}
.door__caption p {
  margin: 0; font-size: clamp(1.7rem, 11cqw, 2.9rem); line-height: 1; font-weight: 700; text-wrap: balance;
  text-shadow: 0 2px 16px rgba(20,8,36,.55);
}
/* anotações à mão dos dois lados da porta (só em telas largas), aparecem quando ela abre */
.door__notes { display: none; }
@media (min-width: 1000px) {
  .door__notes { display: block; list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; }
  .door__note {
    position: absolute; width: 230px;
    font: 600 1.55rem/1.1 var(--f-hand); color: var(--uva);
    opacity: var(--cap, 0);
    transition: transform .4s ease;
  }
  .door__note::after { content: ""; display: block; width: 70px; height: 26px; margin-top: .4rem; background: no-repeat center/contain; }
  .door__note--l1, .door__note--l2 { right: calc(50% + var(--door-w, 180px) / 2 + 48px); text-align: right; }
  .door__note--r1, .door__note--r2 { left: calc(50% + var(--door-w, 180px) / 2 + 48px); }
  .door__note--l1 { top: 30%; transform: rotate(-3deg) translateX(calc((1 - var(--cap, 0)) * -20px)); }
  .door__note--l2 { top: 62%; transform: rotate(2deg) translateX(calc((1 - var(--cap, 0)) * -20px)); }
  .door__note--r1 { top: 36%; transform: rotate(3deg) translateX(calc((1 - var(--cap, 0)) * 20px)); }
  .door__note--r2 { top: 66%; transform: rotate(-2deg) translateX(calc((1 - var(--cap, 0)) * 20px)); }
  .door__note--l1::after, .door__note--l2::after { margin-left: auto; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 26'%3E%3Cpath d='M2 6c20 2 40 8 60 16m0 0-9-1m9 1-4-8' fill='none' stroke='%23b98629' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
  html:not(.js) .door__note, .no-motion .door__note { opacity: 1; }
  .door__note--r1::after, .door__note--r2::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 26'%3E%3Cpath d='M68 6C48 8 28 14 8 22m0 0 9-1m-9 1 4-8' fill='none' stroke='%23b98629' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
}
/* o batente de madeira, que acompanha a porta e some quando ela abre */
.door__frame {
  position: absolute; pointer-events: none;
  border: 11px solid #9a5d30; border-bottom: 0;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.12), 0 18px 34px rgba(90,50,20,.25);
  opacity: 0;
}
.door__mat {
  margin: 14px 0 0; padding: .45rem 1.3rem;
  background: #9a5d30; color: #f6e7d2; border-radius: 6px;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  box-shadow: 0 6px 12px rgba(90,50,20,.25);
}
.door__mat::after { content: " ↓"; }
/* sem JS ou com movimento reduzido: porta já aberta, sem fixar a rolagem */
html:not(.js) .space__track, .no-motion .space__track { height: auto; margin-top: clamp(2rem, 4vw, 3rem); }
html:not(.js) .space__pin, .no-motion .space__pin { position: static; height: auto; padding-top: 0; }
html:not(.js) .door__mat, .no-motion .door__mat { display: none; }

/* ---------- armações: a prateleira ---------- */
.frames { background: #fbf7f0; border-block: 1px solid var(--line); padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.shelf {
  display: grid; grid-template-columns: repeat(6, 1fr);
  margin-bottom: clamp(2.4rem, 5vw, 3.6rem);
}
.shelf__item {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; align-items: center;
  padding: 18px 6px 0; background: none; border: 0; cursor: pointer;
  color: var(--uva); font: 600 .95rem/1 var(--f-body);
}
/* cada botão desenha o seu pedaço da tábua; juntos, formam uma prateleira contínua */
.shelf__item::before {
  content: ""; position: absolute; left: -1px; right: -1px; top: 78px; height: 14px; z-index: -1;
  background: linear-gradient(#c08650, #94592c 70%, #7d4a24);
  box-shadow: 0 12px 14px -8px rgba(90,50,20,.5);
}
.shelf__item:first-child::before { border-radius: 6px 0 0 6px; }
.shelf__item:last-child::before { border-radius: 0 6px 6px 0; }
.shelf__icon {
  width: min(100%, 118px); height: 58px;
  filter: drop-shadow(0 4px 2px rgba(90,50,20,.18));
  transform-origin: 50% 100%;
  transition: transform .5s cubic-bezier(.3,1.6,.5,1), color .3s;
}
.shelf__item span { margin-top: 30px; padding: .45rem .9rem; border-radius: 999px; transition: background-color .3s, color .3s; }
.shelf__item:hover .shelf__icon { transform: translateY(-5px) rotate(-3deg); }
.shelf__item[aria-selected="true"] .shelf__icon { transform: translateY(-16px) scale(1.12); color: var(--violeta); }
.shelf__item[aria-selected="true"] span { background: var(--uva); color: var(--linho); }
.shelf__item:focus-visible { outline: none; }
.shelf__item:focus-visible span { outline: 3px solid var(--mostarda); outline-offset: 2px; }

.frames__panel { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.frames__panel[hidden] { display: none; }
.frames__count { font-size: .78rem; font-weight: 600; letter-spacing: .18em; color: var(--muted); margin-bottom: .8rem; }
.frames__info h3 { font-size: clamp(2rem, 3.6vw, 2.8rem); color: var(--uva); margin-bottom: 1rem; }
.frames__info > p:not(.frames__count) { color: #4a3a57; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.3rem 0 1rem; }
.chips li { padding: .4rem .85rem; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; background: #fff; }
/* as fotos das armações são quadradas: todas as molduras também são, para nunca cortar os óculos */
.frames__photos {
  display: grid; gap: 12px;
  grid-template-columns: repeat(4, 1fr);
  align-content: start;
}
.pic { margin: 0; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 8px 22px rgba(58,29,99,.08); aspect-ratio: 1; }
.pic:first-child { grid-column: span 2; grid-row: span 2; }
.frames__photos--3 { grid-template-columns: repeat(3, 1fr); }
.pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.pic:hover img { transform: scale(1.02); }
.frames__panel.is-entering .frames__info { animation: rise .6s cubic-bezier(.2,.8,.2,1) both; }
.frames__panel.is-entering .pic { animation: picIn .75s cubic-bezier(.2,.8,.2,1) both; }
.frames__panel.is-entering .pic:nth-child(2) { animation-delay: .07s; }
.frames__panel.is-entering .pic:nth-child(3) { animation-delay: .14s; }
.frames__panel.is-entering .pic:nth-child(4) { animation-delay: .21s; }
.frames__panel.is-entering .pic:nth-child(5) { animation-delay: .28s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes picIn { from { opacity: 0; transform: translateY(22px) scale(.95) rotate(-1.5deg); } }

/* ---------- avaliações ---------- */
.reviews__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-bottom: 1.8rem; }
.review {
  position: relative;
  margin: 0; padding: 1.9rem 1.5rem 1.4rem;
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; gap: 1rem;
}
.review::before { content: "★★★★★"; color: var(--mostarda); letter-spacing: .15em; font-size: .9rem; }
/* um pedacinho de fita, como bilhete preso na geladeira */
.review::after {
  content: ""; position: absolute; top: -10px; left: 50%; width: 74px; height: 20px; translate: -50% 0; rotate: -3deg;
  background: rgba(212,166,74,.42); border-radius: 2px;
}
.review:nth-child(even)::after { rotate: 4deg; background: rgba(205,184,236,.6); }
.review p { margin: 0; font-size: 1rem; }
.review cite { font-style: normal; font-weight: 600; font-size: .9rem; color: var(--uva); }

/* ---------- visite ---------- */
.visit { background: var(--uva-900); color: var(--linho); padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.visit__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.visit h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); margin-bottom: 1.8rem; }
.visit__addr { display: flex; gap: .8rem; font-style: normal; font-size: 1.1rem; margin-bottom: 1.6rem; }
.visit__addr .ico { color: var(--mostarda); margin-top: .25em; }
.hours { border-collapse: collapse; width: 100%; max-width: 460px; font-size: .98rem; }
.hours th, .hours td { text-align: left; padding: .7rem 0; border-bottom: 1px solid rgba(245,238,227,.14); vertical-align: top; }
.hours th { font-weight: 500; padding-right: 1rem; color: rgba(245,238,227,.75); white-space: nowrap; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--mostarda); font-weight: 600; }
.hours tr.is-today th::after { content: " · hoje"; font-weight: 500; }
.visit__note { margin: 1rem 0 1.6rem; font-size: .95rem; color: rgba(245,238,227,.72); }
.visit__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.visit__map { border-radius: var(--radius); overflow: hidden; min-height: 380px; background: var(--uva); }
.visit__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: saturate(.85); }
.visit__map { display: flex; }
.map-load {
  flex: 1; min-height: 380px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55rem;
  padding: 1.5rem; border: 0; cursor: pointer; font: inherit; color: var(--linho); text-align: center;
  background: radial-gradient(circle at 50% 42%, rgba(123,63,196,.55), transparent 62%), var(--uva);
}
.map-load .ico { width: 34px; height: 34px; color: #f3d38a; }
.map-load__title {
  font: 400 1.35rem/1 var(--f-display); padding: .7rem 1.4rem; border-radius: 999px;
  border: 1px solid rgba(245,238,227,.4); transition: background .2s, border-color .2s;
}
.map-load:hover .map-load__title, .map-load:focus-visible .map-load__title { background: rgba(245,238,227,.12); border-color: #f3d38a; }
.map-load__note { font-size: .82rem; color: rgba(245,238,227,.7); max-width: 26ch; line-height: 1.4; }
.footer__legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer__legal a:hover { color: var(--linho); }

/* ---------- footer ---------- */
.footer { background: var(--uva-900); color: var(--linho); border-top: 1px solid rgba(245,238,227,.1); padding: 2.2rem 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer__tag { font-size: 1.4rem; color: var(--lilas); margin: 0; }
.footer__legal { margin: 0; font-size: .85rem; color: rgba(245,238,227,.6); }

/* ---------- whatsapp flutuante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  transition: transform .2s ease, opacity .3s ease;
  opacity: 0; pointer-events: none;
}
.wa-float.is-visible { opacity: 1; pointer-events: auto; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- marca própria: barra discreta ---------- */
.brandbar { background: var(--roxo-escuro); color: var(--linho); padding: 1.05rem 0; }
.brandbar__inner { display: flex; align-items: center; gap: 1.1rem; }
.brandbar__mark { flex: none; width: 46px; height: 22px; color: #f3d38a; }
.brandbar__text { margin: 0; flex: 1; font-size: .98rem; line-height: 1.45; color: rgba(245,238,227,.86); }
.brandbar__text strong { color: #fff; font-weight: 600; }
.brandbar__link {
  flex: none; padding: .5rem 1rem; border-radius: 999px; text-decoration: none; white-space: nowrap;
  font-size: .9rem; font-weight: 600; color: var(--linho); border: 1px solid rgba(245,238,227,.35);
  transition: background-color .2s, border-color .2s;
}
.brandbar__link:hover { background: rgba(245,238,227,.1); border-color: var(--linho); }

/* ---------- armações: indicativo de clique ---------- */
.shelf-hint {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  width: fit-content; margin: 0 auto .6rem; padding: .5rem 1.1rem; border-radius: 999px;
  background: #efe6fb; font-size: .95rem; font-weight: 600; color: var(--uva);
  transition: opacity .4s ease;
}
.shelf-hint svg { width: 22px; height: 22px; animation: tap 1.6s ease-in-out infinite; }
@keyframes tap { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(4px) scale(.92); } }
.shelf-hint.is-used { opacity: .55; }
.shelf-hint.is-used svg { animation: none; }
/* enquanto ninguém escolheu um tipo, os pares da prateleira "acenam" em sequência */
.shelf.is-idle .shelf__item:not([aria-selected="true"]) .shelf__icon { animation: nudgeUp 3.6s ease-in-out infinite; }
.shelf.is-idle .shelf__item:nth-child(2) .shelf__icon { animation-delay: .3s; }
.shelf.is-idle .shelf__item:nth-child(3) .shelf__icon { animation-delay: .6s; }
.shelf.is-idle .shelf__item:nth-child(4) .shelf__icon { animation-delay: .9s; }
.shelf.is-idle .shelf__item:nth-child(5) .shelf__icon { animation-delay: 1.2s; }
.shelf.is-idle .shelf__item:nth-child(6) .shelf__icon { animation-delay: 1.5s; }
@keyframes nudgeUp { 0%, 22%, 100% { transform: none; } 10% { transform: translateY(-9px) rotate(-3deg); } }
.shelf__item span { box-shadow: inset 0 0 0 1px var(--line); }
.shelf__item:hover span { background: #fff; }
.frames__next {
  display: inline-flex; align-items: center; gap: .4rem; margin: 1.1rem 0 0;
  padding: .6rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font: 600 .9rem/1 var(--f-body); color: var(--uva); cursor: pointer;
  transition: background-color .2s, color .2s, transform .2s;
}
.frames__next:hover { background: var(--uva); color: var(--linho); transform: translateX(3px); }
.frames__info .link-arrow { display: table; }

/* ---------- cartão fidelidade ---------- */
.loyalty {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid; grid-template-columns: 1fr minmax(0, 500px); gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding: clamp(1.8rem, 4vw, 3rem); border-radius: 28px;
  background: #fff; border: 1px solid var(--line);
}
.loyalty__text h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--uva); margin-bottom: .9rem; }
.loyalty__text p:last-child { margin: 0; color: #4a3a57; }
.loyalty__card {
  position: relative; overflow: hidden; min-width: 0;
  padding: 1.4rem 1.5rem 1.2rem; border-radius: 18px;
  background: linear-gradient(135deg, var(--roxo) 0%, #7a45c6 100%);
  color: #fff; box-shadow: 0 18px 36px rgba(74,35,134,.28);
  transform: rotate(-2deg);
}
.loyalty__card::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 90px;
  background: no-repeat center/contain url("img/logo-mark-white.svg"); opacity: .08;
}
.loyalty__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.loyalty__logo { width: 120px; height: 15px; color: #fff; }
.loyalty__head span { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.loyalty__stamps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .5rem; }
.loyalty__stamps li {
  aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(255,255,255,.45);
  display: grid; place-items: center; position: relative; min-width: 0;
}
.loyalty__stamps svg { width: 70%; height: 40%; color: #f3d38a; opacity: 0; transform: scale(1.6) rotate(-12deg); }
.loyalty.is-in .loyalty__stamps svg { animation: stamp .45s cubic-bezier(.3,1.5,.5,1) forwards; }
.loyalty.is-in .loyalty__stamps li:nth-child(2) svg { animation-delay: .25s; }
.loyalty.is-in .loyalty__stamps li:nth-child(3) svg { animation-delay: .5s; }
.loyalty.is-in .loyalty__stamps li:nth-child(4) svg { animation-delay: .75s; }
.loyalty.is-in .loyalty__stamps li:nth-child(5) svg { animation-delay: 1s; }
@keyframes stamp { to { opacity: 1; transform: none; } }
.loyalty__gift { border: 0 !important; background: #f3d38a; color: var(--uva-900); }
.loyalty__gift svg { width: 52%; height: 52%; opacity: 1; transform: none; color: var(--uva-900); animation: none !important; }
.loyalty.is-in .loyalty__gift { animation: giftPop .6s cubic-bezier(.3,1.6,.5,1) 1.35s both; }
@keyframes giftPop { 0% { transform: scale(.6); } 100% { transform: none; } }
.loyalty__foot { margin: 1rem 0 0; font-size: .75rem; opacity: .8; }

/* ---------- credenciais da Pri ---------- */
.creds { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: .8rem; }
.creds li {
  display: flex; flex-direction: column; gap: .15rem;
  padding: .8rem 1rem; border-radius: 16px; background: #fff; border: 1px solid var(--line);
}
.creds b { font: 400 1.35rem/1.1 var(--f-display); color: var(--violeta); }
.creds span { font-size: .82rem; color: var(--muted); line-height: 1.3; }

/* ---------- serviços: fontes diferentes por linha ---------- */
.chart__row--f2 .chart__name { font-family: "Bebas Neue", var(--f-body); letter-spacing: .08em; line-height: 1; }
.chart__row--f3 .chart__name { font-family: "Courier Prime", monospace; font-weight: 700; letter-spacing: .02em; }
.chart__row--f4 .chart__name { font-family: "Playfair Display", serif; font-style: italic; font-weight: 500; text-transform: none; letter-spacing: 0; }
.chart__row--f5 .chart__name { font-family: var(--f-body); font-weight: 600; letter-spacing: .22em; }
.chart__row--f6 .chart__name { font-family: var(--f-hand); text-transform: none; letter-spacing: .02em; font-weight: 500; opacity: .85; }

/* ---------- responsivo ---------- */
@media (max-width: 700px) {
  .brandbar__inner { flex-wrap: wrap; gap: .6rem .9rem; }
  .brandbar__text { flex-basis: calc(100% - 64px); font-size: .92rem; }
  .brandbar__link { margin-left: 64px; }
}

@media (max-width: 1020px) {
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .perks__grid { grid-template-columns: 1fr 1fr; }
  .perk--accent { grid-column: 1 / -1; }
  .loyalty { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--roxo-escuro); padding: .5rem var(--gutter) 1.4rem;
    box-shadow: 0 18px 30px rgba(0,0,0,.25);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: .95rem 0; border-bottom: 1px solid rgba(245,238,227,.1); font-size: 1.05rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 1rem; justify-content: center; padding: .95em; }
  .header.menu-open { background: var(--roxo-escuro); }

  .facts__row { grid-template-columns: 1fr 1fr; }
  .fact { padding: 1.3rem 1rem; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid rgba(245,238,227,.14); }

  .about__grid { grid-template-columns: 1fr; }
  .about__photo { width: min(72vw, 300px); margin-inline: auto; }

  .chart__row { grid-template-columns: 1.8rem 1fr 1.8rem; column-gap: .5rem; }
  .chart__acuity { writing-mode: vertical-rl; font-size: .7rem; justify-self: end; }

  .home-visit__inner { flex-direction: column; align-items: flex-start; }

  .shelf { grid-template-columns: repeat(3, 1fr); row-gap: 1.4rem; }
  .shelf__item:nth-child(3n+1)::before { border-radius: 6px 0 0 6px; }
  .shelf__item:nth-child(3n)::before { border-radius: 0 6px 6px 0; }
  .frames__panel { grid-template-columns: 1fr; }
  .frames__photos, .frames__photos--3 { grid-template-columns: 1fr 1fr; }
  .pic:first-child { grid-column: 1 / -1; grid-row: auto; }
  .door { --door-h: min(calc(100svh - 170px), 620px); }

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

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .hero { padding: 96px 0 56px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .perks__grid, .reviews__grid { grid-template-columns: 1fr; }
  .chart__name { font-size: max(7px, calc(var(--s) * 2.1rem)); }
  .creds {
    grid-template-columns: 1fr; gap: 0;
    background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  }
  .creds li {
    display: flex; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: .1rem .5rem;
    padding: .75rem 1rem; border: 0; border-radius: 0; background: none;
  }
  .creds li + li { border-top: 1px solid var(--line); }
  .creds b { font-size: 1.15rem; }
  .creds span { font-size: .9rem; }
  .loyalty__card { transform: none; }
  .loyalty__stamps { gap: .35rem; }
  .shelf__item { font-size: .85rem; }
  .shelf__icon { height: 48px; }
  .shelf__item::before { top: 68px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .frame__line { stroke-dashoffset: 0; }
  .js .chart__row { filter: none; opacity: 1; }
}

/* ---------- página da política de privacidade ---------- */
.legal { background: var(--linho); padding: calc(72px + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(3.5rem, 7vw, 5.5rem); }
.legal__inner { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: .4rem 0 .6rem; }
.legal h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin: 2.2rem 0 .6rem; color: var(--uva); }
.legal p { line-height: 1.65; margin: 0 0 1rem; }
.legal a { color: var(--roxo); }
.legal__date { color: var(--muted); font-size: .92rem; }
.legal__back { color: var(--linho); text-decoration: none; font-weight: 500; font-size: .95rem; opacity: .9; }
.legal__back:hover { opacity: 1; text-decoration: underline; }
