/* PlusCRM site layer. Tokens come from the brand book (design-brief.md). */
:root {
  --noite: #16213e;
  --noite-funda: #0f1830;
  --noite-linha: rgba(245, 247, 250, 0.12);
  --receita: #12b886;
  --menta: #6ee7b7;
  --nevoa: #f5f7fa;
  --nevoa-suave: #a9b4c8;
  --radius: 14px;
  --font-display: "Geist", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.site {
  margin: 0;
  background: var(--noite);
  color: var(--nevoa);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.site a { color: inherit; }
.site :focus-visible { outline: 2px solid var(--menta); outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: 0.6rem 1rem; border-radius: 999px;
  background: var(--nevoa); color: var(--noite) !important; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }
.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 2rem;
  height: 72px; padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: linear-gradient(to bottom, rgba(15, 24, 48, 0.92), rgba(15, 24, 48, 0));
}
.site-header__brand img { display: block; width: 120px; height: auto; }
.site-header__nav { display: flex; gap: 1.75rem; margin-left: 1rem; }
.site-header__nav a, .site-header__login {
  font-size: 0.94rem; color: var(--nevoa-suave) !important; text-decoration: none;
  transition: color 0.2s var(--ease);
}
.site-header__nav a:hover, .site-header__login:hover { color: var(--nevoa) !important; }
.site-header__actions { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }

/* CTAs: each its own garment */
.cta-nav {
  padding: 0.55rem 1.05rem; border-radius: 999px;
  background: var(--receita); color: var(--noite-funda) !important;
  font-size: 0.9rem; font-weight: 600; text-decoration: none;
  transition: background 0.2s var(--ease);
}
.cta-nav:hover { background: var(--menta); }
.cta-hero {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 1rem 1.6rem 1rem 1.25rem; border-radius: 999px;
  background: var(--receita); color: var(--noite-funda) !important;
  font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; text-decoration: none;
  box-shadow: 0 14px 40px rgba(18, 184, 134, 0.28);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.cta-hero__glyph { width: 1.1rem; height: 1.1rem; fill: var(--noite-funda); transition: transform 0.6s var(--ease); }
.cta-hero:hover { box-shadow: 0 18px 50px rgba(18, 184, 134, 0.42); }
.cta-hero:hover .cta-hero__glyph { transform: rotate(180deg); }
.cta-hero:active { transform: scale(0.98); }
.cta-sales { position: relative; padding: 0.4rem 0; font-weight: 500; text-decoration: none; color: var(--nevoa) !important; }
.cta-sales::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--menta); transform: scaleX(0.25); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.cta-sales:hover::after { transform: scaleX(1); }
.cta-plan {
  display: block; margin: 1.5rem 0 1.75rem; padding: 0.85rem 1rem;
  border: 1.5px solid var(--noite-linha); border-radius: 10px;
  text-align: center; font-weight: 600; text-decoration: none; color: var(--nevoa) !important;
  background: linear-gradient(var(--receita), var(--receita)) no-repeat left / 0% 100%;
  transition: background-size 0.4s var(--ease), color 0.3s var(--ease), border-color 0.3s;
}
.cta-plan:hover { background-size: 100% 100%; border-color: var(--receita); color: var(--noite-funda) !important; }
.cta-plan--featured { border-color: var(--noite-funda); color: var(--menta) !important; background: var(--noite-funda); }
.cta-plan--featured:hover { color: var(--nevoa) !important; border-color: var(--noite-funda); }
.cta-final {
  display: inline-block; padding: 1.05rem 2rem; border-radius: 999px;
  background: var(--nevoa); color: var(--noite) !important;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; text-decoration: none;
  box-shadow: 0 6px 0 rgba(15, 24, 48, 0.55);
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.cta-final:hover { transform: translateY(-2px); box-shadow: 0 8px 0 rgba(15, 24, 48, 0.55); }
.cta-final:active { transform: translateY(4px); box-shadow: 0 2px 0 rgba(15, 24, 48, 0.55); }
.more-link {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 2rem;
  color: var(--menta) !important; font-weight: 500; text-decoration: none;
}
.more-link__glyph { width: 0.7rem; height: 0.7rem; fill: currentColor; transition: transform 0.35s var(--ease); }
.more-link:hover .more-link__glyph { transform: translateX(4px) rotate(90deg); }

/* Shared section type */
.h-section {
  margin: 0; max-width: 18ch; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance;
}
.lede { max-width: 54ch; margin: 1rem 0 0; color: var(--nevoa-suave); font-size: 1.08rem; line-height: 1.65; }


/* Product surface tokens (the app UI is light) */
:root {
  --painel: #ffffff;
  --painel-2: #f5f7fa;
  --painel-linha: rgba(22, 33, 62, 0.1);
  --tinta: #15171c;
  --tinta-suave: rgba(21, 23, 28, 0.62);
  --azul: #3b82f6;
}
.site-header { transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.site-header--solid { background: rgba(15, 24, 48, 0.88); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--noite-linha); }

/* Load-in (on mount, never waits for scroll) */
.rise { animation: rise 0.9s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes rise { from { transform: translateY(18px); opacity: 0.001; } to { transform: none; opacity: 1; } }
[data-reveal] { transition: transform 0.9s var(--ease); }
.reveal--armed { transform: translateY(48px) scale(0.97); }
.reveal--in { transform: none; }
.caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -0.15em; background: var(--receita); animation: blink 0.8s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 9rem 0 4rem;
  background:
    radial-gradient(900px 520px at 85% 10%, rgba(18, 184, 134, 0.18), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(59, 130, 246, 0.12), transparent 60%),
    var(--noite);
}
.hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__label { display: inline-block; margin: 0 0 1.25rem; padding: 0.3rem 0.8rem; border: 1px solid rgba(110, 231, 183, 0.35); border-radius: 999px; color: var(--menta); font-size: 0.85rem; }
.hero__title { margin: 0; max-width: 12ch; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.8rem, 5.6vw, 5.2rem); line-height: 0.98; letter-spacing: -0.045em; text-wrap: balance; }
.hero__text { max-width: 44ch; margin: 1.5rem 0 0; color: var(--nevoa-suave); font-size: 1.15rem; line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; margin-top: 2.25rem; }
.hero__note { margin: 1.25rem 0 0; color: var(--nevoa-suave); font-size: 0.9rem; }
.proof { display: grid; grid-template-columns: auto auto 1fr; gap: 1rem clamp(2rem, 5vw, 4rem); align-items: center; margin-top: 4.5rem; padding-top: 2rem; border-top: 1px solid var(--noite-linha); }
.proof p { margin: 0; color: var(--nevoa-suave); }
.proof strong { display: block; color: var(--nevoa); font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; letter-spacing: -0.03em; }
.proof__who { max-width: 40ch; justify-self: end; text-align: right; }

/* Dashboard mock */
.dash { position: relative; padding: 1.25rem; border-radius: 18px; background: var(--painel); color: var(--tinta); box-shadow: 0 40px 100px rgba(5, 10, 25, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06); }
.dash__bar { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.dash__dots { display: flex; gap: 5px; }
.dash__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--painel-linha); }
.dash__live { margin-left: auto; display: inline-flex; align-items: center; gap: 0.4rem; color: var(--receita); font-size: 0.8rem; font-weight: 500; }
.dash__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--receita); animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(18, 184, 134, 0.5); } 100% { box-shadow: 0 0 0 9px rgba(18, 184, 134, 0); } }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.kpi { display: grid; gap: 0.15rem; padding: 0.9rem; border-radius: 12px; background: var(--painel-2); }
.kpi__label { color: var(--tinta-suave); font-size: 0.78rem; }
.kpi__value { font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: #16213e; }
.kpi__delta { color: var(--receita); font-size: 0.78rem; font-weight: 600; }
.kpi__meta { color: var(--tinta-suave); font-size: 0.78rem; }
.dash__funnel { display: grid; gap: 0.55rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.dash__funnel li { display: grid; grid-template-columns: 6.5rem 1fr 2rem; align-items: center; gap: 0.75rem; font-size: 0.82rem; }
.dash__funnel-label { color: var(--tinta-suave); }
.dash__funnel-track { height: 10px; border-radius: 99px; background: var(--painel-2); overflow: hidden; }
.dash__funnel-fill { display: block; width: var(--w); height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--receita), var(--menta)); transform-origin: left; }
.dash.is-live .dash__funnel-fill { animation: grow 1.2s var(--ease) both; animation-delay: calc(var(--i) * 120ms + 200ms); }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.dash__funnel-value { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.dash__ai { display: flex; gap: 0.75rem; align-items: flex-start; min-height: 4.6rem; margin-top: 1rem; padding: 0.9rem 1rem; border-radius: 12px; background: #16213e; color: var(--nevoa); }
.dash__ai img { flex: none; }
.dash__ai p { margin: 0; font-size: 0.9rem; line-height: 1.5; }
.dash__toast { position: absolute; left: -1.75rem; bottom: -1.5rem; display: flex; gap: 0.65rem; align-items: center; padding: 0.7rem 1rem; border-radius: 12px; background: var(--painel); color: var(--tinta); font-size: 0.82rem; box-shadow: 0 18px 40px rgba(5, 10, 25, 0.35); opacity: 0; }
.dash__toast.is-on { animation: toast 3.4s var(--ease) both; }
.dash__toast strong { display: block; font-size: 0.86rem; }
.dash__toast-dot { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--receita), var(--menta)); }
@keyframes toast { 0% { transform: translateY(12px) scale(0.96); opacity: 0; } 12%, 85% { transform: none; opacity: 1; } 100% { transform: translateY(-8px); opacity: 0; } }

