:root {
  color-scheme: light;
  --paper: #f3eee6;
  --paper-soft: #fbf7f1;
  --paper-warm: #e8ddcf;
  --ink: #1d1b18;
  --ink-soft: #514940;
  --muted: #7b7167;
  --line: rgba(29, 27, 24, 0.14);
  --clay: #9b4b35;
  --moss: #66745d;
  --night: #171615;
  --white: #fffaf2;
  --shadow: 0 26px 80px rgba(29, 27, 24, 0.18);
  --display: "Newsreader", Georgia, serif;
  --body: "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(155, 75, 53, 0.09), transparent 34rem),
    linear-gradient(180deg, var(--paper), var(--paper-soft) 58%, var(--paper));
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
}

/* Grain fotográfico — textura sutil que remete à película analógica */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 300px 300px;
  opacity: 0.032;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

code {
  padding: 0.12rem 0.34rem;
  background: rgba(29, 27, 24, 0.08);
  border-radius: 5px;
  font-size: 0.9em;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 1000;
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 16px;
  clip: auto;
  background: var(--night);
  color: var(--white);
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--paper);
  transition: opacity 520ms ease, visibility 520ms ease;
}

.page-loader span {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-top-color: var(--clay);
  border-radius: 50%;
  animation: spin 900ms linear infinite;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 16px clamp(18px, 4vw, 54px);
  background: rgba(243, 238, 230, 0.78);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: background 240ms ease, border-color 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(243, 238, 230, 0.94);
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-symbol {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(29, 27, 24, 0.07);
  color: var(--ink);
  transform: translateY(-1px);
}

.site-nav .nav-pill {
  background: var(--night);
  color: var(--white);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 250, 242, 0.5);
  color: var(--ink);
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

body.menu-open .menu-button span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

body.menu-open .menu-button span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.62fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  padding: clamp(28px, 4.4vw, 58px) clamp(18px, 5vw, 72px) clamp(24px, 3.7vw, 46px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 0;
  left: clamp(18px, 5vw, 72px);
  height: 1px;
  background: var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  top: 16%;
  right: -12rem;
  width: min(42vw, 36rem);
  height: min(42vw, 36rem);
  border-radius: 50%;
  background: rgba(102, 116, 93, 0.12);
  filter: blur(4px);
  pointer-events: none;
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 930px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--clay);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.96;
}

h1 {
  max-width: 980px;
  font-size: clamp(3.2rem, 5.35vw, 5.95rem);
}

h2 {
  font-size: clamp(2.35rem, 5.8vw, 6.2rem);
}

h3 {
  font-size: clamp(1.9rem, 5vw, 3.6rem);
}

.hero-text > p:not(.eyebrow) {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button,
.text-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button {
  padding: 0 20px;
}

.button.primary {
  background: var(--ink);
  color: var(--white);
}

.button.ghost {
  background: rgba(255, 250, 242, 0.38);
  color: var(--ink);
}

.button:hover,
.button:focus-visible,
.text-button:hover,
.text-button:focus-visible {
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-height: 430px;
}

.visual-stack {
  position: relative;
  height: 100%;
  min-height: 430px;
}

.visual-tile {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(29, 27, 24, 0.16);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(29, 27, 24, 0.76), rgba(155, 75, 53, 0.52)),
    var(--paper-warm);
  box-shadow: 0 24px 70px rgba(29, 27, 24, 0.22);
}

.visual-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease, filter 700ms ease;
}

.visual-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(23, 22, 21, 0.05), rgba(23, 22, 21, 0.46));
  pointer-events: none;
}

.visual-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: linear-gradient(rgba(255, 250, 242, 0.1) 1px, transparent 1px);
  background-size: 100% 28px;
  mix-blend-mode: soft-light;
  opacity: 0.34;
  pointer-events: none;
}

.visual-tile:hover img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.03);
}

.visual-tile span {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 3;
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  transition: opacity 400ms ease;
}

/* Esconde o número placeholder quando a foto real carregou */
.visual-tile.has-photo span {
  opacity: 0;
}

.visual-main {
  top: 0;
  right: 0;
  width: 74%;
  height: 72%;
}

.visual-side {
  top: 12%;
  left: 0;
  width: 45%;
  height: 54%;
}

.visual-low {
  right: 10%;
  bottom: 0;
  width: 54%;
  height: 36%;
}

.hero-statement {
  position: absolute;
  right: 0;
  bottom: 18px;
  z-index: 2;
  max-width: 330px;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(255, 250, 242, 0.18);
  border-radius: 24px;
  background: rgba(23, 22, 21, 0.76);
  color: rgba(255, 250, 242, 0.82);
  box-shadow: 0 18px 60px rgba(29, 27, 24, 0.22);
  backdrop-filter: blur(14px);
}

