/* Óptica Leninha
   Base café escuro (o balcão e a madeira da loja), seções claras em linho neutro e terracota da fachada
   nos destaques. O menta da logo aparece só em detalhes pequenos, para não lavar a página.
   O destaque é um só: a foto real do topo com os óculos da logo servindo de lupa. */

:root {
  --cafe: #1e1510;        /* fundo escuro: topo e chamada final */
  --cafe-2: #2a1e17;
  --cafe-texto: #2b1d16;  /* texto sobre fundo claro (não usamos preto puro) */
  --cafe-suave: #5e4a3d;  /* texto secundário: 7,4:1 sobre o linho */
  --linho: #f3eee7;       /* fundo claro neutro, menos amarelo que o creme */
  --linho-2: #e9e1d5;
  --creme: #f1e6d3;       /* texto sobre o café e o aro da lupa, igual aos óculos da logo */
  --creme-suave: rgba(241, 230, 211, 0.72);
  --terracota: #a9542c;   /* fachada da loja: 5,1:1 sobre o linho */
  --terracota-clara: #d08a5f;
  --menta: #a9cbbe;       /* só em detalhes */

  --fonte: "Jost", "Century Gothic", "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --largura: 1320px;
  --curva: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--linho); color: var(--cafe-texto);
  font-family: var(--fonte); font-size: 1.1rem; line-height: 1.6;
  overflow-x: hidden; overflow-x: clip; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dl, dd { margin: 0; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--terracota-clara); outline-offset: 4px; }

.pular { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--creme); color: var(--cafe); padding: 10px 16px; text-decoration: none; }
.pular:focus { top: 12px; }
.container { width: min(100% - 2 * var(--gutter), var(--largura)); margin-inline: auto; }

/* títulos finos como o "LENINHA" da logo */
.titulo { font-weight: 300; font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4.4rem); line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance; }
.titulo--claro { color: var(--creme); }

/* botões em pílula, como as lentes redondas */
.botao {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 32px;
  border-radius: 999px; background: var(--cafe); color: var(--creme); text-decoration: none;
  font-weight: 500; font-size: 1rem; letter-spacing: 0.01em;
  transition: background 0.25s, transform 0.25s var(--curva), box-shadow 0.25s;
}
.botao:hover { background: var(--terracota); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(30, 21, 16, 0.18); }
.botao--pequeno { min-height: 44px; padding: 0 22px; font-size: 0.95rem; }
.botao--creme { background: var(--creme); color: var(--cafe); }
.botao--creme:hover { background: #fff; color: var(--cafe); }
.link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.link:hover { color: var(--terracota); }
.link--claro { color: var(--creme); }
.link--claro:hover { color: var(--terracota-clara); }

/* ---------- barra do topo ---------- */
.topo { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background 0.35s, box-shadow 0.35s; }
.topo.rolou { background: rgba(30, 21, 16, 0.94); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(241, 230, 211, 0.08); }
.topo__barra { width: min(100% - 2 * var(--gutter), var(--largura)); margin-inline: auto; height: 84px; display: flex; align-items: center; gap: 28px; color: var(--creme); }
.topo__logo { margin-right: auto; }
.topo__logo img { height: 48px; width: auto; }
.topo__nav, .topo__cta { display: none; }
.topo__menu { display: grid; gap: 7px; place-content: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(241, 230, 211, 0.3); background: transparent; cursor: pointer; }
.topo__menu span { width: 20px; height: 1.5px; background: var(--creme); transition: transform 0.3s var(--curva); }
.topo__menu[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.topo__menu[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
.topo__nav.aberto { display: flex; flex-direction: column; position: fixed; inset: 84px 0 0 0; background: var(--cafe); padding: 24px var(--gutter); }
.topo__nav.aberto a { font-size: 2.2rem; font-weight: 300; text-decoration: none; padding: 12px 0; border-bottom: 1px solid rgba(241, 230, 211, 0.12); }
.topo .botao { background: var(--creme); color: var(--cafe); }
@media (min-width: 960px) {
  .topo__menu { display: none; }
  .topo__nav { display: flex; gap: 4px; }
  .topo__nav a { text-decoration: none; font-size: 0.98rem; padding: 10px 14px; border-radius: 999px; color: var(--creme-suave); transition: color 0.2s, background 0.2s; }
  .topo__nav a:hover { color: var(--creme); background: rgba(241, 230, 211, 0.08); }
  .topo__cta { display: inline-flex; }
}

/* ---------- topo da página ---------- */
.hero { background: var(--cafe); color: var(--creme); padding: 112px 0 0; position: relative; overflow: hidden; }
/* luz quente atrás da foto, como a luz da vitrine */
.hero::before { content: ""; position: absolute; right: -10%; top: 6%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgba(208, 138, 95, 0.22), transparent 70%); pointer-events: none; }
.hero__grade { position: relative; width: min(100% - 2 * var(--gutter), var(--largura)); margin-inline: auto; display: grid; gap: 40px; }
.hero__titulo { font-weight: 200; font-size: clamp(3.2rem, 1.8rem + 6vw, 7.2rem); line-height: 0.95; letter-spacing: -0.035em; }
.hero__titulo span { display: inline-block; }
.hero__apoio { margin: 24px 0 32px; max-width: 30em; color: var(--creme-suave); }
.hero__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }

/* foto em arco: o mesmo arco da fachada */
.hero__foto { position: relative; border-radius: 999px 999px 28px 28px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--cafe-2); touch-action: pan-y; }
.hero__foto > img { width: 100%; height: 100%; object-fit: cover; }
.hero__legenda {
  position: absolute; left: 50%; bottom: 18px; translate: -50% 0; white-space: nowrap;
  padding: 6px 14px; border-radius: 999px; background: rgba(30, 21, 16, 0.6); backdrop-filter: blur(6px);
  font-size: 0.82rem; color: var(--creme); display: inline-flex; align-items: center; gap: 8px;
}
.hero__legenda::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--menta); }

