/* Barbearia União — estilos da landing page */

:root {
  /* Cores */
  --carvao: #0e0f11;
  --grafite: #16181b;
  --grafite-2: #1f2226;
  --linha: #2d3136;
  --texto: #f4f4f1;
  --texto-suave: #a7abb1;
  --papel: #f4f4f1;
  --tinta: #121316;
  --tinta-suave: #4b4f56;
  --linha-clara: #d6d7d2;
  --vermelho: #d0161b;
  --azul: #1d3a9e;
  --azul-claro: #7f9cff;
  --whats: #25d366;
  --whats-hover: #3ee07b;
  --whats-tinta: #062a14;

  /* Cabeçalho e hero (cores medidas na referência "sessao hero.png") */
  --fundo-topo: #0c0d0f;
  --fundo-hero: #0c0d0e;
  --linha-topo: #18191a;
  --cinza-menu: #d4d5d9;
  --cinza-legenda: #dcdde0;
  --cinza-texto: #c9cacf;
  --cinza-lema: #c4c5c6;
  --branco-botao: #fdfdfd;
  --borda-botao: #3c3d40;
  --vermelho-vivo: #f80d15;
  --azul-poste: #213a8f;

  /* Tipografia */
  --font-display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Cormorant Garamond', Garamond, 'Times New Roman', serif;

  /* Medidas */
  /* 1 px da referência de 1672 px de largura, limitado em telas muito largas.
     cqw mede a largura útil do body (sem a barra de rolagem). */
  --u: min(calc(100cqw / 1672), 1.15px);
  --stage-max: calc(1672 * var(--u));
  --header-h: 72px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --section-y: clamp(72px, 10vw, 136px);
}
@media (min-width: 1000px) {
  :root { --header-h: max(76px, calc(91 * var(--u))); }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--carvao);
  color: var(--texto);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  container-type: inline-size;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; }

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

.icon { width: 1.25em; height: 1.25em; flex: none; }

:focus-visible {
  outline: 2px solid var(--azul-claro);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 18px; background: var(--papel); color: var(--tinta);
  font-weight: 600; text-decoration: none; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

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

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

.display, .title {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 800;
  margin: 0;
  text-wrap: balance;
}

.display {
  font-size: clamp(2.45rem, 1.2rem + 5.2vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.025em;
}

.title {
  font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -.02em;
}

/* O ponto final em vermelho é o detalhe da marca nos títulos. */
.dot { color: var(--vermelho); }

.lead {
  font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem);
  line-height: 1.55;
  color: var(--texto-suave);
  max-width: 34ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--texto-suave);
}
.eyebrow-dark { color: var(--tinta-suave); }

/* Mini poste de barbeiro: assinatura da marca */
.pole-chip {
  width: 26px; height: 8px; border-radius: 4px; flex: none;
  background: repeating-linear-gradient(-55deg,
    var(--vermelho) 0 5px, #fff 5px 8px, var(--azul) 8px 13px, #fff 13px 16px);
}

.fine { font-size: .9rem; color: var(--texto-suave); }

/* Links curtos fora de parágrafos ganham área de toque maior sem mudar o layout. */
.facts a, .footer-list a, .section-note a {
  display: inline-block;
  padding-block: .55rem;
  margin-block: -.55rem;
}

.text-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-block: .35rem;
}
.text-link .icon { transition: transform .25s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 52px;
  padding: .85rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 44px; padding: .6rem 1rem; font-size: .94rem; }
.btn-lg { min-height: 60px; padding: 1rem 1.8rem; font-size: 1.08rem; }

.btn-light { background: var(--papel); color: var(--tinta); }
.btn-light:hover { background: #fff; }

.btn-ghost { background: transparent; color: var(--texto); border-color: #4a4f56; }
.btn-ghost:hover { border-color: var(--texto); }

.btn-whatsapp { background: var(--whats); color: var(--whats-tinta); }
.btn-whatsapp:hover { background: var(--whats-hover); }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Cabeçalho ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--fundo-topo);
  border-bottom: 1px solid var(--linha-topo);
}

