/* =========================================================
   Verdekitquero — Landing page
   Mobile first. Breakpoints: 768px (tablet) e 1100px (desktop).
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg: #F8F5F0;          /* off-white quente, fundo principal */
  --green: #1F3D2B;       /* verde escuro: títulos do hero e botão principal */
  --text: #1A1A1A;
  --muted: #7A7A75;       /* textos secundários */
  --line: #D8D3CB;        /* divisores finos */
  --dark: #121212;        /* contato e rodapé */
  --sage: #A9C29A;        /* "verde" em itálico no contato */
  --white: #FFFFFF;

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(20px, 4.4vw, 64px);
  --max: 1360px;
  --header-h: 72px;
  --section-y: clamp(88px, 11vw, 160px);

  /* Easing próprio: saída suave, sem "ease" padrão */
  --ease-out: cubic-bezier(.22, .61, .21, 1);
  --ease-expo: cubic-bezier(.16, 1, .3, 1);
}

@media (min-width: 768px) {
  :root { --header-h: 84px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, blockquote, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
em { font-style: italic; }

/* Foco visível e consistente em todo o site */
:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--green);
  color: var(--white);
  font-size: 13px;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

/* ---------- Tipografia compartilhada ---------- */
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 1.4;
}
.eyebrow--muted { color: var(--muted); }
.eyebrow--dark { color: #9A9A95; }

.title {
  margin-top: clamp(22px, 2.6vw, 34px);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.04;
  letter-spacing: -.012em;
  color: var(--text);
}
.title em { font-style: italic; }
.title--light { color: #F2EFEA; }
.sage { color: var(--sage); }

/* Linhas dos títulos: máscara para o reveal linha a linha */
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line > span { display: inline-block; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.2;
  text-align: center;
  transition: background-color .4s var(--ease-out), color .4s var(--ease-out), border-color .4s var(--ease-out);
}
.btn--sm {
  min-height: 38px;
  padding: 0 24px;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.btn--wide,
.btn--block {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.btn--block { width: 100%; }

.btn--solid { background: var(--green); color: var(--white); border-color: var(--green); }
.btn--solid:hover { background: #163021; border-color: #163021; }

.btn--outline { border-color: var(--text); color: var(--text); background: transparent; }
.btn--outline:hover { background: var(--text); color: var(--bg); }

.btn--light { background: var(--bg); color: var(--text); border-color: var(--bg); }
.btn--light:hover { background: var(--white); }

/* Traço horizontal depois do texto: estica no hover */
.dash {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: currentColor;
  transition: width .5s var(--ease-expo);
}
.btn--dash:hover .dash,
.btn--dash:focus-visible .dash { width: 44px; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease-out);
}
.header.is-scrolled { border-bottom-color: var(--line); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand { display: flex; flex-direction: column; gap: 1px; position: relative; z-index: 2; }
.brand__name {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--text);
}
.brand__tag {
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav__link {
  position: relative;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #3A3A37;
}

.header__cta { display: none; }

/* Botão hambúrguer (mobile) */
.menu-toggle {
  position: relative;
  z-index: 2;
  display: grid;
  place-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  margin-right: -10px;
}
.menu-toggle__bar {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text);
  transition: transform .5s var(--ease-expo);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Painel do menu mobile: desce com clip-path, links entram em sequência */
@media (max-width: 899.98px) {
  .nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: calc(var(--header-h) + 40px) var(--gutter) 40px;
    background: var(--bg);
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path .7s var(--ease-expo), visibility 0s linear .7s;
  }
  .nav.is-open {
    clip-path: inset(0 0 0 0);
    visibility: visible;
    transition: clip-path .7s var(--ease-expo), visibility 0s;
  }
  .nav__list { display: flex; flex-direction: column; }
  .nav__list li { border-bottom: 1px solid var(--line); }
  .nav__list li:first-child { border-top: 1px solid var(--line); }
  .nav__link {
    display: block;
    padding: 18px 0;
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--text);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .5s var(--ease-out), transform .6s var(--ease-expo);
  }
  .nav.is-open .nav__link { opacity: 1; transform: none; }
  .nav.is-open li:nth-child(1) .nav__link { transition-delay: .15s; }
  .nav.is-open li:nth-child(2) .nav__link { transition-delay: .21s; }
  .nav.is-open li:nth-child(3) .nav__link { transition-delay: .27s; }
  .nav.is-open li:nth-child(4) .nav__link { transition-delay: .33s; }
  .nav__cta { width: 100%; }
}

@media (min-width: 900px) {
  .menu-toggle, .nav__cta { display: none; }
  .header__cta { display: inline-flex; }
  .nav__list { display: flex; gap: clamp(32px, 3.4vw, 52px); }
  .nav { position: absolute; left: 50%; transform: translateX(-50%); }
  /* Sublinhado fino no hover */
  .nav__link::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -6px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .5s var(--ease-expo);
  }
  .nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
}

/* =========================================================
   1. HERO
   ========================================================= */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 56px;
  overflow: hidden;
  isolation: isolate;
}

/* Mobile: foto ocupa a metade de baixo; degradê de cima (off-white) para baixo (transparente) */
.hero__media {
  position: absolute;
  inset: 34% 0 0 0;
  z-index: -1;
  overflow: hidden;
}
.hero__img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: 60% center;
  will-change: transform;
}
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg) 0%, rgba(248, 245, 240, .82) 38%, rgba(248, 245, 240, .35) 75%, rgba(248, 245, 240, .15) 100%);
}

