/* ==========================================================================
   AVYSTA — Design tokens
   ========================================================================== */
:root {
  --avy-accent: #f49a4a;
  --avy-accent-rgb: 244, 154, 74;
  --avy-ink: #0B111E;
  --avy-ink-soft: #3A4453;
  --avy-text: #46505F;
  --avy-text-soft: #5B6573;
  --avy-muted: #8A93A3;
  --avy-line: #E4E7EC;
  --avy-line-soft: #ECEEF2;
  --avy-bg-soft: #F6F7F9;
  --avy-red: #E5484D;
  --avy-amber: #F5A524;
  --avy-green: #2BA84A;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: #fff;
  color: var(--avy-ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--avy-accent); color: #fff; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--font); letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: var(--font); }
img { max-width: 100%; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.eyebrow {
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--avy-accent);
  font-weight: 500;
}
.eyebrow--muted { color: #6B7280; }

.btn {
  cursor: pointer;
  border: none;
  font-family: var(--font);
  font-weight: 600;
  border-radius: 12px;
  transition: transform .2s, box-shadow .2s;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.btn-primary {
  background: var(--avy-accent);
  color: #fff;
  font-size: 15.5px;
  padding: 16px 26px;
  box-shadow: 0 10px 26px rgba(var(--avy-accent-rgb), .28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(var(--avy-accent-rgb), .34); }
.btn-ghost {
  border: 1px solid #D5D9E0;
  color: var(--avy-ink);
  font-size: 15.5px;
  font-weight: 600;
  padding: 16px 24px;
  border-radius: 12px;
  transition: all .2s;
}
.btn-ghost:hover { border-color: var(--avy-ink); background: var(--avy-ink); color: #fff; }

/* ==========================================================================
   Keyframes
   ========================================================================== */
@keyframes avyFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes avyIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes avyPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(229, 72, 77, .45); }
  70% { box-shadow: 0 0 0 9px rgba(229, 72, 77, 0); }
}
@keyframes avyComet { 0% { left: -12%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 108%; opacity: 0; } }
@keyframes avyFlow { to { stroke-dashoffset: -20; } }
@keyframes avyPing {
  0% { transform: translate(-50%, -50%) scale(1); opacity: .55; }
  70% { opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(2.1); opacity: 0; }
}
@keyframes avyChipFloat {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 6px)); }
}

