/*
 * Velvar — estilos do tema.
 * Paleta, tipografia e elemento de identidade seguem o Brandbook Velvar 2024.
 */
:root {
  /* Paleta oficial — Brandbook Velvar 2024 */
  --dark: #1E1921;
  --gray: #666666;
  --beige: #C5B397;
  --beige-light: #E6E3DC;
  --stone: #DAD7D0;
  --off: #F9F9F9;

  --ink: var(--dark);
  --ink-soft: #4A4550;
  --line: rgba(30, 25, 33, .16);
  --line-inv: rgba(249, 249, 249, .16);

  --sans: "Albert Sans", system-ui, sans-serif;

  --ease: cubic-bezier(.32, .72, 0, 1);
  --wrap: 1320px;
  --gutter: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* com o Lenis ativo ele cuida da suavidade (recomendações da lib) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.menu { overscroll-behavior: contain; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--off);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--beige); color: var(--dark); }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--beige); outline-offset: 4px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.js-anim [data-reveal] { opacity: 0; }

/* ---------- Tag de seção (acima dos títulos) ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 10px; width: fit-content;
  height: 36px; margin-bottom: 28px;
  font-size: 14px; font-weight: 500; line-height: 1; text-transform: uppercase; color: var(--ink);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--beige); }
.eyebrow--inv { color: var(--off); }

/* ---------- Mídia com o entalhe da marca no topo ---------- */
/* entalhe da marca: máscara em pixels, sempre com a mesma proporção (não estica em caixas altas) */
:root { --notch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 64'%3E%3Cpath d='M0 0h28c-1.6 0-2.6 1.2-2.7 2.8l-1.9 47.4C23 58.6 19 63 14 63s-9-4.4-9.4-12.8L2.7 2.8C2.6 1.2 1.6 0 0 0z'/%3E%3C/svg%3E"); }
.notched {
  --notch-x: 80%; --notch-w: 24px; --notch-h: 56px;
  -webkit-mask-image: var(--notch), linear-gradient(#000 0 0);
  -webkit-mask-position: var(--notch-x) 0, 0 0;
  -webkit-mask-size: var(--notch-w) var(--notch-h), 100% 100%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-composite: xor;
          mask-image: var(--notch), linear-gradient(#000 0 0);
          mask-position: var(--notch-x) 0, 0 0;
          mask-size: var(--notch-w) var(--notch-h), 100% 100%;
          mask-repeat: no-repeat;
          mask-composite: exclude;
}
.media { position: relative; overflow: hidden; border-radius: 6px; }
.media img, .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 7% 32px;
  background:
    repeating-linear-gradient(135deg, rgba(197, 179, 151, .07) 0 1px, transparent 1px 14px),
    linear-gradient(180deg, #3A3340, #252029);
  color: rgba(249, 249, 249, .55); font-size: 14px;
}
.placeholder strong { display: block; color: var(--beige); font-weight: 500; font-size: 15px; }
.placeholder--light {
  background:
    repeating-linear-gradient(135deg, rgba(30, 25, 33, .06) 0 1px, transparent 1px 14px),
    var(--beige-light);
}
.placeholder--light strong { color: var(--dark); }

/* ---------- Botões ----------
   hover: uma bolha de cor nasce do ponto onde o cursor entra e cobre o botão;
   o texto rola para cima (cópia por baixo) e a seta sai e volta pela diagonal.
   pressed: o botão afunda e uma onda sai do ponto do clique.
   magnético: o botão acompanha levemente o cursor (via `translate`, não conflita com o scale). */
.btn {
  --fill: var(--beige); --fill-ink: var(--dark);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 14px;
  height: 58px; padding: 0 10px 0 28px;
  border-radius: 999px;
  font: 500 16px/1 var(--sans); letter-spacing: .005em;
  text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease), translate .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; z-index: -1;
  left: var(--x, 50%); top: var(--y, 50%);
  width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%;
  background: var(--fill);
  transform: scale(0);
  transition: transform .7s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scale(28); }
.btn:hover, .btn:focus-visible { color: var(--fill-ink); }
.btn:active { transform: scale(.95); transition-duration: .12s; }

.btn__label { position: relative; display: inline-flex; flex-direction: column; height: 1.25em; line-height: 1.25; overflow: hidden; }
.btn__label > span { transition: transform .6s var(--ease); }
/* ícone e texto saem juntos: mesma duração e curva */
.btn:hover .btn__label > span, .btn:focus-visible .btn__label > span { transform: translateY(-100%); }

.btn__icon {
  position: relative; overflow: hidden;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  transition: background-color .45s var(--ease), color .45s var(--ease), transform .45s var(--ease);
}
.btn svg { width: 16px; height: 16px; }
.btn:hover .btn__icon svg, .btn:focus-visible .btn__icon svg { animation: icon-through .6s var(--ease); }
@keyframes icon-through {
  0% { transform: none; }
  40% { transform: translate(140%, -140%); }
  41% { transform: translate(-140%, 140%); }
  100% { transform: none; }
}
.btn:active .btn__icon { transform: scale(.9); }

.btn__ripple {
  position: absolute; z-index: -1; pointer-events: none;
  width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%;
  background: currentColor; opacity: .28;
  animation: ripple .7s var(--ease) forwards;
}
@keyframes ripple { to { transform: scale(24); opacity: 0; } }

.btn--dark { background: var(--dark); color: var(--off); --fill: var(--beige); --fill-ink: var(--dark); }
.btn--dark .btn__icon { background: var(--beige); color: var(--dark); }
.btn--dark:hover .btn__icon { background: var(--dark); color: var(--beige); }
/* no painel bege do CTA o preenchimento é branco */
.cta .btn--dark { --fill: var(--off); }
.cta .btn--dark:hover .btn__icon { background: var(--dark); color: var(--off); }

.btn--beige { background: var(--beige); color: var(--dark); --fill: var(--off); --fill-ink: var(--dark); }
.btn--beige .btn__icon { background: var(--dark); color: var(--beige); }

.btn--ghost-light { padding: 0 28px; border: 1px solid rgba(249, 249, 249, .38); color: var(--off); --fill: var(--off); --fill-ink: var(--dark); }
.btn--ghost-light:hover { border-color: var(--off); }
.btn--ghost-light.btn--with-icon { padding: 0 9px 0 28px; }
.btn--ghost-light .btn__icon { border: 1px solid rgba(249, 249, 249, .38); }
.btn--ghost-light:hover .btn__icon { border-color: rgba(30, 25, 33, .25); }

/* ---------- Header ----------
   no topo: transparente sobre o vídeo. ao rolar: vira uma ilha de vidro escuro,
   arredondada e destacada do topo. some ao descer e volta ao subir. */
.header {
  --hx: cubic-bezier(.22, 1, .36, 1); /* ease-out suave, igual para todas as partes */
  position: fixed; inset: 0 0 auto; z-index: 50; color: var(--off);
  padding-top: 16px;
  transition: transform .6s var(--hx);
}
.header__bar {
  position: relative; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 0 8px 0 28px;
  border-radius: 999px;
}
/* a geometria do header é a mesma no topo e ao rolar: nada cresce nem se desloca.
   só o fundo da ilha (camada própria) aparece/some com um fade curto */
.header__bar::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: rgba(249, 249, 249, .86);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(30, 25, 33, .06), 0 1px 2px rgba(30, 25, 33, .06), 0 18px 44px -18px rgba(30, 25, 33, .3);
  opacity: 0;
  transition: opacity .45s ease-out;
  pointer-events: none;
}
.header__logo { position: relative; display: block; }
.header__logo img { height: 32px; width: auto; transition: opacity .45s ease-out; }
.header__logo .logo-dark { position: absolute; left: 0; top: 0; opacity: 0; }
.header.is-solid .header__bar::before { opacity: 1; }
.header.is-solid .logo-light { opacity: 0; }
.header.is-solid .logo-dark { opacity: 1; }
.header .nav a:not(.btn) { transition: color .35s ease-out; }
.header.is-solid .nav a:not(.btn) { color: var(--ink-soft); }
.header.is-solid .nav a:not(.btn):hover, .header.is-solid .nav a.is-current { color: var(--ink); }
.header .nav .btn { transition: transform .35s var(--ease), translate .45s var(--ease), color .45s ease-out, border-color .45s ease-out, background-color .45s ease-out; }
.header.is-solid .nav .btn { background: var(--dark); border-color: var(--dark); color: var(--off); --fill: var(--beige); --fill-ink: var(--dark); }
.header.is-hidden { transform: translateY(calc(-100% - 8px)); }
/* seção atual: sublinhado bege fixo */
.nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav { display: flex; align-items: center; gap: 40px; }
.nav a:not(.btn) { position: relative; font-size: 15px; font-weight: 500; text-decoration: none; color: rgba(249, 249, 249, .78); transition: color .3s var(--ease); }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--beige); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:not(.btn):hover { color: var(--off); }
.nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { height: 52px; font-size: 15px; padding: 0 24px; }

