/* =========================================================
   Elis Lima · link na bio
   Paleta: branco, preto, cinza, marrom, areia, dourado suave
   Tipografia: Bodoni Moda (serif itálico) + Urbanist (sans fina arredondada)
   ========================================================= */

@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/bodoni-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/bodoni-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+1E00-1E9F, U+1EF2-1EFF, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 200 500;
  font-display: swap;
  src: url('../fonts/urbanist-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 200 500;
  font-display: swap;
  src: url('../fonts/urbanist-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+1E00-1E9F, U+1EF2-1EFF, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* superfícies */
  --paper:      #FAF7F2;
  --sand:       #EDE5D8;
  --sand-deep:  #E2D6C3;
  --ink:        #171310;
  --ink-soft:   #241E19;
  /* texto */
  --brown:      #5C4F41;
  --grey:       #6A6155;   /* AA sobre papel (5.69:1) e sobre areia (4.86:1) */
  --gold:       #7C601F;   /* dourado escuro: AA em rótulos pequenos (5.54:1 no papel) */
  --gold-warm:  #B08D3F;   /* dourado de marca, só em áreas grandes/decorativas */
  --gold-light: #D9BC79;   /* dourado sobre fundo escuro (10:1) */

  --serif: 'Bodoni Moda', Didot, 'Times New Roman', serif;
  --sans:  'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --pad: clamp(1.25rem, 5vw, 4.5rem);
  --maxw: 84rem;
  --ease: cubic-bezier(.22, 1, .36, 1);

  /* variáveis do grid 3D */
  --perspective: 1500px;
  --grid-item-ratio: 1.4;
  --grid-width: 100%;
  --grid-height: auto;
  --grid-gap: 2vw;
  --grid-columns: 4;
  --grid-inner-scale: 1;
}

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

html {
  -webkit-text-size-adjust: 100%;
  /* clip (e não hidden) evita que o grid 3D crie rolagem horizontal */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--brown);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  touch-action: manipulation;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }

a { color: inherit; }

::selection { background: var(--gold-light); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: .75rem; left: .75rem;
  z-index: 999;
  padding: .75rem 1.1rem;
  background: var(--ink);
  color: var(--paper);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .25s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- tipografia base ---------- */

.kicker,
.eyebrow {
  margin: 0;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow--light { color: var(--gold-light); }

.section-title {
  margin: .6rem 0 0;
  text-wrap: balance;
  font-family: var(--sans);
  font-weight: 200;
  font-size: clamp(2rem, 6.2vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
}
.section-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--brown);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: end;
  padding: calc(var(--pad) * 1.2) var(--pad) calc(var(--pad) * 1.4);
  overflow: hidden;
  background: var(--sand);
}

.hero__media { position: absolute; inset: 0; }
.hero__media picture { display: contents; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  transform: scale(1.06);
}
/* degradê direcional: escurece só a base onde o texto vive, mantendo o rosto limpo */
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top,
      rgba(23,19,16,.96) 0%,
      rgba(23,19,16,.92) 16%,
      rgba(23,19,16,.74) 32%,
      rgba(23,19,16,.34) 48%,
      rgba(23,19,16,.06) 64%,
      rgba(23,19,16,0) 78%);
}
@media (min-width: 56em) {
  .hero__veil {
    background:
      linear-gradient(to top, rgba(23,19,16,.92) 0%, rgba(23,19,16,.55) 30%, rgba(23,19,16,0) 62%),
      linear-gradient(to right, rgba(23,19,16,.82) 0%, rgba(23,19,16,.4) 32%, rgba(23,19,16,0) 60%);
  }
}

.hero__content { position: relative; max-width: 40rem; }

.hero .kicker { color: var(--gold-light); }

.display {
  margin: 1rem 0 0;
  text-wrap: balance;
  font-weight: 200;
  line-height: .98;
  letter-spacing: -.03em;
  color: var(--paper);
  font-size: clamp(2.4rem, 10.2vw, 6.4rem);
}
.display__thin,
.display__serif { display: block; }
.display__serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: -.015em;
  padding-left: .06em;
}

.hero__lede {
  margin: 1.1rem 0 0;
  max-width: 30rem;
  font-size: clamp(.94rem, 2.4vw, 1.12rem);
  line-height: 1.6;
  color: rgba(250, 247, 242, .88);
}

