/* Retratos por Dois — estilo compartilhado entre as páginas */
:root {
  --paper: #EFECE4;
  --paper-2: #E5E0D4;
  --ink: #33343F;
  --muted: #6F6B5A;
  --olive: #8A845C;
  --olive-deep: #6E6946;
  --line: #D6CFBF;
  --display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 1px solid var(--olive-deep); outline-offset: 4px; }

.wrap { max-width: 1140px; margin-inline: auto; padding-inline: var(--gutter); }

/* Títulos no estilo da logo: negrito pesado e minúsculo + itálico fino */
h1, h2, h3 {
  font-family: var(--display); font-weight: 800; line-height: 1.02; margin: 0;
  text-transform: lowercase; letter-spacing: -0.04em; color: var(--ink); text-wrap: balance;
}
h2 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h3 { font-size: 1.5rem; letter-spacing: -0.03em; }
h1 em, h2 em, h3 em, .script {
  font-style: italic; font-weight: 300; letter-spacing: -0.05em; text-transform: lowercase; color: var(--olive-deep);
}

/* Logo em texto */
.logo { display: inline-flex; align-items: baseline; gap: 0.28em; text-decoration: none; color: var(--ink); line-height: 1; white-space: nowrap; }
.logo b { font-family: var(--display); font-weight: 800; letter-spacing: -0.055em; }
.logo i { font-family: var(--display); font-weight: 300; letter-spacing: -0.06em; font-size: 0.72em; }
p { margin: 0; }
.label {
  font-size: 0.7rem; font-weight: 400; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted);
}
.lede { max-width: 56ch; color: var(--muted); }

.btn {
  display: inline-block; justify-self: start;
  padding: 11px 26px; border: 1px solid var(--olive); background: transparent; color: var(--olive-deep);
  text-decoration: none; font: inherit; font-size: 0.7rem; font-weight: 400; letter-spacing: 0.26em; text-transform: uppercase;
  cursor: pointer; transition: background .3s, color .3s;
}
.btn:hover { background: var(--olive); color: var(--paper); }

/* Photo placeholders — troque por <img src="fotos/..."> dentro de .photo */
.photo { position: relative; overflow: hidden; background: var(--paper-2); max-width: 100%; }
.photo img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.photo.ph::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(90% 60% at 70% 15%, rgba(255,255,255,.35), transparent 60%),
    linear-gradient(180deg, var(--tone-a, #C9C4B2) 0%, var(--tone-b, #9C9679) 55%, var(--tone-c, #6F6B55) 100%);
}
.photo.ph::after {
  content: attr(data-label); position: absolute; left: 14px; bottom: 12px;
  font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,.75);
}
.t-mist  { --tone-a: #D3D1C6; --tone-b: #A9A89A; --tone-c: #6F7063; }
.t-earth { --tone-a: #CFC2AC; --tone-b: #9F8D70; --tone-c: #6B5D48; }
.t-pine  { --tone-a: #BFC3B4; --tone-b: #7F8872; --tone-c: #4A5345; }
.t-sand  { --tone-a: #E2DACB; --tone-b: #C1B49B; --tone-c: #93866C; }

/* Hero */
.hero {
  position: relative; height: clamp(520px, 82vh, 760px);
  display: grid; place-items: center; overflow: hidden; color: #F6F3EC;
}
.hero .photo { position: absolute; inset: 0; }
.hero .photo img { object-position: 45% 40%; }
.hero .photo.ph::before {
  background:
    radial-gradient(70% 45% at 50% 30%, rgba(255,250,240,.28), transparent 70%),
    linear-gradient(172deg, #B7B2A0 0%, #8E8B78 38%, #5F5B49 62%, #3F3C30 100%);
}
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Cabeçalho no topo, fixo ao rolar */
header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: var(--paper); border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 16px; }
header.scrolled { border-bottom-color: var(--line); }
.brand { font-size: 1.55rem; }
.nav ul { display: flex; gap: clamp(36px, 5vw, 64px); list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.nav ul a:hover { color: var(--olive-deep); }
.menu-btn {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px 0; width: 28px;
}
.menu-btn span { display: block; height: 1px; background: var(--ink); margin: 6px 0; }

section { padding-block: clamp(72px, 10vw, 128px); }

/* Divisor */
.divider { padding-block: clamp(64px, 9vw, 112px); text-align: center; }
.divider + section { padding-top: 0; }
.divider h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); max-width: 16ch; margin-inline: auto; }

/* Portfolio */
.section-head { display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 56px); justify-items: center; text-align: center; }
.section-head .lede { text-align: center; }
/* Galeria com rolagem horizontal */
.row-head { display: flex; align-items: end; justify-content: flex-end; gap: 24px; margin-bottom: clamp(28px, 4vw, 44px); }
.g-ctrl { display: flex; gap: 10px; }
.g-ctrl button {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--olive); background: transparent; color: var(--olive-deep);
  font: inherit; font-size: 1.1rem; line-height: 1; cursor: pointer; transition: background .25s, color .25s, opacity .25s;
}
.g-ctrl button:hover:not(:disabled) { background: var(--olive); color: var(--paper); }
.g-ctrl button:disabled { opacity: .3; cursor: default; }
.scroller {
  --edge: max(var(--gutter), calc((100vw - 1140px) / 2 + var(--gutter)));
  display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-padding-inline: var(--edge);  /* fotos de ponta a ponta; a foto atual alinha com o texto */
  scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab;
}
.scroller::-webkit-scrollbar { display: none; }
.scroller.dragging { cursor: grabbing; scroll-snap-type: none; }
.scroller > * { flex: 0 0 auto; height: clamp(340px, 48vw, 580px); max-width: 86vw; scroll-snap-align: start; }
.scroller img { width: auto; object-fit: cover; user-select: none; -webkit-user-drag: none; background: var(--paper-2); }
.scroller .ph { aspect-ratio: 3 / 4; }
.scroller .ph.wide { aspect-ratio: 3 / 2; }
.g-progress { height: 1px; background: var(--line); margin-top: 24px; }
.g-progress span { display: block; height: 100%; width: 0; background: var(--olive-deep); transition: width .15s; }

/* Meet */
.meet { background: var(--paper-2); }
.meet-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 7vw, 96px); align-items: start; }
.meet-title { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 18px; }
.meet-title h2 { font-size: clamp(2.5rem, 5.4vw, 4rem); }
.meet .photo { aspect-ratio: 4 / 5; }
.meet-copy { display: grid; gap: 20px; }
.meet-copy p { max-width: 54ch; }

