/* =====================================================
   OBSCURA — Estúdio Fotográfico
   Paleta: preto/grafite + off-white + âmbar sutil
   Tema escuro imersivo, galeria de arte
   ===================================================== */

:root {
  --bg:      #0b0b0d;
  --bg-2:    #121214;
  --bg-3:    #1a1a1e;
  --bg-4:    #232327;
  --white:   #efece5;
  --gray:    #9b9aa1;
  --gray-2:  #66656c;
  --accent:  #c9a878;
  --accent-2:#dcc19a;
  --line:    rgba(239, 236, 229, .1);
  --line-soft: rgba(239, 236, 229, .05);

  --font-display: 'Syne', system-ui, sans-serif;
  --font-mono:    'Space Mono', ui-monospace, monospace;
  --font-body:    'Sora', system-ui, sans-serif;

  --container: 1220px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); background: var(--bg); color: var(--white); line-height: 1.65; overflow-x: hidden; font-weight: 300; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 26px; }

/* ---------- tipografia ---------- */
.mono { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em; color: var(--gray); text-transform: uppercase; }
.mono--accent { color: var(--accent); margin-bottom: 16px; }
.section-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.1rem, 5.2vw, 3.8rem); line-height: 1.02; letter-spacing: -.5px; color: var(--white); }
.section-title em { font-style: italic; font-weight: 600; color: var(--accent); }
.section-head { max-width: 760px; margin: 0 auto clamp(34px, 4.5vw, 54px); text-align: center; }

/* ---------- botões ---------- */
.btn { --pad-y: 14px; --pad-x: 28px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: var(--pad-y) var(--pad-x); font-family: var(--font-mono); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; border-radius: 2px; border: 1px solid transparent; cursor: pointer; transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s; white-space: nowrap; }
.btn--lg { --pad-y: 16px; --pad-x: 32px; }
.btn--accent { background: var(--accent); color: #1a1206; }
.btn--accent:hover { background: var(--accent-2); transform: translateY(-3px); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(11,11,13,.7); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); transition: background .4s; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 0; }
.logo { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: 3px; color: var(--white); display: inline-flex; align-items: baseline; }
.logo i { font-family: var(--font-mono); font-style: normal; font-size: .6rem; letter-spacing: .1em; color: var(--accent); margin-left: 4px; text-transform: uppercase; }
.nav { display: flex; gap: 28px; }
.nav a { font-family: var(--font-mono); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--gray); position: relative; padding: 4px 0; transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: var(--accent); transition: width .3s var(--ease); }
.nav a:hover { color: var(--white); }
.nav a:hover::after { width: 100%; }
.header__actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: var(--bg-3); border: 1px solid var(--line); border-radius: 4px; cursor: pointer; }
.nav-toggle span { width: 20px; height: 1.5px; background: var(--white); transition: .3s var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 76px) 0 clamp(48px, 6vw, 84px); overflow: hidden; }
.hero__grain { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 60% at 78% 30%, rgba(201,168,120,.1), transparent 60%); }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.hero__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: .98; letter-spacing: -1.5px; margin: 20px 0 24px; }
.hero__title em { font-style: italic; font-weight: 600; color: var(--accent); }
.hero__lead { color: var(--gray); font-size: 1.14rem; max-width: 46ch; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero__meta { display: flex; gap: 40px; flex-wrap: wrap; }
.hero__meta strong { font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; color: var(--white); display: block; line-height: 1; }
.hero__meta strong span { color: var(--accent); }
.hero__meta small { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--gray-2); margin-top: 6px; display: block; }
.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 3px; filter: contrast(1.05); }
.hero__media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 120px rgba(0,0,0,.5); pointer-events: none; }
.hero__cap { position: absolute; bottom: 14px; left: 14px; background: rgba(11,11,13,.7); backdrop-filter: blur(4px); padding: 5px 10px; border-radius: 2px; font-size: .68rem; color: var(--accent-2); }
.hero__scroll { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-size: .7rem; opacity: .5; }

