/* ==========================================================================
   DAVIS LIMA - ALTA JOALHERIA & ATELIER
   Innovative Lateral Navigation (Desktop & Mobile Lateral Rail)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Plus+Jakarta+Sans:wght@200;300;400;500;600&display=swap');

:root {
  --bg-main: #090a0d;
  --bg-card: #111318;
  --bg-surface: #14171f;
  --bg-sidebar: #0b0c10;
  
  --gold-primary: #d4af37;
  --gold-light: #eed9a8;
  --gold-muted: rgba(212, 175, 55, 0.35);
  
  --text-main: #f5f6f8;
  --text-muted: #9aa0aa;
  --text-dim: #606672;
  
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-gold: rgba(212, 175, 55, 0.28);
  
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --sidebar-width: 270px;
  --mobile-rail-width: 58px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-main);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  font-weight: 300;
  overflow-x: hidden;
  display: flex;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #1f232b;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 300;
  color: #ffffff;
  line-height: 1.15;
}

p {
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* --- LATERAL NAVIGATION SIDEBAR (DESKTOP RAIL & MOBILE COLLAPSIBLE RAIL) --- */
.sidebar-left {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-gold);
  z-index: 1200;
  padding: 2.8rem 2rem 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

/* Mobile Header & Close Button (Hidden on Desktop) */
.mobile-header {
  display: none;
}

.sidebar-close-btn {
  display: none;
}

.mobile-toggle-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.mobile-toggle-btn .bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--gold-primary);
  transition: all 0.3s ease;
}

/* Transform toggle into 'X' when open */
.sidebar-left.open .mobile-toggle-btn .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.sidebar-left.open .mobile-toggle-btn .bar:nth-child(2) {
  opacity: 0;
}
.sidebar-left.open .mobile-toggle-btn .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Brand & Golden Lines */
.sidebar-brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sidebar-gold-line-top {
  width: 1px;
  height: 38px;
  background: var(--gold-primary);
  margin-bottom: 1rem;
}

/* Desktop Logo (Stacked) */
.desktop-logo {
  display: flex;
  flex-direction: column;
}

.sidebar-logo-first,
.sidebar-logo-second {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  letter-spacing: 0.26em;
  color: #ffffff;
  line-height: 1.05;
  text-transform: uppercase;
  font-weight: 400;
}

.sidebar-logo-bar {
  width: 48px;
  height: 2px;
  background: var(--gold-primary);
  margin-top: 0.65rem;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.35);
}

/* Mobile Mini Logo (Vertical text along lateral rail) */
.mobile-mini-logo {
  display: none;
}

.mini-logo-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-serif);
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  color: #ffffff;
  text-transform: uppercase;
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
  font-weight: 400;
  padding: 0.8rem 0;
}

.sidebar-gold-line-mid {
  width: 1px;
  height: 32px;
  background: var(--gold-primary);
  margin-top: 1rem;
  margin-bottom: 2rem;
  opacity: 0.7;
}

/* Vertical Nav Links */
.sidebar-nav {
  margin: auto 0;
  transition: opacity 0.3s ease;
}

.sidebar-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.sidebar-nav-item a {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: all 0.25s ease;
  position: relative;
  padding: 0.3rem 0;
  white-space: nowrap;
}

.sidebar-nav-num {
  font-size: 0.68rem;
  color: var(--gold-primary);
  opacity: 0.7;
  font-family: var(--font-serif);
}

.sidebar-nav-item a:hover,
.sidebar-nav-item a.active {
  color: #ffffff;
  padding-left: 0.4rem;
}

.sidebar-nav-item a:hover .sidebar-nav-num,
.sidebar-nav-item a.active .sidebar-nav-num {
  opacity: 1;
}

.nav-badge-gold {
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--gold-light);
  margin-left: auto;
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.25s ease;
  line-height: 1.2;
}

.sidebar-nav-item a:hover .nav-badge-gold,
.sidebar-nav-item a.active .nav-badge-gold {
  background: rgba(212, 175, 55, 0.28);
  border-color: var(--gold-primary);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.35);
}

