/* ============================================================
   BELEZA NOBRE — Salão de Beleza · Guarulhos/SP
   Design system: warm neutrals + champagne gold + deep ink
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Palette */
  --cream: #FBF8F2;
  --sand: #F4EEE3;
  --nude: #E8DCC8;
  --taupe: #C8B294;
  --gold: #B3945F;
  --gold-deep: #96793F;
  --gold-soft: #D9C29A;
  --ink: #1D1813;
  --ink-soft: #372F26;
  --muted: #756A5B;
  --line: #E7DECF;
  --white: #FFFFFF;

  /* Typography */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Avenir Next", system-ui, -apple-system, sans-serif;

  /* Shape & shadow */
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 26px;
  --r-pill: 999px;
  --shadow-soft: 0 24px 60px -24px rgba(29, 24, 19, 0.22);
  --shadow-card: 0 14px 36px -18px rgba(29, 24, 19, 0.24);
  --shadow-gold: 0 10px 34px -10px rgba(150, 121, 63, 0.55);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 300ms;
  --t-med: 400ms;
  --t-slow: 650ms;

  /* Layout */
  --container: 1200px;
  --header-h: 96px;
  --header-h-compact: 70px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

@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;
  }
}

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

ul { list-style: none; }

address { font-style: normal; }

::selection {
  background: var(--gold);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Utilities ---------- */
.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--gold);
}

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

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-top: 0.9rem;
}

.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-deep);
}

.lead {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.55;
  color: var(--ink-soft);
  margin-top: 1.4rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem 1.9rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform var(--t-med) var(--ease-out),
    box-shadow var(--t-med) var(--ease-out),
    background-color var(--t-med) var(--ease-soft),
    color var(--t-med) var(--ease-soft),
    border-color var(--t-med) var(--ease-soft);
  will-change: transform;
}

.btn .icon { width: 1.15rem; height: 1.15rem; }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 55%, var(--gold-deep));
  color: var(--white);
  box-shadow: var(--shadow-gold);
}

.btn--gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px -12px rgba(150, 121, 63, 0.7);
}

.btn--gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(220px 70px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.35), transparent 60%);
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease-soft);
  pointer-events: none;
}

.btn--gold:hover::after { opacity: 1; }

.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
  transform: translateY(-3px);
}

.btn--ghost-invert {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(4px);
}

.btn--ghost-invert:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.btn--lg { padding: 1.15rem 2.3rem; font-size: 0.92rem; }
.btn--sm { padding: 0.7rem 1.4rem; font-size: 0.78rem; }

/* ---------- Custom cursor ---------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(179, 148, 95, 0.28);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(179, 148, 95, 0.5);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.4);
  transition:
    opacity var(--t-fast) var(--ease-out),
    transform var(--t-med) var(--ease-out),
    background-color var(--t-med) var(--ease-soft);
  will-change: transform;
}

.cursor__label {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease-soft);
}

.cursor.is-visible { opacity: 1; }

.cursor.is-active {
  transform: translate(-50%, -50%) scale(1);
  background: rgba(255, 255, 255, 0.92);
}

.cursor.is-active .cursor__label { opacity: 1; }

@media (pointer: coarse) {
  .cursor { display: none; }
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: var(--cream);
  transition: opacity 0.7s var(--ease-out), visibility 0.7s;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.preloader__mark {
  font-size: 1.6rem;
  color: var(--gold);
  animation: preload-pulse 1.6s ease-in-out infinite;
}

.preloader__word {
  font-family: var(--serif);
  font-size: 2rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  opacity: 0;
  animation: preload-fade 1s var(--ease-out) 0.2s forwards;
}

.preloader__word em { font-style: italic; color: var(--gold-deep); }

.preloader__line {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold-deep));
  animation: preload-line 1.1s var(--ease-out) 0.4s forwards;
}

@keyframes preload-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

@keyframes preload-fade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes preload-line {
  from { width: 0; }
  to { width: 140px; }
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: var(--white);
  transition:
    height var(--t-med) var(--ease-out),
    background-color var(--t-med) var(--ease-soft),
    box-shadow var(--t-med) var(--ease-soft),
    color var(--t-med) var(--ease-soft);
}

.header.is-scrolled {
  height: var(--header-h-compact);
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  box-shadow: 0 8px 30px -18px rgba(29, 24, 19, 0.3);
  border-bottom: 1px solid rgba(231, 222, 207, 0.7);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  z-index: 1101;
}

.brand__name {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand__name em { font-style: italic; font-weight: 500; }

.brand__tag {
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-top: 0.25rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}

.nav__link {
  position: relative;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-block: 0.4rem;
  opacity: 0.88;
  transition: opacity var(--t-fast) var(--ease-soft);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-med) var(--ease-out);
}

.nav__link:hover { opacity: 1; }
.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__link.is-active { opacity: 1; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav__cta-mobile { display: none; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 1101;
}

.burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  margin-inline: auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t-med) var(--ease-out), opacity var(--t-fast);
}

body.nav-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: hero-zoom 7s var(--ease-out) forwards;
}

@keyframes hero-zoom {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 15, 10, 0.55) 0%, rgba(20, 15, 10, 0.35) 40%, rgba(20, 15, 10, 0.68) 100%),
    radial-gradient(120% 90% at 20% 20%, rgba(20, 15, 10, 0.1), rgba(20, 15, 10, 0.5));
}

.hero__content {
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: 5rem;
  max-width: 100%;
}

.hero__eyebrow { color: var(--gold-soft); }
.hero__eyebrow::before { background: var(--gold-soft); }

.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin-top: 1.6rem;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}

.hero__title em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  max-width: 34rem;
  font-weight: 300;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
  margin-top: 1.5rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2.6rem;
}

.hero__scroll {
  position: absolute;
  right: 3rem;
  bottom: 2.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--t-fast);
}

.hero__scroll:hover { color: var(--white); }

.hero__scroll-line {
  width: 1px;
  height: 3.2rem;
  background: linear-gradient(180deg, currentColor, transparent);
  animation: scroll-drip 2.2s var(--ease-soft) infinite;
  transform-origin: top;
}

@keyframes scroll-drip {
  0% { transform: scaleY(0); transform-origin: top; }
  40% { transform: scaleY(1); transform-origin: top; }
  60% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.hero__scroll-text {
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity var(--t-slow) var(--ease-out),
    transform var(--t-slow) var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- About ---------- */
