/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  color-scheme: light;
  --primary: #004bc8;
  --primary-deep: #003ca0;
  --primary-soft: #336fd3;
  --surface: #f3f6ff;
  --surface-2: #e2e8fb;
  --paper: #ffffff;
  --accent: #4545ff;
  --accent-hover: #3030d9;
  --accent-ink: #3434cc;
  --accent-tint: #e8eaff;
  --light-blue: #e3eaff;
  --on-dark: #ffffff;
  --ink: #000000;
  --ink-soft: #666666;
  --rule: rgb(0 75 200 / .13);
  --rule-strong: rgb(0 75 200 / .26);
  --shadow-sm: 0 1px 2px rgb(0 75 200 / .06), 0 6px 16px -8px rgb(0 75 200 / .18);
  --shadow: 0 1px 2px rgb(0 75 200 / .06), 0 18px 40px -18px rgb(0 75 200 / .32);
  --shadow-lg: 0 2px 6px rgb(0 75 200 / .08), 0 34px 70px -26px rgb(0 75 200 / .45);
  --radius-sm: .75rem;
  --radius: 1.25rem;
  --radius-lg: 1.75rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --container: 76rem;
  --header-h: 4.5rem;
  --section-y: clamp(4.5rem, 10vw, 8.5rem);
  --font-display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  interpolate-size: allow-keywords;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + .5rem);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  padding-top: var(--header-h);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--surface);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { padding: 0; border: 0; min-width: 0; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
main:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--paper); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i, .card-icon svg, .pillar-icon svg, .badge-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.i { width: 1.1em; height: 1.1em; flex: none; }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip {
  position: fixed; top: .75rem; left: .75rem; z-index: 100;
  padding: .7rem 1rem; border-radius: 999px;
  background: var(--primary); color: var(--surface); font-weight: 600; text-decoration: none;
}
.skip:not(:focus) { transform: translateY(-200%); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { position: relative; padding-block: var(--section-y); }

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 450;
  letter-spacing: -.022em;
  line-height: 1.04;
  text-wrap: balance;
}
h1 { font-size: clamp(2.75rem, 5.6vw, 5.1rem); letter-spacing: -.028em; }
h2 { font-size: clamp(2.15rem, 4.4vw, 3.9rem); }
h3 { font-size: clamp(1.25rem, 1.7vw, 1.5rem); letter-spacing: -.02em; line-height: 1.15; font-weight: 500; }
/* Títulos em superfícies claras. */
.about h2, .about h3,
.services h2, .service-card:not(.card-cta) h3,
.process h2, .process h3,
.faq h2, .accordion summary,
.sector-panel h3, .form-card h3,
.float-title {
  color: var(--ink);
}
p { text-wrap: pretty; }
mark {
  padding: 0 .12em .04em;
  border-radius: .12em;
  background: var(--accent);
  color: var(--paper);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-bottom: 1.1rem;
  font-size: .8rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow span {
  display: inline-grid; place-items: center;
  min-width: 2.1rem; height: 1.6rem; padding-inline: .45rem;
  border: 1px solid currentColor; border-radius: 999px;
  font-size: .72rem; letter-spacing: .02em;
  color: var(--accent-ink);
}
.intro { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; max-width: 52ch; color: var(--ink-soft); }
.br-lg { display: none; }
@media (min-width: 900px) { .br-lg { display: inline; } }

/* ==========================================================================
   Buttons & links
   ========================================================================== */
.button {
  --btn-bg: var(--accent);
  --btn-fg: var(--paper);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 3.1rem;
  padding: .75rem 1.35rem;
  border: 1px solid transparent; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: .95rem; font-weight: 650; line-height: 1.2; text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.button .i { transition: transform .3s var(--ease); }
.button:hover { --btn-bg: var(--accent-hover); box-shadow: 0 10px 24px -10px rgb(69 69 255 / .7); transform: translateY(-1px); }
.button:hover .i { transform: translateX(3px); }
.button:active { transform: translateY(0); }
.button:disabled { cursor: default; opacity: .6; box-shadow: none; transform: none; }
.button-sm { min-height: 2.6rem; padding: .5rem 1.05rem; font-size: .88rem; }
.button-dark { --btn-bg: var(--primary); --btn-fg: var(--surface); }
.button-dark:hover { --btn-bg: var(--primary-deep); box-shadow: 0 10px 24px -10px rgb(0 60 160 / .7); }

.text-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 650; text-decoration: none;
  background: linear-gradient(currentColor 0 0) 0 100% / 0 1.5px no-repeat;
  padding-bottom: .15rem;
  transition: background-size .35s var(--ease);
}
.text-link:hover { background-size: 100% 1.5px; }
.text-link .i { transition: transform .3s var(--ease); }
.text-link:hover .i { transform: translateX(4px); }

.round-btn {
  display: inline-grid; place-items: center;
  width: 3rem; height: 3rem;
  border: 1px solid var(--rule-strong); border-radius: 50%;
  background: transparent; color: var(--primary);
  font-size: 1.15rem;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), opacity .25s;
}
.round-btn:hover:not(:disabled) { background: var(--primary); border-color: var(--primary); color: var(--surface); }
.round-btn:disabled { opacity: .35; cursor: default; }