/* Sidebar Footer / Motto Block */
.sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding-top: 1.5rem;
  transition: opacity 0.3s ease;
}

.sidebar-motto-box {
  display: flex;
  align-items: stretch;
  gap: 0.85rem;
}

.sidebar-motto-line {
  width: 2px;
  background: var(--gold-primary);
  flex-shrink: 0;
}

.sidebar-motto-words {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  color: var(--gold-light);
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
}

.sidebar-gold-line-bottom {
  width: 1px;
  height: 30px;
  background: var(--gold-primary);
  opacity: 0.4;
}

/* Backdrop for mobile drawer */
.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sidebar-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* --- MAIN WRAPPER (OFFSET BY SIDEBAR) --- */
.main-wrapper {
  margin-left: var(--sidebar-width);
  width: calc(100% - var(--sidebar-width));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: margin-left 0.35s ease, width 0.35s ease;
}

.content-container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 3rem;
}

/* --- HERO AUTORAL (IMERSÃO ARTESANAL & ALTA JOALHERIA) --- */
.hero-autoral {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #0b0c10;
}

/* Imagem de fundo responsiva (Picture element) */
.hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-backdrop picture,
.hero-backdrop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* No desktop widescreen: anel na metade direita e espaço atmosférico na esquerda */
.hero-backdrop-img {
  object-position: 60% center;
}

/* Camadas de chiaroscuro e vinhetas cinematográficas */
.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, 
      rgba(9, 10, 13, 0.92) 0%, 
      rgba(9, 10, 13, 0.76) 32%, 
      rgba(9, 10, 13, 0.2) 50%, 
      transparent 64%),
    linear-gradient(0deg, 
      rgba(9, 10, 13, 0.95) 0%, 
      rgba(9, 10, 13, 0.3) 10%, 
      transparent 22%),
    linear-gradient(180deg, 
      rgba(9, 10, 13, 0.6) 0%, 
      transparent 16%);
}

.hero-container {
  position: relative;
  z-index: 2;
  padding-top: 5rem;
  padding-bottom: 5rem;
  width: 100%;
}

.hero-content-block {
  max-width: 520px;
  animation: heroFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 5.8vw, 5.2rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin-bottom: 1.3rem;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.85);
}

.hero-title-dot {
  color: var(--gold-primary);
  font-weight: 400;
  font-family: var(--font-serif);
}

.hero-gold-divider {
  width: 48px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
  margin: 1.5rem 0 1.65rem 0;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.45);
}

.hero-lead {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.8;
  color: #cdd2dc;
  font-weight: 300;
  max-width: 460px;
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.hero-cta-wrapper {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

/* Botão Autoral Retangular com Borda Dourada e Vidro Escuro */
.hero-btn-craft {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  padding: 0.92rem 2.1rem;
  background: rgba(16, 14, 12, 0.65);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.55);
  color: #eed9a8;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.hero-btn-craft::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-btn-craft .btn-arrow {
  font-size: 1.05rem;
  line-height: 1;
  color: var(--gold-primary);
  transition: transform 0.3s ease, color 0.3s ease;
}

.hero-btn-craft:hover {
  border-color: var(--gold-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.25);
}

.hero-btn-craft:hover::before {
  opacity: 1;
}

.hero-btn-craft:hover .btn-arrow {
  transform: translateX(5px);
  color: #ffffff;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.88rem 2.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.btn-solid {
  background: var(--gold-primary);
  color: #090a0d;
  font-weight: 600;
}

.btn-solid:hover {
  background: #ecd48e;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--gold-primary);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-link:hover {
  color: var(--gold-light);
}

.btn-full {
  width: 100%;
}

/* --- SECTIONS --- */
.section {
  padding: 7rem 0;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 0.75rem;
  display: block;
}

.section-heading {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 300;
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 3rem;
}

/* --- O ARTISTA DAVIS LIMA --- */
.artist-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4.5rem;
  align-items: center;
}

.artist-photos {
  position: relative;
}