.about {
  background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  top: -6rem;
  right: -8rem;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 194, 154, 0.35), transparent 70%);
  pointer-events: none;
}

.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
}

.about__text p:not(.lead):not(.eyebrow) {
  color: var(--muted);
  margin-top: 1.3rem;
}

.about__stats {
  display: flex;
  gap: clamp(1.6rem, 3.5vw, 3rem);
  margin-top: 2.6rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
}

.about__stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.about__stat-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}

.about__stat-num::after { content: "+"; color: var(--gold); }

.about__stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.about__visual {
  position: relative;
  height: 620px;
}

.about__img-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 78%;
  height: 78%;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.about__img-main img,
.about__img-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.about__img-float {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 52%;
  height: 58%;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 6px solid var(--cream);
  box-shadow: var(--shadow-soft);
}

.about__badge {
  position: absolute;
  bottom: 2rem;
  right: 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.4rem;
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--shadow-card);
}

.about__badge-mark {
  font-size: 1.4rem;
  color: var(--gold);
}

.about__badge-text {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.25;
  color: var(--ink);
}

/* ---------- Services ---------- */
.services { background: var(--cream); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head-note {
  max-width: 26rem;
  color: var(--muted);
  font-size: 0.98rem;
  padding-bottom: 0.4rem;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 4px 20px -12px rgba(29, 24, 19, 0.12);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
  will-change: transform;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
}

.service-card__media {
  position: relative;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
}

.service-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(20, 15, 10, 0.45));
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 0.5s var(--ease-out);
  will-change: transform;
}

.service-card:hover .service-card__media img {
  transform: scale(1.09);
}

.service-card__icon {
  position: absolute;
  left: 1.4rem;
  bottom: 1rem;
  z-index: 2;
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(251, 248, 242, 0.94);
  color: var(--gold-deep);
  box-shadow: 0 6px 18px -6px rgba(20, 15, 10, 0.35);
  transition: transform var(--t-med) var(--ease-out), background-color var(--t-med) var(--ease-soft), color var(--t-med) var(--ease-soft);
}

.service-card__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.service-card:hover .service-card__icon {
  transform: translateY(-4px) rotate(-8deg);
  background: var(--gold);
  color: var(--white);
}

.service-card__body {
  padding: 1.5rem 1.5rem 1.7rem;
}

.service-card__body h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.45rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.service-card__body p {
  font-size: 0.95rem;
  color: var(--muted);
}

.service-card__price {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  border-top: 1px solid var(--line);
  padding-top: 0.7rem;
}

/* ---------- Gallery ---------- */
.gallery {
  background: linear-gradient(180deg, var(--sand), var(--cream));
}

