/* ==========================================================================
   CRIA UFMG — site institucional
   Tokens da marca extraídos do Brandbook (Identidade Visual > Cores/Tipografia)
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Paleta oficial */
  --red: #e9483f;
  --purple: #753c7e;
  --navy: #25284f;
  --blue: #1f6ab1;
  --lime: #cfd60e;
  --sky: #59c3e3;
  --pink: #f09bc2;
  --magenta: #e05297;
  --green: #1ea64f;
  --yellow: #fcbd24;
  --ink: #1d1d1b;
  --paper: #ffffff;

  /* Tipografia: Sequel (logo) -> Archivo Expanded (web) / Montserrat (texto, recomendada no Brandbook) */
  --f-display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --f-text: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --gut: clamp(20px, 4.6vw, 64px);
  --max: 1320px;
  --hh: 68px;
  --sec: clamp(76px, 10vw, 148px);
  /* Forma-assinatura da marca: três cantos arredondados e um reto */
  --shape: 34px 34px 0 34px;
  --shape-sm: 20px 20px 0 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-text);
  font-size: clamp(1rem, .96rem + .2vw, 1.125rem);
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .hero :focus-visible, .site-footer :focus-visible, .sec--purple :focus-visible, .sec--blue :focus-visible { outline-color: var(--lime); }
::selection { background: var(--lime); color: var(--navy); }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 200; background: var(--lime); color: var(--navy); padding: 12px 18px; font-weight: 700; border-radius: 12px; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - var(--gut) * 2, var(--max)); margin-inline: auto; }

