/* DOA Estúdio — Página Fotografia (/artes/fotografia/) */

.doa-foto-page {
  --f-ink: #0c0c0c;
  --f-accent: #8c6144;
  --f-accent-lt: #d6ae8c;
  --f-accent-dk: #6e4a33;
  --f-paper: #f5f1ea;
  --f-line: rgba(255, 255, 255, 0.15);
  --f-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --f-pad: clamp(16px, 4vw, 80px);
  --f-gap: 10px;
  background-color: var(--f-ink);
}

html,
body,
#clapat-page-content,
#content-scroll,
#main {
  background-color: #0c0c0c;
}

.doa-foto-page [hidden] { display: none !important; }

.doa-foto-page #main-content,
.doa-foto-page #main-page-content {
  overflow-x: clip;
}

.doa-foto-page .doa-foto-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--f-accent-lt);
  margin: 0 0 18px;
}

/* ── 1. ABERTURA: FOLHA DE CONTATO ── */
.doa-foto-page #hero.doa-foto-hero {
  background: var(--f-ink);
}

.doa-foto-sheet {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.doa-foto-sheet-grid {
  position: absolute;
  inset: -12% -6%;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--f-gap);
  transform: rotate(-4deg);
  transform-origin: 50% 50%;
}

.doa-foto-col {
  display: flex;
  flex-direction: column;
  gap: var(--f-gap);
  will-change: transform;
}

.doa-foto-col:nth-child(even) { margin-top: 9%; }
.doa-foto-col:nth-child(3n) { margin-top: -6%; }

.doa-foto-tile {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #151515;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 3px;
}

.doa-foto-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.doa-foto-tile figcaption {
  position: absolute;
  left: 8px;
  bottom: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--f-accent-lt);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

.doa-foto-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 52% at 50% 50%, rgba(12, 12, 12, 0.62) 0%, rgba(12, 12, 12, 0) 100%),
    linear-gradient(180deg, rgba(12, 12, 12, 0.55) 0%, rgba(12, 12, 12, 0.12) 34%, rgba(12, 12, 12, 0.38) 70%, #0c0c0c 100%);
}

.doa-foto-page #hero .hero-title {
  font-size: min(37vw, 64svh);
  line-height: 0.9;
  text-shadow: 0 10px 50px rgba(0, 0, 0, 0.55);
}

.doa-foto-page #hero .hero-title span { color: #fff; }

.doa-foto-page #hero .hero-subtitle {
  max-width: 880px;
  color: #fff;
  font-size: clamp(11px, 1.05vw, 14px);
  letter-spacing: 0.26em;
  line-height: 1.9;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.75);
}

.doa-foto-page #hero-footer { z-index: 3; }

@media (max-width: 1000px) {
  .doa-foto-sheet-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); inset: -12% -10%; }
  .doa-foto-col:nth-child(n+5) { display: none; }
}

@media (max-width: 640px) {
  .doa-foto-sheet-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .doa-foto-col { gap: 8px; }
  .doa-foto-col:nth-child(n+4) { display: none; }
  .doa-foto-tile { aspect-ratio: 3 / 4; }
  .doa-foto-page #hero .hero-subtitle { font-size: 10px; letter-spacing: 0.2em; }
}

@media (max-aspect-ratio: 1/1) {
  .doa-foto-page #hero .hero-title { font-size: min(42vw, 46svh); }
}

/* ── APRESENTAÇÃO E NÚMEROS ── */
.doa-foto-intro-inner {
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
  box-sizing: border-box;
}

.doa-foto-lead {
  font-size: clamp(24px, 3.1vw, 46px);
  font-weight: 300;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0;
}

.doa-foto-lead strong { font-weight: 500; color: var(--f-accent-lt); }

.doa-foto-counters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
  max-width: 1280px;
  margin: clamp(56px, 8vw, 120px) auto 0;
  padding: clamp(28px, 3vw, 44px) clamp(20px, 5vw, 60px) 0;
  border-top: 1px solid var(--f-line);
  box-sizing: border-box;
}

