/* ==========================================================================
   ME Relojoaria — estilos
   Paleta e tipografia derivadas da fachada/logotipo (vinho, creme e dourado)
   ========================================================================== */

/* ---------- Fontes (auto-hospedadas, subconjunto latino) ---------- */
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-500.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-500-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Courier Prime";
  src: url("../fonts/courier-prime-700.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@property --sweep {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg;
}

/* ---------- Tokens ---------- */
:root {
  --wine-950: #1c040a;
  --wine-900: #2b0811;
  --wine-850: #330914;
  --wine-800: #420c1b;
  --wine-700: #5a0f22;
  --wine-600: #7a1426;
  --wine-500: #962036;
  --cream-50: #fdfaf5;
  --cream-100: #f7f1e7;
  --cream-200: #efe5d5;
  --cream-300: #e3d4bc;
  --gold-600: #8f6d3c;
  --gold-500: #b8945a;
  --gold-400: #c9a96e;
  --gold-300: #dcc39a;
  --gold-200: #ecdcbc;
  --ink: #241517;
  --ink-soft: #5e4b49;
  --line: rgb(90 15 34 / .14);
  --line-light: rgb(243 234 219 / .16);
  --wa: #25d366;
  --wa-ink: #07301a;

  --serif: "Bodoni Moda", "Bodoni 72", Didot, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Courier Prime", "Courier New", ui-monospace, monospace;

  --gutter: clamp(1rem, 4.5vw, 3rem);
  --maxw: 76rem;
  --header-h: 4.25rem;
  --radius: 1.25rem;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --shadow-soft: 0 1px 2px rgb(43 8 17 / .06), 0 14px 34px -14px rgb(43 8 17 / .22);

  color-scheme: light;
}
@media (min-width: 1024px) {
  :root { --header-h: 4.75rem; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Sem recuo nas âncoras: o respiro do topo de cada seção já é maior que o cabeçalho */
  scroll-padding-top: 0;
}
html.no-scroll { overflow: hidden; }

body {
  margin: 0;
  background: var(--cream-100);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
:where(ul[class], ol[class]) { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
strong { font-weight: 600; }

::selection { background: var(--wine-700); color: var(--cream-50); }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nowrap { white-space: nowrap; }

.skip-link {
  position: fixed;
  left: 1rem; top: -5rem;
  z-index: 100;
  padding: .75rem 1.1rem;
  border-radius: .6rem;
  background: var(--wine-700);
  color: var(--cream-50);
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon--flip { transform: scaleX(-1); }
.icon--up { transform: rotate(-90deg); }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--mono);
  font-weight: 700;
  font-size: .75rem;
  line-height: 1.4;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--wine-600);
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  opacity: .7;
}

.section-title {
  margin-top: 1.1rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.15rem, 1.35rem + 3.1vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -.015em;
  color: var(--wine-800);
  text-wrap: balance;
}
.section-title em { color: var(--wine-600); }

.section-lead {
  max-width: 34rem;
  font-size: clamp(1.02rem, .95rem + .3vw, 1.15rem);
  color: var(--ink-soft);
  text-wrap: pretty;
}

[data-theme="dark"] .eyebrow { color: var(--gold-400); }
[data-theme="dark"] .section-title { color: var(--cream-100); }
[data-theme="dark"] .section-title em { color: var(--gold-300); }
[data-theme="dark"] .section-lead { color: rgb(247 241 231 / .78); }

/* ---------- Botões e links ---------- */
.btn {
  --btn-bg: var(--wine-700);
  --btn-fg: var(--cream-50);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3.25rem;
  padding: .85rem 1.45rem;
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--sans);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s, transform .3s var(--ease-out);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { box-shadow: 0 12px 26px -14px rgb(90 15 34 / .75), inset 0 1px 0 rgb(255 255 255 / .12); }
.btn--primary:hover { --btn-bg: var(--wine-600); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--wine-800); --btn-bd: rgb(90 15 34 / .3); }
.btn--ghost:hover { --btn-bg: rgb(90 15 34 / .06); --btn-bd: rgb(90 15 34 / .55); }
.btn--light { --btn-bg: var(--cream-100); --btn-fg: var(--wine-900); }
.btn--light:hover { --btn-bg: #fff; }
.btn--wa { --btn-bg: var(--wa); --btn-fg: var(--wa-ink); }
.btn--wa:hover { --btn-bg: #3ee07b; }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--cream-100); --btn-bd: rgb(243 234 219 / .35); }
.btn--outline-light:hover { --btn-bg: rgb(243 234 219 / .08); --btn-bd: rgb(243 234 219 / .6); }
.btn--sm { min-height: 2.6rem; padding: .5rem 1.05rem; font-size: .875rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding-bottom: .1rem;
  border-bottom: 1px solid currentColor;
  color: var(--wine-700);
  font-weight: 600;
  text-decoration: none;
}
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform .3s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(3px); }

.link-inline {
  color: var(--wine-600);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--cream-50);
  color: var(--wine-800);
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, opacity .2s;
}
.icon-btn:hover:not(:disabled) { background: var(--wine-700); border-color: var(--wine-700); color: var(--cream-50); }
.icon-btn:disabled { opacity: .35; cursor: default; }

/* Estrelas (máscara única, sem dependência de fonte) */
.stars {
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1.5 0 27 24'%3E%3Cpath d='m12 2.6 2.9 6 6.5.8-4.8 4.5 1.2 6.5L12 17.3l-5.8 3.1 1.2-6.5L2.6 9.4l6.5-.8z'/%3E%3C/svg%3E");
  display: inline-block;
  flex: none;
  width: 5.625em;
  height: 1em;
  background: var(--gold-500);
  -webkit-mask: var(--star) left center / 1.125em 1em repeat-x;
  mask: var(--star) left center / 1.125em 1em repeat-x;
}
.stars--lg { font-size: 1.35rem; }

