@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap");

:root {
  --bg-primary: #060608;
  --bg-secondary: #0D0D10;
  --bg-card: #141418;
  --brand-gold: #F3BA0D;
  --gold-light: #FFF0BD;
  --gold-dark: #C49100;
  --text-primary: #FFFFFF;
  --text-secondary: #9E9EA4;
  --border-soft: rgba(255, 255, 255, 0.08);
  --glass: rgba(20, 20, 24, 0.74);
  --gold-gradient: linear-gradient(135deg, var(--gold-light), var(--brand-gold) 55%, var(--gold-dark));
  --shadow-premium: 0 18px 48px rgba(0, 0, 0, 0.58);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -10%, rgba(243, 186, 13, 0.09), transparent 30%),
    radial-gradient(circle at top, #19191e 0%, var(--bg-primary) 42%, #000 100%);
  color: var(--text-primary);
  font-family: "Outfit", system-ui, sans-serif;
  line-height: 1.5;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.d-none {
  display: none !important;
}

#app-container {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: 112px;
  background: rgba(6, 6, 8, 0.96);
  border-left: 1px solid rgba(255, 255, 255, 0.04);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 70px rgba(0, 0, 0, 0.8);
}

.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle, rgba(243, 186, 13, 0.1), transparent 32%),
    var(--bg-primary);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.splash-screen.hidden {
  opacity: 0;
  transform: scale(1.02);
}

.splash-logo {
  width: 154px;
  height: 154px;
  border: 2px solid var(--brand-gold);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 42px rgba(243, 186, 13, 0.32), inset 0 0 22px rgba(243, 186, 13, 0.08);
  animation: logoPulse 1.65s ease-in-out infinite alternate;
}

.splash-screen h1 {
  margin-top: 22px;
  font-family: "Playfair Display", serif;
  font-size: 1.65rem;
  letter-spacing: 0.08em;
}

.splash-screen span {
  color: var(--brand-gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.splash-loader {
  width: 58px;
  height: 2px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.splash-loader div {
  width: 55%;
  height: 100%;
  background: var(--brand-gold);
  animation: loaderMove 1.2s linear infinite;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(180deg, rgba(19, 19, 23, 0.94), rgba(13, 13, 16, 0.82));
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(18px);
}

.brand-section {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  gap: 10px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border: 1px solid var(--brand-gold);
  border-radius: 50%;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  max-width: min(100%, 310px);
}

.brand-copy strong {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  white-space: nowrap;
}

.brand-copy span {
  color: var(--brand-gold);
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1.08;
}

.role-selector {
  display: flex;
  gap: 2px;
  flex: 0 0 auto;
  padding: 3px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.role-btn {
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0 10px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.role-btn.active {
  background: var(--gold-gradient);
  color: #000;
}

.role-btn:active,
.btn-primary:active,
.btn-outline:active,
.icon-action:active {
  transform: scale(0.96);
}

.view-screen {
  animation: fadeUp 0.28s ease both;
}

.section {
  padding: 22px 18px;
}

.section.compact {
  padding-top: 14px;
}

.section-title {
  position: relative;
  margin-bottom: 14px;
  font-family: "Playfair Display", serif;
  font-size: 1.38rem;
  line-height: 1.15;
}

.section-title::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin-top: 8px;
  background: var(--brand-gold);
}

.hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: flex-end;
  padding: 28px 18px;
  overflow: hidden;
  background: #000;
}

.hero-video,
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.14) brightness(0.62);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 6, 8, 0.98), rgba(6, 6, 8, 0.68), rgba(6, 6, 8, 0.28)),
    linear-gradient(180deg, rgba(6, 6, 8, 0.18), rgba(6, 6, 8, 0.98));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 380px;
}

.hero-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  margin-bottom: 12px;
  padding: 5px;
  border: 1px solid rgba(243, 186, 13, 0.28);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(12px);
}

.hero-mark img {
  position: relative;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--brand-gold);
  object-fit: cover;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--brand-gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.34rem;
  line-height: 1.05;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.9);
}

.hero p,
.muted {
  color: var(--text-secondary);
}

.hero p {
  margin: 12px 0 20px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}

.btn-primary,
.btn-outline,
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  border: 0;
  background: var(--gold-gradient);
  color: #000;
  box-shadow: 0 10px 26px rgba(243, 186, 13, 0.18);
}

.btn-primary:hover,
.btn-outline:hover,
.whatsapp-btn:hover {
  filter: brightness(1.08);
}

.btn-primary.danger {
  background: linear-gradient(135deg, #ffb4b4, #ef4444);
  color: #120606;
  box-shadow: 0 10px 26px rgba(239, 68, 68, 0.18);
}

.btn-outline {
  border: 1px solid rgba(243, 186, 13, 0.42);
  background: rgba(243, 186, 13, 0.05);
  color: var(--brand-gold);
}

.whatsapp-btn {
  margin-top: 12px;
  border: 1px solid rgba(34, 197, 94, 0.36);
  background: rgba(34, 197, 94, 0.1);
  color: #8ef0ad;
}

.dm-marquee {
  width: 100%;
  overflow: hidden;
  background: var(--gold-gradient);
  color: #000;
  border-top: 1px solid rgba(255, 240, 189, 0.25);
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  box-shadow: 0 8px 28px rgba(243, 186, 13, 0.16);
}

.dm-marquee-track {
  display: flex;
  width: max-content;
  gap: 28px;
  padding: 9px 0;
  white-space: nowrap;
  animation: marqueeMove 22s linear infinite;
}

.dm-marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dm-marquee-track span::after {
  content: "•";
  font-weight: 900;
  color: rgba(0, 0, 0, 0.55);
}

.dm-marquee:hover .dm-marquee-track {
  animation-play-state: paused;
}

.card {
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(20, 20, 24, 0.72));
  box-shadow: var(--shadow-premium), inset 0 1px 0 rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(16px);
}