/* a lupa: os dois aros redondos da logo, ampliando a foto */
.lupa { --r: 46px; position: absolute; left: 0; top: 0; display: flex; align-items: center; pointer-events: none; opacity: 0; will-change: transform; }
.lupa__lente {
  width: calc(var(--r) * 2); height: calc(var(--r) * 2); border-radius: 50%; flex: none;
  border: 5px solid var(--creme); background-color: var(--cafe-2); background-repeat: no-repeat;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  position: relative;
}
/* as pontinhas viradas para fora, como no desenho da logo */
.lupa__lente::after { content: ""; position: absolute; top: 16%; width: 16px; height: 14px; border: 5px solid var(--creme); border-bottom: 0; }
.lupa__lente[data-lente="e"]::after { left: -19px; border-right: 0; border-radius: 10px 0 0 0; }
.lupa__lente[data-lente="d"]::after { right: -19px; border-left: 0; border-radius: 0 10px 0 0; }
.lupa__ponte { flex: none; width: calc(var(--r) * 0.42); height: calc(var(--r) * 0.3); border: 5px solid var(--creme); border-bottom: 0; border-radius: 40px 40px 0 0; margin: 0 -3px; translate: 0 -30%; }

.hero__fatos { position: relative; list-style: none; margin: 56px auto 0; padding: 0; width: min(100% - 2 * var(--gutter), var(--largura)); display: grid; border-top: 1px solid rgba(241, 230, 211, 0.14); }
.hero__fatos li { display: flex; flex-direction: column; padding: 20px 0; border-bottom: 1px solid rgba(241, 230, 211, 0.14); }
.hero__fatos strong { font-weight: 300; font-size: 1.6rem; line-height: 1.2; }
.hero__fatos span { color: var(--creme-suave); font-size: 0.95rem; }