/* ---------- portfólio ---------- */
.portfolio { padding: clamp(56px, 8vw, 96px) 0; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.filter { font-family: var(--font-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--gray); background: transparent; border: 1px solid var(--line); border-radius: 100px; padding: 9px 20px; cursor: pointer; transition: color .25s, border-color .25s, background .25s; }
.filter:hover { color: var(--white); border-color: var(--gray-2); }
.filter.is-active { color: #1a1206; background: var(--accent); border-color: var(--accent); }

.gallery { columns: 3; column-gap: 16px; }
.shot { position: relative; break-inside: avoid; margin-bottom: 16px; overflow: hidden; border-radius: 3px; cursor: pointer; opacity: 1; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.shot.is-hidden { display: none; }
.shot img { width: 100%; display: block; transition: transform .8s var(--ease), filter .5s; filter: grayscale(.2); }
.shot:hover img { transform: scale(1.05); filter: grayscale(0); }
.shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11,11,13,.85)); opacity: 0; transition: opacity .4s; }
.shot:hover::after { opacity: 1; }
.shot figcaption { position: absolute; left: 16px; bottom: 14px; z-index: 2; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.shot:hover figcaption { opacity: 1; transform: none; }
.shot figcaption span { font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); display: block; }
.shot figcaption b { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--white); }
.shot--tall img { min-height: 420px; object-fit: cover; }

/* ---------- serviços ---------- */
.services { padding: clamp(56px, 8vw, 96px) 0; background: var(--bg-2); border-top: 1px solid var(--line-soft); }
.services__list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.serv { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 28px 8px; border-bottom: 1px solid var(--line); transition: background .3s, padding .3s; }
.serv:hover { background: var(--bg-3); padding-left: 20px; padding-right: 20px; }
.serv__idx { font-family: var(--font-mono); color: var(--accent); font-size: .9rem; }
.serv h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; }
.serv p { color: var(--gray); font-size: .95rem; grid-column: 2; max-width: 60ch; }
.serv__tag { font-family: var(--font-mono); font-size: .78rem; color: var(--accent-2); white-space: nowrap; }
.serv h3, .serv__tag { align-self: center; }

/* ---------- sobre ---------- */
.about { padding: clamp(56px, 8vw, 100px) 0; }
.about__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 54px; align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 3px; filter: grayscale(.15) contrast(1.05); }
.about__cap { position: absolute; bottom: 14px; left: 14px; background: rgba(11,11,13,.7); padding: 5px 10px; border-radius: 2px; font-size: .68rem; color: var(--accent-2); }
.about__copy .section-title { text-align: left; }
.about__copy p { color: var(--gray); font-size: 1.06rem; margin-top: 16px; }
.about__signs { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px 22px; }
.about__signs span { color: var(--white); font-weight: 400; font-size: .95rem; }

/* ---------- processo ---------- */
.process { padding: clamp(56px, 8vw, 96px) 0; background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pstep { padding: 30px 26px; border: 1px solid var(--line-soft); border-radius: 3px; background: var(--bg-3); transition: transform .4s var(--ease), border-color .4s; }
.pstep:hover { transform: translateY(-6px); border-color: rgba(201,168,120,.4); }
.pstep__num { font-size: 1rem; color: var(--accent); display: block; margin-bottom: 14px; }
.pstep h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; margin-bottom: 8px; }
.pstep p { color: var(--gray); font-size: .94rem; }

/* ---------- depoimentos ---------- */
.reviews { padding: clamp(56px, 8vw, 96px) 0; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: 3px; padding: 32px 28px; transition: transform .4s var(--ease), border-color .4s; }
.review:hover { transform: translateY(-6px); border-color: rgba(201,168,120,.35); }
.review blockquote { font-family: var(--font-display); font-weight: 600; font-style: italic; font-size: 1.16rem; line-height: 1.5; color: var(--white); margin-bottom: 20px; }
.review figcaption strong { display: block; font-weight: 500; }
.review figcaption span { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; color: var(--accent); }

