/* Big Barbearia · estilo
   Sistema "régua": marcações de medida + linha vermelha do poste riscada pela rolagem. */

:root {
  --preto: #111111;
  --grafite: #1b1b1b;
  --gelo: #eeedea;
  --gelo-fundo: #e6e4df;
  --tinta: #111111;
  --vermelho: #c8282e;          /* poste do logo: botões, linhas, texto sobre o claro */
  --vermelho-fundo: #a71f25;
  --vermelho-vivo: #ef5a5f;     /* texto vermelho sobre o escuro */
  --verde-whats: #25d366;       /* só para o botão/link que abre o WhatsApp */
  --verde-whats-fundo: #1fb257;

  --topo-h: 68px;
  --margem: clamp(16px, 4.2vw, 56px);
  --largura: 1240px;
  --curva: cubic-bezier(.2, .7, .2, 1);

  --largo: 125%;   /* largura da Archivo nos títulos */
}

/* ---------- base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topo-h) + 8px);
  -webkit-text-size-adjust: 100%;
  font-synthesis: none;          /* nada de itálico ou negrito falso */
}

body {
  margin: 0;
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--preto);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* nenhum itálico no site, nem os que o navegador aplica sozinho */
em, i, cite, address, dfn, var, q, blockquote, figcaption { font-style: normal; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
h1, h2, h3, p, ul, ol, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg .cheio { fill: currentColor; stroke: none; }

.so-leitor {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.pular {
  position: fixed; left: 12px; top: -80px; z-index: 100;
  background: var(--vermelho); color: #fff; padding: 12px 16px; text-decoration: none; font-weight: 600;
  transition: top .3s ease;
}
.pular:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--vermelho); outline-offset: 3px; }
.tema-escuro :focus-visible { outline-color: var(--vermelho-vivo); }

.conteudo {
  width: 100%;
  max-width: calc(var(--largura) + var(--margem) * 2);
  margin-inline: auto;
  padding-inline: var(--margem);
}

/* ---------- temas por seção ---------- */

.tema-escuro {
  background: var(--preto);
  color: var(--gelo);
  --suave: #a8a6a1;
  --acento: var(--vermelho-vivo);
  --traco: rgba(238, 237, 234, .30);
  --traco-forte: rgba(238, 237, 234, .55);
  --superficie: var(--grafite);
}
.tema-claro {
  background: var(--gelo);
  color: var(--tinta);
  --suave: #56544f;
  --acento: var(--vermelho);
  --traco: rgba(17, 17, 17, .28);
  --traco-forte: rgba(17, 17, 17, .6);
  --superficie: var(--gelo-fundo);
}

/* ---------- tipografia ---------- */

.titulo {
  font-stretch: var(--largo);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 5.2vw, 4.4rem);
  line-height: .95;
  letter-spacing: -.012em;
}
.titulo--grande { font-size: clamp(2.5rem, 7.6vw, 6.6rem); }

.link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--acento);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color .3s ease, text-decoration-color .3s ease;
}
.link:hover { color: var(--acento); }