/* Status de funcionamento */
.status { display: inline-flex; align-items: center; gap: .6rem; }
.status__dot {
  position: relative;
  flex: none;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--gold-500);
}
.status[data-state="open"] .status__dot { background: #2f9e5b; color: #2f9e5b; }
.status[data-state="closing"] .status__dot { background: #d68a1f; color: #d68a1f; }
.status[data-state="closed"] .status__dot { background: #c0424f; color: #c0424f; }
.status[data-state="open"] .status__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid currentColor;
  border-radius: 50%;
  opacity: 0;
  animation: ping 2.4s var(--ease-out) infinite;
}
@keyframes ping {
  0% { transform: scale(.5); opacity: .7; }
  80%, 100% { transform: scale(1.6); opacity: 0; }
}

/* ==========================================================================
   Cabeçalho
   ========================================================================== */
.site-header {
  --brand-fg: var(--wine-700);
  --brand-bg: var(--cream-100);
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: var(--wine-800);
  transition: color .35s;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  border-bottom: 1px solid var(--line);
  background: rgb(247 241 231 / .88);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  opacity: 0;
  transition: opacity .35s, background-color .35s, border-color .35s;
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header[data-tone="dark"] {
  --brand-fg: var(--cream-100);
  --brand-bg: var(--wine-900);
  color: var(--cream-100);
}
.site-header[data-tone="dark"]::before { background: rgb(43 8 17 / .82); border-bottom-color: var(--line-light); }

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.25rem);
  height: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  margin-right: auto;
  color: var(--brand-fg);
  text-decoration: none;
  transition: color .35s;
}
.brand__mono { width: auto; height: 2.05rem; overflow: visible; }
.brand__glyphs, .brand__face { fill: var(--brand-fg); transition: fill .35s; }
.brand__rim { fill: none; stroke: var(--brand-bg); stroke-width: 7; transition: stroke .35s; }
.brand__ticks { fill: none; stroke: var(--brand-bg); stroke-width: 13; stroke-linecap: round; transition: stroke .35s; }
.brand__hand {
  stroke: var(--brand-bg);
  stroke-linecap: round;
  transform-box: view-box;
  transform-origin: 955.5px 362px;
  transition: stroke .35s;
}
.brand__hand--h { stroke-width: 19; transform: rotate(-60deg); }
.brand__hand--m { stroke-width: 13; transform: rotate(48deg); }
.brand__pin { fill: var(--brand-bg); transition: fill .35s; }
.brand__word {
  padding: .3rem 0 .3rem .85rem;
  border-left: 1px solid currentColor;
  font-family: var(--mono);
  font-weight: 700;
  font-size: .75rem;
  line-height: 1;
  letter-spacing: .32em;
  text-transform: uppercase;
}

.site-nav__list { display: flex; gap: clamp(1rem, 2vw, 2rem); }
.site-nav__list a {
  position: relative;
  display: inline-block;
  padding-block: .5rem;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .01em;
  text-decoration: none;
  opacity: .82;
  transition: opacity .2s;
}
.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .2rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.site-nav__list a:hover { opacity: 1; }
.site-nav__list a:hover::after { transform: scaleX(1); transform-origin: left; }
.site-nav__extra { display: none; }

.site-header__cta { position: relative; z-index: 1; }
.site-header[data-tone="dark"] .site-header__cta { --btn-bg: var(--cream-100); --btn-fg: var(--wine-900); box-shadow: none; }

.menu-toggle { display: none; }

@media (max-width: 1023.98px) {
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2.5rem;
    padding: calc(var(--header-h) + 2rem) var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    overflow-y: auto;
    background: var(--wine-900);
    color: var(--cream-100);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease-out), visibility 0s .35s;
  }
  .menu-open .site-nav { opacity: 1; visibility: visible; transition: opacity .35s var(--ease-out); }
  .menu-open::before { opacity: 0 !important; }
  .site-header.menu-open { --brand-fg: var(--cream-100); --brand-bg: var(--wine-900); color: var(--cream-100); }

  .site-nav__list { flex-direction: column; gap: .15rem; }
  .site-nav__list a {
    font-family: var(--serif);
    font-size: clamp(2rem, 8.5vw, 2.8rem);
    line-height: 1.25;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
  }
  .site-nav__list a::after { display: none; }
  .menu-open .site-nav__list a { opacity: 1; transform: none; }
  .menu-open .site-nav__list li:nth-child(2) a { transition-delay: .04s; }
  .menu-open .site-nav__list li:nth-child(3) a { transition-delay: .08s; }
  .menu-open .site-nav__list li:nth-child(4) a { transition-delay: .12s; }
  .menu-open .site-nav__list li:nth-child(5) a { transition-delay: .16s; }

  .site-nav__extra {
    display: grid;
    gap: .6rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--line-light);
    font-size: .95rem;
    color: rgb(247 241 231 / .78);
  }
  .site-nav__extra .eyebrow { color: var(--gold-400); }
  .site-nav__extra .btn { justify-self: start; margin-top: .75rem; }

  .menu-toggle {
    position: relative;
    z-index: 1;
    display: inline-grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .menu-toggle__lines,
  .menu-toggle__lines::before,
  .menu-toggle__lines::after {
    display: block;
    width: 1.05rem;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .4s var(--ease-out), opacity .2s;
  }
  .menu-toggle__lines { position: relative; background: transparent; }
  .menu-toggle__lines::before,
  .menu-toggle__lines::after { content: ""; position: absolute; left: 0; }
  .menu-toggle__lines::before { transform: translateY(-3.5px); }
  .menu-toggle__lines::after { transform: translateY(3.5px); }
  .menu-open .menu-toggle__lines::before { transform: rotate(45deg); }
  .menu-open .menu-toggle__lines::after { transform: rotate(-45deg); }
}

@media (max-width: 639.98px) {
  .site-header__cta { display: none; }
  .brand__word { display: none; }
}

