/* ==========================================================================
   4Beauty — Instituto de Cabelo & Estética
   Dark luxury editorial: near-black, metallic gold, warm ivory.
   ========================================================================== */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-italic-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url("/assets/fonts/karla-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url("/assets/fonts/karla-italic-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #141613;
  --ink-2: #1b1e19;
  --ink-3: #23271f;
  --line: rgba(238, 204, 114, 0.16);
  --gold: #eecc72;
  --gold-deep: #c9a24b;
  --gold-dim: rgba(238, 204, 114, 0.55);
  --paper: #f4eede;
  --paper-2: #ece3cc;
  --ink-on-paper: #232620;
  --text: #ece7da;
  --text-dim: #b0aa99;
  --grad-gold: linear-gradient(105deg, #b08c3e, #eecc72 42%, #f8e5ab 55%, #cfa951 78%, #b08c3e);
  --serif: "Fraunces", "Georgia", serif;
  --sans: "Karla", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* Grain overlay for depth */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold); text-decoration: none; }
a:hover { color: #f8e5ab; }

.container {
  width: min(100% - 2.5rem, 72rem);
  margin-inline: auto;
}
.container--narrow { width: min(100% - 2.5rem, 44rem); }

.section { padding-block: clamp(4.5rem, 10vw, 7.5rem); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 0; left: 1rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-120%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); color: var(--ink); }

/* ---------- Type helpers ---------- */
.section-title {
  margin: 0 0 1.5rem;
  font-family: var(--serif);
  font-weight: 420;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--text);
  text-wrap: balance;
}
.section-title em {
  font-style: italic;
  font-weight: 380;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section--light .section-title { color: var(--ink-on-paper); }
.section--light .section-title em {
  background: none;
  color: #a8842f;
}

.section-lead {
  margin: 0;
  max-width: 38rem;
  color: var(--text-dim);
  font-size: 1.125rem;
}
.section--light .section-lead { color: #6d675a; }

.section-head { margin-bottom: clamp(2.5rem, 6vw, 4rem); text-align: center; }
.section-head .section-lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.9rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }

.button--gold {
  background: var(--grad-gold);
  background-size: 160% auto;
  color: #191505;
  box-shadow: 0 8px 24px rgba(238, 204, 114, 0.18);
}
.button--gold:hover {
  background-position: 90% center;
  color: #191505;
  box-shadow: 0 12px 30px rgba(238, 204, 114, 0.28);
}

.button--ghost {
  border-color: var(--line);
  color: var(--text);
}
.button--ghost:hover {
  border-color: var(--gold-dim);
  color: var(--gold);
}

.button--dark {
  background: var(--ink);
  color: var(--gold);
}
.button--dark:hover { background: #000; color: var(--gold); }

.button--sm { padding: 0.6rem 1.3rem; font-size: 0.8rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.nav-open {
  background: rgba(20, 22, 19, 0.88);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.site-header__brand img {
  width: auto;
  height: 2.4rem;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__link {
  position: relative;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  padding-block: 0.4rem;
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 0.3s var(--ease);
}
.site-nav__link:hover { color: var(--gold); }
.site-nav__link:hover::after { right: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 7px;
  padding: 0.75rem 0.5rem;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle__bar {
  width: 26px;
  height: 1.5px;
  background: var(--gold);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }

.nav-scrim {
  display: none;
}

@media (max-width: 52rem) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    background: rgba(20, 22, 19, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s var(--ease), opacity 0.3s, visibility 0.4s;
  }
  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.25rem 1.75rem;
  }
  .site-nav__link {
    display: block;
    padding: 0.9rem 0.25rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(238, 204, 114, 0.08);
  }
  .site-nav__link::after { content: none; }
  .site-nav__cta-item { margin-top: 1.25rem; }
  .site-nav__cta-item .button { width: 100%; }

  .nav-scrim {
    display: block;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 45;
    background: rgba(10, 11, 9, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.4s;
  }
  .nav-scrim.is-open {
    opacity: 1;
    visibility: visible;
  }
}

body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 90svh;
  padding-block: calc(var(--header-h) + 3rem) 5rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(20, 22, 19, 0.6) 0%, rgba(20, 22, 19, 0.18) 20%, rgba(20, 22, 19, 0) 42%),
    linear-gradient(90deg, rgba(20, 22, 19, 0.95) 0%, rgba(20, 22, 19, 0.88) 32%, rgba(20, 22, 19, 0.58) 56%, rgba(20, 22, 19, 0.18) 80%, rgba(20, 22, 19, 0) 100%);
}

.hero__inner { position: relative; z-index: 2; }

.hero__content { max-width: 48rem; }

.hero__title {
  margin: 1.25rem 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.5vw, 4.7rem);
  line-height: 1.18;
  color: var(--text);
  text-wrap: balance;
}
.hero__title em {
  font-style: italic;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin: 1.25rem 0 0;
  max-width: 30rem;
  color: var(--text-dim);
}

.hero__rating {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.hero__stars {
  color: var(--gold);
  font-size: 1.05rem;
  letter-spacing: 0.15em;
}
.hero__rating-text {
  font-size: 0.85rem;
  color: var(--text-dim);
}
.hero__rating-text strong { color: var(--text); font-weight: 700; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.25rem;
}

@media (max-width: 30rem) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .button { width: 100%; }
  .hero__meta { text-align: center; }
}

.hero__meta {
  margin: 2.25rem 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(176, 170, 153, 0.7);
}

@media (max-width: 48rem) {
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(20, 22, 19, 0.65) 0%, rgba(20, 22, 19, 0.35) 30%, rgba(20, 22, 19, 0.2) 50%),
      linear-gradient(0deg, rgba(20, 22, 19, 0.92) 0%, rgba(20, 22, 19, 0.75) 45%, rgba(20, 22, 19, 0.55) 100%);
  }
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  width: 1.5rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  justify-content: center;
}
.hero__scroll span {
  width: 3px; height: 8px;
  margin-top: 7px;
  border-radius: 3px;
  background: var(--gold-dim);
  animation: scroll-cue 2.2s var(--ease) infinite;
}
@keyframes scroll-cue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Media placeholders (until real photos arrive) ---------- */
.media-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background:
    radial-gradient(120% 90% at 30% 12%, rgba(238, 204, 114, 0.09), transparent 55%),
    var(--ink-2);
  border: 1px solid var(--line);
  color: var(--gold-dim);
  text-align: center;
}
.media-placeholder svg {
  width: 2.4rem;
  height: 2.4rem;
  stroke: currentColor;
  opacity: 0.8;
}
.media-placeholder span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 1.8;
}

