/* =========================================================
   Sr. Wilson | Barbearia & Import's
   Identidade tirada do logo: preto, amarelo forte e filetes
   brancos de ponta arredondada. O xadrez vem do piso da casa.
   ========================================================= */

:root {
  --ink: #231f20;          /* mesmo preto do fundo do logo */
  --ink-2: #2b2627;
  --ink-3: #3b3536;
  --paper: #f3f1ec;
  --text: #e8e4dd;
  --muted: #aaa39a;
  --yellow: #ffe600;
  --rule: #f3f1ec;

  --f-display: "Poiret One", "Josefin Sans", sans-serif;
  --f-body: "Archivo", "Helvetica Neue", sans-serif;

  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.88rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.1rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.55rem, 1.25rem + 1.3vw, 2.25rem);
  --step-4: clamp(2.5rem, 1.7rem + 3.6vw, 4.6rem);
  --step-6: clamp(4.2rem, 2.2rem + 9vw, 9.5rem);

  --gutter: 1.25rem;
  /* Medidas de layout em rem: crescem junto com o tamanho base em telas 2K/4K (ver html) */
  --max: 70rem;            /* coluna do conteúdo: 1120px em telas até Full HD */
  --wrap: min(var(--max), 100% - var(--gutter) * 2);
  --radius: 4px;
  --line: 0.1875rem;       /* espessura dos filetes do logo (3px no tamanho base) */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: dark; /* barras de rolagem e controles nativos no tema escuro */
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

/* Escala para telas grandes: até 1920px (Full HD) o tamanho base é o padrão do navegador (16px).
   Acima disso cresce com a largura: ~19px em 2560 (2K/QHD) e ~26px em 3840 (4K).
   Como quase tudo é medido em rem, o site inteiro aumenta na mesma proporção. */
html {
  font-size: clamp(1rem, 0.5vw + 0.4rem, 1.625rem);
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip; /* não cria área de rolagem própria (onde o navegador suporta) */
}

/* Granulado leve por cima de tudo, para tirar o "chapado" do preto */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1rem; text-wrap: pretty; }

/* Toque: sem atraso de duplo toque e sem o "flash" azul; o feedback vem dos estados :active/:hover */
a, button, summary {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.nowrap { white-space: nowrap; }

.wrap { width: var(--wrap); margin-inline: auto; }

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

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--yellow); color: var(--ink);
  padding: 0.6rem 1rem; font-weight: 800; text-decoration: none;
  border-radius: var(--radius);
}
.skip:focus { top: 1rem; }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

/* ---------- Tipografia ---------- */

h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--step-4);
  line-height: 1.04;
  letter-spacing: 0.01em;
  color: var(--paper);
  -webkit-text-stroke: 0.028em currentColor; /* engrossa a Poiret para lembrar o traço do logo */
  margin: 0 0 1.5rem;
  text-wrap: balance;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 1.1rem;
  font-weight: 800;
  font-stretch: 125%;
  font-size: var(--step--1);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--yellow);
}
.eyebrow::before {
  content: "";
  flex: 0 0 2.5rem;
  height: var(--line);
  border-radius: var(--line);
  background: var(--rule);
}
.eyebrow-ink { color: var(--ink); }
.eyebrow-ink::before { background: var(--ink); }

.stars { color: var(--yellow); letter-spacing: 0.12em; }

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--f-body);
  font-weight: 800;
  font-stretch: 125%;
  font-size: var(--step--1);
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s, color 0.2s, box-shadow 0.25s, border-color 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 2.6rem; padding: 0.6rem 1.05rem; }

.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -12px rgba(255, 230, 0, 0.6);
}

.btn-ghost { border-color: rgba(243, 241, 236, 0.75); color: var(--paper); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.btn-ink { background: var(--ink); color: var(--yellow); }
.btn-ink:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(35, 31, 32, 0.7); }

.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Barra do topo ---------- */

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  /* O fundo vai de ponta a ponta, mas o conteúdo fica na mesma coluna (--max) do site:
     em monitores largos o nome e o "Agendar" não ficam grudados nos cantos da tela */
  padding:
    calc(0.7rem + env(safe-area-inset-top))
    max(var(--gutter), env(safe-area-inset-right), calc((100% - var(--max)) / 2))
    0.7rem
    max(var(--gutter), env(safe-area-inset-left), calc((100% - var(--max)) / 2));
  background: rgba(35, 31, 32, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(243, 241, 236, 0.08);
}

