/* ══════════════════════════════════════════
   PANELS — Content Panels, A Marca, Loja
   MP Skin & SPA — Brand Refresh
══════════════════════════════════════════ */


/* ══════════════════════════════════════════
   CONTENT PANELS (Relaxamento, Beleza, Clean Beauty)
══════════════════════════════════════════ */

.panel-overlay {
  position: fixed; inset: 0;
  background: rgba(0,83,76,0.55);
  backdrop-filter: blur(4px);
  z-index: 500;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.panel-overlay.open { opacity: 1; pointer-events: all; }

.content-panel {
  position: fixed; top: 0; right: 0;
  width: min(540px, 100vw);
  height: 100vh;
  background: var(--warm-white);
  z-index: 600;
  transform: translateX(100%);
  transition: transform 0.55s cubic-bezier(0.77,0,0.175,1);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.content-panel.open { transform: translateX(0); }

.panel-close {
  position: absolute; top: 24px; right: 28px;
  display: flex; align-items: center; gap: 10px;
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.6rem; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(0,83,76,0.6);
  background: none; border: 1px solid rgba(0,83,76,0.2);
  padding: 9px 18px; cursor: none;
  z-index: 2;
  transition: color 0.3s, border-color 0.3s;
}
.panel-close:hover { color: var(--dark); border-color: rgba(0,83,76,0.5); }

.panel-inner {
  padding: 64px 52px 52px;
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.panel-inner::-webkit-scrollbar { width: 4px; }
.panel-inner::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.panel-eyebrow {
  font-size: 0.58rem; font-weight: 400;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.panel-eyebrow::before {
  content: ''; display: block;
  width: 28px; height: 1px; background: var(--gold);
}

.panel-title {
  font-family: 'Prompt', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 300; line-height: 1.1;
  color: var(--dark);
  margin-bottom: 20px;
}
.panel-title em { font-style: italic; color: var(--brown-mid); }

.panel-body {
  font-size: 0.88rem; font-weight: 300;
  line-height: 1.85; color: var(--text-body);
  margin-bottom: 14px;
}

.panel-quote {
  border-left: 2px solid var(--gold);
  padding: 16px 20px;
  margin: 24px 0;
  background: var(--cream);
}
.panel-quote p {
  font-family: 'Prompt', sans-serif;
  font-size: 1.1rem; font-style: italic; font-weight: 300;
  color: var(--charcoal); line-height: 1.6;
}

.panel-signature {
  font-family: 'Prompt', sans-serif;
  font-size: 1rem; font-style: italic; font-weight: 300;
  color: var(--gold); margin-top: 8px; margin-bottom: 0;
}

.panel-divider {
  width: 100%; height: 1px;
  background: var(--border);
  margin: 32px 0;
}

.panel-section-label {
  font-size: 0.58rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: 20px;
}

/* Philosophy list (A Marca panel) */
.panel-pillar-list { display: flex; flex-direction: column; gap: 20px; }
.ppl-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(111,162,135,0.1);
}
.ppl-item:last-child { border-bottom: none; padding-bottom: 0; }
.ppl-num {
  font-family: 'Prompt', sans-serif;
  font-size: 1.5rem; font-weight: 300;
  color: rgba(111,162,135,0.3);
  line-height: 1; flex-shrink: 0; width: 28px;
}
.ppl-title {
  font-family: 'Prompt', sans-serif;
  font-size: 1rem; font-weight: 400;
  color: var(--dark); margin-bottom: 4px;
}
.ppl-text {
  font-size: 0.78rem; font-weight: 300;
  color: var(--brown-mid); line-height: 1.65;
}

/* Stats (A Marca panel) */
.panel-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; margin-bottom: 32px;
}
.panel-stat {
  background: var(--cream);
  padding: 20px;
  display: flex; flex-direction: column; gap: 4px;
}
.ps-num {
  font-family: 'Prompt', sans-serif;
  font-size: 2rem; font-weight: 300;
  color: var(--dark); line-height: 1;
}
.ps-label {
  font-size: 0.62rem; font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--brown-light);
}

/* Service list (Corpo / Face) */
.panel-service-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 32px; }
.panel-service-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(111,162,135,0.12);
  cursor: none;
  transition: padding-left 0.25s ease;
}
.panel-service-item:first-child { border-top: 1px solid rgba(111,162,135,0.12); }
.panel-service-item:hover { padding-left: 8px; }
.psi-info { flex: 1; }
.psi-name {
  font-family: 'Prompt', sans-serif;
  font-size: 1.05rem; font-weight: 400;
  color: var(--dark); margin-bottom: 3px;
}
.psi-desc {
  font-size: 0.74rem; font-weight: 300;
  color: var(--brown-mid); line-height: 1.5;
  margin-bottom: 6px;
}
.psi-detail {
  font-size: 0.6rem; font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--gold);
}
.psi-arrow {
  color: var(--brown-light); flex-shrink: 0;
  transition: color 0.2s, transform 0.2s;
}
.panel-service-item:hover .psi-arrow { color: var(--gold); transform: translateX(4px); }

