@font-face {
  font-family: Manrope;
  src: url("manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #151513;
  --night: #10100f;
  --paper: #f2efe7;
  --card: #f8f5ed;
  --yellow: #f6d44d;
  --muted: #5b5850;
  --line: #d9d4c7;
  --gutter: clamp(1.2rem, 5vw, 5rem);
  --width: 76rem;
  --ease: cubic-bezier(.22, 1, .36, 1);
  /* Escala de proporção 1,25: cada passo é 25% maior que o anterior.
     Usada em textos, espaços e tamanhos de elementos. */
  --s-6: 0.262rem;
  --s-5: 0.328rem;
  --s-4: 0.41rem;
  --s-3: 0.512rem;
  --s-2: 0.64rem;
  --s-1: 0.8rem;
  --s0: 1.0rem;
  --s1: 1.25rem;
  --s2: 1.562rem;
  --s3: 1.953rem;
  --s4: 2.441rem;
  --s5: 3.052rem;
  --s6: 3.815rem;
  --s7: 4.768rem;
  --s8: 5.96rem;
  --s9: 7.451rem;
  --s10: 9.313rem;
  --s11: 11.642rem;
  --s12: 14.552rem;
  --header-height: var(--s6);
  --header-safe-top: env(safe-area-inset-top, 0px);
  --header-offset: calc(var(--header-height) + var(--header-safe-top));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--s6) + var(--s1) + var(--header-safe-top)); scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body { margin: 0; color: var(--ink); background: var(--night); font: 500 1rem/1.55 Manrope, system-ui, sans-serif; }
