/* ==========================================================================
   Peterson Paiva | Fotógrafo — estilos do site
   ========================================================================== */

:root {
  --bg: #f3f0ea;
  --bg-2: #e7e2d9;
  --ink: #151413;
  --ink-2: #3b3834;
  --muted: #7a746c;
  --line: rgba(21, 20, 19, .14);
  --dark: #0f0e0d;
  --light: #f3f0ea;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(16px, 4vw, 64px);
  --gap: clamp(16px, 2.4vw, 40px);
}

/* ---------- Temas (escolhidos no painel) ---------- */
[data-theme="areia"] {
  --bg: #e8e0d2; --bg-2: #dcd1bf; --ink: #2a241d; --ink-2: #4a4136; --muted: #857a69;
  --line: rgba(42, 36, 29, .16); --dark: #2a241d; --light: #efe8dc;
}
[data-theme="noite"] {
  --bg: #0c0c0b; --bg-2: #1a1918; --ink: #ece7de; --ink-2: #bdb6ab; --muted: #8a847b;
  --line: rgba(236, 231, 222, .14); --dark: #151413; --light: #ece7de;
}
[data-font="cormorant"] { --serif: 'Cormorant Garamond', Georgia, serif; }
[data-font="bodoni"] { --serif: 'Bodoni Moda', Didot, Georgia, serif; }
[data-font="sans"] { --serif: 'Inter Tight', system-ui, sans-serif; }
[data-font="sans"] :is(.h-xl, .h-l, .hero__title, .intro__text, .svc__t, .card__title, .marquee span, .footer__word, .preloader__name, .quote blockquote, .p-intro__lead, .logo b) { font-weight: 300; letter-spacing: -.045em; }
[data-font="sans"] em { font-style: normal; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.wrap { padding-inline: var(--pad); max-width: 1760px; margin-inline: auto; }
.section { padding-block: clamp(88px, 12vw, 180px); }
.eyebrow {
  display: inline-block;
  font-size: .7rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}
.h-xl {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.2rem, 10vw, 10rem);
  line-height: .9;
  letter-spacing: -.025em;
}
.h-l {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.4vw, 6.4rem);
  line-height: .95;
  letter-spacing: -.02em;
}
.h-xl em, .h-l em { color: var(--muted); }
.dark .h-l em, .hero em { color: inherit; opacity: .75; }

.link-line { position: relative; display: inline-block; }
.link-line::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .6s var(--ease);
}
.link-line:hover::after { transform: scaleX(1); transform-origin: left; }

.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 28px;
  border: 1px solid currentColor; border-radius: 999px;
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink); border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: none; }
.dark .btn::before { background: var(--light); }
.dark .btn:hover { color: var(--dark); }
.btn svg { width: 14px; height: 14px; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

/* ---------- Carregamento / transição ---------- */
.no-js .preloader { display: none; }
.preloader {
  position: fixed; inset: 0; z-index: 99;
  background: var(--dark); color: var(--light);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding: var(--pad);
  transition: transform 1.1s var(--ease);
}
.preloader.is-done { transform: translateY(-100%); }
.preloader__name {
  font-family: var(--serif); font-size: clamp(2.8rem, 10vw, 10rem);
  line-height: .85; letter-spacing: -.03em; overflow: hidden;
}
.preloader__name span { display: inline-block; animation: rise 1.1s var(--ease) both; }
.preloader__count { font-size: .75rem; letter-spacing: .24em; font-variant-numeric: tabular-nums; padding-bottom: 1em; }
@keyframes rise { from { transform: translateY(105%); } }

.pt {
  position: fixed; inset: 0; z-index: 95; pointer-events: none;
  background: var(--dark); transform: translateY(100%);
  transition: transform .7s var(--ease);
}
.is-leaving .pt { transform: none; pointer-events: all; }
body { animation: fadein .8s var(--ease) both; }
@keyframes fadein { from { opacity: 0; } }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--pad);
  transition: transform .7s var(--ease), background-color .4s, color .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.has-hero .site-header:not(.is-scrolled) { color: #fff; }
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  padding-block: 14px; border-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.menu-open .site-header { color: var(--light) !important; background: transparent !important; border-color: transparent !important; transform: none !important; }

.logo { display: flex; flex-direction: column; line-height: 1; }
.logo b { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; letter-spacing: -.01em; }
.logo small { font-size: .56rem; letter-spacing: .38em; text-transform: uppercase; margin-top: 5px; opacity: .7; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); font-size: .82rem; letter-spacing: .03em; }
.nav .btn-pill { border: 1px solid currentColor; border-radius: 999px; padding: 8px 18px; transition: background .4s, color .4s; }
.nav .btn-pill:hover { background: currentColor; }
.nav .btn-pill:hover span { color: var(--bg); }
.has-hero .site-header:not(.is-scrolled) .nav .btn-pill:hover span { color: var(--ink); }