/* Product list (Boutique) */
.panel-product-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 32px; }
.panel-product-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(111,162,135,0.12);
}
.panel-product-item:first-child { border-top: 1px solid rgba(111,162,135,0.12); }
.ppi-icon {
  width: 52px; height: 60px; border-radius: 4px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.ppi-info { flex: 1; }
.ppi-name {
  font-family: 'Prompt', sans-serif;
  font-size: 0.95rem; font-weight: 400;
  color: var(--dark); margin-bottom: 2px;
}
.ppi-type {
  font-size: 0.65rem; font-weight: 300;
  letter-spacing: 0.06em; color: var(--brown-light);
}
.ppi-price {
  font-family: 'Prompt', sans-serif;
  font-size: 1rem; font-weight: 400;
  color: var(--dark); flex-shrink: 0;
}

/* Panel CTA */
.panel-cta {
  width: 100%;
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--dark); background: var(--gold);
  border: none; cursor: none;
  padding: 17px;
  transition: background 0.3s, transform 0.2s;
  margin-top: 8px;
}
.panel-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* Pillar blocks cursor pointer */
.pillar-block { cursor: none; }


/* ══════════════════════════════════════════
   PAGINA COMPLETA — A MARCA (#page-marca)
══════════════════════════════════════════ */

#page-marca {
  position: fixed; inset: 0;
  z-index: 700;
  overflow-y: auto;
  background: var(--warm-white);
  transform: translateY(100%);
  transition: transform 0.7s cubic-bezier(0.77,0,0.175,1);
  visibility: hidden;
}
#page-marca.open {
  transform: translateY(0);
  visibility: visible;
}

/* ── MARCA NAV ── */
.pm-nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 60px;
  background: rgba(0,83,76,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(111,162,135,0.12);
}
.pm-close {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.6rem; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(247,243,238,0.6);
  background: none; border: 1px solid rgba(247,243,238,0.15);
  padding: 9px 18px; cursor: none;
  transition: color 0.3s, border-color 0.3s;
}
.pm-close:hover { color: var(--cream); border-color: rgba(247,243,238,0.4); }

/* ── MARCA HERO ── */
.pm-hero {
  position: relative;
  height: 70vh; min-height: 480px;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.pm-hero-bg {
  position: absolute; inset: 0;
  background:
    url('https://images.unsplash.com/photo-1540555700478-4be289fbecef?w=1600&q=80')
    center/cover no-repeat;
  transform: scale(1.05);
  animation: heroVideoScale 20s ease-in-out infinite alternate;
}
.pm-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,83,76,0.88) 0%,
    rgba(0,83,76,0.4) 50%,
    rgba(0,83,76,0.15) 100%
  );
}
.pm-hero-content {
  position: relative; z-index: 2;
  padding: 0 60px 64px;
  max-width: 900px;
}
.pm-hero-tag {
  font-size: 0.6rem; font-weight: 400;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 24px;
  opacity: 0; animation: fadeUp 0.8s 0.3s forwards;
}
.pm-hero-tag::before {
  content: ''; display: block;
  width: 32px; height: 1px; background: var(--gold);
}
.pm-hero-title {
  font-family: 'Prompt', sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 300; line-height: 1.1;
  color: var(--cream);
  opacity: 0; animation: fadeUp 0.9s 0.5s forwards;
}
.pm-hero-title em { font-style: italic; color: var(--gold-light); }

.pm-hero-scroll {
  position: absolute; right: 60px; bottom: 48px; z-index: 2;
  writing-mode: vertical-lr;
  font-size: 0.58rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(247,243,238,0.35);
  display: flex; align-items: center; gap: 14px;
}
.pm-hero-scroll::after {
  content: ''; display: block; width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(111,162,135,0.5), transparent);
}

@keyframes heroVideoScale {
  from { transform: scale(1.0); }
  to   { transform: scale(1.06); }
}

