/* =====================================================================
   Barbearia Ferreira — estilo
   Tudo local (fontes, imagens, scripts): o kalsites.com.br bloqueia
   qualquer arquivo vindo de fora da própria pasta.
   ===================================================================== */

@font-face {
  font-family: "Big Shoulders";
  src: url("../fontes/big-shoulders.woff2") format("woff2");
  font-weight: 600 900;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fontes/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #0a0c0f;
  --bg-2: #0e1217;
  --bg-3: #141a21;
  --bg-4: #1a212a;
  --linha: rgba(255, 255, 255, .08);
  --linha-forte: rgba(255, 255, 255, .16);
  --texto: #f3f5f7;
  --suave: #a6b0bb;
  --fraco: #6d7885;
  --azul: #29b6ff;
  --azul-forte: #0b84ff;
  --azul-fundo: rgba(41, 182, 255, .12);
  --vermelho: #ff4545;
  --ouro: #f5d634;       /* amarelo do logo */
  --verde: #25d366;
  --tinta: #04111b;

  --raio: 16px;
  --raio-g: 28px;
  --largura: 1200px;
  --lateral: clamp(16px, 4vw, 40px);

  --fonte-titulo: "Big Shoulders", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --fonte-serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --fonte-texto: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --sombra: 0 30px 80px -30px rgba(0, 0, 0, .8);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
/* O brilho do hero e a faixa inclinada passam da borda de propósito. Sem cortar
   no html, o Chrome do celular aumenta a página para caber e tudo encolhe. */
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--texto);
  font-family: var(--fonte-texto);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* Granulado sutil por cima de tudo: tira o "chapado" do preto. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .05;
  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%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1; }