.brand {
  display: block;
  line-height: 0;
  border-radius: 2px;
  transition: opacity 0.2s;
}
.brand img { height: 1.35rem; width: auto; } /* "SR. WILSON" recortado do logo */
.brand:hover { opacity: 0.8; }

.topnav { display: none; gap: 2rem; }
.topnav a {
  font-weight: 700;
  font-stretch: 125%;
  font-size: var(--step--1);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  padding-block: 0.4rem;
  background: linear-gradient(var(--yellow), var(--yellow)) 0 100% / 0 2px no-repeat;
  transition: background-size 0.3s var(--ease), color 0.2s;
}
.topnav a:hover { color: var(--paper); background-size: 100% 2px; }

/* ---------- Abertura ---------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(100svh, 57.5rem);
  display: grid;
  place-items: center;
  padding: 7rem var(--gutter) 5rem;
  text-align: center;
  overflow: hidden;
}

/* Luz de luminária caindo sobre a cadeira */
.lamp {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 45% at 50% 4%, rgba(255, 230, 0, 0.13), transparent 70%),
    radial-gradient(40% 35% at 50% 38%, rgba(243, 241, 236, 0.05), transparent 75%);
}

/* Piso xadrez em perspectiva: o piso da barbearia */
.floor {
  position: absolute;
  z-index: -1;
  left: -60%;
  right: -60%;
  bottom: -2%;
  height: 58%;
  background:
    conic-gradient(var(--paper) 25%, transparent 0 50%, var(--paper) 0 75%, transparent 0)
    50% 0 / 5.75rem 5.75rem;
  transform: perspective(520px) rotateX(64deg);
  transform-origin: 50% 100%;
  opacity: 0.12;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 92%);
          mask-image: linear-gradient(to top, #000 10%, transparent 92%);
}

.hero-inner {
  display: grid;
  justify-items: center;
  gap: 1.6rem;
  width: min(47.5rem, 100%);
}

.hero-title {
  margin: 0;
  font: inherit;
  display: grid;
  justify-items: center;
  gap: 0.6rem;
}

.logo {
  /* arquivo com fundo transparente, já recortado no desenho (1040×572) */
  width: min(37.5rem, 86vw);
  height: auto;
  margin-bottom: 1rem; /* respiro entre o logo e "Barbearia em Neópolis" */
}

.wordmark { display: grid; justify-items: center; gap: 0.9rem; padding-top: 1rem; }
.wm-name {
  font-family: var(--f-display);
  font-size: var(--step-6);
  line-height: 0.9;
  color: var(--yellow);
  -webkit-text-stroke: 0.03em currentColor;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding-block: 0.25em;
  border-block: var(--line) solid var(--rule);
}
.wm-sub {
  font-weight: 900;
  font-stretch: 125%;
  font-size: var(--step-1);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--paper);
  margin-right: -0.36em; /* compensa o espaçamento da última letra */
}

.hero-place {
  font-weight: 700;
  font-stretch: 125%;
  font-size: var(--step--1);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Letreiro de aberto/fechado */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  padding: 0.55rem 1.1rem;
  border: 2px solid rgba(243, 241, 236, 0.25);
  border-radius: 999px;
  font-weight: 700;
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  color: var(--text);
}
.status-dot {
  position: relative;
  flex: none;
  width: 0.6rem; height: 0.6rem;
  border-radius: 50%;
  background: var(--muted);
}
.status.is-open { border-color: var(--yellow); color: var(--yellow); }
.status.is-open .status-dot { background: var(--yellow); }

/* Anel que pulsa quando está aberto: só transform/opacity, e para após 2 ciclos */
.status.is-open .status-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--yellow);
  animation: pulse 2.2s var(--ease) 2;
}