/* ── MARCA BODY SECTIONS ── */
.pm-body { }
.pm-section { padding: 100px 60px; }
.pm-section-dark {
  background: var(--dark);
}
.pm-section-cta {
  background: linear-gradient(160deg, #00534c 0%, #1a6b5e 50%, #74956c 100%);
  padding: 120px 60px;
}
.pm-section-inner { max-width: 1100px; margin: 0 auto; }

.pm-two-col {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px;
  align-items: start;
}
.pm-label {
  font-size: 0.58rem; font-weight: 400;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.pm-label::before {
  content: ''; display: block;
  width: 24px; height: 1px; background: currentColor;
}
.pm-section-title {
  font-family: 'Prompt', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300; line-height: 1.1;
  color: var(--dark); margin-bottom: 32px;
}
.pm-section-title em { font-style: italic; color: var(--brown-mid); }

.pm-section-dark .pm-section-title { color: var(--cream); }
.pm-section-cta .pm-section-title { color: var(--cream); }

.pm-text {
  font-size: 0.9rem; font-weight: 300;
  line-height: 1.9; color: var(--text-body);
  margin-bottom: 16px;
}
.pm-section-dark .pm-text { color: rgba(247,243,238,0.7); }
.pm-section-cta .pm-text { color: rgba(247,243,238,0.7); }

.pm-signature {
  font-family: 'Prompt', sans-serif;
  font-size: 1.1rem; font-style: italic; font-weight: 300;
  color: var(--gold); margin-top: 24px;
}

/* Marquee band */
.pm-band {
  background: var(--gold);
  padding: 14px 0;
  overflow: hidden; white-space: nowrap;
}
.pm-band-track {
  display: inline-flex; gap: 32px;
  animation: marquee 18s linear infinite;
}
.pm-band span {
  font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--dark); flex-shrink: 0;
}
.pm-band-dot { opacity: 0.4; }

/* Philosophy grid */
.pm-pillars-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; margin-top: 48px;
}
.pm-pillar-item {
  padding: 40px;
  border: 1px solid rgba(111,162,135,0.1);
  border-left: none; border-top: none;
}
.pm-pillar-item:nth-child(odd) { border-left: 1px solid rgba(111,162,135,0.1); }
.pm-pillar-item:nth-child(-n+2) { border-top: 1px solid rgba(111,162,135,0.1); }
.pm-pillar-num {
  font-family: 'Prompt', sans-serif;
  font-size: 2.5rem; font-weight: 300;
  color: rgba(111,162,135,0.2);
  display: block; line-height: 1; margin-bottom: 16px;
}
.pm-pillar-name {
  font-family: 'Prompt', sans-serif;
  font-size: 1.15rem; font-weight: 400;
  color: var(--cream); margin-bottom: 10px;
}
.pm-pillar-desc {
  font-size: 0.78rem; font-weight: 300;
  line-height: 1.75; color: rgba(247,243,238,0.55);
}

/* Stats grid */
.pm-stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0; margin-top: 48px;
  border: 1px solid var(--border);
}
.pm-stat {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 6px;
}
.pm-stat:last-child { border-right: none; }
.pm-stat-num {
  font-family: 'Prompt', sans-serif;
  font-size: 4.5rem; font-weight: 300;
  color: var(--dark); line-height: 1;
}
.pm-stat-label {
  font-size: 0.82rem; font-weight: 400;
  letter-spacing: 0.08em; color: var(--dark);
}
.pm-stat-note {
  font-size: 0.7rem; font-weight: 300;
  color: var(--brown-light);
}

/* Final CTA */
.pm-cta-btn {
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--dark); background: var(--gold);
  border: none; cursor: none;
  padding: 18px 52px;
  transition: background 0.3s, transform 0.2s;
}
.pm-cta-btn:hover { background: var(--gold-light); transform: translateY(-2px); }


/* ══════════════════════════════════════════
   PAGINA LOJA — TODOS OS PRODUTOS (#page-loja)
══════════════════════════════════════════ */

#page-loja {
  position: fixed; inset: 0;
  z-index: 700;
  overflow-y: auto;
  background: var(--warm-white);
  transform: translateY(100%);
  transition: transform 0.7s cubic-bezier(0.77,0,0.175,1);
  visibility: hidden;
}
#page-loja.open { transform: translateY(0); visibility: visible; }

.loja-header {
  padding: 80px 60px 48px;
  background: var(--dark);
  border-bottom: 1px solid rgba(111,162,135,0.12);
}
.loja-title {
  font-family: 'Prompt', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300; line-height: 1.1;
  color: var(--cream); margin-bottom: 18px;
}
.loja-title em { font-style: italic; color: var(--gold-light); }

.loja-subtitle {
  font-size: 0.85rem; font-weight: 300;
  letter-spacing: 0.04em; line-height: 1.8;
  color: rgba(247,243,238,0.55);
  max-width: 520px;
}
.loja-header .pm-label { color: var(--gold); }

/* Filtros */
.loja-filters {
  display: flex; gap: 0;
  padding: 0 60px;
  background: var(--dark);
  border-bottom: 1px solid rgba(111,162,135,0.12);
  overflow-x: auto;
}
.loja-filter {
  font-size: 0.62rem; font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(247,243,238,0.45);
  background: none; border: none; cursor: none;
  padding: 18px 28px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.25s, border-color 0.25s;
}
.loja-filter:hover { color: rgba(247,243,238,0.8); }
.loja-filter.active { color: var(--gold); border-bottom-color: var(--gold); }

/* Grid */
.loja-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 48px 60px 80px;
}

/* Reuse .product-card styles — loja-card is the same */
.loja-card {
  position: relative; overflow: hidden;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.loja-card.hidden { display: none; }
.loja-card .product-img { height: 280px; }


/* ══════════════════════════════════════════
   BOOKING OVERLAY (color update)
══════════════════════════════════════════ */

.booking-overlay {
  position: fixed; inset: 0;
  background: rgba(0,83,76,0.7);
  backdrop-filter: blur(6px);
  z-index: 800;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.booking-overlay.open { opacity: 1; pointer-events: all; }