.card.pad {
  padding: 16px;
}

.auth-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.auth-tabs button {
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 900;
}

.auth-tabs button.active {
  background: var(--gold-gradient);
  color: #000;
}

.auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 5px 10px;
  border: 1px solid rgba(243, 186, 13, 0.25);
  border-radius: 999px;
  background: rgba(243, 186, 13, 0.08);
  color: var(--brand-gold);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.auth-badge .material-symbols-outlined {
  font-size: 16px;
}

.admin-link {
  align-self: center;
  width: fit-content;
  border: 0;
  background: transparent;
  color: var(--brand-gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.service-card,
.appointment-card,
.metric-card {
  padding: 14px;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.022));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-card:active,
.appointment-card:active,
.metric-card:active {
  transform: scale(0.985);
}

.service-card.featured {
  border-color: rgba(243, 186, 13, 0.3);
}

.service-card h3,
.appointment-card h3 {
  font-size: 0.95rem;
}

.compact-services-list {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(20, 20, 24, 0.68));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(16px);
}

.compact-service-row + .compact-service-row {
  border-top: 1px solid rgba(255, 255, 255, 0.065);
}

.compact-service-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 54px 74px 20px;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  padding: 0 12px;
  text-align: left;
}

.compact-service-summary strong {
  min-width: 0;
  overflow: hidden;
  font-size: 0.86rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-service-summary span {
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 800;
}

.compact-service-summary b {
  color: var(--brand-gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

.compact-service-arrow {
  color: var(--brand-gold) !important;
  font-size: 20px !important;
  transition: transform 0.24s ease;
}

.compact-service-row.open .compact-service-arrow {
  transform: rotate(180deg);
}

.compact-service-details {
  max-height: 0;
  overflow: hidden;
  padding: 0 12px;
  color: var(--text-secondary);
  opacity: 0;
  transition: max-height 0.28s ease, opacity 0.24s ease, padding 0.28s ease;
}

.compact-service-row.open .compact-service-details {
  max-height: 220px;
  padding: 0 12px 13px;
  opacity: 1;
}

.compact-service-details p {
  margin-bottom: 10px;
  font-size: 0.8rem;
}

.compact-service-meta {
  display: grid;
  gap: 5px;
  margin-bottom: 12px;
  font-size: 0.72rem;
}

.compact-service-meta strong {
  color: var(--gold-light);
}

.compact-service-choose {
  min-height: 34px;
  border: 1px solid rgba(243, 186, 13, 0.32);
  border-radius: 11px;
  background: rgba(243, 186, 13, 0.11);
  color: var(--brand-gold);
  font-size: 0.74rem;
  font-weight: 900;
  padding: 0 12px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.compact-service-choose:active {
  transform: scale(0.97);
}

.gallery-section {
  overflow: hidden;
}

.section-head .section-title {
  margin-bottom: 8px;
}

.gallery-carousel {
  position: relative;
  height: 250px;
  margin-top: 18px;
  overflow: hidden;
}

.gallery-stage {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 1000px;
}

.gallery-card {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 185px;
  height: 185px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.55);
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.45s ease, opacity 0.45s ease, filter 0.45s ease;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card.is-active {
  z-index: 5;
  opacity: 1;
  filter: none;
  transform: translateX(-50%) scale(1.08) translateZ(90px);
}

.gallery-card.is-left-1 {
  z-index: 4;
  opacity: 0.88;
  filter: brightness(0.82);
  transform: translateX(-115%) scale(0.92) rotateY(18deg);
}

.gallery-card.is-left-2 {
  z-index: 3;
  opacity: 0.55;
  filter: brightness(0.62);
  transform: translateX(-175%) scale(0.78) rotateY(26deg);
}

.gallery-card.is-right-1 {
  z-index: 4;
  opacity: 0.88;
  filter: brightness(0.82);
  transform: translateX(15%) scale(0.92) rotateY(-18deg);
}

.gallery-card.is-right-2 {
  z-index: 3;
  opacity: 0.55;
  filter: brightness(0.62);
  transform: translateX(75%) scale(0.78) rotateY(-26deg);
}

.gallery-card.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) scale(0.65);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(243, 186, 13, 0.32);
  border-radius: 999px;
  background: rgba(6, 6, 8, 0.52);
  color: var(--brand-gold);
  backdrop-filter: blur(14px);
  transform: translateY(-50%);
}

.gallery-prev {
  left: 4px;
}

.gallery-next {
  right: 4px;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 8px;
}

.gallery-dot {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  transition: width 0.22s ease, background 0.22s ease;
}

.gallery-dot.active {
  width: 22px;
  background: var(--brand-gold);
}

.service-meta,
.appointment-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.price {
  color: var(--brand-gold);
  font-weight: 900;
}

.status {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(243, 186, 13, 0.12);
  color: var(--brand-gold);
  font-size: 0.68rem;
  font-weight: 900;
}

.status.Concluído {
  background: rgba(34, 197, 94, 0.12);
  color: #79e99a;
}

.status.Cancelado,
.status.Falta {
  background: rgba(239, 68, 68, 0.12);
  color: #ff9b9b;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field span {
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.field input,
.field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.32);
  color: var(--text-primary);
  outline: none;
  padding: 0 13px;
}

.field input:focus,
.field select:focus {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 3px rgba(243, 186, 13, 0.1);
}

.clipboard-tools {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  margin-top: 2px;
}

.clipboard-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 28px;
  border: 1px solid rgba(243, 186, 13, 0.22);
  border-radius: 999px;
  background: rgba(243, 186, 13, 0.07);
  color: var(--brand-gold);
  font-size: 0.66rem;
  font-weight: 900;
  padding: 0 9px;
  transition: transform 0.18s ease, background 0.18s ease;
}

