/* Wise Websites — clássico */

/* Manrope, served with the site files (static 400–800, latin) */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/manrope-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/manrope-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/manrope-600-latin.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/manrope-700-latin.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url("assets/manrope-800-latin.woff2") format("woff2"); }


:root {
  --bg: #070B18;
  --bg-2: #0B1226;
  --bg-3: #0F1A3A;
  --line: rgba(241, 243, 255, .09);
  --line-2: rgba(241, 243, 255, .18);
  --text: #F1F3FF;
  --soft: #DDE3F5;
  --muted: #A3ACC4;
  --muted-2: #7F89A5;
  --blue: #1E96FC;
  --blue-2: #4FAEFF;
  --royal: #2449EC;
  --royal-ink: #DCE4FF;
  --on-blue: #06102A;
  --on-field: #B8C2E0;
  --on-field-2: #AAB4D3;
  --placeholder: #9EA8C8;

  --header: 84px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.16, 1, .3, 1);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 "Manrope", system-ui, sans-serif;
  font-feature-settings: "ss01", "tnum" 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  caret-color: var(--blue);
}
::selection { background: rgba(30, 150, 252, .38); color: #fff; }
html { scrollbar-color: #253055 var(--bg); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #253055; border-radius: 10px; border: 2px solid var(--bg); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { width: 1em; height: 1em; flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip { position: fixed; left: 16px; top: -64px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--blue); color: var(--on-blue); font-weight: 700; }
.skip:focus { top: 16px; }

/* reading progress: a hairline that runs to the end of the page */
.progress { position: fixed; inset: 0 0 auto; z-index: 70; height: 2px; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--blue); opacity: .9; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
@supports (animation-timeline: scroll()) {
  .progress i { transform: none; animation: progress linear both; animation-timeline: scroll(root block); }
  @keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.hl { color: var(--blue); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 26px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: 1rem; letter-spacing: -.005em; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .4s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn:active { transform: scale(.985); }
.btn--primary { background: var(--blue); color: var(--on-blue); }
.btn--primary:hover { background: var(--blue-2); }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { background: rgba(241, 243, 255, .06); border-color: rgba(241, 243, 255, .32); }
.btn--line { border-color: var(--line-2); color: var(--text); justify-content: space-between; }
.btn--line:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; border-radius: 10px; }
.btn--block { width: 100%; justify-content: space-between; min-height: 60px; }

.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .9375rem; color: var(--soft); }
.link svg { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.link:hover { color: var(--text); }
.link:hover svg { transform: translateX(4px); }
.link--blue { color: var(--blue); }
.link--blue:hover { color: var(--blue-2); }
.link--blue:hover svg { transform: translate(2px, -2px); }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header);
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(7, 11, 24, .86); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom-color: var(--line); }
.header__in { height: 100%; display: flex; align-items: center; gap: 40px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo__mark { width: 40px; height: 26px; color: var(--text); }
.logo__word { display: grid; line-height: 1; }
.logo__word b { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; }
.logo__word small { font-size: .6875rem; font-weight: 700; letter-spacing: .16em; color: var(--soft); margin-top: 3px; }
.nav { margin-inline: auto; }
.nav__top, .nav__foot { display: none; }
.nav__links { display: flex; gap: 34px; }
.nav__links a { position: relative; font-size: .9375rem; font-weight: 500; color: var(--muted); padding: 8px 0; transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--text); }
.nav__links a:hover::after, .nav__links a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.header__actions { display: flex; align-items: center; gap: 12px; }
.lang { font-size: .8125rem; font-weight: 600; padding: 9px 13px; border-radius: 9px; border: 1px solid var(--line-2); color: var(--soft); transition: border-color .3s, color .3s; }
.lang:hover { border-color: rgba(241, 243, 255, .34); color: var(--text); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn__close { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__open { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__close { display: block; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: flex; flex-direction: column;
  background: linear-gradient(205deg, #0B1830 0%, #08101F 38%, var(--bg) 62%);
  padding-top: calc(var(--header) + clamp(32px, 7vh, 88px));
}
.arcs {
  --s: min(1180px, 95vw);
  position: absolute; pointer-events: none; color: rgba(30, 150, 252, .16);
  width: var(--s); height: var(--s);
  right: -22%; top: -34%;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
}
.arcs g { transform-origin: 50% 50%; transform-box: view-box; }
@media (prefers-reduced-motion: no-preference) {
  .arcs g { animation: drift 140s linear infinite; }
}
@keyframes drift { to { transform: rotate(360deg); } }

.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 4.5vw, 72px); align-items: center; flex: 1; }
.hero__title { font-size: clamp(3.25rem, 7.2vw, 6rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.hero__title .line { display: block; }
.hero__lede { margin-top: 30px; font-size: clamp(1.0625rem, 1.35vw, 1.1875rem); line-height: 1.65; color: var(--muted); }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 30px; margin-top: 40px; }
.hero__note { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-size: .875rem; color: var(--muted-2); }
.hero__note svg { width: 20px; height: 20px; padding: 4px; border-radius: 50%; color: var(--blue); background: rgba(30, 150, 252, .14); }


.showcase { position: relative; translate: 0 calc(var(--hy, 0) * 1px); }
@media (min-width: 1081px) { .showcase { margin-right: calc(-1 * min(5vw, 88px)); } }
/* the original Wise devices artwork is there from the first frame, then follows the pointer a little */
.devices { perspective: 1400px; }
.devices > picture { display: block; perspective: inherit; }
.devices__img {
  width: 108%; max-width: none; margin-left: -4%; height: auto;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 1.6s var(--ease);
  will-change: transform;
}
.devices.is-tracking .devices__img { transition: transform .9s var(--ease); }
.devices__cap { margin-top: 6px; text-align: center; font-size: .8125rem; color: var(--muted-2); letter-spacing: .01em; }

/* clients */
.clients { position: relative; display: grid; grid-template-columns: 160px minmax(0, 1fr); align-items: center; gap: 32px; margin-top: clamp(48px, 7vh, 80px); padding-block: 30px 34px; border-top: 1px solid var(--line); }
.clients__label { font-size: .8125rem; line-height: 1.45; color: var(--muted-2); }
.clients__label span { color: var(--soft); font-weight: 600; }
.clients__list { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.clients__list img { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: .58; transition: opacity .3s; }
.clients__list li:hover img { opacity: .95; }

/* ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--line); padding-block: 22px; }
.ticker__track { display: flex; width: max-content; }
.ticker__track span { display: inline-flex; align-items: center; font-size: 1.125rem; font-weight: 500; color: var(--muted); white-space: nowrap; }
.ticker__track span::after { content: ""; width: 5px; height: 5px; margin-inline: 36px; border-radius: 50%; background: var(--blue); }
@media (prefers-reduced-motion: no-preference) {
  /* the track holds 8 sets of phrases and slides by half (4 sets, ~4400px), so the loop closes even on 4K screens; 52s per set keeps the pace */
  .ticker__track { animation: ticker 208s linear infinite; }
  .ticker:hover .ticker__track { animation-play-state: paused; }
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding-block: clamp(96px, 12vw, 160px); }
.section--tight { padding-block: clamp(80px, 9vw, 128px); }
.head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: end; gap: 28px 64px; margin-bottom: clamp(48px, 6vw, 80px); }
.head h2, .faq h2 { font-size: clamp(2.25rem, 4.1vw, 3.5rem); font-weight: 700; line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
.head p { color: var(--muted); font-size: 1.0625rem; max-width: 40ch; justify-self: end; }

/* services */
.services { border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) 52px; align-items: center; gap: 32px;
  padding: 34px 0; border-bottom: 1px solid var(--line);
}
.service__name { display: grid; gap: 6px; transition: transform .6s var(--ease); }
.service__name b { font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.service__name span { font-size: .9375rem; color: var(--muted-2); }
.service__desc { color: var(--muted); max-width: 46ch; }
.service__go { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease); }
.service__go svg { width: 20px; height: 20px; }
.service { position: relative; isolation: isolate; }
.service::before { content: ""; position: absolute; z-index: -1; inset: 0 calc(-1 * clamp(12px, 1.8vw, 28px)); border-radius: 14px; background: #14223C; opacity: 0; transition: opacity .35s var(--ease); }
.service:hover::before, .service:focus-visible::before { opacity: 1; }
.service:hover .service__name, .service:focus-visible .service__name { transform: translateX(8px); }
.service:hover .service__go, .service:focus-visible .service__go { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }

/* band */
.band { position: relative; overflow: hidden; background: var(--bg-3); padding-block: clamp(96px, 11vw, 150px); }
.arcs--band { --s: min(980px, 110vw); left: -34%; right: auto; top: auto; bottom: -55%; color: rgba(30, 150, 252, .14); }
.band__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 80px; align-items: center; }
.band h2 { font-size: clamp(2.5rem, 4.8vw, 4.125rem); font-weight: 700; line-height: 1.08; letter-spacing: -.04em; }
.band .link { margin-top: 40px; }
.pillars li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.pillars li:last-child { border-bottom: 1px solid var(--line); }
.pillars svg { width: 28px; height: 28px; color: var(--blue); margin-top: 2px; }
.pillars h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -.01em; }
.pillars p { margin-top: 6px; color: var(--muted); font-size: .96875rem; max-width: 44ch; }
.pillars li { position: relative; }
.pillars li::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.pillars svg { transition: transform .6s var(--ease), color .3s; }
.pillars h3, .pillars p { transition: transform .6s var(--ease), color .3s; }
.pillars li:hover::before { transform: scaleX(1); }
.pillars li:hover svg { transform: translateY(-3px) rotate(-8deg) scale(1.12); color: var(--blue-2); }
.pillars li:hover h3 { transform: translateX(6px); }
.pillars li:hover p { transform: translateX(6px); color: var(--soft); }
.band__copy h2 .hl { display: inline-block; transition: transform .8s var(--ease); }
.band__copy:hover h2 .hl { transform: translateX(10px); }
.arcs--band { translate: var(--bx, 0) var(--by, 0); transition: translate 1.2s var(--ease); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.step { position: relative; padding-top: 30px; }
.step::before, .step::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); }
.step::after { height: 2px; top: -.5px; background: var(--blue); transform: scaleX(var(--p, 0)); transform-origin: left; }
.step__n { font-size: .8125rem; font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.step h3 { margin: 18px 0 10px; font-size: 1.1875rem; font-weight: 700; letter-spacing: -.01em; }
.step p { color: var(--muted); font-size: .96875rem; }

/* ---------- work (horizontal) ---------- */
.work { padding-top: clamp(96px, 12vw, 160px); }
.work__head { text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.work__head h2 { font-size: clamp(2.5rem, 5vw, 4.25rem); font-weight: 700; line-height: 1.06; letter-spacing: -.04em; text-wrap: balance; }
.work__head p { margin: 22px auto 0; color: var(--muted); font-size: 1.0625rem; max-width: 52ch; }
.work__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.work__viewport::-webkit-scrollbar { display: none; }
.work__track { display: flex; gap: clamp(16px, 2vw, 28px); width: max-content; padding-inline: max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter))); }
.case {
  /* leave the next case peeking in, so the sideways walk reads at the first stop */
  flex: none; width: min(1320px, calc(100vw - 2 * var(--gutter) - 160px), calc((100svh - var(--header) - 170px) * 2.3));
  display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 3vw, 48px);
  padding: clamp(14px, 1.6vw, 22px); padding-right: clamp(20px, 3vw, 44px);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 24px;
  scroll-snap-align: center;
}
.case__shot { display: block; overflow: hidden; border-radius: 14px; background: #000; }
.case__shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform 1s var(--ease); }
.case__shot:hover img { transform: scale(1.03); }
.case__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.case__meta span { font-size: .75rem; font-weight: 600; letter-spacing: .02em; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--soft); }
.case h3 { font-size: clamp(1.25rem, 1.9vw, 1.625rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; overflow-wrap: anywhere; }
.case h3 a { display: inline-flex; align-items: center; gap: 8px; transition: color .3s; }
.case h3 a:hover { color: var(--blue-2); }
.case h3 svg { width: 20px; height: 20px; color: var(--blue); }
.case__desc { margin-top: 10px; color: var(--muted); font-size: .9375rem; }
.case__quote { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.case__quote p { color: var(--soft); font-size: 1rem; line-height: 1.65; }
.case__quote footer { margin-top: 12px; font-size: .8125rem; font-weight: 600; color: var(--muted-2); }
.case__quote footer::before { content: "— "; }

.work__bar { display: flex; align-items: center; gap: 24px; padding-block: 28px 8px; }
.work__count { font-size: .875rem; color: var(--muted-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.work__count b { color: var(--text); font-weight: 700; }
.work__progress { position: relative; flex: 1; height: 1px; background: var(--line-2); }
.work__progress i { position: absolute; left: 0; top: -.5px; height: 2px; width: 100%; background: var(--blue); transform: scaleX(var(--w, .14)); transform-origin: left; transition: transform .2s linear; }
.work__nav { display: flex; gap: 10px; }
.work__nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; display: grid; place-items: center; transition: background-color .3s, color .3s, border-color .3s; }
.work__nav button svg { width: 20px; height: 20px; }
.work__nav button:hover { background: var(--text); color: var(--bg); border-color: var(--text); }

/* pinned mode (enhanced by script) */
.work.is-pinned .work__sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--header); overflow: hidden; }
.work.is-pinned .work__viewport { overflow: visible; scroll-snap-type: none; }
.work.is-pinned .work__track { will-change: transform; }
.work.is-pinned .work__bar { padding-block: clamp(20px, 3vh, 32px) clamp(12px, 2vh, 24px); }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 36px 32px 34px; border-radius: 22px; background: var(--bg-2); border: 1px solid var(--line); }
.plan h3 { font-size: 1.3125rem; font-weight: 700; letter-spacing: -.015em; }
.plan__for { margin-top: 8px; color: var(--muted); font-size: .9375rem; min-height: 3.2em; }
.plan__price { margin: 36px 0 28px; }
.plan__price > span { display: block; font-size: .8125rem; color: var(--muted-2); }
.plan__price b { display: inline-flex; align-items: flex-start; gap: 6px; margin-top: 6px; font-size: clamp(3rem, 4.4vw, 4rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.plan__price small { font-size: 1.125rem; font-weight: 700; letter-spacing: 0; margin-top: .35em; }
/* cents sit on the number's baseline, reduced */
.plan__price .cents { margin: 0 0 0 2px; font-size: 1.125rem; letter-spacing: -.01em; vertical-align: baseline; }
.plan .btn { width: 100%; justify-content: space-between; }
.plan__list { display: grid; gap: 14px; margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
.plan__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: .9375rem; }
.plan__list svg { width: 18px; height: 18px; margin-top: 3px; color: var(--blue); }
.plan--featured { background: var(--royal); border-color: transparent; }
.plan--featured::before, .plan--featured::after { content: ""; position: absolute; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); pointer-events: none; }
.plan--featured::after { width: 340px; right: -150px; top: -170px; }
.plan--featured::before { width: 460px; right: -210px; top: -230px; border-color: rgba(255, 255, 255, .12); }
.plan--featured .plan__for, .plan--featured .plan__list li, .plan--featured .plan__price > span { color: var(--royal-ink); }
.plan--featured .plan__list { border-top-color: rgba(255, 255, 255, .22); }
.plan--featured .plan__list svg { color: #fff; }
.plan--featured .btn--primary { background: #fff; color: #0B1640; }
.plan--featured .btn--primary:hover { background: var(--royal-ink); }
.footnote { margin-top: 28px; text-align: center; font-size: .8125rem; color: var(--muted-2); }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px 80px; align-items: start; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; cursor: pointer; list-style: none; font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; transition: color .3s; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary:hover { color: var(--blue-2); }
.faq__list summary svg { width: 22px; height: 22px; color: var(--blue); transition: transform .45s var(--ease); }
.faq__list details[open] summary svg { transform: rotate(45deg); }
.faq__list details p { padding: 0 56px 28px 0; color: var(--muted); max-width: 62ch; }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq__list details::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
  .faq__list details[open]::details-content { block-size: auto; }
}

/* ---------- contact ---------- */
.contact { position: relative; overflow: hidden; padding-block: clamp(96px, 11vw, 150px); background: radial-gradient(130% 110% at 0% 0%, #1D2F74 0%, #192B6B 38%, #142354 100%); }
.arcs--contact { --s: min(1000px, 120vw); left: -30%; right: auto; top: auto; bottom: -60%; color: rgba(241, 243, 255, .1); }
.contact__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px 96px; align-items: start; }
.contact .hl { color: var(--blue-2); }
.contact h2 { font-size: clamp(2.75rem, 5.4vw, 4.75rem); font-weight: 700; line-height: 1.03; letter-spacing: -.04em; }
.contact h2 svg { width: .62em; height: .62em; margin-left: .12em; vertical-align: .02em; color: var(--blue-2); stroke-width: 1.4; }
.contact__copy > p { margin-top: 28px; color: var(--on-field); font-size: 1.0625rem; }
.contact__phone { display: inline-flex; align-items: center; gap: 12px; margin-top: 36px; font-size: 1.1875rem; font-weight: 700; padding-bottom: 6px; border-bottom: 1px solid rgba(241, 243, 255, .3); transition: border-color .3s; }
.contact__phone svg { width: 22px; height: 22px; }
.contact__phone:hover { border-color: var(--text); }
.form { display: grid; gap: 30px; }
.field { position: relative; display: grid; gap: 10px; }
.field > span { font-size: .875rem; font-weight: 600; color: var(--soft); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 0 14px; border: 0; border-bottom: 1px solid rgba(241, 243, 255, .26); border-radius: 0;
  background: transparent; font-size: 1.0625rem; color: var(--text);
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--blue); box-shadow: 0 1px 0 var(--blue); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 32px; cursor: pointer; }
.field select option { background: #0F1A45; color: var(--text); }
.field--select > svg { position: absolute; right: 2px; bottom: 16px; width: 20px; height: 20px; color: var(--blue); pointer-events: none; }
.field input[aria-invalid="true"] { border-bottom-color: #FF9A8A; }
.field__error { color: #FFB4A8; font-size: .8125rem; font-weight: 500; }
.form__note { font-size: .8125rem; color: var(--on-field-2); }
.form__status { margin-top: -12px; padding: 14px 16px; border-radius: 12px; background: rgba(241, 243, 255, .08); border: 1px solid rgba(241, 243, 255, .16); font-size: .875rem; color: var(--soft); }
.form__status a { color: var(--text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.form__note a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 56px 44px; }
.footer__grid { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "logo line links" "logo line copy"; gap: 10px 40px; align-items: center; }
.footer .logo { grid-area: logo; }
.footer__line { grid-area: line; color: var(--muted); font-size: .9375rem; justify-self: center; }
.footer__links { grid-area: links; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: flex-end; font-size: .875rem; color: var(--muted); }
.footer__links a { transition: color .3s; }
.footer__links a:hover, .footer__prefs:hover { color: var(--text); }
.footer__prefs { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.footer__copy { grid-area: copy; justify-self: end; font-size: .8125rem; color: var(--muted-2); }

/* ---------- scroll fade (as on the current site): elements fade in near the bottom edge, both ways ---------- */
.scroll-fade { opacity: var(--reveal, 1); transition: opacity .14s linear; }
.scroll-fade:focus-within { opacity: 1 !important; }
@media (prefers-reduced-motion: reduce) { .scroll-fade { opacity: 1 !important; transition: none !important; } }

/* ---------- LGPD notice & cookie preferences ---------- */
.consent {
  position: fixed; z-index: 80; left: 24px; bottom: 24px; width: min(490px, calc(100vw - 32px));
  padding: 22px 22px 20px; border-radius: 18px;
  background: var(--bg-3); border: 1px solid var(--line-2); color: var(--text);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8);
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.consent.is-out { opacity: 0; transform: translateY(16px); }
/* the notice is in the page from the first frame; a choice already made, or no script to act on it, keeps it hidden */
.has-consent .consent, html:not(.js) .consent { display: none; }
.consent__title { font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }
.consent__text { margin-top: 8px; font-size: .875rem; line-height: 1.55; color: var(--muted); }
.consent__links, .prefs__links { display: flex; gap: 18px; margin-top: 10px; font-size: .8125rem; }
.consent__links a, .prefs__links a { color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }
.consent__links a:hover, .prefs__links a:hover { color: var(--text); }
.consent__actions, .prefs__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.consent__btn {
  min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line-2);
  background: rgba(241, 243, 255, .08); color: var(--text); font-weight: 600; font-size: .875rem;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.consent__btn:hover { background: rgba(241, 243, 255, .16); border-color: rgba(241, 243, 255, .32); }
.consent__btn--ghost { background: transparent; border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
.consent__btn--ghost:hover { background: transparent; border-color: transparent; color: var(--blue-2); }

.prefs {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0; overflow: auto;
  border-radius: 22px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9);
}
.prefs::backdrop { background: rgba(3, 6, 14, .72); }
.prefs__in { padding: 28px; }
.prefs__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.prefs__head h2 { font-size: 1.3125rem; font-weight: 700; letter-spacing: -.015em; }
.prefs__x { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; display: grid; place-items: center; color: var(--soft); }
.prefs__x svg { width: 20px; height: 20px; }
.prefs__x:hover { color: var(--text); border-color: rgba(241, 243, 255, .32); }
.prefs__text { margin-top: 10px; font-size: .9375rem; color: var(--muted); }
.prefs__list { margin-top: 18px; }
.prefs__list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.prefs__list li:last-child { border-bottom: 1px solid var(--line); }
.prefs__list h3 { font-size: 1rem; font-weight: 700; }
.prefs__list p { margin-top: 4px; font-size: .875rem; color: var(--muted); }
.prefs__list li.is-off h3, .prefs__list li.is-off p { color: var(--muted-2); }
.prefs__state { font-size: .8125rem; font-weight: 600; color: var(--muted-2); white-space: nowrap; }
.switch { position: relative; display: inline-flex; width: 48px; height: 28px; cursor: pointer; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch span { width: 100%; height: 100%; border-radius: 999px; background: rgba(241, 243, 255, .16); border: 1px solid var(--line-2); transition: background-color .3s var(--ease); }
.switch span::after { content: ""; position: absolute; top: 4px; left: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--text); transition: transform .35s var(--ease); }
.switch input:checked + span { background: var(--blue); border-color: var(--blue); }
.switch input:checked + span::after { transform: translateX(20px); background: var(--on-blue); }
.switch input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { gap: 24px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: auto; }
  .showcase { max-width: 720px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .case__quote p { font-size: .9375rem; }
}

/* short screens: the testimonial carries the card, the description steps aside */
@media (max-height: 820px) and (min-width: 901px) {
  .case__desc { display: none; }
  .case__quote { margin-top: 18px; padding-top: 18px; }
}

@media (max-width: 900px) {
  :root { --header: 72px; }
  .case { grid-template-columns: 1fr; width: min(640px, 86vw); padding: 14px 14px 24px; }
  .case__info { padding-inline: 8px; }
  .menu-btn { display: inline-flex; }
  .header__actions .lang { display: none; }
  .header__actions { margin-left: auto; }

  /* side menu: a drawer that slides in from the right over a dimmed page */
  .nav {
    position: fixed; top: 0; right: 0; z-index: 2; margin: 0;
    width: min(400px, 90vw); height: 100vh; height: 100dvh;
    display: flex; flex-direction: column;
    padding: 0 28px max(28px, env(safe-area-inset-bottom));
    background: var(--bg-2); border-left: 1px solid var(--line);
    box-shadow: -40px 0 80px rgba(2, 4, 10, .5);
    overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(100%); visibility: hidden;
    transition: transform .5s var(--ease), visibility 0s .5s;
  }
  .nav.is-open { transform: none; visibility: visible; transition: transform .7s var(--ease); }
  .header::after {
    content: ""; position: fixed; top: 0; left: 0; z-index: 1; width: 100vw; height: 100vh; height: 100dvh;
    background: rgba(3, 6, 14, .62); opacity: 0; visibility: hidden;
    transition: opacity .5s var(--ease), visibility 0s .5s;
  }
  .menu-open .header { z-index: 90; }
  .menu-open .header::after { opacity: 1; visibility: visible; transition: opacity .6s var(--ease); }
  .menu-open body { overflow: hidden; }

  .nav__top { display: flex; flex: none; align-items: center; justify-content: space-between; height: var(--header); }
  .nav__label { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
  .nav__close { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--text); transition: border-color .3s, background-color .3s; }
  .nav__close svg { width: 22px; height: 22px; }
  .nav__close:hover { border-color: rgba(241, 243, 255, .34); background: rgba(241, 243, 255, .06); }

  .nav__links { flex-direction: column; gap: 0; margin-top: 12px; counter-reset: nav; }
  .nav__links a {
    display: flex; align-items: baseline; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line);
    font-size: 1.625rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: var(--text);
    opacity: 0; transform: translateX(32px);
    transition: opacity .25s var(--ease), transform .4s var(--ease), color .3s;
  }
  .nav__links a::before {
    counter-increment: nav; content: counter(nav, decimal-leading-zero); content: counter(nav, decimal-leading-zero) / "";
    min-width: 1.75em; font-size: .8125rem; font-weight: 700; letter-spacing: .04em; font-variant-numeric: tabular-nums; color: var(--muted-2); transition: color .3s;
  }
  .nav__links a::after { display: none; }
  .nav__links a:hover::before, .nav__links a[aria-current="true"]::before { color: var(--blue); }
  .nav__links a:nth-child(2) { --i: 1; }
  .nav__links a:nth-child(3) { --i: 2; }
  .nav__links a:nth-child(4) { --i: 3; }
  .nav__foot {
    display: grid; gap: 14px; margin-top: auto; padding-top: 36px; --d: 360ms;
    opacity: 0; transform: translateY(16px); transition: opacity .25s var(--ease), transform .4s var(--ease);
  }
  .nav.is-open .nav__links a { --d: calc(140ms + var(--i, 0) * 55ms); }
  .nav.is-open .nav__links a, .nav.is-open .nav__foot { opacity: 1; transform: none; transition: opacity .6s var(--ease) var(--d), transform .9s var(--ease) var(--d), color .3s; }
  .nav__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
  .nav__wa { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: .875rem; font-weight: 600; white-space: nowrap; color: var(--soft); transition: color .3s; }
  .nav__wa svg { width: 20px; height: 20px; color: var(--blue); }
  .nav__wa:hover { color: var(--text); }
  .nav__meta .lang { padding: 11px 14px; }
  .head, .band__grid, .faq, .contact__grid { grid-template-columns: 1fr; }
  .head p { justify-self: start; }
  .service { grid-template-columns: minmax(0, 1fr) 48px; gap: 12px 20px; padding: 28px 0; }
  .service__desc { grid-column: 1; grid-row: 2; }
  .service__go { grid-row: 1 / span 2; grid-column: 2; width: 48px; height: 48px; }
  .plans { grid-template-columns: 1fr; }
  .plan__for { min-height: 0; }
  .clients { grid-template-columns: 1fr; gap: 20px; }
  .clients__list { flex-wrap: wrap; justify-content: center; gap: 24px 34px; }
  .clients__list img { height: 24px; }
  .footer__grid { grid-template-columns: 1fr; grid-template-areas: "logo" "line" "links" "copy"; gap: 20px; }
  .footer__line, .footer__copy { justify-self: start; }
  .footer__links { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .consent { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .consent__btn { flex: 1 1 auto; }
  .prefs__in { padding: 22px; }
  .header .btn--ghost { display: none; }
  .hero__title { font-size: clamp(3rem, 14.5vw, 4.5rem); }
  .hero__actions .btn { width: 100%; justify-content: space-between; }
  .steps { grid-template-columns: 1fr; row-gap: 40px; }
  .case__desc { display: none; }
  .case__quote { margin-top: 18px; padding-top: 18px; }
  .case__quote p { font-size: .9375rem; }
  .work__nav button { width: 44px; height: 44px; }
  .plan { padding: 30px 24px 28px; }
  .faq__list details p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .devices__img { transform: none !important; }
  .nav, .nav__links a, .nav__foot { transform: none !important; transition-delay: 0s !important; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