[data-reveal] { opacity: 0; transform: translateY(18px); }
[data-reveal].is-seen { animation: avyIn .8s cubic-bezier(.16, .84, .44, 1) forwards; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--avy-line-soft);
  transition: box-shadow .3s, background .3s;
}
.site-header.is-scrolled {
  box-shadow: 0 1px 0 rgba(11, 17, 30, .06), 0 12px 34px rgba(11, 17, 30, .07);
  background: rgba(255, 255, 255, .92);
}
.site-header__bar {
  height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-header__logo img { height: 24px; width: auto; display: block; }
.site-header__nav {
  display: flex; align-items: center; gap: 30px;
  font-size: 14.5px; font-weight: 500; color: var(--avy-text);
}
.site-header__nav a { transition: color .2s; }
.site-header__nav a:hover { color: var(--avy-ink); }
.site-header__nav-badge {
  display: inline-flex; align-items: center;
  padding: 5px 12px; border-radius: 99px;
  background: rgba(var(--avy-accent-rgb), .1);
  color: var(--avy-accent) !important;
  font-weight: 600; font-size: 13.5px;
  transition: background .2s, color .2s !important;
}
.site-header__nav-badge:hover { background: rgba(var(--avy-accent-rgb), .18) !important; color: #d97f2e !important; }
.site-header__actions { display: flex; align-items: center; gap: 14px; }
.btn-cta {
  cursor: pointer; border: none; background: var(--avy-accent); color: #fff;
  font-family: var(--font); font-size: 14px; font-weight: 600;
  padding: 11px 20px; border-radius: 10px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 6px 18px rgba(var(--avy-accent-rgb), .26);
}
@media screen and (max-width: 768px) {
  .btn-cta {
    font-size: 12px;
    padding: 8px 16px;
  }
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(var(--avy-accent-rgb), .34); }
.login-link { font-size: 14.5px; font-weight: 500; color: var(--avy-text); transition: color .2s; }
.login-link:hover { color: var(--avy-ink); }

.burger {
  display: none;
  cursor: pointer; width: 42px; height: 42px;
  border: 1px solid #E2E5EA; background: #fff; border-radius: 10px;
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.burger span { width: 18px; height: 2px; background: var(--avy-ink); display: block; }

.mobile-menu { display: none; }
.mobile-menu.is-open { display: block; }
.mobile-menu__list {
  flex-direction: column; display: flex; gap: 4px;
  padding: 8px 40px 22px; border-top: 1px solid var(--avy-line-soft); background: #fff;
}
.mobile-menu__list a { padding: 13px 0; font-weight: 500; border-bottom: 1px solid #F1F3F6; }
.mobile-menu__list a.login { font-weight: 600; color: var(--avy-accent); border-bottom: none; }
.mobile-menu__badge { display: flex !important; align-items: center; gap: 8px; color: var(--avy-accent) !important; font-weight: 600 !important; }
.mobile-menu__badge::after { content: 'Novo'; font-size: 10px; font-weight: 700; letter-spacing: .06em; padding: 2px 7px; border-radius: 99px; background: rgba(var(--avy-accent-rgb), .12); color: var(--avy-accent); }
.mobile-menu__group-label {
  display: block; padding: 12px 0 4px;
  font-size: 10px; font-weight: 700; letter-spacing: .14em;
  color: var(--avy-muted); text-transform: uppercase;
  border-bottom: none;
}
.mobile-menu__sub { padding-left: 14px !important; font-size: 14px !important; color: var(--avy-text) !important; }

/* Nav dropdown */
.site-header__nav-item { position: relative; display: flex; align-items: center; }
.site-header__nav-trigger {
  display: flex; align-items: center; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 0;
  font-family: var(--font); font-size: 14.5px; font-weight: 500; color: var(--avy-text);
  transition: color .2s;
}
.site-header__nav-trigger:hover,
.site-header__nav-item.is-open .site-header__nav-trigger { color: var(--avy-ink); }
.site-header__nav-trigger svg { transition: transform .2s; flex-shrink: 0; }
.site-header__nav-item.is-open .site-header__nav-trigger svg { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: calc(100% + 16px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 210px; padding: 8px;
  background: #fff; border: 1px solid var(--avy-line); border-radius: 14px;
  box-shadow: 0 8px 32px rgba(11,17,30,.1);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 200;
}
.site-header__nav-item.is-open .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block; padding: 10px 14px; border-radius: 9px;
  font-size: 14px; font-weight: 500; color: var(--avy-text);
  transition: background .15s, color .15s;
}
.nav-dropdown a:hover { background: var(--avy-bg-soft); color: var(--avy-ink); }
@media (hover: hover) {
  /* ponte invisível que cobre o gap entre o trigger e o painel */
  .site-header__nav-item::after {
    content: ''; position: absolute;
    top: 100%; left: 0; right: 0; height: 16px;
  }
  .site-header__nav-item:hover .nav-dropdown {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
  .site-header__nav-item:hover .site-header__nav-trigger { color: var(--avy-ink); }
  .site-header__nav-item:hover .site-header__nav-trigger svg { transform: rotate(180deg); }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding: 100px 40px 86px; }
.hero__bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(#0b111e08 1px, transparent 1px), linear-gradient(90deg, #0b111e08 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(95% 75% at 16% 4%, #000 0%, transparent 58%);
  mask-image: radial-gradient(95% 75% at 16% 4%, #000 0%, transparent 58%);
  pointer-events: none;
}
.hero__grid {
  position: relative; display: grid;
  grid-template-columns: 1.04fr .96fr; gap: 54px; align-items: center;
}
.badge-pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11.5px; font-weight: 500; letter-spacing: .16em; color: var(--avy-text);
  border: 1px solid #E2E5EA; background: #fff; padding: 7px 13px; border-radius: 100px;
}
@media (max-width: 768px) {
  .badge-pill {
    font-size: 9px;
  }
}
.badge-pill__dot { width: 7px; height: 7px; background: var(--avy-accent); border-radius: 2px; display: block; }
.hero h1 { margin: 20px 0 0; }
.hero__line-erp { display: block; font-size: 24px; font-weight: 500; color: var(--avy-muted); letter-spacing: -.01em; }
.hero__line-a, .hero__line-b {
  display: block; font-size: 58px; font-weight: 800; line-height: 1.03; letter-spacing: -.025em; color: var(--avy-ink);
}
.hero__line-a { margin-top: 8px; }
.hero__lede { margin: 26px 0 0; font-size: 18.5px; line-height: 1.55; color: var(--avy-text); max-width: 560px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.hero__foot {
  display: flex; align-items: flex-start; gap: 12px; margin-top: 20px; padding-top: 20px;
  border-top: 1px solid var(--avy-line-soft); max-width: 540px;
}
@media screen and (max-width: 768px) {
  .hero__lede {
    font-size: 15px;
}
}
.hero__foot-mark { color: var(--avy-accent); font-size: 15px; line-height: 1.4; }
.hero__foot p { font-size: 14.5px; line-height: 1.55; color: var(--avy-text-soft); }

.hero__visual {
  position: relative; min-height: 540px; display: flex; justify-content: center; align-items: flex-end;
}
.hero__ground-shadow {
  position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); width: 74%; height: 26px;
  background: radial-gradient(50% 100% at 50% 0%, rgba(11, 17, 30, .16), transparent 70%); filter: blur(3px);
}
.hero__photo { position: relative; z-index: 1; display: block; height: 100%; max-height: 576px; width: auto; object-fit: contain; }
.hero__phone-card {
  position: absolute; z-index: 2; left: -4px; bottom: 34px; width: 186px; border-radius: 26px;
  background: var(--avy-ink); padding: 7px; box-shadow: 0 26px 54px -18px rgba(11, 17, 30, .5);
  animation: avyFloat 6s ease-in-out infinite;
}
@media screen and (max-width: 768px) {
  .hero__phone-card {
    bottom: -60px;
  }
}
.hero__phone-card-screen { border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid #1C2740; }
.hero__phone-card-screen img { width: 100%; display: block; }

.hero__float {
  position: absolute; animation: avyFloat 6s ease-in-out infinite;
  display: flex; align-items: center; gap: 10px; background: #fff;
  border: 1px solid #EBEDF1; border-radius: 12px; padding: 11px 14px;
  box-shadow: 0 16px 34px -14px rgba(11, 17, 30, .35); z-index: 3;
}
.hero__float-dot { width: 9px; height: 9px; border-radius: 50%; display: block; }
.hero__float-title { font-size: 13px; font-weight: 600; color: var(--avy-ink); }
.hero__float-sub { font-size: 10.5px; color: var(--avy-muted); }
.hero__float--1 { top: 8%; right: -8px; animation-delay: .9s; }
.hero__float--2 {
  top: 42%; right: -14px; animation-delay: 1.8s;
  background: var(--avy-ink); box-shadow: 0 16px 34px -14px rgba(11, 17, 30, .5);
}
.hero__float--2 .hero__float-title { color: #fff; }
.hero__float--2 .hero__float-sub { color: #9AA3B2; }
@media screen and (max-width: 768px) {
  .hero__float--1 {
    top: 40%;
    right: 25px;
  }
  .hero__float--2 {
    top: 70%;
    right: 0;
  }
}

/* ==========================================================================
   Section shells
   ========================================================================== */
.section { padding: 96px 40px; }
.section--soft {
  background: var(--avy-bg-soft) url("../img/texture-grain.png") repeat;
  border-top: 1px solid var(--avy-line-soft); border-bottom: 1px solid var(--avy-line-soft);
}
.section--soft-top {
  background: var(--avy-bg-soft) url("../img/texture-grain.png") repeat;
  border-top: 1px solid var(--avy-line-soft);
}
.section--white-bordered { background: #fff; border-top: 1px solid var(--avy-line-soft); border-bottom: 1px solid var(--avy-line-soft); }
.section--dark { background: var(--avy-ink); color: #fff; position: relative; overflow: hidden; }
.section-head { max-width: 760px; }
.section-head--wide { max-width: 820px; }
.section-head h2 { margin: 18px 0 0; font-size: 40px; line-height: 1.1; font-weight: 600; }
.section-head p { margin: 18px 0 0; font-size: 17px; line-height: 1.55; color: var(--avy-text); max-width: 620px; }

.parallax-bg { position: absolute; top: -25%; left: 0; right: 0; height: 150%; will-change: transform; pointer-events: none; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ==========================================================================
   Pain section ("A dor")
   ========================================================================== */
.pain-grid { margin-top: 46px; }
.pain-card {
  position: relative; border: 1px solid var(--avy-line); background: #fff;
  border-radius: 18px; padding: 26px; overflow: hidden; min-height: 340px;
}
.pain-card__label { font-size: 11.5px; letter-spacing: .14em; color: var(--avy-muted); }
.pain-card--dark { border: 1px solid #18202E; background: var(--avy-ink); color: #fff; }
.pain-card--dark .pain-card__label { color: var(--avy-accent); }
.pain-card__stage { position: relative; height: 266px; margin-top: 14px; }
.pain-card__stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pain-node {
  position: absolute; transform: translate(-50%, -50%);
  background: #fff; border: 1px solid #E6E9EE; border-radius: 10px; padding: 9px 13px;
  font-size: 13px; font-weight: 500; color: var(--avy-text-soft);
  box-shadow: 0 6px 16px -10px rgba(11, 17, 30, .3); white-space: nowrap;
}
.pain-node--alert {
  background: #FCEDED; border: 1px solid #F3D2D2; color: #C0383C; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.pain-node--alert .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--avy-red); display: inline-block; animation: avyPulse 2s infinite; }

.hub-node { position: absolute; top: 16px; background: #121A28; border: 1px solid #232E40; border-radius: 9px; padding: 8px 12px; font-size: 12.5px; font-weight: 500; }
.hub-node--tl { top: 16px; left: 16px; }
.hub-node--tr { top: 16px; right: 16px; }
.hub-node--bl { bottom: 14px; left: 14px; top: auto; }
.hub-node--br { bottom: 14px; right: 14px; top: auto; }
.hub-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.hub-center__ring { position: relative; width: 74px; height: 74px; }
.hub-center__ping {
  position: absolute; top: 50%; left: 50%; width: 74px; height: 74px; border-radius: 18px;
  background: var(--avy-accent); animation: avyPing 2.8s cubic-bezier(.2, .6, .4, 1) infinite;
}
.hub-center__ping--2 { animation-delay: 1.4s; }
.hub-center__core {
  position: relative; width: 74px; height: 74px; border-radius: 18px; background: var(--avy-accent);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 8px rgba(var(--avy-accent-rgb), .12), 0 16px 34px -10px rgba(var(--avy-accent-rgb), .5);
}
.hub-center__core img { width: 38px; height: auto; }
.hub-center__label { font-size: 10.5px; letter-spacing: .1em; color: #9AA3B2; }

.pain-cards { margin-top: 24px; }
.pain-item { background: #fff; border: 1px solid var(--avy-line); border-radius: 14px; padding: 22px; }
.pain-item__num { color: #C0383C; font-size: 13px; font-weight: 600; }
.pain-item__title { margin-top: 12px; font-size: 16px; font-weight: 600; line-height: 1.3; }
.pain-item__text { margin-top: 8px; font-size: 13.5px; color: var(--avy-text-soft); line-height: 1.5; }

/* ==========================================================================
   Stats panel ("O custo da falta de controle")
   ========================================================================== */
.stats-panel {
  position: relative; margin-top: 40px; border-radius: 20px; overflow: hidden;
  background: var(--avy-ink); color: #fff; border: 1px solid var(--avy-ink);
}
.stats-panel__bg {
  position: absolute; right: 0; bottom: 0; height: 126%; width: auto; object-fit: contain; object-position: right bottom;
  opacity: .55; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60%); mask-image: linear-gradient(90deg, transparent 0, #000 60%);
  pointer-events: none;
}
.stats-panel__scrim { position: absolute; inset: 0; background: linear-gradient(100deg, #0B111E 40%, rgba(11, 17, 30, .86) 60%, rgba(11, 17, 30, .4) 100%); }
.stats-panel__body { position: relative; padding: 38px 34px; }
.stats-panel__label { font-size: 11.5px; letter-spacing: .16em; color: var(--avy-accent); font-weight: 600; }
.stats-panel__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.stat-tile { background: rgba(255, 255, 255, .04); border: 1px solid #1C2740; border-radius: 14px; padding: 22px; }
.stat-tile__row { display: flex; align-items: baseline; gap: 8px; }
.stat-tile__value { font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: #fff; }
.stat-tile__text { margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: #A9B2C0; }
.stat-tile__text strong { color: #fff; font-weight: 600; }
.stat-tile--danger {
  position: relative; background: rgba(229, 72, 77, .14); border: 1px solid rgba(229, 72, 77, .55);
  box-shadow: 0 0 0 1px rgba(229, 72, 77, .15), 0 14px 34px -16px rgba(229, 72, 77, .6);
}
.stat-tile--danger .stat-tile__value { font-size: 52px; color: #FF6B6E; }
.stat-tile--danger .stat-tile__text { color: #F3C9CB; }
.stat-tile__badge {
  position: absolute; top: 16px; right: 16px; display: flex; align-items: center; gap: 5px;
  background: #E5484D; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .06em; padding: 4px 8px; border-radius: 6px;
}
.stat-tile__prefix { font-size: 13px; color: #FF9FA2; font-weight: 600; margin-bottom: 2px; }
.stats-panel__note {
  display: flex; gap: 13px; align-items: flex-start; margin-top: 26px; padding-top: 22px;
  border-top: 1px solid #1C2740; max-width: 620px;
}
.stats-panel__note-icon {
  flex: none; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px;
  background: rgba(244, 154, 74, .14); border: 1px solid rgba(244, 154, 74, .3);
}
.stats-panel__note p { font-size: 15px; line-height: 1.6; color: #D5DAE3; }
.stats-panel__note p strong { color: #fff; font-weight: 600; }
.stats-panel__source { margin-top: 18px; font-size: 11.5px; color: #6C7689; line-height: 1.5; max-width: 820px; }

/* ==========================================================================
   Sua operação no bolso (mobile showcase)
   ========================================================================== */
.mobile-showcase { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 20px; min-height: 440px; }
.mobile-showcase__glow { position: absolute; inset: 0; background: radial-gradient(80% 70% at 50% 40%, #FBEEE1 0%, transparent 70%); }
.mobile-showcase__phone {
  position: relative; border-radius: 30px; background: var(--avy-ink); padding: 8px;
  box-shadow: 0 30px 60px -22px rgba(11, 17, 30, .5); animation: avyFloat 7s ease-in-out infinite;
}
.mobile-showcase__phone-screen { border-radius: 23px; overflow: hidden; background: #fff; border: 1px solid #1C2740; }
.mobile-showcase__phone-screen img { width: 100%; display: block; }
.mobile-showcase__phone--a { width: 210px; transform: translateY(18px) rotate(-3deg); }
.mobile-showcase__phone--b {
  width: 224px; border-radius: 32px; box-shadow: 0 34px 66px -20px rgba(11, 17, 30, .55); z-index: 2; animation-delay: 1s;
}
.mobile-showcase__phone--b .mobile-showcase__phone-screen { border-radius: 24px; }

/* ==========================================================================
   Filosofia operacional
   ========================================================================== */
.philosophy-card { background: #0E1726; border: 1px solid #1C2740; border-radius: 18px; padding: 30px; }
.philosophy-card__icon {
  display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px;
  background: rgba(244, 154, 74, .12); border: 1px solid rgba(244, 154, 74, .25);
}
.philosophy-card__num { font-size: 12px; color: #6C7689; letter-spacing: .06em; margin-top: 22px; }
.philosophy-card h3 { margin: 6px 0 0; font-size: 22px; font-weight: 600; color: #fff; }
.philosophy-card p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.6; color: #A9B2C0; }

/* ==========================================================================
   Transformação (how it works)
   ========================================================================== */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { font-size: 11.5px; color: var(--avy-text); border: 1px solid #E2E5EA; border-radius: 100px; padding: 6px 12px; }
.chip--dark { background: var(--avy-ink); color: #fff; border-color: var(--avy-ink); font-weight: 600; padding: 8px 15px; font-size: 13px; }
.chip--soft { background: #fff; border: 1px solid #E2E5EA; font-weight: 600; padding: 8px 15px; font-size: 13px; }
.chip-plus { color: #B6BCC6; align-self: center; }

.flow {
  position: relative; margin-top: 48px; border: 1px solid #E7E9EE; border-radius: 18px;
  background: #FBFBFC; padding: 34px 26px; overflow: hidden;
}
.flow__track { position: absolute; top: 54px; left: 26px; right: 26px; height: 2px; background: #E2E5EA; overflow: hidden; }
.flow__comet {
  position: absolute; top: -3px; width: 80px; height: 8px; border-radius: 8px;
  background: linear-gradient(90deg, transparent, var(--avy-accent), transparent);
  animation: avyComet 5.5s linear infinite;
}
.flow__steps { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.flow__step { text-align: center; }
.flow__dot { width: 14px; height: 14px; border-radius: 50%; margin: 0 auto; box-shadow: 0 0 0 5px #fff, 0 0 0 6px #EBEDF1; background: var(--avy-ink); }
.flow__dot--accent { background: var(--avy-accent); }
.flow__step-title { margin-top: 16px; font-size: 14px; font-weight: 600; }
.flow__step-sub { font-size: 10.5px; color: var(--avy-muted); margin-top: 4px; }

.gallery { margin-top: 22px; }
.gallery__card { border: 1px solid #E7E9EE; border-radius: 16px; overflow: hidden; background: #fff; }
.gallery__trigger {
  display: block; width: 100%; padding: 0; border: none; background: var(--avy-bg-soft);
  height: 212px; overflow: hidden; border-bottom: 1px solid #EEF0F4; cursor: zoom-in; position: relative;
}
.gallery__trigger img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform .4s cubic-bezier(.16, .84, .44, 1); }
.gallery__trigger:hover img { transform: scale(1.045); }
.gallery__trigger:focus-visible { outline: 2px solid var(--avy-accent); outline-offset: 2px; }
.gallery__cue {
  position: absolute; top: 12px; right: 12px; display: flex; align-items: center; gap: 5px;
  background: rgba(11, 17, 30, .82); color: #fff; font-size: 11px; font-weight: 600;
  padding: 6px 10px; border-radius: 8px; opacity: 0; transition: opacity .25s;
}
.gallery__trigger:hover .gallery__cue { opacity: 1; }
.gallery__body { padding: 20px; }
.gallery__title { font-size: 16px; font-weight: 600; }
.gallery__text { margin-top: 7px; font-size: 13.5px; color: var(--avy-text-soft); line-height: 1.5; }

/* ==========================================================================
   Radar Executivo (dark)
   ========================================================================== */
.radar { padding: 96px 40px; }
.radar__bg {
  background-image: radial-gradient(circle at 1px 1px, #1b2536 1px, transparent 0);
  background-size: 34px 34px; opacity: .5;
  -webkit-mask-image: radial-gradient(120% 90% at 80% 10%, #000, transparent 70%);
  mask-image: radial-gradient(120% 90% at 80% 10%, #000, transparent 70%);
}
.radar__grid { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; gap: 54px; align-items: center; }
.radar__copy h2 { color: #fff; }
.radar__copy p { margin: 20px 0 0; font-size: 17px; line-height: 1.6; color: #A9B2C0; max-width: 520px; }
.radar__list { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; max-width: 480px; }
.radar__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #D5DAE3; line-height: 1.5; }
.radar__list .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--avy-accent); margin-top: 7px; flex: none; }
.radar__list b { color: #fff; font-weight: 600; }
.radar__cta { margin-top: 34px; padding: 15px 26px; font-size: 15px; box-shadow: 0 12px 30px rgba(var(--avy-accent-rgb), .3); }

.radar-panel {
  border: 1px solid #1E293B; background: linear-gradient(180deg, #0E1726, #0B111E);
  border-radius: 18px; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .7); overflow: hidden;
}
.radar-panel__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid #1A2436; }
.radar-panel__head-left { display: flex; align-items: center; gap: 10px; }
.radar-panel__live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--avy-green); display: block; box-shadow: 0 0 0 4px rgba(43, 168, 74, .15); }
.radar-panel__head-label { font-size: 12px; letter-spacing: .12em; color: #cbd3df; }
.radar-panel__live { font-size: 11px; color: #6C7689; }
.radar-panel__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #1A2436; }
.radar-panel__stat { background: #0E1726; padding: 16px 18px; }
.radar-panel__stat-label { font-size: 10.5px; color: #6C7689; letter-spacing: .1em; }
.radar-panel__stat-value { font-size: 26px; font-weight: 600; margin-top: 4px; }
.radar-panel__stat-value--accent { color: var(--avy-accent); }
.radar-panel__list { padding: 14px; }
.radar-incident {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 15px;
  border-radius: 12px; margin-top: 8px; border: 1px solid #1C2740;
}
.radar-incident:first-child { margin-top: 0; }
.radar-incident--critical {
  background: rgba(229, 72, 77, .08); border-color: rgba(229, 72, 77, .28); overflow: hidden;
}
.radar-incident--critical::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--avy-red); }
.radar-incident--resolved { opacity: .8; }
.radar-incident__dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.radar-incident__dot--pulse { animation: avyPulse 2s infinite; }
.radar-incident__body { flex: 1; min-width: 0; }
.radar-incident__title { font-size: 14.5px; font-weight: 600; }
.radar-incident__sub { font-size: 11px; color: var(--avy-muted); margin-top: 3px; }
.radar-incident__meta { text-align: right; flex: none; }
.radar-incident__tag { font-size: 11px; font-weight: 700; }
.radar-incident__owner { font-size: 11px; color: var(--avy-muted); margin-top: 3px; }

/* ==========================================================================
   IA aplicada
   ========================================================================== */
.ai-card { border-radius: 18px; padding: 30px; display: flex; flex-direction: column; }
.ai-card--today { border: 1px solid var(--avy-line); background: #fff; }
.ai-card--future { border: 1px dashed #C9CFD8; background: #FBFBFC; }
.ai-card__status { display: flex; align-items: center; gap: 10px; }
.ai-card__status-dot { width: 8px; height: 8px; border-radius: 50%; }
.ai-card__status-label { font-size: 11.5px; letter-spacing: .14em; font-weight: 600; }
.ai-card--today .ai-card__status-dot { background: var(--avy-green); }
.ai-card--today .ai-card__status-label { color: var(--avy-green); }
.ai-card--future .ai-card__status-dot { background: var(--avy-accent); }
.ai-card--future .ai-card__status-label { color: var(--avy-accent); }
.ai-card h3 { margin: 14px 0 0; font-size: 21px; font-weight: 600; }
.ai-check-list { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.ai-check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: #2B3442; }
.ai-check-list .mark {
  flex: none; width: 20px; height: 20px; border-radius: 6px; background: #EAF6EE; color: var(--avy-green);
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; margin-top: 1px;
}
.ai-card__footer { margin-top: auto; padding-top: 22px; }
.ai-card__footer-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--avy-text-soft);
  background: #F4F6F8; border: 1px solid #E7E9EE; border-radius: 8px; padding: 8px 12px;
}
.ai-card__footer-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--avy-green); }
.agent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.agent-card { border: 1px solid #E7E9EE; background: #fff; border-radius: 12px; padding: 15px; }
.agent-card__label { font-size: 10.5px; color: var(--avy-muted); }
.agent-card__name { margin-top: 5px; font-size: 14.5px; font-weight: 600; }
.exec-layer {
  margin-top: 12px; border: 1px solid #21304b; background: var(--avy-ink); border-radius: 12px;
  padding: 16px 17px; color: #fff;
}
.exec-layer__label { font-size: 10.5px; color: var(--avy-accent); }
.exec-layer__name { margin-top: 5px; font-size: 14.5px; font-weight: 600; }
.ai-card__note { font-size: 11.5px; color: var(--avy-muted); }
.ai-quote {
  margin-top: 34px; border-left: 3px solid var(--avy-accent); padding: 6px 0 6px 24px; max-width: 860px;
}
.ai-quote p { font-size: 22px; line-height: 1.45; font-weight: 500; letter-spacing: -.01em; }

/* ==========================================================================
   Parceria ativa
   ========================================================================== */
.step-card { background: #fff; border: 1px solid var(--avy-line); border-radius: 16px; padding: 24px; }
.step-card--active { outline: 1px solid var(--avy-accent); outline-offset: -1px; }
.step-card__num { font-size: 34px; font-weight: 600; color: #E1E4E9; line-height: 1; }
.step-card--active .step-card__num { color: var(--avy-accent); }
.step-card__title { margin-top: 14px; font-size: 16.5px; font-weight: 600; }
.step-card__text { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--avy-text-soft); }
.partnership__note { margin-top: 30px; font-size: 17px; line-height: 1.55; color: var(--avy-text); max-width: 640px; }

/* ==========================================================================
   Perfis (tabs)
   ========================================================================== */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.tab {
  cursor: pointer; border: 1px solid #E2E5EA; background: #fff; color: var(--avy-text);
  font-size: 14.5px; font-weight: 600; padding: 12px 20px; border-radius: 10px; transition: all .2s;
}
.tab.is-active { border-color: var(--avy-ink); background: var(--avy-ink); color: #fff; }
.tab-panels {
  margin-top: 22px; border: 1px solid #E7E9EE; border-radius: 18px; background: #fff;
  overflow: hidden;
}
.tab-panel { display: none; grid-template-columns: 1fr 1fr; }
.tab-panel.is-active { display: grid; }
.tab-panel__intro { padding: 38px 40px; border-right: 1px solid #EEF0F4; }
.tab-panel__label { font-size: 11px; letter-spacing: .14em; color: var(--avy-muted); }
.tab-panel__intro h3 { margin: 14px 0 0; font-size: 27px; font-weight: 600; line-height: 1.2; }
.tab-panel__intro p { margin: 16px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--avy-text-soft); }
.tab-panel__list { padding: 38px 40px; display: flex; flex-direction: column; gap: 16px; background: #FBFBFC; }
.tab-panel__item { display: flex; gap: 12px; align-items: flex-start; }
.tab-panel__item .dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--avy-accent); margin-top: 8px; }
.tab-panel__item-title { font-size: 15.5px; font-weight: 600; }
.tab-panel__item-sub { font-size: 13.5px; color: var(--avy-text-soft); margin-top: 3px; }

/* ==========================================================================
   Origem / autoridade
   ========================================================================== */
.origin__grid { grid-template-columns: 1.05fr .95fr; align-items: center; }
.origin__title h2 { font-size: 38px; line-height: 1.12; }
.origin__quote { margin-top: 22px; font-size: 21px; line-height: 1.55; font-weight: 500; letter-spacing: -.01em; color: #1A2230; }
.origin__media { display: flex; justify-content: center; }
.origin__image { width: 100%; max-width: 420px; height: auto; border-radius: 18px; display: block; }
.origin__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.origin__card { background: #fff; border: 1px solid var(--avy-line); border-radius: 14px; padding: 18px; }
.origin__card-label { font-size: 11px; color: var(--avy-muted); }
.origin__card-text { margin-top: 6px; font-size: 15px; font-weight: 600; line-height: 1.35; }

/* ==========================================================================
   Comunidade
   ========================================================================== */
.community__grid { grid-template-columns: 1.02fr .98fr; align-items: center; }
.community__copy p { margin: 20px 0 0; font-size: 17px; line-height: 1.6; color: var(--avy-text); max-width: 520px; }
.community__copy p.small { font-size: 14.5px; color: #7A8290; }
.community__stats { display: flex; align-items: center; gap: 22px; margin-top: 30px; }
.community__stat-value { font-size: 38px; font-weight: 600; line-height: 1; }
.community__stat-label { font-size: 11px; color: var(--avy-muted); margin-top: 2px; }
.community__divider { width: 1px; height: 42px; background: var(--avy-line); }

.community__illustration {
  position: relative; border: 1px solid #E7E9EE; border-radius: 18px; background: #FBFBFC;
  padding: 30px; min-height: 330px; overflow: hidden;
}
.community__illustration svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .75; }
.community__hub-ping {
  position: absolute; top: 50%; left: 50%; width: 78px; height: 78px; border-radius: 20px;
  background: var(--avy-accent); animation: avyPing 3s cubic-bezier(.2, .6, .4, 1) infinite;
}
.community__hub-ping--2 { animation-delay: 1.5s; }
.community__hub-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 78px; height: 78px; border-radius: 20px; background: var(--avy-ink);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 18px 36px -12px rgba(11, 17, 30, .4);
}
.community__hub-core img { width: 40px; height: auto; }
.community__chip {
  position: absolute; transform: translate(-50%, -50%);
  background: #fff; border: 1px solid #E6E9EE; border-radius: 100px; padding: 7px 13px;
  font-size: 12.5px; font-weight: 600; box-shadow: 0 8px 18px -10px rgba(11, 17, 30, .3);
  white-space: nowrap; animation: avyChipFloat 5s ease-in-out infinite;
}

/* ==========================================================================
   Case Minerale
   ========================================================================== */
.case__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.case__tag { font-size: 11.5px; color: #374151; border: 1px solid var(--avy-line); border-radius: 100px; padding: 7px 13px; }
.case-card { border: 1px solid var(--avy-line); border-radius: 18px; background: #fff; padding: 30px; }
.case-card__label { font-size: 11px; letter-spacing: .14em; color: #9AA1AC; }
.case-card h3 { margin: 12px 0 0; font-size: 20px; font-weight: 600; color: var(--avy-ink); }
.case-card__list { display: flex; flex-direction: column; gap: 13px; margin-top: 18px; }
.case-card__list li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--avy-ink-soft); }
.case-card__list .bullet { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--avy-ink); margin-top: 8px; }
.case-card__list .check {
  flex: none; width: 15px; height: 15px; border-radius: 5px; background: var(--avy-ink); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 9px; margin-top: 3px;
}
.case-testimonial { margin-top: 22px; background: var(--avy-ink); border-radius: 18px; padding: 40px; color: #fff; }
.case-testimonial__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.case-testimonial__label { font-size: 11px; letter-spacing: .14em; color: var(--avy-muted); }
.case-testimonial__logo { height: 30px; width: auto; display: block; opacity: .92; }
.case-testimonial__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 26px; }
.case-testimonial__col { border-left: 2px solid #1C2740; padding-left: 20px; }
.case-testimonial__col-label { font-size: 10.5px; letter-spacing: .14em; color: var(--avy-accent); }
.case-testimonial__quote { margin-top: 12px; font-size: 17.5px; line-height: 1.5; font-weight: 500; color: #fff; }
.case-testimonial__author { display: flex; align-items: center; gap: 11px; margin-top: 16px; }
.case-testimonial__avatar {
  width: 36px; height: 36px; border-radius: 50%; background: #1C2740; display: flex; align-items: center;
  justify-content: center; font-size: 13px; font-weight: 600; color: #fff; flex: none;
}
.case-testimonial__name { font-size: 14px; font-weight: 600; }
.case-testimonial__role { font-size: 12px; color: var(--avy-muted); }

/* ==========================================================================
   O que está incluído
   ========================================================================== */
.included-card { background: #fff; border: 1px solid var(--avy-line); border-radius: 14px; padding: 24px; }
.included-card .mark {
  display: inline-flex; width: 22px; height: 22px; border-radius: 6px; background: #EAF6EE; color: var(--avy-green);
  align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
}
.included-card__title { margin-top: 14px; font-size: 16.5px; font-weight: 600; }
.included-card__text { margin-top: 7px; font-size: 13.5px; line-height: 1.5; color: var(--avy-text-soft); }

/* ==========================================================================
   Contato / CTA final
   ========================================================================== */
.contact { padding: 104px 40px; text-align: center; }
.contact__inner { position: relative; max-width: 900px; margin: 0 auto; }
.contact__bg {
  background-image: linear-gradient(#ffffff0a 1px, transparent 1px), linear-gradient(90deg, #ffffff0a 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(100% 100% at 50% 0%, #000, transparent 75%);
  mask-image: radial-gradient(100% 100% at 50% 0%, #000, transparent 75%);
}
.contact h2 { margin: 20px auto 0; font-size: 44px; line-height: 1.08; font-weight: 600; color: #fff; max-width: 760px; }
.contact p.lede { margin: 22px auto 0; font-size: 18px; line-height: 1.6; color: #A9B2C0; max-width: 600px; }
.contact__cta-row { display: flex; justify-content: center; margin-top: 34px; }
.contact__cta { padding: 17px 30px; font-size: 16px; box-shadow: 0 14px 34px rgba(var(--avy-accent-rgb), .34); border-radius: 13px; }
.contact__note { margin: 18px 0 0; font-size: 12.5px; color: #6C7689; }

.lead { margin-top: 50px; max-width: 640px; margin-left: auto; margin-right: auto; text-align: left; }
.lead__divider { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.lead__divider span.line { flex: 1; height: 1px; background: #1C2740; }
.lead__divider span.label { font-size: 11px; letter-spacing: .14em; color: #6C7689; white-space: nowrap; }

.lead__form { background: #0E1726; border: 1px solid #1C2740; border-radius: 16px; padding: 24px; }
.lead__form.is-hidden { display: none; }
.lead__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead__form input, .lead__form select {
  width: 100%; background: #0B111E; border: 1px solid #243149; border-radius: 10px;
  padding: 13px 14px; color: #fff; font-family: var(--font); font-size: 14px; outline: none;
}
.lead__form input::placeholder { color: #7F8896; }
.lead__form input:focus, .lead__form select:focus { border-color: var(--avy-accent); }
.lead__obras { margin-top: 12px; }
.lead__obras-label { font-size: 10.5px; color: #6C7689; letter-spacing: .12em; margin-bottom: 7px; }
.lead__form-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.lead__form-footer span { font-size: 12px; color: #6C7689; max-width: 320px; line-height: 1.5; }
.lead__submit { padding: 14px 24px; font-size: 15px; border-radius: 11px; box-shadow: 0 10px 26px rgba(var(--avy-accent-rgb), .28); }
.lead__error { margin-top: 12px; font-size: 13px; color: #FF8A8E; display: none; }
.lead__error.is-visible { display: block; }

.lead__success {
  background: #0E1726; border: 1px solid #1C2740; border-radius: 16px; padding: 38px; text-align: center; display: none;
}
.lead__success.is-visible { display: block; }
.lead__success-icon {
  width: 48px; height: 48px; border-radius: 13px; background: rgba(43, 168, 74, .16); color: var(--avy-green);
  display: inline-flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700;
}
.lead__success-title { margin-top: 16px; font-size: 19px; font-weight: 600; color: #fff; }
.lead__success-text { margin-top: 8px; font-size: 14px; color: #A9B2C0; max-width: 380px; margin-left: auto; margin-right: auto; line-height: 1.55; }
.lead__success .btn-primary { margin-top: 18px; padding: 12px 22px; font-size: 14px; border-radius: 11px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #070B12; color: #fff; border-top: 1px solid #161E2B; }
.site-footer__top { padding: 56px 40px 38px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.site-footer__brand img { height: 24px; width: auto; display: block; }
.site-footer__desc { margin: 18px 0 0; font-size: 14px; line-height: 1.6; color: var(--avy-muted); max-width: 280px; }
.site-footer__legal { margin-top: 20px; display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; line-height: 1.55; color: #6C7689; max-width: 300px; }
.site-footer__legal .name { color: var(--avy-muted); font-weight: 600; }
.site-footer__socials { display: flex; gap: 10px; margin-top: 20px; }
.social-icon {
  width: 38px; height: 38px; border-radius: 9px; border: 1px solid #24303F; color: #C4CBD6;
  display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s, color .2s;
}
.social-icon:hover { background: var(--avy-accent); border-color: var(--avy-accent); color: #fff; }
.site-footer__col-label { font-size: 11px; letter-spacing: .12em; color: #5B6573; }
.site-footer__links { display: flex; flex-direction: column; gap: 11px; margin-top: 16px; font-size: 14px; color: #C4CBD6; }
.site-footer__highlight-link { color: var(--avy-accent) !important; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.site-footer__new-tag { font-size: 10px; font-weight: 700; letter-spacing: .05em; padding: 2px 7px; border-radius: 99px; background: rgba(var(--avy-accent-rgb), .15); color: var(--avy-accent); }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center;
  margin-top: 42px; padding-top: 24px; border-top: 1px solid #161E2B;
}
.site-footer__copy { font-size: 12px; color: #5B6573; }
.site-footer__meta-links { display: flex; gap: 22px; font-size: 13px; color: var(--avy-muted); }

/* ==========================================================================
   WhatsApp float button
   ========================================================================== */
.whatsapp-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 120; width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px -6px rgba(37, 211, 102, .5), 0 4px 10px rgba(11, 17, 30, .18);
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 34px -8px rgba(37, 211, 102, .55); }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 300; background: rgba(7, 11, 18, .88);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: clamp(12px, 4vw, 56px);
}
.lightbox.is-open { display: flex; }
.lightbox__close, .lightbox__nav {
  position: absolute; z-index: 2; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08);
  color: #fff; cursor: pointer;
}
.lightbox__close { top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 11px; font-size: 22px; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; font-size: 22px; line-height: 1; transition: background .2s, color .2s; }
.lightbox__nav:hover { background: #fff; color: var(--avy-ink); }
.lightbox__prev { left: clamp(8px, 2vw, 28px); }
.lightbox__next { right: clamp(8px, 2vw, 28px); }
.lightbox__body { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 1200px; width: 100%; }
.lightbox__frame {
  width: 100%; max-height: 78vh; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .7); background: var(--avy-ink);
  display: flex; align-items: center; justify-content: center;
}
.lightbox__frame img { max-width: 100%; max-height: 78vh; width: auto; height: auto; display: block; object-fit: contain; }
.lightbox__meta { display: flex; align-items: center; gap: 14px; color: #fff; }
.lightbox__caption { font-size: 15px; font-weight: 600; }
.lightbox__counter { font-size: 12.5px; color: #9AA3B2; border: 1px solid rgba(255, 255, 255, .18); border-radius: 100px; padding: 3px 10px; }

/* ==========================================================================
   Calendly modal
   ========================================================================== */
.modal {
  display: none; position: fixed; inset: 0; z-index: 200; background: rgba(7, 11, 18, .62);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 24px;
}
.modal.is-open { display: flex; }
.modal__card {
  width: 720px; max-width: 100%; height: 90vh; max-height: 860px; background: #fff; border-radius: 18px;
  overflow: hidden; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); display: flex; flex-direction: column;
}
.modal__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid #EEF0F4; flex: none; }
.modal__head-left { display: flex; align-items: center; gap: 11px; }
.modal__icon { width: 34px; height: 34px; border-radius: 9px; background: var(--avy-ink); display: flex; align-items: center; justify-content: center; }
.modal__icon img { width: 18px; height: auto; }
.modal__title { font-size: 15px; font-weight: 600; }
.modal__subtitle { font-size: 11px; color: var(--avy-muted); }
.modal__close {
  cursor: pointer; width: 36px; height: 36px; border: 1px solid #E6E9EE; background: #fff; border-radius: 9px;
  font-size: 18px; color: var(--avy-text); line-height: 1;
}
.modal__body { flex: 1; min-height: 0; background: var(--avy-bg-soft); display: flex; flex-direction: column; overflow: hidden; }
.modal__scroll { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; }
#avy-calendly { height: 100%; min-height: 0; width: 100%; position: relative; }
#avy-calendly .calendly-inline-widget { height: 100% !important; min-width: 320px; }
#avy-calendly .calendly-inline-widget iframe { height: 100% !important; width: 100% !important; }
.modal__fallback {
  flex: none; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px;
  border-top: 1px solid #EAECF0; background: #fff; font-size: 12.5px; color: var(--avy-text-soft);
}
.modal__fallback a { color: var(--avy-accent); font-weight: 600; }

/* ==========================================================================
   Legal pages (Privacidade / Termos)
   ========================================================================== */
.legal-header {
  position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--avy-line);
}
.legal-header__bar { max-width: 1000px; margin: 0 auto; padding: 0 40px; height: 66px; display: flex; align-items: center; justify-content: space-between; }
.legal-header__logo img { height: 22px; width: auto; display: block; }
.legal-header__back { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--avy-text); }
.legal-main { max-width: 840px; margin: 0 auto; padding: 64px 40px 96px; }
.legal-kicker { font-size: 12px; letter-spacing: .16em; color: #B26A22; font-weight: 600; }
.legal-main h1 { margin: 16px 0 0; font-size: 40px; line-height: 1.08; font-weight: 800; color: var(--avy-ink); }
.legal-lede { margin: 18px 0 0; font-size: 16px; line-height: 1.65; color: var(--avy-text-soft); }
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.legal-meta span { font-size: 12px; color: var(--avy-text-soft); background: #fff; border: 1px solid var(--avy-line); border-radius: 100px; padding: 7px 13px; }
.legal-hr { border: none; border-top: 1px solid var(--avy-line); margin: 40px 0 44px; }
.legal-main section + section { margin-top: 40px; }
.legal-main h2 { font-size: 22px; font-weight: 700; color: var(--avy-ink); letter-spacing: -.01em; }
.legal-main h3 { font-size: 16px; font-weight: 600; color: var(--avy-ink); margin-top: 22px; }
.legal-main p { font-size: 15px; line-height: 1.7; color: var(--avy-ink-soft); margin-top: 14px; }
.legal-main ul { margin: 14px 0 0; padding-left: 22px; list-style: disc; }
.legal-main li { font-size: 15px; line-height: 1.7; color: var(--avy-ink-soft); }
.legal-main a { color: #B26A22; font-weight: 600; }
.legal-main a:hover { text-decoration: underline; }
.legal-note { background: #fff; border: 1px solid var(--avy-line); border-left: 3px solid var(--avy-ink); border-radius: 10px; padding: 16px 18px; margin-top: 16px; }
.legal-note p { font-size: 14px; color: var(--avy-text); line-height: 1.65; margin-top: 0; }
.legal-table-wrap { margin-top: 16px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 13.5px; background: #fff; border: 1px solid var(--avy-line); border-radius: 12px; overflow: hidden; }
.legal-table th { text-align: left; background: var(--avy-ink); color: #fff; font-weight: 600; padding: 12px 14px; font-size: 12px; letter-spacing: .02em; vertical-align: top; }
.legal-table td { padding: 12px 14px; border-top: 1px solid #EEF0F4; color: var(--avy-ink-soft); line-height: 1.5; vertical-align: top; }
.legal-table tr:nth-child(even) td { background: #FBFBFC; }
.legal-hint { color: var(--avy-muted); font-style: italic; font-size: 12px; display: block; margin-top: 4px; }
.legal-footer {
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--avy-line);
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
}
.legal-footer span { font-size: 13px; color: var(--avy-muted); }
.legal-footer a { font-size: 14px; font-weight: 600; color: #B26A22; }

body.legal-body { background: var(--avy-bg-soft); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .site-header__nav, .site-header__actions .login-link { display: none !important; }
  .burger { display: inline-flex !important; }
  .hero__grid, .radar__grid, .community__grid, .origin__grid, .ai__grid, .grid-2.split, .tab-panel {
    grid-template-columns: 1fr !important;
    gap: 46px;
  }
  .tab-panel { gap: 0 !important; }
  .stats-panel__grid, .case-testimonial__grid { grid-template-columns: 1fr !important; }
  .grid-3 { grid-template-columns: 1fr !important; }
  .grid-2 { grid-template-columns: 1fr !important; }
  .flow__steps { display: flex !important; flex-direction: column !important; }
  .container, .section, .hero, .radar, .contact, .site-footer__top, .legal-header__bar, .legal-main {
    padding-left: 20px !important; padding-right: 20px !important;
  }
  .hero__line-erp { font-size: 18px !important; }
  .hero__line-a, .hero__line-b { font-size: 34px !important; }
  /* Float cards overflowam com right:-8px/-14px — decoração desnecessária em mobile */
  .hero__visual { min-height: 280px !important; }
  /* mobile-showcase: 2 phones (454px) excedem viewport — exibe só o principal centralizado */
  .mobile-showcase { justify-content: center !important; overflow: hidden !important; }
  .mobile-showcase__phone--a { display: none !important; }
  .mobile-showcase__phone--b { width: 260px !important; }
  /* footer grid: 4 colunas nunca colapsava em mobile */
  .site-footer__grid { grid-template-columns: 1fr 1fr !important; gap: 32px 24px !important; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr 1fr !important; }
  .modal__card { width: 94vw !important; }
  .mobile-showcase__phone--b { width: 220px !important; }
  .site-footer__grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 720px) {
  .legal-main h1 { font-size: 30px !important; }
  .legal-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .legal-table { min-width: 620px; }
}