.clipboard-btn .material-symbols-outlined {
  font-size: 14px;
}

.clipboard-btn:active {
  transform: scale(0.94);
}

.booking-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.step-pill {
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 0.68rem;
  font-weight: 900;
  text-align: center;
}

.step-pill.active {
  background: rgba(243, 186, 13, 0.16);
  color: var(--brand-gold);
}

.appointment-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.whatsapp-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: 12px;
  color: #8ef0ad;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.whatsapp-inline .material-symbols-outlined {
  font-size: 17px;
}

.inline-edit {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
}

.icon-action {
  min-height: 38px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-size: 0.72rem;
  font-weight: 900;
}

.icon-action.danger {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.08);
  color: #ffb4b4;
}

.confirm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(10px);
}

.confirm-modal {
  width: min(100%, 390px);
  border: 1px solid rgba(243, 186, 13, 0.24);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(24, 24, 28, 0.96), rgba(8, 8, 10, 0.96));
  box-shadow: var(--shadow-premium);
  padding: 20px;
  text-align: center;
}

.confirm-icon {
  color: var(--brand-gold);
  font-size: 34px;
}

.confirm-modal h3 {
  margin-top: 8px;
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
}

.confirm-modal p {
  margin: 10px 0 18px;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.metric-card strong {
  display: block;
  margin-top: 4px;
  font-size: 1.18rem;
}

#app-container > .bottom-nav {
  position: fixed;
  bottom: max(0px, env(safe-area-inset-bottom));
  left: 50%;
  z-index: 1500;
  display: grid;
  width: 100%;
  max-width: 480px;
  min-height: 76px;
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035) 36%, rgba(6, 6, 8, 0.8)),
    rgba(10, 10, 13, 0.74);
  box-shadow:
    0 -20px 50px rgba(0, 0, 0, 0.62),
    0 -1px 0 rgba(243, 186, 13, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px) saturate(1.24);
  -webkit-backdrop-filter: blur(24px) saturate(1.24);
  isolation: isolate;
}

.nav-item {
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-weight: 800;
  border-radius: 18px;
  margin: 8px 4px;
  min-width: 0;
}

.nav-item.active {
  color: var(--brand-gold);
  background: rgba(243, 186, 13, 0.08);
  box-shadow: inset 0 0 0 1px rgba(243, 186, 13, 0.1), 0 0 18px rgba(243, 186, 13, 0.08);
}

.nav-item .material-symbols-outlined {
  font-size: 22px;
}

.nav-item small {
  font-size: 0.66rem;
}

.empty {
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 22px;
  color: var(--text-secondary);
  text-align: center;
}

.empty .material-symbols-outlined {
  color: var(--brand-gold);
}

.section-heading-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.text-link {
  border: 0;
  background: transparent;
  color: var(--brand-gold);
  font-size: 0.78rem;
  font-weight: 900;
  padding-top: 4px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 8px;
  width: calc(100% - 32px);
  max-width: 430px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(243, 186, 13, 0.28);
  border-radius: 16px;
  background: rgba(14, 14, 18, 0.94);
  box-shadow: var(--shadow-premium);
  color: var(--text-primary);
  font-weight: 800;
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  backdrop-filter: blur(18px);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast .material-symbols-outlined {
  color: var(--brand-gold);
}

.toast.error {
  border-color: rgba(239, 68, 68, 0.34);
}

.toast.error .material-symbols-outlined {
  color: #ff9b9b;
}

.hero-music-player {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 5;
  display: flex;
  width: 150px;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #ffffff;
  user-select: none;
}

.music-progress {
  width: 100%;
  padding: 0 2px;
}

.music-progress-track {
  position: relative;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
}

.music-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 0%;
  height: 2px;
  border-radius: 999px;
  background: var(--brand-gold);
}

.music-progress-dot {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--brand-gold);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgba(243, 186, 13, 0.8);
}

.music-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
}

.music-icon-btn,
.music-main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  transition: transform 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.music-icon-btn .material-symbols-outlined {
  font-size: 15px;
  font-variation-settings: "FILL" 0, "wght" 700, "GRAD" 0, "opsz" 20;
}

.music-icon-btn:first-child,
.music-icon-btn:last-child,
.music-icon-btn.is-active {
  color: var(--brand-gold);
}

