/* ===========================================================
   AgentPRO — Clean / Light theme (clinic-focused)
   Brand palette:  #1c3d36  ·  #03ff94  ·  #59d4d1
   =========================================================== */

:root {
  /* surfaces */
  --bg: #ffffff;
  --bg-soft: #f6faf8;
  --bg-mute: #eef4f1;

  /* ink */
  --ink: #1c3d36;
  --ink-soft: #4a615b;
  --ink-mute: #8aa099;

  /* brand */
  --green: #03ff94;
  --green-deep: #1c3d36;
  --aqua: #59d4d1;
  --gradient-brand: linear-gradient(135deg, #03ff94 0%, #59d4d1 100%);

  /* lines & shadows */
  --line: rgba(28, 61, 54, 0.08);
  --line-strong: rgba(28, 61, 54, 0.14);
  --shadow-xs: 0 1px 2px rgba(28, 61, 54, 0.04);
  --shadow-sm: 0 4px 12px rgba(28, 61, 54, 0.05), 0 1px 2px rgba(28, 61, 54, 0.04);
  --shadow-md: 0 12px 32px rgba(28, 61, 54, 0.08), 0 2px 6px rgba(28, 61, 54, 0.04);
  --shadow-lg: 0 32px 64px rgba(28, 61, 54, 0.12), 0 4px 8px rgba(28, 61, 54, 0.06);
  --shadow-green: 0 12px 28px rgba(3, 255, 148, 0.22);

  /* radii & spacing */
  --r-sm: 0.6rem;
  --r-md: 1rem;
  --r-lg: 1.5rem;
  --r-xl: 2rem;
  --pad-x: clamp(1.25rem, 4vw, 4rem);
  --section-pad: clamp(4.5rem, 10vh, 8rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { min-height: 100%; }

body {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
}

.font-serif { font-family: "Source Serif 4", "Times New Roman", serif; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
button, input, textarea { font: inherit; }

/* ============================================================
   Ambient background blobs (very subtle)
   ============================================================ */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}
.blob-1 {
  top: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--aqua) 0%, transparent 70%);
}
.blob-2 {
  bottom: -200px;
  left: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--green) 0%, transparent 70%);
  opacity: 0.25;
}

main, .nav { position: relative; z-index: 2; }

/* ============================================================
   Logo
   ============================================================ */
.logo-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(3, 255, 148, 0.20));
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}
.logo-word {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-style: italic;
  position: relative;
}
.logo-word em {
  font-style: italic;
  color: var(--ink);
  font-weight: 600;
}
.logo-word sup {
  font-size: 0.4em;
  font-weight: 400;
  color: var(--ink-mute);
  vertical-align: super;
  margin-left: 1px;
}

/* ============================================================
   Floating Nav
   ============================================================ */
.nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.55rem 0.55rem 0.55rem 1.1rem;
  border-radius: 999px;
  width: min(1040px, calc(100% - 2rem));
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(150%) blur(20px);
  -webkit-backdrop-filter: saturate(150%) blur(20px);
  box-shadow: var(--shadow-sm), 0 0 0 1px var(--line);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.nav.scrolled {
  box-shadow: var(--shadow-md), 0 0 0 1px var(--line);
  background: rgba(255, 255, 255, 0.95);
}

.nav-links {
  display: none;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.nav-links a {
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.25s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 14px; }
@media (min-width: 880px) {
  .nav-links { display: inline-flex; }
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--green-deep);
  background: var(--green);
  box-shadow: var(--shadow-green);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 16px 36px rgba(3,255,148,0.30); }
.nav-cta svg { width: 14px; height: 14px; }

/* shared dot */
.dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(3, 255, 148, 0.18);
  display: inline-block;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(3, 255, 148, 0.18); }
  50% { box-shadow: 0 0 0 7px rgba(3, 255, 148, 0); }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.7rem 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--green-deep);
  color: #fff;
  box-shadow: 0 12px 28px rgba(28, 61, 54, 0.22);
}
.btn-primary:hover { box-shadow: 0 16px 36px rgba(28, 61, 54, 0.30); }
.btn-primary .btn-arrow {
  background: var(--green);
  color: var(--green-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: var(--bg-soft); }
.btn-ghost svg { width: 14px; height: 14px; color: var(--green-deep); }

.btn-white {
  background: #fff;
  color: var(--green-deep);
  box-shadow: var(--shadow-md);
}
.btn-outline-light {
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  padding: 0.7rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.08); }
.btn-outline-light svg { width: 14px; height: 14px; }

.btn-arrow {
  width: 30px; height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  display: grid; place-items: center;
}
.btn-arrow.green {
  background: var(--green);
  color: var(--green-deep);
}
.btn-arrow svg { width: 15px; height: 15px; }

.inline { align-self: flex-start; margin-top: 0.5rem; }

/* ============================================================
   Eyebrow, badges, common
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.95rem 0.45rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--ink);
  background: var(--bg-soft);
  box-shadow: 0 0 0 1px var(--line);
  width: max-content;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 1rem 0.4rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--bg-soft);
  box-shadow: 0 0 0 1px var(--line);
}
.eyebrow-mark {
  width: 18px;
  height: 18px;
}
.eyebrow-dark {
  background: var(--green-deep);
  color: rgba(255,255,255,0.85);
  box-shadow: none;
}
.eyebrow-on-dark {
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.9);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 8rem var(--pad-x) 4rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-image: url("hero-bg.png");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  isolation: isolate;
}
/* Light, even overlay — keeps the photo visible across the whole hero
   while preserving enough contrast for the dark text. A subtle blur
   softens the photo so it reads as background, not foreground. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(1.5px) saturate(0.95);
  -webkit-backdrop-filter: blur(1.5px) saturate(0.95);
  pointer-events: none;
}
/* Soft glow behind the text block to guarantee readability without
   hiding the photo on the left. */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(
    ellipse 70% 60% at 30% 50%,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 80%
  );
  pointer-events: none;
}
@media (max-width: 1023px) {
  .hero::before { background: rgba(255, 255, 255, 0.78); }
  .hero::after { display: none; }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}
@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Hero brand — translucent 3D logo image.
   mix-blend-mode: multiply removes the white background automatically
   when placed over a white surface. */
.hero-brand {
  width: clamp(240px, 32vw, 360px);
  height: auto;
  display: block;
  margin-left: -1.5rem;
  margin-top: -1.25rem;
  margin-bottom: -1rem;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 14px 30px rgba(3, 255, 148, 0.18));
  user-select: none;
  -webkit-user-drag: none;
  animation: brand-float 6s ease-in-out infinite;
}
@keyframes brand-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-title {
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.04;
  color: var(--ink);
}
.hero-title em {
  font-family: "Source Serif 4", serif;
  font-style: italic;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
}

.hero-lead {
  color: var(--ink-soft);
  font-size: 1.075rem;
  line-height: 1.6;
  max-width: 540px;
}
.hero-lead strong {
  color: var(--ink);
  font-weight: 500;
}

.cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}
.cta-row.center { justify-content: center; }

.hero-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: var(--ink-soft);
  margin-top: 0.5rem;
}
.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-meta svg {
  width: 14px;
  height: 14px;
  color: var(--green);
  background: rgba(3,255,148,0.14);
  border-radius: 999px;
  padding: 2px;
}