@media (min-width: 720px) {
  .hero__fatos { grid-template-columns: 0.7fr 0.7fr 1.6fr; }
  .hero__fatos li { border-bottom: 0; padding: 24px 24px 24px 0; }
  .hero__fatos li + li { padding-left: 24px; border-left: 1px solid rgba(241, 230, 211, 0.14); }
}
@media (min-width: 960px) {
  .hero { padding-top: 120px; }
  .hero__grade { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 72px; }
  .hero__foto { height: clamp(520px, calc(100svh - 210px), 760px); justify-self: end; width: auto; aspect-ratio: 4 / 5; cursor: none; }
  .lupa { --r: 58px; }
}

/* ---------- marcas ---------- */
.marcas { background: var(--terracota); color: var(--creme); overflow: hidden; padding: 18px 0; }
.marcas__trilho { display: flex; align-items: center; gap: 34px; width: max-content; animation: corre 40s linear infinite; }
.marcas span { font-weight: 300; font-size: clamp(1.2rem, 1rem + 0.8vw, 1.7rem); letter-spacing: 0.04em; white-space: nowrap; }
.marcas i { width: 30px; height: 12px; flex: none; opacity: 0.7; background:
  radial-gradient(circle at 25% 50%, transparent 3.2px, var(--creme) 3.6px, var(--creme) 4.6px, transparent 5px),
  radial-gradient(circle at 75% 50%, transparent 3.2px, var(--creme) 3.6px, var(--creme) 4.6px, transparent 5px); }
@keyframes corre { to { transform: translateX(-50%); } }

/* ---------- vitrine ---------- */
.vitrine { padding: clamp(80px, 10vw, 136px) 0; background: var(--linho); }
.vitrine__cabeca { display: grid; gap: 16px 64px; margin-bottom: 40px; }
.vitrine__cabeca p { color: var(--cafe-suave); max-width: 34em; }
@media (min-width: 960px) { .vitrine__cabeca { grid-template-columns: 1.2fr 1fr; align-items: end; } }

.filtros { display: grid; gap: 8px; margin-bottom: 16px; }
.filtros__grupo { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.filtros__grupo::-webkit-scrollbar { display: none; }
.filtro {
  flex: none; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(43, 29, 22, 0.2);
  background: transparent; color: var(--cafe-texto); font-family: var(--fonte); font-size: 0.95rem; font-weight: 500; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.filtro:hover { border-color: var(--cafe-texto); }
.filtro.ativo { background: var(--cafe-texto); color: var(--creme); border-color: var(--cafe-texto); }
.vitrine__contagem { font-size: 0.92rem; color: var(--cafe-suave); margin-bottom: 24px; }

.vitrine__grade { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .vitrine__grade { grid-template-columns: repeat(3, 1fr); gap: 48px 24px; } }
@media (min-width: 1100px) { .vitrine__grade { grid-template-columns: repeat(4, 1fr); } }
.peca[hidden] { display: none; }
.peca__foto { position: relative; border-radius: 24px; overflow: hidden; background: var(--linho-2); margin-bottom: 16px; box-shadow: 0 4px 24px rgba(30, 21, 16, 0.06); }
.peca__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.9s var(--curva); }
.peca:hover .peca__foto img { transform: scale(1.05); }
.peca__num { position: absolute; left: 12px; top: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(30, 21, 16, 0.62); color: var(--creme); backdrop-filter: blur(4px); font-size: 0.78rem; font-weight: 500; }
.peca__tipo { font-size: 0.85rem; color: var(--terracota); font-weight: 500; }
.peca__nome { font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.2rem); font-weight: 400; line-height: 1.3; margin: 4px 0 12px; }
.peca__botao { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--cafe-texto); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: background 0.2s, color 0.2s; }
.peca__botao:hover { background: var(--cafe-texto); color: var(--creme); }
.vitrine__nota { margin-top: 48px; color: var(--cafe-suave); font-size: 0.95rem; }