/* ---------- botões ---------- */

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 24px;
  border: 2px solid transparent;
  font-stretch: 112%;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.1;
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .3s ease;
}
.botao__icone { width: 20px; height: 20px; flex: none; }
.botao--vermelho { background: var(--vermelho); color: #fff; }
.botao--vermelho:hover { background: var(--vermelho-fundo); }
.botao--linha { border-color: currentColor; background: transparent; }
.botao--linha:hover { background: var(--gelo); color: var(--tinta); border-color: var(--gelo); }
.tema-claro .botao--linha:hover { background: var(--tinta); color: var(--gelo); border-color: var(--tinta); }
.botao--whats { background: var(--verde-whats); color: #fff; }        /* só ações que abrem o WhatsApp */
.botao--whats:hover { background: var(--verde-whats-fundo); }
.botao--curto { min-height: 42px; padding: 10px 18px; font-size: .82rem; }
.botao:active { transform: translateY(1px); }

/* ---------- topo ---------- */

.topo {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: var(--gelo);
  color: var(--tinta);
}
.topo__linha {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--topo-h);
  padding-right: var(--margem);
}

.placa {
  flex: none;
  display: grid;
  place-items: center;
  height: 100%;
  padding: 0 22px;
  background: var(--preto);
  transition: background-color .3s ease;
}
.placa img { width: auto; height: calc(var(--topo-h) - 16px); }
.placa:hover { background: #000; }

.menu { position: relative; margin-left: auto; }
.menu ul { display: flex; gap: 4px; }
.menu a {
  position: relative;
  display: block;
  padding: 10px 12px;
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color .3s ease;
}
.menu a::after {           /* marcação de régua embaixo do item ativo */
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 2px;
  height: 3px;
  background: var(--vermelho);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--curva);
}
.menu a:hover { color: var(--vermelho); }
.menu a[aria-current] { color: var(--vermelho); }
.menu a[aria-current]::after { transform: scaleX(1); }

.topo__acoes { display: flex; align-items: center; gap: 6px; }
.icone {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  transition: color .3s ease;
}
.icone svg { width: 22px; height: 22px; }
.icone:hover { color: var(--vermelho); }
.topo__acoes .botao { margin-left: 8px; }

/* barra de progresso na base do topo (linha simples, sem marcação de régua) */
.topo__regua {
  position: relative;
  height: 3px;
  background: rgba(17, 17, 17, .14);
}
.topo__regua span {
  position: absolute; left: 0; top: 0;
  height: 100%; width: 100%;
  background: var(--vermelho);
  transform: scaleX(var(--progresso, 0));
  transform-origin: left;
}

/* ---------- régua lateral (navegação por seção) ---------- */

.regua-lateral {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 40;
  height: min(46vh, 400px);
  width: 34px;
  transform: translateY(-40%);
  color: var(--gelo);
  --traco: rgba(238, 237, 234, .4);
  background:
    linear-gradient(var(--traco), var(--traco)) right 0 top 0 / 1px 100% no-repeat,
    linear-gradient(var(--traco) 1px, transparent 1px) right 0 top 0 / 8px 10px repeat-y;
  transition: color .4s ease;
}
.regua-lateral[data-tema="claro"] { color: var(--tinta); --traco: rgba(17, 17, 17, .4); }
.regua-lateral ol { height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.regua-lateral li { height: 0; position: relative; }
.regua-lateral a {
  position: absolute;
  right: 0; top: -12px;
  width: 34px; height: 24px;
  display: block;
}
.regua-lateral a::before {
  content: "";
  position: absolute;
  right: 0; top: 11px;
  width: 18px; height: 2px;
  background: currentColor;
  opacity: .75;
  transition: width .3s var(--curva), background-color .3s ease, opacity .3s ease;
}
.regua-lateral a[aria-current]::before { width: 34px; background: var(--vermelho); opacity: 1; }
.regua-lateral span {
  position: absolute;
  right: 44px; top: 50%;
  transform: translate(6px, -50%);
  padding: 4px 8px;
  font-size: .75rem;
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--preto);
  color: var(--gelo);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s var(--curva);
}
.regua-lateral[data-tema="claro"] span { background: var(--tinta); }
.regua-lateral a:hover span,
.regua-lateral a:focus-visible span { opacity: 1; transform: translate(0, -50%); }
.regua-lateral__cursor {          /* marcador que desce com a rolagem */
  position: absolute;
  right: -5px; top: 0;
  width: 0; height: 0;
  border-block: 5px solid transparent;
  border-right: 7px solid var(--vermelho);
  transform: translateY(calc(var(--progresso, 0) * min(46vh, 400px) - 5px));
}

/* ---------- seções ---------- */

.secao {
  position: relative;
  z-index: 1;
  padding-block: clamp(72px, 10vw, 136px);
}

/* divisória de régua no topo de cada seção */
.regua {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 14px;
  background:
    linear-gradient(90deg, var(--traco) 1px, transparent 1px) 0 0 / 12px 6px repeat-x,
    linear-gradient(90deg, var(--traco-forte) 1px, transparent 1px) 0 0 / 60px 14px repeat-x;
}
.regua__risco {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 3px;
  background: var(--vermelho);
  transform: scaleX(var(--risco, .35));
  transform-origin: left;
}

/* ---------- abertura ---------- */

.abertura {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--topo-h) + 8px);
  overflow: hidden;
  --saida: 0;
}
.abertura__foto {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  overflow: hidden;
}
.abertura__foto picture,
.abertura__foto img { width: 100%; height: 100%; }
.abertura__foto img {
  object-fit: cover;
  object-position: 50% 38%;
  transform: scale(calc(1.02 + var(--saida) * .08));
  transform-origin: 50% 30%;
}
.abertura__foto::after {         /* escurece a foto conforme a página desce */
  content: "";
  position: absolute; inset: 0;
  background: var(--preto);
  opacity: calc(var(--saida) * .85);
}

