/* Nicole Edelstein — design · fotografia · arte
   Layout: logo centralizada como assinatura, faixas de cor inteira que alternam
   papel creme e chocolate, e fotos em retângulo, no formato de cada imagem. */
:root {
  --cream: #fdf5ec;      /* papel do portfólio */
  --paper: #f6e8d8;      /* papel um tom abaixo, para faixas alternadas */
  --ink: #3f1516;        /* vinho do monograma e da assinatura */
  --cocoa: #442615;      /* chocolate das obras autorais */
  --text: #4f3624;       /* texto corrido */
  --muted: #8b7262;      /* legendas */
  --amber: #c98a3b;      /* o laranja das telas, só em detalhes */
  --line: rgba(63, 21, 22, .16);
  --on-dark: #fdf5ec;
  --on-dark-muted: #d9bfa5;

  --display: "EB Garamond", Garamond, "Times New Roman", serif;
  --body: "Jost", "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;

  --step--1: .8125rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem);
  --step-3: clamp(2.2rem, 1.5rem + 3vw, 3.4rem);
  --step-4: clamp(2.8rem, 1.6rem + 5vw, 5.2rem);

  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --wrap: 1180px;
  --arch: 0;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--body);
  font-weight: 300;
  font-size: var(--step-0);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--ink); color: var(--cream); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -.005em;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { margin: 0; text-wrap: pretty; }
em, .serif-i { font-family: var(--display); font-style: italic; font-weight: 400; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  font-family: var(--body);
  font-size: var(--step--1);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--muted);
}
.eyebrow::after { content: ""; width: 56px; height: 1px; background: currentColor; opacity: .5; }
.eyebrow.plain::after { display: none; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 64px);
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}
@media (min-width: 720px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}
.band { padding-block: clamp(4rem, 3rem + 5vw, 7.5rem); }
.band.tight { padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }
.band.paper { background: var(--paper); }
.band.dark { background: var(--cocoa); color: var(--on-dark-muted); }
.band.dark h2, .band.dark h3, .band.dark h4 { color: var(--on-dark); }
.band.dark .eyebrow { color: var(--amber); }
.band.wine { background: var(--ink); color: var(--on-dark-muted); }
.band.wine h2, .band.wine h3 { color: var(--on-dark); }

.lede { font-family: var(--display); font-style: italic; font-weight: 400; font-size: var(--step-1); line-height: 1.5; color: var(--ink); max-width: 38ch; }
.band.dark .lede { color: var(--on-dark); }
.prose { max-width: 62ch; display: grid; gap: 1.1rem; }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head.split { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 860px) { .section-head.split { grid-template-columns: 1fr auto; gap: 2rem; } }

.hero .wrap > *, .about > *, .collection > *, .case-hero > *, .contact-grid > *, .section-head > *, .art-grid > *, .project-grid > * { min-width: 0; }

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 48px;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  font: 500 var(--step--1)/1 var(--body);
  text-transform: uppercase;
  letter-spacing: .16em;
  text-decoration: none;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--cream); }
