/* =========================================================
   FLIPSIDE · PARA ARQUITETOS — tema da vertical (v4)
   Google Sans Flex em vários pesos, areia + marrom profundo.
   Laranja Flipside nos detalhes e os dois pingos (cheio e vazado)
   como elemento gráfico. Versão Pipe em reserva/arquitetura-pipe/.
   ========================================================= */

:root {
  /* Cores (uma família quente) */
  --paper:   #F3EFE8;
  --paper-2: #EAE4D9;
  --paper-3: #DED6C8;
  --stone:   #C9BEAC;
  /* laranja Flipside: #FF8A00 só em formas (pingos, linhas);
     em texto sobre areia usa o tom escuro, que passa no contraste */
  --orange:  #FF8A00;
  --orange-2:#FF9A1F;              /* texto laranja sobre o marrom */
  --clay:    #A84F00;              /* laranja para texto sobre areia */
  --ink:     #1B1915;
  --ink-soft:#4A453D;
  --muted:   #857E72;
  --umber:   #2A211B;
  --on-dark: #EFE8DD;
  --on-dark-muted: rgba(239, 232, 221, .58);
  --line:    rgba(27, 25, 21, .13);
  --line-strong: rgba(27, 25, 21, .28);
  --line-dark: rgba(239, 232, 221, .16);
  --focus:   #A84F00;

  --sans: "Google Sans Flex", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --fs-hero: clamp(3rem, 6vw, 6rem);
  --fs-h2:   clamp(2.3rem, 4.6vw, 4.2rem);
  --fs-list: clamp(2.2rem, 5.2vw, 4.8rem);

  --container: 1320px;
  --gutter: clamp(16px, 3.4vw, 40px);
  --pad-x: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
  --section-y: clamp(80px, 9vw, 128px);
  --header-h: 68px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --z-header: 40; --z-grain: 60; --z-skip: 80;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* grão sutil para tirar a cara "digital" do fundo */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: var(--z-grain); opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dt, dd { text-wrap: pretty; }
h1, h2 { text-wrap: balance; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
[id] { scroll-margin-top: var(--header-h); }

.skip { position: absolute; left: 16px; top: -60px; z-index: var(--z-skip); background: var(--ink); color: var(--paper); padding: 10px 14px; transition: top .2s; }
.skip:focus { top: 12px; }

/* ---------- Tipografia ---------- */
.label { font-size: .82rem; color: var(--muted); margin: 0; display: flex; align-items: center; gap: 10px; }
.label::before {
  content: ""; flex: none; width: 19px; height: 7px;
  background:
    radial-gradient(circle at 3.5px 3.5px, var(--orange) 3.4px, transparent 3.9px),
    radial-gradient(circle at 15.5px 3.5px, transparent 2.2px, var(--orange) 2.5px, var(--orange) 3.4px, transparent 3.9px);
}
.mono  { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.h2 { font-weight: 300; font-size: var(--fs-h2); line-height: 1; letter-spacing: -.045em; margin: 0; }
em.s, .h2 em, h1 em, .manifesto__big em { font-style: normal; font-weight: 600; letter-spacing: -.05em; color: var(--clay); }
.lead { font-size: clamp(1rem, 1.2vw, 1.12rem); color: var(--ink-soft); line-height: 1.6; margin: 0; max-width: 46ch; }
.section { padding: var(--section-y) var(--pad-x); }
.dark { background: var(--umber); color: var(--on-dark); }
.dark .label, .dark .lead { color: var(--on-dark-muted); }
.dark .h2 em { color: var(--orange-2); }

/* ---------- Botões e links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 20px; border-radius: 2px;
  font-size: .92rem; font-weight: 500; border: 1px solid transparent; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .15s; white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 12px; height: 12px; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn--dark { background: var(--umber); color: var(--on-dark); }
.btn--dark:hover { background: var(--orange); color: var(--umber); }
.btn--light { background: var(--on-dark); color: var(--umber); font-family: inherit; }
.btn--light:hover { background: #fff; }
.link { display: inline-flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 500; padding: 14px 4px; border-bottom: 1px solid var(--line-strong); transition: border-color .25s; }
.link svg { width: 11px; height: 11px; transition: transform .45s var(--ease); }
.link:hover { border-color: var(--ink); }
.link:hover svg { transform: translateY(3px); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: var(--z-header); height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding-inline: var(--pad-x);
  background: rgba(243, 239, 232, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--umber); justify-self: start; }
.brand svg { width: 96px; height: auto; flex: none; max-width: none; }
.brand span { font-size: 1.02rem; font-weight: 300; letter-spacing: -.02em; color: var(--muted); padding-left: 12px; border-left: 1px solid var(--line-strong); line-height: 1.1; }
.nav { display: flex; gap: 30px; }
.nav a { font-size: .9rem; color: var(--muted); transition: color .2s; position: relative; padding: 6px 0; }
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav a.is-active::after { transform: scaleX(1); }
.header .btn { justify-self: end; padding: 11px 16px; font-size: .86rem; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 7vw, 104px) var(--pad-x) clamp(44px, 5vw, 76px); display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: end; }
.hero h1 { font-weight: 300; font-size: var(--fs-hero); line-height: .95; letter-spacing: -.05em; margin: 20px 0 0; }
.hero h1 .l { display: block; white-space: nowrap; }
.hero__side { display: grid; gap: 26px; justify-items: start; padding-bottom: 10px; }
.hero__actions { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }

.hero-img { position: relative; height: clamp(380px, 60vw, 760px); overflow: hidden; background: var(--paper-3); }
.hero-dot { display: none; }
.has-motion .hero-dot {
  display: block; position: absolute; left: 50%; top: 24%; z-index: 2; pointer-events: none;
  width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--orange);
}
.hero-img img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.caption-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px var(--pad-x); font-size: .82rem; color: var(--muted); border-bottom: 1px solid var(--line); }

/* ---------- Sobre ---------- */
.about__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.about__text { display: grid; gap: 28px; }
.statement { margin: 0; font-weight: 400; font-size: clamp(1.7rem, 2.9vw, 2.75rem); line-height: 1.16; letter-spacing: -.035em; color: var(--ink); }
.statement span { color: var(--muted); font-weight: 300; }
.about__img { aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: calc(var(--section-y) * -.35); position: relative; z-index: 1; box-shadow: 0 40px 80px -50px rgba(60, 40, 25, .55); }
.about__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.about__img:hover img { transform: scale(1.03); }

.dodont { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); margin-top: clamp(64px, 8vw, 120px); max-width: 980px; }
.dodont h3 { font-weight: 600; font-size: 1rem; letter-spacing: -.01em; margin: 0 0 6px; }
.dodont ul { list-style: none; margin: 0; padding: 0; }
.dodont li { padding: 14px 0 14px 26px; border-top: 1px solid var(--line); position: relative; color: var(--ink-soft); }
.dodont li::before { content: ""; position: absolute; left: 1px; top: 23px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.dodont .muted-list li { color: var(--muted); }
.dodont .muted-list li::before, .dodont .muted-list li::after { content: ""; position: absolute; left: 1px; top: 26px; width: 10px; height: 1px; background: var(--muted); }
.dodont .muted-list li::before { transform: rotate(45deg); }
.dodont .muted-list li::after { transform: rotate(-45deg); }

/* ---------- Jornada ---------- */
.journey { background: var(--paper-2); }
.journey__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.journey__head .label { margin-bottom: 18px; }
.journey__head .lead { justify-self: end; }
.journey__cols, .jrow { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.1fr; gap: clamp(16px, 2.4vw, 40px); }
.journey__cols { padding-bottom: 14px; font-size: .78rem; color: var(--muted); border-bottom: 1px solid var(--line-strong); }
.journey__cols span:last-child { color: var(--clay); font-weight: 600; }
.journey__rows { list-style: none; margin: 0; padding: 0; }
.jrow { padding: 30px 0 34px; border-bottom: 1px solid var(--line); align-items: start; transition: background .4s; }
.jrow:hover { background: linear-gradient(90deg, transparent, rgba(255, 138, 0, .07), transparent); }
.jrow__stage { font-weight: 300; font-size: clamp(1.9rem, 3.2vw, 2.9rem); line-height: 1; letter-spacing: -.045em; display: flex; gap: 14px; align-items: baseline; }
.jrow__stage span { font-size: .8rem; font-weight: 600; color: var(--clay); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.jrow p { margin: 0; color: var(--ink-soft); font-size: .96rem; max-width: 34ch; }
.jrow p:nth-of-type(2) { color: var(--muted); }
.jrow p.jrow__fix { color: var(--ink); font-weight: 500; }

/* ---------- Serviços (índice) ---------- */
.index__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line-dark); font-size: .88rem; }
.index__bar :last-child { justify-self: end; }
.index__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: clamp(48px, 6vw, 88px) 0; align-items: end; }
.index__intro .lead { justify-self: end; }
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: 60px 1.3fr 1.1fr 1fr auto; gap: 24px; align-items: center; padding: 26px 0; border-top: 1px solid var(--line-dark); }
.rows li:last-child .row { border-bottom: 1px solid var(--line-dark); }
.row__n { color: var(--on-dark-muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
.row__name { font-weight: 300; font-size: var(--fs-list); line-height: 1; letter-spacing: -.045em; transition: transform .6s var(--ease), color .3s; }
.row__meta { color: var(--on-dark-muted); font-size: .88rem; max-width: 30ch; }
.row__arrow { width: 40px; height: 40px; border: 1px solid var(--line-dark); border-radius: 50%; display: grid; place-items: center; transition: background .3s, border-color .3s, color .3s; }
.row__arrow svg { width: 12px; height: 12px; }
.row:hover .row__name { transform: translateX(14px); color: #fff; }
.row:hover .row__arrow { background: var(--orange); border-color: var(--orange); color: var(--umber); }

/* ---------- Site-portfólio ---------- */
.showcase__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: clamp(40px, 5vw, 72px); align-items: end; }
.showcase__head .lead { justify-self: end; }
.browser { background: var(--paper); border: 1px solid var(--line-strong); box-shadow: 0 50px 90px -50px rgba(60, 40, 25, .5); }
.browser__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--stone); }
.browser__bar span { margin-left: 14px; }
.browser__body { padding: clamp(18px, 3vw, 36px); }
.mock-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: clamp(18px, 3vw, 32px); gap: 16px; }
.mock-head b { font-weight: 300; font-size: clamp(1.4rem, 2.6vw, 2.2rem); letter-spacing: -.04em; }
.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(8px, 1.2vw, 14px); }
figure.ph { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: var(--paper-3); }
figure.ph:first-child { grid-row: span 2; aspect-ratio: auto; }
figure.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
figure.ph:hover img { transform: scale(1.04); }
figure.ph figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 10px 8px; color: #fff; background: linear-gradient(transparent, rgba(27, 25, 21, .45)); }
.notes3 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 4vw, 56px); margin: clamp(40px, 5vw, 64px) 0 0; }
.notes3 > div { border-top: 1px solid var(--line-strong); padding-top: 16px; }
.notes3 dt { font-weight: 600; margin-bottom: 6px; }
.notes3 dd { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Processo (zigue-zague) ---------- */
.process { border-top: 1px solid var(--line); }
.process__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(56px, 7vw, 104px); }
.process__head .label { margin-bottom: 18px; }
.process__head .lead { justify-self: end; }
.zig { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(56px, 8vw, 120px); }
.zig__row { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.zig__row--rev { grid-template-columns: 1fr 1.15fr; }
.zig__row--rev figure { order: 2; }
.zig__row figure { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-3); }
.zig__row--rev figure { aspect-ratio: 5 / 4; width: 88%; }
.zig__row img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform 1.4s var(--ease), filter .6s; }
.zig__row:hover img { transform: scale(1.03); filter: saturate(1); }
.zig__text { max-width: 460px; }
.zig__n { display: flex; align-items: flex-start; gap: 10px; font-weight: 300; font-size: clamp(3.4rem, 6vw, 5.6rem); line-height: .85; letter-spacing: -.06em; color: var(--stone); font-variant-numeric: tabular-nums; margin-bottom: 18px; }
.zig__n::after { content: ""; flex: none; width: 14px; height: 14px; margin-top: .08em; border-radius: 50%; box-shadow: inset 0 0 0 3px var(--orange); }
.zig__text h3 { font-weight: 500; font-size: clamp(1.6rem, 2.4vw, 2.2rem); letter-spacing: -.035em; line-height: 1.05; margin: 0 0 14px; }
.zig__text p { margin: 0; color: var(--ink-soft); }
.zig__text p.zig__out { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .92rem; }
.zig__out b { font-weight: 600; color: var(--clay); }