.music-main-btn {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--brand-gold);
  color: #111;
  box-shadow: 0 0 12px rgba(243, 186, 13, 0.42);
}

.music-main-btn .material-symbols-outlined {
  font-size: 17px;
  font-variation-settings: "FILL" 1, "wght" 800, "GRAD" 0, "opsz" 20;
}

.music-icon-btn:hover,
.music-main-btn:hover {
  transform: scale(1.08);
}

.music-icon-btn:active,
.music-main-btn:active {
  transform: scale(0.92);
}

.music-label {
  margin-top: -1px;
  color: #ffffff;
  font-family: "Playfair Display", serif;
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-music-player.is-playing .music-label {
  color: var(--gold-light);
}

@keyframes logoPulse {
  from { transform: scale(0.96); }
  to { transform: scale(1.03); }
}

@keyframes loaderMove {
  from { transform: translateX(-120%); }
  to { transform: translateX(220%); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes marqueeMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .dm-marquee-track {
    animation: none;
  }
}

@media (max-width: 390px) {
  .app-header {
    padding: 12px;
    gap: 8px;
  }

  .brand-copy strong {
    font-size: 0.92rem;
  }

  .role-btn {
    padding: 0 7px;
    font-size: 0.66rem;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .brand-copy span {
    font-size: 0.66rem;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-music-player {
    top: 18px;
    right: 16px;
    width: 130px;
  }

  .music-controls {
    gap: 5px;
  }

  .music-icon-btn .material-symbols-outlined {
    font-size: 14px;
  }

  .compact-service-summary {
    grid-template-columns: minmax(0, 1.18fr) 48px 68px 18px;
    gap: 6px;
    padding: 0 10px;
  }

  .compact-service-summary strong {
    font-size: 0.8rem;
  }

  .compact-service-summary b {
    font-size: 0.7rem;
  }

  .nav-item small {
    font-size: 0.58rem;
  }
}

/* Visual polish layer for the /visual command. CSS-only, no logic changes. */
:root {
  --glass-gradient: linear-gradient(145deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.026) 42%, rgba(0, 0, 0, 0.28));
  --gold-glow: 0 0 22px rgba(243, 186, 13, 0.24), 0 12px 34px rgba(243, 186, 13, 0.12);
  --shadow-deep: 0 24px 62px rgba(0, 0, 0, 0.64);
  --ease-premium: cubic-bezier(0.2, 0.8, 0.2, 1);
}

body {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 22%),
    radial-gradient(circle at 50% -10%, rgba(243, 186, 13, 0.09), transparent 30%),
    radial-gradient(circle at 8% 14%, rgba(243, 186, 13, 0.055), transparent 26%),
    radial-gradient(circle at top, #19191e 0%, var(--bg-primary) 42%, #000 100%);
  text-rendering: geometricPrecision;
}

#app-container {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 18%),
    rgba(6, 6, 8, 0.96);
}

#app-container::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.32), transparent 42%);
}

#app-container > * {
  position: relative;
  z-index: 1;
}

.app-header {
  padding: 13px 18px;
  background:
    linear-gradient(180deg, rgba(23, 23, 28, 0.88), rgba(8, 8, 10, 0.72)),
    rgba(8, 8, 10, 0.72);
  border-bottom: 1px solid rgba(243, 186, 13, 0.12);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.42), inset 0 -1px 0 rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(22px) saturate(1.18);
}

.brand-logo {
  box-shadow: 0 0 0 3px rgba(243, 186, 13, 0.07), 0 0 22px rgba(243, 186, 13, 0.2);
}

.brand-copy strong {
  letter-spacing: 0.015em;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.65);
}

