/* ==========================================================================
   css/components.css — Componentes de UI, Interações & Micro-Aesthetics
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. BOTÕES & ARQUITETURA "BUTTON-IN-BUTTON"
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: var(--radius-pill);
  padding: 0.85rem 1.65rem;
  transition: transform var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--text-primary);
  color: var(--text-inverse);
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--text-primary);
}

.btn-primary:hover {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #FFFFFF;
  box-shadow: var(--shadow-gold);
}

/* Button-in-Button: Círculo Trailing para Ícone */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  margin-right: -0.5rem;
  transition: transform var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out);
}

.btn-primary:hover .btn-icon {
  transform: translate(2px, -2px) scale(1.08);
  background: rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background-color: var(--bg-surface);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: var(--text-xs);
}

/* --------------------------------------------------------------------------
   2. HEADER ARQUITETURAL & BARRA DE STATUS
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-block: 1rem;
  background-color: rgba(250, 247, 242, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}

.site-header--scrolled {
  background-color: rgba(250, 247, 242, 0.96);
  box-shadow: 0 10px 30px -10px rgba(30, 26, 25, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Brand Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
  background-color: var(--bg-surface);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  line-height: 1;
}

.brand-sub {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Status Operacional em Tempo Real */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--status-alive);
  box-shadow: 0 0 0 0 var(--status-alive-glow);
  animation: pulse-dot 2.4s infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 var(--status-alive-glow); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.status-dot--closed {
  background-color: var(--status-closed);
  animation: none;
}

/* Navegação Desktop */
.nav-desktop {
  display: none;
}

@media (min-width: 960px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.75rem;
  }
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--dur-fast) var(--ease-out);
  position: relative;
  padding-block: 0.25rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--accent-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-fast) var(--ease-out);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Botão Hamburger Mobile */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: transform var(--dur-fast) var(--ease-out),
              opacity var(--dur-fast) var(--ease-out);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Modal Nav Mobile */
.nav-mobile-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(250, 247, 242, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out);
}

.nav-mobile-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.nav-mobile-links a {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--text-primary);
  transition: color var(--dur-fast) var(--ease-out);
}

.nav-mobile-links a:hover {
  color: var(--accent-gold);
}

/* --------------------------------------------------------------------------
   3. HERO DE IMPACTO
   -------------------------------------------------------------------------- */
.hero {
  padding-top: clamp(6.5rem, 12vw, 9.5rem);
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-headline {
  font-size: var(--text-display);
  line-height: 1.06;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Barra de Credenciais da Hero */
.hero-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-secondary);
}

.credential-icon {
  color: var(--accent-gold);
  flex-shrink: 0;
}

/* Moldura Visual da Hero (Double-Bezel) */
.hero-visual-frame {
  padding: 8px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-elevated);
  position: relative;
}

.hero-visual-inner {
  border-radius: calc(var(--radius-xl) - 6px);
  overflow: hidden;
  position: relative;
  background-color: var(--bg-surface-elevated);
  aspect-ratio: 4 / 5;
}

@media (min-width: 960px) {
  .hero-visual-inner {
    aspect-ratio: 4 / 5;
  }
}

.hero-visual-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--dur-slow) var(--ease-smooth);
}

.hero-visual-frame:hover img {
  transform: scale(1.03);
}

/* Floating Label na Hero */
.hero-visual-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  padding: 0.85rem 1.25rem;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-medium);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-visual-badge-text {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-primary);
}

.hero-visual-badge-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   4. PILARES DE EXCELÊNCIA (DOUBLE-BEZEL CARDS)
   -------------------------------------------------------------------------- */
.pillar-card {
  padding: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  border-color: var(--border-gold);
}

.pillar-inner {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--bg-surface-elevated);
  border-radius: calc(var(--radius-lg) - 4px);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
}

.pillar-title {
  font-size: var(--text-xl);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.pillar-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   5. VITRINE STICKY DE RITUAIS & SERVIÇOS
   -------------------------------------------------------------------------- */
.menu-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  position: relative;
}