/* ==========================================================================
   Herói + relógio
   ========================================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 55% 60% at 74% 48%, rgb(201 169 110 / .2), transparent 70%),
    var(--cream-100);
}
.hero__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100lvh;
  overflow: hidden;
}
.hero__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  align-content: center;
  gap: clamp(2.5rem, 6vh, 3.5rem);
  padding-top: calc(var(--header-h) + clamp(1.75rem, 5vh, 3.5rem));
  padding-bottom: clamp(4rem, 10vh, 6rem);
}
@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
    padding-bottom: clamp(3rem, 8vh, 5rem);
  }
}

.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 1.4rem + 4.3vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.022em;
  color: var(--wine-800);
}
.hero__kicker { display: flex; margin-bottom: 1.4rem; letter-spacing: .24em; }
@media (max-width: 479.98px) {
  .hero__kicker { letter-spacing: .15em; gap: .6rem; }
  .hero__kicker::before { width: 1.25rem; }
}
.hero__line { display: block; }
.hero__title em { color: var(--wine-600); }

.hero__lead {
  max-width: 33rem;
  margin-top: 1.6rem;
  font-size: clamp(1.02rem, .96rem + .3vw, 1.18rem);
  color: var(--ink-soft);
  text-wrap: pretty;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem 1.6rem;
  margin-top: 1.8rem;
  font-size: .875rem;
  color: var(--ink-soft);
}
.rating-chip { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.rating-chip strong { color: var(--wine-800); font-weight: 700; }
.rating-chip:hover span:last-child { text-decoration: underline; text-underline-offset: .2em; }

.hero__watch { position: relative; display: grid; place-items: center; }

/* Dica de rolagem */
.hero__hint { display: none; }