/* ---------- do provador à adaptação ---------- */
.cuidado { background: var(--cafe-2); color: var(--creme); padding: clamp(80px, 10vw, 128px) 0; overflow: hidden; }
.cuidado__intro { display: grid; gap: 16px 64px; margin-bottom: 48px; }
.cuidado__intro p { color: var(--creme-suave); max-width: 28em; }
.cuidado__trilho { display: grid; gap: 48px; width: min(100% - 2 * var(--gutter), var(--largura)); margin-inline: auto; }
.etapa__foto { border-radius: 24px; overflow: hidden; margin-bottom: 24px; }
.etapa__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.etapa__num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--terracota-clara); color: var(--terracota-clara); margin-bottom: 16px; }
.etapa h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 300; line-height: 1.15; margin-bottom: 8px; }
.etapa p { color: var(--creme-suave); max-width: 30em; }
@media (min-width: 960px) {
  .cuidado__intro { grid-template-columns: 1.2fr 1fr; align-items: end; }
  .cuidado__trilho { display: flex; gap: 56px; width: max-content; margin: 0; padding-left: max(var(--gutter), (100% - var(--largura)) / 2); padding-right: var(--gutter); }
  .etapa { width: clamp(320px, 30vw, 440px); flex: none; }
  .etapa:nth-child(even) { margin-top: 88px; }
}

/* ---------- black november ---------- */
.promo { background: var(--terracota); color: var(--creme); padding: clamp(64px, 8vw, 112px) 0; }
.promo-encerrada [data-promo] { display: none; }
.promo__dentro { display: grid; gap: 40px; }
.promo__titulo { font-weight: 200; font-size: clamp(3rem, 1.6rem + 6vw, 7.5rem); line-height: 0.95; letter-spacing: -0.03em; }
.promo__lista { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid rgba(241, 230, 211, 0.3); }
.promo__lista li { display: grid; grid-template-columns: minmax(136px, 0.6fr) 1fr; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid rgba(241, 230, 211, 0.3); }
.promo__lista strong { font-weight: 300; font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem); line-height: 1; }
.promo__lista span { color: rgba(241, 230, 211, 0.88); }
.promo__fim { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
@media (min-width: 960px) { .promo__dentro { grid-template-columns: 1fr 1.2fr; align-items: center; column-gap: 72px; } .promo__fim { grid-column: 1 / -1; } }

/* ---------- a loja ---------- */
.loja { background: var(--linho); padding-top: clamp(80px, 10vw, 136px); }
.loja__grade { display: grid; gap: 40px; align-items: center; padding-bottom: clamp(64px, 8vw, 112px); }
.loja__fachada { border-radius: 999px 999px 24px 24px; overflow: hidden; }
.loja__fachada img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.loja__ref { margin: 16px 0 32px; color: var(--cafe-suave); max-width: 32em; }
.horarios { width: 100%; max-width: 440px; border-collapse: collapse; margin-bottom: 32px; }
.horarios caption { text-align: left; font-weight: 500; margin-bottom: 8px; }
.horarios th, .horarios td { text-align: left; padding: 12px 0; border-bottom: 1px solid rgba(43, 29, 22, 0.14); font-weight: 400; }
.horarios td { text-align: right; }
.horarios tr.hoje th, .horarios tr.hoje td { font-weight: 600; }
.horarios tr.hoje th::after { content: "hoje"; margin-left: 10px; font-size: 0.72rem; padding: 2px 10px; border-radius: 999px; background: var(--menta); color: var(--cafe-texto); vertical-align: middle; font-weight: 600; }
.loja__acoes { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
.loja__salao img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; max-height: 640px; }
@media (min-width: 960px) { .loja__grade { grid-template-columns: 0.9fr 1fr; gap: 88px; } }

/* ---------- além das armações ---------- */
.servicos { background: var(--linho-2); padding: clamp(80px, 10vw, 128px) 0; }
.servicos__grade { display: grid; gap: 40px; }
.servicos__lista { display: grid; border-top: 1px solid rgba(43, 29, 22, 0.16); }
.servicos__lista > div { display: grid; gap: 4px 32px; padding: 24px 0; border-bottom: 1px solid rgba(43, 29, 22, 0.16); }
.servicos__lista dt { font-size: 1.35rem; font-weight: 400; }
.servicos__lista dd { color: var(--cafe-suave); }
@media (min-width: 760px) { .servicos__lista > div { grid-template-columns: 0.8fr 1.4fr; align-items: baseline; } }
@media (min-width: 960px) { .servicos__grade { grid-template-columns: 0.8fr 1.6fr; align-items: start; } }

/* ---------- dúvidas ---------- */
.duvidas { background: var(--linho); padding: clamp(80px, 10vw, 128px) 0; }
.duvidas__grade { display: grid; gap: 40px; }
.acordeao details { border-bottom: 1px solid rgba(43, 29, 22, 0.16); }
.acordeao details:first-child { border-top: 1px solid rgba(43, 29, 22, 0.16); }
.acordeao summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem); }
.acordeao summary::-webkit-details-marker { display: none; }
.acordeao summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--cafe-texto); background: linear-gradient(var(--cafe-texto), var(--cafe-texto)) center / 12px 1.5px no-repeat, linear-gradient(var(--cafe-texto), var(--cafe-texto)) center / 1.5px 12px no-repeat; transition: transform 0.3s var(--curva); }
.acordeao details[open] summary::after { transform: rotate(45deg); }
.acordeao details p { padding-bottom: 24px; color: var(--cafe-suave); max-width: 42em; }
@media (min-width: 960px) { .duvidas__grade { grid-template-columns: 0.8fr 1.6fr; align-items: start; } }