.doa-foto-counter-num {
  font-size: clamp(96px, 11vw, 190px);
  line-height: 0.85;
  color: #fff;
}

.doa-foto-counter p {
  max-width: 280px;
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 900px) {
  .doa-foto-counters { grid-template-columns: 1fr; }
  .doa-foto-counter-num { font-size: clamp(96px, 28vw, 150px); }
}

/* ── 2. ÍNDICE DE CIDADES + FILTRO ── */
.doa-foto-cities-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  padding: 0 var(--f-pad) 8px;
}

.doa-foto-cities-head h2 {
  font-size: clamp(76px, 12vw, 200px);
  line-height: 0.86;
}

.doa-foto-filter-wrap { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding-bottom: 14px; }

.doa-foto-filter { display: flex; flex-wrap: wrap; gap: 8px; }

.doa-foto-chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font: 500 12px/1 'Poppins', sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.4s var(--f-ease), border-color 0.4s var(--f-ease), color 0.4s var(--f-ease), transform 0.4s var(--f-ease);
}

.doa-foto-chip b { font-weight: 500; color: var(--f-accent-lt); letter-spacing: 0.08em; transition: color 0.4s var(--f-ease); }
.doa-foto-chip:hover { border-color: #fff; }
.doa-foto-chip:active { transform: scale(0.97); }

.doa-foto-chip[aria-pressed="true"] {
  background: var(--f-accent);
  border-color: var(--f-accent);
  color: #fff;
}

.doa-foto-chip[aria-pressed="true"] b { color: #fff; }

.doa-foto-status {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.doa-foto-cities hr.doa-foto-line,
.doa-foto-reel hr.doa-foto-line,
.doa-foto-faq hr.doa-foto-line,
.doa-foto-region hr.doa-foto-line {
  margin-inline: var(--f-pad);
  width: calc(100% - 2 * var(--f-pad));
}

.doa-foto-cities-sub {
  margin: 22px var(--f-pad) 8px;
  max-width: 460px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
}

.doa-foto-idx {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 110px);
  padding: clamp(18px, 3vw, 40px) var(--f-pad) 0;
  align-items: start;
}

.doa-foto-idx:has(.doa-foto-idx-group[hidden]) { grid-template-columns: minmax(0, 1fr); max-width: 760px; }

.doa-foto-idx-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 6px;
  padding-bottom: 14px;
  font: 500 11px/1.4 'Poppins', sans-serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--f-accent-lt);
  border-bottom: 1px solid var(--f-line);
}

.doa-foto-idx-head small { font-size: 11px; letter-spacing: 0.18em; color: rgba(255, 255, 255, 0.62); }

.doa-foto-idx-list { list-style: none; margin: 0; padding: 0; }
.doa-foto-idx-list li { margin: 0; padding: 0; }

.doa-foto-idx-list a {
  display: grid;
  grid-template-columns: 3.2ch minmax(0, 1fr) auto 26px;
  align-items: baseline;
  gap: 14px;
  padding: 10px 0 8px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid var(--f-line);
  transition: opacity 0.4s var(--f-ease), color 0.4s var(--f-ease);
}

.doa-foto-idx-n { font: 500 11px/1 'Poppins', sans-serif; letter-spacing: 0.2em; color: var(--f-accent-lt); }

.doa-foto-idx-name {
  display: block;
  font-size: clamp(46px, 4.6vw, 76px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  transition: transform 0.6s var(--f-ease), color 0.4s var(--f-ease);
}

.doa-foto-idx-count { font: 500 12px/1 'Poppins', sans-serif; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.75); white-space: nowrap; }

.doa-foto-idx-arrow {
  position: relative;
  align-self: center;
  width: 22px;
  height: 22px;
  justify-self: end;
  opacity: 0.35;
  transform: translateX(-6px);
  transition: transform 0.5s var(--f-ease), opacity 0.4s var(--f-ease);
}

