/* ============================================================
   BUBBLE — Design System
   Data-Resident Cloud · Moçambique
   ============================================================ */

/* ---- Fonts ---- */
@import url("https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600&display=swap");

:root {
  /* Brand core */
  --navy: #1b2452;
  --navy-deep: #141b3f;
  --ink: #0e1330;
  --slate: #5a648f;
  --mist: #8b93b8;

  /* Brand gradient stops */
  --blue: #2176c4;
  --blue-bright: #3a9be0;
  --indigo: #3a16b0;
  --violet: #5b2bd6;
  --purple: #7a36bf;
  --magenta: #b80f86;
  --magenta-hot: #d11b8e;

  /* Surfaces */
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --bg-tint: #eef0fa;
  --line: #e6e8f2;
  --line-soft: #eef0f7;

  /* Semantic (themeable) */
  --surface: #ffffff; /* cards, panels */
  --surface-2: #f6f7fb; /* inset fields */
  --text: var(--navy);
  --text-strong: var(--ink);
  --nav-bg: rgba(255, 255, 255, 0.82);
  --vs-bg: #ffffff;
  --icon-stroke: var(--ink);

  /* Signature gradients */
  --grad-brand: linear-gradient(120deg, #2176c4 0%, #5b2bd6 45%, #b80f86 100%);
  --grad-deep: linear-gradient(135deg, #2a1664 0%, #5a1090 55%, #7a0f6e 100%);
  --grad-hero: radial-gradient(
    120% 130% at 18% 12%,
    #3a1f86 0%,
    #2a1466 35%,
    #1b1147 70%,
    #140d33 100%
  );

  /* Type */
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;

  /* Geometry */
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 28px;
  --r-xl: 40px;

  --shadow-sm: 0 2px 8px rgba(20, 27, 63, 0.06);
  --shadow: 0 18px 50px -18px rgba(27, 36, 82, 0.22);
  --shadow-lg: 0 40px 90px -30px rgba(27, 36, 82, 0.35);
  --shadow-glow: 0 30px 80px -20px rgba(123, 54, 191, 0.45);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --maxw: 1240px;
}

/* ---- Dark theme ---- */
[data-theme="dark"] {
  --navy: #e8ebf7;
  --navy-deep: #aab2d8;
  --ink: #f3f5fc;
  --slate: #a3abce;
  --mist: #6f78a0;

  --bg: #0c0f22;
  --bg-soft: #11142b;
  --bg-tint: #1a1f3e;
  --line: #262c4d;
  --line-soft: #1d2342;

  --surface: #14182f;
  --surface-2: #1a1f3e;
  --text: #d6dbf0;
  --text-strong: #f3f5fc;
  --nav-bg: rgba(12, 15, 34, 0.82);
  --vs-bg: #14182f;
  --icon-stroke: #e8ebf7;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
}
html {
  transition: background 0.4s var(--ease);
}
body {
  transition:
    background 0.4s var(--ease),
    color 0.4s var(--ease);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
::selection {
  background: var(--violet);
  color: #fff;
}

/* ---- Layout helpers ---- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}
.section {
  padding: clamp(72px, 11vw, 140px) 0;
}
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 1.1rem;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
}
.eyebrow.light {
  color: #d9b6ff;
}
.eyebrow.light::before,
.eyebrow.light::after {
  background: linear-gradient(90deg, #7fd0ff, #ff7ad4);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 {
  font-size: clamp(2.5rem, 6vw, 4.6rem);
}
h2 {
  font-size: clamp(2rem, 4.2vw, 3.3rem);
}
h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}
.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  color: var(--slate);
  max-width: 60ch;
  font-weight: 300;
}
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.95em 1.7em;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background 0.35s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.35s var(--ease);
}
.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  background-size: 160% 160%;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  transform: translateY(-3px);
  background-position: 100% 0;
}
.btn-primary:hover svg {
  transform: translateX(4px);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-3px);
}
.btn-dark {
  background: #141b3f;
  color: #fff;
}
.btn-dark:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.btn-line {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn-line:hover {
  border-color: var(--violet);
  color: var(--violet);
  transform: translateY(-3px);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all 0.4s var(--ease);
}
.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow:
    0 1px 0 var(--line),
    0 8px 30px -18px rgba(27, 36, 82, 0.2);
  padding: 11px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: #fff;
  transition: color 0.25s;
}
.brand .sym {
  width: 38px;
  height: 38px;
  flex: none;
  display: block;
}
.brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.52rem;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 1px;
  transition: color 0.25s;
}
.nav.scrolled .brand {
  color: var(--text-strong);
}
.nav.scrolled .brand small {
  color: var(--mist);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
  padding: 0.5em 0.85em;
  border-radius: 10px;
  position: relative;
  transition:
    color 0.25s,
    background 0.25s;
}
.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.nav-links a.active {
  color: #fff;
}
/* once scrolled, nav gets a solid surface -> links follow theme */
.nav.scrolled .nav-links a {
  color: var(--text);
}
.nav.scrolled .nav-links a:hover {
  color: var(--violet);
  background: var(--bg-tint);
}
.nav.scrolled .nav-links a.active {
  color: var(--violet);
}
/* CTA button keeps its own colors no matter what */
.nav-links a.btn-primary,
.nav-links a.btn-primary.active,
.nav.scrolled .nav-links a.btn-primary,
.nav.scrolled .nav-links a.btn-primary.active {
  color: #fff;
}
.nav-links a.btn-primary:hover {
  color: #fff;
  background: var(--grad-brand);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0.85em;
  right: 0.85em;
  bottom: 0.15em;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
}
.nav-links a.btn-primary.active::after {
  display: none;
}
.nav-cta {
  margin-left: 8px;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.3s var(--ease);
}

@media (max-width: 1080px) {
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 360px);
    background: #141b3f;
    flex-direction: column;
    align-items: stretch;
    padding: 96px 26px 30px;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-links a {
    color: #fff;
    font-size: 1.15rem;
    padding: 0.7em 0.6em;
  }
  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
  }
  .nav-links a.active {
    color: #d9b6ff;
  }
  .nav-links .btn {
    margin-top: 14px;
    justify-content: center;
  }
  .nav-toggle {
    display: flex;
    z-index: 101;
  }
  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: #fff;
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: #fff;
  }
}