.artist-photo-main {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

.artist-photo-main img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.artist-bio h2 {
  font-size: 2.6rem;
  margin-bottom: 1.5rem;
}

.artist-quote {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--gold-light);
  line-height: 1.45;
  margin: 1.8rem 0;
  padding-left: 1.2rem;
  border-left: 2px solid var(--gold-primary);
}

.artist-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  margin-top: 2.2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.detail-item h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.3rem;
}

.detail-item p {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* --- GALERIA DESLIZANTE DE OBRAS (HORIZONTAL CAROUSEL / SLIDER) --- */
#obras {
  background: #0b0c10;
}

.gallery-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.gallery-carousel-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.carousel-counter {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 0.2em;
  color: var(--gold-primary);
}

.carousel-arrows {
  display: flex;
  gap: 0.6rem;
}

.btn-carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: rgba(17, 19, 24, 0.85);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.btn-carousel-arrow:hover {
  background: var(--gold-primary);
  color: #090a0d;
  border-color: var(--gold-primary);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.35);
}

.btn-carousel-arrow:active {
  transform: scale(0.95);
}

/* Viewport & Trilho deslizante */
.gallery-slider-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.gallery-slider-track {
  display: flex;
  gap: 1.8rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.8rem 0.2rem 1.8rem 0.2rem;
  cursor: grab;
}

.gallery-slider-track::-webkit-scrollbar {
  display: none; /* Chrome & Safari */
}

.gallery-slider-track.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

/* Card individual da obra no carrossel */
.gallery-slide-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
  background: #101217;
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  -webkit-user-select: none;
  user-select: none;
}

.gallery-slide-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.12);
}

.gallery-slide-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.8;
  overflow: hidden;
  background: #060709;
}

.gallery-slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.gallery-slide-card:hover .gallery-slide-media img {
  transform: scale(1.06);
}

.gallery-slide-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(9, 10, 13, 0.85);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  padding: 0.3rem 0.65rem;
  border-radius: 2px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.gallery-slide-info {
  padding: 1.25rem 1.4rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
}

.gallery-slide-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: #ffffff;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.gallery-slide-material {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--gold-light);
  line-height: 1.4;
  opacity: 0.85;
}

/* Barra de progresso deslizante */
.gallery-slider-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1.2rem;
}

.gallery-progress-track {
  width: 100%;
  max-width: 320px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1px;
  overflow: hidden;
  position: relative;
}

.gallery-progress-bar {
  height: 100%;
  width: 14.28%;
  background: var(--gold-primary);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
  transition: width 0.25s ease;
}

.gallery-dots-bar {
  display: flex;
  gap: 0.5rem;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.gallery-dot.active {
  background: var(--gold-primary);
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

/* --- PROCESSO CRIATIVO (FEITIO & MATÉRIA) --- */
.process-slide-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  -webkit-user-select: none;
  user-select: none;
}

.process-slide-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.12);
}

.process-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #060709;
}

.process-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.process-slide-card:hover .process-media img {
  transform: scale(1.05);
}

.process-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(9, 10, 13, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.process-body {
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.process-tag {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 0.5rem;
}

.process-body h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: #ffffff;
}

.process-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- CONTATO & ATELIER --- */
#contato {
  padding-top: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 3.5rem;
  border-radius: 4px;
}

.contact-info h2 {
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
}

.contact-details-list {
  list-style: none;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.88rem;
  color: #cfd4dc;
}

.contact-item svg {
  color: var(--gold-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.form-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 2.2rem;
  border-radius: 3px;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  padding: 0.8rem 1rem;
  border-radius: 2px;
  font-size: 0.88rem;
  transition: border-color 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  background: rgba(255, 255, 255, 0.05);
}

.form-select option {
  background: var(--bg-surface);
  color: #fff;
}

/* --- FOOTER --- */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: auto;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: #fff;
}

.footer-brand-tag {
  margin-left: 0.5rem;
  color: var(--gold-light);
}