.hero__cta { margin-top: 1.9rem; }

.hero__scroll {
  position: absolute;
  right: var(--pad);
  bottom: calc(var(--pad) * 1.4);
  width: 1px; height: 4.5rem;
  background: rgba(250, 247, 242, .25);
  overflow: hidden;
}
.hero__scroll-line {
  position: absolute; inset: 0;
  background: var(--gold-light);
  transform-origin: top;
  animation: scrollcue 2.4s var(--ease) infinite;
}
@keyframes scrollcue {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =========================================================
   SERVIÇOS
   ========================================================= */

.services {
  position: relative;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(4.5rem, 12vw, 9rem) var(--pad) clamp(3.5rem, 9vw, 7rem);
}

.section-head { max-width: 34rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }

.svc { list-style: none; margin: 0; padding: 0; }

.svc__row { border-top: 1px solid var(--sand-deep); }
.svc__row:last-child { border-bottom: 1px solid var(--sand-deep); }

.svc__link {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: clamp(.9rem, 3vw, 2rem);
  width: 100%;
  padding: clamp(1.5rem, 4vw, 2.3rem) 0;
  background: none;
  border: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: transform .5s var(--ease);
}
.svc__link::after {
  content: '';
  position: absolute;
  left: -100vw; right: -100vw; top: 0; bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(226, 214, 195, .35), transparent);
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
  z-index: -1;
}
@media (hover: hover) {
  .svc__link:hover { transform: translateX(clamp(.5rem, 2vw, 1.4rem)); }
  .svc__link:hover::after { opacity: 1; }
}
.svc__link:active { transform: scale(.995); }

.svc__num {
  font-size: .72rem;
  letter-spacing: .18em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  padding-top: .55rem;
  min-width: 1.9rem;
}

.svc__title {
  display: block;
  font-size: clamp(1.35rem, 5.2vw, 2.15rem);
  font-weight: 200;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--ink);
}
.svc__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--brown);
  transition: color .35s var(--ease);
}
@media (hover: hover) {
  .svc__link:hover .svc__title em { color: var(--gold); }
}

.svc__desc {
  display: block;
  margin-top: .5rem;
  max-width: 34rem;
  font-size: clamp(.9rem, 2.2vw, .98rem);
  line-height: 1.55;
  color: var(--grey);
}

/* a lista divide o espaço com a área visual, então título e descrição empilham
   em todas as larguras: duas colunas dentro de 53% ficariam estreitas demais */

.svc__cue {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding-top: .5rem;
  color: var(--brown);
}
.svc__cue-label {
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(.5rem);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.svc__cue svg { transition: transform .45s var(--ease); }
@media (hover: hover) {
  .svc__link:hover .svc__cue-label { opacity: 1; transform: translateX(0); }
  .svc__link:hover .svc__cue svg { transform: translateX(.35rem); }
}
@media (max-width: 47.9em) {
  .svc__cue-label { display: none; }
  .svc__cue svg { opacity: .5; }
}

/* =========================================================
   ÁREA VISUAL DE CADA FRENTE (stage)
   Sem JS: aberta e legível. Com JS: acordeão no mobile,
   painel lateral fixo no desktop.
   ========================================================= */

.stage {
  overflow: hidden;
  padding-bottom: 1.6rem;
}
.js .stage {
  display: grid;
  grid-template-rows: 0fr;
  padding-bottom: 0;
  transition: grid-template-rows .6s var(--ease);
}
.js .svc__row.is-open .stage { grid-template-rows: 1fr; }
/* o respiro embaixo entra junto com o conteúdo, sem animar padding */
.js .stage__inner::after {
  content: '';
  display: block;
  height: 1.9rem;
}
/* fechado fica invisível: sai da ordem de tabulação e dos leitores de tela
   sem precisar gerenciar tabindex na mão */
.js .stage__inner {
  min-height: 0;
  visibility: hidden;
  transition: visibility .6s var(--ease);
}
.js .svc__row.is-open .stage__inner { visibility: visible; }

.stage__viz {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  background: linear-gradient(150deg, var(--sand) 0%, var(--sand-deep) 100%);
  overflow: hidden;
}

.stage__frame {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--ink-soft);
  box-shadow: 0 26px 50px -28px rgba(23, 19, 16, .65);
}
.stage__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }

/* composição em camadas: peça principal, apoio e prova social */
.stage__frame--main  { left: 3%;  top: 6%;    width: 64%; height: 56%; z-index: 2; }
.stage__frame--side  { right: 3%; top: 20%;   width: 29%; height: 54%; z-index: 3; }
.stage__frame--proof { left: 5%;  bottom: 5%; width: 50%; height: auto; z-index: 4; }
.stage__frame--proof img { height: auto; object-fit: contain; }

/* ---------- baralho de imagens que se revezam (Mentoria) ---------- */
.stage__viz--deck { position: relative; }

.deck {
  position: absolute;
  right: 4%;
  top: 13%;
  width: 39%;
  aspect-ratio: 4 / 5;
  z-index: 2;
}
.deck__item {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink-soft);
  box-shadow: 0 26px 48px -26px rgba(23, 19, 16, .7);
  will-change: transform;
}
.deck__item img { width: 100%; height: 100%; object-fit: cover; }

/* sem JS as cartas ficam escalonadas em leque, só a da frente legendada */
.deck__item:nth-child(2) { transform: translate(-6%, -5%) scale(.93) rotate(2.5deg); z-index: -1; }
.deck__item:nth-child(3) { transform: translate(-12%, -9%) scale(.86) rotate(5deg); z-index: -2; }
.deck__item:not(:first-child) .deck__cap { opacity: 0; }

.deck__cap {
  position: absolute;
  left: 6%;
  top: 6%;
  max-width: 88%;
  padding: .4rem .65rem;
  border-radius: 4px;
  background: rgba(250, 247, 242, .94);
  color: var(--ink);
  font-size: clamp(.62rem, 1.5vw, .72rem);
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.25;
}
.deck__cap span {
  display: block;
  margin-top: .15rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: .95em;
  letter-spacing: 0;
  text-transform: none;
  color: var(--brown);
}

/* mural de provas sociais: baralho menor, no espaço livre acima da prova principal */
.deck--proof {
  left: 2%;
  right: auto;
  top: 3%;
  width: 46%;
  aspect-ratio: 66 / 42;
  z-index: 3;
}
.deck--proof .deck__item { border-radius: 6px; }

/* nesta frente a prova social fica fixa, sem entrar no revezamento.
   No celular ela ganha mais área para o texto da conversa continuar legível. */
.stage__viz--deck { aspect-ratio: 1 / 1; }
.stage__viz--deck .stage__frame--proof {
  left: 2%;
  bottom: 4%;
  width: 58%;
  z-index: 4;
}
.stage__viz--deck .deck { right: 2%; top: 8%; width: 46%; }

@media (min-width: 62em) {
  /* no desktop a prova social fica 15% menor que o quadro principal das outras frentes */
  .stage__viz--deck { aspect-ratio: 5 / 4; }
  .stage__viz--deck .stage__frame--proof { left: 2%; bottom: 5%; width: 48%; }
  .stage__viz--deck .deck { right: 3%; top: 10%; width: 44%; }
  .stage__viz--deck .deck--proof { left: 2%; right: auto; top: 4%; width: 42%; }
}

/* Frentes com prints de sistema (CRM, fluxos, painéis): quadro horizontal para a
   captura caber INTEIRA, sem cortar nada da tela. */
.deck--wide { aspect-ratio: 5 / 4; }
.stage__viz--wide .deck { right: 2%; top: 4%; width: 70%; }
.stage__viz--wide .stage__frame--proof { left: 2%; bottom: 4%; width: 54%; }
.stage__viz--wide .deck__cap { top: 5%; left: 5%; }

@media (min-width: 62em) {
  .stage__viz--wide .deck { right: 3%; top: 6%; width: 66%; }
  .stage__viz--wide .stage__frame--proof { left: 2%; bottom: 5%; width: 48%; }
}

