/* ===== Lu Esmalteria — tokens ===== */
:root {
  --canvas: hsl(30, 25%, 97%);
  --superficie: hsl(28, 30%, 91%);
  --canvas-tom: hsl(25, 28%, 88%);
  --canvas-escuro: hsl(340, 20%, 13%);
  --canvas-escuro-2: hsl(340, 18%, 18%);

  --tinta: hsl(340, 15%, 16%);
  --texto-suave: hsl(340, 8%, 38%);
  --texto-inverso: hsl(30, 30%, 97%);
  --texto-inverso-suave: hsl(340, 12%, 72%);

  --acento: hsl(330, 75%, 60%);
  --acento-hover: hsl(330, 75%, 50%);
  --acento-forte: hsl(330, 70%, 40%);
  --acento-forte-hover: hsl(330, 70%, 32%);
  --acento-claro: hsl(330, 70%, 68%); /* texto/links sobre fundo escuro, AA garantido */

  --hairline: rgba(45, 20, 30, .12);
  --hairline-forte: rgba(45, 20, 30, .22);
  --hairline-inversa: rgba(248, 240, 244, .16);
  --sombra: 0 18px 55px rgba(60, 20, 40, .10);
  --sombra-hover: 0 26px 70px rgba(60, 20, 40, .16);

  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --text-h1: clamp(2.5rem, 5.6vw, 4.25rem);
  --text-h2: clamp(1.9rem, 3.6vw, 2.85rem);
  --text-h3: clamp(1.2rem, 2vw, 1.4rem);
  --text-body: clamp(1rem, calc(.4vw + .93rem), 1.125rem);
  --text-number: clamp(3.25rem, 8vw, 6.5rem);
  --text-kicker: .75rem;

  --maxw: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-space: clamp(3.25rem, 7vw, 6rem);
  --content-gap: clamp(1.5rem, 3vw, 2.5rem);
  --header-h: 68px;

  --r-sm: 12px; --r-md: 20px; --r-lg: 32px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-expo: cubic-bezier(.16, 1, .3, 1);
}

/* ===== Reset enxuto ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--tinta);
  background: var(--canvas);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.14; font-weight: 600; letter-spacing: -.01em; }
ul { list-style: none; }
button { font: inherit; border: none; background: none; cursor: pointer; }
svg { flex-shrink: 0; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.kicker {
  font-size: var(--text-kicker);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--acento-forte);
  font-weight: 600;
}
.kicker--inversa { color: var(--acento-claro); }

/* ===== Seções: ritmo claro / tom / escuro ===== */
.sec { padding-block: var(--section-space); position: relative; }
.sec--claro { background: var(--canvas); color: var(--tinta); }
.sec--tom { background: var(--canvas-tom); color: var(--tinta); }
.sec--escuro { background: var(--canvas-escuro); color: var(--texto-inverso); }
.sec--escuro h2, .sec--escuro h3 { color: var(--texto-inverso); }

/* ===== Botões ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: 14px 26px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: .98rem;
  min-height: 48px;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease);
  white-space: nowrap;
}
.btn-primario {
  background: var(--acento-forte);
  color: #fff;
  box-shadow: var(--sombra);
}
.btn-primario:hover { background: var(--acento-forte-hover); transform: translateY(-2px); box-shadow: var(--sombra-hover); }
.btn-primario:active { transform: translateY(0); }
.btn-secundario {
  border: 1.5px solid var(--hairline-forte);
  color: var(--tinta);
  padding: 12.5px 24px;
}
.btn-secundario:hover { border-color: var(--acento); color: var(--acento-forte); }
.btn-grande { padding: 17px 34px; font-size: 1.05rem; }
.btn-cta-header { display: none; }
@media (min-width: 860px) {
  .btn-cta-header { display: inline-flex; padding: 10px 20px; min-height: 44px; font-size: .92rem; }
}

.link-sub { position: relative; font-weight: 600; color: var(--acento-forte); }
.link-sub::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.link-sub:hover::after { transform: scaleX(1); }
.link-sub--inversa { color: var(--acento-claro); }

/* ===== Header ===== */
#topo {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 40;
  background: linear-gradient(180deg, rgba(20, 8, 14, .5) 0%, rgba(20, 8, 14, 0) 100%);
  color: var(--texto-inverso);
  transition: background 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease), color 220ms var(--ease);
  border-bottom: 1px solid transparent;
}
#topo.is-scrolled {
  background: rgba(252, 247, 250, .92);
  backdrop-filter: blur(10px);
  border-color: var(--hairline);
  box-shadow: 0 6px 24px rgba(60, 20, 40, .06);
  color: var(--tinta);
}
.topo-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: inherit;
}
.logo span { color: var(--acento-claro); }
#topo.is-scrolled .logo span { color: var(--acento-forte); }
.nav-desktop { display: none; gap: 1.75rem; }
.nav-desktop a { font-weight: 500; font-size: .92rem; position: relative; }
.nav-desktop a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1.5px;
  background: var(--acento-forte); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-desktop a:hover::after { transform: scaleX(1); }