.doa-foto-idx-arrow::before,
.doa-foto-idx-arrow::after { content: ""; position: absolute; background: currentColor; }
.doa-foto-idx-arrow::before { left: 0; right: 1px; top: 50%; height: 1px; }
.doa-foto-idx-arrow::after { right: 1px; top: 50%; width: 9px; height: 9px; background: none; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: translateY(-50%) rotate(45deg); }

.doa-foto-idx-list a:hover,
.doa-foto-idx-list a:focus-visible { color: var(--f-accent-lt); }
.doa-foto-idx-list a:hover .doa-foto-idx-name,
.doa-foto-idx-list a:focus-visible .doa-foto-idx-name { transform: translateX(10px); }
.doa-foto-idx-list a:hover .doa-foto-idx-arrow,
.doa-foto-idx-list a:focus-visible .doa-foto-idx-arrow { opacity: 1; transform: none; }

@media (hover: hover) {
  .doa-foto-idx:hover a { opacity: 0.4; }
  .doa-foto-idx:hover a:hover { opacity: 1; }
}

.doa-foto-page a:focus-visible,
.doa-foto-page button:focus-visible,
.doa-foto-page .accordion dt:focus-visible {
  outline: 2px solid var(--f-accent-lt);
  outline-offset: 4px;
}

.doa-foto-region--light a:focus-visible,
.doa-foto-region--light button:focus-visible { outline-color: var(--f-accent-dk); }

@media (max-width: 900px) {
  .doa-foto-idx { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .doa-foto-idx:has(.doa-foto-idx-group[hidden]) { max-width: none; }
  .doa-foto-idx-name { font-size: clamp(44px, 12vw, 70px); }
}

/* miniatura que segue o cursor */
.doa-foto-peek {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 900;
  width: min(360px, 28vw);
  aspect-ratio: 4 / 3;
  pointer-events: none;
  opacity: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  background: #151515;
  clip-path: inset(0 100% 0 0);
  transition: opacity 0.25s ease, clip-path 0.55s var(--f-ease);
  will-change: transform;
}

.doa-foto-peek.is-on { opacity: 1; clip-path: inset(0 0 0 0); }
.doa-foto-peek span { display: block; width: 100%; height: 100%; background-size: cover; background-position: center; }

@media (hover: none), (max-width: 767px) {
  .doa-foto-peek { display: none; }
  .doa-foto-hint { display: none; }
}

/* ── 4. FAIXAS EM MOVIMENTO ── */
.doa-foto-reel { padding-block: clamp(24px, 4vw, 60px); }

.doa-foto-page .marquee-text-wrapper { position: relative; overflow: hidden; padding-block: 10px; }

.doa-foto-page .marquee-text {
  font-size: clamp(64px, 9vw, 150px);
  line-height: 1;
  letter-spacing: 0.03em;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

.doa-foto-page .marquee-text.doa-foto-outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.55);
}

.doa-foto-page .marquee-text.doa-foto-outline::before { -webkit-text-stroke: 0; }

.doa-foto-page .moving-gallery li {
  display: flex;
  flex-direction: column;
  width: clamp(240px, 26vw, 420px);
}

.doa-foto-strip-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #141414;
}

.doa-foto-page .moving-gallery li img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 0;
}

.doa-foto-page .moving-gallery li img:not([src]) { visibility: hidden; }

.doa-foto-page .moving-gallery-caption {
  position: static;
  padding: 12px 10px 4px;
  opacity: 0.88;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #dcdcdc;
  line-height: 1.4;
}

.doa-foto-page .moving-gallery li:hover .moving-gallery-caption { opacity: 1; color: #fff; }

/* ── 3. REGIÕES E CIDADES ── */
.doa-foto-region-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  align-items: end;
  gap: 18px clamp(24px, 5vw, 80px);
  padding: clamp(90px, 13vw, 210px) var(--f-pad) clamp(26px, 3.4vw, 54px);
}

.doa-foto-region-head .doa-foto-kicker { grid-column: 1 / -1; margin: 0; }

.doa-foto-region-title {
  grid-column: 1;
  margin: 0;
  font-size: clamp(110px, 22vw, 380px);
  line-height: 0.82;
}