@keyframes pulse {
  from { transform: scale(1); opacity: 0.6; }
  to { transform: scale(3.2); opacity: 0; }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.rating-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: var(--step--1);
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.rating-chip strong { color: var(--paper); font-size: 1.05rem; }
.rating-chip:hover { color: var(--paper); border-color: var(--muted); }

/* Entrada escalonada da abertura: logo, texto, letreiro, botões e nota, um após o outro */
.hero-title > picture { display: contents; } /* o <img> do logo se comporta como item do grid */
.hero-inner > :not(.hero-title),
.hero-title > :not(picture),
.hero-title .logo { animation: rise 0.9s var(--ease) both; }
.hero-title > .hero-place { animation-delay: 0.08s; }
.hero-inner > :nth-child(2) { animation-delay: 0.15s; }
.hero-inner > :nth-child(3) { animation-delay: 0.28s; }
.hero-inner > :nth-child(4) { animation-delay: 0.4s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Faixa xadrez ---------- */

.checker {
  height: 1.75rem;
  background:
    conic-gradient(var(--paper) 25%, var(--ink) 0 50%, var(--paper) 0 75%, var(--ink) 0)
    0 0 / 1.75rem 1.75rem;
  opacity: 0.9;
}

/* ---------- Seções ---------- */

section:not(.hero) { padding-block: clamp(4.5rem, 3rem + 6vw, 8rem); }

/* A casa */
.about-grid { display: grid; gap: 3rem 4.5rem; align-items: center; }

/* Foto da entrada, com um bloco amarelo atrás lembrando a parede da casa */
.storefront {
  position: relative;
  margin: 0;
  width: min(100% - 1.1rem, 23.75rem); /* deixa espaço para o bloco amarelo deslocado */
  justify-self: start;
}
.storefront::before {
  content: "";
  position: absolute;
  inset: 1.1rem -1.1rem 2.6rem 1.1rem;
  background: var(--yellow);
  border-radius: var(--radius);
  z-index: 0;
}
.storefront img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 42%;
  border-radius: var(--radius);
  box-shadow: 0 28px 50px -28px rgba(0, 0, 0, 0.8);
}
.storefront figcaption {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.1rem;
  font-size: var(--step--1);
  color: var(--muted);
}
.storefront figcaption::before {
  content: "";
  flex: 0 0 1.8rem;
  height: var(--line);
  border-radius: var(--line);
  background: var(--rule);
}
.about-text { font-size: var(--step-1); color: var(--text); max-width: 38rem; }
.about-text > p { line-height: 1.55; }

.perks {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.perks li {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid rgba(243, 241, 236, 0.22);
  border-radius: var(--radius);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.perks li::before {
  content: "";
  width: 0.45rem; height: 0.45rem;
  background: var(--yellow);
  transform: rotate(45deg);
}

/* Serviços */
.services { background: var(--ink-2); }
.services-grid { display: grid; gap: 3rem; align-items: start; }

.board {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--line) solid var(--rule);
}
.board li {
  padding: 1.4rem 0 1.2rem;
  border-bottom: 1px solid rgba(243, 241, 236, 0.12);
}
.row { display: flex; align-items: baseline; gap: 0.8rem; }
.svc {
  min-width: 0;              /* deixa nomes longos quebrarem em vez de estourar a linha */
  overflow-wrap: anywhere;
  font-weight: 800;
  font-stretch: 112%;
  font-size: var(--step-1);
  color: var(--paper);
  letter-spacing: 0.01em;
}
.dots {
  flex: 1;
  min-width: 1.5rem;
  border-bottom: 2px dotted rgba(243, 241, 236, 0.32);
  transform: translateY(-0.3em);
}
.price {
  font-family: var(--f-display);
  font-size: var(--step-2);
  line-height: 1;
  color: var(--yellow);
  -webkit-text-stroke: 0.025em currentColor;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.svc-note { margin: 0.35rem 0 0; color: var(--muted); font-size: var(--step--1); }

.book-card {
  position: relative;
  background: var(--yellow);
  color: var(--ink);
  padding: 2.2rem 1.8rem 2rem;
  border-radius: var(--radius);
  display: grid;
  gap: 0.2rem;
}
.book-card::before {        /* filete duplo, como no logo */
  content: "";
  position: absolute;
  inset: 0.6rem;
  border: 2px solid rgba(35, 31, 32, 0.85);
  border-radius: 2px;
  pointer-events: none;
}
.book-kicker {
  font-weight: 800;
  font-stretch: 125%;
  font-size: var(--step--1);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.book-title {
  font-family: var(--f-display);
  font-size: var(--step-2);
  line-height: 1.05;
  -webkit-text-stroke: 0.03em currentColor;
  margin-bottom: 0.7rem;
}
.book-card .btn { justify-self: start; margin-top: 0.6rem; position: relative; }
.book-phone {
  position: relative;
  margin-top: 0.9rem;
  font-weight: 700;
  font-size: var(--step--1);
  text-underline-offset: 3px;
}
.book-phone:hover { text-decoration-thickness: 2px; }

/* Import's */
.imports {
  position: relative;
  overflow: hidden;
  background: var(--yellow);
  color: var(--ink);
}
.imports h2 { color: var(--ink); }
.imports-inner { position: relative; z-index: 1; max-width: var(--max); }
.imports-inner > p:not(.eyebrow) { max-width: 30rem; font-size: var(--step-1); line-height: 1.5; }
.imports-giant {
  position: absolute;
  right: -0.08em;
  bottom: -0.22em;
  font-family: var(--f-display);
  font-size: clamp(6rem, 2rem + 20vw, 19rem);
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 2px rgba(35, 31, 32, 0.22);
  pointer-events: none;
  user-select: none;
}

/* Avaliações */
.reviews-head {
  display: grid;
  gap: 2rem 4rem;
  align-items: end;
  margin-bottom: 3rem;
}
.score { display: grid; justify-items: start; gap: 0.3rem; }
.score-num {
  font-family: var(--f-display);
  font-size: var(--step-6);
  line-height: 0.85;
  color: var(--yellow);
  -webkit-text-stroke: 0.03em currentColor;
}
.score .stars { font-size: 1.4rem; }
.score-count { color: var(--muted); font-size: var(--step--1); letter-spacing: 0.04em; }

.quotes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2.2rem 2rem;
}
.quotes li {
  border-top: var(--line) solid var(--rule);
  padding-top: 1.4rem;
  display: grid;
  align-content: space-between;
  gap: 1rem;
}
.quotes blockquote { margin: 0; }
.quotes blockquote p {
  margin: 0;
  font-family: var(--f-display);
  font-size: var(--step-2);
  line-height: 1.18;
  color: var(--paper);
  -webkit-text-stroke: 0.022em currentColor;
}
.quotes blockquote p::before { content: "“"; color: var(--yellow); }
.quotes blockquote p::after { content: "”"; color: var(--yellow); }
.who {
  font-size: var(--step--1);
  color: var(--muted);
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
}

.reviews-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 3rem; }

/* Galeria */
.gallery .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-2);
  aspect-ratio: 4 / 5;
}
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.05);
  transition: transform 0.6s var(--ease), filter 0.4s;
}
.gallery figure:hover img { transform: scale(1.04); filter: none; }