/* Relógio */
.watch {
  --size: min(74vw, 44vh, 21rem);
  position: relative;
  width: var(--size);
  aspect-ratio: 1;
  border-radius: 50%;
}
@supports (height: 1svh) {
  .watch { --size: min(74vw, 44svh, 21rem); }
}
@media (min-width: 1024px) {
  .watch { --size: min(37vw, 64vh, 34rem); }
}
.watch::before {
  content: "";
  position: absolute;
  inset: -32%;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 1.35rem, rgb(90 15 34 / .07) 1.35rem calc(1.35rem + 1px));
  -webkit-mask: radial-gradient(closest-side, #000 52%, transparent);
  mask: radial-gradient(closest-side, #000 52%, transparent);
  pointer-events: none;
}
.watch > * { position: absolute; border-radius: 50%; }
.watch__shadow {
  inset: 0;
  box-shadow: 0 2.4rem 4.2rem -1.6rem rgb(43 8 17 / .55), 0 1rem 1.8rem -.7rem rgb(43 8 17 / .35);
}
.watch__crown {
  top: 50%;
  right: -3.6%;
  width: 6.6%;
  height: 15%;
  border-radius: 22% 42% 42% 22% / 14%;
  transform: translateY(-50%);
  background:
    linear-gradient(90deg, rgb(0 0 0 / .25), transparent 30%, transparent 70%, rgb(0 0 0 / .3)),
    repeating-linear-gradient(180deg, #7b5c30 0 2px, #f0dcae 2px 4px);
  box-shadow: 0 2px 5px rgb(0 0 0 / .3);
}
.watch__case {
  inset: 0;
  background:
    radial-gradient(closest-side, transparent 86%, rgb(0 0 0 / .5) 86.8%, transparent 88.6%, rgb(255 250 235 / .45) 90.2%, transparent 92.4%, transparent 96.6%, rgb(0 0 0 / .32) 100%),
    conic-gradient(from 215deg, #6c4f27, #f6e3b4 10%, #a9864a 22%, #fbefcf 33%, #8a6834 46%, #d9bb80 58%, #6a4b22 70%, #efd9a6 82%, #8f6d3a 92%, #6c4f27);
  -webkit-mask: radial-gradient(closest-side, transparent 86.1%, #000 86.6%);
  mask: radial-gradient(closest-side, transparent 86.1%, #000 86.6%);
}
.watch__dial {
  inset: 6.9%;
  background:
    conic-gradient(from 210deg, transparent 0deg, rgb(255 222 200 / .17) 40deg, transparent 100deg, transparent 180deg, rgb(255 222 200 / .12) 222deg, transparent 280deg),
    repeating-conic-gradient(rgb(255 255 255 / .03) 0deg 1deg, rgb(0 0 0 / .05) 1deg 2deg),
    radial-gradient(circle at 50% 42%, #8d1b33 0%, #6b1427 42%, #4a0b1a 78%, #33060f 100%);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / .45), inset 0 .6rem 1.4rem rgb(0 0 0 / .35);
}
.watch__marks,
.watch__hand,
.watch__glass {
  top: 6.9%;
  left: 6.9%;
  width: 86.2%;
  height: 86.2%;
}
.watch__marks { overflow: visible; }
.watch__marks .w-rehaut,
.watch__marks .w-brand,
.watch__marks .w-small,
.watch__marks .w-date { font-family: var(--mono); font-weight: 700; }
.watch__marks .w-script { font-family: var(--serif); font-style: italic; }

.watch__hand { will-change: transform; }
.watch__hand svg { width: 100%; height: 100%; overflow: visible; }
.watch__hand--h { transform: rotate(305deg); filter: drop-shadow(0 .3rem .25rem rgb(0 0 0 / .35)); }
.watch__hand--m { transform: rotate(60deg); filter: drop-shadow(0 .4rem .3rem rgb(0 0 0 / .35)); }
.watch__hand--s { transform: rotate(210deg); filter: drop-shadow(0 .45rem .3rem rgb(0 0 0 / .4)); }
.hf-l { fill: #f8e9c4; }
.hf-r { fill: #b38d52; }
.hf-hub { fill: #d9bb80; }
.hs { fill: #f6efe2; }
.hs-in { fill: #7a1426; }
.watch__glass {
  pointer-events: none;
  background:
    linear-gradient(140deg, rgb(255 255 255 / .17) 0%, rgb(255 255 255 / .05) 30%, transparent 46%),
    radial-gradient(circle at 72% 86%, rgb(255 255 255 / .07), transparent 38%);
}

/* Revelação (por dentro da oficina) */
.hero__reveal {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--wine-950);
  color: var(--cream-100);
}
.hero__reveal picture { width: 100%; }
.hero__reveal-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 767.98px) {
  .hero__reveal-img { aspect-ratio: 3 / 4; }
}
.hero__reveal::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(28 4 10 / .82) 0%, rgb(28 4 10 / .5) 42%, rgb(28 4 10 / .08) 78%),
    linear-gradient(180deg, rgb(28 4 10 / .25) 0%, rgb(28 4 10 / 0) 30%, rgb(28 4 10 / .8) 100%);
  opacity: var(--veil, 1);
  pointer-events: none;
}
@media (max-width: 767.98px) {
  .hero__reveal::after {
    background: linear-gradient(180deg, rgb(28 4 10 / .25) 0%, rgb(28 4 10 / .35) 35%, rgb(28 4 10 / .93) 100%);
  }
}
.hero__reveal-text {
  position: absolute;
  z-index: 1;
  left: 0; right: 0;
  bottom: clamp(2rem, 8vh, 5rem);
}
.hero__reveal .eyebrow { color: var(--gold-300); }
.hero__reveal-title {
  max-width: 17ch;
  margin-top: 1rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 1.25rem + 2.8vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -.015em;
  color: var(--cream-50);
  text-wrap: balance;
}
.hero__reveal-title em { color: var(--gold-300); }
.hero__reveal-text p:last-child {
  max-width: 36rem;
  margin-top: 1.25rem;
  color: rgb(247 241 231 / .85);
  text-wrap: pretty;
}

/* Cena com rolagem (somente com JS e sem "reduzir movimento") */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__track { height: calc(var(--stage-h, 100lvh) + var(--scroll-len, 160lvh)); }
  .js .hero__stage { position: sticky; top: min(0px, calc(100lvh - var(--stage-h, 100lvh))); }
  .js .hero__content,
  .js .watch { will-change: transform, opacity; }
  .js .watch__dial { will-change: opacity; }
  .js .hero.is-past .hero__inner { pointer-events: none; }

  .js .hero__reveal {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 100vh;
    height: 100lvh;
    background: transparent;
    clip-path: circle(0px at 50% 50%);
  }
  .js .hero__reveal picture { position: absolute; inset: 0; }
  .js .hero__reveal-img { width: 100%; height: 100%; aspect-ratio: auto; }
  .js .hero__reveal-text { bottom: max(14vh, 6rem); opacity: 0; }
  .js .hero__inner { padding-bottom: clamp(6.5rem, 14vh, 8.5rem); }

  .js .hero__hint {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: calc(1.1rem + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    transform: translateX(-50%);
    font-family: var(--mono);
    font-weight: 700;
    font-size: .75rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--wine-700);
    white-space: nowrap;
  }
  .js .hero__hint::after {
    content: "";
    width: 1px;
    height: 2.4rem;
    background: linear-gradient(var(--wine-700), transparent);
    transform-origin: top;
    animation: hint 2.4s var(--ease-in-out) infinite;
  }
}
@keyframes hint {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==========================================================================
   Seções
   ========================================================================== */
.section { position: relative; padding-block: clamp(5.5rem, 3rem + 7vw, 9rem); }

.section-head { display: grid; gap: 1.25rem; }
.section-head .section-title { margin-top: 1.1rem; }
.section-head--split { gap: 1.5rem 3rem; }
@media (min-width: 1024px) {
  .section-head--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; }
  .section-head--split .section-lead { padding-bottom: .5rem; }
}
.section-head--center { justify-items: center; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 1.75rem; height: 1px; background: currentColor; opacity: .7; }

/* ---------- Serviços ---------- */
.services { background: var(--cream-50); }
.services__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.services__dial { display: none; }
@media (min-width: 1024px) {
  .services__grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: clamp(3rem, 6vw, 6rem);
  }
  .services__dial { display: block; position: sticky; top: calc(var(--header-h) + 3.5rem); }
}
.svc-dial { position: relative; width: min(100%, 27rem); aspect-ratio: 1; margin-inline: auto; }
.svc-dial svg { width: 100%; height: 100%; overflow: visible; }
.sd-case { fill: var(--cream-100); stroke: var(--wine-700); stroke-width: 1.4; }
.sd-track { fill: none; stroke: var(--wine-700); stroke-width: 7; opacity: .4; }
.sd-track--5 { stroke-width: 12; opacity: .85; }
.sd-ring { fill: none; stroke: var(--wine-700); stroke-width: .8; opacity: .35; }
.sd-ring--in { stroke-dasharray: 2 5; }
.sd-num {
  font-family: var(--serif);
  font-size: 25px;
  fill: var(--wine-800);
  opacity: .38;
  transition: opacity .45s, fill .45s;
}
.sd-num.is-active { opacity: 1; fill: var(--wine-600); }
.sd-hand {
  fill: var(--wine-700);
  stroke: var(--wine-700);
  transform-box: view-box;
  transform-origin: 200px 200px;
  transform: rotate(30deg);
  transition: transform .85s cubic-bezier(.34, 1.4, .64, 1);
}
.sd-hand__tail { fill: none; stroke-width: 5; stroke-linecap: round; }
.sd-hand__shaft { fill: none; stroke-width: 3; }
.sd-hand__moon { fill: none; stroke-width: 3; }
.sd-hand__pin { fill: var(--gold-400); stroke: none; }
.svc-dial__caption {
  margin-top: 1.4rem;
  text-align: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--wine-600);
}

.svc-list { border-top: 1px solid var(--line); }
.svc {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.55rem 0;
  border-bottom: 1px solid var(--line);
}
.svc__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.45;
  color: var(--gold-600);
  transition: color .35s;
}
.svc__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.35rem, 1.15rem + .6vw, 1.7rem);
  line-height: 1.2;
  color: var(--wine-800);
  transition: color .35s;
}
.svc__body p { max-width: 34rem; margin-top: .4rem; font-size: 1rem; color: var(--ink-soft); }
.svc.is-active .svc__num,
.svc.is-active .svc__title { color: var(--wine-600); }
@media (min-width: 1024px) {
  .svc { padding: 1.85rem 0; }
}
.services__more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1rem;
  margin-top: 2.75rem;
  color: var(--ink-soft);
}