p { margin: 0; }
em { font-family: var(--fonte-serif); font-style: italic; font-weight: 400; color: var(--azul); letter-spacing: 0; text-transform: none; }
:focus-visible { outline: 2px solid var(--azul); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.pular {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--azul); color: var(--tinta); padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.pular:focus { top: 16px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 10px 20px;
  border: 1px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s, color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn-grande { min-height: 54px; padding: 14px 28px; font-size: 16px; }
.btn-azul { background: var(--azul); color: var(--tinta); box-shadow: 0 10px 30px -10px var(--azul); }
.btn-azul:not(:disabled):hover { background: #5ac8ff; box-shadow: 0 14px 40px -10px var(--azul); }
.btn-contorno { border-color: var(--linha-forte); background: rgba(255, 255, 255, .03); }
.btn-contorno:hover { border-color: var(--azul); color: var(--azul); }
.btn-fantasma { background: transparent; border-color: transparent; color: var(--suave); padding-inline: 14px; }
.btn-fantasma:hover { color: var(--texto); }
.btn-whats { background: var(--verde); color: #04160b; }
.btn-whats:hover { background: #3ee07d; }
.btn-texto { background: none; color: var(--suave); text-decoration: underline; text-underline-offset: 4px; }
.btn.centro { display: flex; width: fit-content; margin: 48px auto 0; }

.contador {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 99px; background: var(--vermelho); color: #fff; font-size: 11px; font-weight: 800;
}

/* ---------- Topo ---------- */
.topo {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--lateral);
  transition: background .3s, border-color .3s, padding .3s;
  border-bottom: 1px solid transparent;
}
.topo.rolado {
  background: rgba(10, 12, 15, .78);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-color: var(--linha);
  padding-block: 10px;
}
.marca { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.marca-icone { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(245, 214, 52, .35); }
.marca-nome { font-family: var(--fonte-titulo); font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; line-height: 1; }
.marca-nome b { font-weight: 900; color: var(--ouro); }
.menu { display: flex; gap: 4px; }
.menu a {
  padding: 8px 14px; border-radius: 99px; text-decoration: none;
  color: var(--suave); font-size: 14px; font-weight: 600; transition: color .2s, background .2s;
}
.menu a:hover { color: var(--texto); background: rgba(255, 255, 255, .05); }
.topo-acoes { display: flex; align-items: center; gap: 6px; }

/* ---------- Seções ---------- */
.secao { padding: clamp(80px, 11vw, 140px) var(--lateral); max-width: calc(var(--largura) + 2 * var(--lateral)); margin: 0 auto; }
.secao-topo { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.rotulo {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  color: var(--azul); font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
}
.rotulo::before { content: ""; width: 26px; height: 2px; background: currentColor; }
h2 {
  font-family: var(--fonte-titulo); font-weight: 900; text-transform: uppercase;
  font-size: clamp(44px, 7vw, 88px); line-height: .9; letter-spacing: -.005em;
}
h2 em { font-size: 1.04em; }
.secao-lead { margin-top: 20px; color: var(--suave); font-size: clamp(16px, 1.6vw, 18px); max-width: 560px; }
.nota { margin-top: 28px; color: var(--fraco); font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(32px, 5vw, 72px);
  min-height: 100svh;
  max-width: calc(var(--largura) + 2 * var(--lateral)); margin: 0 auto;
  padding: 120px var(--lateral) 80px;
}
.hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 900px; height: 900px; right: -300px; top: -200px;
  background: radial-gradient(circle, rgba(41, 182, 255, .16), transparent 60%);
}
.status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; margin-bottom: 28px;
  border: 1px solid var(--linha-forte); border-radius: 99px; background: rgba(255, 255, 255, .03);
  font-size: 14px; font-weight: 600; color: var(--suave);
}
.status-ponto { width: 9px; height: 9px; border-radius: 50%; background: var(--fraco); }
.status.aberto .status-ponto { background: var(--verde); box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: pulso 2s infinite; }
.status.aberto { color: var(--texto); }
@keyframes pulso { 70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

.hero-titulo {
  font-family: var(--fonte-titulo); font-weight: 900; text-transform: uppercase;
  font-size: clamp(64px, 9.2vw, 138px); line-height: .96; letter-spacing: -.01em;
}
/* Entrelinha folgada o bastante para o acento do "É" não encostar no "S" de cima. */
.hero-titulo .linha { display: block; overflow: hidden; padding-top: .02em; }
.hero-titulo .linha > span { display: block; animation: sobe 1s var(--ease) both; }
.hero-titulo .linha:nth-child(2) > span { animation-delay: .1s; }
.hero-titulo .linha:nth-child(3) > span { animation-delay: .2s; }
.hero-titulo em { font-size: 1.08em; line-height: .8; }
@keyframes sobe { from { transform: translateY(105%); } to { transform: none; } }
.hero-lead { margin-top: 28px; max-width: 480px; color: var(--suave); font-size: clamp(16px, 1.5vw, 19px); animation: aparece 1s .35s var(--ease) both; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero .hero-ctas { animation: aparece 1s .45s var(--ease) both; }
.hero-numeros {
  display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 48px 0 0; padding: 28px 0 0; list-style: none;
  border-top: 1px solid var(--linha); animation: aparece 1s .55s var(--ease) both;
}
.hero-numeros strong { display: block; font-family: var(--fonte-titulo); font-size: 34px; font-weight: 800; line-height: 1; }
.hero-numeros span { color: var(--fraco); font-size: 13px; }
@keyframes aparece { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero-visual { position: relative; justify-self: center; width: min(100%, 460px); animation: aparece 1.2s .2s var(--ease) both; }
.hero-foto {
  margin: 0; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: 240px 240px var(--raio-g) var(--raio-g);
  box-shadow: var(--sombra);
  position: relative;
}
.hero-foto::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 12, 15, .7)), linear-gradient(120deg, rgba(41, 182, 255, .18), transparent 50%);
}
.hero-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(.85) contrast(1.05); transform: scale(1.06); transition: transform 1.5s var(--ease); }
.hero-visual:hover .hero-foto img { transform: scale(1.1); }
.hero-visual::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border: 1.5px solid var(--azul); border-radius: 240px 240px var(--raio-g) var(--raio-g); opacity: .5;
}

/* Poste de barbeiro girando */
.poste {
  position: absolute; left: -26px; top: 18%; width: 22px; height: 150px;
  border-radius: 11px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--linha-forte), 0 20px 40px -10px rgba(0, 0, 0, .8);
}
.poste span {
  position: absolute; inset: -60px 0 0;
  background: repeating-linear-gradient(-45deg,
    var(--vermelho) 0 10px, #fff 10px 20px, var(--azul-forte) 20px 30px, #fff 30px 40px);
  background-size: 100% 56.57px;
  animation: poste 1.6s linear infinite;
}
@keyframes poste { to { transform: translateY(56.57px); } }

.selo {
  position: absolute; right: -46px; top: -40px; width: 168px; height: 168px;
  display: grid; place-items: center;
}
.selo-giro { position: absolute; inset: 0; width: 100%; height: 100%; animation: gira 18s linear infinite; }
.selo img {
  width: 104px; height: 104px; border-radius: 50%;
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px rgba(245, 214, 52, .5), 0 20px 40px -10px rgba(0, 0, 0, .9);
}
.selo-giro text { fill: var(--texto); font-family: var(--fonte-titulo); font-weight: 800; font-size: 15.5px; letter-spacing: .2em; }
@keyframes gira { to { transform: rotate(360deg); } }

.cartao-flutuante {
  position: absolute; left: -48px; bottom: 36px;
  display: grid; gap: 2px; padding: 16px 20px;
  background: rgba(20, 26, 33, .82); border: 1px solid var(--linha-forte); border-radius: var(--raio);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--sombra);
  animation: flutua 6s ease-in-out infinite;
}
.cartao-rotulo { color: var(--fraco); font-size: 12px; font-weight: 600; }
.cartao-flutuante strong { font-family: var(--fonte-titulo); font-size: 28px; font-weight: 800; line-height: 1.1; }
.cartao-flutuante a { color: var(--azul); font-size: 13px; font-weight: 700; text-decoration: none; }
@keyframes flutua { 50% { transform: translateY(-10px); } }

/* ---------- Faixa corrida ---------- */
.faixa {
  overflow: hidden; border-block: 1px solid var(--linha);
  background: var(--azul); color: var(--tinta);
  transform: rotate(-1.5deg); margin: 0 -20px; position: relative; z-index: 2;
}
.faixa-trilho { display: flex; width: max-content; animation: corre 32s linear infinite; }
.faixa span, .faixa i {
  padding: 14px 18px; font-family: var(--fonte-titulo); font-weight: 900; font-style: normal;
  font-size: clamp(22px, 3vw, 34px); text-transform: uppercase; line-height: 1;
}
.faixa i { padding-inline: 4px; opacity: .55; }
@keyframes corre { to { transform: translateX(-50%); } }

/* ---------- Como funciona ---------- */
.passos-lista {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin: 0; padding: 0; list-style: none; counter-reset: passo;
}
.passos-lista li {
  position: relative; padding: 32px 28px 30px;
  border: 1px solid var(--linha); border-radius: var(--raio-g);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  transition: border-color .3s, transform .4s var(--ease);
}
.passos-lista li:hover { border-color: rgba(41, 182, 255, .45); transform: translateY(-4px); }
.passo-num { position: absolute; right: 24px; top: 20px; font-family: var(--fonte-titulo); font-size: 56px; font-weight: 900; color: rgba(255, 255, 255, .06); line-height: 1; }
.passos-lista svg { width: 44px; height: 44px; fill: none; stroke: var(--azul); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 26px; }
.passos-lista h3 { font-family: var(--fonte-titulo); font-size: 30px; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; }
.passos-lista p { color: var(--suave); }

/* ---------- Serviços ---------- */
.abas { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 28px; scrollbar-width: none; }
.abas::-webkit-scrollbar { display: none; }
.abas button {
  flex: none; padding: 10px 18px; border-radius: 99px; cursor: pointer;
  border: 1px solid var(--linha-forte); background: transparent; color: var(--suave); font-weight: 700; font-size: 14px;
  transition: all .2s;
}
.abas button:hover { color: var(--texto); border-color: var(--suave); }
.abas button[aria-selected="true"] { background: var(--texto); border-color: var(--texto); color: var(--bg); }

.servicos-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.servico {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 24px; border: 1px solid var(--linha); border-radius: var(--raio);
  background: var(--bg-2); cursor: pointer; text-align: left; width: 100%;
  transition: border-color .25s, background .25s, transform .35s var(--ease);
  animation: aparece .5s var(--ease) both;
}
.servico:hover { border-color: rgba(41, 182, 255, .5); background: var(--bg-3); transform: translateY(-3px); }
.servico-topo { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.servico h3 { font-family: var(--fonte-titulo); font-size: 26px; font-weight: 800; text-transform: uppercase; line-height: 1.05; }
.servico-desc { color: var(--suave); font-size: 14.5px; flex: 1; }
.servico-rodape { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 8px; padding-top: 14px; border-top: 1px dashed var(--linha-forte); }
.duracao { color: var(--fraco); font-size: 13px; font-weight: 600; }
.preco { font-family: var(--fonte-titulo); font-size: 40px; font-weight: 900; line-height: .9; }
.preco small { font-size: .45em; font-weight: 700; color: var(--suave); margin-right: 3px; vertical-align: .55em; }
.servico-cta { color: var(--azul); font-size: 13px; font-weight: 800; opacity: 0; transform: translateX(-6px); transition: all .25s; }
.servico:hover .servico-cta, .servico:focus-visible .servico-cta { opacity: 1; transform: none; }
.tag {
  flex: none; padding: 4px 10px; border-radius: 99px; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  background: var(--azul-fundo); color: var(--azul); border: 1px solid rgba(41, 182, 255, .3);
}
.tag.quente { background: rgba(255, 69, 69, .12); color: #ff7a7a; border-color: rgba(255, 69, 69, .35); }

/* ---------- Agendar ---------- */
.agendar { display: grid; grid-template-columns: 1fr 420px; gap: clamp(40px, 7vw, 100px); align-items: center; }
.vantagens { margin: 28px 0 32px; padding: 0; list-style: none; display: grid; gap: 14px; }
.vantagens li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.vantagens svg { width: 24px; height: 24px; flex: none; padding: 4px; border-radius: 50%; background: var(--azul-fundo); fill: none; stroke: var(--azul); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* O "celular" */
.app {
  position: relative; display: flex; flex-direction: column;
  height: 780px; max-height: calc(100svh - 40px);
  border-radius: 48px; overflow: hidden;
  background: var(--bg-2);
  border: 10px solid #1b2129;
  box-shadow: 0 0 0 1px #2a323c, var(--sombra), 0 0 120px -40px rgba(41, 182, 255, .45);
}
.app-barra { padding: 12px 22px 0; background: var(--bg-2); position: relative; z-index: 2; }
.app-status { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; padding: 0 6px 10px; }
.app-status span:last-child { font-size: 11px; letter-spacing: .05em; }
.app-notch { width: 96px; height: 26px; border-radius: 20px; background: #000; }
.app-cabecalho { display: flex; align-items: center; gap: 10px; min-height: 58px; }
.app-voltar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--linha-forte); background: transparent; cursor: pointer; flex: none; }
.app-voltar svg { width: 20px; height: 20px; }
.app-passo { color: var(--azul); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.app-titulo { font-family: var(--fonte-titulo); font-size: 30px; font-weight: 800; text-transform: uppercase; margin-top: 4px; outline: none; }
.app-progresso { height: 4px; margin: 14px 0 0; border-radius: 4px; background: var(--linha); overflow: hidden; }
.app-progresso span { display: block; height: 100%; width: 20%; background: linear-gradient(90deg, var(--azul-forte), var(--azul)); border-radius: 4px; transition: width .5s var(--ease); }

.app-corpo { flex: 1; overflow-y: auto; padding: 20px 22px 24px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--bg-4) transparent; }
.tela { animation: tela .45s var(--ease) both; }
.tela.volta { animation-name: tela-volta; }
@keyframes tela { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@keyframes tela-volta { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }
.tela-rotulo { margin: 4px 0 12px; color: var(--suave); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.tela-rotulo small { text-transform: none; letter-spacing: 0; color: var(--fraco); font-weight: 600; }

.grupo-titulo { margin: 18px 0 10px; color: var(--fraco); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.grupo-titulo:first-child { margin-top: 0; }
.lista-escolha { display: grid; gap: 0; }
.escolha {
  display: flex; align-items: center; gap: 14px; padding: 14px; margin-bottom: 8px;
  border: 1px solid var(--linha); border-radius: 14px; background: var(--bg-3); cursor: pointer;
  transition: border-color .2s, background .2s;
}
.escolha:hover { border-color: var(--linha-forte); }
.escolha input { position: absolute; opacity: 0; pointer-events: none; }
.escolha-caixa {
  display: grid; place-items: center; width: 24px; height: 24px; flex: none;
  border: 2px solid var(--linha-forte); border-radius: 8px; transition: all .2s;
}
.escolha-caixa svg { width: 14px; height: 14px; fill: none; stroke: var(--tinta); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.5); transition: all .2s var(--ease); }
.escolha-info { flex: 1; min-width: 0; }
.escolha-info strong { display: block; font-size: 15px; }
.escolha-info small { color: var(--fraco); font-size: 12.5px; }
.escolha-preco { font-family: var(--fonte-titulo); font-weight: 800; font-size: 22px; }
.escolha:has(input:checked) { border-color: var(--azul); background: var(--azul-fundo); }
.escolha:has(input:checked) .escolha-caixa { background: var(--azul); border-color: var(--azul); }
.escolha:has(input:checked) .escolha-caixa svg { opacity: 1; transform: none; }
.escolha:has(input:focus-visible) { outline: 2px solid var(--azul); outline-offset: 2px; }

.cartoes-local, .cartoes-pagamento { display: grid; gap: 12px; }
.cartao-opcao {
  position: relative; display: flex; align-items: center; gap: 16px; padding: 18px;
  border: 1.5px solid var(--linha); border-radius: 18px; background: var(--bg-3); cursor: pointer;
  transition: border-color .2s, background .2s;
}
.cartao-opcao input { position: absolute; opacity: 0; pointer-events: none; }
.cartao-opcao strong { display: block; font-size: 16px; margin-bottom: 2px; }
.cartao-opcao small { color: var(--fraco); font-size: 13px; line-height: 1.4; display: block; }
.cartao-opcao-icone { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--bg-4); }
.cartao-opcao-icone svg { width: 24px; height: 24px; fill: none; stroke: var(--texto); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cartao-opcao:has(input:checked) { border-color: var(--azul); background: var(--azul-fundo); }
.cartao-opcao:has(input:checked) .cartao-opcao-icone { background: var(--azul); }
.cartao-opcao:has(input:checked) .cartao-opcao-icone svg { stroke: var(--tinta); }
.cartao-opcao:has(input:focus-visible) { outline: 2px solid var(--azul); outline-offset: 2px; }

.dias { display: flex; gap: 8px; overflow-x: auto; margin: 0 -22px 22px; padding: 2px 22px 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.dias::-webkit-scrollbar { display: none; }
.dia {
  flex: none; width: 62px; padding: 10px 0; scroll-snap-align: start;
  display: grid; justify-items: center; gap: 2px;
  border: 1.5px solid var(--linha); border-radius: 16px; background: var(--bg-3); cursor: pointer;
  transition: all .2s;
}
.dia small { font-size: 11px; font-weight: 800; color: var(--fraco); text-transform: uppercase; letter-spacing: .06em; }
.dia strong { font-family: var(--fonte-titulo); font-size: 26px; font-weight: 800; line-height: 1; }
.dia:hover:not(:disabled) { border-color: var(--linha-forte); }
.dia:disabled { opacity: .35; cursor: not-allowed; }
.dia:disabled small:last-child { color: var(--vermelho); }
.dia[aria-pressed="true"] { background: var(--azul); border-color: var(--azul); color: var(--tinta); }
.dia[aria-pressed="true"] small { color: var(--tinta); }

.horas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.hora {
  padding: 11px 0; border: 1.5px solid var(--linha); border-radius: 12px; background: var(--bg-3);
  font-weight: 700; font-size: 14px; cursor: pointer; transition: all .2s;
}
.hora:hover { border-color: var(--linha-forte); }
.hora[aria-pressed="true"] { background: var(--azul); border-color: var(--azul); color: var(--tinta); }
.horas-vazio { grid-column: 1 / -1; padding: 22px; text-align: center; color: var(--fraco); border: 1px dashed var(--linha-forte); border-radius: 14px; font-size: 14px; }

.formulario { display: grid; gap: 16px; }
.campo { display: grid; gap: 7px; }
.campo span { font-size: 13px; font-weight: 700; color: var(--suave); }
.campo small { color: var(--fraco); font-weight: 500; }
.campo input, .campo textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px;
  border: 1.5px solid var(--linha-forte); background: var(--bg-3); color: var(--texto);
  font: inherit; font-size: 16px; resize: none; transition: border-color .2s, box-shadow .2s;
}
.campo input::placeholder, .campo textarea::placeholder { color: var(--fraco); }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 4px var(--azul-fundo); }
.campo.erro input { border-color: var(--vermelho); }

.pix { margin-top: 18px; padding: 20px; border-radius: 20px; background: var(--bg-3); border: 1px solid var(--linha); text-align: center; animation: aparece .4s var(--ease) both; }
.pix-demo { margin-bottom: 14px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 196, 0, .1); border: 1px solid rgba(255, 196, 0, .3); color: #ffd666; font-size: 12.5px; line-height: 1.45; text-align: left; }
.pix-qr { width: 196px; margin: 0 auto; padding: 8px; border-radius: 16px; background: #fff; }
.pix-qr svg { display: block; width: 100%; height: auto; }
.pix-valor { margin: 14px 0; color: var(--suave); font-size: 14px; }
.pix-valor strong { display: block; color: var(--texto); font-family: var(--fonte-titulo); font-size: 34px; font-weight: 900; line-height: 1.1; }
.pix-copia { display: flex; gap: 8px; }
.pix-copia input { flex: 1; min-width: 0; padding: 0 14px; border-radius: 99px; border: 1px solid var(--linha-forte); background: var(--bg-2); color: var(--suave); font: 12px ui-monospace, Consolas, monospace; }
.pix-dica { margin-top: 12px; color: var(--fraco); font-size: 12.5px; }

.ticket { text-align: center; }
.ticket-topo { padding: 8px 0 20px; }
.ticket-check { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--azul); animation: pop .6s var(--ease) both; }
.ticket-check svg { width: 32px; height: 32px; fill: none; stroke: var(--tinta); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: risca .5s .35s var(--ease) forwards; }
@keyframes pop { from { transform: scale(0); } 60% { transform: scale(1.12); } to { transform: none; } }
@keyframes risca { to { stroke-dashoffset: 0; } }
.ticket-titulo { font-family: var(--fonte-titulo); font-size: 34px; font-weight: 900; text-transform: uppercase; line-height: 1; }
.ticket-sub { margin-top: 8px; color: var(--suave); font-size: 14px; }
.ticket-dados { margin: 0; padding: 16px 18px; text-align: left; border-radius: 18px 18px 0 0; background: var(--bg-3); border: 1px solid var(--linha); border-bottom: 0; }
.ticket-dados div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--linha); font-size: 14px; }
.ticket-dados div:last-child { border: 0; }
.ticket-dados dt { color: var(--fraco); }
.ticket-dados dd { margin: 0; font-weight: 700; text-align: right; }
.ticket-codigo {
  position: relative; padding: 14px; border-radius: 0 0 18px 18px; background: var(--bg-3);
  border: 1px solid var(--linha); border-top: 2px dashed var(--linha-forte); color: var(--fraco); font-size: 13px;
}
.ticket-codigo strong { color: var(--azul); font: 800 18px ui-monospace, Consolas, monospace; letter-spacing: .1em; margin-left: 6px; }
.ticket-acoes { display: grid; gap: 10px; margin-top: 18px; }

.dica {
  flex-basis: 100%; display: flex; align-items: center; gap: 10px;
  padding: 10px 10px 10px 14px; border-radius: 14px;
  background: rgba(255, 69, 69, .1); border: 1px solid rgba(255, 69, 69, .35);
  font-size: 13px; line-height: 1.35; animation: aparece .35s var(--ease) both;
}
.dica span { flex: 1; }
.dica button { flex: none; padding: 7px 14px; border: 0; border-radius: 99px; background: var(--vermelho); color: #fff; font-weight: 800; font-size: 13px; cursor: pointer; }
.app-rodape {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 22px 22px; border-top: 1px solid var(--linha); background: var(--bg-2);
}
.app-total { flex: 1; min-width: 0; }
.app-total small { display: block; color: var(--fraco); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-total strong { font-family: var(--fonte-titulo); font-size: 28px; font-weight: 900; line-height: 1; }
.app-rodape .btn { min-width: 140px; }

/* ---------- Trabalhos ---------- */
.galeria {
  display: grid; gap: 12px;
  grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 260px);
  grid-template-areas: "nevou matheus matheus" "nevou matheus matheus" "degrade cacheado kids";
}
.g-nevou { grid-area: nevou; } .g-matheus { grid-area: matheus; } .g-degrade { grid-area: degrade; }
.g-cacheado { grid-area: cacheado; } .g-kids { grid-area: kids; }
.galeria figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--raio); background: var(--bg-3); }
.galeria img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transition: transform .8s var(--ease), filter .5s; filter: grayscale(.25); }
.galeria figure:hover img { transform: scale(1.06); filter: none; }
.galeria figcaption {
  position: absolute; left: 12px; bottom: 12px;
  padding: 6px 12px; border-radius: 99px; background: rgba(10, 12, 15, .75);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 12.5px; font-weight: 700;
}
.destaques { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.destaques article { padding: 26px; border-radius: var(--raio); border: 1px solid var(--linha); background: var(--bg-2); }
.destaque-num { font-family: var(--fonte-titulo); font-size: 40px; font-weight: 900; line-height: 1; margin-bottom: 14px; color: var(--azul); }
.destaques h3 { font-family: var(--fonte-titulo); font-size: 24px; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; }
.destaques p:last-child { color: var(--suave); font-size: 14.5px; }

/* ---------- Domicílio ---------- */
.domicilio { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.domicilio-foto { margin: 0; position: relative; aspect-ratio: 4 / 5; border-radius: var(--raio-g); overflow: hidden; box-shadow: var(--sombra); }
.domicilio-foto img { width: 100%; height: 100%; object-fit: cover; }
.domicilio-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(41, 182, 255, .25), transparent 45%); mix-blend-mode: screen; }