/* ============================================================
   HERO (dark)
   ============================================================ */
.hero {
  position: relative;
  background: var(--grad-hero);
  color: #fff;
  overflow: hidden;
  padding: clamp(140px, 18vh, 200px) 0 clamp(90px, 12vw, 140px);
}
.hero-dots {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: radial-gradient(
    rgba(180, 110, 255, 0.35) 1.1px,
    transparent 1.1px
  );
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(
    120% 90% at 10% 110%,
    #000 0%,
    transparent 60%
  );
  mask-image: radial-gradient(120% 90% at 10% 110%, #000 0%, transparent 60%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  pointer-events: none;
}
.hero-glow.g1 {
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, #7a36bf, transparent 70%);
  top: -160px;
  right: -100px;
  animation: float1 14s ease-in-out infinite;
}
.hero-glow.g2 {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, #b80f86, transparent 70%);
  bottom: -180px;
  left: -120px;
  animation: float2 16s ease-in-out infinite;
}
.hero-glow.g3 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #2176c4, transparent 70%);
  top: 40%;
  left: 55%;
  animation: float1 18s ease-in-out infinite;
}
@keyframes float1 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-40px, 40px);
  }
}
@keyframes float2 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(50px, -30px);
  }
}
.hero .wrap {
  position: relative;
  z-index: 2;
}
.hero h1 {
  color: #fff;
  max-width: 16ch;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #7fd0ff, #c79bff, #ff86d2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lead {
  color: rgba(255, 255, 255, 0.78);
  margin: 1.6rem 0 2.4rem;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-float {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  width: min(40vw, 460px);
  z-index: 1;
  animation: bob 7s ease-in-out infinite;
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(-58%);
  }
}
@media (max-width: 980px) {
  .hero-float {
    display: none;
  }
}