.band.dark .btn, .band.wine .btn { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.band.dark .btn:hover, .band.wine .btn:hover { background: transparent; color: var(--cream); }
.band.dark .btn.ghost, .band.wine .btn.ghost { background: transparent; color: var(--cream); }
.band.dark .btn.ghost:hover, .band.wine .btn.ghost:hover { background: var(--cream); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.link-arrow {
  font: 500 var(--step--1)/1.4 var(--body);
  text-transform: uppercase;
  letter-spacing: .16em;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: .25rem;
  color: var(--ink);
  white-space: nowrap;
}
.band.dark .link-arrow { color: var(--on-dark); }

/* Cabeçalho: assinatura no centro, como a marca no modelo */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--cream);
}
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-block: .7rem .1rem;
}
.brand { display: block; justify-self: center; }
.brand img { width: clamp(62px, 2.5vw + 48px, 84px); height: auto; transition: width .3s ease; }
.site-header.scrolled .brand img { width: clamp(52px, 1.5vw + 44px, 64px); }
.header-cta { justify-self: end; display: none; }
.menu-toggle {
  justify-self: start;
  display: inline-flex; align-items: center; gap: .55rem;
  background: none; border: 0; padding: .6rem 0; cursor: pointer;
  font: 500 var(--step--1)/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
}
.menu-toggle span { display: grid; gap: 5px; }
.menu-toggle span i { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform .25s ease, opacity .25s; }
.menu-open .menu-toggle span i:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-open .menu-toggle span i:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: .2rem 2.2rem; }
.nav a {
  display: inline-block; padding: .7rem 0;
  font: 400 var(--step--1)/1 var(--body); letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; position: relative;
}
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .35rem; height: 1px; background: var(--ink); transform: scaleX(0); transition: transform .3s ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-open .nav { display: block; padding-block: .5rem 1.2rem; }
.menu-open .nav ul { flex-direction: column; align-items: center; gap: 0; }
@media (min-width: 900px) {
  .menu-toggle { visibility: hidden; }
  .header-cta { display: inline-flex; }
  .header-cta .btn { min-height: 40px; padding: .6rem 1.2rem; }
  .nav, .menu-open .nav { display: block; padding-block: 0 .1rem; }
  .menu-open .nav ul { flex-direction: row; }
}

/* Abertura */
.hero { position: relative; overflow: hidden; }
.hero .wrap {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 2rem + 4vw, 5.5rem);
}
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.1fr .9fr; } }
.hero-copy { position: relative; display: grid; gap: 1.6rem; justify-items: start; }
.hero h1 { font-weight: 400; text-transform: uppercase; letter-spacing: .02em; line-height: .95; }
.hero h1 small { display: block; font-size: .42em; letter-spacing: .04em; text-transform: none; font-style: italic; margin-top: .5rem; color: var(--text); }
.hero-copy p.intro { max-width: 44ch; font-size: 1.06rem; }
.hero-media { position: relative; justify-self: center; width: min(100%, 420px); }
.arch {
  border-radius: var(--arch);
  overflow: hidden;
  background: var(--paper);
  aspect-ratio: 9 / 14;
  max-width: 100%;
  box-shadow: 0 30px 60px -30px rgba(63, 21, 22, .45);
}
.arch video, .arch img { width: 100%; height: 100%; object-fit: cover; }
.video-toggle {
  position: absolute; right: 14px; bottom: 14px;
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(253, 245, 236, .85); color: var(--ink);
  display: grid; place-items: center;
}
.video-toggle svg { width: 16px; height: 16px; fill: currentColor; }

