/* ═══════════════════════════════════════════════════════════
   PAGE: AQUARELA (aquarela.html)
   accent = verde-teal (--c-aqua)
   ─────────────────────────────────────────────────────────
   Galeria com molduras douradas em parede escura, fio
   simulando o gancho, iluminação spot e overview foto.
═══════════════════════════════════════════════════════════ */

[data-page="aquarela"] {
  --accent: var(--c-aqua);
  --accent-2: #2EC4C4;
  --accent-deep: #167878;
  --frame-gold: #C9A85C;
  --mat: #EDE6D2;
}

/* Hero grid: coluna da imagem recebe mais espaço */
[data-page="aquarela"] .hero-grid {
  grid-template-columns: 1fr 1.2fr;
  align-items: start;
}

/* ───── Hero stats ───── */
.stat-row {
  display: flex;
  gap: 32px;
  margin-top: 42px;
  flex-wrap: wrap;
}

.stat .v {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}

.stat .l {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 5px;
}

/* ───── Hero — obra em destaque (Theós) ───── */
.hero-obra {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.hero-obra::after {
  content: '';
  position: absolute;
  inset: -50px -30px 0;
  background: radial-gradient(
    ellipse 70% 50% at 50% 0%,
    rgba(201, 168, 92, .14),
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-wire {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, transparent, rgba(201, 168, 92, .5));
  flex-shrink: 0;
}

.hero-frame {
  padding: 13px;
  background: linear-gradient(145deg,
    #9B7220 0%, #D4A830 18%, #8B5E2A 40%, #C4953A 55%,
    #8B5E2A 70%, #D4A830 85%, #9B7220 100%);
  box-shadow:
    inset 2px 2px 4px rgba(255, 220, 100, .4),
    inset -2px -2px 4px rgba(0, 0, 0, .7),
    0 30px 70px rgba(0, 0, 0, .8),
    0 10px 22px rgba(0, 0, 0, .5),
    0 0 90px rgba(201, 168, 92, .08);
  position: relative;
  z-index: 1;
}

.hero-mat {
  padding: 8px;
  background: var(--mat);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, .12);
}

.hero-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.hero-label {
  margin-top: 18px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-label .lt {
  font-family: var(--font-display);
  font-size: 15px;
  font-style: italic;
  color: var(--fg);
}

.hero-label .lm {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 5px;
}

/* ═══════════════════════════════════════════════════════════
   GALLERY WALL — fundo escuro tipo galeria
═══════════════════════════════════════════════════════════ */

.gallery-wall {
  background: var(--bg);
  position: relative;
  overflow: hidden;
  padding: 96px 0 80px;
}

.gallery-wall > .wrap {
  max-width: 100%;
  padding-left: 14px;
  padding-right: 14px;
}

.gallery-wall::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(to bottom, rgba(201, 168, 92, .18), transparent);
}

.gallery-wall::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 28px;
  background: linear-gradient(to top, rgba(0, 0, 0, .15), transparent);
}

.gw-head {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 2;
}

.gw-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
}

.gw-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 500;
  color: var(--fg);
  margin-top: 12px;
  letter-spacing: -.01em;
}

.gw-head h2 .it {
  font-style: italic;
  color: rgba(201, 168, 92, .85);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 32px;
  align-items: start;
  position: relative;
  z-index: 2;
}

/* Cada obra é um "spot" — fio + moldura + label */
.obra-spot {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.obra-spot::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 280%; height: 110%;
  background: radial-gradient(
    ellipse 38% 32% at 50% 0%,
    rgba(201, 168, 92, .18),
    transparent 65%
  );
  pointer-events: none;
  z-index: 0;
}

.obra-wire {
  width: 1px;
  height: 22px;
  background: linear-gradient(to bottom, transparent, rgba(201, 168, 92, .45));
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.obra-wire::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 6px; height: 1px;
  background: rgba(201, 168, 92, .35);
}

.obra-frame {
  padding: 16px;
  background: linear-gradient(145deg,
    #9B7220 0%, #D4A830 15%, #F0C048 25%, #7A5020 42%,
    #C4953A 55%, #7A5020 68%, #F0C048 80%, #D4A830 88%, #9B7220 100%);
  box-shadow:
    inset 3px 3px 5px rgba(255, 220, 100, .5),
    inset -3px -3px 5px rgba(0, 0, 0, .75),
    inset 0 0 14px rgba(100, 60, 0, .4),
    0 26px 60px rgba(0, 0, 0, .85),
    0 10px 28px rgba(0, 0, 0, .55),
    0 3px 8px rgba(0, 0, 0, .4),
    0 0 0 1px rgba(201, 168, 92, .12);
  position: relative;
  z-index: 1;
  transition: box-shadow .5s ease;
}

.obra-spot:hover .obra-frame {
  box-shadow:
    inset 3px 3px 5px rgba(255, 220, 100, .5),
    inset -3px -3px 5px rgba(0, 0, 0, .75),
    inset 0 0 14px rgba(100, 60, 0, .4),
    0 40px 90px rgba(0, 0, 0, .92),
    0 16px 40px rgba(0, 0, 0, .65),
    0 5px 14px rgba(0, 0, 0, .5),
    0 0 60px rgba(201, 168, 92, .14),
    0 0 0 1px rgba(201, 168, 92, .2);
}

.obra-mat {
  padding: 6px;
  background: var(--mat);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, .15);
  overflow: hidden;
}

.obra-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.obra-spot:hover .obra-img { transform: scale(1.06); }