/* trust strip */
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 44px;
  margin-top: 3.4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.trust div {
  display: flex;
  flex-direction: column;
}
.trust b {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: #fff;
  font-weight: 700;
  line-height: 1;
}
.trust span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.35rem;
}

/* ============================================================
   PROBLEM band
   ============================================================ */
.band-soft {
  background: var(--bg-soft);
}
.band-tint {
  background: linear-gradient(180deg, #f6f7fb, #eef0fa);
}
[data-theme="dark"] .band-tint {
  background: linear-gradient(180deg, var(--bg-soft), var(--bg-tint));
}
.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.risk-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 2rem;
}
.risk-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s;
}
.risk-list li:hover {
  transform: translateX(6px);
  border-color: #f0c3e3;
  box-shadow: var(--shadow);
}
.risk-list .x {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ffe2f2, #ffd0e8);
  color: var(--magenta);
  font-weight: 700;
}
.callout {
  margin-top: 2rem;
  padding: 24px 26px;
  border-left: 4px solid;
  border-image: var(--grad-brand) 1;
  background: var(--bg-tint);
  border-radius: 0 var(--r) var(--r) 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
}

/* ============================================================
   PILLARS / cards
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 3rem;
}
@media (max-width: 980px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .cards {
    grid-template-columns: 1fr;
  }
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    border-color 0.4s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card:hover::before {
  transform: scaleX(1);
}
.card .ico {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: var(--bg-tint);
  color: var(--violet);
  transition: transform 0.4s var(--ease);
}
.card:hover .ico {
  transform: scale(1.08) rotate(-4deg);
}
.card .ico svg {
  width: 26px;
  height: 26px;
}
.card h3 {
  font-size: 1.18rem;
  margin-bottom: 0.6rem;
}
.card p {
  color: var(--slate);
  font-size: 0.96rem;
  font-weight: 300;
}
.card .num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--line);
  line-height: 1;
}

/* ============================================================
   AUDIENCE
   ============================================================ */
.aud {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 3rem;
}
@media (max-width: 840px) {
  .aud {
    grid-template-columns: 1fr;
  }
}
.aud-card {
  position: relative;
  border-radius: var(--r-lg);
  padding: 34px 30px;
  color: #fff;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.4s var(--ease);
}
.aud-card:hover {
  transform: translateY(-8px);
}
.aud-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(14, 19, 48, 0.85));
  z-index: 1;
}
.aud-card .bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.95;
}
.aud-card:nth-child(1) .bg {
  background: linear-gradient(135deg, #2176c4, #3a16b0);
}
.aud-card:nth-child(2) .bg {
  background: linear-gradient(135deg, #5b2bd6, #7a0f6e);
}
.aud-card:nth-child(3) .bg {
  background: linear-gradient(135deg, #b80f86, #7a36bf);
}
.aud-card .bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.18) 1px,
    transparent 1px
  );
  background-size: 20px 20px;
  opacity: 0.5;
}
.aud-card > * {
  position: relative;
  z-index: 2;
}
.aud-card h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}
.aud-card p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 300;
}
.aud-card .tag {
  align-self: flex-start;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.18);
  padding: 0.4em 0.9em;
  border-radius: 100px;
  margin-bottom: auto;
}

/* ============================================================
   COMPARE (Sem / Com Bubble)
   ============================================================ */