/* ---------- cta ---------- */
.cta { padding: clamp(64px, 9vw, 120px) 0; text-align: center; background:
  radial-gradient(60% 80% at 50% 0%, rgba(201,168,120,.08), transparent 60%); }
.cta__inner { max-width: 720px; margin: 0 auto; }
.cta__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 5.5vw, 4.2rem); line-height: 1.02; letter-spacing: -1px; margin: 14px 0; }
.cta__title em { font-style: italic; font-weight: 600; color: var(--accent); }
.cta__lead { color: var(--gray); font-size: 1.12rem; max-width: 44ch; margin: 0 auto 30px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 40px; }
.cta__info { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; font-size: .76rem; color: var(--gray); }

/* ---------- footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-top: 58px; }
.footer__inner { display: grid; grid-template-columns: 1.3fr 2fr; gap: 40px; padding-bottom: 42px; }
.footer__brand p { color: var(--gray); margin: 16px 0 20px; max-width: 34ch; }
.footer__social { display: flex; gap: 18px; }
.footer__social a { font-family: var(--font-mono); font-size: .78rem; text-transform: uppercase; color: var(--accent); transition: color .25s; }
.footer__social a:hover { color: var(--white); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols h5 { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; color: var(--gray-2); margin-bottom: 14px; }
.footer__cols a, .footer__cols p { display: block; font-size: .92rem; margin-bottom: 8px; color: var(--gray); transition: color .25s; }
.footer__cols a:hover { color: var(--accent); }
.footer__bottom { border-top: 1px solid var(--line-soft); padding: 20px 0; }
.footer__bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer__bottom span { color: var(--gray-2); font-size: .82rem; }
.footer__credit strong { color: var(--accent); }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(6,6,8,.94); display: none; align-items: center; justify-content: center; padding: 40px; opacity: 0; transition: opacity .3s; }
.lightbox.is-open { display: flex; opacity: 1; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 3px; box-shadow: 0 40px 100px -30px #000; }
.lightbox__close { position: absolute; top: 24px; right: 28px; background: transparent; border: none; color: var(--white); font-size: 2rem; cursor: pointer; line-height: 1; transition: color .25s, transform .25s; }
.lightbox__close:hover { color: var(--accent); transform: scale(1.1); }

/* ---------- whatsapp ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 200; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #25d366; box-shadow: 0 12px 30px -8px rgba(37,211,102,.7); animation: pulse 2.6s ease-in-out infinite; transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.1); }
@keyframes pulse { 0%,100% { box-shadow: 0 12px 30px -8px rgba(37,211,102,.7), 0 0 0 0 rgba(37,211,102,.5); } 50% { box-shadow: 0 12px 30px -8px rgba(37,211,102,.7), 0 0 0 14px rgba(37,211,102,0); } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =====================================================
   RESPONSIVO
   ===================================================== */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__media { max-width: 420px; }
  .gallery { columns: 2; }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__media { max-width: 440px; }
  .reviews__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav { position: fixed; top: 0; right: 0; left: auto; height: 100vh; height: 100dvh; overflow-y: auto; width: min(82vw, 320px); flex-direction: column; gap: 4px; padding: 96px 30px 40px; background: var(--bg-2); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform .4s var(--ease); z-index: 90; }
  .nav.is-open { transform: none; box-shadow: 0 0 0 100vmax rgba(0,0,0,.5), -30px 0 60px -20px #000; }
  .nav a { font-size: 1rem; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .nav-toggle { display: flex; }
  .header__cta { display: none; }
  .serv { grid-template-columns: auto 1fr; }
  .serv__tag { grid-column: 2; justify-self: start; margin-top: 4px; }
  .serv p { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .gallery { columns: 1; }
  .process__grid { grid-template-columns: 1fr; }
  .hero__meta { gap: 24px; }
  .hero__actions .btn, .cta__actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* menu mobile: botao X acima do painel */
.nav-toggle { position: relative; z-index: 95; }