@media (min-width: 860px) { .nav-desktop { display: flex; } }

/* ===== Hero ===== */
.sec-hero { padding: 0; min-height: 92svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  animation: hero-zoom 1.4s var(--ease-expo) both;
}
@keyframes hero-zoom { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: scale(1); } }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30, 10, 20, .78) 0%, rgba(45, 15, 28, .58) 45%, rgba(214, 60, 120, .55) 100%);
}
.hero-conteudo {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin-inline: auto;
  width: 100%;
  padding: calc(var(--header-h) + 2.5rem) var(--gutter) 3.5rem;
  color: var(--texto-inverso);
}
.hero-conteudo > * { animation: hero-rise .8s var(--ease) both; }
.hero-conteudo > *:nth-child(2) { animation-delay: .12s; }
.hero-conteudo > *:nth-child(3) { animation-delay: .24s; }
.hero-conteudo > *:nth-child(4) { animation-delay: .36s; }
.hero-conteudo > *:nth-child(5) { animation-delay: .46s; }
.hero-conteudo > *:nth-child(6) { animation-delay: .56s; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-conteudo .kicker { color: var(--texto-inverso-suave); margin-bottom: .9rem; }
.hero-conteudo h1 { font-size: var(--text-h1); max-width: 15ch; margin-bottom: 1.1rem; }
.hero-sub { max-width: 46ch; font-size: 1.08rem; color: rgba(248, 240, 244, .92); margin-bottom: 1.75rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: .9rem; }
.hero-ctas .btn-secundario { border-color: var(--hairline-inversa); color: var(--texto-inverso); }
.hero-ctas .btn-secundario:hover { border-color: var(--acento-claro); color: var(--acento-claro); }
.hero-micro { font-size: .85rem; color: var(--texto-inverso-suave); margin-bottom: 1.5rem; }
.badge-nota {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255, 255, 255, .12);
  border: 1px solid var(--hairline-inversa);
  padding: 12px 16px;
  min-height: 44px;
  border-radius: 999px;
  font-size: .88rem;
  backdrop-filter: blur(6px);
  transition: background 200ms var(--ease);
}
.badge-nota:hover { background: rgba(255, 255, 255, .2); }
.badge-nota svg { color: var(--acento); }
.badge-nota strong { font-weight: 700; }

/* ===== Trust-strip + diferenciais ===== */
.trust-strip {
  display: flex; flex-wrap: wrap; gap: .5rem 1rem;
  justify-content: center;
  text-align: center;
  font-size: .92rem;
  font-weight: 500;
  color: var(--texto-suave);
  margin-bottom: var(--content-gap);
}
.trust-strip strong { color: var(--acento-forte); font-weight: 700; }
.trust-strip .dot { color: var(--hairline-forte); }

.cards-diferenciais {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card-diferencial {
  background: var(--canvas);
  border-radius: var(--r-md);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--sombra);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
  border: 1px solid transparent;
}
.card-diferencial:hover { transform: translateY(-4px); box-shadow: var(--sombra-hover); border-color: var(--acento); }
.icone-circulo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--superficie);
  color: var(--acento-forte);
  margin-bottom: 1rem;
}
.card-diferencial h3 { font-size: var(--text-h3); margin-bottom: .5rem; }
.card-diferencial p { color: var(--texto-suave); font-size: .95rem; }

/* ===== Portfolio ===== */
.sec-portfolio h2 { font-size: var(--text-h2); max-width: 20ch; margin: .6rem 0 2rem; }
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) { .galeria-grid { grid-template-columns: repeat(4, 1fr); } }
.galeria-item {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sombra);
}
.galeria-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.galeria-item:hover img { transform: scale(1.06); }
.galeria-legenda {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: .6rem .8rem;
  background: linear-gradient(0deg, rgba(20, 8, 14, .72), transparent);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
}
.portfolio-cta { margin-top: 2rem; text-align: center; }