/* Com JS: as fotos só aparecem depois de carregar; as que faltarem não deixam buraco */
.js .gallery figure:not(.is-loaded) { display: none; }
.gallery.is-empty .grid { display: none; }

.ig-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.3rem 1.5rem;
  padding: 1.6rem 1.6rem;
  border: 2px solid rgba(243, 241, 236, 0.3);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.25s, background-color 0.25s;
}
.ig-card:hover { border-color: var(--yellow); background: rgba(255, 230, 0, 0.04); }
.ig-text { grid-column: 1; color: var(--muted); font-size: var(--step--1); letter-spacing: 0.04em; }
.ig-handle {
  grid-column: 1;
  font-family: var(--f-display);
  font-size: var(--step-2);
  color: var(--yellow);
  -webkit-text-stroke: 0.025em currentColor;
  overflow-wrap: anywhere;
}
.ig-arrow {
  grid-column: 2; grid-row: 1 / span 2;
  width: 2rem; height: 2rem;
  color: var(--yellow);
  transition: transform 0.3s var(--ease);
}
.ig-card:hover .ig-arrow { transform: translateX(6px); }

/* Dúvidas */
.faq { border-top: 1px solid rgba(243, 241, 236, 0.08); }
.faq-grid { display: grid; gap: 2rem 4rem; align-items: start; }
.faq-lead { color: var(--muted); max-width: 26rem; }
.faq-lead a { color: var(--yellow); text-underline-offset: 3px; }
.faq-lead a:hover { color: var(--paper); }

.faq-list { border-top: var(--line) solid var(--rule); }
.faq-list details { border-bottom: 1px solid rgba(243, 241, 236, 0.12); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
  font-weight: 700;
  font-size: var(--step-1);
  line-height: 1.3;
  color: var(--paper);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
/* sinal de "+" amarelo que gira para "×" quando abre */
.faq-list summary::after {
  content: "";
  flex: none;
  width: 0.9rem;
  height: 0.9rem;
  background:
    linear-gradient(var(--yellow), var(--yellow)) center / 100% 2px no-repeat,
    linear-gradient(var(--yellow), var(--yellow)) center / 2px 100% no-repeat;
  transition: transform 0.25s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--yellow); }
.faq-list details p { margin: -0.2rem 0 1.4rem; max-width: 40rem; color: var(--text); }

/* Onde fica */
.where { background: var(--ink-2); }
.where-grid { display: grid; gap: 3rem; align-items: stretch; }
.where address {
  font-style: normal;
  color: var(--muted);
  margin: -0.6rem 0 1.6rem;
}
.phones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 2rem;
  margin: -0.4rem 0 1.6rem;
}
.phones a {
  display: grid;
  text-decoration: none;
  font-weight: 700;
  font-size: var(--step-1);
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}
.phones a:hover { color: var(--yellow); }
.phones span {
  font-size: 0.68rem;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}