/* ---------- Tipografia ---------- */
.display, h1, h2, .h-display {
  font-family: var(--f-display);
  font-stretch: 125%;
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: .98;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1rem + 5.6vw, 5rem); }
h2 { font-size: clamp(1.85rem, 1.1rem + 3.6vw, 3.9rem); }
h3 { font-family: var(--f-text); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-text); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow svg { width: 18px; height: 18px; flex: none; }
.lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); line-height: 1.55; font-weight: 500; max-width: 38em; }
.hl { color: var(--lime); }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--lime); --fg: var(--navy); --wipe: var(--navy); --fg-h: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 14px 26px;
  font-family: var(--f-text); font-weight: 800; font-size: 1rem; letter-spacing: -.005em; text-decoration: none;
  background: var(--bg); color: var(--fg);
  border: 0; border-radius: 999px;
  transition: color .35s var(--ease), transform .35s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 100%;
  width: 140%; aspect-ratio: 1; border-radius: 50%; background: var(--wipe);
  transform: translate(-50%, 0) scale(.2); transition: transform .5s var(--ease);
}
.btn:hover, .btn:focus-visible { color: var(--fg-h); }
.btn:hover::before, .btn:focus-visible::before { transform: translate(-50%, -60%) scale(1.2); }
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--navy { --bg: var(--navy); --fg: #fff; --wipe: var(--lime); --fg-h: var(--navy); }
.btn--line { --bg: transparent; --fg: #fff; --wipe: #fff; --fg-h: var(--navy); box-shadow: inset 0 0 0 2px currentColor; }
.btn--line-dark { --bg: transparent; --fg: var(--navy); --wipe: var(--navy); --fg-h: #fff; box-shadow: inset 0 0 0 2px var(--navy); }
.btn--sm { min-height: 46px; padding: 10px 20px; font-size: .92rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translate(3px, -3px); }

/* ---------- Header ---------- */
.site-header {
  --logo-wm: #fff; --logo-ic: #fff; --logo-sq: var(--navy);
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--hh);
  background: var(--navy); color: #fff;
  transition: background .3s, color .3s, box-shadow .3s;
}
.site-header.is-solid {
  --logo-wm: var(--navy); --logo-ic: var(--navy); --logo-sq: var(--lime);
  background: #fff; color: var(--navy); box-shadow: 0 1px 0 rgba(37, 40, 79, .12);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: block; height: 44px; width: auto; aspect-ratio: 2.31 / 1; }
.logo-link { display: inline-flex; border-radius: 10px; }
.nav { display: none; }
.nav ul { display: flex; gap: clamp(14px, 2.2vw, 34px); }
.nav a { position: relative; display: inline-block; padding: 8px 2px; font-weight: 700; font-size: .93rem; text-decoration: none; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 3px; background: var(--lime); transition: right .35s var(--ease); }
.site-header.is-solid .nav a::after { background: var(--red); }
.nav a:hover::after, .nav a[aria-current="true"]::after { right: 0; }
.header-cta { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px;
  background: transparent; border: 2px solid currentColor; border-radius: 999px; font-weight: 800; font-size: .9rem; color: inherit;
}
.menu-btn__bars { position: relative; width: 20px; height: 12px; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2.5px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn__bars::before { top: 0; } .menu-btn__bars::after { top: 9.5px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { top: 5px; transform: rotate(-45deg); }
.progress { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--lime); transform: scaleX(0); transform-origin: 0 50%; }
.site-header.is-solid .progress { background: var(--red); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 90; background: var(--navy); color: #fff;
  padding: calc(var(--hh) + 28px) var(--gut) 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  clip-path: circle(0 at calc(100% - 52px) 34px); visibility: hidden; transition: clip-path .6s var(--ease), visibility 0s .6s;
  overflow-y: auto;
}
.mobile-nav.is-open { clip-path: circle(150% at calc(100% - 52px) 34px); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
.mobile-nav ul { display: grid; gap: 2px; }
.mobile-nav li a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; text-decoration: none;
  font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: clamp(1.8rem, 8vw, 2.8rem); letter-spacing: -.02em; line-height: 1.05;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.mobile-nav li a small { font-family: var(--f-text); font-size: .8rem; font-weight: 700; color: var(--lime); letter-spacing: .1em; }
.mobile-nav__foot { display: grid; gap: 14px; }
.mobile-nav__foot p { color: rgba(255, 255, 255, .75); font-size: .95rem; }

@media (min-width: 1020px) {
  .nav { display: block; } .header-cta { display: inline-flex; } .menu-btn, .mobile-nav { display: none; }
  :root { --hh: 76px; }
  .logo { height: 48px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: calc(var(--hh) + clamp(28px, 6vw, 80px)) 0 0; }
.hero__grid { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; }
.hero__copy { position: relative; z-index: 2; }
.hero .eyebrow { color: var(--lime); margin-bottom: clamp(14px, 2vw, 22px); font-size: .74rem; }
.hero h1 { font-size: clamp(1.75rem, .9rem + 3.5vw, 3.45rem); max-width: 14em; line-height: 1.02; }
.hero .lead { margin-top: clamp(16px, 2vw, 24px); font-size: clamp(.98rem, .92rem + .25vw, 1.12rem); color: rgba(255, 255, 255, .92); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(26px, 3.4vw, 40px); }
.hero__art { position: relative; width: min(100%, 560px); aspect-ratio: 1 / 1; margin-inline: auto; }
.fl { position: absolute; will-change: transform; }
.fl > * { animation: float var(--t, 9s) ease-in-out infinite alternate; animation-delay: var(--dl, 0s); }
.fl svg, .fl .dot { width: 100%; height: auto; aspect-ratio: 1; }
.dot { border-radius: 50%; display: grid; place-items: center; }
.dot > span { display: block; }
.deco svg, .foot__big svg, .panel__shape, .work__art svg { height: auto; aspect-ratio: 1; }
.deco svg, .foot__big svg { width: 100%; }
.hero__partners { margin-top: clamp(22px, 3vw, 32px); font-weight: 600; font-size: .95rem; color: rgba(255,255,255,.82); }
.hero__partners b { color: #fff; font-weight: 800; border-bottom: 2px solid var(--lime); }
@keyframes float { from { transform: translateY(-2.5%) rotate(var(--r0, -2deg)); } to { transform: translateY(3%) rotate(var(--r1, 3deg)); } }
@keyframes spin { to { transform: rotate(360deg); } }
.spin { animation: spin var(--s, 40s) linear infinite; transform-origin: 50% 50%; }

.stats { position: relative; z-index: 2; margin-top: clamp(36px, 6vw, 84px); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255, 255, 255, .22); }
.stat { padding: clamp(16px, 2.4vw, 30px) clamp(10px, 2vw, 28px) clamp(20px, 3vw, 38px) 0; }
.stat + .stat { padding-left: clamp(10px, 2vw, 28px); border-left: 1px solid rgba(255, 255, 255, .22); }
.stat__n { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: clamp(1.45rem, 1rem + 2.2vw, 2.7rem); letter-spacing: -.03em; line-height: 1; color: var(--lime); }
.stat__l { margin-top: 8px; font-weight: 600; font-size: clamp(.72rem, .68rem + .2vw, .88rem); line-height: 1.35; color: rgba(255, 255, 255, .88); }

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
  .hero { padding-top: calc(var(--hh) + 56px); }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--lime); color: var(--navy); overflow: hidden; border-block: 0; padding: clamp(14px, 2vw, 22px) 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item { display: inline-flex; align-items: center; gap: clamp(18px, 3vw, 40px); padding-right: clamp(18px, 3vw, 40px); font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: clamp(1.05rem, .85rem + 1.1vw, 1.9rem); letter-spacing: -.02em; white-space: nowrap; }
.marquee__item svg { width: clamp(22px, 3vw, 38px); height: clamp(22px, 3vw, 38px); color: var(--red); flex: none; animation: spin 14s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Seções ---------- */
.sec { position: relative; padding: var(--sec) 0; overflow: hidden; }
.sec--tight { padding-block: clamp(56px, 7vw, 100px); }
.sec--pink { background: var(--pink); color: var(--navy); }
.sec--blue { background: var(--blue); color: #fff; }
.sec--yellow { background: var(--yellow); color: var(--navy); }
.sec--purple { background: var(--purple); color: #fff; }
.sec--navy { background: var(--navy); color: #fff; }
.sec__head { display: grid; gap: clamp(16px, 2vw, 26px); margin-bottom: clamp(36px, 5vw, 72px); }
.sec__head .eyebrow { color: var(--red); }
.sec--pink .eyebrow, .sec--yellow .eyebrow { color: var(--navy); }
.sec--blue .eyebrow, .sec--purple .eyebrow { color: var(--lime); }
.sec__head--split { align-items: end; }
@media (min-width: 900px) { .sec__head--split { grid-template-columns: 1.3fr 1fr; gap: 56px; } }
.deco { position: absolute; pointer-events: none; z-index: 0; }
.deco > * { animation: float var(--t, 12s) ease-in-out infinite alternate; }
.wrap { position: relative; z-index: 1; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="scale"] { transform: scale(.86); }
.js [data-reveal="scale"].is-in { transform: none; }

/* ---------- Serviços ---------- */
.tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tab {
  --c: var(--red); --t: #fff;
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; text-align: left;
  min-height: 112px; padding: 16px 18px; background: #fff; color: var(--navy);
  border: 2px solid var(--navy); border-radius: var(--shape-sm);
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.tab:hover { transform: translateY(-4px); }
.tab__n { font-weight: 800; font-size: .8rem; letter-spacing: .12em; }
.tab__name { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: clamp(1rem, .8rem + 1.1vw, 1.55rem); letter-spacing: -.02em; line-height: 1.02; }
.tab[aria-selected="true"] { background: var(--c); color: var(--t); border-color: var(--c); }
.tab--red { --c: var(--red); } .tab--blue { --c: var(--blue); } .tab--green { --c: var(--green); }
.tab--yellow { --c: var(--yellow); --t: var(--navy); }
@media (min-width: 900px) { .tabs { grid-template-columns: repeat(4, 1fr); gap: 14px; } .tab { min-height: 140px; padding: 20px 22px; } }

.panel { margin-top: clamp(28px, 4vw, 56px); display: grid; gap: clamp(24px, 4vw, 64px); }
.panel[hidden] { display: none; }
.panel__intro { align-self: start; }
.panel__intro h3 { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.7rem); letter-spacing: -.025em; line-height: 1; }
.panel__intro p { margin-top: 16px; font-weight: 500; max-width: 26em; }
.panel__intro .btn { margin-top: 24px; }
.panel__shape { margin-top: 28px; color: var(--c); }
.panel--red { --c: var(--red); } .panel--blue { --c: var(--blue); } .panel--green { --c: var(--green); } .panel--yellow { --c: var(--yellow); }
.panel--yellow .panel__shape { color: var(--yellow); }
@media (min-width: 960px) { .panel { grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); } .panel__intro { position: sticky; top: calc(var(--hh) + 28px); } }

.svc-list { border-top: 2px solid var(--navy); }
.svc { position: relative; display: grid; gap: 10px; padding: clamp(18px, 2.4vw, 28px) clamp(4px, 1vw, 14px); border-bottom: 1px solid rgba(37, 40, 79, .22); transition: background .3s var(--ease), padding .4s var(--ease); }
.svc:hover { background: color-mix(in srgb, var(--c) 10%, #fff); padding-left: clamp(12px, 1.6vw, 22px); }
.svc h4 { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); letter-spacing: -.02em; line-height: 1.1; color: var(--navy); }
.svc p { font-size: .98rem; line-height: 1.6; color: #34364e; }
.svc a { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-weight: 800; font-size: .9rem; color: var(--navy); text-decoration: none; }
.svc a svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.svc a:hover svg { transform: translateX(5px); }
.svc a::after { content: ""; position: absolute; inset: 0; }
@media (min-width: 720px) {
  .svc { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 8px 32px; align-items: start; }
  .svc h4 { grid-row: 1 / span 2; }
  .svc__side { display: contents; }
  .svc a { grid-column: 2; }
}
.svc-note { margin-top: clamp(32px, 4vw, 52px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(22px, 3vw, 36px); background: var(--navy); color: #fff; border-radius: var(--shape); }
.svc-note p { font-family: var(--f-display); font-stretch: 118%; font-weight: 800; font-size: clamp(1.15rem, 1rem + 1vw, 1.8rem); letter-spacing: -.02em; line-height: 1.15; max-width: 22em; }

/* ---------- Portfólio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(24px, 3.6vw, 44px); }
.chip { min-height: 46px; padding: 8px 20px; border-radius: 999px; font-weight: 800; font-size: .9rem; background: transparent; color: var(--navy); border: 2px solid var(--navy); transition: background .25s, color .25s, transform .25s var(--ease); }
.chip:hover { transform: translateY(-2px); }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; }
.works { display: grid; gap: clamp(18px, 2.4vw, 30px); grid-template-columns: 1fr; }
@media (min-width: 640px) { .works { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .works { grid-template-columns: repeat(3, 1fr); } }
.work { position: relative; display: flex; flex-direction: column; gap: 14px; transition: opacity .4s, transform .5s var(--ease); }
.work[hidden] { display: none; }
.work.is-out { opacity: 0; transform: scale(.94); }
.work__art { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: var(--bg); color: var(--fg); border-radius: var(--shape); isolation: isolate; }
.work__art .s1 { position: absolute; width: 56%; left: 22%; top: 20%; transition: transform .7s var(--ease); }
.work__art .s2 { position: absolute; width: 46%; right: -10%; bottom: -16%; opacity: 1; color: var(--fg2); transition: transform .8s var(--ease); }
.work__art .s3 { position: absolute; width: 26%; left: -6%; top: -8%; color: var(--fg2); transition: transform .8s var(--ease); }
.work:hover .s1 { transform: scale(1.12) rotate(-6deg); }
.work:hover .s2 { transform: rotate(40deg) scale(1.1); }
.work:hover .s3 { transform: rotate(-30deg) scale(1.2); }
.work__idx { position: absolute; left: 18px; bottom: 14px; font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: 1rem; letter-spacing: -.01em; opacity: .85; }
.work__go { position: absolute; right: 14px; top: 14px; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; transform: scale(.6) rotate(-45deg); opacity: 0; transition: transform .5s var(--ease), opacity .3s; z-index: 2; }
.work__go svg { width: 22px; height: 22px; }
.work:hover .work__go, .work:focus-within .work__go { transform: none; opacity: 1; }
.work__meta h3 { font-family: var(--f-display); font-stretch: 118%; font-weight: 900; font-size: clamp(1.1rem, 1rem + .5vw, 1.45rem); letter-spacing: -.02em; line-height: 1.1; }
.work__meta h3 a { text-decoration: none; }
.work__meta h3 a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.work__meta p { margin-top: 4px; font-weight: 600; font-size: .92rem; }
.work__meta .tag { opacity: .72; font-weight: 700; font-size: .82rem; letter-spacing: .02em; }
.cta-row { margin-top: clamp(36px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.cta-row p { font-family: var(--f-display); font-stretch: 118%; font-weight: 800; font-size: clamp(1.2rem, 1rem + 1.2vw, 2rem); letter-spacing: -.02em; max-width: 20em; line-height: 1.12; }
.note { margin-top: 18px; font-size: .86rem; font-weight: 600; opacity: .8; }

/* ---------- Sobre ---------- */
.about { display: grid; gap: clamp(32px, 5vw, 80px); }
@media (min-width: 960px) { .about { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; } }
.about h2 { max-width: 11em; }
.about__txt { margin-top: clamp(20px, 3vw, 32px); display: grid; gap: 18px; max-width: 36em; font-weight: 500; }
.mission { margin-top: clamp(28px, 4vw, 44px); padding: clamp(20px, 3vw, 32px); background: var(--lime); color: var(--navy); border-radius: var(--shape); max-width: 36em; }
.mission b { display: block; font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.mission p { font-weight: 600; line-height: 1.5; }
.why { display: grid; gap: 0; border-top: 2px solid #fff; }
.why li { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; padding: clamp(18px, 2.4vw, 28px) 0; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.why__n { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: 1rem; color: var(--lime); padding-top: 4px; }
.why h3 { font-family: var(--f-display); font-stretch: 118%; font-weight: 800; font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); letter-spacing: -.02em; }
.why p { grid-column: 2; font-weight: 500; font-size: .98rem; color: rgba(255, 255, 255, .92); }
.partners { margin-top: clamp(40px, 6vw, 80px); padding-top: clamp(28px, 4vw, 44px); border-top: 2px solid #fff; display: grid; gap: 22px; }
.partners p { font-weight: 600; max-width: 34em; }
.partners__names { display: flex; flex-wrap: wrap; gap: 12px; }
.partners__names span { display: inline-flex; align-items: center; min-height: 64px; padding: 10px 28px; border-radius: 999px; background: #fff; color: var(--navy); font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: clamp(1.2rem, 1rem + 1.2vw, 2rem); letter-spacing: -.02em; }
.partners__names span:nth-child(2) { background: var(--red); color: #fff; }

/* ---------- Valores ---------- */
.values { display: grid; gap: clamp(28px, 4vw, 48px) clamp(18px, 3vw, 40px); grid-template-columns: 1fr; }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { display: grid; gap: 18px; justify-items: start; }
.sticker { width: clamp(150px, 56%, 210px); height: auto; aspect-ratio: 1; overflow: visible; transition: transform .6s var(--ease); }
.value:hover .sticker { transform: rotate(-8deg) scale(1.05); }
.sticker__ring { transform-origin: 100px 100px; animation: spin var(--s, 36s) linear infinite; }
.value:hover .sticker__ring { animation-duration: 8s; }
.sticker text { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; fill: #fff; letter-spacing: 0; }
.value h3 { font-family: var(--f-display); font-stretch: 118%; font-weight: 900; font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); letter-spacing: -.02em; }
.value p { margin-top: 6px; font-weight: 500; max-width: 24em; }

/* ---------- Processo ---------- */
.steps { display: grid; gap: 0; counter-reset: step; border-top: 2px solid var(--navy); }
.step { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; padding: clamp(22px, 3vw, 34px) 0; border-bottom: 1px solid rgba(37, 40, 79, .3); }
.step__n { grid-row: span 2; font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: clamp(2.6rem, 2rem + 4vw, 5rem); letter-spacing: -.04em; line-height: .9; color: var(--red); }
.step h3 { font-family: var(--f-display); font-stretch: 118%; font-weight: 900; font-size: clamp(1.25rem, 1rem + 1vw, 1.9rem); letter-spacing: -.02em; align-self: end; }
.step p { font-weight: 500; max-width: 30em; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); border-top: 0; gap: 0 clamp(16px, 2vw, 30px); }
  .step { display: block; border-bottom: 0; border-top: 2px solid var(--navy); padding-top: 26px; }
  .step__n { display: block; margin-bottom: 26px; }
  .step h3 { margin-bottom: 10px; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: clamp(28px, 5vw, 80px); }
@media (min-width: 960px) { .faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); } .faq__head { position: sticky; top: calc(var(--hh) + 28px); align-self: start; } }
.faq__head p { margin-top: 18px; font-weight: 500; max-width: 24em; }
.faq__head .btn { margin-top: 24px; }
details.q { border-bottom: 2px solid var(--navy); }
details.q:first-child { border-top: 2px solid var(--navy); }
details.q summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(18px, 2.4vw, 26px) 0; cursor: pointer; list-style: none; font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: clamp(1.02rem, .95rem + .6vw, 1.4rem); letter-spacing: -.015em; line-height: 1.2; color: var(--navy); }
details.q summary::-webkit-details-marker { display: none; }
.q__icon { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; transition: transform .4s var(--ease), background .3s; }
.q__icon svg { width: 20px; height: 20px; }
details.q[open] .q__icon { transform: rotate(45deg); background: var(--red); }
details.q summary:hover .q__icon { background: var(--red); }
.q__a { padding: 0 0 clamp(20px, 2.4vw, 28px); max-width: 38em; font-weight: 500; animation: fade .5s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Contato ---------- */
.contact { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 960px) { .contact { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: start; } }
.contact h2 { max-width: 10em; }
.contact .lead { margin-top: 20px; color: rgba(255, 255, 255, .94); }
.channels { margin-top: clamp(26px, 3.6vw, 42px); display: grid; gap: 12px; }
.channel { display: flex; align-items: center; gap: 16px; min-height: 68px; padding: 12px 20px 12px 14px; border: 2px solid rgba(255, 255, 255, .4); border-radius: 999px; text-decoration: none; transition: background .3s, color .3s, border-color .3s, transform .35s var(--ease); }
.channel:hover { background: #fff; color: var(--purple); border-color: #fff; transform: translateX(6px); }
.channel__ic { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: var(--navy); display: grid; place-items: center; }
.channel__ic svg { width: 22px; height: 22px; }
.channel small { display: block; font-weight: 600; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.channel b { display: block; font-weight: 800; font-size: 1.05rem; line-height: 1.2; }
.channel__go { margin-left: auto; width: 22px; height: 22px; flex: none; }

.form-card { background: #fff; color: var(--ink); border-radius: var(--shape); padding: clamp(22px, 3.6vw, 44px); }
.form-card h3 { font-family: var(--f-display); font-stretch: 118%; font-weight: 900; font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem); letter-spacing: -.02em; color: var(--navy); line-height: 1.1; }
.form-card > p { margin-top: 8px; font-weight: 500; font-size: .96rem; color: #3b3d58; }
form { margin-top: 24px; display: grid; gap: 16px; }
.row { display: grid; gap: 16px; }
@media (min-width: 640px) { .row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-weight: 800; font-size: .88rem; color: var(--navy); }
.field label i { font-style: normal; color: var(--red); }
.field label span { font-weight: 600; opacity: .65; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 13px 16px; background: #f6f6fa; color: var(--ink);
  border: 2px solid transparent; border-radius: 16px; font-weight: 500; font-size: 1rem;
  transition: border-color .25s, background .25s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2325284f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; padding-right: 44px; }
.field input:hover, .field select:hover, .field textarea:hover { background: #efeff6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--blue); }
.field.has-error input, .field.has-error select { border-color: var(--red); background: #fff3f2; }
.field .err { display: none; font-weight: 700; font-size: .84rem; color: #b3261e; }
.field.has-error .err { display: block; }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: .86rem; line-height: 1.45; font-weight: 500; color: #3b3d58; }
.consent input { flex: none; width: 22px; height: 22px; margin-top: 1px; accent-color: var(--navy); }
.consent a { color: var(--blue); font-weight: 700; }
.form-msg { display: none; padding: 14px 18px; border-radius: 16px; font-weight: 700; font-size: .95rem; }
.form-msg.is-show { display: block; background: #e8f7ee; color: #0f6b32; }
.form-msg.is-err { background: #fdecea; color: #a02019; }
.form-alt { text-align: center; font-size: .9rem; font-weight: 600; color: #3b3d58; }
.form-alt a { color: var(--blue); font-weight: 800; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { --logo-wm: #fff; --logo-ic: #fff; --logo-sq: var(--navy); background: var(--navy); color: #fff; padding: clamp(56px, 7vw, 96px) 0 28px; position: relative; overflow: hidden; }
.foot { display: grid; gap: clamp(32px, 5vw, 56px); }
@media (min-width: 900px) { .foot { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.foot .logo { height: 60px; }
.foot p { margin-top: 18px; max-width: 24em; font-weight: 500; font-size: .96rem; color: rgba(255, 255, 255, .82); }
.foot h2 { font-family: var(--f-text); font-stretch: normal; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: 16px; line-height: 1.2; }
.foot li { margin-bottom: 4px; }
.foot a { display: inline-block; padding: 6px 0; font-weight: 600; text-decoration: none; transition: color .25s, transform .3s var(--ease); }
.foot a:hover { color: var(--lime); transform: translateX(4px); }
.foot__bar { margin-top: clamp(40px, 6vw, 72px); padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .22); display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; font-size: .86rem; font-weight: 500; color: rgba(255, 255, 255, .75); }
.foot__bar a { padding: 0; text-decoration: underline; }
.foot__big { position: absolute; right: -4%; bottom: -14%; width: min(46vw, 460px); color: var(--blue); opacity: 1; pointer-events: none; z-index: 0; }

/* ---------- CTA fixo mobile ---------- */
.sticky-cta { position: fixed; z-index: 80; left: 12px; right: 12px; bottom: 12px; transform: translateY(160%); transition: transform .5s var(--ease); display: flex; gap: 10px; }
.sticky-cta.is-show { transform: none; }
.sticky-cta .btn { flex: 1; min-height: 56px; box-shadow: 0 10px 24px rgba(37, 40, 79, .28); }
@media (min-width: 1020px) { .sticky-cta { display: none; } }
body { padding-bottom: 0; }

/* ---------- Páginas internas ---------- */
.page-hero { background: var(--navy); color: #fff; padding: calc(var(--hh) + 64px) 0 56px; }
.prose { max-width: 46em; padding: 56px 0 96px; display: grid; gap: 18px; }
.prose h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); margin-top: 28px; }
.prose a { color: var(--blue); font-weight: 700; }
.prose ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 6px; }
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--navy); color: #fff; padding: 40px var(--gut); }
.notfound h1 { font-size: clamp(4rem, 2rem + 14vw, 11rem); color: var(--lime); }
.notfound p { margin: 18px auto 28px; max-width: 28em; font-weight: 500; font-size: 1.1rem; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation-name: marquee !important; animation-duration: 70s !important; animation-iteration-count: infinite !important; }
}

.sticky-cta .btn { white-space: nowrap; padding-inline: 18px; }
.sticky-cta .btn:first-child { flex: 1.6; }

/* ---------- Portfolio: capas reais ---------- */
.work__img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work:hover .work__img { transform: scale(1.06); }
.work__idx { z-index: 2; background: #fff; color: var(--navy); padding: 4px 10px; border-radius: 999px; font-size: .78rem; left: 14px; bottom: 14px; }

/* ---------- Pagina de projeto ---------- */
.proj-hero { position: relative; overflow: hidden; background: var(--bg); color: var(--fg2); padding: calc(var(--hh) + clamp(36px, 6vw, 80px)) 0 clamp(40px, 6vw, 80px); isolation: isolate; }
.proj-hero .wrap { color: #fff; }
.proj-hero[style*="--bg:var(--lime)"] .wrap, .proj-hero[style*="--bg:var(--yellow)"] .wrap, .proj-hero[style*="--bg:var(--sky)"] .wrap, .proj-hero[style*="--bg:var(--pink)"] .wrap { color: var(--navy); }
.proj-hero h1 { font-size: clamp(2rem, 1rem + 4.2vw, 4.2rem); margin-top: 14px; }
.proj-hero .lead { margin-top: 16px; }
.proj-hero .eyebrow { color: inherit; }
.proj-hero__art { position: absolute; inset: 0; z-index: -1; color: var(--fg); opacity: .9; }
.proj-hero__art svg { position: absolute; height: auto; aspect-ratio: 1; }
.proj-hero__art .p1 { width: min(38vw, 360px); right: 6%; top: 18%; }
.proj-hero__art .p2 { width: min(24vw, 220px); right: -3%; bottom: -12%; color: var(--fg2); }
.proj-hero__art .p3 { width: min(12vw, 110px); right: 38%; top: 8%; color: var(--fg2); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; font-weight: 700; margin-bottom: 26px; }
.crumbs a { text-decoration: none; border-bottom: 2px solid currentColor; }
.proj-cover { margin-bottom: clamp(18px, 2.4vw, 30px); border-radius: var(--shape); overflow: hidden; background: #f0f0f5; }
.proj-cover img { width: 100%; height: auto; display: block; }
.gallery { display: grid; grid-template-columns: 1fr; gap: clamp(14px, 2vw, 26px); align-items: start; }
@media (min-width: 720px) { .gallery { grid-template-columns: 1fr 1fr; } }
.gal__item { margin: 0; border-radius: var(--shape-sm); overflow: hidden; background: #f0f0f5; cursor: zoom-in; }
.gal__item img { width: 100%; height: auto; display: block; transition: transform .6s var(--ease); }
.gal__item:hover img { transform: scale(1.03); }
.gallery-empty { padding: clamp(36px, 6vw, 80px); border-radius: var(--shape); background: var(--pink); color: var(--navy); font-family: var(--f-display); font-stretch: 118%; font-weight: 800; font-size: clamp(1.1rem, 1rem + 1vw, 1.7rem); letter-spacing: -.02em; line-height: 1.2; text-align: center; }
.gallery-empty[hidden] { display: none; }
.proj-cta { margin-top: clamp(40px, 6vw, 80px); padding: clamp(24px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; background: var(--navy); color: #fff; border-radius: var(--shape); }
.proj-cta h2 { font-size: clamp(1.4rem, 1rem + 1.8vw, 2.4rem); max-width: 16em; }
.proj-cta p { margin-top: 10px; font-weight: 500; }
.proj-nav { margin-top: clamp(32px, 4vw, 56px); display: grid; gap: 14px; }
@media (min-width: 720px) { .proj-nav { grid-template-columns: 1fr auto 1fr; align-items: center; } .proj-nav__next { text-align: right; } }
.proj-nav a { text-decoration: none; display: block; padding: 14px 0; border-top: 2px solid var(--navy); }
.proj-nav small { display: block; font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.proj-nav b { font-family: var(--f-display); font-stretch: 118%; font-weight: 900; font-size: 1.2rem; letter-spacing: -.02em; }
.proj-nav a:hover b { text-decoration: underline; text-decoration-thickness: 3px; }
.proj-nav__all { text-align: center; font-weight: 800; }
.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lb::backdrop { background: rgba(29, 29, 27, .92); }
.lb__img { position: absolute; inset: 56px 64px; margin: auto; max-width: calc(100% - 128px); max-height: calc(100% - 112px); object-fit: contain; border-radius: 14px; }
.lb button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); font-weight: 900; font-size: 1.3rem; display: grid; place-items: center; }
.lb__x { top: 14px; right: 14px; } .lb__p { left: 10px; top: 50%; } .lb__n { right: 10px; top: 50%; }
@media (max-width: 640px) { .lb__img { inset: 64px 8px; max-width: calc(100% - 16px); } .lb__p, .lb__n { top: auto; bottom: 12px; } }

/* ---------- Formulario conversacional ---------- */
.qf { margin: 0; display: block; }
.qf__top { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(20px, 3vw, 32px); }
html:not(.js) .qf__top, html:not(.js) .qf__next { display: none; }
.qf__back { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--navy); background: #fff; color: var(--navy); display: grid; place-items: center; transition: background .25s, color .25s, transform .3s var(--ease); }
.qf__back[hidden] { display: none; }
.qf__back svg { width: 20px; height: 20px; transform: rotate(180deg); }
.qf__back:hover { background: var(--navy); color: #fff; transform: translateX(-3px); }
.qf__bar { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.qf__bar span { position: relative; height: 6px; border-radius: 6px; background: #e6e6ef; overflow: hidden; }
.qf__bar span::after { content: ""; position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; transition: transform .55s var(--ease); }
.qf__bar span.is-on::after { transform: none; }
.qf__count { margin: 0; font-weight: 800; font-size: .82rem; color: var(--navy); white-space: nowrap; }
.qf__steps { display: grid; margin: -4px; padding: 4px; overflow: hidden; transition: height .5s var(--ease); }
.qf__steps[hidden] { display: none; }
.js .qstep { grid-area: 1 / 1; align-self: start; opacity: 0; visibility: hidden; transform: translateX(56px); transition: opacity .35s ease, transform .55s var(--ease), visibility 0s .55s; }
.js .qstep[data-state="before"] { transform: translateX(-56px); }
.js .qstep[data-state="active"] { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease .1s, transform .6s var(--ease) .1s, visibility 0s; }
html:not(.js) .qstep + .qstep { margin-top: 36px; }
.qstep__q { margin: 0; font-family: var(--f-display); font-stretch: 118%; font-weight: 900; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.15rem); letter-spacing: -.02em; line-height: 1.08; color: var(--navy); outline: none; text-wrap: balance; }
.qstep__hint { margin: 10px 0 0; font-weight: 500; font-size: .95rem; color: #4a4c68; }
.opts { display: grid; gap: 12px; margin-top: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .opts { grid-template-columns: 1fr 1fr; } }
.opt { position: relative; display: block; cursor: pointer; }
.opt input, .pill input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt__box { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: center; min-height: 92px; padding: 16px 18px; border: 2px solid #d9d9e6; border-radius: var(--shape-sm); background: #fff; transition: transform .35s var(--ease), background .25s, border-color .25s, color .25s; }
.opt__ic { grid-row: span 2; width: 46px; height: 46px; color: var(--c); transition: transform .5s var(--ease); }
.opt__ic svg { width: 100%; height: 100%; }
.opt b { align-self: end; font-weight: 800; font-size: 1.02rem; line-height: 1.2; color: var(--navy); }
.opt small { align-self: start; font-weight: 600; font-size: .8rem; line-height: 1.3; color: #5a5c75; }
.opt:hover .opt__box { transform: translateY(-3px); border-color: var(--navy); }
.opt:hover .opt__ic { transform: rotate(-12deg) scale(1.08); }
.opt input:checked + .opt__box { background: var(--navy); border-color: var(--navy); }
.opt input:checked + .opt__box b { color: #fff; } .opt input:checked + .opt__box small { color: rgba(255, 255, 255, .82); }
.opt input:focus-visible + .opt__box, .pill input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }
.qstep__other { margin-top: 14px; } .qstep__other[hidden] { display: none; }
.qstep__other input { width: 100%; min-height: 54px; padding: 13px 16px; background: #f6f6fa; border: 2px solid transparent; border-radius: 16px; font-weight: 500; }
.qstep__other input:focus { outline: none; background: #fff; border-color: var(--blue); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pill { position: relative; cursor: pointer; animation: pop .5s var(--ease) backwards; }
@keyframes pop { from { opacity: 0; transform: scale(.9); } }
.pill span { display: block; padding: 10px 18px; border: 2px solid #d9d9e6; border-radius: 20px 20px 0 20px; background: #fff; transition: background .25s, border-color .25s, transform .3s var(--ease); }
.pill b { display: block; font-weight: 800; font-size: .94rem; line-height: 1.25; color: var(--navy); }
.pill small { display: block; font-weight: 600; font-size: .76rem; line-height: 1.3; color: #5a5c75; }
.pill:hover span { border-color: var(--navy); transform: translateY(-2px); }
.pill input:checked + span { background: var(--navy); border-color: var(--navy); }
.pill input:checked + span b { color: #fff; } .pill input:checked + span small { color: rgba(255, 255, 255, .82); }
.pill input:checked + span b::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--lime); vertical-align: 1px; }
.pill--none span { border-style: dashed; }
.qstep .field textarea { min-height: 150px; margin-top: 20px; }
.ideas { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .82rem; font-weight: 700; color: #5a5c75; }
.ideas span { width: 100%; }
.idea { min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 2px dashed #b9bad0; background: transparent; font-weight: 700; font-size: .84rem; color: var(--navy); transition: background .25s, border-color .25s, transform .3s var(--ease); }
.idea:hover { border-style: solid; border-color: var(--navy); background: var(--lime); transform: translateY(-2px); }
.qstep__actions { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.qstep__actions .err { flex: 1 1 180px; font-weight: 700; font-size: .88rem; color: #b3261e; }
.qstep__actions .btn[hidden] { display: none; }
.qdone { text-align: center; padding: clamp(12px, 3vw, 36px) 0; display: grid; justify-items: center; gap: 14px; outline: none; }
.qdone[hidden] { display: none; }
.qdone__shape { width: 84px; color: var(--magenta); animation: spin 14s linear infinite; }
.qdone h3 { font-family: var(--f-display); font-stretch: 118%; font-weight: 900; font-size: clamp(1.6rem, 1rem + 2vw, 2.4rem); letter-spacing: -.02em; color: var(--navy); }
.qdone p { max-width: 24em; font-weight: 500; color: #3b3d58; }
.qf__top[hidden] { display: none; }

/* impede rolagem horizontal programatica por foco */
.sec, .hero, .site-footer, .proj-hero, .marquee { overflow: hidden; overflow: clip; }
.qf__steps { overflow: hidden; overflow: clip; }
body { overflow-x: hidden; overflow-x: clip; }

/* ---------- Sobre o projeto ---------- */
.proj-about { display: grid; gap: clamp(24px, 4vw, 64px); margin-bottom: clamp(32px, 5vw, 64px); }
@media (min-width: 900px) { .proj-about { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); } }
.proj-about h2 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); }
.proj-about__txt { margin-top: 20px; display: grid; gap: 16px; font-weight: 500; max-width: 38em; }
.proj-about__spec { display: grid; gap: 26px; align-content: start; }
.spec h3 { font-family: var(--f-text); font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatches li { display: grid; gap: 6px; justify-items: start; font-weight: 700; font-size: .75rem; letter-spacing: .02em; }
.swatches span { width: 64px; height: 64px; border-radius: 18px 18px 0 18px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.fonts { font-family: var(--f-display); font-stretch: 118%; font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; }