.abertura__texto {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  padding: clamp(40px, 6vw, 88px) clamp(24px, 4vw, 64px) clamp(48px, 6vw, 88px) var(--margem);
  max-width: 820px;
  justify-self: end;
  width: 100%;
  opacity: calc(1 - var(--saida) * 1.5);
  transform: translateY(calc(var(--saida) * -72px));
}
.abertura__local {
  font-stretch: 112%;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--suave);
  margin-bottom: 22px;
}
.abertura__titulo {
  font-stretch: var(--largo);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 5.9vw, 6.6rem);
  line-height: .9;
  letter-spacing: -.015em;
}

/* traço vermelho que "risca" sob o título — accent único, sem marcação de régua */
.risco {
  position: relative;
  height: 4px;
  margin: 26px 0 26px;
  max-width: 420px;
  background: rgba(238, 237, 234, .22);
  overflow: hidden;
}
.risco span {
  position: absolute;
  inset: 0;
  background: var(--vermelho);
  transform-origin: left;
  animation: riscar 1.4s var(--curva) .35s both;
}
@keyframes riscar { from { transform: scaleX(0); } to { transform: scaleX(.68); } }

.abertura__sub { max-width: 34em; font-size: 1.12rem; color: var(--suave); }
.abertura__acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.abertura__provas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 34px;
  font-size: .95rem;
  color: var(--suave);
}
.abertura__provas a { text-decoration: none; transition: color .3s ease; }
.abertura__provas a:hover { color: var(--gelo); }
.abertura__provas strong { color: var(--gelo); font-weight: 700; }
.status--aberto::before,
.status--fechado::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: 8px;
  vertical-align: 1px;
  background: #3fb950;
}
.status--fechado::before { background: var(--vermelho-vivo); }

/* ---------- a big ---------- */

