/* ==========================================================================
   B.office · Landing page Birigui (birigui-lp.boffice.com.br)
   CSS puro, sem pré-processador. Fonte: Host Grotesk (arquivos locais).
   ========================================================================== */

/* ---------- Fontes ---------- */
@font-face {
  font-family: "Host Grotesk";
  src: url("../fonts/host-grotesk-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Host Grotesk";
  src: url("../fonts/host-grotesk-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Host Grotesk";
  src: url("../fonts/host-grotesk-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Cores da marca (tiradas dos arquivos da logo) */
  --tinta: #111117;        /* texto da logo */
  --papel: #F2F2F2;        /* cinza claro da logo */
  --branco: #FFFFFF;
  --ponto: #E6C200;        /* o ponto amarelo do "B." */
  --ponto-claro: #F3D42A;  /* hover do botão amarelo */
  --grafite: #24272B;      /* balcão da recepção */

  /* Apoio */
  --linha: #D6D6D2;
  --linha-escura: #464A51;
  --texto-2: #55585F;
  --texto-claro: #C5C7CB;

  --fonte: "Host Grotesk", "Helvetica Neue", Arial, sans-serif;

  /* Escala tipográfica (14 · 17 · 21 · 24 · 36–52 · 44–76) */
  --t-p: 0.875rem;
  --t-corpo: 1.0625rem;
  --t-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --t-h3: 1.3125rem;
  --t-h2: clamp(2.125rem, 1.55rem + 2.3vw, 3.25rem);
  --t-h1: clamp(2.75rem, 1.5rem + 4.9vw, 5.375rem);

  --container: 1240px;
  --margem: clamp(20px, 5vw, 56px);
  --secao: clamp(80px, 10vw, 136px);

  --raio-foto: 6px;
  --raio-cartao: 12px;
  --raio-video: 22px;

  --topo-h: 72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--fonte);
  font-size: var(--t-corpo);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
@media (min-width: 1000px) { body { font-size: 1.125rem; } }

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
a[href^="tel:"] { white-space: nowrap; }

[id] { scroll-margin-top: calc(var(--topo-h) + 16px); }

:focus-visible { outline: 2px solid var(--tinta); outline-offset: 3px; }
.secao--grafite :focus-visible,
.fecho :focus-visible,
.rodape :focus-visible,
.placa :focus-visible,
.video :focus-visible,
.lightbox :focus-visible { outline-color: var(--ponto); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

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

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

/* O ponto amarelo do "B." vira o ponto final dos títulos */
.ponto {
  display: inline-block;
  width: 0.19em; height: 0.19em;
  margin-left: 0.07em;
  border-radius: 50%;
  background: var(--ponto);
  vertical-align: baseline;
}

/* ---------- Tipografia ---------- */
.titulo-2 {
  font-size: var(--t-h2);
  line-height: 1.06;
  letter-spacing: -0.028em;
  font-weight: 600;
  max-width: 17ch;
  text-wrap: balance;
}
.titulo-2--largo { max-width: 22ch; }

.lead {
  font-size: var(--t-lead);
  line-height: 1.5;
  color: var(--texto-2);
  max-width: 34em;
  margin-top: 20px;
}

.nota {
  font-size: var(--t-p);
  line-height: 1.5;
  color: var(--texto-2);
  max-width: 44em;
}
.nota--clara { color: var(--texto-claro); }

.link {
  color: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.28em;
  text-decoration-color: var(--ponto);
  transition: text-decoration-color 0.2s;
}
.link:hover { text-decoration-color: currentColor; }
.link--claro { color: var(--branco); }

/* ---------- Botões ---------- */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0.7em 1.5em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--fonte);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.botao svg { width: 1.25em; height: 1.25em; flex: none; }
.botao--p { min-height: 44px; padding: 0.5em 1.1em; font-size: 0.9375rem; }
.botao--g { min-height: 60px; padding: 0.8em 1.8em; font-size: 1.0625rem; }
.botao--bloco { display: flex; width: 100%; padding-inline: 1.2em; text-wrap: balance; }

.botao--tinta { background: var(--tinta); color: var(--branco); }
.botao--tinta:hover { background: #2C2D35; }

.botao--ponto { background: var(--ponto); color: var(--tinta); }
.botao--ponto:hover { background: var(--ponto-claro); }

.botao--contorno { background: transparent; color: var(--tinta); border-color: var(--tinta); }
.botao--contorno:hover { background: var(--tinta); color: var(--branco); }

/* ---------- Topo ---------- */
.topo {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242, 242, 242, 0.92);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.topo.is-rolado { border-bottom-color: var(--linha); }
.topo__in { display: flex; align-items: center; gap: 32px; height: var(--topo-h); }
.topo__marca { display: block; color: var(--tinta); }
.topo__marca .logo { width: 124px; height: 31px; }
.topo__nav { display: flex; gap: 28px; margin-left: auto; }
.topo__nav a {
  font-size: 0.9375rem; font-weight: 500; text-decoration: none;
  text-underline-offset: 0.4em; text-decoration-thickness: 1.5px;
}
.topo__nav a:hover { text-decoration-line: underline; text-decoration-color: var(--ponto); }
@media (max-width: 1060px) {
  .topo__nav { display: none; }
  .topo .botao { margin-left: auto; }
}
@media (max-width: 420px) { .so-largo { display: none; } }

/* ---------- Início (hero) ---------- */
.hero { padding: clamp(24px, 4vw, 48px) 0 clamp(72px, 9vw, 120px); }

.hero__grid {
  --video-h: clamp(460px, calc(100vh - 230px), 660px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 1fr auto auto 1fr auto;
  grid-template-areas:
    ".      video"
    "titulo video"
    "texto  video"
    ".      video"
    ".      acao";
  column-gap: clamp(48px, 7vw, 112px);
}
@supports (height: 100svh) {
  .hero__grid { --video-h: clamp(460px, calc(100svh - 230px), 660px); }
}

.hero__titulo {
  grid-area: titulo;
  font-size: var(--t-h1);
  line-height: 1.0;
  letter-spacing: -0.038em;
  font-weight: 600;
  max-width: 12ch;
  text-wrap: balance;
  margin-bottom: 36px;
}
.hero__texto { grid-area: texto; max-width: 31rem; }
.hero__lead { font-size: var(--t-lead); line-height: 1.5; color: #34363C; }
.hero__texto .preco { margin-top: 32px; }
.hero__texto .nota { margin-top: 6px; }
.hero__texto .link { display: inline-block; margin-top: 24px; }

.hero__video { grid-area: video; }
.hero__acao { grid-area: acao; width: calc(var(--video-h) * 9 / 16); padding-top: 18px; }
.hero__nota { margin-top: 10px; text-align: center; font-size: var(--t-p); color: var(--texto-2); }

.preco { display: flex; align-items: baseline; gap: 10px; }
.preco__valor { font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.preco__per { font-weight: 500; color: var(--texto-2); }

/* Vídeo */
.video {
  position: relative;
  height: var(--video-h);
  aspect-ratio: 9 / 16;
  border-radius: var(--raio-video);
  overflow: hidden;
  background: var(--tinta);
  box-shadow: 0 40px 70px -40px rgba(17, 17, 23, 0.55);
  isolation: isolate;
}
.video__midia { width: 100%; height: 100%; object-fit: cover; }
.video.is-js .video__midia { cursor: pointer; }

.video__som,
.video__play {
  position: absolute; bottom: 18px; z-index: 2;
  display: none; align-items: center; justify-content: center;
  min-height: 44px; border: 0; border-radius: 999px;
  background: rgba(17, 17, 23, 0.74);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--branco); cursor: pointer;
  transition: background-color 0.2s;
}
.video.is-js .video__som, .video.is-js .video__play { display: inline-flex; }
.video__som { left: 14px; gap: 8px; padding: 0 16px 0 13px; font-size: 0.9375rem; font-weight: 500; }
.video__play { right: 14px; width: 44px; }
.video__som:hover, .video__play:hover { background: rgba(17, 17, 23, 0.9); }
.video__som svg, .video__play svg { width: 20px; height: 20px; }
.video__som .ic-som, .video__som.is-mudo .ic-mudo { display: block; }
.video__som .ic-mudo, .video__som.is-mudo .ic-som { display: none; }
.video__play .ic-play, .video__play.is-pausado .ic-pausa { display: none; }
.video__play .ic-pausa, .video__play.is-pausado .ic-play { display: block; }
.video__som.is-mudo { background: var(--ponto); color: var(--tinta); }
.video__som.is-mudo:hover { background: var(--ponto-claro); }

.video__progresso { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 4px; background: rgba(255, 255, 255, 0.22); }
.video__progresso span { display: block; height: 100%; background: var(--ponto); transform: scaleX(0); transform-origin: left center; }

.video__fim {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  padding: 32px 28px; text-align: center;
  background: rgba(17, 17, 23, 0.84); color: var(--branco);
}
.video__fim p { font-size: 1.1875rem; line-height: 1.4; font-weight: 500; max-width: 15em; }
.video__repetir {
  border: 0; background: none; padding: 8px; cursor: pointer; color: var(--branco);
  font-weight: 500; text-decoration: underline; text-underline-offset: 0.3em; text-decoration-color: var(--ponto);
}

/* Um único momento de movimento: o título surge e o ponto pousa no fim */
@media (prefers-reduced-motion: no-preference) {
  .hero__titulo { animation: surgir 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero__titulo .ponto { animation: pousar 0.55s cubic-bezier(0.3, 1.5, 0.5, 1) 0.7s both; }
  .video.is-js .video__som.is-mudo { animation: chamar 1.4s ease-out 1.5s 1 both; }
}
@keyframes surgir { from { opacity: 0; transform: translateY(16px); } }
@keyframes pousar { from { opacity: 0; transform: translateY(-0.7em) scale(0.3); } 40% { opacity: 1; } }
@keyframes chamar {
  0% { box-shadow: 0 0 0 0 rgba(230, 194, 0, 0.7); }
  100% { box-shadow: 0 0 0 16px rgba(230, 194, 0, 0); }
}

@media (max-width: 899px) {
  /* No celular o vídeo inteiro (com o botão de som) cabe na primeira tela */
  .hero__grid {
    --video-h: clamp(440px, calc(100vh - 270px), 680px);
    --video-w: min(100%, calc(var(--video-h) * 9 / 16));
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas: "titulo" "video" "acao" "texto";
  }
  @supports (height: 100svh) {
    .hero__grid { --video-h: clamp(440px, calc(100svh - 270px), 680px); }
  }
  .hero__titulo { max-width: 13ch; margin-bottom: 28px; }
  .video { height: auto; width: var(--video-w); margin-inline: auto; }
  .hero__acao { width: var(--video-w); margin-inline: auto; }
  .hero__texto { margin-top: 40px; }
}

/* ---------- Seções ---------- */
.secao { padding: var(--secao) 0; }
.secao--branca { background: var(--branco); }
.secao--grafite { background: var(--grafite); color: var(--branco); }
.secao--grafite .lead { color: var(--texto-claro); }

.cabeca { display: grid; gap: 0; margin-bottom: clamp(40px, 5vw, 64px); }
.cabeca--linha { grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
@media (max-width: 640px) { .cabeca--linha { grid-template-columns: minmax(0, 1fr); align-items: start; } .cabeca--linha .botao { justify-self: start; } }

/* Problema */
.problema {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(48px, 6vw, 80px);
}
.problema__item { border-top: 1.5px solid var(--tinta); padding-top: 22px; }
.problema__item h3 { font-size: var(--t-h3); line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.problema__item p { margin-top: 10px; color: var(--texto-2); max-width: 30em; }
@media (max-width: 860px) { .problema { grid-template-columns: minmax(0, 1fr); } }

/* O que inclui: um extrato, linha a linha */
.inclui {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(48px, 7vw, 112px); align-items: start;
}
.extrato { margin-top: clamp(36px, 4vw, 52px); border-top: 1.5px solid var(--tinta); }
.extrato__linha {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  gap: 8px 24px; align-items: baseline;
  padding: 17px 0; border-bottom: 1px solid var(--linha);
}
.extrato__linha dt { display: flex; align-items: baseline; gap: 14px; font-weight: 500; }
.extrato__linha dt::before {
  content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: var(--ponto); transform: translateY(-0.12em);
}
.extrato__linha dd { color: var(--texto-2); text-align: right; }
.extrato__total {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: end;
  padding: 26px 0 0; margin-top: 10px;
}
.extrato__total dt { font-weight: 600; font-size: var(--t-h3); }
.extrato__total dd { display: flex; align-items: baseline; gap: 10px; }
.inclui__extrato .nota { margin-top: 18px; }
.inclui__extrato .botao { margin-top: 32px; }

.inclui__foto { position: sticky; top: calc(var(--topo-h) + 24px); }
.inclui__foto img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--raio-foto); }
.inclui__foto figcaption { margin-top: 14px; font-size: var(--t-p); color: var(--texto-2); max-width: 30em; }

@media (max-width: 960px) {
  .inclui { grid-template-columns: minmax(0, 1fr); }
  .inclui__foto { position: static; max-width: 560px; }
}
@media (max-width: 560px) {
  .extrato__linha { grid-template-columns: minmax(0, 1fr); }
  .extrato__linha dd { text-align: left; padding-left: 22px; font-size: 0.9375rem; }
}

/* Fachada com o endereço */
.fachada { position: relative; background: var(--tinta); }
.fachada__foto { width: 100%; height: clamp(520px, 64vw, 760px); object-fit: cover; object-position: center 30%; }
.fachada__in { position: absolute; left: 0; right: 0; bottom: 0; }
.placa {
  display: inline-block; max-width: 40rem;
  background: var(--tinta); color: var(--branco);
  padding: clamp(28px, 3.4vw, 44px) clamp(28px, 3.4vw, 48px);
  border-radius: var(--raio-foto) var(--raio-foto) 0 0;
}
.placa__endereco { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.625rem); line-height: 1.1; letter-spacing: -0.025em; font-weight: 600; }
.placa__endereco span { display: block; white-space: nowrap; }
.placa p { margin-top: 14px; color: var(--texto-claro); }
.placa .link { display: inline-block; margin-top: 18px; }
@media (max-width: 759px) {
  .fachada__foto { height: auto; aspect-ratio: 4 / 5; max-height: 640px; }
  .fachada__in { position: static; padding: 0; }
  .placa { display: block; max-width: none; border-radius: 0; padding: 32px var(--margem) 40px; }
}

/* Salas */
.salas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px); }
.sala { display: flex; flex-direction: column; }
.sala__foto { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--raio-foto); }
.sala__nome { margin-top: 22px; font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.015em; font-weight: 600; }
.sala__cap { margin-top: 4px; font-weight: 500; }
.sala__desc { margin-top: 10px; margin-bottom: 18px; color: var(--texto-2); }
.sala__preco { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--linha); color: var(--texto-2); }
.sala__preco strong { font-size: 1.75rem; letter-spacing: -0.02em; font-weight: 600; color: var(--tinta); margin-right: 4px; }
.sala .botao { margin-top: 20px; align-self: flex-start; }
.salas__portal { margin-top: clamp(40px, 5vw, 56px); color: var(--texto-2); }
@media (max-width: 960px) {
  .salas { grid-template-columns: minmax(0, 1fr); gap: 56px; max-width: 560px; }
  .sala__foto { aspect-ratio: 4 / 3; }
}

/* Parceiros */
.parceiros { background: var(--branco); border-block: 1px solid var(--linha); padding: clamp(40px, 5vw, 56px) 0; }
.parceiros__in {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto;
  gap: 16px clamp(28px, 4vw, 56px); align-items: center;
}
.parceiros__titulo { font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.015em; font-weight: 600; }
.parceiros__pct { font-size: 1.45em; letter-spacing: -0.03em; }
.parceiros p { color: var(--texto-2); }
@media (max-width: 960px) { .parceiros__in { grid-template-columns: minmax(0, 1fr); align-items: start; } }

/* Galeria */
/* 3 colunas: a foto grande ocupa 2x2 e as demais são quadradas */
.galeria { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.galeria__item { position: relative; display: block; overflow: hidden; aspect-ratio: 1 / 1; border-radius: var(--raio-foto); background: #DADAD7; }
.galeria__item--g { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.galeria__item picture, .galeria__item img { width: 100%; height: 100%; }
.galeria__item img { object-fit: cover; transition: transform 0.5s ease; }
.galeria__item:hover img { transform: scale(1.025); }
.galeria__legenda {
  position: absolute; left: 12px; bottom: 12px;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(242, 242, 242, 0.94); color: var(--tinta);
  font-size: 0.8125rem; font-weight: 500;
}
@media (max-width: 759px) {
  .galeria { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .galeria__item--g { grid-column: span 2; grid-row: span 1; aspect-ratio: 1 / 1; }
  .galeria__item:last-child { grid-column: span 2; aspect-ratio: 2 / 1; }
  .galeria__item:last-child img { object-position: center 72%; }
}

/* Como começar */
.passos {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px);
  margin-top: clamp(44px, 5vw, 64px); counter-reset: passo;
}
.passos li { counter-increment: passo; border-top: 1.5px solid var(--tinta); padding-top: 18px; }
.passos li::before {
  content: counter(passo);
  display: block; font-size: 2.25rem; line-height: 1; font-weight: 600; letter-spacing: -0.03em;
  margin-bottom: 26px;
}
.passos h3 { font-size: var(--t-h3); line-height: 1.25; font-weight: 600; }
.passos p { margin-top: 8px; color: var(--texto-2); }
@media (max-width: 960px) { .passos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .passos { grid-template-columns: minmax(0, 1fr); } .passos li::before { margin-bottom: 14px; } }

/* ---------- Mensagem personalizada ---------- */
.mensagem {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(48px, 7vw, 112px); align-items: start;
}
.form { margin-top: clamp(36px, 4vw, 48px); display: grid; gap: 28px; }
.campo { border: 0; padding: 0; margin: 0; min-width: 0; }
.campo label, .campo legend { display: block; padding: 0; margin-bottom: 10px; font-size: 0.9375rem; font-weight: 500; color: #ECECEE; }
.opcional { margin-left: 6px; font-weight: 400; color: #9EA1A7; }
.campo input[type="text"] {
  width: 100%; min-height: 54px; padding: 0 16px;
  border: 1px solid var(--linha-escura); border-radius: 10px;
  background: rgba(255, 255, 255, 0.05); color: var(--branco);
  font-size: 1.0625rem; transition: border-color 0.2s, background-color 0.2s;
}
.campo input[type="text"]:hover { border-color: #6A6E76; }
.campo input[type="text"]:focus { outline: none; border-color: var(--ponto); background: rgba(255, 255, 255, 0.08); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 16px 0 14px;
  border: 1px solid var(--linha-escura); border-radius: 999px;
  color: #ECECEE; font-size: 0.9375rem; font-weight: 500;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.chip span::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%; flex: none;
  border: 1.5px solid currentColor;
}
.chip:hover span { border-color: #7B7F87; }
.chip input:checked + span { background: var(--ponto); border-color: var(--ponto); color: var(--tinta); }
.chip input:checked + span::before { background: var(--tinta); border-color: var(--tinta); }
.chip input:focus-visible + span { outline: 2px solid var(--ponto); outline-offset: 3px; }

.mensagem__previa { display: grid; gap: 14px; }
.previa__rotulo { font-size: var(--t-p); font-weight: 500; color: var(--texto-claro); }
.previa__rotulo + .bolha { margin-top: -4px; }
.cartao {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  width: 100%; max-width: 480px; aspect-ratio: 1.75;
  padding: clamp(22px, 3vw, 32px);
  background: var(--branco); color: var(--tinta);
  min-width: 0;
  border-radius: var(--raio-cartao);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
  margin-bottom: 18px;
}
.cartao__empresa {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); line-height: 1.08; letter-spacing: -0.025em; font-weight: 600;
  overflow-wrap: anywhere;
}
.cartao__empresa.is-vazio .cartao__texto { color: #A2A4A9; }
.cartao__nome { margin-top: 8px; color: var(--texto-2); font-weight: 500; }
.cartao__endereco { font-size: 0.9375rem; line-height: 1.45; }

.bolha {
  position: relative; background: var(--papel); color: var(--tinta);
  border-radius: 16px 16px 4px 16px; padding: 4px;
}
.bolha textarea {
  display: block; width: 100%; min-height: 200px; resize: vertical;
  padding: 14px 16px; border: 0; border-radius: 12px; background: transparent; color: var(--tinta);
  font-size: 1rem; line-height: 1.55;
}
.bolha textarea:focus { outline: 2px solid var(--ponto); outline-offset: 2px; }
.previa__restaurar {
  justify-self: start; padding: 4px 0; border: 0; background: none; cursor: pointer;
  color: var(--branco); font-size: var(--t-p); font-weight: 500;
  text-decoration: underline; text-underline-offset: 0.3em; text-decoration-color: var(--ponto);
}
.mensagem__previa .botao { justify-self: start; margin-top: 8px; }

@media (max-width: 960px) { .mensagem { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .mensagem__previa .botao { justify-self: stretch; }
  .cartao { aspect-ratio: auto; min-height: 190px; }
}

/* ---------- Perguntas frequentes ---------- */
.duvidas { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq { border-top: 1.5px solid var(--tinta); }
.faq__item { border-bottom: 1px solid var(--linha); }
.faq__item h3 { font-size: inherit; font-weight: inherit; }
.faq__pergunta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: 100%; padding: 22px 0; border: 0; background: none; cursor: pointer; text-align: left;
  font-size: 1.1875rem; line-height: 1.35; font-weight: 500; letter-spacing: -0.005em; color: var(--tinta);
}
.faq__pergunta::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1.75px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.75px 14px no-repeat;
  transition: transform 0.25s ease;
}
.faq__pergunta[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq__resposta { padding: 0 48px 24px 0; color: var(--texto-2); }
.faq__resposta p { max-width: 38em; }
@media (max-width: 960px) { .duvidas { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Onde fica ---------- */
.onde { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: stretch; }
.onde__endereco { margin-top: 32px; font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); line-height: 1.3; letter-spacing: -0.015em; font-weight: 500; }
.onde__detalhes { margin-top: 24px; display: grid; gap: 8px; color: var(--texto-2); }
.onde__detalhes li { display: flex; gap: 12px; align-items: baseline; }
.onde__detalhes li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ponto); transform: translateY(-0.12em); }
.onde__contato { margin-top: 24px; line-height: 1.8; }
.onde__contato a { text-decoration: none; font-weight: 500; }
.onde__contato a:hover { text-decoration: underline; text-decoration-color: var(--ponto); text-underline-offset: 0.28em; }
.onde__acoes { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.onde__mapa { min-height: 420px; border-radius: var(--raio-foto); overflow: hidden; background: #E4E4E1; }
.onde__mapa iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }
@media (max-width: 960px) { .onde { grid-template-columns: minmax(0, 1fr); } .onde__mapa, .onde__mapa iframe { min-height: 340px; } }

/* ---------- Fecho e rodapé ---------- */
.fecho { background: var(--tinta); color: var(--branco); padding: var(--secao) 0 clamp(64px, 8vw, 104px); }
.fecho__titulo {
  font-size: clamp(2.375rem, 1.5rem + 3.6vw, 4.5rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 600;
  max-width: 17ch; text-wrap: balance;
}
.fecho__acoes { margin-top: clamp(36px, 4vw, 52px); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.fecho__tel { color: var(--texto-claro); text-decoration: none; font-weight: 500; }
.fecho__tel:hover { color: var(--branco); text-decoration: underline; text-decoration-color: var(--ponto); text-underline-offset: 0.28em; }

.rodape { background: var(--tinta); color: var(--texto-claro); font-size: 0.9375rem; padding-bottom: 40px; }
.rodape__grid {
  display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 36px;
  padding-top: 48px; border-top: 1px solid #2A2B32;
}
.rodape .logo { width: 132px; height: 33px; color: var(--papel); }
.rodape__marca p { margin-top: 16px; max-width: 22em; }
.rodape__titulo { font-size: var(--t-p); font-weight: 500; color: var(--branco); margin-bottom: 10px; }
.rodape a { text-decoration: none; }
.rodape a:hover { color: var(--branco); text-decoration: underline; text-decoration-color: var(--ponto); text-underline-offset: 0.28em; }
.rodape__lista { display: grid; gap: 4px; }
.rodape__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  margin-top: 48px; font-size: 0.8125rem; color: #8E9197;
}
.rodape__base p:last-child { display: flex; gap: 20px; }
@media (max-width: 860px) { .rodape__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rodape__marca { grid-column: 1 / -1; } }
@media (max-width: 520px) { .rodape__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* ---------- Botão fixo de WhatsApp ---------- */
.cta-fixa {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  visibility: hidden;
  transform: translateY(calc(100% + 40px));
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s linear 0.35s;
}
.cta-fixa.is-visivel { visibility: visible; transform: none; transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s; }
.cta-fixa .botao { box-shadow: 0 16px 36px -14px rgba(17, 17, 23, 0.6); }
@media (max-width: 759px) {
  .cta-fixa {
    left: 0; right: 0; bottom: 0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(242, 242, 242, 0.95); border-top: 1px solid var(--linha);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  .cta-fixa .botao { width: 100%; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { .cta-fixa { transition: none; } }

/* ---------- Foto ampliada ---------- */
.lightbox {
  width: min(94vw, 1080px); max-width: none; max-height: 94vh;
  padding: 0; border: 0; background: transparent; color: var(--branco); overflow: visible;
}
.lightbox::backdrop { background: rgba(17, 17, 23, 0.9); }
.lightbox__fig { display: grid; justify-items: center; gap: 12px; }
.lightbox__fig img { max-height: 82vh; width: auto; border-radius: var(--raio-foto); }
.lightbox__fig figcaption { font-weight: 500; }
.lightbox__btn {
  position: fixed; display: grid; place-items: center; width: 48px; height: 48px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: var(--branco); cursor: pointer;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__fechar { top: 18px; right: 18px; }
.lightbox__ant { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__prox { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 759px) {
  .lightbox__ant, .lightbox__prox { top: auto; bottom: 18px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