.hero__content { position: relative; }

.hero__eyebrow { color: #3A3A37; }
.hero__eyebrow::after {
  content: '';
  display: block;
  width: 72px;
  height: 1px;
  margin-top: 16px;
  background: #A9A69F;
}

.hero__title {
  margin-top: 26px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 4.7vw, 72px);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--green);
}

.hero__text {
  max-width: 420px;
  margin-top: 22px;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.65;
  color: #3A3A37;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero__actions .btn { padding-inline: 22px; }
.hero__actions .btn--outline { background: rgba(248, 245, 240, .6); }
.hero__actions .btn--outline:hover { background: var(--text); }

.qr-card {
  display: flex;
  align-items: center;
  gap: 22px;
  width: fit-content;
  max-width: 100%;
  margin-top: 24px;
  padding: 16px 28px 16px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
  transition: border-color .4s var(--ease-out), transform .5s var(--ease-expo);
}
.qr-card:hover { border-color: var(--green); }
.qr-card__code {
  flex: none;
  width: 72px;
  height: 72px;
}
.qr-card__code img,
.qr-card__code canvas { width: 72px !important; height: 72px !important; }
.qr-card__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  line-height: 1.5;
  color: #4A4A46;
}
.qr-card__text strong { margin-bottom: 4px; font-weight: 600; color: var(--green); }