.sobre {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.sobre__foto { position: relative; }
.sobre__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 45%; }
.sobre__foto figcaption {
  position: absolute;
  left: 0; bottom: 0;
  padding: 10px 14px;
  background: var(--preto);
  color: var(--gelo);
  font-size: .85rem;
  font-weight: 600;
  font-stretch: 112%;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.sobre__texto { padding-top: clamp(0px, 3vw, 40px); }
.sobre__texto .titulo { margin-bottom: 32px; }
.sobre__texto p { max-width: 36em; margin-bottom: 18px; color: var(--suave); }
.sobre__texto .sobre__abre { font-size: 1.25rem; line-height: 1.5; color: var(--tinta); }

.fatos {
  display: flex;
  flex-wrap: wrap;
  margin: 32px 0 40px;
  border-left: 1px solid var(--traco-forte);
}
.fatos li {
  padding: 4px 13px;
  border-right: 1px solid var(--traco-forte);
  font-stretch: 112%;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.citacao {
  padding-left: 20px;
  border-left: 4px solid var(--vermelho);
}
.citacao p {
  font-stretch: var(--largo);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--tinta) !important;
  margin-bottom: 8px !important;
}
.citacao footer { font-size: .9rem; color: var(--suave); }

/* linha do tempo em forma de régua: 2017 até hoje */
.tempo { margin-top: clamp(64px, 8vw, 112px); --meses: 120; --anos: 10; }
.tempo__regua {
  position: relative;
  height: 22px;
  border-bottom: 1px solid var(--traco-forte);
  background:
    linear-gradient(90deg, var(--traco) 1px, transparent 1px) 0 100% / calc(100% / var(--meses)) 8px repeat-x,
    linear-gradient(90deg, var(--traco-forte) 1px, transparent 1px) 0 100% / calc(100% / var(--anos)) 22px repeat-x;
}
.tempo__risco {
  position: absolute;
  bottom: -2px;
  left: var(--inicio, 1.8%);
  width: var(--ate, 94%);
  height: 5px;
  background: var(--vermelho);
  transform: scaleX(var(--risco, 1));
  transform-origin: left;
}
.tempo__anos { display: grid; grid-template-columns: repeat(var(--anos), 1fr); margin-top: 10px; }
.tempo__anos li {
  font-stretch: 112%;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .04em;
  color: var(--suave);
}
.tempo__anos li:first-child,
.tempo__anos li:last-child { color: var(--tinta); }
.tempo__legenda { margin-top: 18px; color: var(--suave); }
.tempo__legenda strong { color: var(--tinta); font-weight: 700; }

/* ---------- serviços ---------- */

.servicos__cabeca {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.servicos__cabeca p { color: var(--suave); max-width: 30em; margin-bottom: 24px; }
.servicos__cabeca strong { color: var(--gelo); font-weight: 600; }

.servicos__lista { border-top: 1px solid var(--traco-forte); }
.servico {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) minmax(150px, auto);
  align-items: center;
  gap: 8px clamp(20px, 2.6vw, 40px);
  padding: 20px 12px;
  margin-inline: -12px;
  border-bottom: 1px solid var(--traco);
  transition: background-color .35s ease;
}
.servico:hover,
.servico:focus-within { background: var(--superficie); }
.servico::after {                /* risco vermelho ao passar o mouse, por cima do fio cinza */
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: -1px;
  height: 2px;
  background: var(--vermelho);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--curva);
}
.servico:hover::after,
.servico:focus-within::after { transform: scaleX(1); }
.servico__foto {
  width: 76px;
  height: 76px;
  overflow: hidden;
  background: var(--superficie);
}
.servico__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(85%) contrast(1.05);
  transition: filter .5s ease, transform .6s var(--curva);
}
.servico:hover .servico__foto img,
.servico:focus-within .servico__foto img {
  filter: grayscale(0%);
  transform: scale(1.08);
}
.servico h3 {
  font-stretch: var(--largo);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.3vw, 1.85rem);
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.servico p { color: var(--suave); max-width: 32em; }
.servico__preco {
  justify-self: end;
  white-space: nowrap;
  font-stretch: 112%;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--acento);
  text-decoration: none;
  padding: 10px 0;
  transition: color .3s ease;
}
a.servico__preco::after { content: " →"; }
a.servico__preco:hover { color: var(--gelo); }
.servico__preco--fixo { font-size: 1.5rem; font-stretch: var(--largo); color: var(--gelo); letter-spacing: 0; }

/* ---------- galeria ---------- */