/* Abertura em tela cheia: o vídeo do processo ao fundo, o nome por cima */
.hero-video {
  display: grid; align-items: end;
  min-height: clamp(540px, 88svh, 880px);
  background: var(--cocoa);
  color: var(--on-dark);
  isolation: isolate;
}
.hero-video .hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 50% 28%;
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  /* película cinza uniforme sobre o vídeo inteiro, mais um reforço do lado do texto */
  background:
    linear-gradient(90deg, rgba(24, 20, 18, .45) 0%, rgba(24, 20, 18, .2) 45%, rgba(24, 20, 18, 0) 75%),
    rgba(34, 30, 28, .5);
  -webkit-backdrop-filter: saturate(.85);
  backdrop-filter: saturate(.85);
}
.hero-video .wrap { grid-template-columns: 1fr; padding-block: clamp(5rem, 4rem + 6vw, 9rem) clamp(3rem, 2rem + 4vw, 5.5rem); }
.hero-video .hero-copy { max-width: 640px; }
.hero-video .eyebrow { color: var(--on-dark-muted); }
.hero-video h1 { color: var(--on-dark); text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero-video h1 small { color: var(--on-dark); }
.hero-video .intro { color: var(--on-dark); opacity: .92; }
.hero-video .btn { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.hero-video .btn:hover { background: transparent; color: var(--cream); }
.hero-video .btn.ghost { background: transparent; color: var(--cream); }
.hero-video .btn.ghost:hover { background: var(--cream); color: var(--ink); }
.hero-video .video-toggle {
  right: max(16px, env(safe-area-inset-right, 0px)); bottom: 18px; z-index: 2;
}
@media (min-width: 720px) { .hero-video .video-toggle { right: max(32px, env(safe-area-inset-right, 0px)); bottom: 28px; } }
@media (max-width: 719px) {
  .hero-video { min-height: clamp(560px, 92svh, 820px); }
  .hero-shade { background: linear-gradient(0deg, rgba(24, 20, 18, .5) 0%, rgba(24, 20, 18, .15) 60%, rgba(24, 20, 18, 0) 100%), rgba(34, 30, 28, .55); }
  .hero-video .hero-bg { object-position: 50% 20%; }
}

/* Faixa que corre: o equivalente do "minha arte em 3 palavras" */
.marquee { background: var(--ink); color: var(--cream); overflow: hidden; padding-block: 1.1rem; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span {
  font-family: var(--display); font-style: italic; font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem);
  padding-right: 2.2rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 2.2rem;
}
.marquee-track span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Obras */
.art-grid { display: grid; gap: clamp(1rem, .6rem + 2vw, 2.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.art-card { display: grid; gap: 1rem; width: 100%; min-width: 0; text-decoration: none; color: inherit; cursor: zoom-in; background: none; border: 0; padding: 0; text-align: left; font: inherit; }
.art-card .frame {
  /* a obra fotografada na parede bege preenche o retângulo inteiro */
  aspect-ratio: 3 / 4; display: block; overflow: hidden; min-width: 0; max-width: 100%;
  background: #ece4d8;
}
.art-card .frame img { width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.art-card:hover .frame img { transform: scale(1.03); }
.art-card .t { font-family: var(--display); font-size: 1.4rem; font-style: italic; font-weight: 400; line-height: 1.2; color: var(--ink); }
.band.dark .art-card .t { color: var(--on-dark); }
.art-card .meta { font-size: var(--step--1); letter-spacing: .04em; }
.art-card .status { font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--amber); }

/* Projetos */
.project-grid { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3rem) clamp(1.5rem, 1rem + 2vw, 2.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
@media (min-width: 900px) { .project-grid.two { grid-template-columns: 1fr 1fr; } }
.project-card { display: grid; gap: 1rem; text-decoration: none; color: inherit; align-content: start; }
.project-card .cover { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.project-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.project-card:hover .cover img { transform: scale(1.04); }
.project-card .tags { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.project-card h3 { font-size: clamp(1.7rem, 1.3rem + 1vw, 2.2rem); }
.project-card .where { font-size: var(--step--1); color: var(--muted); }
.project-card[hidden] { display: none; }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.filters button {
  min-height: 40px; padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--ink); cursor: pointer;
  font: 500 .72rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase;
}
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* Sobre */
.about { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: .9fr 1.1fr; } }
.polaroids { position: relative; width: min(100%, 440px); justify-self: center; padding-bottom: 16%; }
.polaroids .main { width: 82%; margin-left: 12%; filter: drop-shadow(0 22px 26px rgba(63, 21, 22, .22)); transform: rotate(1.5deg); }
.polaroids .small { position: absolute; width: 38%; left: 0; bottom: 0; filter: drop-shadow(0 14px 18px rgba(63, 21, 22, .25)); transform: rotate(-5deg); }
.about-copy { display: grid; gap: 1.4rem; justify-items: start; }

/* Serviços */
.services { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.service { --pad: clamp(1rem, 2vw, 1.8rem); padding-block: 2rem 2.2rem; border-bottom: 1px solid var(--line); display: grid; gap: .9rem; align-content: start; min-width: 0; }
/* 2 colunas no tablet e 4 no computador: cada linha fecha inteira, sem quadro sobrando */
@media (min-width: 560px) and (max-width: 999px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .service:nth-child(2n+1) { padding-right: var(--pad); }
  .service:nth-child(2n) { padding-left: var(--pad); border-left: 1px solid var(--line); }
}
@media (min-width: 1000px) {
  .services { grid-template-columns: repeat(4, 1fr); }
  .service { padding-inline: var(--pad); }
  .service:nth-child(4n+1) { padding-left: 0; }
  .service:nth-child(4n) { padding-right: 0; }
  .service:not(:nth-child(4n+1)) { border-left: 1px solid var(--line); }
}
.service .num { font-family: var(--display); font-style: italic; font-size: 1.1rem; color: var(--amber); }
.service h3 { font-family: var(--body); font-size: .95rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.service ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .95rem; }
.service p { font-size: .95rem; }

/* Do ateliê até você */
.steps { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 2.5rem) clamp(1rem, .6rem + 2vw, 2.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); counter-reset: step; }
.step { display: grid; gap: 1rem; align-content: start; }
.step p { font-size: .95rem; }
@media (max-width: 520px) { .step h3 { flex-direction: column; gap: .2rem; } }
.step figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--arch); background: var(--paper); max-width: 100%; }
.step figure img { width: 100%; height: 100%; object-fit: cover; }
.step h3 { font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); display: flex; gap: .7rem; align-items: baseline; }
.step h3::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-size: 1rem; font-style: italic; color: var(--amber); }
.band.dark .step figure { background: rgba(253, 245, 236, .06); }

/* Convite final */
.cta-final { text-align: center; display: grid; gap: 1.5rem; justify-items: center; }
.cta-final img.mono { width: 92px; }
.cta-final h2 { font-size: var(--step-4); }
.contact-lines { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2rem; font-size: 1.05rem; }
.contact-lines a { text-decoration: none; border-bottom: 1px solid var(--line); }

/* Rodapé */
.site-footer { background: var(--cocoa); color: var(--on-dark-muted); padding-block: 4rem 2rem; }
.site-footer .cols { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); align-items: start; }
.site-footer .sig { width: 96px; }
.site-footer h4 { font-family: var(--body); font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer .legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(253, 245, 236, .15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: var(--step--1); }
.site-footer .legal em { color: var(--on-dark); }

/* Cabeçalho de página interna */
.page-head { padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.page-head .wrap { display: grid; gap: 1.2rem; justify-items: start; }
.page-head p { max-width: 58ch; font-size: 1.06rem; }

/* Estudo de caso */
.case-hero { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
@media (min-width: 900px) { .case-hero { grid-template-columns: 1fr 1fr; } }
.case-hero .info { display: grid; gap: 1.6rem; align-content: start; }
.case-hero .info dl { display: grid; grid-template-columns: auto 1fr; gap: .6rem 1.5rem; margin: 0; font-size: .95rem; }
.case-hero .info dt { font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding-top: .25rem; }
.case-hero .info dd { margin: 0; }
.case-hero .lead-img img { width: 100%; }
.case-gallery { display: grid; gap: clamp(.8rem, .5rem + 1vw, 1.4rem); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .case-gallery { grid-template-columns: repeat(3, 1fr); } }
.case-gallery figure { margin: 0; overflow: hidden; background: var(--paper); }
.case-gallery figure.wide { grid-column: span 2; }
.case-gallery figure.tall { grid-row: span 2; }
.case-gallery button, figure > button[data-zoom] { all: unset; cursor: zoom-in; display: block; width: 100%; height: 100%; }
.case-gallery button:focus-visible, figure > button[data-zoom]:focus-visible { outline: 2px solid var(--amber); outline-offset: -2px; }
.case-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.case-gallery button:hover img { transform: scale(1.03); }
.phones { display: flex; gap: clamp(.9rem, 4vw, 3.5rem); justify-content: center; align-items: flex-start; }
/* iPhone desenhado em CSS. Todas as medidas seguem a largura do aparelho (cqw),
   então ele fica igual em qualquer tamanho. Tela em proporção próxima de 1:2,17. */
.phone { container-type: inline-size; width: clamp(92px, 23vw, 220px); max-width: 100%; }
.phone .frame {
  all: unset; display: block; box-sizing: border-box; position: relative; cursor: zoom-in;
  padding: 2.5cqw; border-radius: 16.5cqw;
  border: 1.15cqw solid transparent;
  background:
    linear-gradient(#0a0a0b, #0a0a0b) padding-box,
    linear-gradient(140deg, #e4e0da 0%, #8b8781 22%, #d6d1ca 46%, #6c6964 70%, #c9c4bc 100%) border-box;
  box-shadow:
    inset 0 0 0 .3cqw #26262a,
    0 1px 2px rgba(40, 22, 12, .18),
    0 18px 30px -16px rgba(40, 22, 12, .35),
    0 50px 80px -36px rgba(40, 22, 12, .45);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s ease;
}
.phone .frame:hover { transform: translateY(-6px); }
.phone .frame:focus-visible { outline: 2px solid var(--amber); outline-offset: 6px; }
/* botões laterais: liga/desliga à direita; ação e volume à esquerda */
.phone .frame::before, .phone .frame::after {
  content: ""; position: absolute; width: .9cqw; border-radius: .6cqw;
  background: linear-gradient(90deg, #6f6b66, #c8c3bb);
}
.phone .frame::before { right: -2.2cqw; top: 33%; height: 20cqw; }
.phone .frame::after {
  left: -2.2cqw; top: 22%; height: 7cqw;
  box-shadow: 0 13cqw 0 0 #a39e97, 0 26cqw 0 0 #a39e97;
}
.phone .screen { position: relative; display: block; overflow: hidden; border-radius: 13.4cqw; background: #fff; }
.phone .screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(118deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 34%);
}
.phone .status {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  height: 11.5cqw; padding-inline: 8.6cqw 7cqw;
  font: 600 4cqw/1 -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; letter-spacing: -.01em; color: #0d0d0d;
}
.phone .island {
  position: absolute; left: 50%; top: 2.3cqw; transform: translateX(-50%);
  width: 27cqw; height: 7.8cqw; border-radius: 5cqw;
  background: radial-gradient(circle at 80% 50%, #1c2436 0 1.1cqw, #0b0d12 1.2cqw 1.6cqw, transparent 1.7cqw), #000;
}
.phone .icons { display: flex; align-items: center; gap: 1.3cqw; }
.phone .bars {
  width: 5.2cqw; height: 3.2cqw;
  background:
    linear-gradient(#0d0d0d, #0d0d0d) 0 100% / .95cqw 38% no-repeat,
    linear-gradient(#0d0d0d, #0d0d0d) 1.42cqw 100% / .95cqw 58% no-repeat,
    linear-gradient(#0d0d0d, #0d0d0d) 2.84cqw 100% / .95cqw 79% no-repeat,
    linear-gradient(#0d0d0d, #0d0d0d) 4.26cqw 100% / .95cqw 100% no-repeat;
}
.phone .battery {
  position: relative; width: 6.4cqw; height: 3.2cqw; box-sizing: border-box;
  border: .32cqw solid rgba(13, 13, 13, .45); border-radius: 1.1cqw;
}
.phone .battery::before { content: ""; position: absolute; right: -1.05cqw; top: 50%; transform: translateY(-50%); width: .6cqw; height: 1.2cqw; border-radius: 0 .5cqw .5cqw 0; background: rgba(13, 13, 13, .45); }
.phone .battery::after { content: ""; position: absolute; inset: .35cqw; border-radius: .55cqw; background: #0d0d0d; }
.phone .screen img { display: block; width: 100%; height: auto; }
.phone .home { position: relative; display: block; height: 6.5cqw; }
.phone .home::after {
  content: ""; position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%);
  width: 35cqw; height: 1.3cqw; border-radius: 1cqw; background: #0d0d0d;
}
@media (min-width: 720px) { .phone:nth-child(2) { margin-top: 3.5rem; } }
@media (prefers-reduced-motion: reduce) { .phone .frame:hover { transform: none; } }
.palette { display: flex; flex-wrap: wrap; gap: 1rem; }
.swatch { display: grid; gap: .4rem; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.swatch i { display: block; width: 84px; height: 56px; border-radius: 2px; }
.next-project { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding-block: 2.5rem; border-top: 1px solid var(--line); }
.next-project a { text-decoration: none; display: grid; gap: .3rem; }
.next-project a span { font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.next-project a strong { font-family: var(--display); font-weight: 400; font-size: var(--step-2); color: var(--ink); }

/* Página de arte */
.collection { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
@media (min-width: 900px) { .collection { grid-template-columns: 1fr 1fr; } .collection.flip > :first-child { order: 2; } }
.mosaic { display: grid; gap: .8rem; grid-template-columns: 1.25fr 1fr; }
.mosaic figure { margin: 0; overflow: hidden; }
.mosaic figure:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic figure:first-child { min-height: 100%; }
.mosaic figure:first-child img { object-position: 68% 40%; }
.strip { display: grid; gap: .8rem; grid-template-columns: repeat(3, 1fr); }
.strip figure { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; }
.strip img { width: 100%; height: 100%; object-fit: cover; }
.note { font-size: var(--step--1); color: var(--muted); }
.band.dark .note { color: var(--on-dark-muted); }

/* Contato */
.contact-grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .8fr 1.2fr; } }
.contact-aside { display: grid; gap: 2rem; align-content: start; }
.contact-aside dl { margin: 0; display: grid; gap: 1.4rem; }
.contact-aside dt { font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.contact-aside dd { margin: 0; font-family: var(--display); font-size: 1.5rem; color: var(--ink); overflow-wrap: anywhere; }
.copy-btn { margin-left: .5rem; background: none; border: 1px solid var(--line); border-radius: 999px; padding: .2rem .7rem; font: 500 .65rem/1.6 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); cursor: pointer; vertical-align: middle; }
form.contact { display: grid; gap: 1.2rem; grid-template-columns: 1fr 1fr; }
form.contact .full { grid-column: 1 / -1; }
@media (max-width: 600px) { form.contact { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; min-width: 0; }
.field label { font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: 300 1rem/1.5 var(--body); color: var(--text);
  background: transparent; border: 0; border-bottom: 1px solid rgba(63, 21, 22, .35);
  padding: .7rem 0; border-radius: 0; -webkit-appearance: none; appearance: none;
}
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%233f1516' stroke-width='1.4'/%3E%3C/svg%3E") right .2rem center / 12px no-repeat; padding-right: 1.6rem; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }
.form-msg { grid-column: 1 / -1; font-size: .95rem; color: var(--ink); }
.choice-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(35, 18, 10, .94);
  display: grid; place-items: center; padding: max(56px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(56px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}
.lightbox img { max-height: 82vh; max-width: min(92vw, 1100px); width: auto; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.lightbox figcaption { margin-top: 1rem; text-align: center; color: var(--on-dark); font-family: var(--display); font-style: italic; font-size: 1.2rem; }
.lightbox .close { position: absolute; top: max(14px, env(safe-area-inset-top, 0px)); right: max(14px, env(safe-area-inset-right, 0px)); width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(253, 245, 236, .4); background: transparent; color: var(--on-dark); font-size: 1.4rem; cursor: pointer; }

/* Entrada suave: começa visível, só ganha movimento */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .rise.d1 { animation-delay: .12s; } .rise.d2 { animation-delay: .24s; } .rise.d3 { animation-delay: .36s; }
  @keyframes rise { from { transform: translateY(14px); opacity: .001; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Aviso de fotografia autoral, sem IA */
.ai-note {
  display: flex; gap: .8rem; align-items: flex-start; max-width: 62ch;
  padding: .9rem 1.1rem; border: 1px solid rgba(201, 138, 59, .45);
  background: rgba(201, 138, 59, .08); font-size: .92rem; line-height: 1.55; color: var(--text);
}
.ai-note svg { flex: none; width: 22px; height: 22px; color: var(--amber); margin-top: .05rem; }
.ai-note strong { font-weight: 500; color: var(--ink); }
.ai-note.short { padding: .6rem .9rem; font-size: .88rem; align-items: center; width: fit-content; }

/* Ensaio fotográfico: colunas que respeitam o formato de cada foto, sem corte */
.photo-masonry { columns: 2; column-gap: clamp(.6rem, 1.4vw, 1.2rem); }
@media (min-width: 900px) { .photo-masonry { columns: 3; } }
.photo-masonry figure { break-inside: avoid; margin: 0 0 clamp(.6rem, 1.4vw, 1.2rem); overflow: hidden; background: var(--paper); }
.photo-masonry img { width: 100%; height: auto; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.photo-masonry button:hover img { transform: scale(1.03); }
.service-phones .phone { width: clamp(120px, 32vw, 205px); }
.service-phones .phone:nth-child(2) { margin-top: 2.5rem; }
