/* ══════════════════════════════════════════════════════════════════════════
   IMP BRAND — the reference's components, drawn once from the tokens in
   imp-foundation.css (I-008, 19/09/2026).

   Consumers: website/hero-lab.html (the new home) and every public page as it
   is converted; internal tools opt in per component. Tokens live in
   imp-foundation.css — never a colour or a radius typed here.

   Two laws: only transform / opacity / filter animate; no motion in content
   sections beyond colour (Lucas: "nada de motion" in Services).
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Base: the page's ground rules, once ──────────────────────────────────
   Every page built on _brand.html starts from these; a page adds only what
   is its own (the hero has hero-lab.css). */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--imp-bg); scrollbar-gutter: stable; }
body {
  margin: 0; background: var(--imp-bg); color: var(--imp-text);
  font-family: var(--imp-font); font-size: 1rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
/* A page without the opening: content starts under the capsule. */
.page { padding-top: var(--imp-nav-h); }
/* Arriving by hash (/…#services, #quote): the target clears the capsule. */
.sec, .quote, .cta-band { scroll-margin-top: calc(var(--imp-nav-h) + .5rem); }

/* ── Header: a floating capsule ───────────────────────────────────────────
   Transparent until the page says otherwise (`.nav.is-docked`): glass, a
   hairline, a soft shadow. Centred by insets, never by a transform. */
.nav {
  position: fixed; top: var(--imp-nav-top); z-index: 40;
  left: max(var(--imp-gutter), calc((100% - var(--imp-maxw)) / 2)); right: max(var(--imp-gutter), calc((100% - var(--imp-maxw)) / 2));
  height: var(--imp-nav-bar);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 .5rem 0 1rem; border-radius: var(--imp-r-pill);
  border: 1px solid transparent;
  transition: background-color .5s var(--imp-ease), border-color .5s var(--imp-ease), box-shadow .5s var(--imp-ease), -webkit-backdrop-filter .5s, backdrop-filter .5s;
}
.nav.is-docked {
  background: var(--imp-glass);
  border-color: var(--imp-line-2);
  box-shadow: 0 14px 40px -22px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
}
.nav-brand { display: flex; align-items: center; gap: .65rem; min-width: 0; }
#nav-mark { width: 40px; height: 40px; flex: none; opacity: 0; }
html.calm #nav-mark, html.fallback #nav-mark, .nav.is-static #nav-mark { opacity: 1; }
.nav-name { display: grid; line-height: 1.05; font-size: .82rem; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; opacity: 0; transition: opacity .5s var(--imp-ease); }
.nav.is-docked .nav-name, .nav.is-static .nav-name, html.calm .nav-name, html.fallback .nav-name { opacity: 1; }
.nav-name em { font-style: normal; font-size: .56rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--imp-text-3); }
.nav-links { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.8rem); }
.nav-links a { font-size: .82rem; font-weight: 450; color: var(--imp-text-2); transition: color .25s var(--imp-ease); }
.nav-links a:hover, .nav-links a.is-current { color: var(--imp-text); }
.nav-cta {
  padding: .55rem 1rem; border-radius: var(--imp-r-pill); border: 0;
  background: var(--imp-text); color: #0a0812 !important; font-weight: 600;
  transition: background-color .3s var(--imp-ease);
}
.nav-cta:hover { background: #fff; }
.nav-burger {
  display: none; width: 42px; height: 42px; margin-right: -8px; padding: 0; border: 0; border-radius: 12px;
  background: none; cursor: pointer; place-items: center; gap: 5px;
}
.nav-burger span { display: block; width: 20px; height: 1.5px; background: var(--imp-text); transition: transform .3s var(--imp-ease), opacity .3s; }
html.menu-open .nav-burger span:first-child { transform: translateY(3.25px) rotate(45deg); }
html.menu-open .nav-burger span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
@media (max-width: 760px) {
  .nav { padding: 0 .35rem 0 .8rem; }
  #nav-mark { width: 34px; height: 34px; }
  .nav-name { display: none; }
  .nav-links { display: none; }
  .nav-burger { display: grid; }
}
/* The phone menu: a drawer from the right (280px), a backdrop that closes it. */
.menu {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 60; width: min(280px, 84vw);
  padding: calc(var(--imp-nav-h) + 1rem) 1.4rem 1.4rem; display: grid; align-content: start; gap: 1.6rem;
  background: rgba(10, 8, 18, .92); border-left: 1px solid var(--imp-line-2);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  animation: menu-in .32s var(--imp-ease);
}
.menu[hidden] { display: none; }
@keyframes menu-in { from { transform: translateX(24px); opacity: 0; } }
.menu-links { display: grid; gap: .3rem; }
.menu-links a { padding: .6rem 0; font-size: 1.25rem; font-weight: 500; letter-spacing: -.02em; border-bottom: 1px solid var(--imp-line); }
.menu-foot { display: grid; gap: .4rem; font-size: .85rem; color: var(--imp-text-2); }
.menu-backdrop { position: fixed; inset: 0; z-index: 55; background: rgba(4, 5, 11, .55); }
.menu-backdrop[hidden] { display: none; }

/* ── Sections ────────────────────────────────────────────────────────────── */
.sec {
  position: relative; z-index: 4;
  width: min(100% - 2 * var(--imp-gutter), var(--imp-maxw)); margin-inline: auto;
  padding-block: clamp(3.5rem, 8vw, 7rem);
}
.sec + .sec { padding-top: 0; }
.sec-first { padding-top: clamp(3rem, 7vw, 6rem); }
/* Section heads: centred, one light line with the point in bold, one lede. */
.sec-head { display: grid; gap: .75rem; justify-items: center; text-align: center; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.sec-head.is-left { justify-items: start; text-align: left; }
.kicker { font-size: var(--imp-kicker); font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--imp-pink); }
.h2 { font-size: var(--imp-h2); font-weight: 300; letter-spacing: -.045em; line-height: 1; max-width: 20ch; text-wrap: balance; }
.h2 strong { font-weight: 600; }
/* A page's own title (the service pages): the h2's voice, one size up. */
.h1 { font-size: clamp(2.4rem, 5.2vw, 5rem); font-weight: 300; letter-spacing: -.045em; line-height: 1; max-width: 16ch; text-wrap: balance; }
.h1 strong { font-weight: 600; }
.lede { color: var(--imp-text-2); max-width: 52ch; font-size: var(--imp-lede); line-height: 1.5; }
.sec-foot { margin-top: 1.4rem; text-align: center; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; justify-content: center; margin-top: .4rem; }
.cta-row.is-left { justify-content: flex-start; }

/* ── Small parts ─────────────────────────────────────────────────────────── */
.pill {
  display: inline-block; padding: .3rem .75rem; border-radius: var(--imp-r-pill);
  font-size: .7rem; font-weight: 600; letter-spacing: .04em;
  border: 1px solid var(--imp-line-2); background: rgba(8, 8, 12, .55);
}
.more { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 600; color: var(--imp-text); }
.more span { transition: transform .3s var(--imp-ease); }
.more:hover span { transform: translateX(3px); }
.btn-pill {
  display: inline-flex; align-items: center; gap: .45rem; margin-top: .6rem;
  padding: .55rem 1rem; border-radius: var(--imp-r-pill); background: var(--imp-text); color: #0a0812;
  font-size: .82rem; font-weight: 600; white-space: nowrap;
  transition: background-color .25s var(--imp-ease);
}
.btn-pill:hover { background: #fff; }
.btn-grad {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 50px; padding: 0 1.6rem; border: 0; border-radius: var(--imp-r-pill); cursor: pointer;
  background: var(--imp-grad); color: #fff; font: 600 .95rem var(--imp-font);
  box-shadow: 0 10px 30px -12px rgba(255, 16, 144, .6), inset 0 1px 0 rgba(255, 255, 255, .22);
  transition: filter .25s, transform .12s;
}
.btn-grad:hover { filter: brightness(1.08); }
.btn-grad:active { transform: scale(.98); }
.status { display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 600; white-space: nowrap; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.is-live { color: var(--imp-live); }
.status.is-build { color: var(--imp-build); }
.channels { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; margin-top: 1.4rem; font-size: .8rem; color: var(--imp-text-3); }
.channels .pill { color: var(--imp-text-2); }

/* ── Cards: equal, calm, three across ─────────────────────────────────────
   A flat surface, a framed window on top, the name, one line, bullets, a
   white pill. Nothing lifts or scales on hover — a border, a colour. */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 1.4vw, 1.2rem); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  display: grid; gap: .45rem; align-content: start; justify-items: start;
  padding: 1rem 1rem 1.35rem; border-radius: var(--imp-r-lg); border: 1px solid var(--imp-line); background: var(--imp-surface);
  transition: border-color .3s var(--imp-ease);
}
.card:hover { border-color: var(--imp-line-2); }
.card-media {
  position: relative; width: 100%; aspect-ratio: 16 / 9; margin-bottom: .8rem;
  border-radius: var(--imp-r); overflow: hidden; border: 1px solid var(--imp-line); background: var(--imp-bg);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; filter: saturate(.45) brightness(.8); }
.card-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(8, 11, 24, .85)); pointer-events: none; }
.card h3 { font-size: var(--imp-h3); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.card p { color: var(--imp-text-2); font-size: .95rem; max-width: 40ch; }
.card .pill { margin-bottom: .1rem; }
.card-list { display: grid; gap: .3rem; margin: .3rem 0 .15rem; }
.card-list li { position: relative; padding-left: .95rem; color: var(--imp-text-2); font-size: .88rem; line-height: 1.4; }
.card-list li::before { content: ''; position: absolute; left: 0; top: .5em; width: 5px; height: 5px; border-radius: 50%; background: var(--imp-pink); opacity: .85; }
@media (max-width: 1023px) { .cards, .cards-3, .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards, .cards-2, .cards-3, .cards-4 { grid-template-columns: 1fr; } }
.card .sys-top { width: 100%; }
.card .case-tags { margin-top: .2rem; }

/* ── Two columns: a picture beside a block of copy (the company's story). ── */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.media-frame { aspect-ratio: 4 / 3; border-radius: var(--imp-r-lg); border: 1px solid var(--imp-line); overflow: hidden; background: var(--imp-surface); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.copy-block { display: grid; gap: 1rem; justify-items: start; }
.copy-block .h2 { max-width: 14ch; }
.copy-block p { color: var(--imp-text-2); max-width: 46ch; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* ── A list of links (the six, on the company page): name, one line, arrow. ── */
.linklist { display: grid; }
.linklist a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 1.1rem .2rem; border-top: 1px solid var(--imp-line); transition: background-color .25s var(--imp-ease); }
.linklist a:last-child { border-bottom: 1px solid var(--imp-line); }
.linklist a:hover { background: rgba(255, 255, 255, .025); }
.linklist h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; }
.linklist p { color: var(--imp-text-2); font-size: .92rem; }
.linklist .more { font-size: .82rem; white-space: nowrap; }

/* ── Work: filters, then an image-first mosaic, two across. ─────────────── */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: clamp(1.4rem, 3vw, 2.4rem); }
.filter {
  padding: .5rem .95rem; border-radius: var(--imp-r-pill); border: 1px solid var(--imp-line-2); background: none; cursor: pointer;
  color: var(--imp-text-2); font: 600 .8rem var(--imp-font); transition: color .25s var(--imp-ease), background-color .25s var(--imp-ease), border-color .25s var(--imp-ease);
}
.filter:hover { color: var(--imp-text); }
.filter[aria-pressed="true"] { background: var(--imp-text); color: #0a0812; border-color: var(--imp-text); }
.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.8rem, 1.4vw, 1.2rem); }
.work { display: grid; gap: .6rem; align-content: start; padding: 1rem 1rem 1.3rem; border-radius: var(--imp-r-lg); border: 1px solid var(--imp-line); background: var(--imp-surface); transition: border-color .3s var(--imp-ease); }
.work:hover { border-color: var(--imp-line-2); }
.work .card-media { aspect-ratio: 16 / 10; margin: 0; }
.work-meta { display: grid; gap: .3rem; justify-items: start; padding-top: .3rem; }
.work-meta h2 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.work-meta p { color: var(--imp-text-2); font-size: .92rem; max-width: 46ch; }
.works-empty { text-align: center; margin-top: 1.5rem; }
.works-empty a { color: var(--imp-pink-soft); font-weight: 600; }
@media (max-width: 640px) { .works { grid-template-columns: 1fr; } }

