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

:root {
  --cream: #F7F4EF;
  --warm-white: #FAFAF8;
  --beige: #EDE8E0;
  --sand: #D6CFC4;
  --taupe: #A89F94;
  --stone: #7A726A;
  --charcoal: #2C2924;
  --ink: #1A1714;
  --gold: #B8A482;
  --gold-light: #D4C4A0;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 4rem;
  background: rgba(247,244,239,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sand);
  transition: padding .3s;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--ink);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--stone);
  text-decoration: none;
  transition: color .25s;
}

.nav-links a:hover { color: var(--ink); }

/* ── PAGES ── */
section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* ── PAGE 1: CAPA ── */
#capa {
  background: var(--warm-white);
  padding: 0;
}

.capa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.capa-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8rem 5rem 5rem;
  position: relative;
}

.capa-eyebrow {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 2rem;
}

.capa-name {
  font-family: var(--serif);
  font-size: clamp(4rem, 7vw, 7rem);
  font-weight: 300;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp .9s .2s ease forwards;
}

.capa-name em {
  font-style: italic;
  color: var(--gold);
}

.capa-rule {
  width: 3rem;
  height: 1px;
  background: var(--gold);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp .9s .5s ease forwards;
}

.capa-sub {
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--stone);
  max-width: 28rem;
  opacity: 0;
  animation: fadeUp .9s .7s ease forwards;
}

.capa-right {
  background: var(--beige);
  position: relative;
  overflow: hidden;
}

.capa-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  color: var(--taupe);
}

.capa-img-placeholder .icon-frame {
  width: 80px;
  height: 80px;
  border: 1px solid var(--sand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.capa-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.capa-number {
  position: absolute;
  bottom: 3rem;
  left: 5rem;
  font-family: var(--serif);
  font-size: .75rem;
  letter-spacing: .15em;
  color: var(--taupe);
  opacity: 0;
  animation: fadeUp .9s 1s ease forwards;
}

.capa-scroll {
  position: absolute;
  bottom: 2.5rem;
  right: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}

.capa-scroll span {
  font-size: .62rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--taupe);
}

.capa-scroll-line {
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(to bottom, var(--taupe), transparent);
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%,100% { opacity: .4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ── PAGE 2: APRESENTAÇÃO ── */
#apresentacao {
  background: var(--cream);
  padding: 12rem 10rem;
  align-items: flex-start;
}

.page-label {
  font-family: var(--sans);
  font-size: .65rem;
  font-weight: 400;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 1.5rem;
}

.page-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 4rem;
}

.page-title em { font-style: italic; color: var(--gold); }

.apres-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: start;
}

.apres-quote {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--charcoal);
  font-style: italic;
  border-left: 1px solid var(--gold);
  padding-left: 2rem;
}

.apres-text p {
  font-size: .88rem;
  line-height: 2;
  color: var(--stone);
  margin-bottom: 1.5rem;
}

.apres-text p strong {
  font-weight: 500;
  color: var(--charcoal);
}

/* ── PAGE 3: SERVIÇOS ── */
#servicos {
  background: var(--ink);
  padding: 10rem;
  color: var(--cream);
}

#servicos .page-label { color: var(--taupe); }
#servicos .page-title { color: var(--cream); }

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.06);
  margin-top: 5rem;
}

.servico-item {
  padding: 3.5rem 3rem;
  background: var(--ink);
  border-right: 1px solid rgba(255,255,255,.06);
  transition: background .3s;
}

.servico-item:hover { background: #24201C; }

.servico-number {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: rgba(184,164,130,.25);
  line-height: 1;
  margin-bottom: 2rem;
}

.servico-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.servico-list {
  list-style: none;
}

.servico-list li {
  font-size: .78rem;
  font-weight: 300;
  letter-spacing: .06em;
  color: rgba(247,244,239,.5);
  padding: .55rem 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
  display: flex;
  align-items: center;
  gap: .75rem;
}

.servico-list li::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── PAGE 4: ESPECIALIDADES ── */
#especialidades {
  background: var(--beige);
  padding: 10rem;
}