/* ---------- chamada final ---------- */
.final { background: var(--cafe); color: var(--creme); padding: clamp(96px, 12vw, 160px) 0; text-align: center; }
.final__dentro { display: grid; justify-items: center; gap: 32px; }
.final__oculos { width: min(60vw, 340px); }
.final__titulo { font-weight: 200; font-size: clamp(2.4rem, 1.4rem + 4vw, 5rem); line-height: 1; letter-spacing: -0.03em; max-width: 12em; }
.final__acoes { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: center; }
.final .botao { background: var(--creme); color: var(--cafe); }
.final .link { color: var(--creme); }

/* ---------- rodapé ---------- */
.rodape { background: #140e0b; color: var(--creme); padding: 64px 0 32px; }
.rodape__grade { display: grid; gap: 32px; padding-bottom: 40px; }
.rodape__logo { width: 180px; }
.rodape__titulo { font-size: 0.85rem; font-weight: 500; color: rgba(241, 230, 211, 0.6); margin-bottom: 8px; }
.rodape a { text-decoration: none; }
.rodape a:hover { color: var(--terracota-clara); }
.rodape__grade p { margin-bottom: 4px; }
.rodape__base { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; border-top: 1px solid rgba(241, 230, 211, 0.12); padding-top: 24px; }
.rodape__base p { font-size: 0.82rem; color: rgba(241, 230, 211, 0.6); }
@media (min-width: 760px) { .rodape__grade { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }

/* whatsapp flutuante */
.wa-flutuante { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--terracota); color: var(--creme); box-shadow: 0 12px 30px rgba(30, 21, 16, 0.3); transition: transform 0.3s var(--curva), opacity 0.3s; }
.wa-flutuante svg { width: 28px; height: 28px; fill: currentColor; }
.wa-flutuante.some { opacity: 0; transform: translateY(16px); pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}

/* entrada do topo: começa escondido só com JS; se o JS falhar, aparece sozinho em 2,5 s */
.js .hero__titulo span, .js .hero__apoio, .js .hero__acoes, .js .hero__foto { opacity: 0; animation: aparece 0.01s 2.5s forwards; }
.js.entrou .hero__titulo span, .js.entrou .hero__apoio, .js.entrou .hero__acoes, .js.entrou .hero__foto { animation: none; }
@keyframes aparece { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .js .hero__titulo span, .js .hero__apoio, .js .hero__acoes, .js .hero__foto { opacity: 1; } }