/* Marquee of what's included */
.marquee { overflow: hidden; padding: 1.35rem 0; border-block: 1px solid var(--noite-linha); background: var(--noite-funda); }
.marquee__track { display: flex; gap: 3rem; width: max-content; margin: 0; padding: 0; list-style: none; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { display: inline-flex; align-items: center; gap: 0.7rem; white-space: nowrap; color: var(--nevoa); font-family: var(--font-display); font-size: 1.05rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Feature sections */
.feature { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--noite); }
.feature:nth-of-type(even) { background: var(--noite-funda); }
.feature__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.feature--flip .feature__copy { order: 2; }
.feature__label { margin: 0 0 1rem; color: var(--menta); font-size: 0.95rem; font-weight: 500; }
.checks { display: grid; gap: 0.7rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 1.75rem; }
.checks li::before { content: ""; position: absolute; left: 0.1rem; top: 0.45em; width: 0.7rem; height: 0.38rem; border-left: 2px solid var(--receita); border-bottom: 2px solid var(--receita); transform: rotate(-45deg); }
.feature__note { margin: 1.5rem 0 0; color: var(--nevoa-suave); font-size: 0.88rem; }

/* Kanban mock */
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; padding: 1rem; border-radius: 18px; background: var(--painel-2); color: var(--tinta); box-shadow: 0 40px 100px rgba(5, 10, 25, 0.5); }
.kcol { display: grid; align-content: start; gap: 0.6rem; min-height: 19rem; padding: 0.75rem; border-radius: 12px; background: rgba(22, 33, 62, 0.04); transition: background 0.4s var(--ease); }
.kcol--active { background: rgba(18, 184, 134, 0.1); }
.kcol__head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; }
.kcol__count { min-width: 1.6rem; padding: 0.05rem 0.45rem; border-radius: 99px; background: var(--painel); text-align: center; font-size: 0.78rem; font-variant-numeric: tabular-nums; }
.kcard { display: grid; gap: 0.2rem; padding: 0.75rem; border-radius: 10px; background: var(--painel); box-shadow: 0 2px 10px rgba(22, 33, 62, 0.07); font-size: 0.85rem; }
.kcard strong { font-size: 0.9rem; }
.kcard__value { color: var(--tinta-suave); font-variant-numeric: tabular-nums; }
.kcard--moving { outline: 2px solid var(--receita); box-shadow: 0 16px 36px rgba(18, 184, 134, 0.28); animation: land 0.7s var(--ease) both; }
@keyframes land { from { transform: translateX(-60%) rotate(-4deg) scale(1.04); } to { transform: none; } }
.heat { justify-self: start; margin-top: 0.25rem; padding: 0.1rem 0.55rem; border-radius: 99px; font-size: 0.72rem; font-weight: 600; }
.heat--quente { background: rgba(18, 184, 134, 0.14); color: #0b7a59; }
.heat--morno { background: rgba(245, 158, 11, 0.16); color: #92400e; }
.heat--frio { background: rgba(59, 130, 246, 0.14); color: #1d4ed8; }
.heat--ganho { background: #16213e; color: var(--menta); }

/* Journey mock */
.journey-flow { padding: 1.75rem; border-radius: 18px; background: var(--painel); color: var(--tinta); box-shadow: 0 40px 100px rgba(5, 10, 25, 0.5); }
.journey-flow ol { position: relative; display: grid; gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
.jstep { position: relative; display: grid; grid-template-columns: 2.25rem 1fr; align-items: center; column-gap: 1rem; padding: 0.85rem 1rem 0.85rem 0.85rem; border-radius: 12px; background: var(--painel-2); transition: background 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.jstep:not(:last-child)::after { content: ""; position: absolute; left: 1.95rem; top: 100%; width: 2px; height: 1.1rem; background: var(--painel-linha); }
.jstep--done:not(:last-child)::after { background: var(--receita); }
.jstep__node { width: 2.25rem; height: 2.25rem; border-radius: 10px; background: var(--painel); border: 2px solid var(--painel-linha); transition: all 0.4s var(--ease); }
.jstep--done .jstep__node { background: var(--receita); border-color: var(--receita); }
.jstep--now { background: var(--painel); transform: translateX(6px); box-shadow: 0 10px 30px rgba(18, 184, 134, 0.22), 0 0 0 2px var(--receita); }
.jstep--now .jstep__node { border-color: var(--receita); animation: pulse 1.2s ease-out infinite; }
.jstep__label { font-weight: 500; }
.jstep--next .jstep__label { color: var(--tinta-suave); }
.jstep__branch { grid-column: 2; margin-top: 0.3rem; color: var(--receita); font-size: 0.8rem; font-weight: 600; }
.jstep--next .jstep__branch { color: var(--tinta-suave); font-weight: 400; }

/* Smart AI mock */
.smart { padding: 1.5rem; border-radius: 18px; background: var(--painel); color: var(--tinta); box-shadow: 0 40px 100px rgba(5, 10, 25, 0.5); }
.smart__head { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 600; }
.smart__status { margin-left: auto; color: var(--receita); font-family: var(--font-body); font-size: 0.8rem; font-weight: 500; }
.smart__before { margin: 1.25rem 0 0; padding: 0.9rem 1rem; border-radius: 12px; background: var(--painel-2); color: var(--tinta-suave); text-decoration: line-through; text-decoration-color: rgba(21, 23, 28, 0.3); font-size: 0.92rem; }
.smart__after { min-height: 5.5rem; margin: 0.75rem 0 0; padding: 0.9rem 1rem; border-radius: 12px; background: rgba(18, 184, 134, 0.1); border: 1px solid rgba(18, 184, 134, 0.35); font-size: 0.98rem; line-height: 1.55; }
.smart__modes { display: flex; gap: 0.5rem; margin-top: 1rem; }
.smart__mode { padding: 0.35rem 0.85rem; border-radius: 99px; border: 1px solid var(--painel-linha); color: var(--tinta-suave); font-size: 0.84rem; transition: all 0.3s var(--ease); }
.smart__mode--on { background: #16213e; border-color: #16213e; color: var(--nevoa); }

/* Ads mock */
.ads { padding: 1.5rem; border-radius: 18px; background: var(--painel); color: var(--tinta); box-shadow: 0 40px 100px rgba(5, 10, 25, 0.5); }
.ads ul { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.channel { display: grid; gap: 0.55rem; padding: 1rem; border-radius: 12px; background: var(--painel-2); }
.channel__top { display: flex; align-items: center; gap: 0.6rem; }
.channel__top img { filter: brightness(0) saturate(100%) invert(11%) sepia(29%) saturate(2000%) hue-rotate(205deg); }
.channel__cac { margin-left: auto; color: var(--tinta-suave); font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.channel__bar { height: 12px; border-radius: 99px; background: rgba(22, 33, 62, 0.08); overflow: hidden; }
.channel__fill { display: block; width: var(--w); height: 100%; border-radius: 99px; background: linear-gradient(90deg, #16213e, var(--receita)); transform-origin: left; }
.ads.is-live .channel__fill { animation: grow 1.3s var(--ease) both; }
.channel__roas { font-family: var(--font-display); font-weight: 600; font-variant-numeric: tabular-nums; }
.ads__sync { display: flex; align-items: center; gap: 0.85rem; margin-top: 1.25rem; padding: 0.9rem 1rem; border-radius: 12px; background: #16213e; color: var(--nevoa); }
.ads__sync p { margin: 0; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.ads__sync strong { display: block; color: var(--menta); }
.ads__sync img { animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Chat mock */
.chat { overflow: hidden; border-radius: 18px; background: var(--painel); color: var(--tinta); box-shadow: 0 40px 100px rgba(5, 10, 25, 0.5); }
.chat__head { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--painel-linha); }
.chat__head strong { display: block; font-size: 0.95rem; }
.chat__head small { color: var(--tinta-suave); font-size: 0.78rem; }
.chat__avatar { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: #16213e; color: var(--menta); font-size: 0.8rem; font-weight: 600; }
.chat__deal { margin-left: auto; padding: 0.25rem 0.7rem; border-radius: 99px; background: rgba(18, 184, 134, 0.14); color: #0b7a59; font-size: 0.82rem; font-weight: 600; }
.chat__body { display: flex; flex-direction: column; gap: 0.6rem; min-height: 15rem; padding: 1.25rem; background: var(--painel-2); }
.bubble { max-width: 78%; margin: 0; padding: 0.7rem 0.95rem; border-radius: 14px; font-size: 0.92rem; animation: pop 0.45s var(--ease) both; }
.bubble--them { align-self: flex-start; background: var(--painel); border-bottom-left-radius: 4px; box-shadow: 0 2px 8px rgba(22, 33, 62, 0.06); }
.bubble--me { align-self: flex-end; background: #d9fbe9; border-bottom-right-radius: 4px; }
.bubble--typing { display: inline-flex; gap: 4px; padding: 0.85rem 1rem; }
.bubble--typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--tinta-suave); animation: dot 1s infinite; }
.bubble--typing i:nth-child(2) { animation-delay: 0.15s; }
.bubble--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes pop { from { transform: translateY(8px) scale(0.96); } to { transform: none; } }
.chat__foot { margin: 0; padding: 0.85rem 1.25rem; color: var(--tinta-suave); font-size: 0.8rem; border-top: 1px solid var(--painel-linha); }

/* Reasons */
.reasons { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--noite); }
.reasons__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 3rem 0 0; padding: 0; list-style: none; background: var(--noite-linha); border: 1px solid var(--noite-linha); border-radius: var(--radius); overflow: hidden; }
.reasons__grid li { padding: 2rem; background: var(--noite); transition: background 0.3s var(--ease); }
.reasons__grid li:hover { background: #1a2748; }
.reasons__icon { width: 56px; height: 56px; object-fit: contain; transition: transform 0.5s var(--ease); }
.reasons__grid li:hover .reasons__icon { transform: translateY(-4px) rotate(-6deg) scale(1.06); }
.reasons__grid h3 { margin: 1rem 0 0.4rem; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.015em; }
.reasons__grid p { margin: 0; color: var(--nevoa-suave); font-size: 0.96rem; }

/* Integrations */
.integrations { padding: clamp(5rem, 9vw, 7rem) 0; background: var(--noite-funda); }
.integrations__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin: 3rem 0 0; padding: 0; list-style: none; }
.integrations__grid li { display: flex; gap: 0.85rem; align-items: flex-start; padding: 1.1rem; border: 1px solid var(--noite-linha); border-radius: var(--radius); transition: border-color 0.3s, transform 0.3s var(--ease); }
.integrations__grid li:hover { border-color: rgba(110, 231, 183, 0.45); transform: translateY(-3px); }
.integrations__grid img { flex: none; width: 28px; height: 28px; filter: brightness(0) invert(1); opacity: 0.85; }
.integrations__grid span { color: var(--nevoa-suave); font-size: 0.88rem; line-height: 1.45; }
.integrations__grid strong { display: block; color: var(--nevoa); font-size: 0.98rem; }
/* Pricing */
.pricing { padding: clamp(5rem, 10vw, 8rem) 0; background: var(--noite-funda); }
.pricing__table { display: grid; grid-template-columns: 1fr 1.12fr 1fr; align-items: stretch; margin-top: 3.5rem; border: 1px solid var(--noite-linha); border-radius: var(--radius); }
.plan { position: relative; padding: 2.25rem clamp(1.25rem, 2.4vw, 2rem); }
.plan + .plan { border-left: 1px solid var(--noite-linha); }
.plan--featured { margin: -1.25rem 0; padding-top: 3.5rem; border-radius: var(--radius); background: var(--receita); color: var(--noite-funda); box-shadow: 0 30px 80px rgba(18, 184, 134, 0.22); }
.plan--featured + .plan { border-left-color: transparent; }
.plan__badge { position: absolute; top: 1.25rem; left: clamp(1.25rem, 2.4vw, 2rem); margin: 0; padding: 0.2rem 0.7rem; border-radius: 999px; background: var(--noite-funda); color: var(--menta); font-size: 0.8rem; font-weight: 600; }
.plan__name { margin: 0; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
.plan__who { margin: 0.35rem 0 0; color: var(--nevoa-suave); font-size: 0.95rem; }
.plan--featured .plan__who, .plan--featured .plan__combo, .plan--featured .plan__items li, .plan--featured .plan__period { color: rgba(15, 24, 48, 0.8); }
.plan__price { display: flex; align-items: baseline; gap: 0.25rem; margin: 1.75rem 0 0; font-family: var(--font-display); }
.plan__currency { font-size: 1.1rem; font-weight: 500; }
.plan__amount { font-size: clamp(3rem, 5vw, 4.2rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.plan__period { color: var(--nevoa-suave); }
.plan__combo { margin: 0.5rem 0 0; color: var(--nevoa-suave); font-size: 0.9rem; }
.plan__items { display: grid; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.plan__items li { position: relative; padding-left: 1.4rem; font-size: 0.95rem; }
.plan__items li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.55rem; height: 0.3rem; border-left: 2px solid var(--receita); border-bottom: 2px solid var(--receita); transform: rotate(-45deg); }
.plan--featured .plan__items li::before { border-color: var(--noite-funda); }
.pricing__modules { max-width: 70ch; margin: 3rem 0 0; color: var(--nevoa-suave); font-size: 0.95rem; }

/* Closing */
.closing { position: relative; display: flex; align-items: center; min-height: 86dvh; overflow: hidden; background: var(--noite); }
.closing__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.closing::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(15, 24, 48, 0.92) 0%, rgba(15, 24, 48, 0.55) 45%, rgba(15, 24, 48, 0) 75%); }
.closing__copy { position: relative; z-index: 2; padding: 6rem 0; }
.closing__title { margin: 0; max-width: 14ch; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -0.045em; }
.closing__text { max-width: 40ch; margin: 1.25rem 0 0; color: var(--nevoa-suave); font-size: 1.1rem; }
.closing__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 2.25rem; }

/* Footer */
.site-footer { padding: 4rem 0 2rem; background: var(--noite-funda); border-top: 1px solid var(--noite-linha); }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.site-footer__grid p { max-width: 34ch; color: var(--nevoa-suave); font-size: 0.95rem; }
.site-footer nav { display: grid; align-content: start; gap: 0.55rem; }
.site-footer h3 { margin: 0 0 0.4rem; font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; }
.site-footer nav a { color: var(--nevoa-suave) !important; font-size: 0.93rem; text-decoration: none; }
.site-footer nav a:hover { color: var(--nevoa) !important; }
.site-footer__legal { margin-top: 3rem; color: var(--nevoa-suave); font-size: 0.85rem; }

/* Not found / error */
.nf { display: grid; place-items: center; min-height: 100dvh; padding: 2rem; text-align: center; }
.nf h1 { margin: 0; font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -0.04em; }
.nf p { color: var(--nevoa-suave); }
.nf a, .nf button { color: var(--menta) !important; background: none; border: 0; font: inherit; cursor: pointer; text-decoration: underline; }


/* Closing: keep the Plus clear of the headline on wide screens */
@media (min-width: 861px) {
  .closing__bg { left: auto; right: 0; width: 72%; -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 28%); mask-image: linear-gradient(to right, transparent 0%, #000 28%); }
  .closing::before { background: linear-gradient(90deg, rgba(15, 24, 48, 0.6) 0%, rgba(15, 24, 48, 0) 50%); }
}

/* Responsive */
@media (max-width: 1080px) {
  .site-header__nav { display: none; }
  .integrations__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero { padding-top: 7rem; }
  .hero__grid, .feature__grid { grid-template-columns: 1fr; }
  .feature--flip .feature__copy { order: 0; }
  .dash__toast { left: 0.75rem; bottom: -1.25rem; }
  .proof { grid-template-columns: 1fr 1fr; }
  .proof__who { grid-column: 1 / -1; justify-self: start; text-align: left; }
  .reasons__grid { grid-template-columns: 1fr 1fr; }
  .pricing__table { grid-template-columns: 1fr; border: 0; gap: 1rem; }
  .plan { border: 1px solid var(--noite-linha); border-radius: var(--radius); }
  .plan + .plan { border-left: 1px solid var(--noite-linha); }
  .plan--featured { margin: 0; border-color: transparent; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__grid > div { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .site-header { gap: 1rem; }
  .site-header__login { display: none; }
  .cta-nav { padding: 0.5rem 0.8rem; font-size: 0.82rem; }
  .kanban { grid-template-columns: 1fr 1fr 1fr; gap: 0.4rem; padding: 0.5rem; }
  .kcol { padding: 0.45rem; min-height: 16rem; }
  .kcard { padding: 0.5rem; font-size: 0.72rem; }
  .kcard strong { font-size: 0.75rem; }
  .dash__kpis { grid-template-columns: 1fr 1fr; }
  .dash__kpis .kpi:last-child { display: none; }
  .dash__funnel li { grid-template-columns: 5.5rem 1fr 1.8rem; }
  .reasons__grid, .integrations__grid { grid-template-columns: 1fr; }
  .closing { align-items: flex-end; }
  .closing::before { background: linear-gradient(180deg, rgba(15, 24, 48, 0.35) 0%, rgba(15, 24, 48, 0.94) 65%); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal--armed { transform: none; }
}