@media (min-width: 960px) {
  .menu-layout {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
    gap: 4.5rem;
  }
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Item de Ritual na Lista */
.ritual-card {
  padding: 1.5rem 1.75rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  position: relative;
  transition: transform var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out);
  cursor: pointer;
}

.ritual-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 3px;
  background-color: var(--accent-gold);
  border-radius: 0 2px 2px 0;
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-out);
}

.ritual-card:hover,
.ritual-card.is-active {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-medium);
  background-color: #FFFFFF;
}

.ritual-card:hover::before,
.ritual-card.is-active::before {
  opacity: 1;
}

.ritual-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.ritual-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
}

.ritual-dots {
  flex: 1;
  height: 1px;
  background: radial-gradient(circle, var(--border-subtle) 1px, transparent 1px);
  background-size: 8px 1px;
}

.ritual-price {
  font-family: var(--font-mono);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

.ritual-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.ritual-duration {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent-gold);
  font-weight: 500;
}

.ritual-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.ritual-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold);
  transition: background-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}

.ritual-add-btn:hover {
  background-color: var(--accent-gold);
  color: #FFFFFF;
}

/* Moldura Sticky Lateral */
.menu-visual {
  position: relative;
}

@media (min-width: 960px) {
  .menu-visual {
    position: sticky;
    top: 6rem;
  }
}

.menu-visual-box {
  padding: 8px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
}

.menu-visual-img-wrap {
  border-radius: calc(var(--radius-lg) - 4px);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: var(--bg-surface-elevated);
}

.menu-visual-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--dur-base) var(--ease-out);
}

.menu-visual-caption {
  padding: 1.25rem 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.menu-visual-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-primary);
}

.menu-visual-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   6. SIMULADOR PERSONALIZADO: "MONTE SEU ATENDIMENTO"
   -------------------------------------------------------------------------- */
.simulador-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .simulador-wrap {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
    gap: 3.5rem;
  }
}

.simulador-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Card Selecionável de Serviço */
.service-option {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: var(--shadow-subtle);
  transition: border-color var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}

.service-option:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.service-option.is-selected {
  border-color: var(--accent-gold);
  background-color: #FFFFFF;
  box-shadow: 0 8px 24px -6px var(--accent-gold-glow);
}

/* Custom Checkbox */
.option-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 1.5px solid var(--border-subtle);
  background-color: var(--bg-surface-elevated);
  flex-shrink: 0;
  transition: background-color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}

.service-option.is-selected .option-check {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.option-check svg {
  opacity: 0;
  transform: scale(0.6);
  transition: opacity var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
  color: #FFFFFF;
}

.service-option.is-selected .option-check svg {
  opacity: 1;
  transform: scale(1);
}

.option-info {
  flex: 1;
}

.option-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.option-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.option-price {
  font-family: var(--font-mono);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

/* Painel de Resumo / Sticky Card */
.simulador-card {
  padding: 8px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-medium);
  position: relative;
}

@media (min-width: 960px) {
  .simulador-card {
    position: sticky;
    top: 6rem;
  }
}

.simulador-inner {
  padding: clamp(1.5rem, 3vw, 2rem);
  background-color: var(--bg-surface-elevated);
  border-radius: calc(var(--radius-xl) - 4px);
}

.simulador-title {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.simulador-badge-note {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.simulador-selection-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 0.5rem;
  margin-bottom: 1.5rem;
}

.simulador-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-sm);
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--border-subtle);
}

.simulador-item-remove {
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out);
}

.simulador-item-remove:hover {
  color: #EF4444;
}

.simulador-empty-msg {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-style: italic;
  padding-block: 1rem;
  text-align: center;
}

/* Totais Acumulados */
.simulador-totals {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.total-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.total-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--text-primary);
}

.total-value--highlight {
  font-size: 1.5rem;
  color: var(--accent-gold);
}

/* Formulário de Preferência */
.simulador-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.simulador-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  transition: border-color var(--dur-fast) var(--ease-out);
}

.simulador-input:focus {
  border-color: var(--accent-gold);
}