.nav__login { display: inline-flex; align-items: center; gap: 6px; opacity: .72; transition: opacity .3s; }
.nav__login:hover { opacity: 1; }
.nav__lock { width: 13px; height: 13px; }
.menu-toggle { display: none; align-items: center; gap: 12px; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; }
.menu-toggle i { position: relative; width: 26px; height: 10px; }
.menu-toggle i::before, .menu-toggle i::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 1px; background: currentColor;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.menu-toggle i::before { top: 0; }
.menu-toggle i::after { top: 9px; }
.menu-open .menu-toggle i::before { top: 5px; transform: rotate(45deg); }
.menu-open .menu-toggle i::after { top: 5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--dark); color: var(--light);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px var(--pad) 32px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .9s var(--ease);
  visibility: hidden;
}
.menu-open .menu { clip-path: inset(0); visibility: visible; }
.menu nav a {
  display: block; font-family: var(--serif);
  font-size: clamp(2.8rem, 12vw, 5.6rem); line-height: 1.04;
  transform: translateY(40px); opacity: 0;
  transition: transform .9s var(--ease), opacity .9s var(--ease);
}
.menu-open .menu nav a { transform: none; opacity: 1; }
.menu nav a:nth-child(2) { transition-delay: .05s; }
.menu nav a:nth-child(3) { transition-delay: .1s; }
.menu nav a:nth-child(4) { transition-delay: .15s; }
.menu nav a:nth-child(5) { transition-delay: .2s; }
.menu nav a:nth-child(6) { transition-delay: .25s; }
.menu nav a sup { font-family: var(--sans); font-size: .7rem; opacity: .5; margin-left: 8px; vertical-align: super; }
.menu__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .82rem; opacity: .7; }

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
}

