/* =========================================================
   AURUM | Arquitetura & Design de Interiores
   Cores da marca: azul #162739 · dourado #E2B760 · fonte Outfit fina
   ========================================================= */

:root {
  /* azul da marca, do mais escuro (fundo) ao tom original */
  --bg: #07111c;
  --bg-2: #0b1826;
  --navy: #162739;
  --line: rgba(255, 255, 255, .1);
  --line-strong: rgba(255, 255, 255, .2);
  --text: #f2efe9;
  --muted: rgba(242, 239, 233, .74);   /* contraste ~ 9:1 */
  --dim: #8d98a8;                        /* contraste ~ 6:1, passa AA em texto pequeno */
  --gold: #e2b760;                       /* dourado oficial do logo */
  --gold-hi: #eccb88;
  --gold-a: 226, 183, 96;                /* dourado para rgba() */
  --ink-a: 7, 17, 28;                    /* fundo para rgba() */
  --radius: 22px;
  --shadow: 0 40px 90px rgba(0, 0, 0, .5), 0 10px 26px rgba(0, 0, 0, .3);

  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1360px;
  --gutter: clamp(18px, 3vw, 44px);
  /* escala fluida: valores no celular (390px) → desktop (1440px) */
  --fs-display: clamp(32px, 3.8vw + 17px, 70px);   /* títulos de seção: 32 → 70 */
  --fs-h2: clamp(28px, 2.4vw + 18px, 52px);        /* títulos menores: 28 → 52 */
  --fs-card: clamp(32px, 3.2vw + 20px, 66px);      /* nome dos serviços: 32 → 66 */
  --fs-lead: clamp(15px, .3vw + 14px, 18px);       /* textos de apoio: 15 → 18 */
  --fs-body: clamp(14px, .15vw + 13.5px, 15.5px);
  --sp-section: clamp(64px, 7vw + 36px, 140px);    /* respiro entre seções: 64 → 140 */
  --ease: cubic-bezier(.28, .11, .32, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-weight: 300; font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: normal; color: var(--gold-hi); }
::selection { background: var(--gold); color: var(--bg); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* rótulo dourado pequeno acima dos títulos (mesmo em todas as seções) */
.kicker { margin-bottom: clamp(12px, 1.2vw, 18px); font-size: clamp(10.5px, .1vw + 10px, 11.5px); font-weight: 400; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.title { font-weight: 200; font-size: var(--fs-display); line-height: 1.06; letter-spacing: -.025em; }

/* botão do topo: pílula com círculo dourado */
.cta { display: inline-flex; align-items: center; gap: 14px; padding: 6px 6px 6px 22px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(var(--ink-a), .5); box-shadow: 0 14px 34px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .12); transition: border-color .9s var(--ease), color .9s var(--ease), transform .9s var(--ease); }
.cta span { font-size: 12px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.cta i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); transition: transform .9s var(--ease); }
.cta svg { width: 13px; height: 13px; fill: none; stroke: var(--bg); stroke-width: 1.6; }
.cta:hover { border-color: rgba(var(--gold-a), .55); color: var(--gold-hi); transform: translateY(-2px); }
.cta:hover i { transform: rotate(45deg); }
.pill { display: inline-block; padding: 8px 15px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; background: rgba(var(--ink-a), .45); font-size: 11px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; transition: border-color .8s var(--ease), color .8s var(--ease); }
a.pill:hover { border-color: var(--gold); color: var(--gold-hi); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 60; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 16px var(--gutter); border-bottom: 1px solid transparent; transition: background-color .8s var(--ease), border-color .8s, padding .8s var(--ease); }
.header.is-scrolled { padding-block: 10px; background: rgba(var(--ink-a), .92); border-bottom-color: var(--line); }
.header__logo img { width: 104px; }
.header__logo { opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .9s var(--ease), transform .9s var(--ease), visibility .9s; }
.header.is-scrolled .header__logo { opacity: 1; visibility: visible; transform: none; }
.header__end { justify-self: end; display: flex; align-items: center; gap: 14px; }
.nav { display: flex; gap: 2px; padding: 5px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(var(--ink-a), .4); box-shadow: 0 14px 34px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .1); }
.nav a { padding: 9px 20px; border-radius: 999px; font-size: 13.5px; color: rgba(242, 239, 233, .84); transition: background-color .8s var(--ease), color .8s var(--ease); }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav a.is-current { background: rgba(255, 255, 255, .12); color: var(--gold-hi); }
.burger { display: none; position: relative; z-index: 2; width: 30px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; }
.burger span { position: absolute; left: 0; height: 1.5px; background: var(--text); transition: transform .6s var(--ease), top .6s var(--ease), width .6s var(--ease), opacity .4s; }
.burger span:nth-child(1) { top: 3px; width: 26px; }
.burger span:nth-child(2) { top: 10px; width: 18px; }
.burger span:nth-child(3) { top: 17px; width: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* menu em tela cheia */
.menu { position: fixed; inset: 0; z-index: 55; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; padding: 100px var(--gutter) 80px; background: var(--bg); opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s; }
.menu.is-open { opacity: 1; visibility: visible; }
.menu__nav { display: grid; align-content: center; }
.menu__nav a { display: flex; align-items: baseline; gap: 18px; font-size: clamp(34px, 5vw, 70px); font-weight: 200; line-height: 1.15; transition: color .6s var(--ease), padding .8s var(--ease); }
.menu__nav a:hover { color: var(--gold-hi); padding-left: 14px; }
.menu__nav small { font-size: 12px; color: var(--gold); }
.menu__img { overflow: hidden; border-radius: var(--radius); }
.menu__img img { width: 100%; height: 100%; object-fit: cover; scale: 1.15; transition: scale 1.8s var(--ease-out); }
.menu.is-open .menu__img img { scale: 1; }
.menu__foot { position: absolute; left: var(--gutter); bottom: 32px; display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: 14px; color: var(--muted); }
.menu__foot a:hover { color: var(--gold-hi); }

/* ---------- Hero (preso na tela; a rolagem faz o logo subir) ---------- */
.hero { position: relative; margin-bottom: 12px; }
.hero__pin { position: relative; height: calc(100svh - 24px); min-height: 560px; margin: 12px 12px 0; overflow: hidden; isolation: isolate; display: grid; place-items: center; border-radius: 28px; }
.hero__media { position: absolute; inset: -6% 0; z-index: -2; will-change: transform; }
.hero__slides { position: absolute; inset: 0; transform-origin: 50% 55%; }
.js .hero__slides { animation: heroZoom 4.5s var(--ease-out) both; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: none; } }
.hero__slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; opacity: 0; transition: opacity 3.2s ease-in-out; }
.hero__slides img.is-active { opacity: 1; }
.hero__pin::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(48% 42% at 50% 50%, rgba(var(--ink-a), .05), rgba(var(--ink-a), .55) 100%), linear-gradient(180deg, rgba(var(--ink-a), .55) 0%, rgba(var(--ink-a), .08) 26%, rgba(var(--ink-a), .1) 70%, rgba(var(--ink-a), .85) 100%), rgba(22, 39, 57, .3); }
.hero__content { display: grid; justify-items: center; text-align: center; padding: 0 var(--gutter); will-change: transform, opacity; }
.hero__logo { display: block; width: min(40vw, 540px); height: auto; filter: drop-shadow(0 10px 40px rgba(0, 0, 0, .45)); }
.pill--l, .pill--r { position: absolute; bottom: 28px; }
.pill--l { left: 28px; }
.pill--r { right: 92px; }
.hero__hint { position: absolute; left: 50%; bottom: 34px; translate: -50% 0; display: grid; justify-items: center; gap: 12px; font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: rgba(242, 239, 233, .8); }
.hero__hint span { position: relative; width: 1px; height: 42px; overflow: hidden; background: rgba(242, 239, 233, .2); }
.hero__hint span::after { content: ""; position: absolute; left: 0; top: -18px; width: 1px; height: 18px; background: var(--gold); animation: hint 2.6s var(--ease) infinite; }
@keyframes hint { to { top: 42px; } }
/* logo aparece sozinho, suave, ao abrir a página */
.js .hero__logo { opacity: 0; animation: logoIn 2.4s .4s var(--ease-out) forwards; }
@keyframes logoIn { from { opacity: 0; transform: translateY(26px) scale(.97); letter-spacing: .1em; } to { opacity: 1; transform: none; } }
.js .header { opacity: 0; animation: fade 1.8s .6s var(--ease) forwards; }
.js .hero .pill { opacity: 0; animation: rise 2s 1s var(--ease) forwards; }
.js .hero__hint { opacity: 0; animation: fade 1.6s 2.2s ease forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }

/* ---------- Projetos em destaque (oculta até chegarem as fotos reais) ---------- */
.featured { padding: var(--sp-section) 0 clamp(20px, 3vw, 50px); }
.featured__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(30px, 4vw, 50px); }
.featured__head .title { max-width: 640px; }
.featured__head p { max-width: 340px; font-size: 15px; color: var(--muted); }
.featured__grid { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: clamp(560px, 62vw, 820px); }
.project { position: relative; overflow: hidden; margin: 0; border-radius: var(--radius); isolation: isolate; }
.project--main { grid-row: span 2; }
.project img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 2.4s var(--ease); }
.project::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgba(var(--ink-a), .88)); }
.project:hover img { transform: scale(1.04); }
.project figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 4px; padding: clamp(18px, 2.4vw, 32px); }
.project small { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.project strong { font-weight: 200; font-size: clamp(24px, 2.4vw, 38px); line-height: 1.1; letter-spacing: -.02em; }
.project span { font-size: 13.5px; color: var(--muted); }

/* ---------- Sobre: título central + arco de cards ---------- */
.about { position: relative; overflow: hidden; padding: var(--sp-section) 0 clamp(40px, 6vw, 100px); }
.about__head { position: relative; z-index: 3; display: grid; justify-items: center; text-align: center; }
.about__title { font-weight: 200; font-size: var(--fs-display); line-height: 1.04; letter-spacing: -.03em; }
.about__sub { max-width: 540px; margin-top: clamp(14px, 1.6vw, 22px); font-size: var(--fs-lead); line-height: 1.6; color: var(--muted); }
.about__btn { position: relative; display: inline-flex; align-items: center; gap: 12px; margin-top: clamp(22px, 2.4vw, 32px); padding: clamp(11px, .5vw + 9px, 14px) clamp(20px, 1vw + 16px, 26px); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: var(--bg); font-size: clamp(13.5px, .2vw + 13px, 14.5px); font-weight: 400; transition: border-color .8s var(--ease), color .8s var(--ease); }
.about__btn::before { content: ""; position: absolute; left: 18%; right: 18%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-hi), transparent); box-shadow: 0 0 14px 2px rgba(var(--gold-a), .55); }
.about__btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .8s var(--ease); }
.about__btn:hover { border-color: rgba(var(--gold-a), .5); color: var(--gold-hi); }
.about__btn:hover svg { transform: translateX(4px); }
.arcrow { --w: clamp(150px, 14vw, 230px); position: relative; height: calc(var(--w) * 1.7); margin-top: clamp(24px, 3.5vw, 56px); }
.arcrow__glow { position: absolute; left: 50%; top: 55%; width: min(80vw, 1100px); height: calc(var(--w) * 2.6); translate: -50% -50%; background: radial-gradient(closest-side, rgba(var(--gold-a), .45), rgba(var(--gold-a), .2) 35%, rgba(var(--gold-a), .05) 65%, transparent); pointer-events: none; }
.arcrow__glow::after { content: ""; position: absolute; left: 50%; top: 64%; width: 46%; height: 20%; translate: -50% 0; background: radial-gradient(closest-side, rgba(var(--gold-a), .4), transparent); }
.arcrow__stage { position: absolute; inset: 0; perspective: 1300px; transform-style: preserve-3d; }
.acard { position: absolute; left: 50%; top: 50%; width: var(--w); aspect-ratio: 3 / 4.2; margin: calc(var(--w) * -0.7) 0 0 calc(var(--w) * -0.5); overflow: hidden; border-radius: 18px; background: var(--bg-2); box-shadow: 0 30px 70px rgba(0, 0, 0, .55); will-change: transform; backface-visibility: hidden; }
.acard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Serviços: cards que empilham ---------- */
.services { padding: clamp(20px, 3vw, 60px) 0 clamp(40px, 6vw, 100px); }
.folders { display: grid; gap: 28vh; padding-bottom: 10vh; }
.folder { position: sticky; top: calc(110px + var(--i) * 26px); display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); min-height: min(62vh, 520px); padding: clamp(22px, 2.6vw, 36px); border: 1px solid rgba(255, 255, 255, .12); border-radius: 30px; background: linear-gradient(160deg, #1c3148 0%, #12243a 55%, #0d1b2c 100%); box-shadow: 0 -24px 60px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .1); transform-origin: 50% 0; will-change: transform; backface-visibility: hidden; }
.folder__text { display: flex; flex-direction: column; padding: clamp(4px, 1vw, 14px) clamp(0px, 1vw, 14px); }
.folder__top { padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 11.5px; letter-spacing: .2em; color: var(--gold); }
.folder h3 { margin-top: clamp(16px, 2.2vw, 32px); font-weight: 200; font-size: var(--fs-card); line-height: .95; letter-spacing: -.035em; }
.folder__desc { max-width: 470px; margin-top: clamp(10px, 1.2vw, 16px); font-size: var(--fs-lead); line-height: 1.6; color: var(--muted); }
.folder__list { margin-top: auto; padding-top: clamp(20px, 2.6vw, 36px); }
.folder__label { margin-bottom: 6px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.folder__list ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.folder__list li { display: flex; align-items: center; gap: 12px; padding: clamp(9px, .4vw + 7px, 12px) 0; border-bottom: 1px solid var(--line); font-size: var(--fs-body); line-height: 1.4; color: rgba(242, 239, 233, .88); }
.folder__list li::before { content: ""; flex: none; width: 6px; height: 6px; border: 1px solid var(--gold); border-radius: 50%; }
.folder__link { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin-top: clamp(22px, 2.4vw, 32px); padding: 12px 22px; border: 1px solid rgba(var(--gold-a), .45); border-radius: 999px; font-size: 13.5px; color: var(--gold-hi); transition: background-color .7s var(--ease), color .7s var(--ease); }
.folder__link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .7s var(--ease); }
.folder__link:hover { background: var(--gold); color: var(--bg); }
.folder__link:hover svg { transform: translateX(4px); }
.folder__img { position: relative; overflow: hidden; border-radius: 22px; box-shadow: var(--shadow); }
.folder__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.folder__img figcaption { position: absolute; left: 16px; bottom: 16px; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(var(--ink-a), .6); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }

/* ---------- Processo: linha dourada que se desenha ---------- */
.process { padding: var(--sp-section) 0 clamp(40px, 6vw, 100px); }
.process__head { display: grid; justify-items: center; text-align: center; }
.path { position: relative; width: min(100%, 1100px); height: clamp(1300px, 140vw, 1700px); margin: clamp(40px, 6vw, 90px) auto 0; }
.path__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.path__svg path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.path__ghost { stroke: rgba(var(--gold-a), .16); stroke-width: 1; }
.path__line { stroke: var(--gold); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; }
.path__label, .node { position: absolute; left: 0; top: 0; }
.path__label { display: flex; align-items: center; gap: 10px; transform: translate(-6px, -50%); font-size: 18px; font-weight: 300; color: var(--gold-hi); }
.path__label i, .node::before { width: 11px; height: 11px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(var(--gold-a), .18); }
.node { width: 0; height: 0; }
.node::before { content: ""; position: absolute; left: -6px; top: -6px; background: var(--bg); border: 1px solid var(--gold); box-shadow: none; transition: background-color .8s var(--ease), box-shadow .8s var(--ease); }
.node.is-lit::before { background: var(--gold); box-shadow: 0 0 0 6px rgba(var(--gold-a), .2), 0 0 24px rgba(var(--gold-a), .5); }
.node__num { position: absolute; top: -34px; left: -20px; font-weight: 200; font-size: 20px; color: var(--gold-hi); }
.node div { position: absolute; top: 18px; width: min(320px, 34vw); opacity: .2; transform: translateY(16px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.node.is-lit div { opacity: 1; transform: none; }
.node--right div { left: 34px; top: -22px; }
.node--left div { right: 34px; top: -22px; text-align: right; }
.node h3 { margin-bottom: 6px; font-weight: 300; font-size: clamp(19px, .9vw + 15px, 28px); line-height: 1.2; }
.node p { font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* ---------- Ambientes: tour ---------- */
.tour { position: relative; isolation: isolate; overflow: hidden; height: calc(100svh - 24px); min-height: 620px; margin: 0 12px; border-radius: 28px; }
.tour__stage { position: absolute; inset: 0; isolation: isolate; overflow: hidden; }
.tour__imgs img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 1.4s var(--ease), transform 2.4s var(--ease); }
.tour__imgs img.is-active { opacity: 1; transform: none; }
.tour__stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--ink-a), .3), rgba(var(--ink-a), .05) 35%, rgba(var(--ink-a), .1) 70%, rgba(var(--ink-a), .6)); pointer-events: none; }
.tour__spots { position: absolute; inset: 0; pointer-events: none; }
.spot { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; transition: opacity .9s var(--ease); }
.spot.is-on { opacity: 1; transition-delay: .6s; }
.spot.is-out { display: none; }
.spot__dot { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .28), 0 4px 14px rgba(0, 0, 0, .4); }
.spot__line { position: absolute; left: -.5px; bottom: 0; width: 1px; height: 64px; background: rgba(255, 255, 255, .8); }
.spot__tag { position: absolute; left: 50%; bottom: 64px; display: grid; padding: 10px 18px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; background: rgba(14, 28, 43, .62); box-shadow: 0 14px 34px rgba(0, 0, 0, .3); white-space: nowrap; translate: -50% 0; transform: translateY(10px); transition: transform 1s var(--ease); }
.spot.is-on .spot__tag { transform: none; transition-delay: .7s; }
.spot__tag span { font-size: 11px; color: rgba(242, 239, 233, .75); }
.spot__tag strong { font-weight: 400; font-size: 14px; }
.tour__side { position: absolute; top: 50%; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 10px; border: 0; background: none; color: var(--text); cursor: pointer; translate: 0 -50%; }
.tour__side span { writing-mode: vertical-rl; font-size: 13px; letter-spacing: .08em; }
.tour__side--prev { left: clamp(20px, 3vw, 44px); }
.tour__side--prev span { transform: rotate(180deg); }
.tour__side--next { right: clamp(20px, 3vw, 44px); }
.tour__side svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .7s var(--ease); }
.tour__side--prev:hover svg { transform: translateX(-4px); }
.tour__side--next:hover svg { transform: translateX(4px); }
.tour__bar { position: absolute; left: 50%; bottom: clamp(30px, 5vw, 64px); z-index: 2; display: grid; justify-items: start; translate: -50% 0; }
.tour__pills { display: flex; gap: 8px; }
.tour__pill { padding: 11px 22px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; background: rgba(14, 28, 43, .55); color: var(--text); font-size: 14px; cursor: pointer; transition: background-color .8s var(--ease), color .8s var(--ease); }
.tour__pill:hover { background: rgba(14, 28, 43, .8); }
.tour__pill.is-active { background: var(--text); color: var(--bg); }
.tour__preview { position: relative; display: grid; justify-items: center; gap: 8px; width: 132px; margin-bottom: 12px; padding: 8px 8px 12px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 20px; background: rgba(14, 28, 43, .65); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); transition: transform .9s var(--ease); }
.tour__preview img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 13px; }
.tour__preview strong { font-weight: 400; font-size: 14px; }
.tour__preview::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 12px; height: 12px; background: rgba(14, 28, 43, .9); border-right: 1px solid rgba(255, 255, 255, .35); border-bottom: 1px solid rgba(255, 255, 255, .35); translate: -50% 0; rotate: 45deg; }