/* ---------- Manifesto ---------- */
.manifesto { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: end; border-top: 1px solid var(--line); }
.manifesto__big { margin: 0; font-weight: 300; font-size: clamp(3rem, 8vw, 8.4rem); line-height: .9; letter-spacing: -.06em; }
.manifesto__big .nowrap { white-space: nowrap; }
@media (max-width: 560px) { .manifesto__big .nowrap { white-space: normal; } }
.manifesto__note { margin: 0 0 14px; color: var(--ink-soft); max-width: 32ch; justify-self: end; }

/* ---------- FAQ (lista aberta) ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(40px, 6vw, 96px); background: var(--paper-2); }
.faq__head { display: grid; gap: 18px; align-content: start; position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.qa { margin: 0; }
.qa > div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; padding: 24px 0; border-top: 1px solid var(--line-strong); }
.qa > div:last-child { border-bottom: 1px solid var(--line-strong); }
.qa dt { font-weight: 500; font-size: 1.08rem; letter-spacing: -.02em; line-height: 1.3; }
.qa dd { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); }
.contact .lead { margin-top: 22px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field > label, .field > legend { font-size: .8rem; color: var(--on-dark-muted); padding: 0; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-dark);
  color: var(--on-dark); font: inherit; padding: 10px 0; outline: none; border-radius: 0; transition: border-color .2s;
}
.field input:focus, .field textarea:focus { border-color: var(--on-dark); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #E3A08C; }
.field input::placeholder, .field textarea::placeholder { color: rgba(239, 232, 221, .32); }
.field textarea { min-height: 100px; resize: vertical; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; width: 100%; height: 100%; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 14px; border: 1px solid var(--line-dark); border-radius: 2px; font-size: .88rem; cursor: pointer; transition: all .2s; }
.chip span:hover { border-color: var(--on-dark-muted); }
.chip input:checked + span { background: var(--orange); color: var(--umber); border-color: var(--orange); }
.chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.form .btn { width: 100%; justify-content: center; }
.form__status { grid-column: 1 / -1; margin: 0; font-size: .88rem; min-height: 1.2em; color: #B9DFC6; }

/* ---------- Rodapé ---------- */
.footer { background: var(--umber); color: var(--on-dark); border-top: 1px solid var(--line-dark); }
.footer__big { padding: clamp(48px, 7vw, 96px) var(--pad-x) 0; display: flex; align-items: flex-end; gap: clamp(14px, 2.4vw, 36px); flex-wrap: wrap; overflow: hidden; color: var(--on-dark); }
.footer__wm { width: min(72%, 980px); height: auto; max-width: none; }
.footer__sub { font-weight: 300; font-size: clamp(1.6rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.05em; color: var(--stone); padding-bottom: .1em; }
@media (max-width: 640px) { .footer__wm { width: 100%; } }
.footer__bar { padding: 28px var(--pad-x); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .88rem; color: var(--on-dark-muted); border-top: 1px solid var(--line-dark); margin-top: clamp(24px, 3vw, 40px); }
.footer__bar a { color: var(--on-dark); border-bottom: 1px solid var(--line-dark); }

/* ---------- Reveal (escalonado) ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1000px) {
  .nav { display: none; }
  .header { grid-template-columns: 1fr auto; }
  .hero, .about__grid, .journey__head, .index__intro, .showcase__head, .process__head, .manifesto, .faq, .contact { grid-template-columns: 1fr; }
  .journey__head .lead, .index__intro .lead, .showcase__head .lead, .process__head .lead, .manifesto__note { justify-self: start; }
  .about__img { margin-bottom: 0; aspect-ratio: 4 / 3; }
  .journey__cols { display: none; }
  .jrow { grid-template-columns: 1fr; gap: 12px; }
  .jrow p { max-width: none; }
  .jrow p::before { content: attr(data-k); display: block; font-size: .74rem; color: var(--muted); margin-bottom: 2px; font-weight: 400; }
  .jrow p.jrow__fix::before { color: var(--clay); font-weight: 600; }
  .row { grid-template-columns: 40px 1fr auto; }
  .row__meta { display: none; }
  .zig__row, .zig__row--rev { grid-template-columns: 1fr; }
  .zig__row--rev figure { order: 0; width: 100%; }
  .faq__head { position: static; }
  .notes3 { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .dodont { grid-template-columns: 1fr; }
  .notes3 { grid-template-columns: 1fr; gap: 22px; }
  .qa > div { grid-template-columns: 1fr; gap: 8px; }
  .index__bar { grid-template-columns: 1fr auto; }
  .index__bar span:nth-child(2) { display: none; }
  .row { gap: 14px; padding: 20px 0; }
  .row__arrow { width: 32px; height: 32px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  figure.ph:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .gallery figure.ph:nth-child(n+4) { display: none; }
  .mock-head .mono { display: none; }
  .form { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .hero h1 .l { white-space: normal; }
  .header .btn { padding: 9px 12px; font-size: .8rem; }
  .header .btn svg { display: none; }
  .caption-row span:last-child { display: none; }
}

/* =========================================================
   Camada de movimento (ativa só com .has-motion)
   ========================================================= */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* com GSAP no controle, o reveal por CSS sai do caminho */
.has-motion .hero h1 .l { will-change: transform, clip-path; }
.has-motion .statement .w { transition: none; }

/* Jornada: linha de progresso */
.journey__rows { position: relative; }
.journey__progress { position: absolute; left: -24px; top: 0; bottom: 0; width: 2px; background: var(--orange); transform-origin: top; }
.jrow { position: relative; }
.jrow__stage { transition: color .5s; }
.has-motion .jrow:not(.is-lit) .jrow__stage { color: var(--muted); }


/* Manifesto: máscara por palavra */
.mw { display: inline-block; overflow: hidden; vertical-align: top; padding: .2em 0 .28em; margin: -.2em 0 -.22em; }
.mw > span { display: inline-block; }



/* Mockup em 3D */
.browser { transform-style: preserve-3d; will-change: transform; }

/* Cursor próprio */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 70; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--ink); pointer-events: none; opacity: 0; display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s, opacity .3s;
}
.cursor span { font-size: .72rem; font-weight: 600; color: var(--paper); opacity: 0; transition: opacity .2s; }
.cursor.is-on { opacity: 1; }
.cursor.is-dark { background: var(--on-dark); }
.cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(255, 138, 0, .3); }
.cursor.is-view { width: 76px; height: 76px; margin: -38px 0 0 -38px; background: var(--ink); }
.cursor.is-view span { opacity: 1; }
@media (pointer: fine) { .has-motion, .has-motion a, .has-motion button { cursor: none; } .has-motion input, .has-motion textarea { cursor: text; } }
@media (max-width: 1000px) { .journey__progress { left: -10px; } }