.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  margin-top: 3rem;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
@media (max-width: 760px) {
  .compare {
    grid-template-columns: 1fr;
    gap: 18px;
    box-shadow: none;
  }
}
.compare-col {
  padding: 38px 34px;
}
.compare-col h3 {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 1.4rem;
}
.compare-col ul {
  list-style: none;
  display: grid;
  gap: 14px;
}
.compare-col li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 1rem;
}
.compare-col .dot {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
}
.c-without {
  background: #fbf2f6;
}
.c-without h3 {
  color: var(--magenta);
}
.c-without .dot {
  background: #ffd9ec;
  color: var(--magenta);
}
.c-without li {
  color: #7a5066;
}
.c-with {
  background: #141b3f;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.c-with::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    120% 100% at 100% 0%,
    rgba(123, 54, 191, 0.4),
    transparent 60%
  );
}
.c-with > * {
  position: relative;
}
.c-with h3 {
  color: #fff;
}
.c-with .dot {
  background: linear-gradient(135deg, #3a9be0, #7a36bf);
  color: #fff;
}
.compare-vs {
  background: var(--vs-bg);
  display: grid;
  place-items: center;
  padding: 0 6px;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--mist);
  font-size: 0.85rem;
}
@media (max-width: 760px) {
  .compare-vs {
    display: none;
  }
  .compare-col {
    border-radius: var(--r-lg);
  }
}

/* ============================================================
   STEPS / process
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3.4rem;
  counter-reset: step;
}
@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }
}
.step {
  position: relative;
  padding: 32px 26px;
  counter-increment: step;
}
.step:not(:last-child) {
  border-right: 1px dashed var(--line);
}
@media (max-width: 860px) {
  .step:not(:last-child) {
    border-right: none;
    border-bottom: 1px dashed var(--line);
  }
}
.step .n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--grad-brand);
  color: #fff;
  margin-bottom: 18px;
  box-shadow: var(--shadow-glow);
}
.step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.step p {
  color: var(--slate);
  font-size: 0.93rem;
  font-weight: 300;
}

/* ============================================================
   CTA band (deep gradient)
   ============================================================ */
.cta-band {
  position: relative;
  background: var(--grad-deep);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(48px, 7vw, 80px);
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.12) 1px,
    transparent 1px
  );
  background-size: 22px 22px;
  opacity: 0.4;
}
.cta-band .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.4;
}
.cta-band .blob.a {
  width: 300px;
  height: 300px;
  background: #3a9be0;
  top: -100px;
  left: -60px;
}
.cta-band .blob.b {
  width: 320px;
  height: 320px;
  background: #d11b8e;
  bottom: -120px;
  right: -60px;
}
.cta-band > * {
  position: relative;
  z-index: 2;
}
.cta-band h2 {
  color: #fff;
  max-width: 18ch;
  margin: 0 auto;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 54ch;
  margin: 1.2rem auto 2rem;
  font-weight: 300;
}
.cta-band .hero-cta {
  justify-content: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0a0d20;
  color: #fff;
  padding: 80px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer .brand {
  color: #fff;
}
.footer .brand small {
  color: var(--mist);
}
.footer-col h4 {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: #b9c0e0;
}
.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.95rem;
  padding: 0.32em 0;
  transition:
    color 0.25s,
    padding-left 0.25s;
}
.footer-col a:hover {
  color: #fff;
  padding-left: 6px;
}
.footer p.desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-top: 1.1rem;
  max-width: 34ch;
  font-weight: 300;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 28px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}
.footer-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ============================================================
   REVEAL animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal[data-d="1"] {
  transition-delay: 0.08s;
}
.reveal[data-d="2"] {
  transition-delay: 0.16s;
}
.reveal[data-d="3"] {
  transition-delay: 0.24s;
}
.reveal[data-d="4"] {
  transition-delay: 0.32s;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    animation: none !important;
  }
}

/* page hero (lighter, for inner pages) */
.phero {
  position: relative;
  background: var(--grad-hero);
  color: #fff;
  overflow: hidden;
  padding: clamp(150px, 20vh, 210px) 0 clamp(70px, 9vw, 110px);
}
.phero h1 {
  color: #fff;
  max-width: 18ch;
}
.phero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #7fd0ff, #ff86d2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.phero .lead {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 1.4rem;
}
.breadcrumb {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.4rem;
}
.breadcrumb a:hover {
  color: #fff;
}