.doa-foto-region-note {
  grid-column: 2;
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 767px) {
  .doa-foto-region-head { grid-template-columns: minmax(0, 1fr); }
  .doa-foto-region-note { grid-column: 1; }
}

.doa-foto-region-body { padding: 0 var(--f-pad) clamp(70px, 9vw, 150px); }

.doa-foto-city {
  padding-top: clamp(64px, 8vw, 130px);
  scroll-margin-top: 70px;
}

.doa-foto-city-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "kicker kicker" "title count";
  align-items: end;
  gap: 8px 24px;
  margin-bottom: clamp(18px, 2.4vw, 34px);
  padding-top: 18px;
  border-top: 1px solid var(--f-line);
}

.doa-foto-city-kicker {
  grid-area: kicker;
  margin: 0;
  font: 500 11px/1.4 'Poppins', sans-serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.doa-foto-city-n { color: var(--f-accent-lt); margin-right: 12px; font-variant-numeric: tabular-nums; }

.doa-foto-city-title {
  grid-area: title;
  margin: 0;
  font-size: clamp(76px, 11vw, 190px);
  line-height: 0.86;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  outline: none;
}

.doa-foto-city-count {
  grid-area: count;
  margin: 0 0 8px;
  font: 500 12px/1 'Poppins', sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--f-accent-lt);
  text-align: right;
}

@media (max-width: 560px) {
  .doa-foto-city-head { grid-template-columns: 1fr; grid-template-areas: "kicker" "title" "count"; }
  .doa-foto-city-count { text-align: left; }
}

/* grade justificada em CSS puro (proporção de cada foto vem do HTML) */
.doa-foto-grid {
  --row: clamp(200px, 22vw, 330px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--f-gap);
}

.doa-foto-grid::after { content: ""; flex-grow: 1000000; }

.doa-foto-item {
  position: relative;
  flex: calc(var(--r) * 100) 1 calc(var(--r) * var(--row));
  min-width: 0;
  aspect-ratio: var(--r);
  overflow: hidden;
  border-radius: 6px;
  background: #151515;
  cursor: pointer;
}

.doa-foto-link { position: absolute; inset: 0; display: block; color: #fff; }

.doa-foto-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
  transition: transform 0.9s var(--f-ease), opacity 0.7s ease;
}

.doa-foto-item img:not([src]) { visibility: hidden; }
.doa-foto-item.is-loading img { opacity: 0; }
.doa-foto-item.is-loaded img { opacity: 1; }

.doa-foto-link::after {
  content: attr(data-n) " / " attr(data-of);
  position: absolute;
  left: 12px;
  bottom: 10px;
  padding: 5px 10px;
  font: 500 10px/1 'Poppins', sans-serif;
  letter-spacing: 0.2em;
  color: #fff;
  background: rgba(12, 12, 12, 0.66);
  border-radius: 999px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--f-ease), transform 0.4s var(--f-ease);
  pointer-events: none;
}

.doa-foto-item:hover .doa-foto-link::after,
.doa-foto-link:focus-visible::after { opacity: 1; transform: none; }

@media (hover: hover) {
  .doa-foto-item.is-done:hover img { transform: scale(1.05); }
}

.doa-foto-link:focus-visible { outline-offset: -4px; }

/* esqueleto: o brilho só roda enquanto a foto da vez está baixando */
.doa-foto-item.is-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, #161616 25%, #262626 50%, #161616 75%);
  background-size: 200% 100%;
  animation: doa-foto-shimmer 1.4s linear infinite;
}