.header-inner {
  height: 100%;
  max-width: var(--stage-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  border-radius: var(--radius);
}

.brand-badge {
  --badge: 48px;
  --badge-pad: 4px;
  display: grid;
  place-items: center;
  width: var(--badge);
  height: var(--badge);
  background: #fff;
  border-radius: 8px;
  flex: none;
}
.brand-badge picture { display: contents; }
.brand-badge img { width: auto; height: calc(var(--badge) - var(--badge-pad) * 2); }
.brand-badge-lg { --badge: 84px; --badge-pad: 8px; border-radius: 14px; }

.brand-name {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.12;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 48px;
  padding: 0 1rem;
  background: transparent;
  border: 1px solid #3c3d40;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
}

.nav-list a {
  display: block;
  text-decoration: none;
  font-weight: 500;
}

.nav-cta {
  background: var(--branco-botao);
  color: #000;
  font-weight: 550;
}
.nav-cta:hover { background: #fff; }

@media (max-width: 999.98px) {
  .nav-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    padding: 1rem var(--gutter) 1.75rem;
    background: var(--fundo-topo);
    border-bottom: 1px solid var(--linha-topo);
  }
  .js .nav-panel { display: none; }
  .js .site-header.is-open .nav-panel { display: block; animation: drop .25s var(--ease); }

  .nav-list a {
    padding: .95rem 0;
    font-family: var(--font-display);
    font-stretch: 112%;
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--cinza-menu);
    border-bottom: 1px solid var(--linha);
  }
  .nav-list a.is-active { color: #fff; }
  .nav-list a.is-active::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 3px;
    margin-right: 12px;
    vertical-align: middle;
    background: var(--vermelho-vivo);
  }
  .nav-cta { width: 100%; margin-top: 1.25rem; min-height: 52px; }
}

@media (max-width: 380px) {
  .brand-name { display: none; }
}

@media (min-width: 1000px) {
  .header-inner { padding-inline: calc(78 * var(--u)) calc(75 * var(--u)); }

  .brand { gap: calc(14 * var(--u)); }
  .brand-badge { --badge: max(48px, calc(57 * var(--u))); --badge-pad: max(4px, calc(5 * var(--u))); border-radius: 9px; }
  .brand-name { font-size: max(14px, calc(16 * var(--u))); }

  .nav-toggle { display: none; }
  .nav-panel { display: flex; align-items: center; gap: max(32px, calc(70 * var(--u))); }
  .nav-list { display: flex; gap: max(24px, calc(38 * var(--u))); }
  .nav-list a {
    position: relative;
    padding-block: 10px;
    font-size: max(16px, calc(18.5 * var(--u)));
    line-height: 1.2;
    color: var(--cinza-menu);
    transition: color .2s var(--ease);
  }
  .nav-list a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--vermelho-vivo);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
  }
  .nav-list a:hover, .nav-list a.is-active { color: #fff; }
  .nav-list a:hover::after, .nav-list a.is-active::after { transform: none; }

  .nav-cta {
    min-height: max(46px, calc(51 * var(--u)));
    padding: 0 calc(28 * var(--u));
    gap: calc(14 * var(--u));
    font-size: max(16px, calc(18 * var(--u)));
  }
  .nav-cta .icon { width: max(22px, calc(25 * var(--u))); height: max(22px, calc(25 * var(--u))); }
}

@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--fundo-hero);
}

.hero-stage {
  position: relative;
  max-width: var(--stage-max);
  margin-inline: auto;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 40px var(--gutter) 8px;
}