/* component blocks list */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 3rem;
}
@media (max-width: 760px) {
  .feat-grid {
    grid-template-columns: 1fr;
  }
}
.feat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.feat:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.feat .tagrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.feat .badge {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 0.45em 0.9em;
  border-radius: 100px;
  background: var(--bg-tint);
  color: var(--violet);
}
.feat h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}
.feat .sub {
  color: var(--purple);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}
.feat p {
  color: var(--slate);
  font-weight: 300;
  margin-bottom: 1rem;
}
.feat ul {
  list-style: none;
  display: grid;
  gap: 10px;
}
.feat li {
  display: flex;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--navy);
}
.feat li svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--blue);
  margin-top: 3px;
}
.feat .foot {
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}

/* simple section heading */
.sec-head {
  max-width: 62ch;
}
.sec-head.center {
  margin: 0 auto;
  text-align: center;
}
.sec-head p {
  margin-top: 1rem;
}

/* ============================================================
   COST SIMULATOR
   ============================================================ */
.sim-wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  margin-top: 3rem;
  align-items: start;
}
@media (max-width: 900px) {
  .sim-wrap {
    grid-template-columns: 1fr;
  }
}
.sim-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px;
  box-shadow: var(--shadow);
}
.sim-row {
  margin-bottom: 26px;
}
.sim-row:last-child {
  margin-bottom: 0;
}
.sim-row .top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.sim-row .top label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 9px;
}
.sim-row .top label svg {
  width: 18px;
  height: 18px;
  color: var(--violet);
}
.sim-row .val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--violet);
  background: var(--bg-tint);
  padding: 0.25em 0.7em;
  border-radius: 8px;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 6px;
  background: var(--line);
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grad-brand);
  box-shadow: 0 4px 12px rgba(123, 54, 191, 0.45);
  border: 3px solid #fff;
  cursor: pointer;
  transition: transform 0.2s;
}
input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--violet);
  border: 3px solid #fff;
  cursor: pointer;
}

.sim-result {
  background: #141b3f;
  color: #fff;
  border-radius: var(--r-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  position: sticky;
  top: 90px;
}
.sim-result::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    130% 100% at 100% 0%,
    rgba(123, 54, 191, 0.45),
    transparent 55%
  );
}
.sim-result > * {
  position: relative;
}
.sim-result .label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b9c0e0;
}
.sim-total {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  line-height: 1;
  margin: 0.4rem 0 0.2rem;
  background: linear-gradient(90deg, #7fd0ff, #c79bff, #ff86d2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sim-unit {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-bottom: 1.6rem;
}
.sim-break {
  display: grid;
  gap: 13px;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.sim-line {
  display: grid;
  gap: 5px;
}
.sim-line .lr {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}
.sim-line .lr span:first-child {
  color: rgba(255, 255, 255, 0.72);
}
.sim-line .lr span:last-child {
  font-family: var(--font-display);
  font-weight: 600;
}
.sim-line .track {
  height: 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.sim-line .track i {
  display: block;
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, #3a9be0, #7a36bf, #d11b8e);
  width: 0;
  transition: width 0.5s var(--ease);
}
.sim-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1.4rem;
  line-height: 1.5;
}
.sim-result .btn {
  width: 100%;
  justify-content: center;
  margin-top: 1.6rem;
}

/* pricing/conditions cards */
.cond {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 3rem;
}
@media (max-width: 760px) {
  .cond {
    grid-template-columns: 1fr;
  }
}
.cond-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.cond-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.cond-card .ico {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--bg-tint);
  color: var(--violet);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.cond-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.cond-card p {
  color: var(--slate);
  font-size: 0.95rem;
  font-weight: 300;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  margin-top: 3rem;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
.contact-info {
  display: grid;
  gap: 18px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s;
}
.contact-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
}
.contact-item .ico {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--grad-brand);
  color: #fff;
  display: grid;
  place-items: center;
}
.contact-item .ico svg {
  width: 22px;
  height: 22px;
}
.contact-item h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 3px;
}
.contact-item a,
.contact-item p {
  color: var(--slate);
  font-size: 0.95rem;
}
.contact-item a:hover {
  color: var(--violet);
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--surface-2);
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    background 0.25s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--violet);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(123, 54, 191, 0.12);
}
.field textarea {
  resize: vertical;
  min-height: 110px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 520px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}