/* HERO visual — phone mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 540px;
}
.phone {
  width: 100%;
  max-width: 360px;
  background: #fff;
  border-radius: 28px;
  padding: 1rem 1rem 1.2rem;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--line);
  position: relative;
  z-index: 1;
}
.phone-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.4rem 0.85rem;
  border-bottom: 1px solid var(--line);
}
.phone-logo {
  width: 36px; height: 36px;
  flex-shrink: 0;
}
.phone-name {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
}
.phone-status {
  font-size: 0.72rem;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.phone-status .dot {
  width: 6px; height: 6px;
  box-shadow: 0 0 0 3px rgba(3,255,148,0.18);
}
.phone-body {
  padding: 1rem 0.4rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.bubble {
  max-width: 78%;
  padding: 0.6rem 0.85rem;
  border-radius: 14px;
  font-size: 0.84rem;
  line-height: 1.4;
  animation: bubble-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.bubble.incoming {
  background: var(--bg-mute);
  color: var(--ink);
  border-top-left-radius: 4px;
  align-self: flex-start;
}
.bubble.outgoing {
  background: var(--gradient-brand);
  color: var(--green-deep);
  border-top-right-radius: 4px;
  align-self: flex-end;
  font-weight: 500;
}
.bubble:nth-child(1) { animation-delay: 0.1s; }
.bubble:nth-child(2) { animation-delay: 0.4s; }
.bubble:nth-child(4) { animation-delay: 1.4s; }
.bubble:nth-child(5) { animation-delay: 1.8s; }
@keyframes bubble-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.slot-list {
  display: flex;
  gap: 0.4rem;
  margin: 0.2rem 0 0.4rem;
  align-self: flex-end;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 90%;
}
.slot {
  padding: 0.4rem 0.7rem;
  border-radius: 10px;
  font-size: 0.75rem;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--line);
  font-weight: 500;
}
.slot.active {
  background: var(--green-deep);
  color: var(--green);
  box-shadow: 0 0 0 1px var(--green-deep);
}

.typing {
  align-self: flex-start;
  background: var(--bg-mute);
  border-radius: 14px;
  border-top-left-radius: 4px;
  padding: 0.6rem 0.85rem;
  display: inline-flex;
  gap: 4px;
}
.typing span {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--ink-mute);
  animation: typing 1.4s ease-in-out infinite;
}
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* floating cards on hero */
.float-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 0.8rem 1rem;
  box-shadow: var(--shadow-md), 0 0 0 1px var(--line);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 2;
  animation: float 5s ease-in-out infinite;
}
.float-card svg {
  width: 18px;
  height: 18px;
  color: var(--green-deep);
  background: rgba(3,255,148,0.18);
  padding: 8px;
  border-radius: 10px;
  box-sizing: content-box;
}
.float-card strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.float-card span {
  display: block;
  font-size: 0.72rem;
  color: var(--ink-mute);
}
.float-card-1 { top: 8%; left: -2%; animation-delay: 0s; }
.float-card-2 { bottom: 12%; right: -2%; animation-delay: 1.2s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.scroll-cue {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
  animation: bob 2.4s ease-in-out infinite;
}
.scroll-cue svg { width: 14px; height: 14px; }
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.6; }
  50% { transform: translate(-50%, 6px); opacity: 1; }
}

/* ============================================================
   Section base
   ============================================================ */
.section {
  padding: var(--section-pad) var(--pad-x);
  position: relative;
}
.section-head {
  max-width: 760px;
  margin: 0 auto 3.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
}
.section-title {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--ink);
}
.section-title em {
  font-family: "Source Serif 4", serif;
  font-style: italic;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
}
.section-sub {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 580px;
}

/* ============================================================
   CLIENTS
   ============================================================ */
.section-clients {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.marquee {
  position: relative;
  overflow: hidden;
  margin: 0 calc(-1 * var(--pad-x));
  padding: 0 var(--pad-x);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.marquee-track {
  display: inline-flex;
  gap: 0.85rem;
  animation: marquee 50s linear infinite;
  width: max-content;
  padding: 0.5rem 0;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.logo-card {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.25rem 0.85rem 1rem;
  border-radius: var(--r-md);
  background: #fff;
  color: var(--ink);
  flex-shrink: 0;
  box-shadow: var(--shadow-xs), 0 0 0 1px var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 70px;
  min-width: 220px;
}
.logo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm), 0 0 0 1px var(--line-strong);
}
.logo-card img {
  width: auto;
  max-width: 90px;
  max-height: 38px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  filter: saturate(1.05);
}
.logo-card img.is-favicon {
  width: 36px;
  height: 36px;
  max-width: 36px;
  max-height: 36px;
  border-radius: 8px;
  background: var(--bg-mute);
  padding: 4px;
}
.logo-card div { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.logo-card strong {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.logo-card span {
  font-size: 0.7rem;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* impact statement — full-width clinic background */
.impact {
  /* break out of section padding to cover full viewport width */
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-top: 4.5rem;
  margin-bottom: calc(-1 * var(--section-pad) + 1rem); /* push down to section edge */
  max-width: none;
  padding: clamp(4rem, 9vw, 7rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-image: url("impact-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: none;
}
/* Soft overlay over the photo so the dark text remains readable
   while the clinic scene + dashboard hologram stay visible. */
.impact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      ellipse 70% 90% at 50% 50%,
      rgba(255, 255, 255, 0.78) 0%,
      rgba(255, 255, 255, 0.55) 50%,
      rgba(255, 255, 255, 0.30) 100%
    );
  backdrop-filter: blur(1px) saturate(0.95);
  -webkit-backdrop-filter: blur(1px) saturate(0.95);
  pointer-events: none;
}
@media (max-width: 768px) {
  .impact::before {
    background: rgba(255, 255, 255, 0.85);
  }
}
.impact-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 1rem 0.4rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}
.impact-number {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.05em;
  line-height: 0.9;
  margin: 0.5rem 0 0.25rem;
  position: relative;
}
.impact-number::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.18em;
  transform: translateX(-50%);
  width: 60%;
  height: 0.22em;
  background: var(--green);
  opacity: 0.16;
  border-radius: 8px;
  z-index: -1;
  filter: blur(2px);
}
.impact-prefix {
  font-family: "Source Serif 4", serif;
  font-style: italic;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 500;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-right: 0.05em;
  margin-top: 0.15em;
}
.impact-value {
  font-size: clamp(4.5rem, 13vw, 11rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  color: var(--green-deep);
  font-feature-settings: "tnum";
  background: linear-gradient(180deg, var(--green-deep) 0%, var(--green-deep) 60%, rgba(28,61,54,0.85) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.impact-caption {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 620px;
  margin-top: 0.25rem;
}
.impact-caption strong {
  color: var(--green-deep);
  font-weight: 600;
}

/* ============================================================
   CLINICAS section
   ============================================================ */
.clinicas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .clinicas-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 4rem;
  }
}
.clinicas-copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}
.clinicas-copy .section-title {
  text-align: left;
}
.clinicas-lead {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
}
.clinicas-lead strong {
  color: var(--ink);
  font-weight: 500;
}
.clinicas-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}
.clinicas-list li {
  display: flex;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xs), 0 0 0 1px var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.clinicas-list li:hover {
  transform: translateX(3px);
  box-shadow: var(--shadow-sm), 0 0 0 1px var(--line-strong);
}
.clinicas-list svg {
  width: 22px;
  height: 22px;
  color: var(--green-deep);
  background: rgba(3,255,148,0.16);
  padding: 8px;
  border-radius: 10px;
  box-sizing: content-box;
  flex-shrink: 0;
}
.clinicas-list strong {
  display: block;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
}
.clinicas-list span {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-mute);
}