/* ===== Avaliações + fechamento ===== */
.sec-avaliacoes { text-align: center; }
.nota-grande {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0 2.5rem;
  flex-wrap: wrap;
}
.nota-numero { font-family: var(--font-display); font-size: var(--text-number); font-weight: 700; color: var(--acento); line-height: 1; }
.nota-legenda { text-align: left; }
.nota-legenda span { color: var(--acento-claro); font-size: 1.1rem; letter-spacing: .1em; }
.nota-legenda p { color: var(--texto-inverso-suave); font-size: .9rem; }

.reviews-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  text-align: left;
  margin-bottom: 1.75rem;
}
.review-card {
  background: var(--canvas-escuro-2);
  border-radius: var(--r-md);
  padding: 1.75rem;
  border: 1px solid var(--hairline-inversa);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease);
}
.review-card:hover { transform: translateY(-4px); border-color: var(--acento); }
.review-card p { font-size: .96rem; color: var(--texto-inverso); margin-bottom: 1rem; }
.review-card p::before { content: "\201C"; font-family: var(--font-display); }
.review-card footer { font-size: .82rem; color: var(--texto-inverso-suave); }

.reviews-rodape {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: center;
  font-size: .88rem;
  margin-bottom: var(--section-space);
}
.reviews-consulta { color: var(--texto-inverso-suave); }

.fechamento { margin-bottom: 3rem; }
.fechamento h2 { font-size: var(--text-h2); max-width: 20ch; margin-inline: auto; margin-bottom: 1.75rem; }

.endereco-bloco {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  text-align: left;
  max-width: 640px;
  margin-inline: auto;
  padding-top: 2rem;
  border-top: 1px solid var(--hairline-inversa);
}
.endereco-bloco h3 { font-size: 1rem; margin-bottom: .4rem; color: var(--acento-claro); }
.endereco-bloco p { color: var(--texto-inverso-suave); font-size: .92rem; }

/* ===== Footer ===== */
.footer { background: var(--canvas-escuro); color: var(--texto-inverso-suave); border-top: 1px solid var(--hairline-inversa); }
.footer-inner { padding-block: 2.5rem; text-align: center; }
.footer-logo { font-family: var(--font-display); font-weight: 700; color: var(--texto-inverso); margin-bottom: .6rem; font-size: 1.1rem; }
.footer-logo span { color: var(--acento-claro); }
.footer-inner p { margin-bottom: .3rem; font-size: .88rem; }
.footer-inner a:hover { color: var(--acento-claro); }
.footer-fine { margin-top: .8rem; font-size: .78rem; opacity: .75; }

/* ===== Zap float ===== */
.zap-float {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--acento-forte);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sombra-hover);
  z-index: 50;
  transition: transform 220ms var(--ease), opacity 220ms var(--ease), background 200ms var(--ease);
  animation: zap-in .5s var(--ease-expo) 1.2s both;
}
.zap-float:hover { background: var(--acento-forte-hover); transform: scale(1.06); }
.zap-float.is-hidden { opacity: 0; transform: scale(.6); pointer-events: none; }
@keyframes zap-in { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 767px) { .zap-float { display: none; } }

/* ===== Sticky CTA mobile ===== */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 45;
  padding: .7rem var(--gutter);
  padding-bottom: max(.7rem, env(safe-area-inset-bottom));
  background: rgba(252, 247, 250, .96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--hairline);
  transform: translateY(110%);
  transition: transform .35s var(--ease);
}
.sticky-cta.is-on { transform: translateY(0); }
.sticky-cta .btn { width: 100%; justify-content: center; }
@media (min-width: 768px) { .sticky-cta { display: none; } }

/* ===== Reveal on scroll ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="zoom"] { transform: scale(.94); }
[data-reveal].is-in { opacity: 1; transform: none; }

@media (max-width: 640px) {
  [data-reveal="left"], [data-reveal="right"] { transform: translateY(24px); }
}

/* ===== Responsivo ===== */
@media (max-width: 640px) {
  .hero-conteudo h1 { max-width: none; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .nota-grande { flex-direction: column; gap: .5rem; }
  .nota-legenda { text-align: center; }
  .endereco-bloco { text-align: center; }
  .btn { white-space: normal; text-align: center; }
}

/* ===== Reduced motion (regra dura) ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