/* ---------- Como funciona ---------- */
.steps { background: var(--cream-200); }
.steps__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 2.25rem 2rem;
  margin-top: clamp(2.75rem, 5vw, 4.25rem);
}
@media (min-width: 1024px) {
  .steps__list::before {
    content: "";
    position: absolute;
    top: 1.75rem;
    left: 3.5rem;
    right: 0;
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--wine-700) 0 4px, transparent 4px 10px);
    opacity: .3;
  }
}
.step { position: relative; }
.step__dial { width: 3.5rem; height: 3.5rem; margin-bottom: 1.25rem; }
.step__ring { fill: var(--cream-50); stroke: var(--wine-700); stroke-width: 1.5; }
.step__wedge { fill: var(--gold-300); opacity: .75; }
.step__hand { fill: none; stroke: var(--wine-700); stroke-width: 2.4; stroke-linecap: round; }
.step__pin { fill: var(--wine-700); }
.step__title { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; line-height: 1.25; color: var(--wine-800); }
.step p { margin-top: .5rem; font-size: 1rem; color: var(--ink-soft); }

/* ---------- A oficina ---------- */
.about {
  overflow: clip;
  background:
    repeating-radial-gradient(circle at 88% 18%, transparent 0 2.4rem, rgb(201 169 110 / .045) 2.4rem calc(2.4rem + 1px)),
    var(--wine-900);
  color: rgb(247 241 231 / .84);
}
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(3.5rem, 7vw, 5.5rem); align-items: center; }
@media (min-width: 1024px) {
  .about__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.about__copy { display: grid; gap: 1.1rem; max-width: 36rem; margin-top: 1.75rem; font-size: 1.06rem; }
.about__copy strong { color: var(--cream-50); }
.about__quote {
  max-width: 32rem;
  margin-top: 2.25rem;
  padding-left: 1.5rem;
  border-left: 1px solid var(--gold-500);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.1rem + .7vw, 1.65rem);
  line-height: 1.35;
  color: var(--cream-50);
}
.about__quote em { color: var(--gold-300); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 1.5rem clamp(1.5rem, 5vw, 3.75rem);
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-light);
}
.stat { display: flex; flex-direction: column-reverse; gap: .45rem; }
.stat dt {
  font-family: var(--mono);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.stat dd {
  display: flex;
  align-items: flex-start;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 1.7rem + 2vw, 3.6rem);
  line-height: 1;
  color: var(--cream-50);
}
.roll { display: inline-flex; }
.roll__d { display: inline-block; height: 1em; overflow: hidden; line-height: 1; }
.roll__d::before {
  content: "0\A 1\A 2\A 3\A 4\A 5\A 6\A 7\A 8\A 9";
  display: block;
  white-space: pre;
  text-align: center;
  transition: transform 1.9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 140ms + 200ms);
}
.is-in .roll__d[data-d="1"]::before { transform: translateY(-1em); }
.is-in .roll__d[data-d="2"]::before { transform: translateY(-2em); }
.is-in .roll__d[data-d="3"]::before { transform: translateY(-3em); }
.is-in .roll__d[data-d="4"]::before { transform: translateY(-4em); }
.is-in .roll__d[data-d="5"]::before { transform: translateY(-5em); }
.is-in .roll__d[data-d="6"]::before { transform: translateY(-6em); }
.is-in .roll__d[data-d="7"]::before { transform: translateY(-7em); }
.is-in .roll__d[data-d="8"]::before { transform: translateY(-8em); }
.is-in .roll__d[data-d="9"]::before { transform: translateY(-9em); }

.about__media {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  padding-bottom: 12%;
}
.about__photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--wine-800);
  isolation: isolate;
}
.about__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.about__photo--main { grid-column: 1 / 10; grid-row: 1; }
.about__photo--main figcaption {
  top: 0;
  bottom: auto;
  padding: .95rem 1rem 2.75rem;
  background: linear-gradient(rgb(28 4 10 / .7), transparent);
}
.about__photo--side {
  grid-column: 7 / 13;
  grid-row: 1;
  z-index: 1;
  margin-bottom: -16%;
  box-shadow: 0 0 0 .4rem var(--wine-900), 0 1.5rem 3rem -1rem rgb(0 0 0 / .5);
}
.about__photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.5rem 1rem .95rem;
  background: linear-gradient(transparent, rgb(28 4 10 / .72));
  text-wrap: balance;
  font-family: var(--mono);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream-50);
}

/* ---------- Galeria ---------- */
.gallery { background: var(--cream-100); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(.6rem, 1.4vw, 1.1rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 1024px) {
  .gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.g-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 1rem;
  background: var(--cream-300);
}
.g-item--wide { grid-column: span 2; aspect-ratio: 3 / 2; }
.g-item figure,
.g-item__btn,
.g-item picture,
.g-item img { width: 100%; height: 100%; }
.g-item__btn { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; }
.g-item img { object-fit: cover; }
.g-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.5rem 1rem .9rem;
  background: linear-gradient(transparent, rgb(28 4 10 / .7));
  font-family: var(--mono);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream-50);
  pointer-events: none;
}
.g-item--cta { background: var(--wine-700); color: var(--cream-100); transition: background-color .3s; }
.g-item--cta:hover { background: var(--wine-600); }
.g-item--cta a {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: .45rem;
  height: 100%;
  padding: clamp(1.25rem, 3vw, 2rem);
  text-decoration: none;
}
.g-item--cta .icon { width: 2.2rem; height: 2.2rem; margin-bottom: auto; color: var(--gold-300); }
.g-item--cta span { font-size: .95rem; color: rgb(247 241 231 / .8); }
.g-item--cta strong { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem); }
@media (max-width: 1023.98px) {
  .g-item--cta { grid-column: span 2; aspect-ratio: auto; min-height: 11rem; }
}
@media (min-width: 1024px) {
  .g-item--wide,
  .g-item--cta { aspect-ratio: auto; }
}

.hint-touch { display: none; }
@media (hover: none), (pointer: coarse) {
  .hint-fine { display: none; }
  .hint-touch { display: inline; }
}