.gallery__masonry {
  columns: 3;
  column-gap: 1.2rem;
  width: min(1400px, 94%);
  margin-inline: auto;
}

.gallery__item {
  break-inside: avoid;
  margin-bottom: 1.2rem;
  border-radius: var(--r);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: 0 6px 24px -14px rgba(29, 24, 19, 0.2);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}

.gallery__item img {
  width: 100%;
  transition: transform 0.55s var(--ease-out);
  will-change: transform;
}

.gallery__item:nth-child(odd) img { aspect-ratio: 3 / 4; object-fit: cover; }
.gallery__item:nth-child(even) img { aspect-ratio: 4 / 3; object-fit: cover; }

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20, 15, 10, 0.5));
  opacity: 0;
  transition: opacity var(--t-med) var(--ease-soft);
}

.gallery__item:hover { box-shadow: var(--shadow-card); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after { opacity: 1; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: rgba(20, 15, 10, 0.92);
  backdrop-filter: blur(6px);
  padding: 2rem;
}

.lightbox[hidden] { display: none; }

.lightbox.is-open {
  animation: lightbox-in var(--t-med) var(--ease-out);
}

@keyframes lightbox-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox__frame {
  max-width: min(960px, 92vw);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  animation: lightbox-scale var(--t-med) var(--ease-out);
}

@keyframes lightbox-scale {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox__frame img {
  max-height: 78vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: var(--r-sm);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}

.lightbox__frame figcaption {
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  cursor: pointer;
  transition: background-color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.06);
}

.lightbox__close {
  top: 1.6rem;
  right: 1.6rem;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  font-size: 0.95rem;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  font-size: 1.6rem;
  font-weight: 300;
}

.lightbox__nav:hover { transform: translateY(-50%) scale(1.06); }

.lightbox__nav--prev { left: 1.6rem; }
.lightbox__nav--next { right: 1.6rem; }

/* ---------- Testimonials ---------- */
.testimonials {
  background:
    radial-gradient(90% 100% at 50% 0%, rgba(216, 194, 154, 0.18), transparent 60%),
    var(--cream);
  overflow: hidden;
}

.testimonials__score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  padding-bottom: 0.4rem;
}

.testimonials__stars {
  font-size: 1.3rem;
  letter-spacing: 0.25em;
  color: var(--gold);
}

.testimonials__rating {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.carousel {
  position: relative;
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}

.carousel__track {
  overflow: hidden;
}

.carousel__slide {
  display: none;
  padding: 2.4rem 1rem 1.4rem;
  animation: slide-in 0.55s var(--ease-out);
}

.carousel__slide.is-active { display: block; }

@keyframes slide-in {
  from { opacity: 0; transform: translateX(42px); }
  to { opacity: 1; transform: translateX(0); }
}

.carousel__stars {
  color: var(--gold);
  letter-spacing: 0.3em;
  font-size: 1.15rem;
  margin-bottom: 1.2rem;
}

.carousel__slide blockquote {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 40rem;
  margin-inline: auto;
}

.carousel__slide cite {
  display: block;
  margin-top: 1.6rem;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.carousel__source {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  margin-top: 2.2rem;
}

.carousel__arrow {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color var(--t-fast), color var(--t-fast), background-color var(--t-fast), transform var(--t-med) var(--ease-out);
}

.carousel__arrow svg { width: 1.05rem; height: 1.05rem; }

.carousel__arrow:hover {
  border-color: var(--gold);
  color: var(--white);
  background: var(--gold);
  transform: translateY(-2px);
}

.carousel__dots {
  display: flex;
  gap: 0.55rem;
}

.carousel__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: none;
  background: var(--taupe);
  cursor: pointer;
  padding: 0;
  transition: background-color var(--t-fast), transform var(--t-fast);
}

.carousel__dot.is-active {
  background: var(--gold);
  transform: scale(1.3);
}

/* ---------- Contact ---------- */
.contact {
  background: linear-gradient(180deg, var(--cream), var(--sand));
}

.contact__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(3rem, 6vw, 5.5rem);
  align-items: center;
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-top: 2.4rem;
}

.contact__item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}

.contact__icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--gold-deep);
  box-shadow: 0 8px 20px -10px rgba(29, 24, 19, 0.18);
}

.contact__icon svg { width: 1.3rem; height: 1.3rem; }

.contact__item strong {
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.contact__item div { color: var(--muted); font-size: 0.98rem; }
.contact__item a[href^="tel"] { color: var(--muted); transition: color var(--t-fast); }
.contact__item a[href^="tel"]:hover { color: var(--gold-deep); }

.contact__hours { margin-top: 0.35rem; }

.contact__cta { margin-top: 2.4rem; }

.contact__map-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 4.6;
  background: var(--line);
}