/* --- MODAL --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  width: 100%;
  max-width: 840px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  position: relative;
  overflow: hidden;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
}

.modal-image-col img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.modal-details-col {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.modal-category {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 0.4rem;
}

.modal-title {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

.modal-subtitle {
  font-size: 0.85rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.modal-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.modal-specs-list {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  padding: 1rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.modal-spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

.modal-spec-label {
  color: var(--text-dim);
}

.modal-spec-value {
  color: #fff;
  font-weight: 500;
}

/* Toast */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--gold-primary);
  color: #fff;
  padding: 0.9rem 1.4rem;
  border-radius: 3px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  font-size: 0.85rem;
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* --- RESPONSIVE ADAPTATIONS (MOBILE LATERAL RAIL) --- */
@media (max-width: 1024px) {
  :root {
    --sidebar-width: 240px;
  }
  .content-container {
    padding: 0 2rem;
  }
}

@media (max-width: 991px) {
  /* Layout linear vertical no mobile e tablet */
  body {
    display: block;
  }

  /* Cabeçalho Mobile: Menu à esquerda, Logo centralizado, overlay com desfoque e gradiente */
  .mobile-header {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    padding: 1rem 1.4rem;
    background: linear-gradient(180deg, rgba(9, 10, 13, 0.88) 0%, rgba(9, 10, 13, 0.45) 75%, transparent 100%);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
  }

  .mobile-menu-trigger {
    background: transparent;
    border: none;
    padding: 0.5rem 0.2rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
    justify-content: center;
    cursor: pointer;
    width: 44px;
  }

  .mobile-menu-trigger .bar {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--gold-primary);
    transition: all 0.3s ease;
  }

  .mobile-menu-trigger:hover .bar {
    background: var(--gold-light);
  }

  .mobile-header-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
  }

  .mobile-header-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    letter-spacing: 0.04em;
    color: #ffffff;
    font-weight: 400;
    line-height: 1.1;
  }

  .mobile-header-tag {
    font-size: 0.56rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-top: 3px;
    opacity: 0.85;
    font-weight: 500;
  }

  .mobile-header-spacer {
    width: 44px;
    pointer-events: none;
  }

  /* Backdrop suave para o Drawer */
  .sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    z-index: 1500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .sidebar-backdrop.active {
    opacity: 1;
    pointer-events: auto;
  }

  /* Sidebar no mobile: Fica recolhida fora da tela e só aparece ao abrir */
  .sidebar-left {
    position: fixed;
    top: 0;
    left: 0;
    width: 290px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    padding: 2.8rem 2rem 2.2rem 2rem;
    align-items: flex-start;
    overflow-y: auto;
    z-index: 1600;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
    border-right: 1px solid var(--border-gold);
    box-shadow: none;
  }

  /* Botão de Fechar no Drawer */
  .sidebar-close-btn {
    display: flex;
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid var(--border-gold);
    color: var(--gold-primary);
    font-size: 1.7rem;
    line-height: 1;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .sidebar-close-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    transform: scale(1.05);
  }

  /* Ocultar elementos desnecessários no mobile */
  .mobile-toggle-btn,
  .mobile-mini-logo {
    display: none !important;
  }

  .desktop-logo {
    display: flex !important;
  }

  .sidebar-brand-block {
    align-items: flex-start;
    width: 100%;
  }

  .sidebar-gold-line-top {
    height: 30px;
    margin-bottom: 0.9rem;
  }

  .sidebar-gold-line-mid {
    height: 20px;
    margin-top: 0.9rem;
    margin-bottom: 1.2rem;
  }

  /* Links e footer sempre visíveis dentro do drawer */
  .sidebar-nav,
  .sidebar-footer {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  /* Quando o menu é aberto pelo botão do topo */
  .sidebar-left.open {
    transform: translateX(0);
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.95);
  }

  /* Conteúdo principal ocupa 100% da largura útil da tela */
  .main-wrapper {
    margin-left: 0;
    width: 100%;
  }

  .content-container {
    padding: 0 1.5rem;
  }

  /* Hero Autoral Mobile & Tablet */
  .hero-autoral {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 4.5rem;
    padding-bottom: 2rem;
    display: flex;
    align-items: center;
  }

  /* No mobile, enquadramento macro com o anel em grande evidência à direita */
  .hero-backdrop-img {
    object-position: 65% center;
  }

  /* Gradiente suave apenas atrás do texto à esquerda: deixa o anel 100% visível, nítido e iluminado */
  .hero-overlay-gradient {
    background: 
      linear-gradient(90deg, 
        rgba(9, 10, 13, 0.9) 0%, 
        rgba(9, 10, 13, 0.72) 30%, 
        rgba(9, 10, 13, 0.15) 45%, 
        transparent 55%),
      linear-gradient(0deg, 
        rgba(9, 10, 13, 0.85) 0%, 
        transparent 15%),
      linear-gradient(180deg, 
        rgba(9, 10, 13, 0.75) 0%, 
        transparent 14%);
  }

  .hero-container {
    padding: 0 1.25rem;
  }

  /* Bloco de texto conciso para nunca cobrir o anel */
  .hero-content-block {
    max-width: 240px;
  }

  .hero-title {
    font-size: clamp(2.4rem, 9.2vw, 3.2rem);
    line-height: 1.02;
    margin-bottom: 0.6rem;
  }

  .hero-gold-divider {
    width: 38px;
    margin: 0.85rem 0 1rem 0;
  }

  .hero-lead {
    font-size: 0.84rem;
    line-height: 1.58;
    max-width: 225px;
    margin-bottom: 1.6rem;
    color: #d1d5db;
  }

  .hero-btn-craft {
    padding: 0.78rem 1.4rem;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    gap: 0.6rem;
  }

  .artist-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .gallery-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }

  .gallery-carousel-controls {
    width: 100%;
    justify-content: space-between;
  }

  .gallery-slide-card,
  .process-slide-card {
    flex: 0 0 84vw;
    max-width: 330px;
  }

  .gallery-slide-media {
    aspect-ratio: 4 / 4.6;
  }

  .artist-photo-main img {
    height: 380px;
  }

  .modal-content {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    padding: 2rem;
  }
}

