/* ===========================================================
   Gean Silva Fotografia — Portfolio premium
   =========================================================== */

:root {
  --black: #0b0b0a;
  --near-black: #141312;
  --white: #f7f4ee;
  --off-white: #ece6da;
  --gray: #8a8579;
  --gold: #b08d4f;
  --gold-light: #d4b877;
  --serif: "Playfair Display", "Georgia", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.1rem;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.34s; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 1.5rem;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.scrolled {
  padding: 0.9rem 1.5rem;
  background: rgba(11, 11, 10, 0.86);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(176, 141, 79, 0.16);
}
.nav__mark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}
.nav__mark span {
  color: var(--gold-light);
}
.nav__logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(212, 184, 119, 0.5);
  padding: 0.65rem 1.15rem;
  border-radius: 2px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav__cta:hover {
  border-color: var(--gold-light);
  background: rgba(212, 184, 119, 0.08);
}
.nav__cta svg { width: 14px; height: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  transform: scale(1.06);
  animation: heroZoom 16s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,10,0.55) 0%, rgba(11,11,10,0.05) 30%, rgba(11,11,10,0.35) 62%, rgba(11,11,10,0.94) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 1.5rem 5rem;
}
.hero__name {
  font-size: clamp(2.4rem, 8vw, 5rem);
  line-height: 1.04;
  max-width: 14ch;
}
.hero__tagline {
  margin-top: 1.1rem;
  max-width: 30ch;
  font-size: clamp(0.98rem, 2vw, 1.15rem);
  color: var(--off-white);
  font-weight: 300;
}
.hero__actions {
  margin-top: 2.2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  z-index: 2;
  right: 1.6rem;
  bottom: 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--gray);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, var(--gold-light), transparent);
  animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem 1.9rem;
  border-radius: 2px;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow .35s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #17140d;
  font-weight: 500;
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(176, 141, 79, 0.32); }
.btn--ghost {
  border: 1px solid rgba(247, 244, 238, 0.28);
  color: var(--white);
}
.btn--ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn--lg { padding: 1.15rem 2.4rem; font-size: 0.84rem; }

/* ---------- Section base ---------- */
section { position: relative; }
.section {
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}
.section__head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.section__title {
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1.12;
}
.section__title em {
  font-style: normal;
  color: var(--gold-light);
}
.section__sub {
  margin-top: 1rem;
  color: var(--gray);
  font-size: 1rem;
  max-width: 46ch;
}

/* ---------- Video grid (Videomaker / Depoimentos) ---------- */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
}
.video-grid--testimonial {
  max-width: 720px;
  margin-bottom: 2.6rem;
}
.video-card {
  background: var(--near-black);
  border: 1px solid rgba(212, 184, 119, 0.14);
  border-radius: 2px;
  overflow: hidden;
}
.video-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #000;
}
.video-card--wide .video-card__media {
  aspect-ratio: 16 / 9;
}
.video-card__cap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.85rem 1.1rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--off-white);
}
.video-card__cap a {
  color: var(--gold-light);
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.video-card__cap a:hover {
  color: var(--white);
}

/* ---------- Testimonial screenshots ---------- */
.testi-grid {
  columns: 1;
  column-gap: 1rem;
}
.testi-shot {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(212, 184, 119, 0.16);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.testi-shot.is-visible { opacity: 1; transform: translateY(0); }
.testi-shot { background: var(--near-black); }
.testi-shot img { width: 100%; display: block; }
.testi-shot__tag {
  display: block;
  padding: 0.7rem 0.9rem;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  border-top: 1px solid rgba(212, 184, 119, 0.14);
}

/* ---------- About ---------- */
.about {
  background: var(--near-black);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.about__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
}
.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 30%;
}
.about__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(212, 184, 119, 0.35);
  outline: 10px solid var(--near-black);
  outline-offset: -26px;
  pointer-events: none;
}
.about__text p {
  color: var(--off-white);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  font-weight: 300;
  max-width: 46ch;
}
.about__text p + p { margin-top: 1.1rem; }
.about__meta {
  margin-top: 2.2rem;
  display: flex;
  gap: 2.2rem;
  flex-wrap: wrap;
}
.about__meta div {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--gold-light);
}
.about__meta span {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ---------- Portfolio ---------- */
.portfolio__tabs {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.6rem;
}
.tab {
  background: transparent;
  border: 1px solid rgba(247, 244, 238, 0.2);
  color: var(--gray);
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem 1.35rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.tab:hover { color: var(--white); border-color: rgba(212, 184, 119, 0.5); }
.tab.is-active {
  color: #17140d;
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.gallery {
  columns: 1;
  column-gap: 0.6rem;
}
.gallery__item {
  position: relative;
  break-inside: avoid;
  margin-bottom: 0.6rem;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.gallery__item.is-visible { opacity: 1; transform: translateY(0); }
.gallery__item[hidden] { display: none; }
.gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.001);
  transition: transform 0.7s var(--ease), filter 0.7s var(--ease);
}
.gallery__item:hover img {
  transform: scale(1.045);
  filter: brightness(0.72);
}
.gallery__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1.1rem 1rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.66), transparent);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--off-white);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.gallery__item:hover .gallery__caption { opacity: 1; transform: translateY(0); }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px;
  border-top: 1px solid rgba(212, 184, 119, 0.16);
}
.faq-item {
  border-bottom: 1px solid rgba(212, 184, 119, 0.16);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.4rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--serif);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  color: var(--white);
  transition: color 0.3s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.4rem;
  height: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--gold-light);
  transition: transform 0.35s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item:hover summary { color: var(--gold-light); }