.simulador-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  cursor: pointer;
}

.simulador-btn-whatsapp {
  width: 100%;
  background-color: #25D366;
  border-color: #25D366;
  color: #FFFFFF;
  box-shadow: 0 8px 24px -4px rgba(37, 211, 102, 0.35);
}

.simulador-btn-whatsapp:hover {
  background-color: #20BA5A;
  border-color: #20BA5A;
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   7. GALERIA LOOKBOOK COM FILTROS & LIGHTBOX NATIVO
   -------------------------------------------------------------------------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.filter-btn {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: background-color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}

.filter-btn:hover,
.filter-btn.is-active {
  background-color: var(--text-primary);
  border-color: var(--text-primary);
  color: var(--text-inverse);
}

/* Bento Grid Assimétrico */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .gallery-item--wide {
    grid-column: span 2;
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
  cursor: pointer;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.gallery-thumb {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
}

.gallery-item--wide .gallery-thumb {
  aspect-ratio: 16 / 10;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-smooth);
}

.gallery-item:hover .gallery-thumb img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 26, 25, 0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #FFFFFF;
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-out);
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus-visible .gallery-overlay {
  opacity: 1;
}

.gallery-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  margin-bottom: 2px;
}

.gallery-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
}

/* Lightbox Nativo <dialog> */
.lightbox-dialog {
  margin: auto;
  padding: 0;
  background: transparent;
  border: none;
  max-width: 90vw;
  max-height: 90vh;
  box-shadow: var(--shadow-elevated);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.lightbox-dialog::backdrop {
  background: rgba(30, 26, 25, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lightbox-content {
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
  position: relative;
}

.lightbox-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: var(--shadow-medium);
  transition: transform var(--dur-fast) var(--ease-out);
}

.lightbox-close-btn:hover {
  transform: scale(1.1);
}

.lightbox-img-box img {
  max-height: 70vh;
  width: auto;
  object-fit: contain;
}

.lightbox-info {
  padding: 1.25rem 1.75rem;
}

/* --------------------------------------------------------------------------
   8. LOCALIZAÇÃO, ATELIÊ FÍSICO & HORÁRIOS
   -------------------------------------------------------------------------- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .location-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
  }
}

.location-info-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.location-nap-block {
  padding: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
}

.nap-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.nap-address {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.nap-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-xs);
  color: var(--accent-gold);
  font-weight: 600;
  cursor: pointer;
}

.nap-copy-btn:hover {
  text-decoration: underline;
}

/* Tabela de Horários */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
}

.hours-table tr {
  border-bottom: 1px solid var(--border-subtle);
}

.hours-table td {
  padding-block: 0.55rem;
  font-size: var(--text-sm);
}

.hours-table td:last-child {
  text-align: right;
  font-family: var(--font-mono);
  font-weight: 600;
}

/* Fachada Leve de Mapa */
.map-facade {
  padding: 8px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-medium);
  position: relative;
  overflow: hidden;
}

.map-facade-inner {
  border-radius: calc(var(--radius-xl) - 4px);
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #F0E8E1 0%, #FAF7F2 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
}

.map-pin {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--bg-surface);
  box-shadow: var(--shadow-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.map-route-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
}

/* --------------------------------------------------------------------------
   9. FAQ & CUIDADOS PÓS-PROCEDIMENTO
   -------------------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 820px;
  margin-inline: auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease-out);
}

.faq-item[open] {
  border-color: var(--accent-gold);
}

.faq-summary {
  padding: 1.25rem 1.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  color: var(--accent-gold);
  transition: transform var(--dur-fast) var(--ease-out);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.75rem 1.5rem;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   10. RODAPÉ OFICIAL
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--bg-surface-elevated);
  border-top: 1px solid var(--border-subtle);
  padding-top: clamp(4rem, 6vw, 6rem);
  padding-bottom: 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3.5rem;
  }
}

.footer-brand-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 360px;
  margin-top: 1rem;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav a {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: color var(--dur-fast) var(--ease-out);
}

.footer-nav a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--text-xs);
  color: var(--text-muted);
}