/* Card art: one SVG per card (website/generated/cards/<slug>.svg), inlined by
   the server so CSS can dim the accent at rest and light it on hover (Lucas,
   19/09: "a cor mais forte apareça quando passa o mouse em cima"). The art's
   ground is the card surface, so it floats. */
.card-art { background: none; border: 0; }
.card-art .il { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transform: scale(1.22); }
.card-art::after { display: none; }
.il-acc { opacity: .42; filter: saturate(.12) brightness(1.05); transition: opacity .45s var(--imp-ease), filter .45s var(--imp-ease); }
.card:hover .il-acc, .case:hover .il-acc, a:hover > .card-art .il-acc, .is-lit .il-acc { opacity: 1; filter: none; }
@media (hover: none) { .il-acc { opacity: 1; filter: none; } }

/* The service page's opening: the promise beside the object, already lit. */
.svc-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.svc-copy { display: grid; gap: 1.1rem; justify-items: start; }
.svc-copy .lede { max-width: 46ch; }
.svc-art { position: relative; aspect-ratio: 16 / 10; border-radius: var(--imp-r-lg); border: 1px solid var(--imp-line); background: var(--imp-surface); overflow: hidden; }
.svc-art .il { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transform: scale(1.12); }
@media (max-width: 900px) { .svc-hero { grid-template-columns: 1fr; } }