.gallery-section,
.series-section,
.about-section,
.contact-section {
  scroll-margin-top: 84px;
  padding: clamp(46px, 7vw, 92px) clamp(18px, 5vw, 72px);
}

.gallery-section {
  padding-top: clamp(28px, 3.6vw, 44px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(110px, 0.22fr) minmax(300px, 0.8fr) minmax(260px, 0.6fr);
  gap: clamp(18px, 3vw, 42px);
  align-items: end;
  margin-bottom: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2 {
  max-width: 680px;
  font-size: clamp(2.8rem, 4.4vw, 4.9rem);
}

.section-heading .eyebrow {
  margin: 0 0 10px;
}

.section-heading p:not(.eyebrow) {
  max-width: 560px;
  margin: 0 0 10px;
  color: var(--ink-soft);
}

.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 18px;
  padding-top: 0;
  border-top: 0;
}

.gallery-toolbar p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.text-button {
  min-height: 40px;
  padding: 0 14px;
  background: transparent;
  color: var(--ink-soft);
}

.gallery-status {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  color: var(--muted);
  font-weight: 800;
}

.gallery-status[hidden] {
  display: none;
}

.gallery-status span {
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-top-color: var(--clay);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

.gallery-status p {
  margin: 0;
}

.empty-state {
  max-width: 760px;
  margin: 34px auto 0;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(102, 116, 93, 0.12), transparent),
    rgba(255, 250, 242, 0.68);
  text-align: center;
}

.empty-state[hidden] {
  display: none;
}

.empty-state p {
  margin: 18px auto 0;
  max-width: 540px;
  color: var(--ink-soft);
}

.empty-state .eyebrow {
  margin-top: 0;
  color: var(--moss);
}

.gallery-grid {
  column-count: 3;
  column-gap: 18px;
}

.photo-card {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
  overflow: hidden;
  break-inside: avoid;
  border: 0;
  border-radius: 26px;
  background: var(--paper-warm);
  color: var(--white);
  cursor: zoom-in;
  box-shadow: 0 12px 42px rgba(29, 27, 24, 0.11);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 540ms ease, transform 540ms ease, box-shadow 220ms ease;
}

.photo-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.photo-card:hover,
.photo-card:focus-visible {
  box-shadow: 0 22px 62px rgba(29, 27, 24, 0.22);
}

.photo-card img {
  width: 100%;
  height: auto;
  min-height: 180px;
  object-fit: cover;
  transition: transform 600ms ease, filter 600ms ease;
}

.photo-card:hover img,
.photo-card:focus-visible img {
  transform: scale(1.035);
  filter: saturate(1.06) contrast(1.04);
}

.photo-card figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(23, 22, 21, 0.18), rgba(23, 22, 21, 0.72));
  font-weight: 800;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.photo-card:hover figcaption,
.photo-card:focus-visible figcaption {
  opacity: 1;
  transform: translateY(0);
}

.photo-card figcaption small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 250, 242, 0.72);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.series-section {
  padding-top: clamp(28px, 3.6vw, 44px);
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
}

.series-card {
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 250, 242, 0.58);
}

.series-card h3 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

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

.series-photo {
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: var(--paper-warm);
  cursor: zoom-in;
}

.series-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 600ms ease, filter 600ms ease;
}

.series-photo:hover img,
.series-photo:focus-visible img {
  transform: scale(1.03);
  filter: saturate(1.05);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 0.58fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
  background: var(--night);
  color: var(--white);
}

.about-card {
  position: sticky;
  top: 112px;
}

.about-card .eyebrow,
.contact-section .eyebrow {
  color: #c86349;
}

.about-copy {
  display: grid;
  gap: 20px;
  color: rgba(255, 250, 242, 0.72);
  font-size: clamp(1rem, 1.5vw, 1.14rem);
}

.about-copy p {
  margin: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.5fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: end;
}

.contact-links {
  display: grid;
  border-top: 1px solid var(--line);
}

.contact-links a {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 78px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 200ms ease;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  padding-left: 6px;
}

.contact-links span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-links strong {
  color: var(--ink);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.contact-links a:hover strong,
.contact-links a:focus-visible strong {
  color: var(--clay);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

.site-footer p {
  margin: 0;
}

/* ── Lightbox ─────────────────────────────────────── */

.lightbox {
  width: min(1200px, calc(100vw - 28px));
  max-width: none;
  height: min(900px, calc(100dvh - 28px));
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 34px;
  overflow: hidden;
  background: rgba(23, 22, 21, 0.96);
  color: var(--white);
  box-shadow: var(--shadow);
}

.lightbox::backdrop {
  background: rgba(23, 22, 21, 0.72);
  backdrop-filter: blur(12px);
}

.lightbox[open] {
  display: block;
  animation: lightboxIn 220ms ease both;
}

/* Barra superior com contador e botão fechar */
.lightbox-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}

.lightbox-counter {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(255, 250, 242, 0.22);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.08);
  color: rgba(255, 250, 242, 0.72);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.lightbox figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 56px clamp(16px, 4vw, 72px) 32px;
  min-height: 0;
}