.galeria__cabeca {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.galeria__cabeca p { color: var(--suave); max-width: 32em; }
.galeria__cabeca .link { display: table; margin-top: 14px; color: var(--tinta); font-weight: 600; }

.galeria { columns: 3; column-gap: clamp(12px, 1.6vw, 20px); }
.galeria__item {
  position: relative;
  break-inside: avoid;
  margin-bottom: clamp(12px, 1.6vw, 20px);
  overflow: hidden;
  background: var(--superficie);
}
.galeria__item a { display: block; overflow: hidden; }
.galeria__item img {
  width: 100%;
  transition: transform .6s var(--curva);
}
.galeria__item a:hover img,
.galeria__item a:focus-visible img { transform: scale(1.03); }
.galeria__item a:focus-visible { outline-offset: -4px; outline-color: var(--gelo); }
.etiqueta {
  position: absolute;
  left: 0; bottom: 0;
  padding: 8px 12px;
  background: var(--gelo);
  color: var(--tinta);
  font-stretch: 112%;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  pointer-events: none;
}

/* ---------- equipe ---------- */

.equipe__cabeca {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 48px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.equipe__cabeca p { color: var(--suave); font-size: 1.15rem; }
.equipe__lista {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
}
.barbeiro h3 {
  font-stretch: var(--largo);
  font-weight: 800;
  font-size: 1.25rem;
  text-transform: uppercase;
  margin-top: 18px;
}
.barbeiro p { color: var(--suave); }
.barbeiro__foto { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* vaga de foto: moldura com marcas de corte nos cantos */
.barbeiro__vaga {
  position: relative;
  aspect-ratio: 4 / 5;
  display: grid;
  place-content: center;
  gap: 6px;
  text-align: center;
  background:
    linear-gradient(var(--vermelho), var(--vermelho)) 0 0 / 28px 3px no-repeat,
    linear-gradient(var(--vermelho), var(--vermelho)) 0 0 / 3px 28px no-repeat,
    linear-gradient(var(--vermelho), var(--vermelho)) 100% 0 / 28px 3px no-repeat,
    linear-gradient(var(--vermelho), var(--vermelho)) 100% 0 / 3px 28px no-repeat,
    linear-gradient(var(--vermelho), var(--vermelho)) 0 100% / 28px 3px no-repeat,
    linear-gradient(var(--vermelho), var(--vermelho)) 0 100% / 3px 28px no-repeat,
    linear-gradient(var(--vermelho), var(--vermelho)) 100% 100% / 28px 3px no-repeat,
    linear-gradient(var(--vermelho), var(--vermelho)) 100% 100% / 3px 28px no-repeat,
    var(--grafite);
  border: 1px dashed var(--traco);
}
.barbeiro__vaga span {
  font-stretch: var(--largo);
  font-weight: 800;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  text-transform: uppercase;
  letter-spacing: .02em;
}
.barbeiro__vaga small { font-size: .82rem; color: var(--suave); }

/* ---------- curso ---------- */

.curso {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.curso__texto .titulo { margin-bottom: 28px; }
.curso__texto p { font-size: 1.2rem; line-height: 1.55; color: var(--suave); max-width: 30em; margin-bottom: 32px; }
.curso__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }

/* ---------- contato ---------- */

.contato {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px) clamp(32px, 6vw, 96px);
}
.contato__cabeca { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px 48px; }
.contato__cabeca p { color: var(--suave); font-size: 1.15rem; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; align-content: start; }
.campo { display: grid; gap: 8px; }
.campo--largo, .form__rodape { grid-column: 1 / -1; }
.campo label {
  font-stretch: 112%;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.campo__opcional { font-weight: 500; color: var(--suave); letter-spacing: .04em; text-transform: none; font-size: .85rem; margin-left: 4px; }
.campo input, .campo select, .campo textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  background: var(--grafite);
  border: 1px solid #3a3a3a;
  border-bottom: 2px solid #6a6864;
  border-radius: 0;
  color: var(--gelo);
  transition: border-color .3s ease, background-color .3s ease;
}
.campo select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gelo) 50%), linear-gradient(135deg, var(--gelo) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.campo textarea { resize: vertical; min-height: 120px; }
.campo input::placeholder, .campo textarea::placeholder { color: #8d8b86; opacity: 1; }
.campo input:hover, .campo select:hover, .campo textarea:hover { border-bottom-color: var(--gelo); }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--vermelho-vivo); background-color: #202020; }
.campo [aria-invalid="true"] { border-color: var(--vermelho-vivo); border-bottom-color: var(--vermelho-vivo); }
.campo__erro { min-height: 0; font-size: .88rem; color: var(--vermelho-vivo); }
.campo__erro:empty { display: none; }

.form__rodape { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 6px; }
.form__status { color: var(--suave); font-size: .95rem; max-width: 30em; }
.form__status a { color: var(--gelo); }

.info { display: grid; gap: 36px; align-content: start; }
.info__bloco h3 {
  font-stretch: var(--largo);
  font-weight: 800;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  padding-bottom: 12px;
  margin-bottom: 14px;
  background: linear-gradient(90deg, var(--traco) 1px, transparent 1px) 0 100% / 12px 6px repeat-x;
}
.info__bloco p, .info__bloco address { color: var(--suave); margin-bottom: 6px; }
.info__bloco .link { color: var(--gelo); font-weight: 600; }
.contato__whats { margin-bottom: 16px; }

.horario { width: 100%; border-collapse: collapse; }
.horario th, .horario td { padding: 7px 0; text-align: left; font-weight: 400; color: var(--suave); border-bottom: 1px solid #262626; }
.horario td { text-align: right; }
.horario tr.hoje th, .horario tr.hoje td { color: var(--gelo); font-weight: 700; }
.horario tr.hoje th::after {
  content: "hoje";
  margin-left: 10px;
  padding: 2px 6px;
  background: var(--vermelho);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  vertical-align: 2px;
}

#contato { padding-bottom: 0; }
.mapa {
  position: relative;
  margin-top: clamp(56px, 7vw, 96px);
  height: clamp(320px, 42vw, 460px);
  background: var(--grafite);
}
.mapa iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(1) contrast(1.05);
}
.mapa__reserva {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center; gap: 16px;
  padding: 24px; text-align: center; color: var(--suave);
}

/* ---------- rodapé ---------- */

.rodape { position: relative; z-index: 1; padding-block: 32px; }
.rodape__linha { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; font-size: .9rem; color: var(--suave); }
.placa--rodape { height: 64px; padding: 0 16px; }
.placa--rodape img { height: 48px; }
.rodape__credito { margin-left: auto; }

/* ---------- whatsapp flutuante ---------- */

.whats {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 45;
  display: grid; place-items: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--verde-whats);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .35), 0 2px 6px rgba(0, 0, 0, .3);
  transition: background-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.whats::before {                 /* anel pulsante, chama atenção sem incomodar */
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--verde-whats);
  opacity: 0;
  animation: pulso-whats 2.4s ease-out infinite;
}
@keyframes pulso-whats {
  0% { opacity: .55; transform: scale(.92); }
  70%, 100% { opacity: 0; transform: scale(1.35); }
}
.whats svg { width: 30px; height: 30px; position: relative; }
.whats:hover { background: var(--verde-whats-fundo); transform: translateY(-2px) scale(1.04); box-shadow: 0 10px 26px rgba(0, 0, 0, .4); }