/* Panels: quiet, borderline, for "what you get" lists. */
.panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 1.4vw, 1.2rem); }
.panels-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.panel { display: grid; gap: .45rem; align-content: start; padding: 1.2rem 1.25rem 1.4rem; border-radius: 20px; border: 1px solid var(--imp-line); background: rgba(255, 255, 255, .025); scroll-margin-top: calc(var(--imp-nav-h) + 1rem); }
.panel h3 { font-size: 1rem; font-weight: 600; letter-spacing: -.02em; }
.panel p { color: var(--imp-text-2); font-size: .92rem; }
@media (max-width: 1023px) { .panels-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .panels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .panels, .panels-4 { grid-template-columns: 1fr; } }

/* Steps: three numbered cells, the number in the brand's pink. */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 1.4vw, 1.2rem); counter-reset: step; }
.steps li { display: grid; gap: .5rem; align-content: start; padding: 1.3rem 1.3rem 1.5rem; border-radius: var(--imp-r-lg); border: 1px solid var(--imp-line); background: var(--imp-surface); }
.steps li::before { counter-increment: step; content: "0" counter(step); font-size: .74rem; font-weight: 600; letter-spacing: .24em; color: var(--imp-pink); }
.steps h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -.02em; }
.steps p { color: var(--imp-text-2); font-size: .92rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Product cards without a picture: kind, status, name, one line. */
.sys-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(.8rem, 1.4vw, 1.2rem); }
.sys-card { display: grid; gap: .5rem; align-content: start; padding: 1.1rem 1.15rem 1.3rem; border-radius: 20px; border: 1px solid var(--imp-line); background: var(--imp-surface); transition: border-color .3s var(--imp-ease); }
.sys-card:hover { border-color: var(--imp-line-2); }
.sys-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.sys-card h3 { font-size: 1.02rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.sys-card p { color: var(--imp-text-2); font-size: .88rem; }
@media (max-width: 1100px) { .sys-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .sys-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .sys-cards { grid-template-columns: 1fr; } }

/* A featured case beside its copy. */
.split-work { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; margin-bottom: clamp(1.2rem, 2.5vw, 2rem); }
.split-work .sec-head { justify-items: start; text-align: left; margin-bottom: 1.2rem; }
.split-work .h2 { max-width: 14ch; }
.split-work .lede { max-width: 40ch; }
.case { display: grid; gap: .8rem; padding: 1rem 1rem 1.4rem; border-radius: var(--imp-r-lg); border: 1px solid var(--imp-line); background: var(--imp-surface); }
.case h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.12; }
.case h3 strong { font-weight: 600; color: var(--imp-pink-soft); }
.case .card-media { margin: 0; aspect-ratio: 16 / 9; }
.case-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.case-tags span { font-size: .72rem; font-weight: 600; letter-spacing: .03em; padding: .3rem .7rem; border-radius: 8px; border: 1px solid var(--imp-line-2); background: rgba(255, 255, 255, .03); }
.case p { color: var(--imp-text-2); font-size: .95rem; }
.case p strong { color: var(--imp-text); font-weight: 600; }
/* A case on its own (the service page's proof): the picture beside the words. */
.case-wide { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.2rem, 3vw, 2.5rem); align-items: center; }
.case-copy { display: grid; gap: .8rem; justify-items: start; padding: .4rem .6rem .4rem 0; }
@media (max-width: 900px) { .split-work, .case-wide { grid-template-columns: 1fr; } }
.sys-card .more { margin-top: .2rem; font-size: .82rem; }