/* ---------- Revelação ao rolar ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-media { clip-path: inset(14% 0 0 0); transition: clip-path 1.4s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal-media img { transform: scale(1.18); transition: transform 1.8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal-media.in { clip-path: inset(0); }
.js .reveal-media.in img { transform: none; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.3s var(--ease); transition-delay: calc(var(--i) * 55ms + var(--d, 0ms)); }
.js [data-split].in .w > span { transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 580px; overflow: hidden; background: #000; color: #fff; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); transition: transform 8s cubic-bezier(.25, .1, .25, 1); }
.hero__slide.is-active img { transform: scale(1.02); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0) 45%, rgba(0,0,0,.62) 100%);
}
.hero__content {
  position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: clamp(28px, 6vh, 64px);
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px;
}
.hero .eyebrow { color: rgba(255,255,255,.75); margin-bottom: 22px; }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(3.2rem, 9.6vw, 10.5rem); line-height: .88; letter-spacing: -.03em; }
.hero__ui { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; min-width: 220px; font-size: .75rem; letter-spacing: .12em; }
.hero__caption { text-transform: uppercase; opacity: .85; text-align: right; min-height: 1.4em; transition: opacity .5s; }
.hero__bar { width: 100%; height: 1px; background: rgba(255,255,255,.3); overflow: hidden; }
.hero__bar i { display: block; height: 100%; background: #fff; transform-origin: left; animation: bar 6s linear both; }
.hero.is-paused .hero__bar i { animation-play-state: paused; }
@keyframes bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__ctrl { display: flex; align-items: center; justify-content: space-between; width: 100%; font-variant-numeric: tabular-nums; }
.hero__ctrl button { padding: 6px 0; opacity: .8; transition: opacity .3s; letter-spacing: .12em; }
.hero__ctrl button:hover { opacity: 1; }
.hero__scroll {
  position: absolute; z-index: 2; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 1px; height: 56px; background: rgba(255,255,255,.25); overflow: hidden;
}
.hero__scroll::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: #fff; animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(250%); } }
/* Abertura dividida: texto + moldura vertical (ideal para retratos) */
.hero--split {
  height: auto; min-height: 100vh; min-height: 100svh; overflow: visible;
  background: var(--bg); color: var(--ink);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--gap); align-items: end;
  padding: clamp(110px, 15vh, 170px) var(--pad) clamp(28px, 5vh, 56px);
  max-width: 1760px; margin-inline: auto;
}
.hero--split::after { display: none; }
.hero--split .eyebrow { color: var(--muted); margin-bottom: 26px; }
.hero--split .hero__title { font-size: clamp(3.4rem, 8.6vw, 10rem); }
.hero--split .hero__title em { opacity: 1; color: var(--muted); }
.hero__text { padding-bottom: clamp(8px, 4vh, 48px); }
.hero__lead { max-width: 34ch; color: var(--ink-2); margin-top: 30px; font-size: 1.05rem; }
.hero__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 36px; }
.hero__frame { justify-self: end; width: fit-content; max-width: 100%; display: flex; flex-direction: column; gap: 16px; }
.hero--split .hero__slides { position: relative; height: max(420px, calc(100svh - 250px)); aspect-ratio: 4/5; max-width: 100%; overflow: hidden; background: var(--bg-2); }
.hero--split .hero__slide img { object-position: 50% 30%; }
.hero--split .hero__ui { width: 100%; min-width: 0; align-items: stretch; color: var(--ink); gap: 12px; }
.hero--split .hero__caption { text-align: left; opacity: .8; }
.hero--split .hero__bar { background: var(--line); }
.hero--split .hero__bar i { background: var(--ink); }
@media (max-width: 860px) {
  .hero--split { grid-template-columns: 1fr; padding-top: 88px; align-items: start; }
  .hero__frame { order: -1; justify-self: stretch; width: 100%; }
  .hero--split .hero__slides { height: auto; width: 100%; max-height: 72svh; }
}

@media (max-width: 760px) {
  .hero__content { grid-template-columns: 1fr; gap: 28px; }
  .hero__ui { align-items: stretch; min-width: 0; }
  .hero__caption { text-align: left; }
  .hero__scroll { display: none; }
}

/* ---------- Introdução ---------- */
.intro__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.intro__grid .eyebrow { grid-column: 1 / 4; padding-top: .9em; }
.intro__text { grid-column: 4 / 13; font-family: var(--serif); font-size: clamp(1.9rem, 3.7vw, 3.6rem); line-height: 1.1; letter-spacing: -.01em; }
.intro__text em { color: var(--muted); }
.stats { grid-column: 4 / 13; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line); padding-top: 28px; }
.stats b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1; }
.stats span { font-size: .85rem; color: var(--muted); }
@media (max-width: 860px) {
  .intro__grid .eyebrow, .intro__text, .stats { grid-column: 1 / -1; }
  .stats { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Faixa rolante ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: clamp(14px, 2vw, 26px) 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 5.6rem); line-height: 1.1; white-space: nowrap; padding-right: .5em; }
.marquee span i { color: var(--muted); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Portfólio ---------- */
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px 40px; margin-bottom: clamp(44px, 6vw, 88px); }
.sec-head .eyebrow { display: block; margin-bottom: 18px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .88rem; }
.filters button { position: relative; padding: 4px 0; color: var(--muted); transition: color .3s; }
.filters button:hover, .filters button.is-active { color: var(--ink); }
.filters button::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.filters button.is-active::after { transform: scaleX(1); }
.filters sup { font-size: .6rem; margin-left: 3px; }

.grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: clamp(56px, 7vw, 120px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.grid.is-switching { opacity: 0; transform: translateY(16px); }
.card { grid-column: span var(--c, 6); align-self: start; display: block; }
.card.drop { margin-top: clamp(40px, 10vw, 180px); }
.card__media { position: relative; overflow: hidden; aspect-ratio: var(--r, 4/5); background: var(--bg-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1.6s var(--ease), opacity .6s; }
.card:hover .card__media img { transform: scale(1.06); }
.card__meta { display: flex; align-items: baseline; gap: 14px; margin-top: 18px; }
.card__idx { font-size: .7rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.card__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.1vw, 2.1rem); line-height: 1.05; }
.card__cat { margin-left: auto; white-space: nowrap; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .grid:has(.card:hover) .card:not(:hover) { opacity: .42; }
  .card { transition: opacity .6s var(--ease); }
  [data-cursor] { cursor: none; }
}
@media (max-width: 760px) {
  .card { grid-column: 1 / -1 !important; }
  .card.drop { margin-top: 0; }
  .grid[data-grid="editorial"] .card:nth-child(odd) .card__media { aspect-ratio: 4/5 !important; }
}
.card[hidden] { display: none; }
.grid[data-grid="uniforme"] .card { grid-column: span 4; margin-top: 0; }
.grid[data-grid="uniforme"] .card__media { aspect-ratio: 4/5; }
@media (max-width: 960px) { .grid[data-grid="uniforme"] .card { grid-column: span 6; } }
.grid[data-grid="mosaico"] { display: block; columns: 3; column-gap: var(--gap); }
.grid[data-grid="mosaico"] .card { break-inside: avoid; margin: 0 0 clamp(40px, 5vw, 72px); }
@media (max-width: 960px) { .grid[data-grid="mosaico"] { columns: 2; } }
@media (max-width: 560px) { .grid[data-grid="mosaico"] { columns: 1; } }
.portfolio__more { margin-top: clamp(64px, 8vw, 120px); display: flex; justify-content: center; }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 7vw, 140px); align-items: center; }
.about__img { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--bg-2); }
.about__img img { width: 100%; height: 118%; object-fit: cover; position: absolute; top: -9%; left: 0; }
.about__img figcaption { position: absolute; left: 16px; bottom: 14px; color: #fff; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; }
.about__text .h-l { margin: 18px 0 36px; }
.about__text p { max-width: 54ch; color: var(--ink-2); }
.about__text p + p { margin-top: 1.1em; }
.about__sign { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 44px; }
.about__sign span { font-family: var(--serif); font-style: italic; font-size: 2.4rem; line-height: 1; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about__img { max-width: 520px; } }
.about--noimg { grid-template-columns: 1fr; max-width: 900px; }

/* ---------- Serviços (seção escura) ---------- */
.dark { --ink: var(--light); --bg: var(--dark); background: var(--dark); color: var(--light); --line: rgba(243, 240, 234, .16); --muted: #948e86; --ink-2: #c9c3ba; }
.svc-list { border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1fr) 40px; gap: 24px; align-items: center;
  padding: clamp(22px, 3vw, 40px) 0; border-bottom: 1px solid var(--line);
  transition: padding .6s var(--ease), color .5s var(--ease);
}
.svc__n { font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.svc__t { font-family: var(--serif); font-weight: 400; font-size: clamp(2.1rem, 4.6vw, 4.4rem); line-height: 1; letter-spacing: -.015em; }
.svc__d { color: var(--muted); font-size: .95rem; max-width: 46ch; }
.svc__a { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: background .4s, color .4s, transform .6s var(--ease); }
.svc__a svg { width: 14px; height: 14px; }
.svc:hover .svc__a { background: var(--light); color: var(--dark); transform: rotate(-45deg); }
@media (hover: hover) {
  .svc-list:hover .svc:not(:hover) { color: rgba(243, 240, 234, .3); }
  .svc:hover { padding-left: 20px; }
}
@media (max-width: 760px) {
  .svc { grid-template-columns: 36px 1fr; gap: 8px 12px; }
  .svc__d { grid-column: 2; }
  .svc__a { display: none; }
}
.preview {
  position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none;
  width: clamp(220px, 19vw, 320px); aspect-ratio: 3/4; overflow: hidden;
  opacity: 0; transition: opacity .5s var(--ease);
}
.preview.is-on { opacity: 1; }
.preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.1); transition: opacity .5s var(--ease), transform .9s var(--ease); }
.preview img.is-active { opacity: 1; transform: none; }