.brand-copy strong,
.brand-copy span,
.splash-screen h1,
.splash-screen > span {
  background-size: 220% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-copy strong,
.splash-screen h1 {
  background-image: linear-gradient(90deg, #ffffff 0%, #fff7d6 34%, var(--brand-gold) 50%, #ffffff 68%, #ffffff 100%);
  animation: brandTextFlow 5.8s ease-in-out infinite;
}

.brand-copy span,
.splash-screen > span {
  background-image: linear-gradient(90deg, var(--brand-gold) 0%, var(--gold-light) 38%, #ffffff 50%, var(--brand-gold) 64%, var(--gold-dark) 100%);
  animation: brandTextFlow 6.6s ease-in-out 0.35s infinite;
  text-shadow: 0 0 18px rgba(243, 186, 13, 0.22);
}

.role-selector {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 24px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.role-btn,
.auth-tabs button,
.nav-item,
.btn-primary,
.btn-outline,
.whatsapp-btn,
.gallery-nav,
.compact-service-choose {
  transition-timing-function: var(--ease-premium);
}

.role-btn.active,
.auth-tabs button.active {
  box-shadow: var(--gold-glow);
}

.view-screen {
  animation: fadeUp 0.34s var(--ease-premium) both;
}

.section-title::after {
  background: var(--gold-gradient);
  box-shadow: 0 0 14px rgba(243, 186, 13, 0.36);
}

.hero {
  border-bottom: 1px solid rgba(243, 186, 13, 0.08);
  box-shadow: inset 0 -70px 80px rgba(0, 0, 0, 0.55);
}

.hero-video,
.hero-image {
  filter: saturate(1.12) contrast(1.18) brightness(0.58);
  transform: scale(1.015);
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(6, 6, 8, 0.98), rgba(6, 6, 8, 0.68), rgba(6, 6, 8, 0.28)),
    radial-gradient(circle at 24% 72%, rgba(243, 186, 13, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(6, 6, 8, 0.2), rgba(6, 6, 8, 0.98));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 240, 189, 0.06) 42%, transparent 58%);
  transform: translateX(-72%);
  animation: heroSheen 7.8s var(--ease-premium) infinite;
}

.hero-content,
.hero-music-player {
  z-index: 3;
}

.hero-mark {
  border-color: rgba(243, 186, 13, 0.34);
  background: rgba(0, 0, 0, 0.46);
  box-shadow: 0 0 28px rgba(243, 186, 13, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.hero h2 {
  letter-spacing: 0.005em;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.94), 0 0 22px rgba(243, 186, 13, 0.08);
}

.btn-primary,
.btn-outline,
.whatsapp-btn {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  transition: transform 0.2s var(--ease-premium), filter 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary::after,
.whatsapp-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.34) 48%, transparent 64%);
  transform: translateX(-120%);
  transition: transform 0.55s var(--ease-premium);
}

.btn-primary:hover::after,
.whatsapp-btn:hover::after {
  transform: translateX(120%);
}

.btn-primary {
  box-shadow: var(--gold-glow);
}

.btn-primary:hover,
.btn-outline:hover,
.whatsapp-btn:hover {
  transform: translateY(-1px);
}

.btn-outline {
  border-color: rgba(243, 186, 13, 0.46);
  background: linear-gradient(145deg, rgba(243, 186, 13, 0.1), rgba(255, 255, 255, 0.025));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.whatsapp-btn {
  background: linear-gradient(145deg, rgba(34, 197, 94, 0.18), rgba(34, 197, 94, 0.055));
  box-shadow: 0 14px 30px rgba(34, 197, 94, 0.1);
}

.dm-marquee {
  box-shadow: 0 8px 28px rgba(243, 186, 13, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.dm-marquee-track span::after {
  content: "\2022";
}

.card,
.compact-services-list {
  border-color: rgba(255, 255, 255, 0.09);
  background: var(--glass-gradient), rgba(20, 20, 24, 0.76);
  box-shadow: var(--shadow-premium), inset 0 1px 0 rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(18px) saturate(1.12);
}

.card {
  border-radius: 20px;
}

.auth-card h3 {
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.5);
}

.auth-tabs {
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.service-card,
.appointment-card,
.metric-card {
  border-color: rgba(255, 255, 255, 0.085);
  border-radius: 18px;
  background: var(--glass-gradient);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(14px);
  transition: transform 0.22s var(--ease-premium), border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.service-card:hover,
.appointment-card:hover,
.metric-card:hover {
  border-color: rgba(243, 186, 13, 0.22);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38), 0 0 20px rgba(243, 186, 13, 0.08);
  transform: translateY(-1px);
}

.service-card.featured {
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38), 0 0 22px rgba(243, 186, 13, 0.1);
}

.compact-service-summary:hover {
  background: rgba(243, 186, 13, 0.045);
}

.compact-service-details {
  transition: max-height 0.3s var(--ease-premium), opacity 0.24s ease, padding 0.3s var(--ease-premium);
}

.gallery-carousel {
  height: 258px;
}

.gallery-card {
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.62);
  transition: transform 0.55s var(--ease-premium), opacity 0.45s ease, filter 0.45s ease, box-shadow 0.45s ease;
}

.gallery-card.is-active {
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.68), 0 0 28px rgba(243, 186, 13, 0.12);
}

.gallery-nav {
  background: rgba(6, 6, 8, 0.64);
  transition: transform 0.2s var(--ease-premium), border-color 0.2s ease, background 0.2s ease;
}

.gallery-nav:hover {
  border-color: rgba(243, 186, 13, 0.58);
  background: rgba(243, 186, 13, 0.11);
  transform: translateY(-50%) scale(1.04);
}

.field input,
.field select {
  border-color: rgba(255, 255, 255, 0.09);
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.38);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input:focus,
.field select:focus {
  background: rgba(0, 0, 0, 0.48);
  box-shadow: 0 0 0 3px rgba(243, 186, 13, 0.1), 0 0 22px rgba(243, 186, 13, 0.08);
}

.status.Concluido,
.status[class*="Concl"] {
  background: rgba(34, 197, 94, 0.12);
  color: #79e99a;
}

.bottom-nav {
  border-top-color: rgba(243, 186, 13, 0.12);
  background: linear-gradient(180deg, rgba(21, 21, 25, 0.86), rgba(7, 7, 9, 0.94));
  box-shadow: 0 -18px 38px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(22px) saturate(1.16);
}

.nav-item {
  transition: color 0.2s ease, transform 0.2s var(--ease-premium);
}

.nav-item.active {
  text-shadow: 0 0 16px rgba(243, 186, 13, 0.24);
}

.nav-item:active {
  transform: translateY(1px) scale(0.96);
}

.toast {
  background: linear-gradient(145deg, rgba(25, 25, 30, 0.96), rgba(9, 9, 12, 0.96));
  box-shadow: var(--shadow-deep);
}

.hero-music-player {
  width: 144px;
  padding: 7px 8px 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(0, 0, 0, 0.3));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px) saturate(1.18);
}

