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

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  background: var(--branco);
}

html.lenis,
html.lenis body {
  height: auto;
}

html.travado,
html.travado body {
  overflow: hidden;
}

body {
  margin: 0;
  font-family: var(--ff-texto);
  font-size: 16px;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--branco);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

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

h1,
h2,
h3 {
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

/* a marca da tipografia: títulos em Inter com o destaque em Instrument Serif itálica */
em {
  font-family: var(--ff-titulo);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: 1.06em; /* a altura de x da serifa é menor que a da Inter */
}

.logo {
  font-family: var(--ff-titulo);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.01em;
}

.logo--musgo {
  color: var(--musgo);
}

.selo-secao {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--tinta-55);
}

/* vidro: fundo translúcido com desfoque e um fio de luz em degradê na borda */
.vidro {
  --vidro-fundo: rgba(255, 255, 255, 0.04);
  --vidro-fio: rgba(255, 255, 255, 0.42);
  position: relative;
  background: var(--vidro-fundo);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.vidro::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, var(--vidro-fio), transparent 38%, transparent 62%, var(--vidro-fio));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.rotulo {
  font-family: var(--ff-texto);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.4;
}

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  height: 44px;
  padding: 0 24px;
  font-family: var(--ff-texto);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  border-radius: 999px;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.botao:hover {
  transform: scale(1.03);
}

.botao:active {
  transform: scale(0.98);
}

.botao--musgo {
  background: var(--musgo);
  color: var(--branco);
}

.botao--musgo:hover {
  background: var(--musgo-escuro);
}

.botao--vidro {
  background: rgba(255, 255, 255, 0.82);
  color: var(--tinta);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.botao--vidro:hover {
  background: var(--branco);
}

.botao--creme {
  background: var(--creme);
  color: var(--tinta);
}

.botao--creme:hover {
  background: #fff;
}

.botao--fio {
  border: 1px solid var(--fio-forte);
  color: var(--creme);
}

.botao--fio:hover {
  border-color: var(--creme);
}

.botao--escuro {
  background: rgba(7, 11, 17, 0.82);
  color: var(--creme);
  border: 1px solid var(--fio);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.botao--escuro:hover {
  background: var(--breu);
  border-color: var(--fio-forte);
}

:focus-visible {
  outline: 2px solid var(--musgo);
  outline-offset: 3px;
}

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

/* ---------- símbolo do D/Season: o sol nascendo no horizonte ---------- */
.sol {
  display: block;
  color: var(--oliva, #bf782f);
  overflow: visible;
}

.sol line {
  stroke-linecap: butt;
}

.sol--nav {
  width: 26px;
  height: auto;
  flex: none;
}

.sol--abertura {
  width: 92px;
  height: auto;
}

.sol--abertura .sol__raios line {
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  animation: sol-raio 1.1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.sol--abertura .sol__raios line:nth-child(1), .sol--abertura .sol__raios line:nth-child(7) { animation-delay: 0.36s; }
.sol--abertura .sol__raios line:nth-child(2), .sol--abertura .sol__raios line:nth-child(6) { animation-delay: 0.24s; }
.sol--abertura .sol__raios line:nth-child(3), .sol--abertura .sol__raios line:nth-child(5) { animation-delay: 0.12s; }

.sol--abertura .sol__horizonte {
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  animation: sol-raio 0.8s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes sol-raio {
  to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .sol--abertura line { animation: none !important; stroke-dashoffset: 0 !important; }
}

.sol--nav { margin-right: -6px; }
.sol--rodape { width: 54px; height: auto; margin-bottom: 18px; color: var(--musgo, #743f0f); }

/* ---------- WhatsApp fixo no canto inferior direito ---------- */
.whats {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0;
  height: 58px;
  padding: 0 15px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  transition: gap 0.35s ease, padding 0.35s ease, transform 0.3s ease;
}

.whats svg {
  width: 28px;
  height: 28px;
  flex: none;
}

.whats span {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  transition: max-width 0.4s ease;
}

.whats:hover,
.whats:focus-visible {
  gap: 10px;
  padding: 0 20px 0 15px;
}

.whats:hover span,
.whats:focus-visible span {
  max-width: 180px;
}

.whats::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  z-index: -1;
  animation: whats-pulso 2.6s ease-out infinite;
}

@keyframes whats-pulso {
  0% { transform: scale(1); opacity: 0.55; }
  70%, 100% { transform: scale(1.45); opacity: 0; }
}

@media (max-width: 760px) {
  .whats { height: 54px; padding: 0 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .whats::before { animation: none; }
}

/* some quando uma tela cheia está aberta (planta, galeria, piscina, fotos do lazer) */
.travado .whats,
.foto-aberta .whats,
body:has(.explorador:not([data-estado='fachada'])) .whats {
  opacity: 0;
  pointer-events: none;
}