/* ---------- Processo ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.step { border-top: 1px solid var(--line); padding-top: 24px; }
.step b { display: block; font-family: var(--serif); font-weight: 400; font-size: 3.4rem; line-height: 1; color: var(--muted); margin-bottom: 28px; }
.step h3 { font-weight: 500; font-size: 1.05rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .94rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Depoimentos ---------- */
.quotes { display: grid; text-align: center; }
.quote { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1s var(--ease), visibility 1s; }
.quote.is-active { opacity: 1; visibility: visible; transform: none; }
.quote blockquote { font-family: var(--serif); font-size: clamp(1.9rem, 4.2vw, 4rem); line-height: 1.1; letter-spacing: -.01em; max-width: 24ch; margin: 0 auto; }
.quote blockquote::before { content: "“"; display: block; font-size: 1.6em; line-height: .6; color: var(--muted); margin-bottom: .2em; }
.quote cite { display: block; margin-top: 32px; font-style: normal; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.quotes__label { display: block; text-align: center; margin-bottom: 40px; }
.press-wrap { padding-bottom: clamp(88px, 12vw, 180px); }
.sec-head__note { max-width: 36ch; color: var(--muted); }
.notfound { padding-top: clamp(160px, 22vw, 260px); min-height: 70vh; }
.notfound .h-xl { margin: 20px 0 48px; }
.quote-nav { display: flex; justify-content: center; gap: 10px; margin-top: 48px; }
.quote-nav button { width: 28px; height: 20px; position: relative; }
.quote-nav button::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); transition: background .4s, transform .4s; }
.quote-nav button.is-active::after { background: var(--ink); transform: scaleY(2); }

/* ---------- Prêmios / imprensa ---------- */
.press { display: grid; grid-template-columns: 3fr 9fr; gap: var(--gap); border-top: 1px solid var(--line); padding-top: 32px; }
.press ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px var(--gap); }
.press li b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.1; }
.press li span { font-size: .85rem; color: var(--muted); }
@media (max-width: 860px) { .press { grid-template-columns: 1fr; } .press ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .press ul { grid-template-columns: 1fr; } }

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(48px, 8vw, 160px); }
.contact__info .h-l { margin: 18px 0 40px; }
.contact__list { list-style: none; border-top: 1px solid var(--line); }
.contact__list li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.contact__list li span:first-child { color: var(--muted); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; padding-top: 3px; }
.contact__list a:hover { opacity: .7; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 36px var(--gap); align-content: start; }
.form .full { grid-column: 1 / -1; }
.field label, .field legend { display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  padding: 8px 0 12px; font-size: 1.15rem; outline: none; transition: border-color .4s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: rgba(122, 116, 108, .6); }
fieldset.field { border: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; margin: 0; cursor: pointer; }
.chips input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font-size: .85rem; letter-spacing: 0; text-transform: none; color: var(--ink); transition: background .3s, color .3s, border-color .3s; }
.chips label:hover span { border-color: var(--ink); }
.chips input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 1px solid var(--ink); outline-offset: 3px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.form__foot small { color: var(--muted); font-size: .8rem; max-width: 36ch; }
.form__msg { font-size: .85rem; color: #9b3b2a; min-height: 1.2em; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- Rodapé ---------- */
.footer { padding: clamp(64px, 8vw, 110px) 0 28px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--gap); padding-bottom: clamp(48px, 7vw, 100px); }
.footer__top p { color: var(--muted); max-width: 32ch; }
.footer__top h4 { font-weight: 400; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer__top ul { list-style: none; display: grid; gap: 6px; }
.footer__word { font-family: var(--serif); font-size: clamp(5rem, 24vw, 26rem); line-height: .78; letter-spacing: -.045em; text-align: center; white-space: nowrap; user-select: none; }
.footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); margin-top: 28px; padding-top: 22px; font-size: .78rem; color: var(--muted); }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__top > div:first-child { grid-column: 1 / -1; } }

/* ---------- WhatsApp flutuante ---------- */
.wa {
  position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 50;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--bg); box-shadow: 0 10px 30px rgba(0,0,0,.18), 0 0 0 1px rgba(243,240,234,.18);
  transform: scale(0); transition: transform .6s var(--ease);
}
.wa.is-on { transform: scale(1); }
.wa:hover { transform: scale(1.08); }
.wa svg { width: 24px; height: 24px; }
.menu-open .wa { transform: scale(0); }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none;
  width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%;
  background: var(--light); color: #111;
  display: grid; place-items: center;
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  scale: 0; transition: scale .5s var(--ease);
}
.cursor.is-on { scale: 1; }