.form-ok {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e7f7ee, #d7f0e3);
  color: #1a7a4a;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition:
    opacity 0.4s,
    max-height 0.4s;
}
.form-ok.show {
  opacity: 1;
  max-height: 80px;
  margin-top: 14px;
}
.form-note {
  font-size: 0.85rem;
  color: var(--mist);
  margin-top: 4px;
}

/* next-steps timeline */
.nexts {
  display: grid;
  gap: 0;
  margin-top: 3rem;
  position: relative;
}
.nextitem {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}
.nextitem:last-child {
  border-bottom: none;
}
.nextitem .n {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: var(--shadow-glow);
}
.nextitem h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
  margin-top: 6px;
}

/* yt thumbnails */
.yt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 2.6rem;
}
@media (max-width: 760px) {
  .yt-grid {
    grid-template-columns: 1fr;
  }
}
.yt {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--grad-deep);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s;
}
.yt:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.yt::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.12) 1px,
    transparent 1px
  );
  background-size: 18px 18px;
  opacity: 0.4;
}
.yt .play {
  position: relative;
  z-index: 2;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: grid;
  place-items: center;
  transition:
    transform 0.3s,
    background 0.3s;
}
.yt:hover .play {
  transform: scale(1.12);
  background: rgba(255, 255, 255, 0.28);
}
.yt .play svg {
  width: 24px;
  height: 24px;
  color: #fff;
  margin-left: 3px;
}
.yt .cap {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---- check-list (Prova de Conceito benefits) ---- */
.muted {
  color: var(--slate);
  font-weight: 300;
}
.check-list {
  list-style: none;
  display: grid;
  gap: 18px;
}
.check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.97rem;
  color: var(--ink);
}
.check-list .ck {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--grad-brand);
  position: relative;
  margin-top: 2px;
  box-shadow: var(--shadow-glow);
}
.check-list .ck::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 5px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2.4px 2.4px 0;
  transform: rotate(45deg);
}
.check-list li strong {
  font-family: var(--font-display);
  font-weight: 600;
}

/* ============================================================
   THEME TOGGLE
   ============================================================ */
.theme-toggle {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  cursor: pointer;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  color: var(--text-strong);
  display: grid;
  place-items: center;
  transition:
    background 0.25s,
    transform 0.25s,
    color 0.25s;
}
.theme-toggle:hover {
  transform: translateY(-2px);
  color: var(--violet);
}
.theme-toggle svg {
  width: 19px;
  height: 19px;
}
.theme-toggle .i-sun {
  display: none;
}
[data-theme="dark"] .theme-toggle .i-sun {
  display: block;
}
[data-theme="dark"] .theme-toggle .i-moon {
  display: none;
}
@media (max-width: 1080px) {
  .theme-toggle {
    position: relative;
    z-index: 101;
    margin-right: 6px;
  }
}

/* ============================================================
   CLIENT PORTAL
   ============================================================ */