/* ---------- Contato ---------- */
.contact { padding: var(--sp-section) 12px clamp(20px, 3vw, 50px); }
.contact__panel { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 4.5vw, 70px); align-items: center; max-width: 1120px; margin-inline: auto; padding: clamp(26px, 3.6vw, 52px); border: 1px solid rgba(255, 255, 255, .1); border-radius: 28px; background: linear-gradient(160deg, #18293d 0%, #0f1e30 55%, #0a1624 100%); box-shadow: 0 40px 100px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .08); }
.contact__glow { position: absolute; z-index: -1; left: -10%; top: -40%; width: 70%; height: 110%; background: radial-gradient(closest-side, rgba(var(--gold-a), .18), transparent); pointer-events: none; }
.contact__panel::before { content: ""; position: absolute; left: 8%; right: 50%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-hi), transparent); opacity: .8; }
.contact__title { font-weight: 200; font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -.025em; }
.contact__lead { max-width: 380px; margin-top: 12px; font-size: var(--fs-body); line-height: 1.6; color: var(--muted); }
.channels { margin-top: clamp(24px, 2.6vw, 34px); border-top: 1px solid var(--line); }
.channel { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 12px 2px; border-bottom: 1px solid var(--line); transition: padding-left .7s var(--ease); }
.channel__icon { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(var(--gold-a), .4); border-radius: 50%; color: var(--gold-hi); transition: background-color .7s var(--ease), color .7s var(--ease); }
.channel__icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.channel__icon .fill { fill: currentColor; stroke: none; }
.channel span { display: grid; font-size: 15px; line-height: 1.4; }
.channel small { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.channel__arrow { width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 1.4; transition: transform .7s var(--ease), stroke .7s; }
a.channel:hover { padding-left: 12px; }
a.channel:hover .channel__icon { background: var(--gold); color: var(--bg); }
a.channel:hover .channel__arrow { stroke: var(--gold-hi); transform: rotate(45deg); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; padding: clamp(18px, 2vw, 26px); border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; background: rgba(var(--ink-a), .5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.form__types { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 4px; padding: 0; border: 0; }
.form__types legend { width: 100%; margin-bottom: 10px; padding: 0; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.form__types label { cursor: pointer; }
.form__types input { position: absolute; opacity: 0; pointer-events: none; }
.form__types span { display: inline-block; padding: 6px 13px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; font-size: 12.5px; color: rgba(242, 239, 233, .85); transition: background-color .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease); }
.form__types label:hover span { border-color: rgba(var(--gold-a), .6); }
.form__types input:checked + span { border-color: var(--gold); background: var(--gold); color: var(--bg); }
.form__types input:focus-visible + span { outline: 1px solid var(--gold); outline-offset: 3px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field > span { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.field:has([required]) > span::after { content: " *"; color: var(--gold); }
.field input, .field textarea { width: 100%; padding: 10px 13px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 11px; background: rgba(255, 255, 255, .03); color: var(--text); font-size: 15px; font-weight: 300; resize: vertical; transition: border-color .5s, background-color .5s; }
.field input::placeholder, .field textarea::placeholder { color: rgba(242, 239, 233, .38); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(var(--gold-a), .05); }
.field.is-invalid input { border-color: #e08f7c; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap-reverse; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 4px; }
.form__note { font-size: 13px; color: var(--gold); }
.form__send { display: inline-flex; align-items: center; gap: 14px; margin-left: auto; padding: 5px 5px 5px 20px; border: 0; border-radius: 999px; background: var(--gold); color: var(--bg); font-size: 13.5px; font-weight: 400; cursor: pointer; transition: background-color .6s var(--ease), transform .6s var(--ease); }
.form__send i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bg); }
.form__send svg { width: 11px; height: 11px; fill: none; stroke: var(--gold-hi); stroke-width: 1.6; transition: transform .6s var(--ease); }
.form__send:hover { background: var(--gold-hi); transform: translateY(-2px); }
.form__send:hover svg { transform: rotate(45deg); }

/* ---------- Rodapé ---------- */
.footer { padding: clamp(44px, 5vw, 80px) 0 24px; }
.footer__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px clamp(40px, 6vw, 100px); align-items: start; max-width: 1120px; }
.footer__brand img { width: 120px; height: auto; }
.footer__line { margin-top: 26px; font-weight: 200; font-size: clamp(24px, 2.3vw, 34px); line-height: 1.2; letter-spacing: -.02em; color: rgba(242, 239, 233, .92); }
.footer__info { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.footer__info h3 { margin-bottom: 12px; font-size: 10.5px; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.footer__info a, .footer__info p { display: block; font-size: 14.5px; line-height: 1.75; color: var(--muted); }
.footer__info a { width: fit-content; background: linear-gradient(var(--gold-hi), var(--gold-hi)) 0 100% / 0 1px no-repeat; transition: color .5s, background-size .6s var(--ease); }
.footer__info a:hover { color: var(--gold-hi); background-size: 100% 1px; }
.footer__bottom { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 64px 0 0; border-top: 1px solid var(--line); font-size: 12px; color: var(--dim); }
.footer__up { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; color: var(--muted); transition: border-color .5s, color .5s; }
.footer__up svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.footer__up:hover { border-color: var(--gold); color: var(--gold-hi); }

/* botão flutuante do WhatsApp */
.whats { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: var(--bg); box-shadow: 0 14px 34px rgba(0, 0, 0, .45); transition: background-color .6s, transform .6s var(--ease); }
.whats:hover { background: var(--gold-hi); transform: translateY(-3px); }
.whats svg { width: 24px; height: 24px; fill: currentColor; }

/* elementos que o JS revela conforme a rolagem */
.js .up { opacity: 0; }

/* ---------- Tablet ---------- */
@media (max-width: 1000px) {
  .nav { display: none; }
  .burger { display: block; }
  .header { grid-template-columns: 1fr auto; }
  .menu { grid-template-columns: 1fr; }
  .menu__img { display: none; }
  .featured__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .project { aspect-ratio: 4 / 5; }
  .project--main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
  .arcrow { --w: 26vw; }
  .folder { grid-template-columns: 1fr; top: calc(84px + var(--i) * 14px); min-height: 0; border-radius: 24px; }
  .folder__img { aspect-ratio: 16 / 10; order: -1; }
  .folder h3 { margin-top: 18px; }
  .folder__list ul { grid-template-columns: 1fr; }
  /* processo: linha estreita na margem, textos numa coluna à direita */
  .path { --tx: 84px; width: calc(100% - 2 * var(--gutter)); height: 1400px; }
  .node div, .node--left div, .node--right div { left: calc(var(--tx) - var(--nx, 0px)); right: auto; top: -10px; width: calc(100vw - 2 * var(--gutter) - var(--tx) - 8px); text-align: left; }
  .node__num { left: calc(var(--tx) - var(--nx, 0px)); top: -36px; font-size: 17px; }
  .node p { font-size: 14px; }
  .path__label { font-size: 16px; }
  .contact__panel { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; align-items: start; }
}

/* ---------- Celular ---------- */
@media (max-width: 640px) {
  .header .cta span { display: none; }
  .header .cta { padding: 4px; }
  .hero__pin { margin: 8px 8px 0; height: 86svh; min-height: 480px; border-radius: 20px; }
  .hero__logo { width: 68vw; }
  .hero .pill, .hero__hint { display: none; }
  .featured__grid { grid-template-columns: 1fr; }
  .project, .project--main { aspect-ratio: 4 / 5; }
  .arcrow { --w: 38vw; }
  .folders { gap: 16vh; }
  .folder { padding: 12px 12px 20px; }
  .folder__text { padding: 2px 6px 0; }
  .folder__top { padding-bottom: 12px; }
  .folder__link { padding: 11px 18px; font-size: 13px; }
  .about__head { padding-inline: 24px; }
  .path { height: 1180px; }
  /* tour no celular: foto vertical com enquadramento próprio + faixa de ambientes deslizável embaixo */
  .tour { height: auto; min-height: 0; margin: 0 8px; overflow: visible; border-radius: 0; }
  .tour__stage { position: relative; inset: auto; aspect-ratio: 4 / 5; max-height: 74svh; width: 100%; border-radius: 20px; }
  .tour__bar { position: static; translate: none; display: block; margin-top: 12px; }
  .tour__pills { overflow-x: auto; gap: 6px; padding: 2px 0 4px; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .tour__pills::-webkit-scrollbar { display: none; }
  .tour__pill { flex: none; padding: 9px 18px; border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .03); font-size: 13.5px; scroll-snap-align: start; }
  .tour__pill.is-active { border-color: var(--gold); background: var(--gold); color: var(--bg); }
  .tour__preview, .spot__tag span, .tour__side { display: none; }
  .spot__tag { padding: 7px 13px; }
  .spot__tag strong { font-size: 12.5px; }
  .spot__line { height: 44px; }
  .spot__tag { bottom: 44px; }
  .contact { padding-inline: 8px; }
  .contact__panel { border-radius: 22px; padding: 24px 16px; gap: 26px; }
  .form { grid-template-columns: 1fr; padding: 18px; }
  .form__send { width: 100%; justify-content: space-between; }
  .whats { right: 14px; bottom: 14px; width: 48px; height: 48px; }
}

/* ---------- Modo de teste (?teste): desliga as animações ---------- */
.no-motion *, .no-motion *::before, .no-motion *::after { animation: none !important; transition: none !important; }
.no-motion .up, .no-motion .header, .no-motion .hero .pill, .no-motion .hero__logo, .no-motion .hero__hint { opacity: 1 !important; transform: none !important; }