/* dashboard mockup */
.clinicas-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.dashboard {
  width: 100%;
  max-width: 540px;
  background: #fff;
  border-radius: var(--r-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--line);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  position: relative;
}
.dashboard::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, transparent 0%, rgba(3,255,148,0.18) 50%, transparent 100%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
  pointer-events: none;
}
.dashboard-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.dashboard-logo {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.dashboard-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}
.dashboard-sub {
  font-size: 0.72rem;
  color: var(--ink-mute);
}
.dashboard-tag {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--green-deep);
  background: rgba(3,255,148,0.15);
}

.dashboard-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}
.d-card {
  background: var(--bg-soft);
  padding: 0.85rem;
  border-radius: var(--r-sm);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.d-label {
  font-size: 0.68rem;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.d-value {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.d-trend {
  font-size: 0.72rem;
  font-weight: 500;
}
.d-trend.up { color: var(--green-deep); }
.d-trend.down { color: var(--ink-soft); }

.dashboard-chart {
  background: var(--bg-soft);
  padding: 1rem;
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.chart-label {
  font-size: 0.72rem;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 80px;
}
.bars span {
  flex: 1;
  background: var(--line-strong);
  border-radius: 3px;
  transition: background 0.2s ease;
}
.bars span.hl {
  background: var(--gradient-brand);
}

.dashboard-feed {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.feed-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.8rem;
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  font-size: 0.78rem;
}
.feed-dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(3,255,148,0.16);
  flex-shrink: 0;
}
.feed-text { color: var(--ink-soft); flex: 1; }
.feed-text strong { color: var(--ink); font-weight: 500; }
.feed-time {
  font-size: 0.7rem;
  color: var(--ink-mute);
}

/* ============================================================
   PILARES
   ============================================================ */
.section-pillars { background: var(--bg-soft); }

/* 2-col head: text left, 3D layer illustration right */
.pillars-head {
  max-width: 1200px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.pillars-head-text {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 900px) {
  .pillars-head {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
  .pillars-head-text {
    align-items: flex-start;
    text-align: left;
  }
}

/* ----------------------------------------------------------------
   LEGO-style 3D tower — 4 bricks cycle continuously
   Bottom brick exits, all shift down, new brick enters at top.
   Standard CSS3 cube technique: perspective + 6 faces + transforms
   ---------------------------------------------------------------- */
.lego-tower {
  /* Rectangular blocks (wider than tall) — fits long labels like
     "Automação" and "Integração" better than cubes. */
  --b-size: 120px;                                   /* width / depth */
  --b-height: 60px;                                  /* height (≈ LEGO ratio) */
  --stud-h: 0px;
  --slot-h: 88px;                                    /* b-height + 28px gap */
  --enter-y: -180px;
  --exit-y: 180px;
  /* Green palette */
  --face-fg: #1afca0;
  --face-fg-mid: #03ff94;
  --face-fg-end: #07d680;
  --face-side: #0fbf6b;
  --face-side-end: #088550;
  --face-top-a: #6cf2bb;
  --face-top-b: #03ff94;
  --stud: #07d680;
  --stud-shine: #d4ffe9;

  position: relative;
  width: 360px;
  height: 480px;
  margin: 0 auto;
  perspective: 1600px;
  perspective-origin: 50% 50%;
}

/* Soft glow behind the tower */
.lego-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(3, 255, 148, 0.22), transparent 60%),
    radial-gradient(circle at 35% 65%, rgba(89, 212, 209, 0.18), transparent 60%);
  filter: blur(40px);
  z-index: -1;
  animation: lego-glow-pulse 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes lego-glow-pulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.tower-scene {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

/* Each brick: positioned at horizontal center, vertical position controlled
   by transform: translateY in the shared cycle keyframe. */
.brick {
  position: absolute;
  top: 60px;
  left: 50%;
  margin-left: calc(var(--b-size) / -2);
  width: var(--b-size);
  height: var(--b-height);
  transform-style: preserve-3d;
  filter: drop-shadow(4px 8px 8px rgba(8, 80, 50, 0.18));
  /* All bricks share the same animation; staggered with negative delays. */
  animation: tower-cycle 12s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  will-change: transform, opacity;
}
.brick-body {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  /* Shallower angles for cube tower: rx=-12° gives 3D feel while keeping
     screen-space slot_h (96px) above the projected brick height (97px). */
  transform: rotateX(-12deg) rotateY(30deg);
}

/* Stagger so the 4 bricks always occupy slots 0, 1, 2, 3 at any frame.
   Period = 12s, each brick offset by 1/4 = 3s. */
.brick-1 { animation-delay:  0s; z-index: 4; }
.brick-2 { animation-delay: -3s; z-index: 3; }
.brick-3 { animation-delay: -6s; z-index: 2; }
.brick-4 { animation-delay: -9s; z-index: 1; }

/* Synchronized cycle: ALL 4 bricks share the same keyframe with 25% staggered
   delays. Every transition window (5%) coincides with the wrap point, so when
   one brick exits the bottom another enters the top simultaneously — no slot
   is ever empty and no two bricks ever overlap vertically. */
@keyframes tower-cycle {
  /* 0-5%: enter slot 0 from above */
  0%   { transform: translateY(var(--enter-y)); opacity: 0; }
  3%   { opacity: 1; }
  5%   { transform: translateY(0); opacity: 1; }

  /* 5-25%: hold slot 0 */
  25%  { transform: translateY(0); opacity: 1; }

  /* 25-30%: drop to slot 1 */
  30%  { transform: translateY(var(--slot-h)); opacity: 1; }

  /* 30-50%: hold slot 1 */
  50%  { transform: translateY(var(--slot-h)); opacity: 1; }

  /* 50-55%: drop to slot 2 */
  55%  { transform: translateY(calc(2 * var(--slot-h))); opacity: 1; }

  /* 55-75%: hold slot 2 */
  75%  { transform: translateY(calc(2 * var(--slot-h))); opacity: 1; }

  /* 75-80%: drop to slot 3 */
  80%  { transform: translateY(calc(3 * var(--slot-h))); opacity: 1; }

  /* 80-95%: hold slot 3 */
  95%  { transform: translateY(calc(3 * var(--slot-h))); opacity: 1; }

  /* 95-99%: exit downward + fade */
  97%  { opacity: 1; }
  99%  { transform: translateY(calc(3 * var(--slot-h) + var(--exit-y))); opacity: 0; }

  /* 99-100%: invisibly teleport above for next cycle */
  100% { transform: translateY(var(--enter-y)); opacity: 0; }
}

/* ----- 6 faces of each brick ----- */
.bf {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
  border-radius: 6px;
}
.bf.front {
  width: var(--b-size);
  height: var(--b-height);
  background: linear-gradient(170deg, var(--face-fg) 0%, var(--face-fg-mid) 55%, var(--face-fg-end) 100%);
  transform: translateZ(calc(var(--b-size) / 2));
  box-shadow:
    inset 0 -4px 6px rgba(8, 80, 50, 0.20),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);
}
.bf.front span {
  font: 700 11px/1 "Poppins", sans-serif;
  letter-spacing: 0.18em;
  color: #0d3a2c;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.30);
}
.bf.back {
  width: var(--b-size);
  height: var(--b-height);
  background: linear-gradient(170deg, var(--face-fg-mid), var(--face-side-end));
  transform: rotateY(180deg) translateZ(calc(var(--b-size) / 2));
}
.bf.right {
  width: var(--b-size);
  height: var(--b-height);
  background: linear-gradient(170deg, var(--face-side) 0%, var(--face-side-end) 100%);
  transform: rotateY(90deg) translateZ(calc(var(--b-size) / 2));
}
.bf.left {
  width: var(--b-size);
  height: var(--b-height);
  background: linear-gradient(170deg, var(--face-side) 0%, var(--face-side-end) 100%);
  transform: rotateY(-90deg) translateZ(calc(var(--b-size) / 2));
}
.bf.bottom {
  width: var(--b-size);
  height: var(--b-size);
  background: var(--face-side-end);
  transform: rotateX(-90deg) translateZ(calc(var(--b-height) / 2));
  top: calc((var(--b-height) - var(--b-size)) / 2);
}
.bf.top {
  width: var(--b-size);
  height: var(--b-size);
  background: linear-gradient(135deg, var(--face-top-a) 0%, var(--face-top-b) 60%, #59d4d1 100%);
  transform: rotateX(90deg) translateZ(calc(var(--b-height) / 2));
  top: calc((var(--b-height) - var(--b-size)) / 2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  position: relative;
  transform-style: preserve-3d;     /* allow studs to extend in Z */
}

/* Studs removed — keep elements in DOM but hidden. */
.bf.top i { display: none; }

/* ----- Floating AgentPRO mark icon (decorative, top-right) ----- */
.ap-floating-icon {
  position: absolute;
  top: 8%;
  right: 8%;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #03ff94, #59d4d1);
  display: grid;
  place-items: center;
  box-shadow:
    inset 0 2px 2px rgba(255, 255, 255, 0.4),
    0 8px 18px rgba(3, 255, 148, 0.32);
  animation: ap-icon-bob 3.4s ease-in-out infinite;
  z-index: 5;
}
.ap-floating-icon svg {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.5));
}
@keyframes ap-icon-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Mobile shrink */
@media (max-width: 899px) {
  .lego-tower {
    --b-size: 96px;
    --b-height: 48px;
    --stud-h: 0px;
    --slot-h: 70px;
    --enter-y: -150px;
    --exit-y: 150px;
    width: 280px;
    height: 380px;
  }
  .ap-floating-icon { width: 40px; height: 40px; }
  .ap-floating-icon svg { width: 20px; height: 20px; }
  .bf.front span { font-size: 10px !important; }
}
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .pillars-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1200px) {
  .pillars-grid { grid-template-columns: repeat(4, 1fr); }
}
.pillar {
  padding: 1.75rem;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-xs), 0 0 0 1px var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  min-height: 320px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--line-strong);
}
.pillar.pillar-feature {
  background: var(--green-deep);
  color: rgba(255,255,255,0.85);
  box-shadow: 0 12px 32px rgba(28,61,54,0.18), 0 0 0 1px var(--green-deep);
}
.pillar.pillar-feature h3 { color: #fff; }
.pillar.pillar-feature p { color: rgba(255,255,255,0.85); }
.pillar.pillar-feature .pillar-num { color: rgba(255,255,255,0.45); }
.pillar.pillar-feature .pillar-icon {
  background: rgba(3,255,148,0.18);
  color: var(--green);
}
.pillar.pillar-feature ul li { color: rgba(255,255,255,0.92); }
.pillar.pillar-feature ul svg {
  color: var(--green-deep);
  background: var(--green);
}

.pillar-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(3,255,148,0.16);
  color: var(--green-deep);
}
.pillar-icon svg { width: 22px; height: 22px; }
.pillar-num {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: "Source Serif 4", serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-mute);
}
.pillar h3 {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.pillar p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.pillar ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
}
.pillar ul li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--ink);
}
.pillar ul svg {
  width: 14px; height: 14px;
  color: var(--green-deep);
  background: rgba(3,255,148,0.18);
  border-radius: 999px;
  padding: 2px;
  flex-shrink: 0;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 640px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.process-step {
  padding: 1.75rem;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-xs), 0 0 0 1px var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  min-height: 220px;
}
.process-step .step-num {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: "Source Serif 4", serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-mute);
}
.process-step > svg {
  width: 22px;
  height: 22px;
  color: var(--green-deep);
  background: rgba(3,255,148,0.16);
  padding: 10px;
  border-radius: 12px;
  box-sizing: content-box;
}
.process-step h4 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
}
.process-step p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ============================================================
   SETORES (compact cards)
   ============================================================ */