/* Palestras: foto do palco à esquerda e a mensagem do organizador à direita */
#stage-palestras .stage__frame--main  { left: 3%;  top: 6%;    width: 40%; height: 82%; }
#stage-palestras .stage__frame--proof { right: 3%; left: auto; top: 16%; bottom: auto; width: 52%; }
#stage-palestras .stage__frame--main img { object-position: 50% 12%; }
@media (min-width: 62em) {
  #stage-palestras .stage__frame--main  { width: 38%; height: 80%; top: 8%; }
  #stage-palestras .stage__frame--proof { top: 22%; width: 51%; }
}

.stage__quote {
  position: absolute;
  left: 8%; bottom: 8%;
  z-index: 4;
  max-width: 54%;
  margin: 0;
  padding: .85rem 1.05rem;
  border-radius: 6px;
  background: var(--paper);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(.88rem, 2.6vw, 1rem);
  line-height: 1.35;
  color: var(--ink);
  box-shadow: 0 20px 40px -22px rgba(23, 19, 16, .55);
}

.stage__word {
  position: absolute;
  right: 4%; bottom: 4%;
  z-index: 5;
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.7rem, 7vw, 2.6rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink);
  text-shadow: 0 2px 18px rgba(250, 247, 242, .9);
}

.stage__line {
  margin: 1.1rem 0 0;
  font-size: clamp(.92rem, 2.4vw, 1rem);
  color: var(--brown);
}

.stage__cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 48px;
  margin-top: 1rem;
  padding: .7rem 1.4rem;
  border: 1px solid var(--ink);
  border-radius: 100px;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 400;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.stage__cta:hover { background: var(--ink); color: var(--paper); }
.stage__cta:active { transform: scale(.97); }
.stage__cta svg { transition: transform .35s var(--ease); }
.stage__cta:hover svg { transform: translateX(.25rem); }

/* ---------- desktop: lista à esquerda, área visual fixa à direita ---------- */
@media (min-width: 62em) {
  .svc { position: relative; }
  .svc__row { width: 53%; }

  .js .stage {
    position: absolute;
    top: 0; right: 0;
    width: 43%;
    /* o percurso do sticky termina no fim deste bloco. Sem a folga extra, a
       última frente abre com o painel já cortado no topo da tela. */
    height: calc(100% + 34rem);
    /* o overflow:hidden do acordeão mobile criaria um contexto de scroll aqui
       e o sticky nunca grudaria — no desktop ele precisa ficar visível */
    overflow: visible;
    display: block;
    grid-template-rows: none;
    padding-bottom: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .5s var(--ease), visibility .5s var(--ease);
  }
  .js .svc__row.is-open .stage {
    opacity: 1;
    visibility: visible;
    padding-bottom: 0;
  }
  .js .stage__inner {
    position: sticky;
    top: max(6vh, 3rem);
    padding-top: 1rem;
  }
  .js .stage__cta { pointer-events: auto; }

  .stage__viz { aspect-ratio: 5 / 4; border-radius: 12px; }
  .stage__word { font-size: clamp(1.7rem, 2.4vw, 2.4rem); }
  .stage__line { margin-top: 1.3rem; }

  /* sem JS a área visual volta para o fluxo, abaixo do item */
  .svc__row:not(.is-open) .stage { }
}

@media (min-width: 62em) {
  .svc__body { padding-right: 1rem; }
}
/* =========================================================
   SHOWCASE 3D
   ========================================================= */

.showcase {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: center;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(4rem, 10vw, 7rem) 0;
  overflow: hidden;
}

/* tipo e grid dividem a mesma célula: o texto fica por cima das imagens */
.showcase > * { grid-area: 1 / 1; }

.showcase__type {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: clamp(2rem, 6vw, 3.5rem) var(--pad);
  text-align: center;
  pointer-events: none;
  isolation: isolate;
}
/* scrim suave para o texto vencer os cartões que passam atrás */
.showcase__type::before {
  content: '';
  position: absolute;
  inset: 0 -5%;
  z-index: -1;
  background: radial-gradient(60% 70% at 50% 50%,
    rgba(23, 19, 16, .95) 0%,
    rgba(23, 19, 16, .88) 45%,
    rgba(23, 19, 16, .55) 70%,
    rgba(23, 19, 16, 0) 100%);
}
.showcase__type .eyebrow { margin-bottom: 1.1rem; }