.obra-label {
  margin-top: 16px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.obra-label .lt {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-style: italic;
  color: #D4C8A8;
  line-height: 1.3;
}

.obra-label .lm {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(180, 165, 130, .45);
  margin-top: 4px;
}

/* Overview do ateliê (foto panorâmica) */
.wall-overview {
  position: relative;
  margin-top: 64px;
  border-radius: 6px;
  overflow: hidden;
  z-index: 2;
}

.wall-overview img {
  display: block;
  width: 100%;
  height: clamp(340px, 44vw, 600px);
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(.7);
}

.wall-cap {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(237, 230, 210, .55);
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════
   CLIENTS — fotos de clientes recebendo
═══════════════════════════════════════════════════════════ */

.clients { padding: 96px 0; border-top: 1px solid var(--hair); }

.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.client-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--line);
  cursor: pointer;
}

.client-card img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center 20%;
  transition:
    transform .6s cubic-bezier(.2, .7, .2, 1),
    filter .4s ease;
}

.client-card:hover img {
  transform: scale(1.05);
  filter: brightness(.85);
}

.client-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11, 12, 18, .9) 0%,
    rgba(11, 12, 18, .2) 55%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 22px;
}

.client-overlay p {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-style: italic;
  color: var(--mat);
  line-height: 1.45;
}

/* ═══════════════════════════════════════════════════════════
   ABOUT — sobre o artista
═══════════════════════════════════════════════════════════ */

.about { padding: 96px 0; border-top: 1px solid var(--hair); }

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 64px;
  align-items: center;
}

.about-txt .klabel { margin-bottom: 20px; }

.about-txt p {
  font-size: 17px;
  line-height: 1.72;
  color: var(--dim);
}

.about-txt p b { color: var(--fg); font-weight: 500; }
.about-txt p + p { margin-top: 18px; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.astat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
  transition:
    border-color .3s ease,
    transform .3s ease;
}

.astat:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.astat .v {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}

.astat .l {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 8px;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════
   PROCESS — steps com bloom
═══════════════════════════════════════════════════════════ */

.process { padding: 96px 0; border-top: 1px solid var(--hair); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}

[data-page="aquarela"] .step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform .4s ease, border-color .4s ease;
  /* Overrides do .step compartilhado para versão card */
  border-right: 0;
  padding-right: 32px;
}

[data-page="aquarela"] .step::before { display: none; }

[data-page="aquarela"] .step:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

[data-page="aquarela"] .step .sbloom {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(50px);
  opacity: 0;
  top: -60px;
  right: -40px;
  transition: opacity .4s ease;
  mix-blend-mode: screen;
}

[data-page="aquarela"] .step:hover .sbloom { opacity: .32; }

[data-page="aquarela"] .step h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin: 18px 0 10px;
  position: relative;
}

[data-page="aquarela"] .step p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--dim);
  position: relative;
  padding-right: 0;
}

/* Cursor pointer nas obras */
.gallery-grid .obra-spot { cursor: pointer; }

/* ═══════════════════════════════════════════════════════════
   CLIENTES — fotos de obras entregues (sem moldura)
═══════════════════════════════════════════════════════════ */

.clientes-section {
  padding: 96px 0;
  border-top: 1px solid var(--hair);
}

.clientes-section .sec-head {
  margin-bottom: 48px;
}

.clientes-section .sec-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 500;
  margin-top: 12px;
}

.clientes-section .sec-head h2 .it {
  font-style: italic;
  color: var(--accent);
}

.clientes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 420px));
  gap: 14px;
  justify-content: center;
}

.cliente-foto {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 3/4;
  cursor: pointer;
  background: var(--panel);
}

.cliente-foto img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.cliente-foto:hover img { transform: scale(1.06); }

/* ═══════════════════════════════════════════════════════════
   LIGHTBOX
═══════════════════════════════════════════════════════════ */

#aq-lb {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

#aq-lb.open { opacity: 1; pointer-events: all; }

.lb-bg {
  position: absolute;
  inset: 0;
  background: rgba(5, 3, 2, .95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lb-stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 72px;
}

.lb-img {
  max-width: 85vw;
  max-height: 78vh;
  object-fit: contain;
  border: 1px solid rgba(201,168,92,.2);
  box-shadow: 0 40px 100px rgba(0,0,0,.9), 0 0 60px rgba(201,168,92,.05);
  transition: opacity .16s ease;
}

.lb-cap {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 15px;
  font-style: italic;
  color: rgba(237,230,210,.6);
  text-align: center;
  min-height: 22px;
}

.lb-btn {
  position: absolute;
  z-index: 3;
  background: rgba(15,10,5,.75);
  border: 1px solid rgba(201,168,92,.28);
  color: rgba(201,168,92,.8);
  cursor: pointer;
  border-radius: 50%;
  width: 48px; height: 48px;
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s, color .2s;
  padding: 0;
}

.lb-btn:hover {
  background: rgba(201,168,92,.16);
  border-color: rgba(201,168,92,.6);
  color: rgba(201,168,92,1);
}

.lb-close { top: 20px; right: 20px; width: 40px; height: 40px; font-size: 18px; }
.lb-prev  { left: 14px;  top: 50%; transform: translateY(-50%); }
.lb-next  { right: 14px; top: 50%; transform: translateY(-50%); }

.lb-dots {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 3;
}

.lb-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(201,168,92,.3);
  cursor: pointer;
  transition: background .2s, transform .2s;
  border: none; padding: 0;
}

.lb-dot.on { background: rgba(201,168,92,.85); transform: scale(1.5); }

@media (max-width: 680px) {
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-stage { padding: 0 50px; }
}

/* ───── Responsive ───── */
@media (max-width: 980px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .clientes-grid { grid-template-columns: repeat(2, 1fr); justify-content: start; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .clientes-grid { grid-template-columns: 1fr 1fr; gap: 10px; justify-content: start; }
  .stat-row { gap: 20px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}
