:root {
  --black: #000000;
  --tan: #CDBEAE;
  --grey: #E6E6E5;
  --white: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

h1, h2, h3 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  line-height: 1.15;
}

em { font-style: italic; color: var(--tan); }

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

img { display: block; width: 100%; height: 100%; object-fit: cover; }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 18px;
}
.eyebrow--center { text-align: center; }

.btn {
  display: inline-block;
  padding: 16px 34px;
  background: var(--black);
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background .3s ease, color .3s ease;
}
.btn:hover { background: var(--tan); color: var(--black); }
.btn--small { padding: 10px 22px; font-size: 12px; }
.btn--light { background: var(--tan); color: var(--black); }
.btn--light:hover { background: var(--white); }

.link-underline {
  margin-left: 28px;
  font-size: 14px;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 64px;
  background: transparent;
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}
.nav--scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  padding: 16px 64px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.nav__logo { width: 140px; height: auto; object-fit: contain; transition: width .35s ease; }
.nav--scrolled .nav__logo { width: 110px; }
.nav__links { display: flex; gap: 40px; font-size: 14px; letter-spacing: 0.05em; }
.nav__links a { position: relative; }
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--black);
  transition: width .3s ease;
}
.nav__links a:hover::after { width: 100%; }
.nav__links a:hover { color: var(--tan); }

/* HERO */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 92vh;
  padding: 0 64px;
  overflow: hidden;
  background: var(--black);
}
.hero__bg {
  position: absolute;
  top: 0; bottom: 0; right: 0;
  left: 30%;
  z-index: 0;
}
.hero__bg img {
  object-position: 50% 12%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 26%, rgba(0,0,0,0.82) 34%, rgba(0,0,0,0.3) 46%, rgba(0,0,0,0) 58%);
}
.hero__text {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 80px 0;
}
.hero__text .eyebrow { color: var(--tan); }
.hero__text h1 {
  font-size: 56px;
  margin-bottom: 26px;
  color: var(--white);
}
.hero__lead {
  font-size: 17px;
  max-width: 440px;
  margin-bottom: 40px;
  color: rgba(255,255,255,0.85);
}
.hero__cta { display: flex; align-items: center; }
.link-underline--light { border-bottom-color: var(--white); color: var(--white); }

/* SOBRE */
.sobre {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 80vh;
}
.sobre__image { height: 100%; min-height: 500px; }
.sobre__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 90px;
}
.sobre__text h2 {
  font-size: 38px;
  margin-bottom: 24px;
}
.sobre__text p {
  font-size: 16px;
  color: #333;
  max-width: 480px;
}

/* PROCESSO */
.processo {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  align-items: stretch;
  min-height: 60vh;
}
.processo__item { overflow: hidden; height: 100%; min-height: 360px; }
.processo__image { height: 100%; }
.processo__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 70px;
  background: var(--grey);
}
.processo__text h2 { font-size: 28px; }

/* SERVICOS */
.servicos {
  text-align: center;
  padding: 120px 64px;
  background: var(--white);
  color: var(--black);
  border-top: 1px solid #e9e5e0;
  border-bottom: 1px solid #e9e5e0;
}
.servicos .eyebrow { color: var(--tan); }
.servicos__title {
  font-size: 40px;
  margin-bottom: 80px;
}
.servicos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}
.servico { text-align: left; }
.servico__num {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--tan);
  display: block;
  margin-bottom: 18px;
}
.servico h3 { font-size: 24px; margin-bottom: 14px; }
.servico p { font-size: 15px; color: #555; }

/* PORTFOLIO */
.portfolio { padding: 120px 64px; text-align: center; }
.portfolio__lead {
  max-width: 560px;
  margin: 0 auto;
  font-size: 15px;
  color: #666;
}
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.video-slot {
  aspect-ratio: 9 / 13;
  border: 1px solid #ddd9d4;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: transform .4s ease, border-color .4s ease;
}
.video-slot:hover {
  transform: translateY(-6px);
  border-color: var(--tan);
}
.video-slot__play {
  font-size: 15px;
  color: var(--tan);
}
.video-slot p { font-size: 13px; letter-spacing: 0.04em; color: #999; }

/* SOCIAL ICONS */
.social-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  letter-spacing: 0.05em;
  transition: opacity .3s ease, transform .3s ease;
}
.social-icon svg { width: 20px; height: 20px; }
.social-icon:hover { opacity: 0.65; transform: translateY(-2px); }

/* CONTATO */
.contato {
  background: var(--grey);
  text-align: center;
  padding: 140px 64px;
  border-top: 1px solid #ddd9d4;
}
.contato__logo { width: 160px; height: auto; object-fit: contain; margin: 0 auto 40px; }
.contato h2 { font-size: 44px; margin-bottom: 18px; }
.contato p { font-size: 16px; margin-bottom: 40px; color: #333; }
.contato__socials {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 40px;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 30px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #777;
}

@media (max-width: 900px) {
  .nav { padding: 24px 28px; }
  .nav__links { display: none; }
  .sobre { grid-template-columns: 1fr; padding: 60px 28px; }
  .sobre__image { height: 360px; order: -1; }
  .hero { padding: 0 28px; min-height: 85vh; align-items: flex-end; }
  .hero__bg { left: 0; top: 0; bottom: 45%; right: 0; }
  .hero__bg img { object-position: 50% 15%; }
  .hero__overlay { background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 48%, rgba(0,0,0,0.85) 56%, rgba(0,0,0,0.25) 68%, rgba(0,0,0,0) 80%); }
  .hero__text { max-width: 100%; padding: 30px 0 50px; }
  .hero__text h1 { font-size: 38px; }
  .servicos, .portfolio, .contato { padding: 80px 28px; }
  .servicos__grid { grid-template-columns: 1fr; gap: 50px; }
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .processo { grid-template-columns: 1fr; }
  .processo__item { min-height: 280px; }
  .processo__text { padding: 50px 28px; }
}