main { padding-top: var(--header-offset); }
h1, h2, h3, p, ul { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
::selection { background: var(--yellow); color: var(--night); }
[hidden] { display: none !important; }
.shell { width: min(calc(100% - 2 * var(--gutter)), var(--width)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 15; inset: .5rem auto auto .5rem; padding: var(--s-2) var(--s0); background: var(--yellow); color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header {
  --header-inset: max(var(--gutter), calc((100% - var(--width)) / 2));
  --capsule-inset: max(var(--gutter), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --capsule-width: 36rem;
  --capsule-largura: min(var(--capsule-width), calc(100% - 2 * var(--capsule-inset)));
  --capsule-height: var(--s6);
  --capsule-drop: var(--s-2);
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  padding-top: var(--header-safe-top);
  pointer-events: none;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: var(--header-safe-top);
  background: var(--night);
}
.capsule {
  position: relative;
  z-index: 2;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  min-height: var(--header-height);
  margin-inline: auto;
  padding: var(--s-5) max(var(--header-inset), env(safe-area-inset-right, 0px))
    var(--s-5) max(var(--header-inset), env(safe-area-inset-left, 0px));
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(var(--s-5), 2vw, var(--s1));
  border: 1px solid transparent;
  border-bottom-color: #f2efe729;
  border-radius: 0;
  background: var(--night);
  color: var(--paper);
  pointer-events: auto;
  transition: max-width .44s var(--ease), min-height .44s var(--ease),
    transform .44s var(--ease), padding .44s var(--ease), border-radius .44s var(--ease),
    background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.capsule::after {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 2px;
  border-radius: inherit;
  background: conic-gradient(from -90deg, var(--yellow) calc(var(--progress, 0) * 1turn), transparent 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.site-header.is-compact .capsule {
  max-width: var(--capsule-largura);
  min-height: var(--capsule-height);
  padding-inline: clamp(var(--s-1), 2vw, var(--s2)) var(--s-3);
  transform: translateY(var(--capsule-drop));
  border-color: #f2efe734;
  border-radius: var(--s5);
  background: #141412f2;
  box-shadow: 0 .65rem 2.3rem #0005;
  backdrop-filter: blur(18px);
}
.site-header.is-compact .capsule::after { opacity: 1; }
.brand {
  display: inline-grid;
  align-items: center;
  align-self: center;
  justify-self: start;
  width: max-content;
}
.brand img { display: block; height: auto; }
.site-brand { min-height: var(--s4); }
.site-brand .marca-lm { width: var(--s6); }
.header-search {
  display: grid;
  place-items: center;
  width: var(--s4);
  aspect-ratio: 1;
  border: 1px solid #f2efe733;
  border-radius: 50%;
  transition: border-color .2s ease, color .2s ease;
}
.header-search svg { width: var(--s1); }
.header-search:hover { border-color: var(--yellow); color: var(--yellow); }
.button-yellow:hover { background: #ffea86; }
.brand:focus-visible { outline-offset: 2px; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: calc(clamp(39rem, 89svh, 58rem) - var(--header-offset));
  color: var(--paper);
  background: #151514;
}
.hero-photo, .hero-photo img, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { z-index: -2; }
.hero-photo img { object-fit: cover; object-position: 50% 40%; }
.hero::after {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, #10100feb 0%, #10100fb0 30%, #10100f1a 68%),
              linear-gradient(0deg, #10100f5c 0%, transparent 24%);
  pointer-events: none;
}
.hero-inner { padding-block: var(--s7); }
.hero-copy { max-width: 57rem; }
.overline {
  margin-bottom: var(--s2);
  color: #e1ded4;
  text-transform: uppercase;
  font-size: var(--s-1);
  font-weight: 800;
  letter-spacing: .16em;
}
.hero h1 {
  max-width: 8em;
  font-size: clamp(var(--s6), 9.1vw, 9rem);
  line-height: .85;
  font-weight: 800;
  letter-spacing: -.095em;
  text-transform: uppercase;
}
.hero h1 span { color: var(--yellow); display: block; white-space: nowrap; }
.hero-description { max-width: 26rem; color: #e3e0d7; margin-top: var(--s3); font-size: clamp(var(--s0), 1.4vw, var(--s1)); }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  min-height: var(--s5);
  padding: var(--s-2) var(--s0);
  border-radius: 100vmax;
  font-size: var(--s0);
  font-weight: 800;
  transition: background .22s ease, color .22s ease;
}
.button-yellow { padding-inline: var(--s1); min-height: var(--s5); color: var(--ink); background: var(--yellow); }
.button-yellow:focus-visible { outline-color: var(--paper); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s3); }
.button-ghost { min-height: var(--s5); padding-inline: var(--s1); border: 1px solid #f2efe766; color: var(--paper); }
.button-ghost:hover { border-color: var(--paper); background: #f2efe714; }

.locations { background: var(--yellow); padding-block: clamp(var(--s6), 7vw, var(--s8)); }
.locations-layout {
  --locations-column-gap: clamp(2rem, 5vw, 5.5rem);
  display: grid;
  grid-template-areas: "intro" "detalhes" "mapa";
}
.locations-intro { grid-area: intro; display: grid; justify-items: start; gap: clamp(var(--s0), 2.5vw, var(--s2)); }
.locations h2 {
  font-size: clamp(var(--s5), 7vw, var(--s8));
  line-height: .95;
  font-weight: 800;
  letter-spacing: -.08em;
}
.location-switch {
  --switch-padding: .25rem;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: var(--switch-padding);
  border: 1px solid #15151338;
  border-radius: 100vmax;
}
.store-tabs { background: #1515130d; }
.location-switch > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-height: var(--s5);
  padding-inline: clamp(var(--s-1), 2vw, var(--s2));
  border-radius: 100vmax;
  font-size: var(--s0);
  font-weight: 800;
}
.location-switch > a:hover { background: #15151313; }
.location-switch > a[aria-selected="true"] {
  color: var(--paper);
  background: var(--ink);
}
.location-switch > a:focus-visible { outline-color: var(--ink); outline-offset: 3px; }
@supports selector(:has(> a)) {
  .location-switch {
    position: relative;
    isolation: isolate;
    display: inline-grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .location-switch::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset-block: var(--switch-padding);
    inset-inline-start: var(--switch-padding);
    width: calc(50% - var(--switch-padding));
    border-radius: inherit;
    background: var(--ink);
    transition: inset-inline-start 240ms cubic-bezier(.22, 1, .36, 1);
  }
  .location-switch:has(> a:nth-child(2)[aria-selected="true"])::before {
    inset-inline-start: 50%;
  }
  .location-switch > a[aria-selected="true"] { background: transparent; }
}
@media (forced-colors: active) {
  .location-switch > a[aria-selected="true"] { text-decoration: underline; }
}

/* Endereços empilhados na mesma célula: a altura é sempre a do maior (não pula ao trocar). */
.store-details { grid-area: detalhes; display: grid; position: relative; }
.store-address { grid-area: 1 / 1; display: grid; justify-items: start; align-content: start; gap: var(--s-3); font-style: normal; }
.store-address:not(.is-ativa) { visibility: hidden; }
.store-details.is-digitando > .store-address:not(.store-digitando) { visibility: hidden; }
.store-address strong { font-weight: 800; line-height: 1.25; }
.store-referencia { display: inline-flex; align-items: center; gap: var(--s-3); color: var(--muted); font-weight: 700; }
.store-referencia-icone {
  flex: none; display: grid; place-items: center;
  aspect-ratio: 1; border-radius: 50%;
  background: var(--ink); color: var(--yellow);
}
.store-referencia-icone svg { width: 58%; }
/* Cópia que apaga e digita por cima (cursor piscando no fim do trecho que está sendo escrito) */
.store-digitando { pointer-events: none; }
.store-digitando [data-cursor]::after {
  content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 1px;
  vertical-align: -.12em; background: currentColor; animation: cursor-pisca .7s steps(1) infinite;
}
@keyframes cursor-pisca { 50% { opacity: 0; } }

/* Mapa + "Traçar rota": um link só. O preto do cabeçalho dá a volta no mapa. */
.location-map { grid-area: mapa; position: relative; margin: 0; }
.location-map-link {
  --moldura: var(--s-5);
  display: grid;
  padding: 0 var(--moldura) var(--moldura);
  border-radius: clamp(var(--s0), 2.5vw, var(--s2));
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 1.1rem 2.5rem #15151324;
  transition: box-shadow .3s var(--ease), translate .3s var(--ease);
}
.location-map-link:hover { box-shadow: 0 1.4rem 3rem #15151338; translate: 0 -2px; }
.location-map-link:focus-visible { outline-color: var(--ink); outline-offset: 3px; }
.location-map-topo {
  display: flex; align-items: center; justify-content: center; gap: var(--s-3);
  font-weight: 800; white-space: nowrap;
}
.location-map-topo svg { flex: none; color: var(--yellow); }
.location-map-seta { transition: translate .25s var(--ease); }
.location-map-link:hover .location-map-seta { translate: 2px -2px; }
.location-map-imagens {
  position: relative; display: grid; overflow: hidden;
  border-radius: calc(clamp(var(--s0), 2.5vw, var(--s2)) - var(--moldura));
  background: #e8e7dd;
  isolation: isolate;
}
.location-map-image {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 552;
  object-fit: cover;
  transition: scale .5s var(--ease);
}
.location-map-image:not(.is-ativa):not(.is-saindo) { visibility: hidden; }
.location-map-image.is-saindo { z-index: 1; }
.location-map-link:hover .location-map-image.is-ativa { scale: 1.03; }
.location-map-pin {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: var(--s2);
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 50% 50% 50% 0;
  background: var(--yellow);
  box-shadow: 0 .16rem .4rem #1515134a;
  transform: translateY(-100%) rotate(-45deg);
  transform-origin: bottom left;
}
.location-map-pin::after {
  content: "";
  width: var(--s-3);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
}
.location-map-link:hover .location-map-pin { background: #ffea86; }
.location-map-credit {
  position: absolute;
  z-index: 3;
  right: calc(var(--s-5) + .45rem);
  bottom: calc(var(--s-5) + .4rem);
}
.location-map-credit a {
  display: grid;
  align-items: center;
  min-height: var(--s2);
  padding-inline: var(--s-4);
  border-radius: var(--s-6);
  background: var(--paper);
  font-size: var(--s-2);
  text-decoration: underline;
  text-underline-offset: .15em;
}
.location-map-credit a:focus-visible { outline-offset: 2px; }

@media (min-width: 881px) {
  .locations-layout {
    grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
    grid-template-rows: 1fr auto 1fr;
    grid-template-areas: "intro mapa" "detalhes mapa" ". mapa";
    gap: var(--s2) var(--locations-column-gap);
    align-items: center;
  }
  .locations-intro { align-self: end; }
  .store-details { align-self: start; }
}

.contact-links { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s0); padding: var(--s-2) 0 0; border-top: 1px solid var(--line); list-style: none; }
.contact-links a { display: inline-flex; align-items: center; min-height: var(--s5); font-size: var(--s0); font-weight: 800; text-decoration: underline; text-underline-offset: .2em; }

.footer { background: var(--night); color: var(--paper); padding-block: clamp(var(--s5), 7vw, var(--s8)) calc(var(--s0) + env(safe-area-inset-bottom, 0px)); }
.footer-grid { display: grid; grid-template-columns: 1.45fr .7fr 1fr 1.15fr; gap: var(--s3) clamp(var(--s1), 3.5vw, var(--s5)); padding-bottom: clamp(var(--s4), 5vw, var(--s6)); }
/* Marca Use LM em CSS puro: o contorno traçado do logotipo original vira uma
   máscara vetorial embutida no próprio CSS (sem arquivo de imagem). Nítida em
   qualquer tamanho; a cor vem do fundo. */
.marca-uselm, .marca-lm {
  display: block;
  background: linear-gradient(180deg, #fbf9f3 0%, #e6e1d5 100%);
  mask: var(--marca) center / contain no-repeat;
}
.marca-uselm {
  --marca: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1063 737'%3E%3Cpath fill-rule='evenodd' d='M484 614 486 735 632 734 633 718 629 714 520 714 516 710 516 690 521 685 614 685 618 681 617 669 613 665 520 666 516 662 516 638 519 634 620 633 625 627 625 614 621 610 488 610ZM799 613 801 735 826 736 830 732 830 653 833 650 872 675 873 732 877 736 903 734 904 679 945 650 948 653 947 732 951 736 978 734 977 610 954 612 891 655 881 652 819 609 803 609ZM654 611 654 735 781 734 782 718 778 714 686 713 684 613 680 609ZM314 626 307 642 307 655 310 663 325 678 342 684 419 684 431 692 432 702 420 714 313 714 309 718 311 735 435 736 446 732 459 720 464 708 463 691 445 668 432 664 355 664 345 661 338 652 340 641 354 632 451 632 455 628 453 610 346 609 325 616ZM125 611 124 707 138 728 157 737 255 737 277 724 285 707 283 610 258 609 254 613 254 701 251 708 241 715 172 715 163 711 156 703 155 613 151 609ZM166 333 160 336 27 547 26 558 161 559 235 447 233 440ZM0 4 270 425 300 451 330 455 745 453 673 332 352 332 337 312 339 304 454 128 460 125 461 234 493 284 669 284 746 172 922 456 1060 456 1063 453 783 0 689 1 582 165 575 160 478 1 384 0 264 184 256 177 146 1 4 0Z'/%3E%3C/svg%3E");
  width: var(--s9);
  aspect-ratio: 1063 / 737;
}
.marca-lm {
  --marca: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1362 701'%3E%3Cpath fill-rule='evenodd' d='M201 421 193 426 33 692 32 700 212 701 292 577 292 564ZM0 3 341 550 368 573 384 577 955 576 954 567 866 423 455 423 431 391 588 148 592 150 569 275 626 361 860 362 946 230 951 228 1166 576 1358 577 1362 573 1014 0 883 2 745 223 606 0 476 1 337 223 198 1Z'/%3E%3C/svg%3E");
  width: var(--s6);
  aspect-ratio: 1362 / 701;
}
.footer-brand p { margin-top: var(--s0); max-width: 16rem; color: #c4c0b4; }
.footer h2 { color: var(--yellow); font-size: var(--s0); font-weight: 800; margin-bottom: var(--s-3); }
.footer ul { list-style: none; padding: 0; }
.footer li a { display: inline-flex; align-items: center; min-height: var(--s4); color: #dedbd1; font-size: var(--s0); }
.footer li a:hover, .footer-bottom a:hover { color: var(--yellow); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--s0); border-top: 1px solid #3c3a33; padding-top: var(--s-1); color: #bfbcb1; white-space: nowrap; }
.footer-bottom a { display: flex; align-items: center; min-height: var(--s5); font-size: var(--s-1); }
.footer-bottom small { font-size: var(--s-1); }

@media (max-width: 56rem) {
  .footer-grid { grid-template-columns: 1.2fr 1fr; }
}
/* ===================== Celular (até 767px) ===================== */
@media (max-width: 47.99rem) {
  :root { --header-height: var(--s5); --gutter: var(--s0); }
  html { scroll-padding-top: calc(var(--s5) + var(--s1) + var(--header-safe-top)); }
  .site-header {
    --header-inset: var(--s-1);
    --capsule-inset: max(.6rem, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
    --capsule-width: 29rem;
    --capsule-height: var(--s5);
    --capsule-drop: var(--s-4);
  }
  .capsule { padding-block: var(--s-6); gap: var(--s-3); }
  .site-header.is-compact .capsule { padding-inline: var(--s-1) var(--s-4); }
  .site-brand { min-height: var(--s4); }
  .site-brand .marca-lm { width: var(--s5); }
  .header-search { width: var(--s4); }
  .header-search svg { width: var(--s0); }

  .hero { min-height: calc(clamp(29rem, 74svh, 36rem) - var(--header-offset)); align-items: end; }
  .hero-photo img { object-position: 50% 22%; }
  .hero::after {
    background: linear-gradient(0deg, #10100f 0%, #10100ff7 24%, #10100fc4 44%, #10100f4d 64%, #10100f00 80%),
                linear-gradient(180deg, #10100f59, transparent 18%);
  }
  /* Conteúdo um pouco mais longe da borda esquerda e do fim do hero */
  .hero-inner { padding-block: var(--s8) var(--s4); padding-inline-start: var(--s-2); }
  .overline { margin-bottom: var(--s-2); font-size: var(--s-2); letter-spacing: .12em; }
  .hero h1 { font-size: clamp(var(--s4), 11.2vw, var(--s6)); }
  .hero-description { margin-top: var(--s-1); max-width: 19rem; font-size: var(--s0); }
  .hero-actions { gap: var(--s-4); margin-top: var(--s0); }
  .button { min-height: var(--s4); padding: var(--s-3) var(--s0); font-size: var(--s-1); }
  .button-yellow, .button-ghost { min-height: var(--s4); padding-inline: var(--s0); }

  /* Lojas no celular: tudo centralizado; a cápsula Tianguá/Viçosa ocupa a largura toda, meio a meio */
  .locations { padding-block: var(--s4); }
  .locations-layout { justify-items: center; text-align: center; row-gap: var(--s1); }
  .locations-intro { justify-items: center; width: 100%; gap: var(--s0); }
  .locations h2 { font-size: var(--s3); letter-spacing: -.06em; }
  .location-switch { width: 100%; }
  .location-switch > a { min-height: var(--s4); font-size: var(--s-1); }
  .store-details { width: 100%; }
  .store-address { justify-items: center; }
  .store-address strong { font-size: var(--s0); max-width: 20rem; }
  .store-referencia { font-size: var(--s-1); }
  .store-referencia-icone { width: var(--s2); }
  .location-map { width: 100%; }
  .location-map-topo { min-height: var(--s4); font-size: var(--s-1); }
  .location-map-topo svg { width: var(--s0); }
  .footer { padding-top: var(--s4); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .marca-uselm { width: var(--s8); }
}

/* ===================== Desktop (768px+) ===================== */
@media (min-width: 48rem) {
  :root { --header-height: var(--s6); }
  .site-header {
    --capsule-height: var(--s5);
    --capsule-largura: calc(100% - 2 * var(--header-inset) + 2 * var(--s1));
  }
  .site-header.is-compact .capsule { padding-inline: var(--s1) var(--s-3); }
  .site-brand .marca-lm { width: var(--s6); }
  .header-search { width: var(--s4); }

  .hero { min-height: calc(clamp(32rem, 80svh, 48rem) - var(--header-offset)); }
  .hero-photo img { object-position: 50% 2%; }
  .hero-inner { padding-block: var(--s7) var(--s6); }
  .overline { margin-bottom: var(--s1); font-size: var(--s-1); }
  .hero h1 { font-size: clamp(var(--s6), 7.6vw, var(--s9)); }
  .hero-description { margin-top: var(--s1); font-size: var(--s0); }
  .hero-actions { margin-top: var(--s2); }
  .button-yellow, .button-ghost { min-height: var(--s5); padding-inline: var(--s1); font-size: var(--s0); }

  .locations { padding-block: clamp(var(--s5), 5vw, var(--s7)); }
  .locations h2 { font-size: clamp(var(--s4), 4.2vw, var(--s6)); letter-spacing: -.07em; }
  .store-address strong { font-size: var(--s1); }
  .store-referencia { font-size: var(--s0); }
  .store-referencia-icone { width: var(--s3); }
  .location-map-topo { min-height: var(--s5); font-size: var(--s0); }
  .location-map-topo svg { width: var(--s1); }
}

/* ===================== Busca que desce do cabeçalho =====================
   O painel tem a mesma largura do cabeçalho (ou da cápsula) e se encaixa embaixo
   dele: aberto, os dois formam uma peça só. */
.busca-painel {
  position: absolute;
  z-index: 1;
  inset: 100% 0 auto;
  max-width: 100%;
  margin-inline: auto;
  padding: var(--s-2) max(var(--header-inset), env(safe-area-inset-right, 0px)) var(--s-1);
  border: 1px solid transparent;
  border-top: 0;
  background: color-mix(in oklab, #34332e 80%, transparent);
  backdrop-filter: blur(18px) saturate(1.2);
  color: var(--paper);
  pointer-events: auto;
  opacity: 0;
  visibility: hidden;
  translate: 0 -100%;
  /* Mesmas durações e curva da cápsula: os dois encolhem juntos */
  transition: translate .42s var(--ease), opacity .25s ease, visibility 0s linear .42s,
    max-width .44s var(--ease), transform .44s var(--ease), padding .44s var(--ease),
    border-radius .44s var(--ease), border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-busca .busca-painel { opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s; }
.site-header.is-busca:not(.is-compact) .capsule { border-bottom-color: transparent; }

.site-header.is-compact .busca-painel {
  max-width: var(--capsule-largura);
  padding: var(--s-2) var(--s-2) var(--s-2);
  transform: translateY(var(--capsule-drop));
  border-color: #f2efe734;
  border-radius: 0 0 var(--s2) var(--s2);
  box-shadow: 0 var(--s0) var(--s3) #0006;
}
.site-header.is-compact.is-busca .capsule {
  border-radius: var(--s2) var(--s2) 0 0;
  border-bottom-color: transparent;
  box-shadow: none;
}
.site-header.is-compact.is-busca .capsule::after { opacity: 0; }

.busca-painel-form { max-width: 40rem; margin-inline: auto; }
.site-header.is-compact .busca-painel-form { max-width: none; }

/* Campo com o rótulo dentro: ao focar ou digitar, o rótulo sobe e o texto fica abaixo */
.campo-flutuante { position: relative; }
.campo-flutuante input {
  width: 100%;
  height: var(--s5);
  padding: var(--s1) var(--s0) 0;
  border: 1px solid #f2efe724;
  border-radius: var(--s-1);
  background: #f2efe712;
  color: var(--paper);
  caret-color: var(--paper);
  font: inherit;
  font-size: var(--s0);
  font-weight: 600;
  appearance: none;
}
.campo-flutuante input::-webkit-search-cancel-button { display: none; }
.campo-flutuante input:focus { outline: none; border-color: #f2efe74d; background: #f2efe71c; }
.campo-flutuante label {
  position: absolute;
  top: 50%;
  left: calc(var(--s0) + 1px);
  color: #b3afa4;
  font-size: var(--s-1);
  font-weight: 700;
  line-height: 1;
  translate: 0 -50%;
  pointer-events: none;
  transition: top .22s var(--ease), font-size .22s var(--ease), color .22s ease;
}
.campo-flutuante input:focus + label,
.campo-flutuante input:not(:placeholder-shown) + label { top: var(--s-1); font-size: var(--s-2); color: #958f84; }

/* WhatsApp flutuante */
.whatsapp-flutuante {
  position: fixed;
  right: max(var(--s0), env(safe-area-inset-right, 0px));
  bottom: max(var(--s0), env(safe-area-inset-bottom, 0px));
  display: grid;
  place-items: center;
  width: var(--s5);
  height: var(--s5);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 var(--s-3) var(--s2) #10100f40;
  pointer-events: auto;
  transition: scale .25s var(--ease), background .2s ease;
}
.whatsapp-flutuante svg { width: var(--s2); height: var(--s2); }
/* Balão "Chama no WhatsApp": aparece de tempos em tempos e no hover */
.whatsapp-dica {
  position: absolute;
  right: calc(100% + var(--s-2));
  padding: var(--s-3) var(--s-1);
  border-radius: var(--s-2);
  background: var(--ink);
  color: var(--paper);
  font-size: var(--s-1);
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 0 0 1px #f2efe733, 0 var(--s-3) var(--s1) #10100f33;
  opacity: 0;
  transform: translateX(var(--s-2)) scale(.96);
  transform-origin: right center;
  pointer-events: none;
  animation: whatsapp-dica 10s ease 2s infinite;
}
.whatsapp-dica::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(-1 * var(--s-4) + 1px);
  border: var(--s-4) solid transparent;
  border-right: 0;
  border-left-color: var(--ink);
  translate: 0 -50%;
}
.whatsapp-flutuante:hover .whatsapp-dica { animation: none; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
@keyframes whatsapp-dica {
  0%, 64%, 100% { opacity: 0; transform: translateX(var(--s-2)) scale(.96); }
  70%, 92% { opacity: 1; transform: translateX(0) scale(1); }
}
.whatsapp-flutuante:hover { background: #ffea86; scale: 1.08; }
.whatsapp-flutuante:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Rodapé ocupa a largura toda, respeitando só as margens laterais */
.footer-margens { margin-inline: var(--gutter); }
.footer-credito { display: inline-flex; align-items: center; gap: var(--s-2); color: #bfbcb1; }
.footer-credito img { width: var(--s5); height: auto; flex: none; filter: brightness(0) invert(1); opacity: .85; }
.footer-credito:hover img { opacity: 1; }

@media (max-width: 350px) {
  .site-header { --header-inset: var(--s-2); }
  .site-header.is-compact .capsule { padding-left: var(--s-2); }
  .hero h1 { font-size: clamp(var(--s5), 13.6vw, var(--s6)); }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .capsule, .capsule::after, .button, .header-search, .location-switch::before, .busca-painel, .campo-flutuante label, .whatsapp-flutuante { transition: none; }
  .whatsapp-dica { animation: none; }
}

/* Espaço para o WhatsApp flutuante não cobrir o "Voltar ao topo" */
.footer-bottom { padding-right: calc(var(--s5) + var(--s0)); }

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

/* Ícones do rodapé */
.footer li a { gap: var(--s-2); }
.footer li a svg { flex: none; width: var(--s0); height: var(--s0); color: #8f8b80; transition: color .2s ease; }
.footer li a:hover svg { color: var(--yellow); }

/* Botão de WhatsApp no hero */
.button-whats { gap: var(--s-3); }
.button-whats svg { flex: none; width: var(--s1); height: var(--s1); }

/* WhatsApp flutuante: no desktop maior e mais afastado do canto */
@media (min-width: 48rem) {
  .whatsapp-flutuante {
    right: max(var(--s3), env(safe-area-inset-right, 0px));
    bottom: max(var(--s3), env(safe-area-inset-bottom, 0px));
    width: var(--s6);
    height: var(--s6);
  }
  .whatsapp-flutuante svg { width: var(--s3); height: var(--s3); }
  .whatsapp-dica { font-size: var(--s0); padding: var(--s-2) var(--s0); }
  .footer-bottom { padding-right: calc(var(--s6) + var(--s3)); }
}

/* Página da peça: preço à vista e troca de cor (cada cor é uma página, com fotos e tamanhos próprios) */
.pdp-avista { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin: 0; color: var(--muted, #6f6a5f); font-size: var(--s-1); }
.pdp-avista strong { color: inherit; font-family: Oxanium, Manrope, sans-serif; font-size: var(--s1); font-weight: 800; color: #23784a; }
.pdp-avista-selo { padding: .15em .55em; border-radius: 100vmax; background: #2f9d5b1f; color: #23784a; font-size: .85em; font-weight: 800; }
.pdp-cores { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.pdp-cor-opcao {
  display: grid;
  justify-items: center;
  gap: var(--s-5);
  width: var(--s6);
  color: inherit;
  font-size: var(--s-3);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.pdp-cor-opcao img { width: 100%; aspect-ratio: 1; border: 2px solid transparent; border-radius: var(--s-1); background: #f0eee9; object-fit: cover; transition: border-color .2s ease; }
.pdp-cor-opcao span { overflow: hidden; max-width: 100%; text-overflow: ellipsis; white-space: nowrap; }
.pdp-cor-opcao:hover img { border-color: #15151340; }
.pdp-cor-opcao.is-ativa img { border-color: currentColor; }