/* ---------- Lightbox ---------- */
.lb {
  position: fixed; inset: 0; z-index: 90; background: rgba(12, 11, 10, .97); color: #fff;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
}
.lb.is-open { opacity: 1; visibility: visible; }
.lb__top, .lb__bottom { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--pad); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; }
.lb__top button, .lb__bottom button { padding: 8px 0; opacity: .8; letter-spacing: inherit; text-transform: inherit; }
.lb__top button:hover, .lb__bottom button:hover { opacity: 1; }
.lb__stage { position: relative; display: flex; align-items: center; justify-content: center; padding: 0 var(--pad); min-height: 0; }
.lb__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: opacity .35s, transform .5s var(--ease); }
.lb__stage img.is-loading { opacity: 0; transform: scale(.98); }
.lb__hit { position: absolute; top: 0; bottom: 0; width: 50%; }
.lb__hit--prev { left: 0; cursor: w-resize; }
.lb__hit--next { right: 0; cursor: e-resize; }
.lb-open { overflow: hidden; }

/* ---------- Página de projeto ---------- */
.p-hero { padding-top: clamp(130px, 17vw, 220px); }
.p-back { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted); margin-bottom: clamp(32px, 5vw, 64px); transition: color .3s; }
.p-back:hover { color: var(--ink); }
.p-hero .eyebrow { display: block; margin-bottom: 20px; }
.p-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); padding-top: 22px; }
.p-meta dt { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.p-meta dd { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.8rem); line-height: 1.1; }
@media (max-width: 700px) { .p-meta { grid-template-columns: 1fr 1fr; row-gap: 24px; } }
.p-cover { position: relative; height: clamp(420px, 92vh, 1100px); overflow: hidden; margin-top: clamp(40px, 5vw, 72px); background: var(--bg-2); }
.p-cover img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }
.p-intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.p-intro .eyebrow { grid-column: 1 / 4; padding-top: .8em; }
.p-intro__lead { grid-column: 4 / 11; font-family: var(--serif); font-size: clamp(1.9rem, 3.6vw, 3.4rem); line-height: 1.08; }
.p-intro__text { grid-column: 4 / 10; color: var(--ink-2); margin-top: 28px; font-size: 1.05rem; }
@media (max-width: 860px) { .p-intro .eyebrow, .p-intro__lead, .p-intro__text { grid-column: 1 / -1; } }

.gallery { display: grid; gap: var(--gap); }
.g-row { display: grid; gap: var(--gap); }
.g-row--pair { grid-template-columns: 1fr 1fr; }
.g-row--inset { padding-inline: clamp(0px, 9vw, 200px); }
.g-row--single { width: min(640px, 100%); }
.g-row--single.right { margin-left: auto; }
.g-row--single.center { margin-inline: auto; width: min(760px, 100%); }
.g-item { display: block; width: 100%; overflow: hidden; background: var(--bg-2); cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.g-item:hover img { transform: scale(1.03); }
@media (max-width: 640px) { .g-row--pair { grid-template-columns: 1fr; } .g-row--inset { padding-inline: 0; } }

.p-cta { text-align: center; }
.p-cta .h-l { margin: 20px auto 40px; max-width: 14ch; }

.next { position: relative; display: block; height: clamp(420px, 80vh, 860px); overflow: hidden; color: #fff; background: #000; }
.next img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; transform: scale(1.04); transition: transform 1.8s var(--ease), opacity .8s; }
.next:hover img { transform: scale(1); opacity: .75; }
.next__inner { position: absolute; inset: auto var(--pad) clamp(32px, 6vw, 72px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.next .eyebrow { color: rgba(255,255,255,.75); display: block; margin-bottom: 14px; }

/* ---------- Acessibilidade ---------- */
.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 { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 16px; transition: top .3s; }
.skip:focus { top: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .marquee__track { animation: none; }
}

.footer { border-top: 1px solid var(--line); }
.next .btn::before { background: #fff; }
.next:hover .btn { color: #000; }
.next:hover .btn::before { transform: none; }