.showcase__line {
  margin: 0;
  text-wrap: balance;
  max-width: 18ch;
  margin-inline: auto;
  font-size: clamp(1.75rem, 6.6vw, 4rem);
  font-weight: 200;
  line-height: 1.06;
  letter-spacing: -.03em;
  color: var(--paper);
  text-shadow: 0 2px 30px rgba(23, 19, 16, .85);
}
.showcase__line--em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  max-width: 22ch;
  color: var(--gold-light);
}

.showcase__p {
  max-width: 46ch;
  margin: 1.6rem auto 0;
  font-size: clamp(.95rem, 2.3vw, 1.05rem);
  line-height: 1.72;
  text-wrap: pretty;
  color: rgba(250, 247, 242, .82);
}
.showcase__p--em {
  margin-top: 1rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 3vw, 1.3rem);
  color: var(--gold-light);
}

/* nomes das ferramentas: acessível e serve de legenda do mural */
.showcase__names {
  position: relative;
  z-index: 2;
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.4rem;
  margin: 0;
  padding: 0 var(--pad);
  list-style: none;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, .58);
  pointer-events: none;
}

.grid {
  display: grid;
  place-items: center;
  padding: 2rem 0;
  width: 100%;
  perspective: var(--perspective);
}
.grid-wrap {
  height: var(--grid-height);
  width: var(--grid-width);
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), 1fr);
  gap: var(--grid-gap);
  transform-style: preserve-3d;
}
/* cada tile é um cartão claro com a logo oficial da ferramenta */
.grid__item {
  aspect-ratio: var(--grid-item-ratio);
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--paper);
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .9);
  will-change: transform;
}
.grid__item-inner {
  display: block;
  width: calc(1 / var(--grid-inner-scale) * 62%);
  height: calc(1 / var(--grid-inner-scale) * 62%);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 50% 50%;
}

/* =========================================================
   SOBRE
   ========================================================= */

.about {
  display: grid;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
  padding: clamp(4.5rem, 12vw, 9rem) var(--pad);
  background: var(--sand);
}
@media (min-width: 56em) {
  .about {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    /* mantém o fundo areia sangrando, mas segura o conteúdo na largura máxima */
    padding-inline: max(var(--pad), (100vw - var(--maxw)) / 2);
  }
}

.about__media { margin: 0; overflow: hidden; border-radius: 3px; }
.about__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

.about__p {
  margin: 1.4rem 0 0;
  max-width: 36rem;
  font-size: clamp(.97rem, 2.3vw, 1.05rem);
  line-height: 1.75;
}

.about__list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: .1rem;
}
.about__list li {
  padding: .95rem 0;
  border-top: 1px solid var(--sand-deep);
  font-size: .95rem;
  color: var(--grey);
}
.about__list li:last-child { border-bottom: 1px solid var(--sand-deep); }
.about__list span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--ink);
  margin-right: .35rem;
}

/* =========================================================
   CTA FINAL
   ========================================================= */

.final {
  padding: clamp(5rem, 13vw, 9.5rem) var(--pad);
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}
.final__title {
  margin: .7rem auto 0;
  text-wrap: balance;
  max-width: 20ch;
  font-size: clamp(2.1rem, 8vw, 4.2rem);
  font-weight: 200;
  line-height: 1.06;
  letter-spacing: -.03em;
}
.final__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-light);
}
.final__p {
  margin: 1.3rem auto 2.6rem;
  max-width: 34rem;
  color: rgba(250, 247, 242, .72);
}

/* ---------- botão ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-height: 56px;
  padding: 1rem 2.1rem;
  border: 0;
  border-radius: 100px;
  background: var(--gold-light);
  color: var(--ink);
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 400;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn > * { position: relative; z-index: 1; }
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--paper);
  transform: translateY(101%);
  transition: transform .45s var(--ease);
}
@media (hover: hover) {
  .btn:hover { box-shadow: 0 18px 40px -18px rgba(217, 188, 121, .65); }
  .btn:hover::before { transform: translateY(0); }
}
.btn:active { transform: scale(.97); }

.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark::before { background: var(--gold-light); }
@media (hover: hover) {
  .btn--dark:hover { color: var(--ink); box-shadow: 0 18px 40px -20px rgba(23, 19, 16, .5); }
}

/* =========================================================
   RODAPÉ
   ========================================================= */