/* ---------- 1. Hero com vídeo de fundo ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 200px 0 0;
  background: var(--dark); color: var(--off);
}
.hero__media { position: absolute; inset: 0; z-index: -1; background: var(--dark); }
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.4s var(--ease);
}
.hero__video.is-active { opacity: 1; }
/* Véu para manter o texto legível sobre qualquer vídeo */
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(30, 25, 33, .55) 0%, rgba(30, 25, 33, .12) 26%, rgba(30, 25, 33, .42) 52%, rgba(30, 25, 33, .9) 82%, rgba(30, 25, 33, .96) 100%),
    linear-gradient(90deg, rgba(30, 25, 33, .62) 0%, rgba(30, 25, 33, .22) 55%, rgba(30, 25, 33, .3) 100%);
}
/* Enquanto o vídeo não existe ou não carregou */
.hero__fallback {
  position: absolute; inset: 0;
  background: var(--dark) var(--poster, none) center / cover no-repeat;
}
.hero.has-video .hero__fallback { display: none; }

.hero__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: end; padding-bottom: 72px; }
.hero h1 {
  font-size: 80px;
  line-height: 1.15; letter-spacing: -.046em; font-weight: 600;
  max-width: 733px;
}
.hero__sub { max-width: 46ch; font-size: 19px; line-height: 1.6; color: rgba(249, 249, 249, .9); text-shadow: 0 1px 14px rgba(30, 25, 33, .55); }
.hero__actions { margin-top: 36px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

.hero__bar .wrap { display: flex; justify-content: flex-start; align-items: center; height: 72px; } /* à esquerda: a direita fica para o WhatsApp flutuante */
.hero__toggle {
  display: inline-flex; align-items: center; gap: 10px;
  background: none; border: 0; padding: 0; cursor: pointer;
  font: 500 14px var(--sans); color: rgba(249, 249, 249, .75);
}
.hero__toggle:hover { color: var(--off); }
.hero__toggle svg { width: 12px; height: 12px; }
.hero:not(.has-video) .hero__toggle { visibility: hidden; }

/* ---------- 2. Onde atuamos e prova ---------- */
.field { background: var(--dark); color: var(--off); padding: 144px 0 152px; }
.field h2 { font-size: 72px; line-height: 1.02; letter-spacing: -.035em; font-weight: 600; max-width: 18ch; }

.segments { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.segments li {
  display: flex; flex-direction: column; justify-content: space-between; gap: 64px;
  min-height: 320px; padding: 36px 32px 40px;
  background: #27212B; border: 1px solid var(--line-inv); border-radius: 4px;
  transition: background-color .5s var(--ease), border-color .5s var(--ease);
}
.segments li:hover { background: #2F2934; border-color: rgba(197, 179, 151, .45); }
.segments svg { width: 48px; height: 40px; color: var(--beige); }
.segments h3 { font-size: 27px; line-height: 1.18; font-weight: 600; letter-spacing: -.02em; margin-bottom: 14px; }
.segments p { font-size: 17px; line-height: 1.55; color: rgba(249, 249, 249, .66); }

.works { margin-top: 144px; }
.works h2 { margin-bottom: 56px; max-width: 732px; }
.works__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.work .media { aspect-ratio: 4 / 3; }
/* crédito sobre a imagem (ex.: autoria do projeto arquitetônico) */
.media__credit { position: absolute; left: 16px; bottom: 16px; z-index: 1; padding: 7px 14px; border-radius: 999px; background: rgba(30, 25, 33, .74); color: var(--off); font-size: 13px; font-weight: 500; line-height: 1.2; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.work__body { margin-top: 32px; display: grid; grid-template-columns: 1fr; gap: 6px; padding-right: 4%; }
.work h3 { font-size: 30px; line-height: 1.15; font-weight: 600; letter-spacing: -.02em; }
.work__place { font-size: 15px; color: var(--beige); }
.work p { grid-column: 1 / -1; margin-top: 12px; font-size: 17px; color: rgba(249, 249, 249, .68); max-width: 52ch; }

/* ---------- 3. Como funciona ---------- */
.process { background: var(--off); padding: 152px 0; }
.process__grid { display: grid; grid-template-columns: 4fr 8fr; gap: 96px; }
.process__sticky { position: sticky; top: 64px; }
.process h2 { font-size: 50px; line-height: 1.05; letter-spacing: -.035em; font-weight: 600; }
.process__intro { margin-top: 28px; font-size: 19px; color: var(--ink-soft); max-width: 40ch; }
.process__sticky .btn { margin-top: 44px; }

.steps { list-style: none; margin: 0; padding: 0 0 0 24px; position: relative; }
/* a linha vai do centro do 1º número ao centro do último (ajustada no JS) */
.steps__track { position: absolute; left: 24px; top: 24px; bottom: 0; width: 2px; margin-left: -1px; background: #E2E0E3; border-radius: 2px; }
.steps__fill { position: absolute; inset: 0; background: var(--dark); transform-origin: top; transform: scaleY(0); border-radius: 2px; }
.step { position: relative; display: grid; grid-template-columns: 80px 1fr; padding: 0 0 120px; }
.step:last-child { padding-bottom: 0; }
.step__num {
  position: relative; z-index: 1;
  width: 48px; height: 48px; margin-left: -24px; border-radius: 50%;
  display: grid; place-items: center;
  background: #ECEBED; border: 1px solid #D4D2D6; color: #9A979D;
  font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums;
  transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease);
}
.step__body { transition: opacity .6s var(--ease); }
.js-anim .step:not(.is-active) .step__body { opacity: .3; }
.step.is-active .step__num, html:not(.js-anim) .step__num { background: var(--dark); border-color: var(--dark); color: var(--beige); }
.step.is-active .step__num { transform: scale(1.08); }
.step h3 { font-size: 36px; line-height: 1.15; font-weight: 600; letter-spacing: -.025em; padding-top: 4px; max-width: 24ch; }
.step p { margin-top: 16px; font-size: 20px; line-height: 1.6; color: var(--ink-soft); max-width: 50ch; }
.step .media { margin-top: 36px; aspect-ratio: 16 / 9; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--beige-light); font-size: 15px; font-weight: 500; color: var(--ink); }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--beige); }

/* ---------- 4. Quem é a Velvar ---------- */
.about { background: var(--stone); padding: 152px 0 160px; }
.about__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.about__intro > .media { min-height: 100%; }
.about h2 { font-size: 50px; line-height: 1.05; letter-spacing: -.035em; font-weight: 600; max-width: 525px; }
.about__text { display: grid; gap: 30px; margin-top: 32px; font-size: 19px; line-height: 1.6; color: var(--ink-soft); }
.about__intro .btn { margin-top: 40px; }

.pillars { list-style: none; margin: 24px 0 0; padding: 24px; display: grid; gap: 16px; background: var(--beige-light); border-radius: 8px; letter-spacing: -.01em; }
.pillars li { display: flex; align-items: flex-start; gap: 24px; line-height: 1.56; }
.pillars b { font-size: 19px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.pillars span { flex: 1; font-size: 18px; font-weight: 300; color: var(--ink-soft); text-align: right; }

/* ---------- 5. CTA final ---------- */
.cta { background: var(--off); padding: 152px 0 144px; }
.cta__panel {
  position: relative;
  background: var(--beige); color: var(--dark);
  border-radius: 8px;
  --notch-w: 30px; --notch-h: 72px;
  padding: 120px 96px 96px;
}
.cta h2 { font-size: 72px; line-height: 1; letter-spacing: -.045em; font-weight: 600; max-width: 9.5em; }
.cta__row { margin-top: 40px; display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: end; }
.cta__lead { font-size: 20px; line-height: 1.55; max-width: 42ch; }

.btn--xl { height: 68px; padding: 0 10px 0 32px; gap: 18px; font-size: 17px; }
.btn--xl .btn__icon { width: 48px; height: 48px; }
.btn--xl svg { width: 18px; height: 18px; }

.rail { position: relative; list-style: none; margin: 88px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.rail__line { position: absolute; top: 24px; left: 24px; height: 2px; margin-top: -1px; background: rgba(30, 25, 33, .2); border-radius: 2px; }
.rail__fill { position: absolute; inset: 0; background: var(--dark); transform-origin: left; transform: scaleX(0); border-radius: 2px; }
.rail__step { position: relative; }
.rail__node {
  position: relative; z-index: 1;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--beige); border: 1px solid rgba(30, 25, 33, .3); color: rgba(30, 25, 33, .55);
  font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums;
  transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease);
}
.rail__step p { margin-top: 24px; font-size: 17px; line-height: 1.5; max-width: 26ch; transition: opacity .5s var(--ease); }
.js-anim .rail__step:not(.is-active) p { opacity: .45; }
.rail__step.is-active .rail__node, html:not(.js-anim) .rail__node { background: var(--dark); border-color: var(--dark); color: var(--beige); }
.rail__step.is-active .rail__node { transform: scale(1.08); }

/* ---------- Footer ---------- */
.footer { position: relative; isolation: isolate; overflow: hidden; background: var(--dark); color: var(--off); padding: 152px 0 0; }
/* textura: o elemento de identidade repetido, desaparecendo para o centro */
.footer::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='72' viewBox='0 0 88 72'%3E%3Cpath fill='none' stroke='%23C5B397' stroke-width='.8' d='M6.4,2.4 H52 L54.4,28 Q56,36 60,36 Q64,36 65.6,28 L68,2.4 H81.6 Q85.6,2.4 85.2,6.4 L80.4,65.6 Q80,69.6 76,69.6 H12 Q8,69.6 7.6,65.6 L2.8,6.4 Q2.4,2.4 6.4,2.4 Z'/%3E%3C/svg%3E");
  background-size: 88px 72px;
  opacity: .07;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 100%, #000 10%, transparent 70%);
          mask-image: radial-gradient(120% 80% at 50% 100%, #000 10%, transparent 70%);
}
/* frase-assinatura do brandbook: CONSTRUÍMOS (sans) JUNTOS. (serifa) */
.footer__statement { display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: end; }
.tagline { margin: 0; font-size: 136px; line-height: .9; letter-spacing: -.04em; font-weight: 600; }
.tagline__line { display: block; overflow: hidden; padding-bottom: .06em; }
.tagline__line > span { display: inline-block; }
.tagline em { font-style: normal; color: var(--beige); }

/* selo giratório que leva ao WhatsApp */
.seal { position: relative; display: grid; place-items: center; width: 176px; height: 176px; border-radius: 50%; color: var(--off); text-decoration: none; margin-bottom: 8px; }
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: seal-spin 18s linear infinite; }
.seal__ring text { font: 600 12px var(--sans); letter-spacing: .08em; text-transform: uppercase; fill: currentColor; }
.seal__core { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: var(--beige); color: var(--dark); transition: transform .6s var(--ease), background-color .4s var(--ease); }
.seal__core svg { width: 26px; height: 26px; }
.seal:hover .seal__core { transform: scale(1.12); background: var(--off); }
.seal:hover .seal__ring { animation-duration: 6s; }