/* ---------- Sobre ---------- */
.about__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 56rem) {
  .about__grid { grid-template-columns: 1.15fr 0.85fr; }
}

.about__body p { margin: 0 0 1.1rem; color: var(--text-dim); }
.about__body p:first-child { color: var(--text); font-size: 1.15rem; }

.about__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin: 2.5rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.about__stats dt {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 380;
  line-height: 1;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about__stats dd {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.about__media {
  position: relative;
  margin: 0;
}
.about__media::before {
  content: "";
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 1px solid var(--line);
  pointer-events: none;
}
.about__media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.media-placeholder--tall { aspect-ratio: 4 / 5; }

/* ---------- Serviços (light section) ---------- */
.section--light {
  background:
    radial-gradient(80rem 40rem at 85% -10%, rgba(238, 204, 114, 0.22), transparent 55%),
    var(--paper);
  color: var(--ink-on-paper);
}

.services .section-head { text-align: left; }
.services .section-head .section-lead { margin-inline: 0; }

.services__list { position: relative; }

.service-category { position: relative; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.service-category + .service-category {
  margin-top: clamp(3rem, 7vw, 4.5rem);
  padding-top: clamp(3rem, 7vw, 4.5rem);
  border-top: 1px solid rgba(35, 38, 32, 0.14);
}

.service-category__head { margin-bottom: 2rem; }
.service-category__head h3 {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-weight: 460;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--ink-on-paper);
}
.service-category__head p { margin: 0; color: #6d675a; max-width: 40rem; }

.service-group { margin-bottom: 1.75rem; }
.service-group__title {
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #a8842f;
}

.service-list {
  display: grid;
  gap: 0 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 40rem) {
  .service-list { grid-template-columns: 1fr 1fr; }
}
.service-list li {
  border-bottom: 1px solid rgba(35, 38, 32, 0.1);
}
.service-list a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0.2rem;
  font-size: 1.02rem;
  color: #3a3628;
  transition: color 0.2s var(--ease);
}
.service-list a:hover { color: #a8842f; }
.service-list a::before {
  content: "";
  flex-shrink: 0;
  width: 5px; height: 5px;
  background: #c9a24b;
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease);
}
.service-list a:hover::before { transform: rotate(45deg) scale(1.4); }

.services__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: clamp(3rem, 7vw, 4.5rem);
  padding: 1.5rem 1.75rem;
  background: rgba(238, 204, 114, 0.16);
  border: 1px solid rgba(168, 132, 47, 0.25);
}
.services__cta p { margin: 0; color: #55503f; font-weight: 600; max-width: 30rem; }

/* ---------- Equipa ---------- */
.team__grid {
  --team-gap: clamp(1.25rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: var(--team-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 56rem) {
  .team__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 52rem;
    margin-inline: auto;
  }
  .team__card { flex: 0 0 calc(25% - (var(--team-gap) * 3 / 4)); }
}

.team__photo {
  aspect-ratio: 3 / 4;
  margin-bottom: 0.9rem;
  overflow: hidden;
}
.team__photo svg { width: 2rem; height: 2rem; }
.team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team__card { text-align: center; }
.team__name {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 460;
  color: var(--text);
}
.team__role {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

/* ---------- Galeria ---------- */
.section--light .media-placeholder {
  background: radial-gradient(120% 90% at 30% 12%, rgba(168, 132, 47, 0.1), transparent 55%), var(--paper-2);
  border-color: rgba(35, 38, 32, 0.14);
  color: #a8842f;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}
.gallery__item { aspect-ratio: 1; overflow: hidden; }
.gallery__item svg { width: 1.9rem; height: 1.9rem; }
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 48rem) {
  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 11rem;
  }
  .gallery__item { aspect-ratio: auto; }
  .gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
}

/* ---------- Contactos ---------- */
.contact__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
}
@media (min-width: 56rem) {
  .contact__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.contact__details {
  display: grid;
  gap: 1.75rem;
  margin: 2.75rem 0 0;
}
.contact__details dt {
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-dim);
}
.contact__details dd { margin: 0; color: var(--text-dim); }

.hours { border-collapse: collapse; }
.hours th {
  padding: 0.3rem 2rem 0.3rem 0;
  font-weight: 600;
  text-align: left;
  color: var(--text);
}
.hours td { padding: 0.3rem 0; }

.contact__social { display: flex; gap: 1.5rem; }
.contact__social a {
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.contact__social a:hover { border-bottom-color: var(--gold); }

.contact__map {
  position: relative;
  min-height: 24rem;
  border: 1px solid var(--line);
}
.contact__map::before {
  content: "";
  position: absolute;
  inset: 1rem -1rem -1rem 1rem;
  border: 1px solid var(--line);
  pointer-events: none;
}
.contact__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: clamp(3rem, 7vw, 5rem) 0 2rem;
  background: #0e100c;
  border-top: 1px solid var(--line);
}

.site-footer__grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
@media (min-width: 56rem) {
  .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; }
}

.site-footer__brand img { width: min(13rem, 60vw); }
.site-footer__brand p {
  margin: 1.25rem 0 0;
  max-width: 26rem;
  font-size: 0.95rem;
  color: var(--text-dim);
}

.site-footer__heading {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.site-footer__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer__col li { margin-bottom: 0.55rem; }
.site-footer__col a {
  color: var(--text-dim);
  font-size: 0.95rem;
}
.site-footer__col a:hover { color: var(--gold); }
.site-footer__col p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-dim);
}
.site-footer__hint { color: var(--gold-dim); }

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(238, 204, 114, 0.08);
  font-size: 0.85rem;
  color: rgba(176, 170, 153, 0.65);
}
.site-footer__legal p { margin: 0; }
.site-footer__legal a { color: rgba(176, 170, 153, 0.65); }
.site-footer__legal a:hover { color: var(--gold); }
.site-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

/* ---------- WhatsApp FAB ---------- */
.whatsapp-fab {
  --fab-y: 16px;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 2px 6px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(var(--fab-y));
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s, box-shadow 0.25s var(--ease);
}
.whatsapp-fab.is-visible {
  --fab-y: 0px;
  opacity: 1;
  visibility: visible;
}
.whatsapp-fab:hover {
  transform: translateY(var(--fab-y)) scale(1.06);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35), 0 3px 8px rgba(0, 0, 0, 0.18);
}
.whatsapp-fab svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

/* ---------- Legal page ---------- */
.legal { padding-top: calc(var(--header-h) + 4rem); }
.legal__body { margin-bottom: 2.5rem; }
.legal__body p { color: var(--text-dim); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll span { animation: none; }
  .button, .site-nav, .nav-toggle__bar, .nav-scrim, .whatsapp-fab { transition: none; }
}
