*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--fs-body)/1.7 var(--f-text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, picture { display: block; max-width: 100%; height: auto; }
.ph picture, .lz__pic picture { height: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
[hidden] { display: none !important; }
dialog { padding: 0; border: 0; background: transparent; color: inherit; max-width: none; max-height: 100%; overflow-y: auto; overscroll-behavior: contain; }
:focus-visible { outline: 2px solid var(--slate); outline-offset: 4px; }
::selection { background: var(--slate); color: #fff; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.sec { padding-block: var(--sec); position: relative; }
.sec--tight { padding-block: calc(var(--sec) * .62); }
.sec--tone { background: var(--paper-2); }
.sec--deep { background: var(--deep); color: #fff; }
.sec--deep .label, .sec--deep .label::before { color: rgba(255,255,255,.72); background-color: rgba(255,255,255,.4); }
/* seção sobre foto: a imagem fica presa à tela enquanto o conteúdo passa por cima
   (sticky, sem background-attachment: fixed, que o iOS ignora e repinta a cada quadro) */
.sec--foto { background: var(--night); color: #fff; isolation: isolate; overflow: clip; }
.sec__foto { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sec__foto picture { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
.sec__foto img { width: 100%; height: 100%; object-fit: cover; }
.sec__foto::after { content: ""; position: absolute; inset: 0; background: var(--veu, rgba(17, 30, 35, .7)); }
/* movimento reduzido: a foto deixa de acompanhar a rolagem e só cobre a seção */
@media (prefers-reduced-motion: reduce) { .sec__foto picture { position: static; height: 100%; } }
.sec--foto .label { color: rgba(255,255,255,.82); }
.sec--foto .lead { color: rgba(255,255,255,.84); }
.sec--foto :focus-visible { outline-color: #fff; }

/* tipografia */
.display, .h1, .h2, .h3, .num { font-family: var(--f-display); font-weight: 200; letter-spacing: -.01em; }
.h1 { font-size: var(--fs-hero); line-height: 1.02; letter-spacing: -.025em; }
.h2 { font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -.02em; max-width: 14ch; }
.h3 { font-size: var(--fs-h3); line-height: 1.2; font-weight: 300; }
.h1 b, .h2 b, .h3 b { font-weight: 500; }
.num i { font-style: normal; }
.num { font-size: var(--fs-num); line-height: 1; font-weight: 200; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.lead { font-size: var(--fs-lead); line-height: 1.65; color: var(--ink-2); max-width: 52ch; font-weight: 400; }
.label {
  display: inline-flex; align-items: center; gap: 14px;
  font: 500 var(--fs-label)/1 var(--f-text); letter-spacing: .22em; text-transform: uppercase; color: var(--slate);
}
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.label--bare::before { display: none; }
.small { font-size: var(--fs-small); color: var(--stone); line-height: 1.6; }
.muted { color: var(--stone); }
.sec__head { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 80px); }
.sec__head .lead { margin-top: 6px; }
.sec__head--tight { margin-bottom: clamp(24px, 4vw, 44px); gap: 14px; }
@media (min-width: 900px) {
  .sec__head--split { grid-template-columns: 1fr 1fr; align-items: end; }
  .sec__head--split .lead { justify-self: start; }
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
