/* HOUSE — base visual compartilhada (site, agendamento, reserva) */

:root {
  --preto: #0a0a0a;
  --preto-2: #121212;
  --preto-3: #1b1b1b;
  --branco: #f4f4f1;
  --puro: #ffffff;
  --cinza-1: #2a2a2a;
  --cinza-2: #5c5c5c;
  --cinza-3: #8f8f8f;
  --cinza-4: #c4c4c0;
  --linha-e: rgba(255, 255, 255, 0.14);
  --linha-c: rgba(10, 10, 10, 0.14);

  --f-display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --f-corpo: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --margem: max(clamp(16px, 4.2vw, 64px), env(safe-area-inset-left), env(safe-area-inset-right));
  --max: 1440px;
  --topo-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  color-scheme: dark;
}

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

html {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topo-h) + 8px);
}

body {
  margin: 0;
  background: var(--preto);
  color: var(--branco);
  font-family: var(--f-corpo);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

[hidden] {
  display: none !important;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--puro);
  color: var(--preto);
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.pular {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--puro);
  color: var(--preto);
  padding: 10px 14px;
  font-family: var(--f-mono);
  font-size: 13px;
}
.pular:focus {
  top: 12px;
}

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

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

.mono {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
}

.rotulo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cinza-3);
}
.rotulo::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

.titulo {
  overflow-wrap: break-word;
  hyphens: manual;
  font-family: var(--f-display);
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.3rem, 6.4vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.5;
  color: var(--cinza-4);
  max-width: 46ch;
}

/* ---------- marca ---------- */

.logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
  font-family: var(--f-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
}
.logo-img {
  height: 34px;
  width: auto;
}
/* logo em vetor (assets/img/logo.svg): texto na cor do texto, telhado em amarelo */
.logo-svg {
  display: block;
  height: 44px;
  width: auto;
  aspect-ratio: 1604 / 522;
}

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

.btn {
  --bg: var(--puro);
  --fg: var(--preto);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 26px;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--bg);
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--fg);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 0.45s var(--ease);
}
.btn:focus-visible::before,
.btn:active::before {
  transform: scaleY(1);
}
.btn:focus-visible,
.btn:active {
  color: var(--bg);
  border-color: var(--fg);
}
.btn .seta {
  display: inline-block;
  transition: transform 0.45s var(--ease);
}
/* Efeitos de passar o mouse só onde existe mouse (no toque eles ficariam "presos"). */
@media (hover: hover) {
  .btn:hover::before {
    transform: scaleY(1);
  }
  .btn:hover {
    color: var(--bg);
    border-color: var(--fg);
  }
  .btn:hover .seta {
    transform: translateX(4px);
  }
}

.btn-escuro {
  --bg: var(--preto);
  --fg: var(--puro);
}

.btn-linha {
  --bg: transparent;
  --fg: var(--puro);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--puro);
}
.btn-linha:focus-visible,
.btn-linha:active {
  color: var(--preto);
}
@media (hover: hover) {
  .btn-linha:hover {
    color: var(--preto);
  }
}

.clara .btn-linha,
.btn-linha.escuro {
  --fg: var(--preto);
  border-color: rgba(10, 10, 10, 0.4);
  color: var(--preto);
}
.clara .btn-linha:active,
.btn-linha.escuro:active {
  color: var(--puro);
}
@media (hover: hover) {
  .clara .btn-linha:hover,
  .btn-linha.escuro:hover {
    color: var(--puro);
  }
}

.btn[disabled],
.btn.carregando {
  opacity: 0.55;
  pointer-events: none;
}

.btn-bloco {
  width: 100%;
}

/* ---------- fotos em P&B ---------- */

.pb img:not(.logo-img):not(.colorida) {
  filter: grayscale(1) contrast(1.06);
}

/* ---------- textura sutil ---------- */

.grao::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- avisos ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 300;
  transform: translate(-50%, 140%);
  max-width: calc(100vw - 32px);
  padding: 14px 18px;
  background: var(--puro);
  color: var(--preto);
  font-size: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  transition: transform 0.5s var(--ease);
}
.toast.visivel {
  transform: translate(-50%, 0);
}

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

/* Celulares pequenos: títulos acompanham a largura da tela */
@media (max-width: 480px) {
  .titulo {
    font-size: min(2.3rem, 9.6vw);
  }
}