/* ---------- Parceiros ---------- */
.partners { background: var(--off); padding: 0 0 144px; }
.partners h2 { font-size: 56px; line-height: 1.05; letter-spacing: -.035em; font-weight: 600; max-width: 16em; }
.partners__list { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; }
.partners__list li { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 128px; padding: 24px 0; border-top: 1px solid var(--line); font-size: 22px; line-height: 1.25; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
/* logos nas cores de cada marca, com altura ajustada para equilibrar o peso visual */
.partners__logo img { width: auto; height: auto; max-height: var(--h, 48px); max-width: 85%; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 28px; bottom: 28px; z-index: 48;
  display: flex; align-items: center; gap: 12px;
  color: var(--dark); text-decoration: none;
  transition: opacity .4s var(--ease), transform .5s var(--ease), visibility 0s;
}
.wa-float__icon {
  position: relative; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: var(--beige);
  box-shadow: 0 10px 28px rgba(30, 25, 33, .28), 0 2px 6px rgba(30, 25, 33, .16);
  transition: transform .5s var(--ease), background-color .4s var(--ease);
}
.wa-float__icon::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  border: 1px solid var(--beige); animation: wa-pulse 2.8s var(--ease) infinite;
}
.wa-float__icon svg { width: 26px; height: 26px; }
.wa-float__label {
  padding: 10px 16px; border-radius: 999px; background: var(--dark); color: var(--off);
  font-size: 14px; font-weight: 500; white-space: nowrap;
  box-shadow: 0 8px 24px rgba(30, 25, 33, .22);
  opacity: 0; transform: translateX(8px); pointer-events: none;
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { opacity: 1; transform: none; }
.wa-float:hover .wa-float__icon { transform: scale(1.08); background: var(--off); }
.wa-float:active .wa-float__icon { transform: scale(.94); }
.wa-float:focus-visible { outline: none; }
.wa-float:focus-visible .wa-float__icon { outline: 2px solid var(--beige); outline-offset: 4px; }
/* some com o menu aberto e quando o selo de WhatsApp do rodapé está na tela */
html.menu-open .wa-float, .wa-float.is-hidden { opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s .4s; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.45); opacity: 0; } }
@media (max-width: 768px) {
  .wa-float { right: 16px; bottom: 16px; }
  .wa-float__icon { width: 56px; height: 56px; }
  .wa-float__label { display: none; }
}
@keyframes seal-spin { to { transform: rotate(360deg); } }