/* Indicador "SCROLL" vertical */
.scroll-hint {
  position: absolute;
  right: var(--gutter);
  bottom: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.scroll-hint__label {
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #4A4A46;
}
.scroll-hint__line {
  position: relative;
  width: 1px;
  height: 64px;
  overflow: hidden;
  background: rgba(26, 26, 26, .15);
}
.scroll-hint__line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--text);
  transform: translateY(-100%);
  animation: scroll-line 2.2s var(--ease-expo) infinite;
}
@keyframes scroll-line {
  0% { transform: translateY(-100%); }
  55% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

@media (min-width: 768px) {
  .hero {
    justify-content: center;
    padding-top: calc(var(--header-h) + 64px);
    padding-bottom: 80px;
  }
  /* Desktop: foto à direita; degradê da esquerda (opaco) para a direita (transparente) */
  .hero__media { inset: var(--header-h) 0 0 30%; }
  .hero__media::after {
    background: linear-gradient(to right, var(--bg) 0%, rgba(248, 245, 240, .88) 22%, rgba(248, 245, 240, .45) 48%, rgba(248, 245, 240, 0) 78%);
  }
  .hero__img { object-position: center; }
  .scroll-hint { display: flex; }
}

/* =========================================================
   2. APRESENTAÇÃO
   ========================================================= */
.intro { padding-bottom: 0; }

.intro__top {
  display: grid;
  gap: 40px;
}
.intro__text {
  display: grid;
  gap: 28px;
  max-width: 600px;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.85;
  color: #3F3F3B;
}

.services {
  display: grid;
  margin-top: clamp(72px, 9vw, 120px);
  border-top: 1px solid var(--text);
}
.service {
  position: relative;
  padding: 44px 0 52px;
  border-bottom: 1px solid var(--line);
}
.service:last-child { border-bottom: 0; }
.service__num {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--serif);
  font-size: 15px;
  color: #A9A69F;
}
/* Traço curto à direita do número: estica no hover */
.service__num::after {
  content: '';
  width: 32px;
  height: 1px;
  background: #BDB9B1;
  transition: width .6s var(--ease-expo), background-color .4s var(--ease-out);
}
.service__title {
  margin-top: 40px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.1vw, 30px);
  line-height: 1.25;
  color: var(--text);
  transition: color .4s var(--ease-out);
}
.service__desc {
  max-width: 260px;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.service:hover .service__num::after { width: 64px; background: var(--green); }
.service:hover .service__title { color: var(--green); }

.band {
  margin-top: 0;
  border-block: 1px solid var(--line);
}
.band__text {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 26px;
  padding: 22px var(--gutter);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  text-align: center;
  color: #3A3A37;
}
.band__dot { color: #A9A69F; }

@media (max-width: 599.98px) {
  .band__text { flex-direction: column; gap: 8px; }
  .band__dot { display: none; }
}

@media (min-width: 768px) {
  .intro__top {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .intro__text { padding-top: 0; }
  .services { grid-template-columns: repeat(3, 1fr); }
  .service {
    padding: 52px 40px 64px;
    border-bottom: 0;
    border-left: 1px solid var(--line);
  }
  .service:first-child { padding-left: 0; border-left: 0; }
  .service__num { padding-right: 0; }
}

/* =========================================================
   3. PROJETOS
   ========================================================= */
.projects { border-top: 0; }

.projects__head {
  display: grid;
  gap: 24px;
  align-items: end;
}
.projects__lead {
  max-width: 360px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* Grid editorial: 2 colunas no mobile, 4 no desktop, gap de 2px */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 44vw;
  grid-auto-flow: dense;
  gap: 2px;
  margin-top: clamp(48px, 7vw, 88px);
}
.gallery__item { position: relative; min-width: 0; }
.gallery__item.is-big { grid-column: span 2; grid-row: span 2; }
.gallery__item.is-wide { grid-column: span 2; }
.gallery__item.is-tall { grid-row: span 2; }

.gallery__btn {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #E4DFD7;
}
.gallery__btn:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
.gallery__media,
.gallery__media img { display: block; width: 100%; height: 100%; }
.gallery__media img {
  object-fit: cover;
  transition: transform 1.1s var(--ease-expo);
}
.gallery__btn:hover img,
.gallery__btn:focus-visible img { transform: scale(1.05); }

.projects__cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(56px, 7vw, 88px);
}
.projects__cta .btn { width: 100%; max-width: 346px; }

@media (min-width: 768px) {
  .projects__head { grid-template-columns: 1fr auto; }
  .projects__lead { text-align: right; padding-bottom: 10px; }

  /* Posição explícita de cada foto (variáveis --c e --r no HTML): nenhum espaço vazio */
  .gallery {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: clamp(180px, 21vw, 320px);
    grid-auto-flow: row;
  }
  .gallery__item,
  .gallery__item.is-big,
  .gallery__item.is-wide,
  .gallery__item.is-tall { grid-column: var(--c); grid-row: var(--r); }
}

/* =========================================================
   4. NOSSO CUIDADO
   ========================================================= */
.care { padding-top: clamp(40px, 6vw, 80px); }

.care__grid {
  display: grid;
  gap: 88px;
}

.care__figure { position: relative; }
.care__media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #E4DFD7;
}
.care__media img { width: 100%; height: 100%; object-fit: cover; }
/* Moldura de linha fina branca por dentro da foto */
.care__media::after {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, .7);
  pointer-events: none;
}