/* Ajustes Específicos para Tablets (601px a 991px) */
@media (min-width: 601px) and (max-width: 991px) {
  .hero-content-block {
    max-width: 440px;
  }
  .hero-lead {
    max-width: 400px;
    font-size: 1rem;
  }
  .hero-backdrop-img {
    object-position: 65% center;
  }
}

/* ==========================================================================
   EXHIBITION TEASER BANNER (Home -> Exposicao)
   ========================================================================== */
.section-exhibition-teaser {
  padding: 3rem 0 6rem 0;
}

.exhibition-banner-card {
  background: linear-gradient(135deg, rgba(17, 23, 38, 0.95) 0%, rgba(13, 16, 26, 0.95) 50%, rgba(18, 16, 24, 0.95) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 6px;
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.65), 0 0 35px rgba(212, 175, 55, 0.08);
}

.exhibition-banner-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.exhibition-banner-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.exhibition-tag {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.exhibition-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-primary);
}

.exhibition-loc {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  font-family: var(--font-serif);
}

.exhibition-banner-body {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3.5rem;
  align-items: center;
}

.exhibition-banner-title {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-family: var(--font-serif);
  color: #ffffff;
  margin-bottom: 0.4rem;
  line-height: 1.15;
}

.exhibition-banner-sub {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  font-style: italic;
}

.exhibition-banner-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.exhibition-banner-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.exhibition-banner-img-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75);
  background: #090a0d;
}

.exhibition-banner-img-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 682 / 1024;
  max-height: 460px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.exhibition-banner-card:hover .exhibition-banner-img-wrap img {
  transform: scale(1.04);
}

.exhibition-banner-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(9, 10, 13, 0.92));
}

.exhibition-img-caption {
  font-size: 0.78rem;
  color: var(--gold-light);
  font-family: var(--font-serif);
  letter-spacing: 0.05em;
}

@media (max-width: 900px) {
  .exhibition-banner-body {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .exhibition-banner-card {
    padding: 2.5rem 1.75rem;
  }
}