.footer__cols { margin-top: 112px; padding-top: 48px; border-top: 1px solid var(--line-inv); display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 64px; }
.footer__label { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: rgba(249, 249, 249, .5); }
.footer__label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--beige); }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.flink {
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  font-size: 30px; line-height: 1.25; font-weight: 500; letter-spacing: -.02em;
  color: var(--off); text-decoration: none;
  transition: color .4s var(--ease), transform .5s var(--ease);
}
.flink::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.flink svg { width: 18px; height: 18px; opacity: 0; transform: translate(-8px, 8px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.flink:hover { color: var(--beige); }
.flink:hover::after { transform: scaleX(1); transform-origin: left; }
.flink:hover svg { opacity: 1; transform: none; }
.flink small { display: block; font-size: 18px; font-weight: 400; letter-spacing: 0; color: rgba(249, 249, 249, .6); }
.flink--muted { color: var(--off); }

.footer__base { margin-top: 80px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: rgba(249, 249, 249, .45); }
.totop { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: var(--off); text-decoration: none; }
.totop span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-inv); transition: transform .5s var(--ease), background-color .4s var(--ease), color .4s var(--ease); }
.totop svg { width: 16px; height: 16px; }
.totop:hover span { background: var(--beige); color: var(--dark); transform: translateY(-4px); }