@keyframes doa-foto-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Europa: seção clara */
.doa-foto-region--light { color: var(--f-ink); }
.doa-foto-region--light .doa-foto-kicker { color: var(--f-accent-dk); }
.doa-foto-region--light .doa-foto-region-note { color: #3d3d3d; }
.doa-foto-region--light .doa-foto-city-head { border-top-color: rgba(0, 0, 0, 0.14); }
.doa-foto-region--light .doa-foto-city-kicker { color: #4a4a4a; }
.doa-foto-region--light .doa-foto-city-n { color: var(--f-accent-dk); }
.doa-foto-region--light .doa-foto-city-title { color: var(--f-ink); }
.doa-foto-region--light .doa-foto-city-count { color: var(--f-accent-dk); }
.doa-foto-region--light .doa-foto-item { background: #e6dfd3; }
.doa-foto-region--light .doa-foto-item.is-loading::before { background: linear-gradient(90deg, #e6dfd3 25%, #f1ece3 50%, #e6dfd3 75%); background-size: 200% 100%; }

/* revelação: cortina que sobe + foto que assenta (só transform/opacity) */
html.doa-foto-js:not(.doa-foto-static) .doa-foto-item {
  opacity: 0;
  transition: opacity 0.6s ease;
}

html.doa-foto-js:not(.doa-foto-static) .doa-foto-item::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 3;
  pointer-events: none;
  background: #0c0c0c;
  transform-origin: 50% 0;
  transition: transform 1s var(--f-ease);
}

html.doa-foto-js:not(.doa-foto-static) .doa-foto-region--light .doa-foto-item::after { background: var(--f-paper); }

html.doa-foto-js:not(.doa-foto-static) .doa-foto-item > .doa-foto-link { transform: translateY(5%) scale(1.08); transition: transform 1.3s var(--f-ease); }

html.doa-foto-js:not(.doa-foto-static) .doa-foto-item.is-in { opacity: 1; }
html.doa-foto-js:not(.doa-foto-static) .doa-foto-item.is-in::after { transform: scaleY(0); }
html.doa-foto-js:not(.doa-foto-static) .doa-foto-item.is-in > .doa-foto-link { transform: none; }
html.doa-foto-js:not(.doa-foto-static) .doa-foto-item.is-done::after { display: none; }

html.doa-foto-js:not(.doa-foto-static) .doa-foto-city-head > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 1s var(--f-ease);
}

html.doa-foto-js:not(.doa-foto-static) .doa-foto-city-head.is-in > * { opacity: 1; transform: none; }
html.doa-foto-js:not(.doa-foto-static) .doa-foto-city-head.is-in > .doa-foto-city-title { transition-delay: 0.08s; }
html.doa-foto-js:not(.doa-foto-static) .doa-foto-city-head.is-in > .doa-foto-city-count { transition-delay: 0.18s; }

/* troca de filtro */
html.doa-foto-switching .doa-foto-region { opacity: 0; }
.doa-foto-region { transition: opacity 0.3s ease; }

/* ── INDICADOR FIXO E RÉGUA DE CIDADES ── */
.doa-foto-now {
  position: fixed;
  left: clamp(14px, 2vw, 28px);
  bottom: clamp(14px, 2vw, 26px);
  z-index: 960;
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100vw - 28px);
  padding: 5px 5px 5px 18px;
  background: rgba(12, 12, 12, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.5s var(--f-ease), transform 0.6s var(--f-ease);
}

.doa-foto-now.is-on { opacity: 1; transform: none; pointer-events: auto; }

.doa-foto-now-city {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
  color: #fff;
  text-decoration: none;
}

.doa-foto-now-label { font: 500 9px/1 'Poppins', sans-serif; letter-spacing: 0.26em; text-transform: uppercase; color: var(--f-accent-lt); }
.doa-foto-now-name { font-size: 30px; line-height: 1; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 38vw; }
.doa-foto-now-idx { font: 500 11px/1 'Poppins', sans-serif; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.78); font-variant-numeric: tabular-nums; white-space: nowrap; }

.doa-foto-now-top {
  appearance: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-left: 6px;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.4s var(--f-ease), transform 0.4s var(--f-ease);
}

.doa-foto-now-top:hover { background: var(--f-accent); }
.doa-foto-now-top:active { transform: scale(0.94); }

@media (max-width: 520px) {
  .doa-foto-now-label { display: none; }
  .doa-foto-now-name { font-size: 26px; max-width: 46vw; }
}

.doa-foto-ticks {
  position: fixed;
  right: clamp(10px, 1.4vw, 22px);
  top: 50%;
  z-index: 955;
  transform: translate(14px, -50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--f-ease), transform 0.6s var(--f-ease);
}

.doa-foto-ticks.is-on { opacity: 1; transform: translate(0, -50%); pointer-events: auto; }

.doa-foto-ticks ol {
  list-style: none;
  margin: 0;
  padding: 10px 8px;
  background: rgba(12, 12, 12, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.doa-foto-ticks li { margin: 0; padding: 0; }
.doa-foto-ticks li:nth-child(20) { margin-top: 9px; }

.doa-foto-ticks a {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 10px;
  width: 26px;
}

.doa-foto-ticks a::before {
  content: "";
  display: block;
  width: 10px;
  height: 2px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 2px;
  transition: width 0.4s var(--f-ease), background-color 0.4s var(--f-ease);
}

.doa-foto-ticks a:hover::before { width: 18px; background: #fff; }
.doa-foto-ticks a.is-active::before { width: 22px; background: var(--f-accent-lt); }

.doa-foto-ticks a span {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  padding: 7px 14px;
  font: 500 11px/1 'Poppins', sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
  background: #0c0c0c;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  opacity: 0;
  transform: translate(8px, -50%);
  pointer-events: none;
  transition: opacity 0.3s var(--f-ease), transform 0.4s var(--f-ease);
}

.doa-foto-ticks a:hover span,
.doa-foto-ticks a.is-active span { opacity: 1; transform: translate(0, -50%); }

@media (max-width: 1099px), (hover: none) {
  .doa-foto-ticks { display: none; }
}

/* ── LIGHTBOX ── */
.doa-foto-lb {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(56px, 8vh, 90px) clamp(14px, 6vw, 110px) clamp(70px, 11vh, 120px);
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.doa-foto-lb.is-open { opacity: 1; }
.doa-foto-lb-bg { position: absolute; inset: 0; background: rgba(8, 8, 8, 0.95); }

.doa-foto-lb-fig { position: relative; margin: 0; display: block; max-width: 100%; }

.doa-foto-lb-stage { position: relative; display: block; }

.doa-foto-lb-img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  transform-origin: 0 0;
  transition: opacity 0.3s ease;
}

.doa-foto-lb-img.is-swapping { opacity: 0; }

.doa-foto-lb-spin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--f-accent-lt);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  animation: doa-foto-spin 0.9s linear infinite;
  transition: opacity 0.2s ease;
}

.doa-foto-lb.is-loading .doa-foto-lb-spin { opacity: 1; }
@keyframes doa-foto-spin { to { transform: rotate(360deg); } }

.doa-foto-lb-cap {
  position: static;
  inset: auto;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 4px 18px;
  width: 100%;
  margin-top: 16px;
  color: #fff;
}

.doa-foto-lb-city { font-size: 40px; line-height: 1; letter-spacing: 0.04em; text-transform: uppercase; }
.doa-foto-lb-count { font: 500 11px/1 'Poppins', sans-serif; letter-spacing: 0.22em; text-transform: uppercase; color: var(--f-accent-lt); justify-self: end; }
.doa-foto-lb-alt { grid-column: 1 / -1; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, 0.7); }

.doa-foto-lb-btn {
  appearance: none;
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.4s var(--f-ease), border-color 0.4s var(--f-ease), transform 0.4s var(--f-ease);
}

.doa-foto-lb-btn:hover { background: var(--f-accent); border-color: var(--f-accent); }
.doa-foto-lb-btn:active { transform: scale(0.94); }
.doa-foto-lb-close { top: clamp(12px, 3vh, 28px); right: clamp(12px, 3vw, 32px); }
.doa-foto-lb-prev { left: clamp(8px, 2vw, 28px); top: 50%; margin-top: -26px; }
.doa-foto-lb-next { right: clamp(8px, 2vw, 28px); top: 50%; margin-top: -26px; }

.doa-foto-lb :focus-visible { outline: 2px solid var(--f-accent-lt); outline-offset: 4px; }

@media (max-width: 700px) {
  .doa-foto-lb { padding-inline: 10px; }
  .doa-foto-lb-prev, .doa-foto-lb-next { top: auto; bottom: 18px; margin-top: 0; width: 46px; height: 46px; }
  .doa-foto-lb-prev { left: 14px; }
  .doa-foto-lb-next { right: 14px; }
  .doa-foto-lb-city { font-size: 34px; }
}

/* ── PERGUNTAS ── */
.doa-foto-faq { max-width: 1160px; margin-inline: auto; }
.doa-foto-faq h2 { font-size: clamp(64px, 9vw, 150px); line-height: 0.9; }
.doa-foto-faq .accordion dt span > div { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.4; }
.doa-foto-faq .accordion .accordion-content { color: rgba(255, 255, 255, 0.78); font-size: 15px; line-height: 1.8; }

/* ── Grão: camada fixa, leve e sem eventos ── */
.doa-foto-page::after {
  content: "";
  position: fixed;
  inset: -10%;
  z-index: 950;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.4 -0.2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
  animation: doa-foto-grain 0.9s steps(1, end) infinite;
}

@keyframes doa-foto-grain {
  0% { transform: translate3d(0, 0, 0); }
  20% { transform: translate3d(-3%, 2%, 0); }
  40% { transform: translate3d(2%, -3%, 0); }
  60% { transform: translate3d(-2%, -1%, 0); }
  80% { transform: translate3d(3%, 3%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* ── Movimento reduzido: desliga todos os efeitos próprios ── */
@media (prefers-reduced-motion: reduce) {
  .doa-foto-page::after { animation: none; opacity: 0.03; }
  .doa-foto-item,
  .doa-foto-item > .doa-foto-link,
  .doa-foto-city-head > *,
  .doa-foto-item img,
  .doa-foto-now,
  .doa-foto-ticks,
  .doa-foto-peek,
  .doa-foto-lb,
  .doa-foto-lb-img,
  .doa-foto-region { transition: none !important; animation: none !important; }
  html.doa-foto-js .doa-foto-item,
  html.doa-foto-js .doa-foto-city-head > * { opacity: 1 !important; transform: none !important; }
  html.doa-foto-js .doa-foto-item::after { display: none !important; }
  html.doa-foto-js .doa-foto-item > .doa-foto-link { transform: none !important; }
  .doa-foto-item.is-loading::before { animation: none; }
  .doa-foto-sheet-grid { transform: none; }
  .doa-foto-col { transform: none !important; }
  .doa-foto-page .moving-gallery { display: none; }
  .doa-foto-item.is-done:hover img { transform: none; }
  .doa-foto-page .has-mask-fill > span { -webkit-text-fill-color: currentColor; background: none; }
}

/* ── Alternativa estática quando as bibliotecas falham ── */
.runtime-fallback.doa-foto-page::after { display: none !important; }
.runtime-fallback.doa-foto-page #header-container,
.runtime-fallback.doa-foto-page #main,
.runtime-fallback.doa-foto-page #main-page-content,
.runtime-fallback.doa-foto-page #page-nav,
.runtime-fallback.doa-foto-page .page-nav-caption,
.runtime-fallback.doa-foto-page .hero-title span,
.runtime-fallback.doa-foto-page .hero-subtitle span,
.runtime-fallback.doa-foto-page .next-hero-title span,
.runtime-fallback.doa-foto-page .next-hero-subtitle span,
.runtime-fallback.doa-foto-page #hero-footer .hero-footer-left,
.runtime-fallback.doa-foto-page #hero-footer .hero-footer-right {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
.runtime-fallback.doa-foto-page .has-mask-fill > span { -webkit-text-fill-color: currentColor; background: none; }
.runtime-fallback.doa-foto-page .doa-foto-item,
.runtime-fallback.doa-foto-page .doa-foto-city-head > * { opacity: 1 !important; transform: none !important; }
.runtime-fallback.doa-foto-page .doa-foto-item::after { display: none !important; }
.runtime-fallback.doa-foto-page .doa-foto-item > .doa-foto-link { transform: none !important; }
.runtime-fallback.doa-foto-page .moving-gallery { display: none; }
.runtime-fallback.doa-foto-page dd.accordion-content { display: block !important; }
.runtime-fallback.doa-foto-page .doa-foto-region--light { background: var(--f-paper); }
.runtime-fallback.doa-foto-page .doa-foto-col { transform: none !important; }
.runtime-fallback.doa-foto-page .marquee-text-wrapper { white-space: normal; }


/* ══ Split-flap: quadro de partidas das cidades e pílula "em vista" ══════════════ */
.sf-row {
  display: flex;
  align-items: center;
  gap: 2px;
  font: 600 var(--sf-fs, 20px)/1 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0;
  white-space: nowrap;
}

.sf-cell {
  position: relative;
  flex: none;
  width: 0.74em;
  height: 1.32em;
  perspective: 420px;
  color: #f3efe8;
  font-variant-numeric: tabular-nums;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
  transition: color 0.4s var(--f-ease);
}

.sf-cell::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #000;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
  z-index: 5;
  pointer-events: none;
}

.sf-half {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  overflow: hidden;
  backface-visibility: hidden;
}

.sf-half i {
  position: absolute;
  left: 0;
  right: 0;
  height: 200%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
}

.sf-top,
.sf-ft { top: 0; border-radius: 3px 3px 0 0; transform-origin: 50% 100%; background: linear-gradient(#272727, #1b1b1b); }
.sf-bot,
.sf-fb { bottom: 0; border-radius: 0 0 3px 3px; transform-origin: 50% 0; background: linear-gradient(#151515, #1d1d1d); }
.sf-top i,
.sf-ft i { top: 0; }
.sf-bot i,
.sf-fb i { top: -100%; }
.sf-ft,
.sf-fb { z-index: 3; visibility: hidden; }

/* Painel de cada região */
.doa-foto-idx.is-board .doa-foto-idx-group {
  padding: clamp(16px, 2vw, 26px) clamp(14px, 2vw, 28px) 10px;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 24px 60px rgba(0, 0, 0, 0.45);
}

.doa-foto-idx-cols {
  display: grid;
  grid-template-columns: 3.2ch minmax(0, 1fr) auto 26px;
  gap: 14px;
  padding: 12px 0 8px;
  font: 500 9px/1 'Poppins', sans-serif;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid var(--f-line);
}

.doa-foto-idx.is-board .doa-foto-idx-list a { align-items: center; padding: 11px 0 10px; }

.doa-foto-idx.is-board .doa-foto-idx-name {
  container-type: inline-size;
  font-size: 0;
  line-height: 1;
}

.doa-foto-idx.is-board .doa-foto-idx-name .sf-row {
  --sf-fs: min(clamp(15px, 1.9vw, 26px), calc(100cqw / (var(--sf-n, 10) * 0.98)));
}

.doa-foto-idx.is-board .doa-foto-idx-count .sf-row { --sf-fs: 14px; }
.doa-foto-idx.is-board .doa-foto-idx-count { display: inline-flex; align-items: center; gap: 0; }

.doa-foto-idx-list a:hover .sf-cell,
.doa-foto-idx-list a:focus-visible .sf-cell { color: var(--f-accent-lt); }

/* Pílula "em vista" */
.doa-foto-now-name { font-size: 0; line-height: 1; max-width: none; overflow: visible; }
.doa-foto-now-name .sf-row { --sf-fs: min(15px, calc(40vw / (var(--sf-n, 10) * 0.86))); }
.doa-foto-now-idx { font-size: 0; }
.doa-foto-now-idx .sf-row { --sf-fs: 11px; }
.doa-foto-now-city { align-items: center; }

@media (max-width: 900px) {
  .doa-foto-idx.is-board .doa-foto-idx-name { font-size: 0; }
}

/* Pills alinhadas: as três ocupam a mesma largura e ficam alinhadas entre si */
.doa-foto-filter-wrap { align-items: stretch; min-width: min(100%, 420px); }
.doa-foto-filter { width: 100%; align-items: stretch; }
.doa-foto-chip { flex: 1 1 0; justify-content: center; text-align: center; }