/* Packages */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 28px); }
.pkg { border: 1px solid var(--line); padding: 36px 30px 40px; display: grid; gap: 14px; align-content: start; text-align: center; justify-items: center; }
.pkg .meta { font-style: italic; font-size: 1.05rem; color: var(--olive-deep); }
.pkg ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; font-size: 0.92rem; color: var(--muted); }

/* Quote band */
.band { position: relative; display: grid; place-items: center; min-height: 360px; padding-block: 72px; overflow: hidden; }
.band .photo { position: absolute; inset: 0; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(35,33,26,.3); }
.band p {
  position: relative; z-index: 1; text-align: center; color: #F6F3EC;
  font-family: var(--display); font-style: italic; font-weight: 300; font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.3; letter-spacing: -0.05em;
  max-width: 26ch; text-wrap: balance; padding-inline: 16px;
}

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 10px; align-content: start; text-align: center; justify-items: center; }
.steps li::before {
  content: counter(s); font-size: 1rem; font-weight: 400; color: var(--olive-deep);
  width: 48px; height: 48px; border: 1px solid var(--olive); border-radius: 50%; display: grid; place-items: center; margin-bottom: 6px;
}
.steps h3 { font-size: 1.2rem; }
.steps p { font-size: 0.92rem; color: var(--muted); }

/* Contact */
.contact { background: var(--paper-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 7vw, 96px); }
.contact-info { display: grid; gap: 22px; align-content: start; }
.contact-info dl { margin: 0; display: grid; gap: 16px; }
.contact-info dt { font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.contact-info dd { margin: 2px 0 0; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; }
.field { display: grid; gap: 4px; }
.field.full { grid-column: 1 / -1; }
label { font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
input, select, textarea {
  font: inherit; font-weight: 300; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 8px 0; width: 100%;
  transition: border-color .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-bottom-color: var(--olive-deep); }
textarea { resize: vertical; min-height: 110px; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.form-note { font-size: 0.88rem; color: var(--olive-deep); }

footer { padding-block: 48px; text-align: center; display: grid; gap: 10px; justify-items: center; }
footer .brand { font-size: 1.8rem; }
footer span { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.08em; }

/* Animações ------------------------------------------------------------ */
:root { --suave: cubic-bezier(.2,.7,.2,1); }

/* Aparecer ao rolar */
.reveal { transition: transform 1s var(--suave), opacity 1s var(--suave); }
.reveal.pending { transform: translateY(24px); opacity: .001; }

/* Frase divisora: palavras sobem uma a uma */
.split .w { display: inline-block; transition: transform 1s var(--suave), opacity 1s var(--suave); transition-delay: calc(var(--i) * 90ms); }
.split:not(.in) .w { transform: translateY(0.45em); opacity: 0; }

/* Foto do Sobre: revela como uma cortina */
.curtain.reveal { transition: clip-path 1.4s var(--suave); clip-path: inset(0 0 0 0); }
.curtain.reveal.pending { transform: none; opacity: 1; clip-path: inset(0 0 100% 0); }
.curtain img { transition: transform 1.8s var(--suave); }
.curtain.pending img { transform: scale(1.12); }

/* Faixa com a frase: espaço extra para o efeito de profundidade */
.band .photo { inset: -12% 0; will-change: transform; }

/* Galeria: fotos entram em sequência */
.scroller.carregada > * { animation: g-entra .9s var(--suave) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes g-entra { from { opacity: 0; transform: translateX(28px); } }

/* Abertura: cabeçalho desce e a capa ajusta o zoom */
@media (prefers-reduced-motion: no-preference) {
  header { animation: desce .9s .15s var(--suave) both; }
  .hero .photo img { animation: capa 2.6s var(--suave) both; }
}
@keyframes desce { from { transform: translateY(-100%); opacity: 0; } }
@keyframes capa { from { transform: scale(1.08); opacity: 0; } 30% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.pending, .split .w, .curtain img { transition: none; transform: none; opacity: 1; clip-path: none; }
  .scroller.carregada > * { animation: none; }
}

/* Responsive */
@media (max-width: 900px) {
  .meet-grid, .contact-grid { grid-template-columns: 1fr; }
  .packages { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
}
@media (max-width: 720px) {
  .menu-btn { display: block; }
  .nav { flex-wrap: wrap; }
  .nav ul { display: none; width: 100%; flex-direction: column; gap: 16px; padding-block: 8px 12px; }
  .nav.open ul { display: flex; }
}
@media (max-width: 520px) {
  body { font-size: 15.5px; }
  .steps { grid-template-columns: 1fr; }
  .scroller > * { height: 62vh; max-height: 460px; }
  form { grid-template-columns: 1fr; }
}
.pkg-cta { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 48px); }