.section-sectors { background: var(--bg-soft); }
.sectors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 640px) { .sectors-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .sectors-grid { grid-template-columns: repeat(4, 1fr); } }
.sector {
  padding: 1.5rem;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-xs), 0 0 0 1px var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  min-height: 200px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.sector:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--line-strong);
}
.sector:hover .sector-arrow { background: var(--green); color: var(--green-deep); transform: rotate(0deg); }
.sector-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--bg-mute);
  color: var(--green-deep);
}
.sector-icon svg { width: 22px; height: 22px; }
.sector h3 {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.sector p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.5;
  flex: 1;
}
.sector-arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 32px; height: 32px;
  border-radius: 999px;
  background: var(--bg-mute);
  color: var(--ink-soft);
  display: grid; place-items: center;
  transition: all 0.3s ease;
  transform: rotate(-15deg);
}
.sector-arrow svg { width: 14px; height: 14px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}
.testimonial {
  padding: 1.75rem;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-xs), 0 0 0 1px var(--line);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  min-height: 260px;
}
.quote-mark {
  width: 28px;
  height: 28px;
  opacity: 0.55;
}
.testimonial blockquote {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
  flex: 1;
}
.testimonial blockquote em {
  display: block;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}
.avatar {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: rgba(3,255,148,0.15);
  color: var(--green-deep);
  display: grid; place-items: center;
}
.avatar svg { width: 16px; height: 16px; }
.testimonial figcaption strong {
  font-weight: 500;
  color: var(--ink);
  display: block;
}
.testimonial figcaption span {
  color: var(--ink-mute);
  font-size: 0.74rem;
}

/* ============================================================
   CTA / Agendar reunião — split panel · liquid glass · video bg
   ============================================================ */
.section-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #0a0d0c;
  padding: 0;
  min-height: 100vh;
  color: #fff;
}

.cta-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: saturate(0.85) contrast(1.05) brightness(0.95);
}
.cta-video-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(255,255,255,0.04) 0%, rgba(0,0,0,0.18) 70%),
    linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0.25) 100%);
  pointer-events: none;
}