.faq-item p {
  padding: 0 2.2rem 1.5rem 0;
  color: var(--gray);
  font-size: 0.98rem;
  max-width: 60ch;
}

/* ---------- Quote / signature strip ---------- */
.strip {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  text-align: center;
  border-top: 1px solid rgba(212, 184, 119, 0.14);
  border-bottom: 1px solid rgba(212, 184, 119, 0.14);
}
.strip p {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3.4vw, 2.1rem);
  max-width: 22ch;
  margin: 0 auto;
  line-height: 1.35;
  color: var(--off-white);
}
.strip span {
  display: block;
  margin-top: 1.4rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* ---------- CTA final ---------- */
.cta {
  background: var(--near-black);
  text-align: center;
}
.cta__title {
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  max-width: 16ch;
  margin: 0 auto;
  line-height: 1.12;
}
.cta__sub {
  margin: 1.3rem auto 2.6rem;
  max-width: 40ch;
  color: var(--gray);
  font-size: 1.02rem;
}

/* ---------- Footer ---------- */
.footer {
  padding: 3rem 0 2.2rem;
  border-top: 1px solid rgba(247, 244, 238, 0.08);
}
.footer__row {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  align-items: flex-start;
}
.footer__mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--serif);
  font-size: 1.2rem;
}
.footer__logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}
.footer__mark span { color: var(--gold-light); }
.footer__links {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--off-white);
}
.footer__links a { transition: color 0.3s var(--ease); }
.footer__links a:hover { color: var(--gold-light); }
.footer__base {
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(247, 244, 238, 0.08);
  width: 100%;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--gray);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(6, 6, 5, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 100%;
  max-height: 92svh;
  width: auto;
  border: 1px solid rgba(212, 184, 119, 0.25);
}
.lightbox__close {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(247, 244, 238, 0.3);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.lightbox__close:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* ---------- Floating WhatsApp ---------- */
.float-wa {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
  opacity: 0;
  transform: translateY(14px) scale(0.9);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.float-wa.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.float-wa svg { width: 26px; height: 26px; color: #17140d; }

/* ===========================================================
   Responsive
   =========================================================== */
@media (min-width: 620px) {
  .gallery { columns: 2; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { columns: 2; }
}

@media (min-width: 860px) {
  .about__grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4.5rem;
  }
  .portfolio__tabs { margin-bottom: 3.2rem; }
}

@media (min-width: 1000px) {
  .gallery { columns: 3; }
  .video-grid { grid-template-columns: repeat(3, 1fr); }
  .video-card--wide { grid-column: span 2; }
  .testi-grid { columns: 3; }
}

@media (min-width: 700px) {
  .footer__row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