/* ==========================================================================
   Header
   Cabeçalho branco com espaço reservado acima do conteúdo.
   ========================================================================== */
.site-header {
  --h-fg: #111111;
  --h-link: #111111;
  --h-hover: rgb(0 0 0 / .05);
  --h-rule: rgb(0 0 0 / .18);
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  color: var(--h-fg);
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  transition: border-color .3s, background-color .3s, box-shadow .3s, color .3s;
}
.site-header.is-scrolled {
  box-shadow: 0 8px 30px -22px rgb(0 75 200 / .5);
}
.site-header .header-cta { --btn-bg: #111111; --btn-fg: var(--paper); }
.site-header .header-cta:hover { --btn-bg: #333333; box-shadow: none; }
.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center; gap: clamp(1rem, 2.5vw, 2.25rem);
  height: var(--header-h);
}
.brand {
  display: inline-flex; align-items: center; flex: none;
  color: var(--accent); text-decoration: none;
  font-family: var(--font-display); font-size: clamp(1.5rem, 2.2vw, 1.95rem); font-weight: 600; letter-spacing: -.045em;
  line-height: 1;
  transition: opacity .2s;
}
.brand:hover { opacity: .85; }
.brand-logo { display: block; width: auto; height: calc(var(--header-h) - 1.5rem); }
.brand-logo-light { display: none; }
.brand-logo-dark { display: block; }
.footer .brand-logo { height: 5rem; }
.nav ul { display: flex; gap: .15rem; }
.nav a {
  position: relative; display: block;
  padding: .5rem .75rem; border-radius: 999px;
  color: var(--h-link); font-size: .92rem; font-weight: 550; text-decoration: none;
  transition: color .2s, background-color .2s;
}
.nav a:hover { color: var(--h-fg); background: var(--h-hover); }
.nav a[aria-current="true"] { color: var(--h-fg); }
.nav a::after {
  content: ""; position: absolute; left: 50%; bottom: .2rem;
  width: .3rem; height: .3rem; border-radius: 50%;
  background: var(--h-fg);
  transform: translateX(-50%) scale(0);
  transition: transform .3s var(--ease);
}
.nav a[aria-current="true"]::after { transform: translateX(-50%) scale(1); }
.menu-toggle {
  display: none;
  width: 2.9rem; height: 2.9rem;
  border: 1px solid var(--h-rule); border-radius: 50%;
  background: transparent; place-items: center;
}
.menu-lines { display: grid; gap: .32rem; width: 1.1rem; }
.menu-lines span { display: block; height: 2px; border-radius: 2px; background: var(--h-fg); transition: transform .35s var(--ease), background-color .3s; }
.menu-toggle[aria-expanded="true"] .menu-lines span:first-child { transform: translateY(.21rem) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-lines span:last-child { transform: translateY(-.21rem) rotate(-45deg); }
.read-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--h-fg); transform-origin: 0 50%; transform: scaleX(0); }
.site-header :focus-visible { outline-color: var(--h-fg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  padding-top: calc(var(--header-h) + 1.5rem);
  padding-bottom: 2rem;
  overflow-y: auto;
  background: var(--paper);
  color: #111111;
  animation: menu-in .35s var(--ease);
}
.mobile-menu nav { display: grid; gap: 2rem; }
.mobile-menu ol { border-top: 1px solid var(--rule); }
.mobile-menu li { border-bottom: 1px solid var(--rule); }
.mobile-menu ol a {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 1rem 0;
  font-family: var(--font-display); font-size: clamp(1.8rem, 8vw, 2.6rem); letter-spacing: -.035em; line-height: 1.1;
  text-decoration: none;
}
.mobile-menu ol a span { font-family: var(--font-body); font-size: .8rem; font-weight: 650; color: #111111; }
.mobile-menu ol a[aria-current="true"] { color: #111111; }
.mobile-menu .button { justify-self: start; --btn-bg: #111111; --btn-fg: var(--paper); }
.mobile-menu .button:hover { --btn-bg: #333333; box-shadow: none; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--primary);
  color: var(--surface);
  overflow: clip;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgb(255 255 255 / .10) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .10) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 55% 75% at 20% 55%, #000 15%, transparent 75%);
  mask-image: radial-gradient(ellipse 55% 75% at 20% 55%, #000 15%, transparent 75%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  min-height: clamp(32rem, calc(100svh - var(--header-h)), 51.5rem);
  padding-block: clamp(.75rem, 1.4vw, 1.25rem);
}
.hero-copy {
  align-self: center;
  padding-block: 2rem 2.5rem;
}
.hero-eyebrow { color: var(--light-blue); font-size: .88rem; font-weight: 650; letter-spacing: .01em; }
.hero h1 { margin-top: 1.4rem; color: var(--surface); font-size: clamp(2.9rem, 5.4vw, 5.4rem); letter-spacing: -.03em; }
.rotator { display: block; margin-top: .06em; }
.rotator mark { display: inline-block; padding: .02em .14em .06em; border-radius: 0; }
.rotator.is-out mark { animation: word-out .35s var(--ease) forwards; }
.rotator.is-in mark { animation: word-in .45s var(--ease); }
@keyframes word-out { to { opacity: 0; transform: translateY(-.35em) rotate(-2deg); } }
@keyframes word-in { from { opacity: 0; transform: translateY(.45em) rotate(2deg); } }
.lead { margin-top: 1.6rem; max-width: 30rem; font-size: clamp(1.02rem, 1.3vw, 1.15rem); line-height: 1.6; color: var(--on-dark); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2.25rem; }
.hero-link {
  display: inline-flex; align-items: center; gap: .45rem;
  color: #ffffff; font-size: .95rem; font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .35em;
  transition: color .2s;
}
.hero-link:hover { color: var(--surface); }
.hero-link .i { transition: transform .3s var(--ease); }
.hero-link:hover .i { transform: translateY(3px); }
.hero :focus-visible { outline-color: var(--accent); }

.hero-media {
  position: relative;
  min-height: 26rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--primary-soft);
}
.hero-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgb(0 60 160 / .45), transparent 22%);
}
.hero-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 35%;
  animation: hero-zoom 1.8s var(--ease) both;
}
@keyframes hero-zoom { from { transform: scale(1.08); } }