/* ===== Reusable liquid glass utilities (scoped to CTA section) ===== */
.section-cta .liquid-glass {
  position: relative;
  background: rgba(255, 255, 255, 0.012);
  background-blend-mode: luminosity;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.10);
  overflow: hidden;
  isolation: isolate;
}
.section-cta .liquid-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.15) 20%,
    transparent 40%,
    transparent 60%,
    rgba(255, 255, 255, 0.15) 80%,
    rgba(255, 255, 255, 0.45) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.section-cta .liquid-glass-strong {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  background-blend-mode: luminosity;
  -webkit-backdrop-filter: blur(50px) saturate(1.05);
  backdrop-filter: blur(50px) saturate(1.05);
  box-shadow:
    4px 4px 4px rgba(0, 0, 0, 0.05),
    inset 0 1px 1px rgba(255, 255, 255, 0.15);
  overflow: hidden;
  isolation: isolate;
}
.section-cta .liquid-glass-strong::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.50) 0%,
    rgba(255, 255, 255, 0.20) 20%,
    transparent 40%,
    transparent 60%,
    rgba(255, 255, 255, 0.20) 80%,
    rgba(255, 255, 255, 0.50) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* ===== Split layout ===== */
.cta-split {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}
@media (min-width: 1024px) {
  .cta-split { flex-direction: row; }
}

/* ============ LEFT PANEL ============ */
.cta-left {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 1rem;
}
@media (min-width: 1024px) {
  .cta-left { width: 52%; padding: 1.5rem; }
}
.cta-left-overlay {
  position: absolute;
  inset: 1rem;
  border-radius: 1.5rem;
  z-index: 0;
}
@media (min-width: 1024px) {
  .cta-left-overlay { inset: 1.5rem; }
}
.cta-left-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: calc(100vh - 2rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

/* Top nav of left panel */
.cta-topnav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.cta-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.cta-brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}
.cta-brand-mark svg {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 4px 12px rgba(3, 255, 148, 0.30));
}
.cta-brand-name {
  font-size: 1.4rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.04em;
  color: #fff;
}
.cta-brand-name em { font-style: italic; color: rgba(255, 255, 255, 0.85); }

.cta-menu-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.82rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.cta-menu-pill:hover { transform: scale(1.05); }
.cta-menu-pill svg { width: 14px; height: 14px; }

/* Hero — headline + CTA button as the visual anchor (left-aligned so
   "operação" lands on the dark left side of the video, not the bright globe). */
.cta-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  gap: 1.75rem;
  padding: 2rem 0;
  max-width: 640px;
}
.cta-hero-mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
}
.cta-hero-mark svg {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 12px 30px rgba(3, 255, 148, 0.30));
  animation: cta-mark-bob 4.5s ease-in-out infinite;
}
@keyframes cta-mark-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.cta-hero-title {
  font-size: clamp(2.75rem, 6.2vw, 5.25rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.0;
  color: #fff;
  margin: 0.25rem 0 0.5rem;
}
.cta-hero-title em {
  font-family: "Source Serif 4", serif;
  font-style: italic;
  background: linear-gradient(135deg, #03ff94 0%, #59d4d1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
}

/* Big, glowing WhatsApp button — the visual anchor of the section */
.cta-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 0.75rem 0.75rem 1.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #03ff94 0%, #07d680 100%);
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 2px rgba(8, 80, 50, 0.4);
  box-shadow:
    0 0 0 0 rgba(3, 255, 148, 0.6),
    0 18px 40px rgba(3, 255, 148, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: cta-btn-pulse 2.4s ease-in-out infinite;
  position: relative;
  isolation: isolate;
}
.cta-hero-btn:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow:
    0 0 0 6px rgba(3, 255, 148, 0.18),
    0 28px 56px rgba(3, 255, 148, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.cta-hero-btn:active { transform: scale(0.97); }
@keyframes cta-btn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(3, 255, 148, 0.5),
                         0 18px 40px rgba(3, 255, 148, 0.40),
                         inset 0 1px 0 rgba(255, 255, 255, 0.45); }
  50%      { box-shadow: 0 0 0 10px rgba(3, 255, 148, 0),
                         0 22px 50px rgba(3, 255, 148, 0.55),
                         inset 0 1px 0 rgba(255, 255, 255, 0.55); }
}
/* Override the .liquid-glass-strong gradient border on this button so the
   button stays SOLID green and not glass-y. */
.cta-hero-btn::before { display: none; }

.cta-hero-btn-circle {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: #0d3a2c;
  display: grid; place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
}
.cta-hero-btn-circle svg {
  width: 22px; height: 22px;
  color: #03ff94;
}

.cta-hero-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
  justify-content: flex-start;
}
.cta-pill {
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.82);
  cursor: default;
  transition: transform 0.2s ease;
}
.cta-pill:hover { transform: scale(1.05); color: #fff; }

/* Manifesto bottom */
.cta-manifesto {
  margin-top: auto;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-width: 540px;
}
.cta-manifesto-label {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.50);
}
.cta-manifesto-text {
  font-size: 1.1rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
}
.cta-manifesto-text em {
  font-family: "Source Serif 4", serif;
  font-style: italic;
  color: #fff;
}
.cta-manifesto-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.cta-manifesto-line {
  flex: 1;
  max-width: 70px;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

/* ============ RIGHT PANEL ============ */
.cta-right {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0 1rem 1.5rem;
  gap: 1.25rem;
}
@media (min-width: 1024px) {
  .cta-right {
    width: 48%;
    padding: 1.5rem 1.5rem 1.5rem 0;
    min-height: 100vh;
  }
}

/* Big AgentPRO 3D logo on top of right panel.
   mix-blend-mode: screen blends the white background into the dark video. */
.cta-right-brand {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  min-height: 0;
}
.cta-right-brand img {
  width: 100%;
  max-width: 480px;
  height: auto;
  animation: cta-mark-bob 5s ease-in-out infinite;
  user-select: none;
  -webkit-user-drag: none;
}

/* Top row: social pill + sparkles button */
.cta-top-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}
.cta-social {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0.85rem 0.5rem 1.1rem;
  border-radius: 999px;
  transition: transform 0.2s ease;
}
.cta-social:hover { transform: scale(1.04); }
.cta-social a {
  color: #fff;
  display: inline-flex;
  transition: color 0.2s ease;
}
.cta-social a:hover { color: rgba(255, 255, 255, 0.78); }
.cta-social svg { width: 16px; height: 16px; }
.cta-social-arrow {
  width: 28px; height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  display: grid; place-items: center;
}
.cta-social-arrow svg { width: 14px; height: 14px; color: #fff; }
.cta-account {
  width: 40px; height: 40px;
  border-radius: 999px;
  display: grid; place-items: center;
  cursor: pointer;
  color: #fff;
  transition: transform 0.2s ease;
}
.cta-account:hover { transform: scale(1.05); }
.cta-account svg { width: 16px; height: 16px; }

/* Community card (top right) — smaller, more subdued */
.cta-community {
  width: 200px;
  align-self: flex-end;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  color: #fff;
}
.cta-community h4 {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}
.cta-community p {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}

/* Feature container (right side) — compact */
.cta-features {
  padding: 0.75rem;
  border-radius: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.cta-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.cta-feature {
  padding: 0.85rem 1rem;
  border-radius: 1.2rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 90px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta-feature:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.15),
    0 12px 24px rgba(3, 255, 148, 0.18);
}
.cta-feature-icon {
  width: 28px; height: 28px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  display: grid; place-items: center;
}
.cta-feature-icon svg { width: 14px; height: 14px; color: #fff; }
.cta-feature-body strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: #fff;
}
.cta-feature-body span {
  display: block;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.35;
}

.cta-feature-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem;
  border-radius: 1.2rem;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta-feature-row:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.15),
    0 12px 24px rgba(3, 255, 148, 0.18);
}
.cta-feature-thumb {
  width: 140px;
  height: 56px;
  border-radius: 0.7rem;
  flex-shrink: 0;
  background: #1c3d36;
  display: grid; place-items: center;
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12);
  padding: 4px 8px;
}
.cta-feature-thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.cta-feature-row-body { flex: 1; min-width: 0; }
.cta-feature-row-body strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.15rem;
  color: #fff;
}
.cta-feature-row-body span {
  display: block;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.35;
}
.cta-plus-btn {
  width: 30px; height: 30px;
  border-radius: 999px;
  display: grid; place-items: center;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.cta-plus-btn:hover { transform: scale(1.08) rotate(90deg); }
.cta-plus-btn svg { width: 14px; height: 14px; }

.cta-fineprint-row {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.4rem 0;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.55);
}
.cta-bg-mark {
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 360px;
  height: 360px;
  opacity: 0.06;
  z-index: 0;
  pointer-events: none;
}
.cta-bg-mark svg { width: 100%; height: 100%; }