/* ---------- Local ---------- */
.local-grade { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.mapa {
  position: relative; display: block; min-height: 420px; border-radius: var(--raio-g); overflow: hidden;
  border: 1px solid var(--linha); text-decoration: none;
}
.mapa svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mapa-pino { position: absolute; left: 50%; top: 45.5%; width: 54px; height: 54px; transform: translate(-50%, -88%); animation: quica 2.4s ease-in-out infinite; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .6)); }
.mapa-pino svg { position: static; }
@keyframes quica { 50% { transform: translate(-50%, -104%); } }
.mapa-etiqueta {
  position: absolute; left: 50%; top: 52%; transform: translateX(-50%);
  padding: 10px 16px; border-radius: 14px; background: var(--texto); color: var(--bg);
  font-size: 13px; text-align: center; white-space: nowrap; box-shadow: var(--sombra);
}
.mapa-etiqueta strong { display: block; font-size: 15px; }
.mapa-abrir {
  position: absolute; right: 16px; bottom: 16px; padding: 10px 16px; border-radius: 99px;
  background: rgba(10, 12, 15, .8); border: 1px solid var(--linha-forte); font-size: 13px; font-weight: 700;
  transition: background .2s, color .2s;
}
.mapa:hover .mapa-abrir { background: var(--azul); color: var(--tinta); }
.local-info { display: grid; gap: 16px; }
.local-bloco { padding: 24px; border-radius: var(--raio); border: 1px solid var(--linha); background: var(--bg-2); }
.local-bloco h3 { font-family: var(--fonte-titulo); font-size: 22px; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; color: var(--azul); }
.local-bloco p { color: var(--suave); }
.botoes-linha { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.horario { margin: 0; padding: 0; list-style: none; }
.horario li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--linha); color: var(--suave); font-size: 15px; }
.horario li:last-child { border: 0; }
.horario li.hoje { color: var(--texto); font-weight: 700; }
.horario li.hoje span:first-child::after { content: "hoje"; margin-left: 8px; padding: 2px 8px; border-radius: 99px; background: var(--azul-fundo); color: var(--azul); font-size: 11px; font-weight: 800; text-transform: uppercase; }