/* The numbers. */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 1.4vw, 1.2rem); margin-bottom: 1.6rem; }
.facts-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 0; }
.facts li { display: grid; gap: .4rem; padding: clamp(1.2rem, 2vw, 1.8rem); border-radius: var(--imp-r-lg); border: 1px solid var(--imp-line); background: var(--imp-surface); }
.facts strong {
  font-size: clamp(2.4rem, 4.6vw, 3.8rem); font-weight: 600; letter-spacing: -.03em; line-height: 1;
  background: linear-gradient(135deg, #fff, var(--imp-pink) 120%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.facts span { color: var(--imp-text-2); font-size: .95rem; max-width: 30ch; }
@media (max-width: 1023px) { .facts-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } .facts-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .facts-4 { grid-template-columns: 1fr; } }

/* The ask, as a band: centred, the glow behind, one pill. */
.cta-band {
  position: relative; z-index: 4; overflow: hidden; text-align: center;
  width: min(100% - 2 * var(--imp-gutter), var(--imp-maxw)); margin: clamp(2rem, 5vw, 4rem) auto 0;
  padding: clamp(3.5rem, 8vw, 6.5rem) var(--imp-gutter);
  border-radius: var(--imp-r-lg); border: 1px solid var(--imp-line); background: var(--imp-surface);
  display: grid; gap: .8rem; justify-items: center;
}
.cta-glow { position: absolute; left: 50%; bottom: -60%; width: 90%; height: 120%; transform: translateX(-50%); background: radial-gradient(ellipse at 50% 100%, rgba(150, 70, 240, .45), rgba(110, 40, 200, .16) 40%, transparent 70%); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band .lede { max-width: 46ch; }

/* ── Contact: the copy beside the form ────────────────────────────────────── */
.quote {
  position: relative; z-index: 4;
  padding: clamp(4rem, 9vw, 7rem) var(--imp-gutter) clamp(3rem, 6vw, 5rem);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: start;
  background: linear-gradient(180deg, var(--imp-bg) 0%, #0a0812 100%);
}
.quote-copy .kicker { margin-bottom: .8rem; }
.quote-title { font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; max-width: 12ch; }
.quote-sub { margin-top: 1.2rem; color: var(--imp-text-2); max-width: 34ch; font-size: 1.05rem; }
.quote-panel {
  border-radius: 24px; padding: clamp(1.3rem, 3vw, 2.2rem);
  background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.qform { display: grid; gap: 1.1rem; }
.qrow { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.qfield { display: grid; gap: .45rem; min-width: 0; }
.qfield label { font-size: .84rem; font-weight: 500; }
.qfield input, .qfield textarea {
  width: 100%; min-height: 50px; padding: .75rem .95rem;
  border-radius: var(--imp-r-input); border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(0, 0, 0, .32); color: var(--imp-text);
  font: 450 1rem/1.4 var(--imp-font);
  transition: border-color .18s, box-shadow .18s;
}
.qfield textarea { resize: vertical; min-height: 130px; }
.qfield input:focus, .qfield textarea:focus { outline: none; border-color: rgba(255, 45, 130, .65); box-shadow: 0 0 0 4px rgba(255, 45, 130, .13); }
.qfield input[aria-invalid="true"], .qfield textarea[aria-invalid="true"] { border-color: #ff6b8b; }
.field-err { color: #ff8aa5; font-size: .8rem; }
.qform-status { min-height: 1.2rem; font-size: .86rem; color: #ff8aa5; text-align: center; }
.qform-status a { color: var(--imp-pink-soft); font-weight: 600; }
.btn {
  min-height: 50px; padding: 0 1.6rem; border: 0; border-radius: var(--imp-r-pill); cursor: pointer;
  background: var(--imp-grad); color: #fff;
  font: 600 .95rem var(--imp-font);
  box-shadow: 0 10px 30px -12px rgba(255, 16, 144, .6), inset 0 1px 0 rgba(255, 255, 255, .22);
  transition: filter .25s, transform .12s;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(.98); }
.phone { position: relative; display: flex; gap: .5rem; }
.phone-country {
  flex: none; display: inline-flex; align-items: center; gap: .4rem; min-height: 50px; padding: 0 .8rem;
  border-radius: var(--imp-r-input); border: 1px solid rgba(255, 255, 255, .14); background: rgba(0, 0, 0, .32);
  color: var(--imp-text); cursor: pointer; font: 450 .95rem var(--imp-font);
}
.phone input { flex: 1; min-width: 0; }
.phone-list {
  position: absolute; top: calc(100% + .4rem); left: 0; z-index: 20;
  width: min(300px, 80vw); max-height: 260px; overflow-y: auto; padding: .35rem;
  border-radius: 16px; background: #15121d; border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8); overscroll-behavior: contain;
}
.cs-option { display: flex; align-items: center; gap: .6rem; padding: .6rem .7rem; border-radius: 10px; cursor: pointer; font-size: .92rem; }
.cs-option:hover, .cs-option.active { background: rgba(255, 45, 130, .12); }
.cs-dial { margin-left: auto; color: var(--imp-text-3); }
.qdone[hidden] { display: none; }
.qdone { display: grid; justify-items: center; text-align: center; gap: .8rem; padding: 3rem 1rem; }
.qdone svg { width: 72px; height: 72px; }
.qdone circle { fill: none; stroke: rgba(74, 222, 128, .35); stroke-width: 2; }
.qdone path { fill: none; stroke: #4ade80; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.qdone.is-on path { stroke-dashoffset: 0; transition: stroke-dashoffset .6s .15s var(--imp-ease); }
.qdone h3 { font-size: 1.6rem; letter-spacing: -.03em; }
.qdone p { color: var(--imp-text-2); max-width: 32ch; }
@media (max-width: 860px) { .quote { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .qrow { grid-template-columns: 1fr; } }

/* ── Footer: the ground, with a purple horizon ────────────────────────────
   An ellipse as flat as a 520vw circle: a hairline rim, a short glow inside,
   a soft haze above, a dark body under four columns, four tiles, the line. A
   phone gets the rim as a straight line. Gradients only — no blur, no shadow. */
.foot { position: relative; z-index: 4; overflow: hidden; background: var(--imp-ground); padding: clamp(11rem, 22vw, 19rem) var(--imp-gutter) max(1.6rem, env(safe-area-inset-bottom)); }
.planet {
  position: absolute; left: 50%; top: clamp(3rem, 8vw, 7rem); width: 260vw; height: max(120vw, 2400px); transform: translateX(-50%);
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side,
    #06040c 0%, #06040c 98.9%,
    rgba(120, 50, 210, .28) 99.6%, rgba(175, 100, 255, .55) 99.9%,
    rgba(230, 200, 255, .95) 99.97%, rgba(230, 200, 255, 0) 100%);
}
@media (max-width: 760px) {
  .planet {
    left: 0; width: 100%; height: 100%; transform: none; border-radius: 0;
    background: linear-gradient(180deg, rgba(230, 200, 255, .9) 0, rgba(175, 100, 255, .5) 2px, rgba(120, 50, 210, .22) 12px, #06040c 44px, #06040c 100%);
  }
}
.foot::before {
  content: ''; position: absolute; left: 50%; top: clamp(3rem, 8vw, 7rem); z-index: 0;
  width: 170vw; height: clamp(9rem, 22vw, 19rem); transform: translate(-50%, -74%);
  background: radial-gradient(ellipse at 50% 100%, var(--imp-glow), rgba(110, 40, 200, .10) 42%, transparent 70%);
  pointer-events: none;
}
.foot-inner { position: relative; z-index: 1; width: min(100%, var(--imp-maxw)); margin-inline: auto; display: grid; gap: clamp(2rem, 4vw, 3.2rem); }
.foot-cols { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 3rem); }
.foot-cols h4 { margin: 0 0 .8rem; font-size: .8rem; font-weight: 600; letter-spacing: .02em; }
.foot-cols ul { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.foot-cols a { font-size: .86rem; color: var(--imp-text-2); transition: color .25s var(--imp-ease); }
.foot-cols a:hover { color: var(--imp-text); }
.foot-brand { display: grid; gap: .9rem; align-content: start; }
.foot-brand img { width: 150px; height: auto; }
.foot-brand p { color: var(--imp-text-2); font-size: .88rem; max-width: 30ch; }
.foot-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.tile {
  display: grid; gap: .15rem; align-content: center; min-height: 64px; padding: .9rem 1.1rem;
  border-radius: 16px; border: 1px solid var(--imp-line-2); background: rgba(255, 255, 255, .03);
  font-size: .9rem; font-weight: 600; transition: border-color .3s var(--imp-ease), background-color .3s var(--imp-ease);
}
.tile:hover { border-color: rgba(255, 45, 120, .45); background: rgba(255, 255, 255, .05); }
.tile small { display: block; font-size: .74rem; font-weight: 500; color: var(--imp-text-3); }
.tile-cta { background: var(--imp-text); color: #0a0812; border-color: var(--imp-text); }
.tile-cta small { color: rgba(10, 8, 18, .6); }
.tile-cta:hover { background: #fff; border-color: #fff; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; padding-top: 1.4rem; border-top: 1px solid var(--imp-line); font-size: .78rem; color: var(--imp-text-3); }
.foot-base a:hover { color: var(--imp-text); }
@media (max-width: 900px) {
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-tiles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .foot-cols { grid-template-columns: 1fr; }
  .foot-tiles { grid-template-columns: 1fr; }
}