.portal-shell {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}
.portal-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  margin-top: 3rem;
  align-items: start;
}
@media (max-width: 900px) {
  .portal-grid {
    grid-template-columns: 1fr;
  }
}
.portal-side {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px;
}
@media (max-width: 900px) {
  .portal-side {
    position: static;
    grid-auto-flow: column;
    overflow-x: auto;
  }
}
.portal-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  cursor: pointer;
  border: none;
  background: none;
  text-align: left;
  width: 100%;
  transition:
    background 0.2s,
    color 0.2s;
  white-space: nowrap;
}
.portal-tab svg {
  width: 18px;
  height: 18px;
  flex: none;
  opacity: 0.7;
}
.portal-tab:hover {
  background: var(--bg-tint);
}
.portal-tab.active {
  background: var(--grad-brand);
  color: #fff;
}
.portal-tab.active svg {
  opacity: 1;
}
.portal-panel {
  display: none;
  animation: fadeUp 0.5s var(--ease);
}
.portal-panel.active {
  display: block;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.portal-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.pcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
}
.pcard .k {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
}
.pcard .v {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--text-strong);
  line-height: 1;
}
.pcard .sub {
  font-size: 0.85rem;
  color: var(--slate);
  margin-top: 8px;
}
.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text);
}
.status-dot::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1fa971;
  box-shadow: 0 0 0 4px rgba(31, 169, 113, 0.18);
}
.status-dot.warn::before {
  background: #e0a005;
  box-shadow: 0 0 0 4px rgba(224, 160, 5, 0.18);
}
.status-dot.down::before {
  background: #d6453d;
  box-shadow: 0 0 0 4px rgba(214, 69, 61, 0.18);
}
.ptable {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.93rem;
}
.ptable th {
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--slate);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.ptable td {
  padding: 14px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text);
}
.ptable tr:hover td {
  background: var(--bg-tint);
}
.badge-pill {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.74rem;
  padding: 0.3em 0.8em;
  border-radius: 100px;
}
.badge-pill.ok {
  background: rgba(31, 169, 113, 0.14);
  color: #1aa06a;
}
.badge-pill.run {
  background: rgba(33, 118, 196, 0.14);
  color: #2176c4;
}
.badge-pill.wait {
  background: rgba(224, 160, 5, 0.16);
  color: #b07d04;
}
.bar-track {
  height: 8px;
  border-radius: 100px;
  background: var(--bg-tint);
  overflow: hidden;
  margin-top: 6px;
}
.bar-fill {
  height: 100%;
  width: 0;
  border-radius: 100px;
  background: var(--grad-brand);
  transition: width 1s var(--ease);
}
.portal-note {
  margin-top: 1.4rem;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--slate);
}
.portal-login {
  max-width: 440px;
  margin: 3rem auto 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

/* ============================================================
   HERO — LIGHT MODE (fundo branco)
   Aplica-se em tema claro (data-theme="light" ou sem atributo).
   ============================================================ */
html:not([data-theme="dark"]) .hero {
  background: #fff;
  color: var(--ink);
}
/* só a parte destacada roxa (#740096) no claro; resto mantém escuro. Dark: tudo branco */
html:not([data-theme="dark"]) .hero h1 {
  color: var(--ink);
}
html:not([data-theme="dark"]) .hero h1 em {
  background: none;
  color: #740096;
  -webkit-text-fill-color: #740096;
}
[data-theme="dark"] .hero h1 em {
  background: none;
  color: #fff;
  -webkit-text-fill-color: #fff;
}
html:not([data-theme="dark"]) .hero .lead {
  color: var(--slate);
}
html:not([data-theme="dark"]) .hero .eyebrow.light {
  color: var(--purple);
}
html:not([data-theme="dark"]) .hero .eyebrow.light::before {
  background: var(--grad-brand);
}

/* botão fantasma passa a linha escura sobre branco */
html:not([data-theme="dark"]) .hero .btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
html:not([data-theme="dark"]) .hero .btn-ghost:hover {
  background: var(--bg-tint);
  border-color: var(--violet);
  color: var(--violet);
}

/* faixa de indicadores (trust) legível sobre branco */
html:not([data-theme="dark"]) .hero .trust {
  border-top-color: var(--line);
}
html:not([data-theme="dark"]) .hero .trust b {
  color: var(--ink);
}
html:not([data-theme="dark"]) .hero .trust span {
  color: var(--slate);
}

/* camadas decorativas: suavizar e evitar que desapareçam no branco */
html:not([data-theme="dark"]) .hero-dots {
  opacity: 0.28;
}
html:not([data-theme="dark"]) .hero-glow {
  opacity: 0.2;
}

/* bolhas do hero em triângulo: cores translúcidas, sem mistura extra */
.hero-float g {
  mix-blend-mode: normal;
}

/* nav flutua sobre o hero: manter legível no branco antes do scroll (desktop) */
@media (min-width: 1081px) {
  html:not([data-theme="dark"]) .nav:not(.scrolled) .brand {
    color: var(--text-strong);
  }
  html:not([data-theme="dark"]) .nav:not(.scrolled) .brand small {
    color: var(--mist);
  }
  html:not([data-theme="dark"])
    .nav:not(.scrolled)
    .nav-links
    a:not(.btn-primary) {
    color: var(--text);
  }
  html:not([data-theme="dark"])
    .nav:not(.scrolled)
    .nav-links
    a:not(.btn-primary):hover {
    color: var(--violet);
    background: var(--bg-tint);
  }
  html:not([data-theme="dark"])
    .nav:not(.scrolled)
    .nav-links
    a.active:not(.btn-primary) {
    color: var(--violet);
  }
  html:not([data-theme="dark"]) .nav:not(.scrolled) .nav-toggle span {
    background: var(--ink);
  }
}

/* ============================================================
   PÁGINAS INTERNAS (.phero) — LIGHT MODE (fundo branco)
   ============================================================ */
html:not([data-theme="dark"]) .phero {
  background: #fff;
  color: var(--ink);
}
html:not([data-theme="dark"]) .phero h1 {
  color: var(--ink);
}
html:not([data-theme="dark"]) .phero h1 em {
  background: none;
  color: #740096;
  -webkit-text-fill-color: #740096;
}
html:not([data-theme="dark"]) .phero .lead {
  color: var(--slate);
}
html:not([data-theme="dark"]) .phero .breadcrumb {
  color: var(--slate);
}
html:not([data-theme="dark"]) .phero .breadcrumb a:hover {
  color: var(--violet);
}
html:not([data-theme="dark"]) .phero .eyebrow.light {
  color: var(--purple);
}
html:not([data-theme="dark"]) .phero .eyebrow.light::before,
html:not([data-theme="dark"]) .phero .eyebrow.light::after {
  background: var(--grad-brand);
}
html:not([data-theme="dark"]) .phero .btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
html:not([data-theme="dark"]) .phero .btn-ghost:hover {
  background: var(--bg-tint);
  border-color: var(--violet);
  color: var(--violet);
}

/* ============================================================
   AJUSTES — menu numa linha, lugar do selector de tema,
   e tamanho dos ícones dentro dos blocos .feat
   ============================================================ */

/* --- Ícones: .ico só tinha tamanho dentro de .card / .contact-item --- */
.feat > .ico,
.sec-head .ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--bg-tint);
  color: var(--violet);
  margin-bottom: 18px;
}
.feat > .ico svg,
.sec-head .ico svg {
  width: 24px;
  height: 24px;
}

/* --- Menu principal numa única linha --- */
@media (min-width: 1081px) {
  .nav-inner {
    gap: 10px;
  }
  .brand {
    flex: none;
    font-size: clamp(1.05rem, 0.7vw + 0.55rem, 1.4rem);
  }
  .brand .sym {
    width: clamp(30px, 2.2vw, 38px);
    height: clamp(30px, 2.2vw, 38px);
  }
  .brand small {
    font-size: 0.46rem;
    letter-spacing: 0.18em;
  }
  .nav-links {
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 1px;
    margin-right: 4px;
  }
  .nav-links a {
    white-space: nowrap;
    font-size: clamp(0.64rem, 0.55vw + 0.26rem, 0.84rem);
    padding: 0.5em 0.5em;
    letter-spacing: -0.005em;
  }

  /* selector de tema: slot próprio à direita, separado por um filete */
  .theme-toggle {
    flex: none;
    margin-left: 12px;
    padding-left: 14px;
    position: relative;
  }
  .theme-toggle::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background: currentColor;
    opacity: 0.22;
  }
}
@media (min-width: 1081px) and (max-width: 1400px) {
  .nav-links a {
    padding: 0.5em 0.36em;
  }
  .brand small {
    display: none;
  }
}