.cta-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .cta-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
}

.cta-copy {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: flex-start;
}
.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #fff;
}
.cta-title em {
  font-family: "Source Serif 4", serif;
  font-style: italic;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
}
.cta-sub {
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 520px;
}
.cta-perks {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0.25rem 0 0.5rem;
}
.cta-perks li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.92);
}
.cta-perks svg {
  width: 14px;
  height: 14px;
  color: var(--green-deep);
  background: var(--green);
  border-radius: 999px;
  padding: 3px;
  flex-shrink: 0;
}

/* WhatsApp button */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.4rem 0.85rem 0.85rem;
  border-radius: 999px;
  background: var(--green);
  color: var(--green-deep);
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(3,255,148,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
  align-self: flex-start;
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(3,255,148,0.4);
}
.btn-whatsapp .btn-arrow {
  width: 42px;
  height: 42px;
  background: #fff;
  color: var(--green-deep);
}
.btn-whatsapp .btn-arrow svg { width: 18px; height: 18px; }
.btn-whatsapp .btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.btn-whatsapp .btn-text strong {
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-deep);
}
.btn-whatsapp .btn-text span {
  font-size: 0.8rem;
  color: rgba(28,61,54,0.65);
  font-weight: 500;
}

.cta-fineprint {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.25rem;
}
.cta-fineprint .dot {
  box-shadow: 0 0 0 3px rgba(3,255,148,0.2);
}

/* Cta Card (right side) — light liquid glass tier */
.cta-card {
  position: relative;
  background: rgba(255, 255, 255, 0.012);
  background-blend-mode: luminosity;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.10);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: hidden;
  isolation: isolate;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.15) 20%,
    transparent 40%,
    transparent 60%,
    rgba(255, 255, 255, 0.15) 80%,
    rgba(255, 255, 255, 0.45) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}
.cta-card > * { position: relative; z-index: 2; }
.cta-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.cta-card-mark { width: 36px; height: 36px; flex-shrink: 0; }
.cta-card-head strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
}
.cta-card-head span {
  display: block;
  color: rgba(255,255,255,0.55);
  font-size: 0.74rem;
}

.cta-card-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.5rem;
  border-radius: var(--r-sm);
  transition: background 0.2s ease;
}
.cta-card-row:hover { background: rgba(255,255,255,0.04); }
.cta-card-row > svg {
  width: 18px;
  height: 18px;
  color: var(--green);
  background: rgba(3,255,148,0.14);
  padding: 8px;
  border-radius: 10px;
  box-sizing: content-box;
  flex-shrink: 0;
}
.cta-card-row strong {
  display: block;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
}
.cta-card-row span {
  display: block;
  color: rgba(255,255,255,0.55);
  font-size: 0.76rem;
}

.cta-card-foot {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.10);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.cta-num {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--green);
  font-feature-settings: "tnum";
  letter-spacing: -0.01em;
}
.cta-mail {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s ease;
}
.cta-mail:hover { color: #fff; }
.cta-mail svg { width: 14px; height: 14px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 4rem var(--pad-x) 2rem;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.footer-top {
  max-width: 1200px;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.logo-footer .logo-mark { width: 40px; height: 40px; }
.logo-footer .logo-word { font-size: 1.25rem; }
.footer-desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 440px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
}
.footer h5 {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer ul li { margin-bottom: 0.55rem; }
.footer ul li a {
  font-size: 0.88rem;
  color: var(--ink);
  transition: color 0.2s ease;
}
.footer ul li a:hover { color: var(--green-deep); }

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--ink-mute);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.footer-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-soft);
}

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* hide scrollbar */
::-webkit-scrollbar { width: 0; height: 0; }

/* ============================================================
   Language switcher (PT / EN / ES)
   ============================================================ */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: var(--bg-soft);
  box-shadow: inset 0 0 0 1px var(--line);
}
.lang-btn {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0.5;
  transition: opacity 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.lang-btn:hover { opacity: 0.85; }
.lang-btn.active {
  opacity: 1;
  background: #fff;
  box-shadow: var(--shadow-xs);
}
@media (max-width: 880px) {
  .lang-switcher {
    gap: 0.15rem;
    padding: 0.15rem;
  }
  .lang-btn {
    width: 24px;
    height: 24px;
    font-size: 0.85rem;
  }
}

/* ============================================================
   OticaHub — full-width photo background spotlight
   ============================================================ */
.section-oticahub {
  padding: 0;
  background: var(--bg);
}
.hub-shell {
  /* break out of section padding to cover the full viewport width */
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  max-width: none;
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1.5rem, 4vw, 4rem) clamp(2.5rem, 5vw, 4rem);
  border-radius: 0;
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: none;
  background-image: url("oticahub-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Dark overlay so white text stays readable while the optical
   reception + dashboard photo remains visible. */
.hub-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(
      90deg,
      rgba(28, 61, 54, 0.86) 0%,
      rgba(28, 61, 54, 0.72) 45%,
      rgba(28, 61, 54, 0.55) 100%
    );
  backdrop-filter: blur(0.5px) saturate(0.95);
  -webkit-backdrop-filter: blur(0.5px) saturate(0.95);
  pointer-events: none;
}
@media (max-width: 768px) {
  .hub-shell::before {
    background: rgba(28, 61, 54, 0.88);
  }
}
.hub-glow-1, .hub-glow-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}
.hub-glow-1 {
  top: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(3,255,148,0.25) 0%, transparent 70%);
}
.hub-glow-2 {
  bottom: -200px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(89,212,209,0.18) 0%, transparent 70%);
}
.hub-bg-mark { display: none; } /* photo takes the role of the watermark */

.hub-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 960px) {
  .hub-grid { grid-template-columns: 0.95fr 1.05fr; gap: 3.5rem; }
}