.where-btns { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.5rem; }

.hours { width: 100%; border-collapse: collapse; font-size: var(--step-0); }
.hours caption {
  text-align: left;
  font-weight: 800;
  font-stretch: 125%;
  font-size: var(--step--1);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--paper);
  padding-bottom: 0.8rem;
  border-bottom: var(--line) solid var(--rule);
}
.hours th, .hours td {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(243, 241, 236, 0.1);
}
.hours th { text-align: left; font-weight: 600; }
.hours td { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--yellow); }
.hours tr.is-today th::after {
  content: "hoje";
  margin-left: 0.6rem;
  padding: 0.1rem 0.45rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  vertical-align: 0.15em;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 2px;
}

.map {
  min-height: 22.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid rgba(243, 241, 236, 0.18);
}
.map iframe {
  display: block;
  width: 100%; height: 100%;
  min-height: 22.5rem;
  border: 0;
  /* mapa em tons escuros, combinando com o site */
  filter: grayscale(1) invert(0.9) contrast(0.9) brightness(1.05);
}

/* ---------- Rodapé ---------- */

.footer { padding: 3.5rem 0 2rem; color: var(--muted); font-size: var(--step--1); }
.footer-grid { display: grid; gap: 1.8rem; }
.footer-brand { display: grid; gap: 0.3rem; }
.footer-name {          /* mesmo recorte do logo usado no topo */
  justify-self: start;
  height: 1.9rem;
  width: auto;
  margin-bottom: 0.3rem;
}
.footer-sub {
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--paper);
  font-size: 0.72rem;
}
.footer a { text-underline-offset: 3px; }
.footer a:hover { color: var(--paper); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.copy {
  width: var(--wrap);
  margin: 2.5rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(243, 241, 236, 0.1);
  font-size: 0.78rem;
}

/* ---------- Barra fixa no celular ---------- */

.mobile-cta {
  position: fixed;
  inset: auto 0 0;
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.6rem;
  padding:
    0.7rem
    max(var(--gutter), env(safe-area-inset-right))
    calc(0.7rem + env(safe-area-inset-bottom))
    max(var(--gutter), env(safe-area-inset-left));
  background: rgba(35, 31, 32, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(243, 241, 236, 0.1);
}
.mobile-cta .btn { min-height: 3rem; padding-inline: 1rem; white-space: nowrap; }
.mobile-cta .btn-icon { width: 3rem; padding: 0; }
.mobile-cta .btn-icon .ico { width: 1.35rem; height: 1.35rem; }
body { padding-bottom: calc(4.6rem + env(safe-area-inset-bottom)); }

/* ---------- Revelar ao rolar (só com JS) ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Celular ---------- */

@media (max-width: 759px) {
  /* ao navegar com teclado, a barra fixa de baixo não cobre o item focado */
  html { scroll-padding-bottom: 5.5rem; }
  /* a barra fixa de baixo já tem o "Agendar": evita botão repetido no topo */
  .topbar .btn { display: none; }
  .topbar { justify-content: center; }
}

@media (max-width: 360px) {
  /* celulares bem estreitos: "Agendar" curto para o botão de ligar caber na barra */
  .cta-long { display: none; }
}

@media (max-width: 520px) {
  .btn { font-stretch: 108%; letter-spacing: 0.07em; }
  .hero-cta { display: grid; width: 100%; }
  .where-btns .btn-yellow { flex: 1 1 100%; }
}

/* ---------- Telas maiores ---------- */

@media (min-width: 640px) {
  .gallery .grid { grid-template-columns: repeat(3, 1fr); }
  .quotes { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 760px) {
  :root { --gutter: 2rem; }
  .topnav { display: flex; }
  .mobile-cta { display: none; }
  body { padding-bottom: 0; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; align-items: start; }
}

@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1.35fr 1fr; }
  .storefront { justify-self: end; }
  .storefront img { aspect-ratio: 3 / 4; object-position: 50% 46%; } /* mais alta no desktop, mostrando logo e telefones */
  .services-grid { grid-template-columns: 1.5fr 1fr; gap: 4rem; }
  .book-card { margin-top: 6.4rem; position: sticky; top: 6rem; }
  .reviews-head { grid-template-columns: auto 1fr; }
  .faq-grid { grid-template-columns: 1fr 1.5fr; }
  .quotes { grid-template-columns: repeat(4, 1fr); }
  .where-grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; }
  .map, .map iframe { min-height: 100%; }
}

/* ---------- Movimento reduzido ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