.music-main-btn {
  box-shadow: 0 0 16px rgba(243, 186, 13, 0.5);
}

.hero-music-player.is-playing .music-main-btn {
  animation: musicPulse 1.55s ease-in-out infinite;
}

@keyframes heroSheen {
  0%, 56% { transform: translateX(-82%); opacity: 0; }
  68% { opacity: 1; }
  100% { transform: translateX(82%); opacity: 0; }
}

@keyframes musicPulse {
  0%, 100% { box-shadow: 0 0 12px rgba(243, 186, 13, 0.38); }
  50% { box-shadow: 0 0 22px rgba(243, 186, 13, 0.68); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }

  .hero::after,
  .hero-music-player.is-playing .music-main-btn {
    animation: none;
  }
}

/* Motion polish layer for /PromptsEngine /motion. CSS-only and lightweight. */
html {
  scroll-behavior: smooth;
}

.splash-logo {
  animation: logoPulse 1.65s ease-in-out infinite alternate, logoFloat 3.4s ease-in-out infinite;
}

.splash-screen h1 {
  animation: softReveal 0.72s var(--ease-premium) 0.1s both;
}

.splash-screen span,
.splash-loader {
  animation: softReveal 0.72s var(--ease-premium) 0.22s both;
}

.app-header {
  animation: headerDrop 0.5s var(--ease-premium) both;
}

.hero-content > * {
  animation: heroContentIn 0.72s var(--ease-premium) both;
}

.hero-content > *:nth-child(1) {
  animation-delay: 0.08s;
}

.hero-content > *:nth-child(2) {
  animation-delay: 0.16s;
}

.hero-content > *:nth-child(3) {
  animation-delay: 0.24s;
}

.hero-content > *:nth-child(4) {
  animation-delay: 0.32s;
}

.hero-content > *:nth-child(5) {
  animation-delay: 0.4s;
}

.hero-mark {
  animation: heroContentIn 0.72s var(--ease-premium) both, premiumBreath 3.8s ease-in-out 1.05s infinite;
}

.hero-music-player {
  animation: playerEnter 0.68s var(--ease-premium) 0.22s both;
}

.music-progress-fill {
  transition: width 0.24s linear;
}

.music-progress-dot {
  transition: left 0.24s linear, transform 0.18s var(--ease-premium), box-shadow 0.18s ease;
}

.hero-music-player.is-playing .music-progress-dot {
  animation: tinyPulse 1.2s ease-in-out infinite;
}

.section {
  animation: sectionLift 0.46s var(--ease-premium) both;
}

.section-title {
  animation: softReveal 0.48s var(--ease-premium) both;
}

.card,
.service-card,
.appointment-card,
.metric-card,
.compact-services-list,
.gallery-carousel,
.auth-card {
  animation: cardRise 0.5s var(--ease-premium) both;
}

.service-card:nth-child(2),
.appointment-card:nth-child(2),
.metric-card:nth-child(2) {
  animation-delay: 0.05s;
}

.service-card:nth-child(3),
.appointment-card:nth-child(3),
.metric-card:nth-child(3) {
  animation-delay: 0.1s;
}

.service-card:nth-child(4),
.appointment-card:nth-child(4),
.metric-card:nth-child(4) {
  animation-delay: 0.15s;
}

.compact-service-row {
  transition: background 0.22s ease, box-shadow 0.22s ease;
}

.compact-service-row.open {
  background: rgba(243, 186, 13, 0.035);
  box-shadow: inset 3px 0 0 rgba(243, 186, 13, 0.76);
}

.compact-service-row.open .compact-service-details > * {
  animation: detailsIn 0.32s var(--ease-premium) both;
}

.btn-primary,
.btn-outline,
.whatsapp-btn,
.icon-action,
.clipboard-btn,
.text-link,
.admin-link,
.gallery-dot,
.role-btn,
.auth-tabs button,
.compact-service-summary,
.nav-item {
  will-change: transform;
}

.btn-primary:active,
.btn-outline:active,
.whatsapp-btn:active,
.icon-action:active,
.clipboard-btn:active,
.compact-service-summary:active {
  transform: translateY(1px) scale(0.975);
}

.nav-item.active .material-symbols-outlined {
  animation: navPop 0.38s var(--ease-premium) both;
}

.nav-item.active small {
  animation: softReveal 0.28s var(--ease-premium) both;
}

.gallery-card img {
  transition: transform 0.8s var(--ease-premium), filter 0.45s ease;
}

.gallery-card.is-active img {
  transform: scale(1.045);
}

.gallery-card:hover img {
  transform: scale(1.065);
}

.gallery-dot.active {
  animation: dotStretch 0.3s var(--ease-premium) both;
}

.dm-marquee {
  position: relative;
}

.dm-marquee::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: translateX(-100%);
  animation: marqueeLight 4.6s linear infinite;
}

.field input,
.field select {
  transform: translateZ(0);
}

.field input:focus,
.field select:focus {
  animation: inputFocusGlow 0.42s var(--ease-premium) both;
}

.toast.show {
  animation: toastPop 0.34s var(--ease-premium) both;
}

.confirm-modal {
  animation: modalPop 0.34s var(--ease-premium) both;
}