.esp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 5rem;
}

.esp-item {
  background: var(--warm-white);
  padding: 4rem;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: background .3s;
}

.esp-item:hover { background: var(--cream); }

.esp-item-num {
  font-family: var(--serif);
  font-size: .75rem;
  letter-spacing: .2em;
  color: var(--taupe);
  margin-bottom: 2.5rem;
  display: block;
}

.esp-item-title {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.3;
}

.esp-item-title em { font-style: italic; color: var(--gold); }

.esp-item-line {
  width: 2rem;
  height: 1px;
  background: var(--gold);
  margin-top: 2rem;
  transition: width .4s ease;
}

.esp-item:hover .esp-item-line { width: 4rem; }

/* ── CASE PAGE ── */
.case-section {
  background: var(--warm-white);
  padding: 10rem;
  min-height: 100vh;
}

.case-section:nth-child(even) { background: var(--cream); }

.case-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 8rem;
  align-items: start;
  margin-top: 5rem;
}

.case-text p {
  font-size: .87rem;
  line-height: 2.1;
  color: var(--stone);
  margin-bottom: 1.4rem;
}

.case-result {
  margin-top: 3rem;
  padding: 2rem 2.5rem;
  border-left: 1px solid var(--gold);
  background: var(--beige);
}

.case-result-label {
  font-size: .62rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: .75rem;
  display: block;
}

.case-result p {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.7;
  margin: 0;
}

.case-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}

.img-placeholder {
  aspect-ratio: 4/5;
  background: var(--beige);
  border: 1px solid var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .75rem;
  color: var(--taupe);
}

.img-placeholder:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16/9;
}

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

/* ── PAGE 9: DIFERENCIAL ── */
#diferencial {
  background: var(--charcoal);
  padding: 10rem;
  justify-content: center;
}

#diferencial .page-label { color: var(--taupe); }

.dif-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--cream);
  max-width: 55rem;
  margin-bottom: 5rem;
}

.dif-title em { font-style: italic; color: var(--gold-light); }

.dif-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 4rem;
}

.dif-block p {
  font-size: .83rem;
  line-height: 2;
  color: rgba(247,244,239,.45);
}

.dif-block strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--gold-light);
  margin-bottom: .75rem;
  font-style: italic;
}

/* ── PAGE 10: CONTATO ── */
#contato {
  background: var(--cream);
  padding: 10rem;
  justify-content: center;
}

.contato-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10rem;
  align-items: center;
}

.contato-left .page-title { margin-bottom: 2rem; }

.contato-tagline {
  font-size: .88rem;
  line-height: 1.9;
  color: var(--stone);
  max-width: 28rem;
}

.contato-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.contato-list li {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--sand);
  padding: 1.8rem 0;
}

.contato-label {
  font-size: .62rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--taupe);
  width: 8rem;
  flex-shrink: 0;
}

.contato-value {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  transition: color .2s;
}

.contato-value:hover { color: var(--gold); }

.contato-value em { font-style: italic; }

.footer-bar {
  background: var(--ink);
  padding: 2rem 10rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bar span {
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(247,244,239,.3);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── DECORATIVE ── */
.ornament {
  position: absolute;
  font-family: var(--serif);
  font-size: 20vw;
  font-weight: 300;
  font-style: italic;
  color: rgba(0,0,0,.025);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  right: -2rem;
  bottom: -2rem;
}

.ornament-light {
  color: rgba(255,255,255,.03);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 1rem 2rem; }
  .nav-links { display: none; }
  .capa-grid, .apres-grid, .case-inner, .contato-inner, .esp-grid { grid-template-columns: 1fr; }
  #apresentacao, #servicos, #especialidades, .case-section, #diferencial, #contato { padding: 8rem 3rem; }
  .servicos-grid, .dif-grid { grid-template-columns: 1fr; }
  .capa-left { padding: 8rem 3rem 4rem; }
  .capa-right { min-height: 50vh; }
  .footer-bar { padding: 2rem 3rem; }
}