/* Lupa de relojoeiro */
.loupe {
  position: fixed;
  left: 0; top: 0;
  z-index: 60;
  width: 11rem;
  height: 11rem;
  margin: -5.5rem 0 0 -5.5rem;
  pointer-events: none;
  will-change: transform;
}
.loupe__glass {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--cream-200);
  background-repeat: no-repeat;
  box-shadow:
    0 0 0 3px #f6e4b8,
    0 0 0 9px #a5824a,
    0 0 0 10px rgb(0 0 0 / .35),
    0 1.6rem 3rem -.6rem rgb(28 4 10 / .65),
    inset 0 0 1.6rem rgb(0 0 0 / .4);
  opacity: 0;
  transform: scale(.55);
  transition: opacity .25s, transform .35s var(--ease-out);
}
.loupe__glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 24%, rgb(255 255 255 / .32), rgb(255 255 255 / 0) 42%);
}
.loupe.is-on .loupe__glass { opacity: 1; transform: scale(1); }
.has-loupe .g-item__btn { cursor: none; }

/* Foto ampliada */
.lightbox {
  max-width: min(94vw, 70rem);
  max-height: 94vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.lightbox::backdrop { background: rgb(28 4 10 / .9); }
.lightbox[open] { animation: lb-in .35s var(--ease-out); }
.lightbox__figure img {
  width: auto;
  height: auto;
  max-width: min(94vw, 70rem);
  max-height: 82vh;
  border-radius: .75rem;
}
.lightbox figcaption {
  margin-top: .9rem;
  text-align: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cream-100);
}
.lightbox__close { position: fixed; top: 1rem; right: 1rem; }
@keyframes lb-in { from { opacity: 0; transform: scale(.97); } }

/* ---------- Avaliações ---------- */
.reviews { overflow: clip; background: var(--cream-200); }
.reviews__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
@media (min-width: 1024px) {
  .reviews__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(3rem, 5vw, 5rem); }
}
.score { display: flex; align-items: center; gap: 1.1rem; margin-top: 2rem; }
.score__num { font-family: var(--serif); font-size: clamp(4.5rem, 3rem + 5vw, 7rem); line-height: .9; color: var(--wine-700); }
.score__meta { display: grid; gap: .4rem; font-size: .95rem; color: var(--ink-soft); }
.reviews__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.reviews__track {
  display: flex;
  gap: 1rem;
  margin: 0 calc(var(--gutter) * -1);
  padding: .75rem var(--gutter) 1.75rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.reviews__track::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) {
  .reviews__track {
    --bleed: calc((100vw - min(100vw, var(--maxw) + var(--gutter) * 2)) / 2 + var(--gutter));
    margin: 0 calc(var(--bleed) * -1) 0 0;
    padding-left: .25rem;
    padding-right: var(--bleed);
    scroll-padding-inline: .25rem;
  }
}
.review { flex: 0 0 min(84%, 21.5rem); scroll-snap-align: start; }
.review figure {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  padding: 2.1rem 1.75rem 1.6rem;
  border-radius: 1.1rem;
  background: var(--cream-50);
  box-shadow: var(--shadow-soft);
}
.review figure::before {
  content: "";
  position: absolute;
  top: 1.15rem;
  right: 1.25rem;
  width: .75rem;
  height: .75rem;
  border-radius: 50%;
  background: var(--cream-200);
  box-shadow: inset 0 1px 2px rgb(0 0 0 / .28);
}
.review__tag {
  font-family: var(--mono);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .14em;
  color: var(--gold-600);
}
.review blockquote {
  flex: 1;
  margin: 0;
  font-family: var(--serif);
  font-size: 1.16rem;
  line-height: 1.45;
  color: var(--wine-900);
}
.review figcaption { padding-top: 1rem; border-top: 1px dashed var(--line); font-size: .85rem; color: var(--ink-soft); }
.review figcaption strong { color: var(--wine-800); }
.reviews__nav { display: flex; gap: .5rem; }

/* ---------- Dúvidas ---------- */
.faq { background: var(--cream-50); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 1024px) {
  .faq__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: 5rem; }
  .faq .section-head { position: sticky; top: calc(var(--header-h) + 2.5rem); }
}
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem);
  line-height: 1.3;
  color: var(--wine-800);
  transition: color .25s;
}
.faq__item summary:hover h3 { color: var(--wine-600); }
.faq__icon {
  position: relative;
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform .55s var(--ease-out), background-color .3s, border-color .3s;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: .8rem;
  height: 1.5px;
  background: var(--wine-700);
  transform: translate(-50%, -50%);
  transition: transform .45s var(--ease-out), background-color .3s;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { transform: rotate(180deg); background: var(--wine-700); border-color: var(--wine-700); }
.faq__item[open] .faq__icon::before,
.faq__item[open] .faq__icon::after { background: var(--cream-50); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__answer { padding: 0 3.5rem 1.6rem 0; color: var(--ink-soft); }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq__item::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size .45s var(--ease-out), content-visibility .45s allow-discrete;
  }
  .faq__item[open]::details-content { block-size: auto; }
}

/* ---------- Como chegar ---------- */
.visit { background: var(--cream-100); }
.visit__stage { position: relative; margin-top: clamp(2.5rem, 5vw, 4rem); }