.float-card {
  position: absolute; z-index: 1;
  padding: 1rem 1.1rem;
  border: 1px solid rgb(255 255 255 / .6);
  border-radius: var(--radius);
  background: rgb(255 255 255 / .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
  color: var(--ink-soft);
  font-size: .82rem;
  transition: transform .5s var(--ease);
  will-change: transform;
}
.float-title { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .7rem; font-weight: 700; font-size: .84rem; }
.float-title span { color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.card-close { left: clamp(1rem, 2vw, 1.5rem); bottom: clamp(1rem, 2vw, 1.5rem); width: min(16.5rem, 70%); animation: card-in .8s 1.1s var(--ease) both, float-a 7s 2s ease-in-out infinite; }
@keyframes card-in { from { opacity: 0; translate: 0 18px; } }
@keyframes float-a { 50% { translate: 0 -8px; } }
.checklist { display: grid; gap: .45rem; }
.checklist li { display: flex; align-items: center; gap: .55rem; color: var(--ink-soft); }
.checklist .i {
  width: 1.2rem; height: 1.2rem; padding: .2rem;
  border-radius: 50%; background: var(--accent); color: var(--paper); stroke-width: 3;
}
.checklist .done { opacity: 0; animation: check-in .5s var(--ease) forwards; }
.checklist .done:nth-child(1) { animation-delay: 1.6s; }
.checklist .done:nth-child(2) { animation-delay: 2s; }
.checklist .done:nth-child(3) { animation-delay: 2.4s; }
.checklist .doing { color: var(--ink-soft); font-weight: 600; }
@keyframes check-in { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.spinner {
  width: 1.2rem; height: 1.2rem; flex: none;
  border: 2px solid var(--accent-tint); border-top-color: var(--accent); border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.meter { height: .35rem; margin-top: .85rem; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.meter span { display: block; width: 75%; height: 100%; border-radius: inherit; background: var(--accent); transform-origin: 0 50%; animation: grow-x 1.6s 1.5s var(--ease) both; }
@keyframes grow-x { from { transform: scaleX(0); } }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee {
  overflow: hidden;
  padding-block: 1.05rem;
  background: var(--accent);
  color: var(--paper);
}
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  display: inline-flex; align-items: center;
  font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.6rem); letter-spacing: -.02em; white-space: nowrap;
}
.marquee span::after {
  content: ""; width: .5rem; height: .5rem; margin-inline: clamp(1.25rem, 3vw, 2.5rem);
  background: var(--paper); transform: rotate(45deg);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   About
   ========================================================================== */
.about { background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}
.about-media { position: relative; padding-bottom: 2rem; }
.about-media img {
  width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 45% 55%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.about-badge {
  position: absolute; right: -1.25rem; bottom: 0;
  display: flex; align-items: flex-start; gap: .85rem;
  max-width: 19rem;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius);
  background: var(--primary); color: var(--on-dark);
  box-shadow: var(--shadow-lg);
  font-size: .9rem; line-height: 1.45;
}
.about-badge strong { color: var(--surface); }
.badge-icon {
  display: inline-grid; place-items: center; flex: none;
  width: 2.4rem; height: 2.4rem; border-radius: .7rem;
  background: var(--accent); color: var(--paper);
}
.badge-icon svg { width: 1.35rem; height: 1.35rem; }
.about-copy .intro { margin-top: 1.5rem; }
.pillars { display: grid; gap: .75rem; margin-block: 2.25rem 2rem; }
.pillars li {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--rule); border-radius: var(--radius);
  background: var(--surface);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s, background-color .35s;
}
.pillars li:hover { transform: translateX(6px); border-color: var(--accent); background: #f3f6ff; box-shadow: var(--shadow-sm); }
.pillar-icon {
  display: inline-grid; place-items: center; flex: none;
  width: 2.75rem; height: 2.75rem; border-radius: .85rem;
  background: var(--accent-tint); color: var(--accent-ink);
  transition: background-color .3s, color .3s;
}
.pillars li:hover .pillar-icon { background: var(--accent); color: var(--paper); }
.pillar-icon svg { width: 1.45rem; height: 1.45rem; }
.pillars h3 { font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; }
.pillars p { margin-top: .2rem; font-size: .93rem; color: var(--ink-soft); line-height: 1.5; }

/* ==========================================================================
   Section heads
   ========================================================================== */
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 2rem 3rem; flex-wrap: wrap;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}
.head-aside { max-width: 22rem; color: var(--ink-soft); }
.head-aside p { color: var(--ink-soft); }

/* ==========================================================================
   Services carousel
   ========================================================================== */
.services { overflow: clip; }
.carousel-controls { display: flex; align-items: center; gap: .75rem; margin-top: 1.25rem; }
.carousel-count { min-width: 4.2rem; text-align: center; font-size: .9rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.carousel-count b { color: var(--primary); font-weight: 700; }
.track {
  --edge: max(var(--gutter), calc((100% - var(--container)) / 2));
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--edge);
  padding-inline: var(--edge);
  padding-block: .75rem 1.5rem;
  scrollbar-width: none;
  cursor: grab;
}
.track::-webkit-scrollbar { display: none; }
.track:focus-visible { outline-offset: -4px; border-radius: var(--radius); }
.track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.track.is-dragging .service-card { pointer-events: none; }
.track-list { display: flex; gap: clamp(.9rem, 1.6vw, 1.25rem); width: max-content; }
.service-card {
  position: relative;
  display: flex; flex-direction: column;
  width: clamp(17.5rem, 27vw, 22rem);
  padding: 1.6rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--paper);
  scroll-snap-align: start;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s, background-color .45s;
}
.service-card:hover, .service-card:focus-within {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  background: #ffffff;
}
.card-top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 1.75rem; }
.card-num { font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--accent-ink); }
.card-icon {
  display: inline-grid; place-items: center;
  width: 3.5rem; height: 3.5rem; border-radius: 1.1rem;
  background: var(--accent-tint); color: var(--accent-ink);
  transition: background-color .4s var(--ease), color .4s var(--ease), transform .5s var(--ease);
}
.card-icon svg { width: 1.8rem; height: 1.8rem; }
.service-card:hover .card-icon { background: var(--accent); color: var(--paper); transform: rotate(-6deg) scale(1.06); }
.service-card h3 { font-size: clamp(1.45rem, 2vw, 1.75rem); }
.service-card > p { margin-top: .75rem; font-size: .95rem; line-height: 1.55; color: var(--ink-soft); }
.card-list { display: grid; gap: .4rem; margin-block: 1.25rem 1.5rem; padding-top: 1.1rem; border-top: 1px dashed var(--rule-strong); }
.card-list li { position: relative; padding-left: 1.1rem; font-size: .88rem; font-weight: 550; }
.card-list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: .42rem; height: .42rem; border-radius: 2px; background: var(--accent);
}
.card-link {
  display: inline-flex; align-items: center; justify-content: space-between; gap: .5rem;
  margin-top: auto;
  padding: .8rem 1rem;
  border-radius: 999px;
  background: var(--surface);
  font-size: .9rem; font-weight: 650; text-decoration: none;
  transition: background-color .3s, color .3s;
}
.card-link .i { transition: transform .3s var(--ease); }
.card-link:hover { background: var(--primary); color: var(--surface); }
.card-link:hover .i { transform: translateX(4px); }
.card-cta {
  justify-content: space-between;
  border-color: transparent;
  background: var(--accent);
  color: var(--paper);
}
.card-cta:hover, .card-cta:focus-within { background: var(--accent); }
.card-cta .card-num { color: var(--paper); }
.card-cta h3 { margin-block: auto 2rem; padding-top: 2rem; font-size: clamp(1.7rem, 2.5vw, 2.15rem); }
.card-cta .button { align-self: flex-start; }
.carousel-foot { display: flex; align-items: center; gap: 1.5rem; margin-top: .5rem; }
.track-progress { position: relative; flex: 1; height: 3px; border-radius: 3px; background: var(--rule); overflow: hidden; }
.track-progress span {
  position: absolute; inset: 0;
  border-radius: inherit; background: var(--accent);
  transform-origin: 0 50%; transform: scaleX(.15);
  transition: transform .15s linear;
}
.drag-hint { display: inline-flex; align-items: center; gap: .5rem; font-size: .84rem; color: var(--ink-soft); white-space: nowrap; }