.contact__map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.85) contrast(0.98);
  transition: filter var(--t-med) var(--ease-soft);
}

.contact__map-frame:hover iframe { filter: saturate(1) contrast(1); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(251, 248, 242, 0.72);
  padding-top: clamp(3.5rem, 6vw, 5rem);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: 3rem;
}

.brand--footer { color: var(--cream); }
.brand--footer em { color: var(--gold-soft); }
.brand--footer .brand__tag { color: rgba(251, 248, 242, 0.5); }

.footer__about {
  max-width: 22rem;
  font-size: 0.95rem;
  margin-top: 1.2rem;
}

.footer__social {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.footer__social a {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(251, 248, 242, 0.18);
  border-radius: 50%;
  color: rgba(251, 248, 242, 0.8);
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-med) var(--ease-out);
}

.footer__social a svg { width: 1.1rem; height: 1.1rem; }

.footer__social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-3px);
}

.footer__title {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--cream);
  margin-bottom: 1.2rem;
}

.footer__nav ul,
.footer__contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.95rem;
}

.footer__nav a { transition: color var(--t-fast); }
.footer__nav a:hover { color: var(--gold-soft); }
.footer__contact a { transition: color var(--t-fast); }
.footer__contact a:hover { color: var(--gold-soft); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.6rem;
  border-top: 1px solid rgba(251, 248, 242, 0.12);
  font-size: 0.82rem;
  color: rgba(251, 248, 242, 0.5);
}

.footer__note span { color: var(--gold); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 1.6rem;
  bottom: 1.6rem;
  z-index: 1500;
  width: 3.6rem;
  height: 3.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #3ec98b, #1e9e63);
  color: var(--white);
  box-shadow: 0 14px 34px -10px rgba(30, 158, 99, 0.6);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}

.wa-float svg {
  width: 1.55rem;
  height: 1.55rem;
}

.wa-float:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 20px 42px -12px rgba(30, 158, 99, 0.75);
}

.wa-float__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(30, 158, 99, 0.7);
  animation: wa-pulse 2.6s var(--ease-soft) infinite;
  pointer-events: none;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__masonry { columns: 2; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    background: linear-gradient(160deg, var(--cream), var(--sand));
    color: var(--ink);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t-med) var(--ease-out), visibility var(--t-med);
  }

  body.nav-open .nav {
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    gap: 1.6rem;
  }

  .nav__link {
    font-family: var(--serif);
    font-size: 2rem;
    text-transform: none;
    letter-spacing: 0.02em;
    text-transform: lowercase;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out);
  }

  .nav__link::after { display: none; }

  body.nav-open .nav__link {
    opacity: 1;
    transform: translateY(0);
  }

  body.nav-open .nav__link:nth-child(1) { transition-delay: 0.05s; }
  body.nav-open .nav__link:nth-child(2) { transition-delay: 0.1s; }
  body.nav-open .nav__link:nth-child(3) { transition-delay: 0.15s; }
  body.nav-open .nav__link:nth-child(4) { transition-delay: 0.2s; }
  body.nav-open .nav__link:nth-child(5) { transition-delay: 0.25s; }
  body.nav-open .nav__link:nth-child(6) { transition-delay: 0.3s; }

  .nav__cta-mobile {
    display: inline-flex;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity var(--t-med) var(--ease-out) 0.35s, transform var(--t-med) var(--ease-out) 0.35s;
  }

body.nav-open .nav__cta-mobile {
  opacity: 1;
  transform: translateY(0);
}

body.nav-open { overflow: hidden; }

  .burger {
    display: flex;
    color: inherit;
  }

  .header__actions .btn { display: none; }

  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .about__visual { height: 540px; margin-top: 1rem; }

  .hero__scroll { display: none; }
}

@media (max-width: 640px) {
  .services__grid { grid-template-columns: 1fr; }
  .gallery__masonry { columns: 1; }

  .about__visual { height: 420px; }
  .about__img-float { width: 58%; }
  .about__stats { flex-wrap: wrap; }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .testimonials__score { align-items: flex-start; }

  .contact__map-frame { aspect-ratio: 4 / 4.2; }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .wa-float {
    right: 1.1rem;
    bottom: 1.1rem;
  }

  .lightbox__nav--prev { left: 0.6rem; }
  .lightbox__nav--next { right: 0.6rem; }
}