/* a marca (versão só o símbolo/lettering "velvar") em escala monumental */
.footer__mega { margin-top: 40px; }
.mega__crop { position: relative; overflow: hidden; aspect-ratio: 1440 / 450; }
.mega__crop img { position: absolute; left: 0; top: 0; width: 133.33%; max-width: none; height: auto; will-change: transform; }

/* ---------- Menu mobile ---------- */
.menu-btn {
  display: none; position: relative; flex: none;
  width: 48px; height: 48px; border-radius: 50%;
  background: none; border: 1px solid rgba(249, 249, 249, .38); color: var(--off); cursor: pointer;
  transition: color .4s var(--ease), border-color .4s var(--ease), background-color .4s var(--ease);
}
.menu-btn span { position: absolute; left: 15px; right: 15px; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-btn span:nth-child(1) { top: 19px; }
.menu-btn span:nth-child(2) { top: 27px; }
.header.is-solid .menu-btn { color: var(--ink); border-color: var(--line); }
html.menu-open .header .menu-btn { color: var(--off); border-color: rgba(249, 249, 249, .38); }
.menu-open .menu-btn span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 49;
  display: none; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: 120px var(--gutter) 32px;
  background: var(--dark); color: var(--off);
  visibility: hidden; clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease), visibility 0s .7s;
  overflow-y: auto;
}
.menu-open .menu { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .7s var(--ease), visibility 0s; }
.menu__links { list-style: none; margin: 0; padding: 0; }
.menu__links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; border-bottom: 1px solid var(--line-inv);
  font-size: 34px; line-height: 1.1; font-weight: 600; letter-spacing: -.03em;
  color: var(--off); text-decoration: none;
  opacity: 0; transform: translateY(28px);
  transition: opacity .5s var(--ease), transform .7s var(--ease), color .3s var(--ease);
}
.menu__links a svg { width: 18px; height: 18px; color: var(--beige); }
.menu-open .menu__links a { opacity: 1; transform: none; }
.menu-open .menu__links li:nth-child(1) a { transition-delay: .15s; }
.menu-open .menu__links li:nth-child(2) a { transition-delay: .21s; }
.menu-open .menu__links li:nth-child(3) a { transition-delay: .27s; }
.menu__foot { display: grid; gap: 24px; opacity: 0; transition: opacity .6s var(--ease) .1s; }
.menu-open .menu__foot { opacity: 1; transition-delay: .35s; }
.menu__foot .btn { justify-content: space-between; }
.menu__contacts { display: grid; gap: 6px; font-size: 15px; color: rgba(249, 249, 249, .6); }
.menu__contacts a { color: var(--off); text-decoration: none; }