/* ==========================================================================
   Sectors
   ========================================================================== */
.sectors { background: var(--primary); color: var(--paper); overflow: clip; isolation: isolate; }
.sectors::before {
  content: ""; position: absolute; z-index: -1;
  width: 48rem; aspect-ratio: 1; right: -18rem; top: -20rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(255 255 255 / .16), transparent 65%);
}
.sectors .eyebrow span { color: var(--paper); }
.sectors-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}
.sectors-intro > p:not(.eyebrow) { margin-top: 1.25rem; max-width: 40ch; font-size: 1.05rem; }
.sector-tabs { display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; margin-top: 2.25rem; margin-left: -.3em; font-size: clamp(1.9rem, 3.5vw, 3.1rem); }
.sector-tabs [role="tab"] {
  position: relative;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .1rem .2em .15rem;
  border: 0; border-radius: .18em;
  background: transparent; color: var(--paper);
  font-family: var(--font-display); font-size: clamp(1.9rem, 3.5vw, 3.1rem); font-weight: 450;
  letter-spacing: -.025em; line-height: 1.12; text-align: left;
  padding-inline: .3em;
  opacity: .8;
  transition: opacity .3s, background-color .35s var(--ease), color .35s var(--ease);
}
.sector-tabs [role="tab"]::after {
  content: ""; position: absolute; left: .3em; right: .3em; bottom: .12em;
  height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .35s var(--ease);
}
.sector-tabs [role="tab"]:hover { opacity: 1; }
.sector-tabs [role="tab"]:hover:not([aria-selected="true"])::after { transform: scaleX(1); }
.sector-tabs [role="tab"][aria-selected="true"] { opacity: 1; background: var(--paper); color: var(--primary); }
.sector-tabs [role="tab"]:focus-visible { outline-color: var(--paper); }
.sector-panels { display: grid; gap: 1rem; }
.js .sector-panel { grid-area: 1 / 1; }
.sector-panel {
  color: var(--ink-soft);
  padding: clamp(1.6rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 40px 80px -40px rgb(0 60 160 / .6);
}
.js .sector-panel:not(.is-active) { visibility: hidden; opacity: 0; }
.js .sector-panel.is-active { animation: panel-in .5s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.sector-panel:focus-visible { outline-color: var(--primary); outline-offset: 4px; }
.panel-label {
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
  font-size: .8rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft);
}
.panel-label span { padding: .25rem .6rem; border-radius: 999px; background: var(--primary); color: var(--surface); letter-spacing: .02em; }
.sector-panel h3 { margin-top: 1.5rem; font-size: clamp(1.75rem, 2.8vw, 2.5rem); font-weight: 450; letter-spacing: -.025em; line-height: 1.08; }
.sector-panel > p:not(.panel-label) { margin-top: 1rem; color: var(--ink-soft); line-height: 1.6; }
.panel-checks { display: grid; gap: .6rem; margin-top: 1.5rem; }
.panel-checks li { display: flex; align-items: center; gap: .65rem; font-weight: 550; font-size: .95rem; }
.panel-checks .i {
  width: 1.4rem; height: 1.4rem; padding: .25rem;
  border-radius: 50%; background: var(--accent); color: var(--paper); stroke-width: 3;
}
.panel-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.panel-foot > p { font-size: .82rem; font-weight: 650; color: var(--ink-soft); }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tags a {
  display: inline-flex; align-items: center;
  padding: .45rem .85rem;
  border: 1px solid var(--rule-strong); border-radius: 999px;
  font-size: .85rem; font-weight: 600; text-decoration: none;
  transition: background-color .25s, color .25s, border-color .25s;
}
.tags a::before { content: "+"; margin-right: .4rem; color: var(--accent-ink); font-weight: 700; transition: color .25s; }
.tags a:hover { background: var(--primary); border-color: var(--primary); color: var(--surface); }
.tags a:hover::before { color: var(--accent); }

/* ==========================================================================
   Process
   ========================================================================== */
.process { background: var(--surface); }
.steps {
  --progress: 0;
  position: relative;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
}
.steps::before, .steps::after {
  content: ""; position: absolute; left: 1.6rem; right: calc(33.333% - 1.6rem); top: 1.6rem;
  height: 2px; border-radius: 2px;
}
.steps::before { background: var(--rule-strong); }
.steps::after {
  background: var(--accent);
  transform-origin: 0 50%; transform: scaleX(var(--progress));
  transition: transform 1.4s var(--ease);
}
.steps.is-active { --progress: 1; }
.step { position: relative; }
.step-dot {
  position: relative; z-index: 1;
  display: inline-grid; place-items: center;
  width: 3.2rem; height: 3.2rem; border-radius: 50%;
  border: 2px solid var(--rule-strong);
  background: var(--surface);
  font-weight: 700; font-size: .9rem; font-variant-numeric: tabular-nums;
  transition: background-color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
}
.steps.is-active .step-dot { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.steps.is-active .step:nth-child(2) .step-dot { transition-delay: .55s; }
.steps.is-active .step:nth-child(3) .step-dot { transition-delay: 1.1s; }
.step-meta { margin-top: 1.5rem; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); }
.step h3 { margin-top: .5rem; font-size: clamp(1.5rem, 2.3vw, 2rem); font-weight: 450; letter-spacing: -.02em; }
.step > p:last-child { margin-top: .75rem; max-width: 32ch; color: var(--ink-soft); }
.step:hover .step-dot { transform: scale(1.08); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.help-card {
  display: grid; gap: 1rem;
  margin-top: 2.25rem; max-width: 22rem;
  padding: 1.4rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--rule);
}
.help-card p { color: var(--ink-soft); line-height: 1.5; }
.help-card strong { display: block; color: var(--ink); font-size: 1.05rem; }
.help-card .text-link { justify-self: start; }
.accordion { display: grid; gap: .75rem; }
.accordion details {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.accordion details:hover { border-color: var(--rule-strong); }
.accordion details[open] { background: #ffffff; border-color: transparent; box-shadow: var(--shadow); }
.accordion summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.2rem 1.35rem;
  font-weight: 650; font-size: clamp(1rem, 1.3vw, 1.1rem);
  cursor: pointer; list-style: none;
  border-radius: var(--radius);
}
.accordion summary::-webkit-details-marker { display: none; }
.acc-icon {
  display: inline-grid; place-items: center; flex: none;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--accent-tint); color: var(--accent-ink);
  transition: transform .35s var(--ease), background-color .3s, color .3s;
}
.accordion details[open] .acc-icon { transform: rotate(45deg); background: var(--accent); color: var(--paper); }
.acc-body { padding: 0 1.35rem 1.35rem; }
.acc-body p { max-width: 58ch; color: var(--ink-soft); line-height: 1.6; }
.accordion details::details-content {
  height: 0; overflow: clip;
  transition: height .35s var(--ease), content-visibility .35s allow-discrete;
}
.accordion details[open]::details-content { height: auto; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--primary); color: var(--surface); overflow: clip; isolation: isolate; }
.contact::before {
  content: ""; position: absolute; z-index: -1;
  width: 42rem; aspect-ratio: 1; left: -16rem; bottom: -22rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(69 69 255 / .28), transparent 65%);
}
.contact .eyebrow span { color: var(--paper); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact .intro { margin-top: 1.5rem; color: var(--on-dark); }
.next-steps { display: grid; gap: 1rem; margin-top: 2.5rem; max-width: 26rem; }
.next-steps li { display: flex; align-items: center; gap: 1rem; color: var(--on-dark); }
.next-steps span {
  display: inline-grid; place-items: center; flex: none;
  width: 2.3rem; height: 2.3rem; border-radius: 50%;
  border: 1px solid rgb(255 255 255 / .35);
  color: var(--paper); font-weight: 700; font-size: .9rem;
}

.form-card {
  padding: clamp(1.4rem, 3vw, 2.25rem);
  border-radius: var(--radius-lg);
  background: var(--surface); color: var(--ink-soft);
  box-shadow: 0 40px 90px -40px rgb(0 0 0 / .6);
}
.form-fields { display: grid; gap: 1.25rem; }
.form-success {
  display: grid; justify-items: center; gap: 1rem;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1rem;
  text-align: center;
  animation: panel-in .6s var(--ease);
}
.form-success:focus { outline: none; }
.form-success h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 450; letter-spacing: -.025em; }
.form-success p { max-width: 32ch; color: var(--ink-soft); }
.form-success .button { margin-top: .75rem; }
.success-icon {
  display: grid; place-items: center;
  width: 4.5rem; height: 4.5rem; border-radius: 50%;
  background: var(--accent); color: var(--paper);
  box-shadow: 0 0 0 10px var(--accent-tint);
  animation: pop .6s .1s var(--ease) both;
}
.success-icon .i { width: 2rem; height: 2rem; stroke-width: 2.6; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.button.is-loading { pointer-events: none; opacity: .8; }
.button.is-loading .i { animation: spin 1s linear infinite; }
.field { display: grid; gap: .45rem; align-content: start; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field label, .field legend { font-size: .88rem; font-weight: 650; }
.field legend { margin-bottom: .55rem; }
.req { color: var(--accent-ink); }
.optional { font-weight: 450; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%;
  min-height: 3rem;
  padding: .75rem .95rem;
  border: 1.5px solid var(--rule-strong); border-radius: var(--radius-sm);
  background: var(--paper); color: var(--ink-soft);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 7.5rem; line-height: 1.5; }
.field input:hover, .field textarea:hover { border-color: var(--ink-soft); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #ffffff; box-shadow: 0 0 0 4px rgb(69 69 255 / .18); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field-error { font-size: .82rem; font-weight: 600; color: #a1271c; }
.field-error:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip input, .segmented input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem .9rem;
  border: 1.5px solid var(--rule-strong); border-radius: 999px;
  background: var(--paper);
  font-size: .87rem; font-weight: 600;
  cursor: pointer; user-select: none;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.chip span::before {
  content: ""; width: .9rem; height: .9rem; flex: none;
  border: 1.5px solid var(--rule-strong); border-radius: 50%;
  transition: background-color .2s, border-color .2s;
}
.chip:hover span { border-color: var(--primary); }
.chip input:checked + span { background: var(--primary); border-color: var(--primary); color: var(--surface); }
.chip input:checked + span::before {
  border-color: var(--accent);
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.chip input:focus-visible + span, .segmented input:focus-visible + span { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.chip.is-pinged span { animation: ping .6s var(--ease); }
@keyframes ping { 40% { transform: scale(1.08); } }
.segmented {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: .3rem; gap: .3rem;
  border-radius: 999px;
  background: var(--surface-2);
}
.segmented span {
  display: block; padding: .55rem .5rem;
  border-radius: 999px;
  text-align: center; font-size: .88rem; font-weight: 600;
  cursor: pointer; user-select: none;
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.segmented label:hover span { background: rgb(255 255 255 / .5); }
.segmented input:checked + span { background: var(--paper); box-shadow: var(--shadow-sm); color: var(--ink-soft); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: .25rem; }
.form-note { font-size: .84rem; color: var(--ink-soft); max-width: 30ch; line-height: 1.45; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: #081c46; color: var(--on-dark); padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem; }
.footer .brand { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgb(255 255 255 / .15); }
.footer-brand p { margin-top: 1rem; max-width: 30ch; line-height: 1.5; }
.footer-title { margin-bottom: .9rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--light-blue); }
.footer ul { display: grid; gap: .45rem; }
.footer ul a { text-decoration: none; font-size: .95rem; transition: color .2s; }
.footer ul a:hover { color: var(--surface); text-decoration: underline; text-underline-offset: .25em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.5rem; font-size: .85rem; }
.footer-bottom a { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; }
.footer-bottom a:hover { color: var(--surface); }
.footer :focus-visible, .contact .contact-intro :focus-visible { outline-color: var(--paper); }

/* ==========================================================================
   Floating UI
   ========================================================================== */
.to-top {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 40;
  display: grid; place-items: center;
  width: 3.1rem; height: 3.1rem; border-radius: 50%;
  background: var(--accent); color: var(--paper);
  box-shadow: 0 14px 30px -12px rgb(0 75 200 / .55);
  font-size: 1.2rem;
  opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease), background-color .2s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent-hover); }
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: 60;
  max-width: calc(100% - 2rem);
  padding: .8rem 1.15rem;
  border-radius: 999px;
  background: var(--primary); color: var(--surface);
  box-shadow: var(--shadow-lg);
  font-size: .9rem; font-weight: 600;
  opacity: 0; transform: translate(-50%, 16px); pointer-events: none;
  transition: opacity .3s, transform .35s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast:empty { display: none; }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .service-card[data-reveal].is-visible { transition: opacity .8s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s, background-color .45s; transition-delay: calc(var(--d, 0) * 90ms), 0s, 0s, 0s, 0s; }


.hero mark, .contact mark { background: var(--paper); color: var(--ink); }
.site-header .brand, .footer .brand { color: var(--paper); }
.site-header.is-light .brand, .menu-open .site-header .brand { color: var(--primary); }
.hero .button {
  --btn-bg: var(--paper);
  --btn-fg: var(--accent-ink);
}
.hero .button:hover { --btn-bg: var(--surface-2); }
.tags a:hover::before { color: var(--paper); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
}

@media (max-width: 1080px) {
  .nav a { padding-inline: .6rem; font-size: .88rem; }
}

@media (max-width: 920px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-row { grid-template-columns: 1fr auto; }
  .hero-grid, .about-grid, .sectors-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; gap: 2rem; padding-block: 0 var(--gutter); }
  .hero-copy { padding-block: 2.5rem 0; }
  .hero-media { min-height: 0; aspect-ratio: 4 / 4.2; }
  .hero-media::after { display: none; }
  .about-media { max-width: 36rem; }
  .about-media img { aspect-ratio: 4 / 3; }
  .about-badge { right: 1rem; }
  .faq-intro { position: static; }
  .sector-tabs { flex-direction: row; flex-wrap: wrap; gap: .5rem; margin-left: 0; }
  .sector-tabs [role="tab"] {
    padding: .55rem 1rem;
    border: 1.5px solid rgb(255 255 255 / .5); border-radius: 999px;
    font-family: var(--font-body); font-size: .95rem; font-weight: 650; letter-spacing: 0;
    opacity: 1;
  }
  .sector-tabs [role="tab"][aria-selected="true"] { border-color: var(--paper); }
  .sector-tabs [role="tab"]::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; gap: 2.25rem; padding-left: 4.5rem; }
  .steps::before, .steps::after { display: none; }
  .step:not(:last-child)::before, .step:not(:last-child)::after {
    content: ""; position: absolute;
    left: calc(-4.5rem + 1.6rem - 1px); top: 1.6rem; bottom: -2.25rem;
    width: 2px; border-radius: 2px;
  }
  .step:not(:last-child)::before { background: var(--rule-strong); }
  .step:not(:last-child)::after {
    background: var(--accent);
    transform-origin: 50% 0; transform: scaleY(var(--progress));
    transition: transform .6s var(--ease);
  }
  .steps.is-active .step:nth-child(2)::after { transition-delay: .55s; }
  .step-dot { position: absolute; left: -4.5rem; top: 0; }
  .step-meta { margin-top: .25rem; }
  .section-head { align-items: flex-start; }
}

@media (max-width: 600px) {
  :root { --header-h: 4rem; }
  .hero-copy { padding-top: 1.75rem; }
  .hero-media { aspect-ratio: 4 / 4.6; }
  .float-card { padding: .8rem .9rem; font-size: .74rem; }
  .float-title { font-size: .76rem; margin-bottom: .5rem; }
  .card-close { width: min(15rem, 78%); }
  .about-badge { position: relative; right: auto; margin: -2.5rem 1rem 0; }
  .about-media { padding-bottom: 0; }
  .service-card { width: min(84vw, 20rem); padding: 1.35rem; }
  .drag-hint { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .segmented span { font-size: .82rem; padding-inline: .25rem; }
  .form-actions .button { width: 100%; }
  .form-note { max-width: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .to-top { width: 2.75rem; height: 2.75rem; }
  .chip span { padding: .5rem .8rem; font-size: .84rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .marquee-track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