.foot {
  padding: clamp(2.5rem, 7vw, 4rem) var(--pad) clamp(2rem, 5vw, 3rem);
  background: var(--ink);
  color: rgba(250, 247, 242, .55);
  border-top: 1px solid rgba(250, 247, 242, .1);
  text-align: center;
  font-size: .85rem;
}
.foot__name {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--paper);
}
.foot__meta { margin: .5rem 0 1.2rem; letter-spacing: .02em; }
.foot__ig {
  margin: 0;
  color: var(--gold-light);
  letter-spacing: .1em;
}

/* =========================================================
   PAINÉIS DE DETALHE
   ========================================================= */

/* o atributo hidden precisa vencer os display: grid/block abaixo */
.panel[hidden],
.panels__scrim[hidden] { display: none; }

.panels__scrim {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(23, 19, 16, .55);
  backdrop-filter: blur(6px);
  opacity: 0;
}

.panel {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  align-items: end;
  overflow: hidden;
}
@media (min-width: 48em) {
  .panel { align-items: center; justify-items: end; }
}

.panel__inner {
  position: relative;
  width: 100%;
  max-height: 92svh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: clamp(2.2rem, 7vw, 3.5rem) clamp(1.4rem, 6vw, 3.4rem) clamp(2.2rem, 7vw, 3.5rem);
  background: var(--paper);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -30px 80px -30px rgba(23, 19, 16, .5);
}
@media (min-width: 48em) {
  .panel__inner {
    width: min(34rem, 92vw);
    height: 100svh;
    max-height: none;
    border-radius: 0;
    padding-top: clamp(3.5rem, 8vh, 6rem);
    box-shadow: -30px 0 80px -40px rgba(23, 19, 16, .45);
  }
}

.panel__close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--sand-deep);
  border-radius: 50%;
  background: transparent;
  color: var(--brown);
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.panel__close:hover { background: var(--ink); color: var(--paper); }
.panel__close:active { transform: scale(.92); }

.panel__eyebrow {
  margin: 0;
  font-size: .7rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
}

.panel__title {
  margin: 1rem 0 0;
  text-wrap: balance;
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 200;
  line-height: 1.12;
  letter-spacing: -.025em;
  color: var(--ink);
}
.panel__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--brown);
}

.panel__lede {
  margin: 1.2rem 0 0;
  font-size: 1rem;
  line-height: 1.72;
}

.panel__list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}
.panel__list li {
  padding: 1rem 0;
  border-top: 1px solid var(--sand-deep);
  font-size: .95rem;
  line-height: 1.55;
  color: var(--grey);
}
.panel__list li:last-child { border-bottom: 1px solid var(--sand-deep); }
.panel__list strong {
  display: block;
  margin-bottom: .2rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--ink);
}

.panel__close-arg {
  margin: 1.8rem 0 2rem;
  padding-left: 1.1rem;
  border-left: 2px solid var(--gold-light);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--ink);
}

.panel .btn { width: 100%; }

/* =========================================================
   MOTION / REVEAL
   ========================================================= */

[data-reveal] { will-change: transform, opacity; }

body.is-loading .hero__content > * { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  body.is-loading .hero__content > * { opacity: 1; }
  .hero__scroll { display: none; }
  /* sem movimento: todas as áreas visuais visíveis, em fluxo */
  .js .stage { grid-template-rows: 1fr; opacity: 1; visibility: visible; position: static; width: auto; height: auto; }
  .js .stage__inner { position: static; visibility: visible; }
  .js .svc__row { width: auto; }
  /* em fluxo a área visual não pode ocupar a largura inteira da tela */
  .stage { max-width: 34rem; }

  /* sem o movimento 3D o mural vira uma grade estática abaixo do texto */
  .showcase {
    align-content: start;
    row-gap: clamp(2rem, 6vw, 3.5rem);
    padding-block: clamp(4rem, 10vw, 7rem);
  }
  .showcase > * { grid-area: auto; }
  .showcase__type { padding-block: 0; }
  .showcase__type::before { display: none; }
  .showcase__line { text-shadow: none; }
  .grid { padding-inline: var(--pad); }
}
