/* ============================================
   Studio Side — página "em construção"
   Paleta herdada da LP (moss / mahogany / ivory)
   ============================================ */

:root {
  --color-moss: #6A6A53;
  --color-moss-dark: #454A38;
  --color-charcoal: #241f1c;
  --color-ivory: #F4F1EA;
  --color-cream: #EDE7DB;
  --color-linen: #DDCCB7;
  --color-text-secondary: #5a534d;
  --color-divider: #CBBCA3;

  --radius-sm: 0.5rem;
  --radius-md: 0.625rem;
  --radius-lg: 1.5625rem;

  --ease-luxe: cubic-bezier(0.16, 1, 0.3, 1);

  --font-heading: 'Raleway', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--color-ivory);
  color: var(--color-charcoal);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-wrap: balance;
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4.4vw, 3.375rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--color-charcoal);
}

.page {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 100dvh;
}

@media (min-width: 64rem) {
  .page {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    height: 100dvh;
    overflow: hidden;
  }
}

/* ---------- Coluna de conteúdo ---------- */

.content {
  display: flex;
  align-items: center;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 6vw, 5rem);
}

.content-inner {
  max-width: 32rem;
  opacity: 0;
  animation: rise-in 0.8s var(--ease-luxe) forwards;
  animation-delay: 0.1s;
}

.logo {
  height: clamp(4.25rem, 7vw, 5.75rem);
  width: auto;
  margin-bottom: 1.75rem;
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-moss);
  margin: 0 0 1.25rem;
}

.eyebrow-dot::before {
  content: '';
  display: inline-block;
  width: 1.25rem;
  height: 1px;
  background: var(--color-moss);
  margin-right: 0.625rem;
  vertical-align: middle;
}

.lead {
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin: 0 0 2.25rem;
  max-width: 30rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.9375rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease-luxe), background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn .icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--color-moss-dark);
  color: var(--color-ivory);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #363c2c;
}

.btn-outline {
  background: transparent;
  color: var(--color-charcoal);
  border-color: var(--color-divider);
}

.btn-outline:hover {
  transform: translateY(-2px);
  border-color: var(--color-moss);
  background: var(--color-cream);
}

.btn:focus-visible {
  outline: 2px solid var(--color-moss-dark);
  outline-offset: 2px;
}

/* ---------- Galeria (mosaico) ---------- */

.gallery {
  background: var(--color-cream);
  padding: clamp(1rem, 2.5vw, 1.75rem);
  height: 100%;
}

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.5rem, 1vw, 0.875rem);
  width: 100%;
  height: 100%;
}

.bento-col {
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 1vw, 0.875rem);
  min-height: 0;
}

.bento-item {
  flex: 1 1 0;
  min-height: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  opacity: 0;
  animation: rise-in 0.7s var(--ease-luxe) forwards;
}

.bento-item--lg { flex-grow: 1.4; }
.bento-item--sm { flex-grow: 0.75; }

.bento-col:nth-child(1) .bento-item:nth-child(1) { animation-delay: 0.1s; }
.bento-col:nth-child(1) .bento-item:nth-child(2) { animation-delay: 0.42s; }
.bento-col:nth-child(2) .bento-item:nth-child(1) { animation-delay: 0.18s; }
.bento-col:nth-child(2) .bento-item:nth-child(2) { animation-delay: 0.5s; }
.bento-col:nth-child(3) .bento-item:nth-child(1) { animation-delay: 0.26s; }
.bento-col:nth-child(3) .bento-item:nth-child(2) { animation-delay: 0.58s; }
.bento-col:nth-child(4) .bento-item:nth-child(1) { animation-delay: 0.34s; }
.bento-col:nth-child(4) .bento-item:nth-child(2) { animation-delay: 0.66s; }

.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-luxe);
}

.bento-item:hover img {
  transform: scale(1.045);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .content-inner,
  .bento-item {
    animation: none;
    opacity: 1;
  }
  .btn,
  .bento-item img {
    transition: none;
  }
}

/* ---------- Tablet / mobile ---------- */

@media (max-width: 63.9375rem) {
  .page {
    grid-template-rows: auto auto;
  }

  .gallery {
    order: 2;
    height: auto;
  }

  .bento {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }

  .bento-col {
    display: contents;
  }

  .bento-item {
    flex: none;
    aspect-ratio: 4 / 3;
  }

  .bento-item--lg,
  .bento-item--sm {
    flex-grow: 0;
  }
}

@media (max-width: 26.5625rem) {
  .content {
    padding-bottom: 2rem;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
  }
}