/* ---------- Chamada final ---------- */
.chamada {
  position: relative; display: grid; place-items: center; min-height: 72vh; padding: 100px var(--lateral);
  text-align: center; overflow: hidden; isolation: isolate;
}
.chamada::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../img/hero.webp") center / cover no-repeat;
  filter: grayscale(.4) brightness(.45);
  transform: scale(1.05);
}
.chamada::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(10, 12, 15, .35), var(--bg) 78%);
}
.chamada h2 { font-size: clamp(56px, 10vw, 140px); max-width: 1000px; }
.chamada p { margin: 20px 0 34px; color: var(--suave); font-size: 18px; }

/* ---------- Rodapé ---------- */
.rodape { border-top: 1px solid var(--linha); padding: 56px var(--lateral) 40px; max-width: calc(var(--largura) + 2 * var(--lateral)); margin: 0 auto; }
.rodape-grade { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; color: var(--suave); font-size: 15px; }
.rodape-marca { font-family: var(--fonte-titulo); font-size: 30px; font-weight: 700; text-transform: uppercase; color: var(--texto); margin-bottom: 8px; }
.rodape-marca b { font-weight: 900; color: var(--ouro); }
.rodape-id img { width: 72px; height: 72px; border-radius: 50%; margin-bottom: 14px; }
.rodape nav { display: grid; gap: 8px; }
.rodape nav a { text-decoration: none; }
.rodape nav a:hover { color: var(--azul); }
.rodape-credito { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--linha); color: var(--fraco); font-size: 13px; }
.rodape-credito a { color: var(--suave); }

