/* ============================================================
   Paulista Beauty Salon — page modules & components
   ============================================================ */

/* ---------- HERO ---------- */
.hero { position: relative; padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(40px, 6vw, 90px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-copy .eyebrow { margin-bottom: 1.4rem; }
.hero-copy h1 { margin-bottom: 1.3rem; }
.hero-copy .lead { max-width: 42ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.hero-trust { margin-top: 2.2rem; display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.hero-trust .divider { width: 1px; height: 30px; background: var(--border); }
.hero-trust .open-now { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--muted); }
.hero-trust .dot { width: 8px; height: 8px; border-radius: 50%; background: #4caf7d; box-shadow: 0 0 0 4px rgba(76,175,125,.18); }

.hero-media { position: relative; }
.hero-media .frame {
  position: relative; border-radius: 240px 240px var(--radius-lg) var(--radius-lg);
  overflow: hidden; aspect-ratio: 3/3.7;
  box-shadow: var(--shadow-md);
  background: var(--photo-soft);
}
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .badge {
  position: absolute; z-index: 2;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 100px; padding: .7rem 1.1rem;
  display: flex; align-items: center; gap: .6rem;
  box-shadow: var(--shadow-md);
  font-size: .85rem;
}
.hero-media .badge.tl { top: 8%; left: -6%; }
.hero-media .badge.br { bottom: 9%; right: -5%; }
.hero-media .badge .b-score { font-family: var(--ff-num); font-weight: 800; font-size: 1.15rem; color: var(--text); font-variant-numeric: tabular-nums; }
.hero-media .badge .b-stars { color: var(--accent); font-size: .8rem; letter-spacing: .06em; }
.hero-media .badge .b-label { color: var(--muted); font-size: .76rem; }
.hero-media .ring { position: absolute; inset: auto -4% -6% auto; width: 46%; aspect-ratio: 1; border: 1px solid var(--accent); border-radius: 50%; z-index: -1; opacity: .5; }

/* ---------- decorative wordmark watermark ---------- */
.watermark {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(5rem, 22vw, 20rem); line-height: .8;
  color: var(--primary); opacity: .05;
  pointer-events: none; user-select: none; white-space: nowrap;
}

/* ---------- STAT / TRUST BAND ---------- */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: center; padding: .5rem; }
.stat .num { font-family: var(--ff-display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.1rem); color: var(--primary); line-height: 1; }
.stat .num .unit { font-size: .55em; color: var(--accent-deep); }
.stat .lbl { margin-top: .6rem; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.bg-panel .stat .num { color: var(--accent); }
.bg-panel .stat .lbl { color: #b8b2a8; }

/* ---------- SPLIT FEATURE ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split.flip .split-media { order: 2; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/4.6; background: var(--photo-soft); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy h2 { margin-bottom: 1.2rem; }
.split-copy .lead { margin-bottom: 1.6rem; }
.feature-list { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1rem; }
.feature-list li { display: flex; gap: .9rem; align-items: flex-start; }
.feature-list .fi-ico { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: color-mix(in srgb, var(--primary) 12%, #fff); color: var(--primary); display: grid; place-items: center; margin-top: 2px; }
.feature-list .fi-ico svg { width: 16px; height: 16px; }
.feature-list b { display: block; font-family: var(--ff-body); font-weight: 700; font-size: 1rem; }
.feature-list span.ft { color: var(--muted); font-size: .94rem; }

/* ---------- EDITORIAL DUO ---------- */
.editorial { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2.4vw, 2rem); }
.editorial figure { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; background: var(--secondary); }
.editorial figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.3,1); }
.editorial figure:hover img { transform: scale(1.04); }

/* ---------- GALLERY ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.6rem; }
.filter-btn {
  font-family: var(--ff-body); font-weight: 600; font-size: .9rem;
  padding: .6em 1.25em; border-radius: 100px; cursor: pointer;
  background: transparent; color: var(--muted); border: 1px solid var(--border);
  transition: all .25s;
}
.filter-btn:hover { color: var(--primary); border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); }
.filter-btn.active { background: var(--secondary); color: #fff; border-color: var(--secondary); }

.masonry { columns: 3; column-gap: clamp(1rem, 2vw, 1.4rem); }
.masonry .m-item {
  break-inside: avoid; margin-bottom: clamp(1rem, 2vw, 1.4rem);
  border-radius: var(--radius-lg); overflow: hidden; display: block;
  position: relative; background: var(--photo-soft); cursor: zoom-in;
}
.masonry .m-item img { width: 100%; display: block; transition: transform .7s cubic-bezier(.2,.7,.3,1); }
.masonry .m-item:hover img { transform: scale(1.05); }
.masonry .m-item .m-cap {
  position: absolute; inset: auto 0 0 0; padding: 1.4rem 1rem .9rem;
  background: linear-gradient(to top, rgba(35,44,40,.82), transparent);
  color: #fff; font-size: .85rem; font-weight: 600; letter-spacing: .04em;
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s;
}
.masonry .m-item:hover .m-cap { opacity: 1; transform: none; }
.masonry .m-item.hide { display: none; }
@media (max-width: 860px) { .masonry { columns: 2; } }
@media (max-width: 520px) { .masonry { columns: 1; } }

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(28,22,24,.92); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.open { display: flex; }
.lb-figure { margin: 0; max-width: min(92vw, 1100px); max-height: 88vh; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.lb-figure img { max-width: 100%; max-height: 80vh; border-radius: 6px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); object-fit: contain; }
.lb-figure figcaption { color: #e9e3da; font-size: .9rem; letter-spacing: .04em; text-align: center; }
.lb-close { position: absolute; top: 1.2rem; right: 1.4rem; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; transition: background .2s; }
.lb-close:hover { background: rgba(255,255,255,.16); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; font-size: 1.9rem; line-height: 1; cursor: pointer; transition: background .2s; }
.lb-nav:hover { background: rgba(255,255,255,.16); }
.lb-prev { left: clamp(.6rem, 2vw, 2rem); }
.lb-next { right: clamp(.6rem, 2vw, 2rem); }
@media (max-width: 600px) { .lb-nav { width: 42px; height: 42px; font-size: 1.5rem; } }

/* ---------- MAP / LOCATION ---------- */
.location-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: stretch; }
.location-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.8rem, 3vw, 2.6rem); display: flex; flex-direction: column; }
.contact-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 0; border-bottom: 1px solid var(--border); }
.contact-row:last-of-type { border-bottom: 0; }
.contact-row .cr-ico { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; background: var(--bg); color: var(--primary); display: grid; place-items: center; }
.contact-row .cr-ico svg { width: 19px; height: 19px; }
.contact-row .cr-label { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact-row .cr-value { font-size: 1.05rem; font-weight: 600; color: var(--text); margin-top: .2rem; }
.contact-row .cr-value a:hover { color: var(--primary); }
.contact-row .cr-value.num { font-family: var(--ff-num); font-variant-numeric: tabular-nums; letter-spacing: .02em; }

.map-placeholder {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 340px;
  background:
    repeating-linear-gradient(45deg, color-mix(in srgb, var(--secondary) 92%, #000) 0 14px, var(--secondary) 14px 28px);
  display: grid; place-items: center; text-align: center; color: #efe9e0; padding: 2rem;
  border: 1px solid var(--border);
}
.map-placeholder::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(217,181,111,.18), transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(182,106,122,.18), transparent 40%);
}
.map-placeholder .mp-inner { position: relative; }
.map-placeholder .mp-pin { width: 46px; height: 46px; margin: 0 auto 1rem; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--primary); display: grid; place-items: center; box-shadow: 0 10px 26px -8px rgba(0,0,0,.5); }
.map-placeholder .mp-pin::after { content: ""; width: 14px; height: 14px; background: #fff; border-radius: 50%; transform: rotate(45deg); }
.map-placeholder .mp-tag { font-family: var(--ff-num); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: .5rem; }
.map-placeholder h3 { color: #fff; font-size: 1.3rem; margin-bottom: .5rem; }
.map-placeholder p { color: #c9c2b8; font-size: .92rem; max-width: 34ch; margin: 0 auto 1.4rem; }

/* ---------- FORM ---------- */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 3rem); }
.form-fields { display: grid; gap: 1.3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field label { font-size: .82rem; font-weight: 700; letter-spacing: .04em; color: var(--text); }
.field label .req { color: var(--primary); }
.field input, .field select, .field textarea {
  font-family: var(--ff-body); font-size: 1rem; color: var(--text);
  padding: .85em 1em; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg); transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 16%, transparent); }
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,.12); }
.form-note { font-size: .9rem; color: var(--muted); margin: 0; }
.form-note.error { color: #c0392b; }
.form-success { text-align: center; padding: 1rem 0; }
.form-success .fs-ico { width: 64px; height: 64px; border-radius: 50%; background: color-mix(in srgb, #4caf7d 16%, #fff); color: #2e8c5d; display: grid; place-items: center; margin: 0 auto 1.2rem; }
.form-success h3 { font-size: 1.6rem; margin-bottom: .5rem; }
.form-success p { color: var(--muted); margin: 0 auto; max-width: 38ch; }
.choice-group { display: flex; gap: .6rem; flex-wrap: wrap; }
.choice {
  position: relative; cursor: pointer;
}
.choice input { position: absolute; opacity: 0; }
.choice span {
  display: inline-block; padding: .6em 1.1em; border-radius: 100px;
  border: 1px solid var(--border); background: var(--bg); font-size: .9rem; font-weight: 600; color: var(--muted);
  transition: all .2s;
}
.choice input:checked + span { background: var(--primary); color: #fff; border-color: var(--primary); }
.choice input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }

/* ---------- CTA BAND ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 0; }
.cta-band .container { position: relative; z-index: 1; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { color: #c9c2b8; max-width: 48ch; margin: 0 auto 2rem; }
.cta-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- PAGE HERO (interior pages) ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px); text-align: center; }
.page-hero .eyebrow { justify-content: center; margin-bottom: 1.2rem; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin-bottom: 1.1rem; }
.page-hero p { margin-inline: auto; }
.breadcrumb { display: flex; gap: .5rem; justify-content: center; font-size: .82rem; color: var(--muted); margin-bottom: 2rem; }
.breadcrumb a:hover { color: var(--primary); }

/* ---------- TESTIMONIAL ---------- */
.quote-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.2rem); display: flex; flex-direction: column; gap: 1rem; height: 100%; }
.quote-card .q-stars { color: var(--accent); font-size: .95rem; letter-spacing: .1em; }
.quote-card blockquote { margin: 0; font-family: var(--ff-display); font-size: 1.2rem; line-height: 1.45; color: var(--text); }
.quote-card .q-src { margin-top: auto; font-size: .82rem; color: var(--muted); letter-spacing: .04em; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-media { max-width: 460px; margin-inline: auto; width: 100%; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split.flip .split-media { order: 0; }
  .split-media { aspect-ratio: 4/3; max-height: 440px; }
  .location-grid { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .editorial { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .hero-media .badge.tl { left: 2%; }
  .hero-media .badge.br { right: 2%; }
}