.confirm-backdrop {
  animation: backdropFade 0.22s ease both;
}

@keyframes logoFloat {
  0%, 100% { filter: drop-shadow(0 0 12px rgba(243, 186, 13, 0.22)); }
  50% { transform: translateY(-4px) scale(1.01); filter: drop-shadow(0 0 22px rgba(243, 186, 13, 0.38)); }
}

@keyframes softReveal {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes headerDrop {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroContentIn {
  from { opacity: 0; transform: translateY(18px) scale(0.985); filter: blur(5px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes playerEnter {
  from { opacity: 0; transform: translateY(-10px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes premiumBreath {
  0%, 100% { box-shadow: 0 0 24px rgba(243, 186, 13, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
  50% { box-shadow: 0 0 34px rgba(243, 186, 13, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
}

@keyframes tinyPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.28); }
}

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

@keyframes cardRise {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes detailsIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes navPop {
  0% { transform: translateY(2px) scale(0.9); }
  60% { transform: translateY(-2px) scale(1.08); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes dotStretch {
  from { transform: scaleX(0.72); opacity: 0.72; }
  to { transform: scaleX(1); opacity: 1; }
}

@keyframes marqueeLight {
  0%, 35% { transform: translateX(-100%); opacity: 0; }
  48% { opacity: 0.42; }
  70%, 100% { transform: translateX(100%); opacity: 0; }
}

@keyframes inputFocusGlow {
  0% { box-shadow: 0 0 0 0 rgba(243, 186, 13, 0); }
  55% { box-shadow: 0 0 0 4px rgba(243, 186, 13, 0.12), 0 0 24px rgba(243, 186, 13, 0.1); }
  100% { box-shadow: 0 0 0 3px rgba(243, 186, 13, 0.1), 0 0 22px rgba(243, 186, 13, 0.08); }
}

@keyframes toastPop {
  from { opacity: 0; transform: translate(-50%, 18px) scale(0.97); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

@keyframes modalPop {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes backdropFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes brandTextFlow {
  0%, 100% {
    background-position: 0% 50%;
    filter: drop-shadow(0 0 0 rgba(243, 186, 13, 0));
  }
  45% {
    background-position: 100% 50%;
    filter: drop-shadow(0 0 8px rgba(243, 186, 13, 0.22));
  }
  70% {
    background-position: 72% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .splash-logo,
  .splash-screen h1,
  .splash-screen span,
  .splash-loader,
  .app-header,
  .hero-content > *,
  .hero-mark,
  .hero-music-player,
  .hero-music-player.is-playing .music-progress-dot,
  .section,
  .section-title,
  .card,
  .service-card,
  .appointment-card,
  .metric-card,
  .compact-services-list,
  .gallery-carousel,
  .auth-card,
  .compact-service-row.open .compact-service-details > *,
  .nav-item.active .material-symbols-outlined,
  .nav-item.active small,
  .gallery-dot.active,
  .dm-marquee::after,
  .field input:focus,
  .field select:focus,
  .toast.show,
  .confirm-modal,
  .confirm-backdrop,
  .brand-copy strong,
  .brand-copy span,
  .splash-screen h1,
  .splash-screen > span {
    animation: none !important;
  }

  .gallery-card,
  .gallery-card img,
  .music-progress-fill,
  .music-progress-dot {
    transition: none !important;
  }
}

@media (max-width: 390px) {
  .brand-section {
    gap: 8px;
  }

  .brand-copy {
    max-width: 235px;
  }

  .brand-copy span {
    font-size: 0.56rem;
    letter-spacing: 0.01em;
  }
}

/* Keep the mobile footer above every scrolling view with premium glass. */
.bottom-nav {
  position: fixed;
  bottom: max(0px, env(safe-area-inset-bottom));
  left: 50%;
  z-index: 1500;
  transform: translateX(-50%);
  border-color: rgba(255, 255, 255, 0.075);
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035) 36%, rgba(6, 6, 8, 0.8)),
    rgba(10, 10, 13, 0.74);
  box-shadow:
    0 -20px 50px rgba(0, 0, 0, 0.62),
    0 -1px 0 rgba(243, 186, 13, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px) saturate(1.24);
  -webkit-backdrop-filter: blur(24px) saturate(1.24);
}

/* DOM MARTINS V2 - cinematic storytelling layer. */
.v2-app .hero {
  min-height: 520px;
}

.v2-app .hero h2 {
  max-width: 360px;
  font-size: clamp(2.35rem, 10vw, 3.25rem);
}

.v2-app .hero p {
  max-width: 340px;
}

.home-summary {
  position: sticky;
  top: 68px;
  z-index: 120;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(243, 186, 13, 0.14);
  background:
    linear-gradient(180deg, rgba(18, 18, 22, 0.9), rgba(8, 8, 10, 0.72)),
    rgba(8, 8, 10, 0.74);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px) saturate(1.18);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
  scrollbar-width: none;
}

.home-summary::-webkit-scrollbar {
  display: none;
}

.home-summary a {
  flex: 0 0 auto;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.2s var(--ease-premium), background 0.2s ease, border-color 0.2s ease;
}

.home-summary a:active {
  transform: scale(0.96);
}

.home-summary a:hover {
  border-color: rgba(243, 186, 13, 0.38);
  background: rgba(243, 186, 13, 0.12);
}

.app-home {
  padding-bottom: 104px;
}

.v2-app .compact-hero {
  min-height: 430px;
  padding-bottom: 28px;
}

.v2-app .compact-hero h2 {
  max-width: 330px;
  font-size: clamp(2rem, 8vw, 2.75rem);
}

.v2-app .compact-hero p {
  max-width: 320px;
  margin-bottom: 14px;
}

.compact-hero .btn-primary,
.compact-hero .whatsapp-btn {
  min-height: 48px;
}

.home-drawer-tabs {
  position: sticky;
  top: 68px;
  z-index: 120;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(243, 186, 13, 0.14);
  background:
    linear-gradient(180deg, rgba(18, 18, 22, 0.92), rgba(8, 8, 10, 0.78)),
    rgba(8, 8, 10, 0.76);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px) saturate(1.18);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
  scrollbar-width: none;
}

.home-drawer-tabs::-webkit-scrollbar {
  display: none;
}

.home-drawer-tab {
  flex: 0 0 auto;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  padding: 0 13px;
  transition: transform 0.2s var(--ease-premium), background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.home-drawer-tab.active {
  border-color: rgba(255, 240, 189, 0.62);
  background: var(--gold-gradient);
  color: #070707;
  box-shadow: 0 10px 24px rgba(243, 186, 13, 0.22);
}

.home-drawer-tab:active {
  transform: scale(0.96);
}

.home-drawer-shell {
  display: grid;
  padding: 14px 14px 0;
}

.home-drawer-panel {
  grid-area: 1 / 1;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.99);
  filter: blur(5px);
  transition:
    opacity 0.28s var(--ease-premium),
    transform 0.28s var(--ease-premium),
    filter 0.28s var(--ease-premium);
}

.home-drawer-panel.active {
  height: auto;
  overflow: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.drawer-card {
  position: relative;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.026)),
    rgba(10, 10, 13, 0.74);
  box-shadow:
    0 20px 46px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
}

.drawer-gallery-card .gallery-carousel {
  height: 220px;
  margin-top: 10px;
}

.drawer-gallery-card .gallery-card {
  width: 168px;
  height: 168px;
}

.drawer-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.drawer-feature-card {
  min-height: 132px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.drawer-feature-card .material-symbols-outlined {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 9px;
  place-items: center;
  border: 1px solid rgba(243, 186, 13, 0.28);
  border-radius: 999px;
  background: rgba(243, 186, 13, 0.09);
  color: var(--brand-gold);
  box-shadow: 0 0 18px rgba(243, 186, 13, 0.1);
}

.drawer-feature-card h3 {
  margin-bottom: 6px;
  font-size: 0.86rem;
}

.drawer-feature-card p {
  color: var(--text-secondary);
  font-size: 0.74rem;
  line-height: 1.45;
}

.drawer-contact-list {
  display: grid;
  gap: 8px;
}

.drawer-card .vip-card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#v2-services,
#v2-gallery,
#v2-experience,
#v2-vip,
#v2-cta {
  scroll-margin-top: 126px;
}

.story-reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  filter: blur(6px);
  transition:
    opacity 0.72s var(--ease-premium),
    transform 0.72s var(--ease-premium),
    filter 0.72s var(--ease-premium);
}

.story-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.story-section {
  position: relative;
  overflow: hidden;
}

.story-section::before,
.final-cta::before {
  content: "";
  position: absolute;
  inset: 8px 18px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(243, 186, 13, 0.5), transparent);
}

.story-steps {
  display: grid;
  gap: 12px;
}

.story-step {
  min-height: 126px;
}

.story-step .material-symbols-outlined {
  display: inline-grid;
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  place-items: center;
  border: 1px solid rgba(243, 186, 13, 0.28);
  border-radius: 999px;
  background: rgba(243, 186, 13, 0.09);
  color: var(--brand-gold);
  box-shadow: 0 0 18px rgba(243, 186, 13, 0.1);
}

.story-step h3,
.vip-card h3,
.cinematic-cta h2 {
  font-family: "Playfair Display", serif;
}

.vip-card {
  overflow: hidden;
}

.vip-card::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -22%;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 186, 13, 0.16), transparent 68%);
  pointer-events: none;
}

.vip-benefits {
  display: grid;
  gap: 8px;
}

.vip-benefits span {
  position: relative;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
}

.vip-benefits span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-gold);
  box-shadow: 0 0 12px rgba(243, 186, 13, 0.45);
}

.vip-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text-secondary);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.vip-badge.interested {
  border-color: rgba(243, 186, 13, 0.3);
  background: rgba(243, 186, 13, 0.11);
  color: var(--brand-gold);
  box-shadow: 0 0 18px rgba(243, 186, 13, 0.1);
}

.final-cta {
  padding-bottom: 128px;
}

.cinematic-cta {
  text-align: left;
}

.cinematic-cta h2 {
  font-size: 1.9rem;
  line-height: 1.05;
}

.v2-app .gallery-card.is-active {
  animation: cinematicCardFloat 4.5s ease-in-out infinite;
}

@keyframes cinematicCardFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -4px; }
}

@media (min-width: 460px) {
  .story-steps {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-reveal,
  .story-reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  .v2-app .gallery-card.is-active {
    animation: none !important;
  }
}