.hub-copy {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: flex-start;
}
.hub-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.95rem 0.45rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(3,255,148,0.10);
  box-shadow: inset 0 0 0 1px rgba(3,255,148,0.30);
  font-weight: 500;
}
.hub-tag svg {
  width: 14px;
  height: 14px;
  color: var(--green);
}
.hub-title {
  font-size: clamp(2.25rem, 4.4vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: #fff;
}
.hub-title em {
  font-family: "Source Serif 4", serif;
  font-style: italic;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
}
.hub-lead {
  color: rgba(255,255,255,0.72);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 480px;
}
.hub-lead strong {
  color: #fff;
  font-weight: 500;
}
.hub-cta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.btn-hub {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.7rem 0.7rem 1.4rem;
  border-radius: 999px;
  background: var(--green);
  color: var(--green-deep);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(3,255,148,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-hub:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(3,255,148,0.45);
}
.btn-hub .btn-arrow {
  background: var(--green-deep);
  color: var(--green);
  width: 32px; height: 32px;
}
.hub-fineprint {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  font-feature-settings: "tnum";
}
.hub-fineprint .dot {
  box-shadow: 0 0 0 3px rgba(3,255,148,0.20);
}

.hub-tools {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
@media (min-width: 1100px) {
  .hub-tools { grid-template-columns: repeat(3, 1fr); }
}
.hub-tool {
  padding: 1.4rem;
  border-radius: var(--r-md);
  background: rgba(15, 38, 33, 0.82);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08),
    0 8px 24px rgba(0,0,0,0.25);
  cursor: pointer;
  color: #fff;
  position: relative;
  isolation: isolate;
}
.hub-tool:hover {
  transform: translateY(-4px);
  background: rgba(28, 61, 54, 0.92);
  box-shadow:
    inset 0 0 0 1px rgba(3,255,148,0.40),
    0 16px 36px rgba(0,0,0,0.30),
    0 0 0 4px rgba(3,255,148,0.08);
}
.hub-tool-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(3,255,148,0.18);
  color: var(--green);
  box-shadow: inset 0 0 0 1px rgba(3,255,148,0.25);
}
.hub-tool-icon svg { width: 18px; height: 18px; }
.hub-tool strong {
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.01em;
}
.hub-tool span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
}

/* ============================================================
   CRM section — purple/magenta theme matching crm.agentproia.com
   ============================================================ */
.section-crm {
  /* CRM brand palette */
  --crm-purple: #8801b2;
  --crm-magenta: #c100e5;
  --crm-navy: #0f1a33;
  --crm-gradient: linear-gradient(135deg, #8801b2 0%, #c100e5 100%);
  --crm-soft: rgba(136, 1, 178, 0.08);

  padding: clamp(3rem, 6vw, 5rem) var(--pad-x) !important;
  margin-top: 0 !important;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: block;
  min-height: 0;
  background-image: url("crm-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Light overlay so the photo stays visible while the dark CRM text
   (logo, eyebrow, title, sub) keeps its contrast. */
.section-crm::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      ellipse 65% 80% at 50% 50%,
      rgba(255, 255, 255, 0.62) 0%,
      rgba(255, 255, 255, 0.40) 55%,
      rgba(255, 255, 255, 0.20) 100%
    );
  backdrop-filter: blur(0.5px) saturate(1.05);
  -webkit-backdrop-filter: blur(0.5px) saturate(1.05);
  pointer-events: none;
}
@media (max-width: 768px) {
  .section-crm::before {
    background: rgba(255, 255, 255, 0.78);
  }
}
.section-crm .section-head {
  margin-bottom: 1.5rem !important;
}
.section-crm .crm-brand-logo {
  margin-bottom: 0.5rem;
}

/* Soft purple glow in the background */
.crm-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193, 0, 229, 0.10) 0%, transparent 60%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}
.section-crm > * { position: relative; z-index: 1; }

/* CRM product logo (square purple mark) */
.crm-brand-logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin: 0 auto 0.75rem;
  box-shadow:
    0 16px 40px rgba(136, 1, 178, 0.30),
    0 0 0 1px rgba(136, 1, 178, 0.12);
  display: block;
  animation: crm-float 5s ease-in-out infinite;
}
@keyframes crm-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Eyebrow pill in purple */
.crm-eyebrow-pill {
  background: #fff;
  color: var(--crm-purple);
  box-shadow: 0 0 0 1px rgba(136, 1, 178, 0.18), 0 4px 12px rgba(136, 1, 178, 0.08);
  font-weight: 500;
}
.crm-dot {
  background: var(--crm-magenta);
  box-shadow: 0 0 0 4px rgba(193, 0, 229, 0.18);
}
@keyframes crm-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(193, 0, 229, 0.18); }
  50% { box-shadow: 0 0 0 7px rgba(193, 0, 229, 0); }
}
.crm-dot { animation: crm-pulse 1.6s ease-in-out infinite; }