/* =========================================================
   Menu do celular, WhatsApp, consentimento e privacidade
   ========================================================= */
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 2px; background: transparent; cursor: pointer; place-items: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform .35s var(--ease), background .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1000px) {
  .header { grid-template-columns: 1fr auto auto; gap: 10px; }
  .menu-toggle { display: grid; }
  .menu-open { overflow: hidden; }
  .menu-open .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  .nav {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: var(--z-header);
    padding: 24px var(--gutter) 40px; background: var(--paper);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .35s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .45s var(--ease); }
  .nav a { font-size: clamp(2rem, 9vw, 2.8rem); font-weight: 300; letter-spacing: -.04em; color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
}

.wa-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding-bottom: 6px; border-bottom: 1px solid var(--line-dark); font-weight: 500; }
.wa-link[hidden] { display: none; }
.wa-link svg { width: 12px; height: 12px; }
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 55; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--umber); color: var(--on-dark);
  box-shadow: 0 16px 30px -12px rgba(42, 33, 27, .6); transition: transform .3s var(--ease), background .25s;
}
.wa-fab svg { width: 26px; height: 26px; }
.wa-fab:hover { transform: translateY(-3px); background: #25D366; color: #fff; }

.form__legal { grid-column: 1 / -1; margin: -8px 0 0; font-size: .8rem; color: var(--on-dark-muted); }
.form__legal a { color: var(--on-dark); border-bottom: 1px solid var(--line-dark); }
.footer__links { display: inline-flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer__links a[hidden] { display: none; }

.consent {
  position: fixed; left: 20px; bottom: 20px; z-index: 75; max-width: 420px;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line-strong);
  padding: 18px 20px; box-shadow: 0 30px 60px -30px rgba(42, 33, 27, .5);
  opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.consent.is-in { opacity: 1; transform: none; }
.consent p { margin: 0 0 14px; font-size: .88rem; color: var(--ink-soft); }
.consent p a { color: var(--ink); border-bottom: 1px solid var(--line-strong); }
.consent__actions { display: flex; gap: 8px; justify-content: flex-end; }
.consent__btn { font: inherit; font-size: .86rem; font-weight: 500; padding: 10px 14px; border-radius: 2px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; }
.consent__btn--ok { background: var(--umber); color: var(--on-dark); border-color: var(--umber); }
@media (max-width: 640px) { .consent { left: 12px; right: 12px; bottom: 12px; max-width: none; } }

/* Página de privacidade */
.legal { padding: clamp(56px, 8vw, 120px) var(--pad-x) var(--section-y); display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 6vw, 96px); }
.legal__head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; display: grid; gap: 16px; }
.legal__head h1 { margin: 0; font-weight: 300; font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -.05em; }
.legal__body { max-width: 68ch; }
.legal__body h2 { font-weight: 500; font-size: 1.3rem; letter-spacing: -.02em; margin: 40px 0 10px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p, .legal__body li { color: var(--ink-soft); }
.legal__body ul { padding-left: 18px; }
.legal__body a { color: var(--ink); border-bottom: 1px solid var(--line-strong); }
.legal__body .todo { background: rgba(255, 138, 0, .18); padding: 0 4px; }
@media (max-width: 1000px) { .legal { grid-template-columns: 1fr; } .legal__head { position: static; } }
.nav__cta { display: none; }
@media (max-width: 1000px) {
  .nav .nav__cta { display: block; margin-top: 28px; border: 0; font-size: 1rem; font-weight: 500; letter-spacing: 0; padding: 16px 20px; background: var(--umber); color: var(--on-dark); text-align: center; }
}
@media (max-width: 640px) {
  .header { grid-template-columns: 1fr auto; }
  .header > .btn { display: none; }
}

/* =========================================================
   Limpeza de "cara de IA" (dezembro de 2026)
   Cabeçalhos de seção empilhados (título e texto um embaixo
   do outro), espaçamentos padronizados e ícones Phosphor.
   ========================================================= */
.journey__head, .showcase__head, .process__head, .index__intro { display: block; max-width: 760px; }
.journey__head .lead, .showcase__head .lead, .process__head .lead, .index__intro .lead { margin-top: clamp(18px, 2vw, 24px); justify-self: auto; max-width: 56ch; }
.journey__head, .showcase__head, .process__head { margin-bottom: clamp(40px, 5vw, 64px); }
.index__intro { padding: 0 0 clamp(40px, 5vw, 64px); }
.label + .h2, .label + .statement, .label + h1 { margin-top: 18px; }
.btn .ph { font-size: 14px; transition: transform .45s var(--ease); }
.link .ph { font-size: 13px; transition: transform .45s var(--ease); }
.row__arrow .ph { font-size: 14px; }
.btn:hover .ph { transform: translate(2px, -2px); }
@media (max-width: 720px) { .header .btn .ph { display: none; } }