.care__quote {
  position: absolute;
  right: -1px;
  bottom: -56px;
  width: min(62%, 200px);
  padding: 24px 22px 26px;
  background: var(--bg);
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.3;
  color: var(--text);
}
.care__quote::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  margin-top: 18px;
  background: #BDB9B1;
}

.care__text {
  display: grid;
  gap: 24px;
  margin-top: clamp(36px, 4vw, 56px);
  font-size: 16px;
  line-height: 1.85;
  color: #3F3F3B;
}

.signature {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.signature__photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.signature__text { display: flex; flex-direction: column; gap: 2px; }
.signature__name { font-family: var(--serif); font-size: 20px; line-height: 1.2; }
.signature__role {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (min-width: 768px) {
  .care__grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 4.5vw, 80px);
    align-items: start;
  }
  /* Card da citação passa da borda direita da foto */
  .care__quote { right: -40px; bottom: -32px; width: 180px; }
  .care__content { padding-top: 8px; }
}

/* =========================================================
   5. CONTATO
   ========================================================= */
.contact {
  display: grid;
  background: var(--dark);
  color: #F2EFEA;
}
.contact__panel { padding: 88px var(--gutter); }
.contact__inner { max-width: 560px; }

.contact__lead {
  max-width: 440px;
  margin-top: 26px;
  font-size: 15px;
  line-height: 1.75;
  color: #B4B1AB;
}