/* com o menu aberto, o header volta ao estado transparente sobre o fundo escuro */
html.menu-open { overflow: hidden; }
.menu-open .header { transform: none !important; }
.menu-open .header .header__bar::before { opacity: 0; }
.menu-open .header .logo-light { opacity: 1; }
.menu-open .header .logo-dark { opacity: 0; }

/* ================= Responsivo ================= */

/* ---- notebook / tablet deitado ---- */
@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .hero h1 { font-size: 64px; }
  .field h2, .works h2 { font-size: 60px; }
  .segments { grid-template-columns: repeat(2, 1fr); }
  .segments li:last-child { grid-column: 1 / -1; }
  .segments li { min-height: 260px; }
  .process__grid { grid-template-columns: 5fr 7fr; gap: 56px; }
  .process h2 { font-size: 42px; }
  .step h3 { font-size: 30px; }
  .step p { font-size: 18px; }
  .about h2 { font-size: 42px; }
  .cta__panel { padding: 104px 64px 80px; }
  .cta h2 { font-size: 60px; }
  .tagline { font-size: 104px; }
  .footer__cols { gap: 40px; }
  .flink { font-size: 24px; }
}

/* ---- menu vira botão ---- */
@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: inline-block; }
  .menu { display: flex; }
  .header__bar { padding: 0 6px 0 24px; }

  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { max-width: 14ch; }
  .process__grid { grid-template-columns: 1fr; gap: 72px; }
  .process__sticky { position: static; }
  .process h2 { max-width: 16ch; }
  .process__intro { max-width: 56ch; }
  .about__intro { grid-template-columns: 1fr; gap: 48px; }
  .about__intro > .media { min-height: 0; aspect-ratio: 4 / 3; }
  .about h2 { max-width: 18ch; }
  .cta__row { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .cta__row .btn { justify-self: start; }
  .rail { gap: 20px; }
  .rail__step p { font-size: 15px; }
  .footer__statement { grid-template-columns: 1fr; gap: 40px; }
  .seal { justify-self: end; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__cols > div:last-child { grid-column: 1 / -1; }
}

/* ---- celular ---- */
@media (max-width: 768px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .eyebrow { height: 28px; margin-bottom: 20px; font-size: 12px; }

  .header { padding-top: 10px; }
  .header__bar { height: 60px; padding: 0 6px 0 20px; }
  .header__logo img { height: 26px; }

  .btn { height: 56px; }
  .btn--xl { height: 60px; font-size: 16px; }
  .btn--xl .btn__icon { width: 44px; height: 44px; }

  .hero { padding-top: 120px; min-height: 100svh; }
  .hero__grid { padding-bottom: 40px; gap: 24px; }
  .hero h1 { font-size: 44px; line-height: 1.06; letter-spacing: -.04em; }
  .hero__sub { font-size: 17px; }
  .hero__actions { margin-top: 28px; }
  .hero__bar .wrap { height: 52px; }

  .field { padding: 96px 0; }
  .field h2, .works h2 { font-size: 38px; line-height: 1.06; }
  .segments { grid-template-columns: 1fr; gap: 12px; margin-top: 40px; }
  .segments li:last-child { grid-column: auto; }
  .segments li { min-height: 0; gap: 40px; padding: 28px 24px 30px; }
  .segments h3 { font-size: 24px; }
  .segments p { font-size: 16px; }
  .works { margin-top: 96px; }
  .works h2 { margin-bottom: 36px; }
  .works__grid { grid-template-columns: 1fr; gap: 48px; }
  .work__body { margin-top: 24px; padding-right: 0; }
  .work h3 { font-size: 24px; }
  .work p { font-size: 16px; }

  .process { padding: 96px 0; }
  .process__grid { gap: 56px; }
  .process h2 { font-size: 34px; }
  .process__intro { font-size: 17px; margin-top: 20px; }
  .process__sticky .btn { margin-top: 32px; }
  .steps { padding-left: 20px; }
  .steps__track { left: 20px; top: 20px; }
  .step { grid-template-columns: 48px 1fr; padding-bottom: 72px; }
  .step__num { width: 40px; height: 40px; margin-left: -20px; font-size: 14px; }
  .step h3 { font-size: 24px; padding-top: 3px; }
  .step p { font-size: 16px; margin-top: 12px; }
  .step .media { margin-top: 24px; }
  .tags { margin-top: 18px; }
  .tag { height: 32px; padding: 0 12px; font-size: 13px; }

  .notched { --notch-w: 18px; --notch-h: 42px; }
  .cta__panel { --notch-w: 22px; --notch-h: 52px; }
  .about { padding: 0 0 96px; }
  .about__intro { gap: 40px; }
  .about__intro > .media { aspect-ratio: 4 / 5; margin: 0 calc(-1 * var(--gutter)); border-radius: 0; }
  .about h2 { font-size: 34px; }
  .about__text { font-size: 16px; gap: 20px; margin-top: 24px; }
  .pillars { padding: 20px; gap: 18px; }
  .pillars li { flex-direction: column; gap: 2px; }
  .pillars b { font-size: 17px; white-space: normal; }
  .pillars span { font-size: 16px; text-align: left; }
  .about__intro .btn { margin-top: 32px; }

  .cta { padding: 72px 0 80px; }
  .partners { padding: 0 0 80px; }
  .partners h2 { font-size: 34px; }
  .partners__list { margin-top: 32px; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .partners__list li { min-height: 96px; padding: 18px 0; font-size: 17px; }
  .partners__logo img { max-height: calc(var(--h, 48px) * .75); }
  .cta__panel { padding: 72px 24px 40px; }
  .cta h2 { font-size: 38px; line-height: 1.04; }
  .cta__lead { font-size: 17px; }
  .cta__row { margin-top: 24px; gap: 28px; }
  .cta__row .btn { justify-self: start; }
  /* trilho na vertical (o JS detecta a coluna única) */
  .rail { grid-template-columns: 1fr; row-gap: 28px; margin-top: 56px; }
  .rail__step { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
  .rail__node { width: 44px; height: 44px; font-size: 15px; }
  .rail__step p { margin-top: 10px; font-size: 16px; max-width: none; }
  .rail__line { top: 22px; left: 22px; width: 2px; margin: 0 0 0 -1px; }
  .rail__fill { transform-origin: top; }

  .footer { padding-top: 96px; }
  .tagline { font-size: 64px; line-height: .92; }
  .seal { width: 120px; height: 120px; justify-self: start; }
  .seal__core { width: 60px; height: 60px; }
  .seal__core svg { width: 20px; height: 20px; }
  .seal__ring text { font-size: 9px; }
  .footer__cols { grid-template-columns: 1fr; gap: 40px; margin-top: 64px; padding-top: 40px; }
  .footer__label { margin-bottom: 16px; }
  .flink { font-size: 22px; }
  .flink small { font-size: 16px; }
  .footer__base { margin-top: 56px; }
  .footer__mega { margin-top: 28px; }
}

/* ---- botões ocupam a largura toda só até 520px ---- */
@media (max-width: 520px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn, .cta__row .btn { justify-content: space-between; }
  .cta__row .btn { justify-self: stretch; }
}

/* ---- celular pequeno ---- */
@media (max-width: 420px) {
  .hero h1 { font-size: 38px; }
  .field h2, .works h2, .cta h2 { font-size: 32px; }
  .process h2, .about h2 { font-size: 30px; }
  .tagline { font-size: 52px; }
  .menu__links a { font-size: 30px; }
  .flink { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .seal__ring { animation: none; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- WordPress ---------- */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed !important; top: 12px; left: 12px; z-index: 100; width: auto; height: auto; clip: auto; padding: 12px 20px; border-radius: 999px; background: var(--beige); color: var(--dark); font-weight: 600; text-decoration: none; }
.admin-bar .header { top: 32px; }
.admin-bar .menu { top: 32px; }
@media (max-width: 782px) { .admin-bar .header, .admin-bar .menu { top: 46px; } }

/* páginas internas (política de privacidade, posts etc.) */
.page-inner { background: var(--off); padding: 168px 0 120px; min-height: 70vh; }
.page-inner .entry { max-width: 760px; }
.page-inner h1 { font-size: 56px; line-height: 1.05; letter-spacing: -.035em; font-weight: 600; margin-bottom: 40px; }
.page-inner .entry-content { font-size: 18px; line-height: 1.7; color: var(--ink-soft); }
.page-inner .entry-content > * + * { margin-top: 1.1em; }
.page-inner .entry-content h2 { font-size: 32px; line-height: 1.15; color: var(--ink); margin-top: 1.6em; }
.page-inner .entry-content h3 { font-size: 24px; color: var(--ink); margin-top: 1.4em; }
.page-inner .entry-content a { color: var(--ink); text-decoration-color: var(--beige); text-underline-offset: 3px; }
.page-inner .entry-content img { height: auto; border-radius: 4px; }
.page-inner .entry + .entry { margin-top: 80px; padding-top: 80px; border-top: 1px solid var(--line); }
@media (max-width: 768px) { .page-inner { padding: 120px 0 80px; } .page-inner h1 { font-size: 36px; } .page-inner .entry-content { font-size: 16px; } }