/* ---------- WhatsApp flutuante ---------- */
.whats-flutuante {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--verde); color: #fff; box-shadow: 0 14px 34px -8px rgba(37, 211, 102, .6);
  transition: transform .25s var(--ease);
}
.whats-flutuante:hover { transform: scale(1.08); }
.whats-flutuante svg { width: 32px; height: 32px; }

/* ---------- Barra inferior (app) ---------- */
.barra-app { display: none; }

/* ---------- Gaveta ---------- */
.gaveta {
  width: min(440px, 100vw); max-width: 100vw; height: 100%; max-height: 100%;
  margin: 0 0 0 auto; padding: 0; border: 0; border-left: 1px solid var(--linha);
  background: var(--bg-2); color: var(--texto);
}
.gaveta[open] { display: flex; flex-direction: column; animation: gaveta .4s var(--ease); }
.gaveta::backdrop { background: rgba(0, 0, 0, .6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@keyframes gaveta { from { transform: translateX(100%); } }
.gaveta-topo { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--linha); }
.gaveta-topo h2 { font-size: 34px; }
.gaveta-fechar { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--linha-forte); background: none; font-size: 24px; line-height: 1; cursor: pointer; }
.gaveta-corpo { flex: 1; overflow-y: auto; padding: 20px 24px; display: grid; align-content: start; gap: 12px; }
.gaveta-nota { padding: 16px 24px 24px; color: var(--fraco); font-size: 13px; }
.reserva { padding: 18px; border-radius: var(--raio); border: 1px solid var(--linha); background: var(--bg-3); }
.reserva.passada { opacity: .55; }
.reserva-topo { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.reserva-data { font-family: var(--fonte-titulo); font-size: 26px; font-weight: 800; text-transform: uppercase; line-height: 1.05; }
.reserva-codigo { font: 700 12px ui-monospace, Consolas, monospace; color: var(--azul); }
.reserva p { margin-top: 6px; color: var(--suave); font-size: 14px; }
.reserva-acoes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.reserva-acoes .btn { min-height: 36px; padding: 6px 14px; font-size: 13px; }
.vazio { padding: 40px 10px; text-align: center; color: var(--fraco); }
.vazio strong { display: block; color: var(--texto); font-family: var(--fonte-titulo); font-size: 26px; text-transform: uppercase; margin-bottom: 6px; }
.vazio .btn { margin-top: 18px; }

/* ---------- Aviso (toast) ---------- */
.aviso {
  position: fixed; left: 50%; bottom: 28px; z-index: 150;
  max-width: calc(100vw - 32px); padding: 12px 20px; border-radius: 99px;
  background: var(--texto); color: var(--bg); font-weight: 700; font-size: 14px; text-align: center;
  box-shadow: var(--sombra);
  transform: translate(-50%, 140%); opacity: 0; transition: transform .4s var(--ease), opacity .3s;
  pointer-events: none;
}
.aviso.ativo { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Revelar ao rolar ---------- */
.js [data-revelar] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-revelar].visivel { opacity: 1; transform: none; }

/* =====================================================================
   Responsivo
   ===================================================================== */
@media (max-width: 1080px) {
  .menu { display: none; }
  .agendar { grid-template-columns: 1fr 400px; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 110px; text-align: left; }
  .hero-visual { width: min(100%, 400px); margin: 20px auto 0; }
  .cartao-flutuante { left: -8px; }
  .selo { right: -8px; width: 136px; height: 136px; }
  .selo img { width: 84px; height: 84px; }
  .poste { left: -8px; }
  .passos-lista { grid-template-columns: 1fr; }
  .agendar { grid-template-columns: 1fr; }
  .app { width: 100%; max-width: 440px; margin: 0 auto; }
  .galeria {
    grid-template-columns: repeat(2, 1fr); grid-template-rows: 220px repeat(3, 200px);
    grid-template-areas: "matheus matheus" "nevou degrade" "nevou kids" "cacheado kids";
  }
  .destaques { grid-template-columns: 1fr; }
  .domicilio { grid-template-columns: 1fr; }
  .domicilio-foto { aspect-ratio: 16 / 11; }
  .local-grade { grid-template-columns: 1fr; }
  .mapa { min-height: 300px; }
}

@media (max-width: 640px) {
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .topo-acoes .btn-fantasma { display: none; }
  .topo-acoes .btn-azul { min-height: 40px; padding: 8px 16px; font-size: 14px; }
  .marca-nome { font-size: 19px; }
  .marca-icone { width: 36px; height: 36px; }
  .hero-titulo { font-size: clamp(64px, 21vw, 110px); }
  .hero-ctas .btn { flex: 1 1 auto; }
  .hero-numeros { gap: 18px 24px; }
  .hero-numeros strong { font-size: 28px; }
  .servicos-grade { grid-template-columns: 1fr; }
  .servico-cta { opacity: 1; transform: none; }

  /* No celular o "celular" vira a própria tela: sem moldura. */
  .agendar { padding-inline: 0; }
  .agendar-intro { padding-inline: var(--lateral); }
  /* overflow: clip (e não hidden) para o rodapé do app conseguir grudar na tela. */
  .app { max-width: none; height: auto; max-height: none; min-height: 640px; overflow: clip; border-radius: 28px 28px 0 0; border-width: 1px 0 0; border-color: var(--linha-forte); box-shadow: none; }
  .app-status { display: none; }
  .app-barra { padding-top: 18px; }
  .app-corpo { overflow: visible; }
  .app-rodape { position: sticky; bottom: calc(66px + env(safe-area-inset-bottom)); z-index: 3; padding-bottom: 14px; }

  .galeria { grid-template-rows: 200px repeat(3, 160px); gap: 8px; }
  .whats-flutuante { display: none; }

  .barra-app {
    position: fixed; inset: auto 0 0; z-index: 60;
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
    background: rgba(14, 18, 23, .92); border-top: 1px solid var(--linha);
    backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  }
  .barra-app a, .barra-app button {
    position: relative; display: grid; justify-items: center; gap: 3px; padding: 4px 0;
    border: 0; background: none; color: var(--suave); font-size: 11px; font-weight: 700; text-decoration: none; cursor: pointer;
  }
  .barra-app svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .barra-app .contador { position: absolute; top: -2px; right: calc(50% - 22px); min-width: 17px; height: 17px; font-size: 10px; }
  .barra-app-central span {
    display: grid; place-items: center; width: 54px; height: 54px; margin-top: -26px;
    border-radius: 18px; background: var(--azul); color: var(--tinta);
    box-shadow: 0 10px 24px -6px var(--azul), 0 0 0 5px var(--bg);
  }
  .barra-app-central span svg { stroke-width: 3; }
  .barra-app-central { color: var(--texto) !important; }
  .aviso { bottom: calc(90px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-revelar] { opacity: 1; transform: none; }
}