/* ---------- lightbox ---------- */

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(10, 10, 10, .96);
  color: var(--gelo);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(10, 10, 10, .9); }
.lightbox__figura { display: grid; justify-items: center; gap: 14px; padding: 64px 72px 72px; }
.lightbox__figura img { max-height: calc(100vh - 150px); width: auto; max-width: 100%; }
.lightbox__figura figcaption {
  font-stretch: 112%; font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
}
.lightbox__conta { position: absolute; left: 20px; top: 18px; font-size: .9rem; color: #a8a6a1; }
.lightbox__botao {
  position: absolute;
  display: grid; place-items: center;
  width: 52px; height: 52px;
  background: transparent;
  border: 2px solid rgba(238,237,234,.35);
  color: var(--gelo);
  cursor: pointer;
  transition: background-color .3s ease, border-color .3s ease;
}
.lightbox__botao svg { width: 24px; height: 24px; }
.lightbox__botao:hover { background: var(--vermelho); border-color: var(--vermelho); }
.lightbox__fechar { right: 16px; top: 12px; }
.lightbox__ant { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__prox { right: 16px; top: 50%; transform: translateY(-50%); }

.trava-rolagem { overflow: hidden; }

/* ---------- revelação na rolagem ----------
   Só liga quando o JS roda e a pessoa não pediu menos movimento.
   Sem JS, tudo aparece normalmente. */

.rev-on [data-rev] {
  opacity: var(--o, 0);
  transform: translate3d(0, var(--y, 32px), 0);
  transition: opacity .5s ease-out, transform .7s var(--curva);
}

@media (min-width: 1000px) and (min-height: 640px) {
  .abertura { position: sticky; top: 0; height: 100vh; height: 100svh; }
}

/* ---------- telas médias ---------- */

@media (max-width: 1180px) {
  .menu a { padding-inline: 9px; }
  .menu a::after { left: 9px; right: 9px; }
  .topo__acoes .icone { display: none; }
}

@media (max-width: 1199px) {
  .regua-lateral { display: none; }
}

/* ---------- celular e tablet: topo em duas linhas, menu sempre visível ---------- */

@media (max-width: 999px) {
  :root { --topo-h: 107px; }
  .topo__linha {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "placa . acoes" "menu menu menu";
    height: auto;
    gap: 0;
    padding-right: 0;
  }
  .placa { grid-area: placa; height: 60px; padding: 0 14px; }
  .placa img { height: 46px; }
  .topo__acoes { grid-area: acoes; padding-right: var(--margem); }
  .topo__acoes .icone { display: grid; }
  .menu {
    grid-area: menu;
    margin: 0;
    overflow-x: auto;
    scrollbar-width: none;
    border-top: 1px solid rgba(17,17,17,.1);
    mask-image: linear-gradient(90deg, #000 88%, transparent);
  }
  .menu::-webkit-scrollbar { display: none; }
  .menu ul { gap: 0; padding: 0 calc(var(--margem) - 10px); width: max-content; }
  .menu a { padding: 11px 10px 12px; font-size: .9rem; }
  .menu a::after { left: 10px; right: 10px; bottom: 3px; }

  .abertura { grid-template-columns: 1fr; padding-top: calc(var(--topo-h) + 8px); }
  .abertura__foto { grid-column: 1; grid-row: 1; height: 50svh; min-height: 300px; }
  .abertura__texto { grid-column: 1; grid-row: 2; justify-self: stretch; padding: 32px var(--margem) 56px; max-width: none; }
  .abertura__local { margin-bottom: 14px; }
  .risco { margin: 22px 0 20px; }

  .sobre, .curso, .contato { grid-template-columns: 1fr; }
  .servicos__cabeca, .galeria__cabeca { grid-template-columns: 1fr; }
  .servico { grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; padding: 16px 10px; margin-inline: -10px; }
  .servico__foto { grid-row: 1 / span 2; width: 56px; height: 56px; }
  .servico__texto { grid-column: 2; }
  .servico__preco { grid-column: 2; justify-self: start; padding: 4px 0 0; }
  .curso__foto { order: -1; }
  .curso__foto img { aspect-ratio: 16 / 11; object-position: 50% 42%; }
  .sobre__foto img { aspect-ratio: 5 / 4; }
}

@media (max-width: 720px) {
  .galeria { columns: 2; }
  .equipe__lista { grid-template-columns: 1fr 1fr; }
  .equipe__lista li:last-child { grid-column: 1 / -1; max-width: calc(50% - 8px); }
  .form { grid-template-columns: 1fr; }
  .tempo__anos li { font-size: .68rem; letter-spacing: 0; }
  .tempo__anos li:nth-child(even) { visibility: hidden; }
  .rodape__credito { margin-left: 0; }
  .whats { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .lightbox__figura { padding: 64px 12px 84px; }
  .lightbox__ant, .lightbox__prox { top: auto; bottom: 14px; transform: none; }
  .lightbox__ant { left: calc(50% - 60px); }
  .lightbox__prox { right: calc(50% - 60px); }
}

@media (max-width: 420px) {
  .topo__acoes .icone { display: none; }
  .abertura__local { font-size: .74rem; letter-spacing: .1em; }
  .etiqueta { font-size: .68rem; padding: 6px 8px; letter-spacing: .06em; }
  .abertura__acoes .botao { width: 100%; }
}

/* ---------- menos movimento ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .risco span { transform: scaleX(.68); }
  .abertura__texto, .abertura__foto img { transform: none; opacity: 1; }
  .abertura__foto::after { opacity: 0; }
  .galeria__item a:hover img { transform: none; }
}