/* Legenda com o mini poste de barbeiro */
.hero-eyebrow {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 700;
  font-size: clamp(10.5px, 2.85vw, 15px);
  line-height: 1.3;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cinza-legenda);
}
.hero-chip {
  flex: none;
  /* centralizado na primeira linha quando a legenda quebra no celular */
  margin-top: calc((1.3em - 9px) / 2);
  width: 32px;
  height: 9px;
  border-radius: 999px;
  background: repeating-linear-gradient(120deg,
    #fff 0 2.6px, var(--vermelho-vivo) 2.6px 7.2px, #fff 7.2px 11.4px, var(--azul-poste) 11.4px 16px, #fff 16px 20.2px);
  background-size: 22px 100%;
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 106%;
  font-weight: 900;
  font-size: clamp(40px, 11.4vw, 96px);
  line-height: .88;
  letter-spacing: -.02em;
  color: #fff;
}
.hero-title > span { display: block; }
.hero-title .dot { color: var(--vermelho-vivo); }

.hero-lead {
  margin-top: 22px;
  max-width: 34em;
  font-size: clamp(17px, 2.6vw, 22px);
  line-height: 1.4;
  color: var(--cinza-texto);
}
.br-desk { display: none; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn-hero {
  min-height: 56px;
  padding: 0 28px;
  gap: 14px;
  border-radius: 5px;
  font-size: 17px;
  font-weight: 550;
}
.btn-hero .icon { width: 24px; height: 24px; }
.btn-hero-light { background: var(--branco-botao); color: #000; }
.btn-hero-light:hover { background: #fff; }
.btn-hero-ghost { gap: 16px; background: transparent; color: #fff; border-color: var(--borda-botao); }
.btn-hero-ghost:hover { border-color: #8c8f94; }
.btn-hero .icon-move { width: 28px; height: 28px; stroke-width: 1.5; transition: transform .3s var(--ease); }
.btn-hero-ghost:hover .icon-move { transform: translateX(4px); }

@media (max-width: 519.98px) {
  .hero-actions { flex-direction: column; }
  .btn-hero { width: 100%; }
}

/* Arte da marca recortada da referência. No celular e no tablet fica abaixo
   do texto, com o topo dissolvido no fundo para não parecer um card. */
.hero-art {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 928 / 850;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%);
  mask-image: linear-gradient(to bottom, transparent, #000 16%);
}
.hero-art picture { display: block; width: 100%; height: 100%; }
.hero-art-img { width: 100%; height: 100%; object-fit: cover; }

/* Linha e bloco "Corte / Disciplina / Estilo / União": texto real sobre a arte,
   posicionado em proporção ao recorte (medidas da referência de 928 × 850). */
.hero-art-rule {
  position: absolute;
  left: 7.33%;
  top: 60.35%;
  width: max(1px, .17cqw);
  height: 23.4%;
  background: rgba(255, 255, 255, .62);
}
.hero-motto {
  position: absolute;
  left: 11.3%;
  top: 64.55%;
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.86cqw;
  line-height: 1.465;
  letter-spacing: .225em;
  text-transform: uppercase;
  color: var(--cinza-lema);
}
.hero-motto-bars {
  display: block;
  width: 5.6cqw;
  height: .98cqw;
  margin-top: 1.5cqw;
  background: linear-gradient(var(--azul-poste) 0 46%, transparent 46% 54%, var(--vermelho-vivo) 54%);
}
@container (max-width: 559.98px) {
  .hero-art-rule, .hero-motto { display: none; }
}
/* Entre 1000 e 1200 px a arte encosta nos botões: o bloco de palavras sai. */
@media (min-width: 1000px) and (max-width: 1199.98px) {
  .hero-art-rule, .hero-motto { display: none; }
}

@media (min-width: 640px) and (max-width: 999.98px) {
  .hero-copy { padding-top: 64px; }
  .hero-eyebrow { margin-bottom: 32px; }
  .hero-chip { width: 35px; height: 10px; margin-top: calc((1.3em - 10px) / 2); }
  .hero-lead { margin-top: 30px; }
  .hero-actions { gap: 20px; margin-top: 36px; }
  .btn-hero { min-height: 58px; font-size: 18px; }
}

/* Desktop: a composição da referência (1672 × 941), escalada pela largura. */
@media (min-width: 1000px) {
  .hero-stage { min-height: calc(850 * var(--u)); }

  .hero-copy {
    padding: calc(117 * var(--u)) 0 calc(86 * var(--u)) calc(80 * var(--u));
  }

  .hero-eyebrow {
    gap: calc(14 * var(--u));
    margin-bottom: calc(36 * var(--u));
    font-size: max(12px, calc(15 * var(--u)));
  }
  .hero-chip {
    width: calc(35 * var(--u));
    height: calc(10 * var(--u));
    margin-top: calc((1.3em - 14 * var(--u)) / 2);
    background-size: calc(24 * var(--u)) 100%;
  }

  .hero-title { font-size: max(56px, calc(104 * var(--u))); }

  .hero-lead {
    margin-top: calc(21 * var(--u));
    max-width: none;
    font-size: max(17px, calc(26.6 * var(--u)));
  }
  .br-desk { display: inline; }

  .hero-actions {
    flex-wrap: nowrap;
    gap: calc(20 * var(--u));
    margin-top: calc(34 * var(--u));
  }

  .btn-hero {
    min-height: max(52px, calc(58 * var(--u)));
    font-size: max(16px, calc(19 * var(--u)));
  }
  .btn-hero .icon { width: max(22px, calc(24 * var(--u))); height: max(22px, calc(24 * var(--u))); }
  .btn-hero-light { padding: 0 calc(27 * var(--u)) 0 calc(29 * var(--u)); gap: calc(15 * var(--u)); }
  .btn-hero-ghost { padding: 0 calc(28 * var(--u)) 0 calc(33 * var(--u)); gap: calc(18 * var(--u)); }
  .btn-hero .icon-move { width: max(26px, calc(32 * var(--u))); height: max(26px, calc(32 * var(--u))); }

  .hero-art {
    position: absolute;
    top: 0;
    right: 0;
    width: calc(928 * var(--u));
    -webkit-mask-image: linear-gradient(to right, transparent, #000 7%);
    mask-image: linear-gradient(to right, transparent, #000 7%);
  }
}

/* Entre 1000 e 1400 px o texto (com tamanhos mínimos) fica mais alto que a arte:
   a base da arte se dissolve no fundo em vez de terminar num corte reto. */
@media (min-width: 1000px) and (max-width: 1399.98px) {
  .hero-art {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 7%), linear-gradient(to top, transparent, #000 18%);
    mask-image: linear-gradient(to right, transparent, #000 7%), linear-gradient(to top, transparent, #000 18%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }
}

/* Telas muito largas: a composição fica centralizada e a arte também se
   dissolve à direita. */
@media (min-width: 1940px) {
  .hero-art {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 92%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 7%, #000 92%, transparent);
  }
}

/* ---------- Galeria de cortes ---------- */

.cuts {
  padding-block: var(--section-y);
  background: var(--grafite);
  border-top: 1px solid var(--linha);
}

.section-head {
  display: grid;
  gap: 1.25rem;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section-note { color: var(--texto-suave); max-width: 42ch; }
.section-note a { color: var(--texto); text-underline-offset: 3px; }

@media (min-width: 900px) {
  .section-head { grid-template-columns: 1.3fr 1fr; align-items: end; }
  .section-note { justify-self: end; }
}

.gallery {
  --offset: clamp(24px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 24px);
  padding-bottom: var(--offset);
}
/* Celular: a primeira foto em destaque e, abaixo, duas colunas com a da direita deslocada. */
.gallery-item:first-child { grid-column: 1 / -1; }
.gallery-item:nth-child(2n + 3) { transform: translateY(var(--offset)); }

/* Telas maiores: 3 fotos grandes na primeira linha e 4 menores na segunda,
   com algumas descendo um pouco para quebrar a grade. */
@media (min-width: 600px) {
  .gallery {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
    row-gap: clamp(16px, 2.5vw, 32px);
    padding-bottom: 0;
  }
  .gallery-item { grid-column: span 3; }
  .gallery-item:nth-child(-n + 3) { grid-column: span 4; }
  .gallery-item:nth-child(2n + 3) { transform: none; }
  .gallery-item:nth-child(2) { margin-top: var(--offset); }
  .gallery-item:nth-child(5), .gallery-item:nth-child(7) { margin-top: calc(var(--offset) * .6); }
}

.shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--grafite-2);
  cursor: zoom-in;
  aspect-ratio: 4 / 5;
}
.shot picture, .shot img { width: 100%; height: 100%; }
.shot img {
  object-fit: cover;
  object-position: 50% 30%;
  transition: transform .7s var(--ease), filter .7s var(--ease);
}
.shot::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14, 15, 17, .55), transparent 40%);
  opacity: .6;
  transition: opacity .4s var(--ease);
}
.shot-meta {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(14, 15, 17, .72);
  color: var(--texto);
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.shot-meta .icon { width: 18px; height: 18px; }

.shot:hover img, .shot:focus-visible img { transform: scale(1.04); }
.shot:hover::after { opacity: 1; }
.shot:hover .shot-meta, .shot:focus-visible .shot-meta { background: var(--papel); color: var(--tinta); transform: scale(1.06); }
.shot:focus-visible { outline-offset: 4px; }

.cuts-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-top: clamp(40px, 5vw, 64px);
}

/* ---------- Sobre ---------- */

.about {
  padding-block: var(--section-y);
  background: var(--papel);
  color: var(--tinta);
}
.about :focus-visible { outline-color: var(--azul); }

.about-grid { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }

.about-logo {
  display: grid;
  place-items: center;
  padding: clamp(24px, 4vw, 56px);
  border: 1px solid var(--linha-clara);
  border-radius: var(--radius);
}
.about-logo img { width: min(100%, 340px); }
@media (max-width: 899.98px) {
  .about-logo img { width: min(70%, 240px); }
}

.about-copy .title { margin-bottom: 1.5rem; }
.about-copy > p { max-width: 52ch; color: var(--tinta-suave); }
.about-copy > p + p { margin-top: 1rem; }

.facts { margin: 2.25rem 0 0; display: grid; }
.facts div {
  display: grid;
  gap: .25rem;
  padding-block: 1rem;
  border-top: 1px solid var(--linha-clara);
}
.facts div:last-child { border-bottom: 1px solid var(--linha-clara); }
.facts dt {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tinta-suave);
}
.facts dd { margin: 0; font-weight: 500; }
.facts a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.facts a:hover { color: var(--azul); }

@media (min-width: 600px) {
  .facts div { grid-template-columns: 9.5rem 1fr; align-items: baseline; }
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
}

/* ---------- Agendamento ---------- */

.booking { padding-block: var(--section-y); background: var(--carvao); }

.booking-inner { display: grid; gap: 2rem; }
.booking-title { max-width: 12ch; }
.booking-side { display: grid; gap: 1.5rem; justify-items: start; align-content: end; }

@media (min-width: 960px) {
  .booking-inner { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 4rem; }
}

/* ---------- Localização ---------- */

.location {
  padding-block: var(--section-y);
  background: var(--grafite);
  border-top: 1px solid var(--linha);
}

.location-grid { display: grid; gap: 2rem; }

.location-card {
  display: grid;
  gap: 1.5rem;
  padding: clamp(24px, 4vw, 44px);
  background: var(--grafite-2);
  border: 1px solid var(--linha);
  border-radius: var(--radius);
}
.icon-pin { width: 32px; height: 32px; color: var(--vermelho); }

.address { font-style: normal; }
.address-link { display: grid; gap: .35rem; text-decoration: none; }
.address-link:hover .address-street {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.address-street {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 800;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem);
  line-height: 1.1;
  letter-spacing: -.01em;
}
.address-hood { font-size: 1.1rem; color: var(--texto-suave); }


@media (min-width: 900px) {
  .location-grid { grid-template-columns: 1fr 1.3fr; align-items: start; }
}

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

.site-footer {
  padding-block: 56px 96px;
  background: #0a0b0c;
  border-top: 1px solid var(--linha);
  font-size: .95rem;
}

.footer-grid { display: grid; gap: 2rem; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-name {
  font-family: var(--font-display);
  font-stretch: 115%;
  font-weight: 800;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.footer-list { display: grid; gap: .9rem; color: var(--texto-suave); }
.footer-list li { display: flex; align-items: flex-start; gap: .75rem; }
.footer-list .icon { margin-top: .15rem; color: var(--texto); }
.footer-list a { text-underline-offset: 3px; }
.footer-list a:hover { color: var(--texto); }

.copyright { color: #7d8187; font-size: .85rem; padding-top: 1.5rem; border-top: 1px solid var(--linha); }

.dev-credit { margin-top: -1rem; color: #7d8187; font-size: .8rem; text-align: center; }
.dev-credit a { color: var(--texto-suave); text-decoration: underline; text-underline-offset: 3px; }
.dev-credit a:hover { color: var(--texto); }

@media (min-width: 900px) {
  .site-footer { padding-bottom: 56px; }
  .footer-grid { grid-template-columns: 1fr 1.4fr; align-items: center; }
  .copyright, .dev-credit { grid-column: 1 / -1; }
}

/* ---------- WhatsApp flutuante ---------- */

.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--whats);
  color: var(--whats-tinta);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s, background-color .2s;
}
.wa-float .icon { width: 28px; height: 28px; }
.wa-float:hover { background: var(--whats-hover); }
.wa-float.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
@media (min-width: 900px) {
  .wa-float { right: 24px; bottom: 24px; width: 58px; height: 58px; }
}

/* ---------- Lightbox ---------- */

.lightbox {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(8, 9, 10, .96);
  color: var(--texto);
  overscroll-behavior: contain;
}
.lightbox::backdrop { background: rgba(8, 9, 10, .8); }
.lightbox[open] { animation: fade .25s var(--ease); }
@keyframes fade { from { opacity: 0; } }

.lightbox-frame {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  justify-items: center;
  padding: 16px;
}

.lightbox-count {
  justify-self: start;
  align-self: center;
  min-height: 48px;
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  color: var(--texto-suave);
}

.lightbox-figure {
  display: grid;
  gap: .9rem;
  justify-items: center;
  min-height: 0;
  max-height: 100%;
}
.lightbox-figure img {
  width: auto;
  max-width: min(100%, 960px);
  max-height: calc(100svh - 220px);
  object-fit: contain;
  border-radius: var(--radius);
  touch-action: pan-y;
  user-select: none;
}
.lightbox-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .25rem 1rem;
  font-size: .9rem;
  color: var(--texto-suave);
  text-align: center;
}
.lightbox-caption a { color: var(--texto); text-underline-offset: 3px; padding-block: .25rem; }

.lb-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid #4a4f56;
  border-radius: 50%;
  background: rgba(22, 24, 27, .85);
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.lb-btn:hover { background: var(--papel); color: var(--tinta); border-color: var(--papel); }
.lb-btn .icon { width: 22px; height: 22px; }

.lb-close { position: absolute; top: 16px; right: 16px; }
.lb-prev, .lb-next { position: absolute; bottom: 16px; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }

@media (min-width: 900px) {
  .lightbox-frame { padding: 24px 96px; }
  .lb-close { top: 24px; right: 24px; }
  .lb-prev, .lb-next { top: 50%; bottom: auto; transform: translateY(-50%); }
  .lb-prev { left: 24px; }
  .lb-next { right: 24px; }
  .lightbox-figure img { max-height: calc(100svh - 160px); }
}
@media (max-width: 899.98px) {
  .lightbox-frame { padding-bottom: 80px; }
}

/* ---------- Entrada suave ---------- */

.js [data-reveal].is-pending {
  opacity: 0;
  translate: 0 18px;
}
.js [data-reveal] {
  transition: opacity .6s var(--ease), translate .6s var(--ease);
  transition-delay: var(--delay, 0s);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal].is-pending { opacity: 1; translate: none; }
  .shot:hover img, .shot:focus-visible img { transform: none; }
}