/* Mapa (ruas reais do OpenStreetMap, desenhadas nas cores da marca) */
.map {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: clamp(23rem, 105vw, 27rem);
  margin-inline: calc(var(--gutter) * -1);
  background: #2a0710;
}
@media (min-width: 768px) {
  .map { height: 30rem; margin-inline: 0; border-radius: var(--radius); }
}
@media (min-width: 1024px) {
  .map {
    height: clamp(36rem, 74vh, 42rem);
    box-shadow: 0 2rem 4rem -2rem rgb(43 8 17 / .55);
  }
}
.map__frame { position: absolute; inset: 0; }
.map__art { position: absolute; top: 0; left: 0; width: 100%; max-width: none; height: 100%; }
@media (min-width: 1024px) {
  /* Maior que o painel e alinhado ao topo/esquerda: a loja fica a 60% × 62%, fora do cartão */
  .map__art { width: 120%; height: 124%; }
}
.map__frame iframe { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; border: 0; background: #e8e4dc; }
@media (min-width: 1024px) {
  /* Mapa do Google à direita do cartão, para a ficha da loja (canto superior esquerdo) ficar visível */
  .map__frame iframe { left: calc(min(26rem, 40%) + 3rem); width: calc(100% - min(26rem, 40%) - 3rem); }
}

.map__bg { fill: #2a0710; }
.map__park { fill: #401c1c; }
.map__worship { fill: #6f5235; }
.map__road { fill: none; }
.map__road--major { stroke: #7c6058; stroke-width: 15; }
.map__road--mid { stroke: #694b47; stroke-width: 11; }
.map__road--minor { stroke: #5a3a39; stroke-width: 8; }
.map__road--ped { stroke: #7d5b3b; stroke-width: 8; }
.map__road--service { stroke: #3e1c21; stroke-width: 4; }
.map__road--path { stroke: #4b2a2c; stroke-width: 2; stroke-dasharray: 5 6; }
.map__street {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .12em;
  fill: rgb(247 241 231 / .6);
  paint-order: stroke;
  stroke: #2a0710;
  stroke-width: 3px;
  stroke-linejoin: round;
}
.map__landmark circle { fill: var(--gold-300); stroke: #2a0710; stroke-width: 2; }
.map__landmark text {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  fill: rgb(247 241 231 / .88);
  paint-order: stroke;
  stroke: #2a0710;
  stroke-width: 3px;
}
@media (min-width: 1024px) {
  .map__street--m { display: none; }
}
@media (max-width: 1023.98px) {
  .map__road--major { stroke-width: 22; }
  .map__road--mid { stroke-width: 16; }
  .map__road--minor,
  .map__road--ped { stroke-width: 12; }
  .map__road--service { stroke-width: 6; }
  .map__road--path { stroke-width: 3; }
  .map__street { font-size: 22px; stroke-width: 5px; }
  .map__street--d,
  .map__landmark--minor { display: none; }
  .map__landmark { transform: scale(1.9); }
}

/* Marcador da loja (HTML sobre o mapa: animação só com transform/opacity) */
.map__marker { position: absolute; left: 50%; top: 50%; z-index: 1; width: 0; height: 0; pointer-events: none; }
@media (min-width: 1024px) {
  .map__marker { left: 60%; top: 62%; }
}
.map__marker::before {
  content: "";
  position: absolute;
  left: -.65rem;
  top: -.28rem;
  width: 1.3rem;
  height: .56rem;
  border-radius: 50%;
  background: rgb(0 0 0 / .5);
  filter: blur(2px);
}
.map__pulse {
  position: absolute;
  left: -2.3rem;
  top: -.8rem;
  width: 4.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: rgb(220 195 154 / .6);
  opacity: 0;
}
.map.is-in .map__pulse { animation: map-pulse 2.6s var(--ease-out) .4s infinite; }
@keyframes map-pulse {
  0% { opacity: .9; transform: scale(.15); }
  100% { opacity: 0; transform: scale(1.7); }
}
.map__pin {
  position: absolute;
  left: -1.7rem;
  top: -4.1rem;
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50% 50% 50% 0;
  background: linear-gradient(135deg, #f6e4b8, #b8945a 70%);
  box-shadow: 0 .7rem 1.3rem -.3rem rgb(0 0 0 / .5), inset 0 0 0 1.5px rgb(255 255 255 / .35);
  transform: rotate(-45deg);
}
.map__pin::before {
  content: "";
  position: absolute;
  inset: .3rem;
  border-radius: 50%;
  background: var(--wine-700);
}
.map__pin-mono { position: relative; width: 1.7rem; height: auto; fill: var(--cream-100); transform: rotate(45deg); }
.map__tag {
  position: absolute;
  left: 0;
  bottom: 5.4rem;
  display: grid;
  gap: .05rem;
  padding: .5rem .95rem .6rem;
  border-radius: .8rem;
  background: var(--cream-50);
  color: var(--wine-800);
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 .9rem 1.8rem -.7rem rgb(0 0 0 / .55);
  transform: translateX(-50%);
}
.map__tag::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -.35rem;
  width: .75rem;
  height: .75rem;
  border-radius: 2px;
  background: inherit;
  transform: translateX(-50%) rotate(45deg);
}
.map__tag strong { font-family: var(--serif); font-weight: 500; font-size: 1.05rem; line-height: 1.2; }
.map__tag span { font-size: .75rem; color: var(--ink-soft); }
@media (max-width: 1023.98px) {
  .map__tag { display: none; }
}

.map__ui {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .5rem;
  max-width: calc(100% - 2rem);
}
.map__btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 2.6rem;
  padding: .45rem 1rem;
  border: 0;
  border-radius: 999px;
  background: rgb(253 250 245 / .95);
  color: var(--wine-800);
  font: 600 .84rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 .45rem 1.1rem -.35rem rgb(0 0 0 / .45);
  -webkit-tap-highlight-color: transparent;
  transition: background-color .2s, transform .3s var(--ease-out);
}
.map__btn:hover { background: #fff; transform: translateY(-1px); }
.map__btn .icon { width: 1rem; height: 1rem; }
.map__credit {
  position: absolute;
  right: .8rem;
  bottom: .55rem;
  z-index: 3;
  font-size: .75rem;
  color: rgb(247 241 231 / .62);
}
.map__credit a { color: inherit; }
@media (max-width: 1023.98px) {
  .map__credit { bottom: auto; top: 1.1rem; left: 1rem; right: auto; }
  .map__ui { top: auto; bottom: 4.6rem; right: 1rem; }
}
.map.is-live [data-map-load],
.map.is-live .map__marker,
.map.is-live .map__credit { display: none; }

/* Cartão com endereço, ações e horário */
.visit__card {
  position: relative;
  z-index: 4;
  margin: -3.75rem .25rem 0;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--radius);
  background: var(--cream-50);
  box-shadow: 0 1.5rem 3.5rem -1.5rem rgb(43 8 17 / .45), 0 0 0 1px var(--line);
}
@media (min-width: 768px) {
  .visit__card { margin: -4.5rem 2rem 0; }
}
@media (min-width: 1024px) {
  .visit__card {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: min(26rem, 40%);
    max-height: calc(100% - 3rem);
    margin: 0;
    overflow: auto;
  }
}
.visit__head { display: grid; grid-template-columns: 5.25rem minmax(0, 1fr); gap: 1.1rem; align-items: start; }
.visit__thumb { display: block; overflow: hidden; aspect-ratio: 3 / 4; border-radius: .75rem; background: var(--wine-700); }
.visit__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 6%; }
.visit__name { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.15; color: var(--wine-800); }
.visit__address { margin-top: .35rem; font-size: .98rem; line-height: 1.5; color: var(--ink); }
.visit__ref { margin-top: .45rem; font-size: .85rem; line-height: 1.45; color: var(--ink-soft); }
.visit__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin-top: 1.3rem; }
.visit__actions .btn { min-height: 3rem; padding-inline: .9rem; }
.visit__call { margin-top: .8rem; text-align: center; font-size: .92rem; color: var(--ink-soft); }
.visit__call a { color: var(--wine-700); font-weight: 700; text-decoration: none; }
.visit__call a:hover { text-decoration: underline; text-underline-offset: .2em; }

.hours { margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.hours__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-bottom: .3rem; }
.hours__title {
  font-family: var(--mono);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--wine-600);
}
.hours .status { font-size: .82rem; color: var(--ink-soft); }
.hours__table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours__table th,
.hours__table td { padding: .5rem 0; border-bottom: 1px dashed var(--line); font-weight: 400; text-align: left; color: var(--ink-soft); }
.hours__table td { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.hours__table tr:last-child th,
.hours__table tr:last-child td { border-bottom: 0; }
.hours__table tr.is-today th,
.hours__table tr.is-today td { color: var(--wine-700); font-weight: 700; }
.hours__table tr.is-today th::after {
  content: "hoje";
  margin-left: .55rem;
  padding: .08rem .45rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  vertical-align: .12em;
}
.hours__note { margin-top: .55rem; font-size: .78rem; color: var(--ink-soft); }

/* ---------- Rodapé ---------- */
.site-footer {
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  background: var(--wine-950);
  color: rgb(247 241 231 / .72);
  font-size: .95rem;
}
.footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); }
}
.footer__logo { width: 8.25rem; height: auto; fill: var(--cream-100); }
.footer__clock { stroke: var(--wine-950); }
.footer__brand p { max-width: 18rem; margin-top: 1.4rem; }
.footer__title {
  margin-bottom: .9rem;
  font-family: var(--mono);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.footer__col address,
.footer__col p { color: rgb(247 241 231 / .78); }
.footer__col .link-arrow { margin-top: .9rem; color: var(--gold-300); }
.footer__links { display: grid; gap: .65rem; }
.footer__links a { display: inline-flex; align-items: center; gap: .6rem; color: var(--cream-100); text-decoration: none; }
.footer__links a:hover { text-decoration: underline; text-underline-offset: .25em; }
.footer__links .icon { width: 1.1rem; height: 1.1rem; color: var(--gold-400); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  margin-top: clamp(3rem, 5vw, 4.5rem);
  padding-block: 1.5rem calc(1.5rem + env(safe-area-inset-bottom));
  font-size: .82rem;
}
.footer__bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: var(--line-light);
}
.to-top { display: inline-flex; align-items: center; gap: .5rem; color: var(--cream-100); text-decoration: none; }
.to-top:hover { text-decoration: underline; text-underline-offset: .25em; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  height: 3.5rem;
  padding: 0 1.2rem 0 1rem;
  border-radius: 999px;
  background: var(--wa);
  color: var(--wa-ink);
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  box-shadow: 0 14px 30px -12px rgb(7 48 26 / .6), 0 2px 6px rgb(0 0 0 / .12);
  transition: transform .55s var(--ease-out), opacity .3s, background-color .2s;
}
.wa-float:hover { background: #3ee07b; }
.wa-float .icon { width: 1.6rem; height: 1.6rem; }
.js .wa-float { opacity: 0; transform: translateY(calc(100% + 2rem)); pointer-events: none; }
.js .wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 479.98px) {
  .wa-float { width: 3.5rem; padding: 0; justify-content: center; }
  .wa-float__label { display: none; }
}

/* ==========================================================================
   Animações de entrada (respeitam "reduzir movimento")
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 1.75rem, 0);
    transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out);
    transition-delay: var(--d, 0ms);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  .gallery__grid .g-item:nth-child(3n + 2),
  .steps__list .step:nth-child(2) { --d: 90ms; }
  .gallery__grid .g-item:nth-child(3n + 3),
  .steps__list .step:nth-child(3) { --d: 180ms; }
  .steps__list .step:nth-child(4) { --d: 270ms; }

  /* Varredura de ponteiro: a foto aparece como um ponteiro dando a volta no mostrador */
  .js [data-sweep] {
    -webkit-mask-image: conic-gradient(#000 calc(var(--sweep) - 12deg), transparent var(--sweep));
    mask-image: conic-gradient(#000 calc(var(--sweep) - 12deg), transparent var(--sweep));
    transition: --sweep 1.7s var(--ease-in-out);
  }
  .js [data-sweep].is-in { --sweep: 372deg; }
  .js [data-sweep].is-done { -webkit-mask-image: none; mask-image: none; }
  .js [data-sweep]::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 50%;
    z-index: 2;
    width: 2px;
    height: 90%;
    margin-left: -1px;
    background: linear-gradient(to top, var(--gold-300), rgb(220 195 154 / 0));
    transform-origin: 50% 100%;
    transform: rotate(var(--sweep));
    opacity: 1;
    pointer-events: none;
    transition: opacity .6s;
  }
  .js [data-sweep].is-done::after { opacity: 0; }
}