.lightbox img {
  flex: 0 1 auto;
  max-width: 100%;
  max-height: calc(100dvh - 150px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox figcaption {
  min-height: 24px;
  padding-top: 0;
  color: rgba(255, 250, 242, 0.72);
  font-weight: 800;
  text-align: center;
}

/* Botões do lightbox: fechar e setas */
.lightbox-counter {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.1);
  color: rgba(255, 250, 242, 0.82);
  font-size: 0.82rem;
  font-weight: 800;
}

.lightbox-actions {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  gap: 10px;
}

.lightbox-share {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 250, 242, 0.22);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.08);
  color: var(--white);
  cursor: pointer;
  font-weight: 900;
  transition: background 180ms ease;
}

.lightbox-share:hover,
.lightbox-share:focus-visible {
  background: rgba(255, 250, 242, 0.18);
}

.lightbox-close,
.lightbox-arrow {
  z-index: 2;
  border: 1px solid rgba(255, 250, 242, 0.22);
  background: rgba(255, 250, 242, 0.08);
  color: var(--white);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.lightbox-close {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 900;
}

/* Setas: posicionadas nas laterais, centralizadas verticalmente */
.lightbox-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  transform: translateY(-50%);
}

.lightbox-arrow.previous {
  left: 16px;
}

.lightbox-arrow.next {
  right: 16px;
}

.lightbox-close:hover,
.lightbox-close:focus-visible,
.lightbox-arrow:hover,
.lightbox-arrow:focus-visible {
  background: rgba(255, 250, 242, 0.18);
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  transform: none;
}

.lightbox-arrow:hover,
.lightbox-arrow:focus-visible {
  transform: translateY(-50%) scale(1.06);
}

/* ── Reveal animation ──────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 640ms ease, transform 640ms ease;
}

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

/* ── Keyframes ─────────────────────────────────────── */

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes lightboxIn {
  from {
    opacity: 0;
    transform: scale(0.985);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ── Responsivo ────────────────────────────────────── */

@media (max-width: 1040px) {
  .hero,
  .section-heading,
  .series-grid,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .about-card {
    position: static;
  }

  .gallery-grid {
    column-count: 2;
  }

  .hero-visual {
    min-height: 520px;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 70px;
    padding: 14px 18px;
  }

  .menu-button {
    position: relative;
    z-index: 101;
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    min-height: 100vh;
    height: 100dvh;
    padding: 86px 24px 32px;
    background: var(--paper);
    transform: translateY(-110%);
    transition: transform 260ms ease;
  }

  body.menu-open .site-nav {
    transform: translateY(0);
  }

  .site-nav a {
    min-height: 76px;
    justify-content: flex-start;
    padding: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    color: var(--ink);
    font-family: var(--display);
    font-size: 2.4rem;
    font-weight: 600;
  }

  .site-nav .nav-pill {
    justify-content: center;
    min-height: 58px;
    margin-top: 22px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    font-family: var(--body);
    font-size: 1rem;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5.4rem);
  }

  .hero-actions,
  .gallery-toolbar,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .text-button {
    width: 100%;
  }

  .hero-visual {
    min-height: auto;
  }

  .visual-stack {
    min-height: 420px;
  }

  .visual-main {
    width: 76%;
    height: 68%;
  }

  .visual-side {
    width: 48%;
    height: 46%;
  }

  .visual-low {
    width: 58%;
    height: 34%;
  }

  .hero-statement {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    margin-top: 18px;
    border-radius: 24px;
  }

  .gallery-grid {
    column-count: 1;
  }

  .photo-card {
    border-radius: 22px;
  }

  /* Em mobile, sempre mostra a legenda da foto (sem hover) */
  .photo-card figcaption {
    opacity: 1;
    transform: none;
  }

  .contact-links a {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .lightbox {
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
  }

  .lightbox figure {
    padding: 60px 12px 28px;
  }

  .lightbox img {
    max-height: calc(100dvh - 152px);
  }

  /* Setas ficam na base em mobile para não cobrir a foto */
  .lightbox-arrow {
    top: auto;
    bottom: 68px;
    transform: none;
  }

  .lightbox-arrow:hover,
  .lightbox-arrow:focus-visible {
    transform: scale(1.06);
  }

  .lightbox-actions {
    left: 16px;
    right: 16px;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