.form { margin-top: clamp(48px, 5.5vw, 72px); }
.form__row { display: grid; gap: 0 32px; }
.field { position: relative; margin-bottom: 36px; }
.field__label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #9A9A95;
}
/* Inputs só com linha inferior; a linha clareia no foco */
.field__input {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 10px 0 14px;
  border: 0;
  border-bottom: 1px solid #3A3A38;
  border-radius: 0;
  background: transparent;
  color: #F2EFEA;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.4;
  transition: border-color .4s var(--ease-out);
}
.field__input::placeholder { color: #5E5E5A; opacity: 1; }
.field__input:hover { border-bottom-color: #5A5A56; }
.field__input:focus { outline: none; border-bottom-color: #E8E4DD; }
.field__input:focus-visible { outline: none; }
.field__input--area { min-height: 92px; resize: none; }
.field__input[aria-invalid="true"] { border-bottom-color: #E0907E; }
.field__error {
  display: block;
  min-height: 0;
  margin-top: 6px;
  font-size: 12px;
  color: #E9A898;
}
.field__error:empty { display: none; }

.form .btn--block { margin-top: 20px; }
.form .btn--light:focus-visible { outline-color: var(--bg); }
.form__note {
  margin-top: 18px;
  font-size: 11px;
  line-height: 1.6;
  color: #7E7C77;
}

.contact__media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}
.contact__media picture { position: absolute; inset: 0; }
.contact__img {
  width: 100%;
  height: 116%;
  margin-top: -8%;
  object-fit: cover;
  will-change: transform;
}
/* Foto escurecida */
.contact__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(18, 18, 18, .35), rgba(18, 18, 18, .55));
  pointer-events: none;
}
.contact__quote {
  position: absolute;
  z-index: 1;
  left: var(--gutter);
  right: var(--gutter);
  bottom: var(--gutter);
  max-width: 312px;
  padding: 28px 24px 26px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(18, 18, 18, .28);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.contact__quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  line-height: 1.35;
  color: #F2EFEA;
}
.contact__quote footer {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #BDB9B1;
}
.contact__quote .dash { width: 40px; background: rgba(255, 255, 255, .35); }

@media (min-width: 600px) {
  .form__row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .contact { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .contact__panel {
    padding: clamp(96px, 11vw, 150px) clamp(32px, 4.4vw, 64px) clamp(72px, 8vw, 110px);
    border-right: 1px solid #2A2A28;
  }
  .contact__inner { margin-left: 0; width: 100%; }
  .contact__media { min-height: 100%; }
  .contact__quote { left: 40px; right: auto; bottom: 40px; width: calc(100% - 80px); }
}

@media (min-width: 1200px) {
  .contact { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
}

@media (min-width: 1440px) {
  /* Alinha a coluna do formulário com o container do site */
  .contact__panel { padding-left: max(64px, calc((100vw - var(--max)) / 2)); }
  .contact__inner { margin-left: 0; }
}

/* =========================================================
   RODAPÉ
   ========================================================= */
.footer {
  background: var(--dark);
  color: #CFCBC4;
  border-top: 1px solid #2A2A28;
}
.footer__cols {
  display: grid;
  gap: 40px;
  padding-block: 64px 56px;
}
.footer__brand {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #F2EFEA;
}
.footer__title {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #85837E;
}
.footer__text {
  margin-top: 18px;
  max-width: 260px;
  font-size: 14px;
  line-height: 1.6;
  color: #BDB9B1;
}
.footer__text + .footer__text { margin-top: 8px; }
.footer__text--muted { color: #8C8A85; }
.footer__link { color: #E8E4DD; transition: color .3s var(--ease-out); }
.footer__link:hover { color: var(--sage); }
.footer__link:focus-visible { outline-color: #E8E4DD; }

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-block: 32px 48px;
  border-top: 1px solid #2A2A28;
  font-size: 12px;
  color: #77756F;
}
.footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .footer__cols { grid-template-columns: 1.15fr .8fr 1fr; gap: 48px; padding-block: 72px 64px; }
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(14, 14, 14, .96);
  color: #F2EFEA;
  opacity: 0;
  transition: opacity .4s var(--ease-out), overlay .4s allow-discrete, display .4s allow-discrete;
}
.lightbox[open] { opacity: 1; }
@starting-style { .lightbox[open] { opacity: 0; } }
.lightbox::backdrop { background: transparent; }

.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 100%;
  padding: 72px 16px 96px;
}
.lightbox__img {
  max-width: 100%;
  max-height: calc(100dvh - 230px);
  width: auto;
  height: auto;
  object-fit: contain;
}
.lightbox__caption {
  max-width: 640px;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  color: #A9A69F;
}

.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .2);
  color: #F2EFEA;
  transition: border-color .3s var(--ease-out), background-color .3s var(--ease-out);
}
.lightbox__btn:hover { border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .06); }
.lightbox__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev,
.lightbox__next { bottom: 24px; }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }

@media (min-width: 768px) {
  .lightbox__figure { padding: 64px 104px 40px; }
  .lightbox__img { max-height: calc(100dvh - 140px); }
  .lightbox__close { top: 24px; right: 24px; }
  .lightbox__prev,
  .lightbox__next { top: 50%; bottom: auto; transform: translateY(-50%); }
  .lightbox__prev { left: 32px; }
  .lightbox__next { right: 32px; }
}

/* =========================================================
   ANIMAÇÕES DE ENTRADA (só com JS ativo)
   ========================================================= */
/* Fade + subida de 20px, com atraso definido pelo JS (stagger) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-expo);
  transition-delay: var(--delay, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Títulos: cada linha sobe por trás da máscara */
.js [data-split] .line > span {
  transform: translateY(105%);
  transition: transform 1.2s var(--ease-expo);
  transition-delay: var(--delay, 0s);
}
.js [data-split].is-in .line > span { transform: none; }

/* Imagens: revelação com clip-path de baixo para cima */
.js [data-clip] {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.3s var(--ease-expo);
  transition-delay: var(--delay, 0s);
}
.js [data-clip].is-in { clip-path: inset(0 0 0 0); }

/* Movimento reduzido: tudo aparece de imediato, sem parallax nem linha animada */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal],
  .js [data-split] .line > span { opacity: 1; transform: none; }
  .js [data-clip] { clip-path: none; }
  .scroll-hint__line::after { transform: none; }
}