/* Override section-title em with purple gradient */
.section-crm .section-title em {
  background: var(--crm-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.crm-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto 2.5rem;
}
@media (min-width: 640px) { .crm-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .crm-grid { grid-template-columns: repeat(4, 1fr); } }

.crm-feature {
  padding: 1.5rem;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-xs), 0 0 0 1px var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-align: left;
  min-height: 200px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.crm-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--line-strong);
}
.crm-feature-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(136, 1, 178, 0.10);
  color: #8801b2;
  box-shadow: inset 0 0 0 1px rgba(136, 1, 178, 0.18);
}
.crm-feature-icon svg { width: 20px; height: 20px; }
.crm-feature:hover .crm-feature-icon {
  background: linear-gradient(135deg, #8801b2 0%, #c100e5 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(136, 1, 178, 0.30);
}

/* CRM-scoped purple buttons */
.section-crm .btn-primary {
  background: linear-gradient(135deg, #8801b2 0%, #c100e5 100%);
  color: #fff;
  box-shadow: 0 14px 32px rgba(136, 1, 178, 0.35);
}
.section-crm .btn-primary:hover {
  box-shadow: 0 20px 44px rgba(193, 0, 229, 0.45);
}
.section-crm .btn-primary .btn-arrow {
  background: rgba(255, 255, 255, 0.20);
  color: #fff;
}
.section-crm .btn-ghost {
  border-color: rgba(136, 1, 178, 0.25);
  color: #8801b2;
}
.section-crm .btn-ghost:hover {
  background: rgba(136, 1, 178, 0.06);
}
.section-crm .btn-ghost svg { color: #c100e5; }
.section-crm .crm-fineprint .dot {
  background: #c100e5;
  box-shadow: 0 0 0 4px rgba(193, 0, 229, 0.18);
}
.crm-feature strong {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
}
.crm-feature span {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.5;
  flex: 1;
}

.crm-cta-row {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.crm-fineprint {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--ink-mute);
  margin: 1rem auto 0;
  justify-content: center;
  width: 100%;
  font-feature-settings: "tnum";
}

/* ============================================================
   MOBILE OPTIMIZATIONS (≤ 768px)
   - Mobile-sized background images (4MB+ savings)
   - Stronger overlays for text contrast
   - Tighter spacing & fluid typography
   ============================================================ */
@media (max-width: 768px) {
  /* Swap heavy desktop backgrounds for compressed mobile versions */
  .hero          { background-image: url("hero-bg-m.png"); }
  .impact        { background-image: url("impact-bg-m.png"); }
  .hub-shell     { background-image: url("oticahub-bg-m.png"); }
  .section-crm   { background-image: url("crm-bg-m.png"); }

  /* HERO — stronger flat overlay so headline reads on the busy clinic photo */
  .hero::before {
    background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.86) 0%,
      rgba(255, 255, 255, 0.92) 55%,
      rgba(255, 255, 255, 0.85) 100%) !important;
    backdrop-filter: blur(2px) saturate(0.9);
  }
  .hero::after { display: none; }
  .hero {
    padding: 7rem 1.25rem 3rem;
    min-height: auto;
    background-position: center;
  }
  .hero-title { line-height: 1.05; }

  /* HERO mockup — smaller phone, scaled floating cards */
  .hero-visual { min-height: auto; padding-bottom: 1rem; margin-top: 1.5rem; }
  .phone { max-width: 300px; }
  .float-card-1 { top: 4%; left: -4px; transform: scale(0.82); transform-origin: top left; }
  .float-card-2 { bottom: 8%; right: -4px; transform: scale(0.82); transform-origin: bottom right; }

  /* SECTION padding tighter */
  .section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .section-head { margin-bottom: 2rem; }
  .section-title { font-size: clamp(1.85rem, 7.5vw, 2.5rem); }
  .section-sub { font-size: 0.95rem; }

  /* CLIENTS marquee — faster, smaller cards */
  .marquee-track { animation-duration: 35s; }
  .logo-card {
    min-width: 180px;
    height: 60px;
    padding: 0.65rem 1rem 0.65rem 0.85rem;
    gap: 0.65rem;
  }
  .logo-card img { max-width: 70px; max-height: 30px; }
  .logo-card img.is-favicon { width: 30px; height: 30px; max-width: 30px; max-height: 30px; }
  .logo-card strong { font-size: 0.82rem; }
  .logo-card span { font-size: 0.62rem; }

  /* IMPACT — center the photo, scale the number */
  .impact {
    background-position: center;
    padding: 3rem 1.25rem !important;
    margin-top: 3rem;
  }
  .impact::before {
    background: radial-gradient(ellipse 90% 95% at 50% 50%,
      rgba(255, 255, 255, 0.86) 0%,
      rgba(255, 255, 255, 0.70) 100%) !important;
  }
  .impact-value { font-size: clamp(3.25rem, 16vw, 5.5rem); }
  .impact-prefix { font-size: clamp(2rem, 8vw, 3rem); }
  .impact-caption { font-size: 0.95rem; padding: 0 0.5rem; }

  /* CLINICAS — list items more compact, dashboard scales down */
  .clinicas-grid { gap: 2rem; }
  .clinicas-list li { padding: 0.7rem 0.85rem; gap: 0.65rem; }
  .clinicas-list svg { width: 18px; height: 18px; padding: 6px; }
  .clinicas-list strong { font-size: 0.88rem; }
  .clinicas-list span { font-size: 0.78rem; }
  .dashboard { padding: 1.1rem; }
  .d-value { font-size: 1.25rem; }

  /* PILLARS — head stacks, LEGO tower scales down */
  .pillars-head { gap: 2rem; margin-bottom: 2.25rem; }
  .pillar { min-height: 260px; padding: 1.4rem; }
  .pillar h3 { font-size: 1.15rem; }

  /* PROCESS steps */
  .process-step { min-height: 180px; padding: 1.4rem; }
  .process-step h4 { font-size: 1rem; }

  /* OTICAHUB — stronger dark overlay so green/white text reads */
  .hub-shell {
    padding: 2.5rem 1.25rem !important;
    background-position: 65% center;
  }
  .hub-shell::before {
    background: rgba(28, 61, 54, 0.93) !important;
  }
  .hub-title { font-size: clamp(2rem, 8vw, 2.75rem); }
  .hub-tools { gap: 0.65rem; }
  .hub-tool { padding: 1rem; }
  .hub-tool strong { font-size: 0.88rem; }
  .hub-tool span { font-size: 0.72rem; }

  /* CRM — stronger overlay + smaller brand logo */
  .section-crm::before {
    background: radial-gradient(ellipse 95% 100% at 50% 50%,
      rgba(255, 255, 255, 0.88) 0%,
      rgba(255, 255, 255, 0.78) 100%) !important;
  }
  .crm-feature { min-height: 160px; padding: 1.25rem; text-align: left; }
  .crm-brand-logo { width: 56px; height: 56px; margin-bottom: 0.5rem; }
  .crm-cta-row { flex-direction: column; gap: 0.65rem; }
  .crm-cta-row .btn { width: 100%; justify-content: center; }

  /* CTA — left panel takes full viewport, content compact */
  .cta-left { padding: 0.75rem; min-height: auto; }
  .cta-left-overlay { inset: 0.75rem; border-radius: 1.25rem; }
  .cta-left-content { padding: 1.5rem; min-height: calc(100vh - 1.5rem); }
  .cta-hero-title { font-size: clamp(2.25rem, 9vw, 3rem); line-height: 1.05; }
  .cta-hero-btn {
    font-size: 0.95rem;
    padding: 0.7rem 0.7rem 0.7rem 1.4rem;
    gap: 0.7rem;
  }
  .cta-hero-btn-circle { width: 38px; height: 38px; }
  .cta-hero-btn-circle svg { width: 18px; height: 18px; }
  .cta-manifesto { padding-top: 1.25rem; }
  .cta-manifesto-text { font-size: 0.95rem; }

  /* CTA right panel on mobile — show below left panel, compact */
  .cta-right { padding: 0 1rem 2rem; gap: 0.85rem; }
  .cta-right-brand { padding: 0.5rem; flex: 0 0 auto; }
  .cta-right-brand img { max-width: 240px; }
  .cta-features { padding: 0.5rem; border-radius: 1.25rem; }
  .cta-features-grid { gap: 0.5rem; }
  .cta-feature { padding: 0.75rem; min-height: 80px; }
  .cta-feature-row { padding: 0.65rem; }
  .cta-feature-thumb { width: 110px; height: 50px; }

  /* FOOTER — looser stacking */
  .footer { padding: 3rem 1.25rem 1.5rem; }
  .footer-grid { gap: 1.5rem; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.7rem;
  }

  /* Floating nav — compact pill, hide some links */
  .nav { padding: 0.5rem 0.5rem 0.5rem 0.85rem; }
  .nav-cta {
    padding: 0.45rem 0.7rem 0.45rem 0.85rem;
    font-size: 0.75rem;
  }
  .nav-cta svg { width: 12px; height: 12px; }
  .brand-name { font-size: 1rem; }
  .brand-logo { width: 28px; height: 28px; }
}

/* Very small phones (≤ 380px) */
@media (max-width: 380px) {
  .hero-title { font-size: 2rem; }
  .cta-hero-title { font-size: 2rem; }
  .impact-value { font-size: 3.25rem; }
  .impact-prefix { font-size: 2rem; }
  .section-title { font-size: 1.7rem; }
  .nav-cta span { display: none; }    /* só o ícone "↗" */
  .lang-btn { width: 22px; height: 22px; font-size: 0.8rem; }
}
