/* AdegaPro Home — layout moderno */
.page-home,
.page-plans,
.page-integrations,
.page-assinar,
.page-landing,
.page-blog,
.page-legal,
.page-confirm {
  --home-radius: 1.25rem;
  --home-shadow: 0 24px 48px rgba(16, 24, 40, 0.08);
  --home-muted: #5c6570;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

/* Header/footer: see assets/css/layout.css (via styles.css) */

/* Hero */
.hero-modern {
  position: relative;
  padding: 4.5rem 0 4.75rem;
  overflow: hidden;
  background: linear-gradient(155deg, #0c3d5c 0%, #1a6a96 38%, #227cb1 72%, #1e5f87 100%);
}
.hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 15% -5%, rgba(255, 255, 255, 0.16), transparent 58%),
    radial-gradient(ellipse 45% 35% at 92% 88%, rgba(255, 183, 3, 0.14), transparent 52%),
    radial-gradient(ellipse 30% 25% at 75% 15%, rgba(49, 166, 93, 0.1), transparent 50%);
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image:
    linear-gradient(rgba(255,255,255,.9) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.9) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black, transparent 85%);
}
.hero-copy {
  animation: hero-fade-up 0.7s ease both;
}
.hero-showcase {
  animation: hero-fade-up 0.7s 0.12s ease both;
}
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
  padding: 0.35rem 0.85rem 0.35rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.hero-eyebrow-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25);
  animation: hero-pulse 2s ease infinite;
}
@keyframes hero-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
.hero-title {
  font-size: clamp(2.05rem, 4.8vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
}
.hero-lead {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 36rem;
  line-height: 1.7;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  padding: 0.8rem 1.35rem;
  border-radius: 0.625rem;
  border: none;
  color: #0f172a !important;
  background: linear-gradient(135deg, #ffb703 0%, #ffd24d 100%);
  box-shadow: 0 4px 18px rgba(255, 183, 3, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 183, 3, 0.45);
  color: #0f172a !important;
}
.btn-hero-primary i { transition: transform 0.2s ease; }
.btn-hero-primary:hover i { transform: translateX(3px); }
.btn-hero-secondary {
  font-weight: 600;
  padding: 0.8rem 1.35rem;
  border-radius: 0.625rem;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff !important;
  transform: translateY(-1px);
}
.hero-cta-note {
  margin-top: 0.85rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.72);
}
.hero-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.hero-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.45;
}
.hero-checklist i {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: #4ade80;
  font-size: 1rem;
}
/* Fora do hero (fundo claro) — evita texto branco invisível */
.hero-checklist--light li {
  color: #344054;
}
.hero-checklist--light i {
  color: var(--ap-success, #039855);
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-metric {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.hero-metric strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.hero-metric span {
  font-size: 0.72rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.68);
}

/* Hero showcase — mock PDV interativo */
.hero-showcase {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.hero-screen {
  border-radius: 1.125rem;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.06),
    0 24px 56px rgba(0, 0, 0, 0.22);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.hero-showcase:hover .hero-screen {
  transform: translateY(-3px);
  box-shadow:
    0 8px 12px rgba(0, 0, 0, 0.08),
    0 32px 64px rgba(0, 0, 0, 0.26);
}
.hero-screen-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: #e8edf2;
  border-bottom: 1px solid #d0d7de;
  font-size: 0.75rem;
}
.hero-screen-dots {
  display: inline-flex;
  gap: 0.35rem;
}
.hero-screen-dots i {
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #c5cdd6;
}
.hero-screen-dots i:nth-child(1) { background: #ff5f57; }
.hero-screen-dots i:nth-child(2) { background: #febc2e; }
.hero-screen-dots i:nth-child(3) { background: #28c840; }
.hero-screen-url {
  flex: 1;
  text-align: center;
  padding: 0.3rem 0.75rem;
  border-radius: 0.375rem;
  background: #fff;
  color: #64748b;
  font-weight: 500;
  font-size: 0.7rem;
}
.hero-screen-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #31a65d;
  font-weight: 700;
  font-size: 0.68rem;
  white-space: nowrap;
}
.hero-live-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #31a65d;
  animation: hero-pulse 1.8s ease infinite;
}
.hero-screen-body {
  padding: 1rem 1.1rem 1.1rem;
  color: #1e293b;
}
.hero-screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}
.hero-screen-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ap-primary);
}
.hero-screen-shift {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(34, 124, 177, 0.1);
  color: var(--ap-primary);
}
.hero-cart {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.hero-cart-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.5rem;
  background: #fff;
  border: 1px solid #e8edf2;
  font-size: 0.8rem;
  animation: hero-line-in 0.5s ease both;
}
.hero-cart-line:nth-child(2) { animation-delay: 0.08s; }
@keyframes hero-line-in {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}
.hero-cart-name { font-weight: 600; color: #334155; }
.hero-cart-price { font-weight: 700; color: #0f172a; white-space: nowrap; }
.hero-cart-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0.65rem 0.1rem;
  margin-bottom: 0.75rem;
  border-top: 1px dashed #cbd5e1;
  font-size: 0.8rem;
  color: #64748b;
}
.hero-cart-total strong {
  font-size: 1.15rem;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.hero-payment-stage {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.625rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  transition: border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}
.hero-payment-stage.is-processing {
  border-color: rgba(34, 124, 177, 0.35);
  box-shadow: 0 0 0 3px rgba(34, 124, 177, 0.08);
}
.hero-payment-stage.is-approved {
  border-color: rgba(49, 166, 93, 0.4);
  background: rgba(49, 166, 93, 0.06);
  box-shadow: 0 0 0 3px rgba(49, 166, 93, 0.1);
}
.hero-payment-stage-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: rgba(34, 124, 177, 0.12);
  color: var(--ap-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: background 0.3s ease, color 0.3s ease;
}
.hero-payment-stage.is-approved .hero-payment-stage-icon {
  background: rgba(49, 166, 93, 0.15);
  color: #31a65d;
}
.hero-payment-stage-copy { flex: 1; min-width: 0; }
.hero-payment-stage-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
  margin-bottom: 0.1rem;
}
.hero-payment-stage.is-approved .hero-payment-stage-label { color: #31a65d; }
.hero-payment-stage-method {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}
.hero-payment-stage-status {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #94a3b8;
  transition: color 0.3s ease, transform 0.3s ease;
}
.hero-payment-stage.is-processing .hero-payment-stage-status {
  color: var(--ap-primary);
  animation: hero-spin 1s linear infinite;
}
.hero-payment-stage.is-approved .hero-payment-stage-status {
  color: #31a65d;
  animation: none;
  transform: scale(1.1);
}
@keyframes hero-spin {
  to { transform: rotate(360deg); }
}
.hero-nfce-strip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.65rem;
  padding: 0.5rem 0.65rem;
  border-radius: 0.5rem;
  background: #f1f5f9;
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  transition: background 0.35s ease, color 0.35s ease;
}
.hero-nfce-strip i { font-size: 0.9rem; }
.hero-nfce-strip.is-ready {
  background: rgba(49, 166, 93, 0.12);
  color: #1d6b3a;
}
.hero-nfce-strip.is-ready i { color: #31a65d; }
.hero-showcase-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
}
.hero-showcase-hint i {
  font-size: 0.95rem;
  animation: hero-wiggle 2.5s ease infinite;
}
@keyframes hero-wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-8deg); }
  75% { transform: rotate(8deg); }
}
.hero-pay-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
}
.hero-pay-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.65rem 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.hero-pay-tile i {
  font-size: 1.15rem;
  transition: transform 0.22s ease;
}
.hero-pay-tile:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.38);
}
.hero-pay-tile:hover i { transform: scale(1.08); }
.hero-pay-tile.active {
  background: #fff;
  color: var(--ap-primary);
  border-color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
  transform: translateY(-2px);
}
.hero-pay-tile.active i { color: var(--ap-primary); }
.hero-pay-tile:focus-visible {
  outline: 2px solid #ffb703;
  outline-offset: 2px;
}
.hero-pay-detail-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 0.875rem;
  background: rgba(255, 255, 255, 0.97);
}
.hero-pay-progress {
  height: 3px;
  background: rgba(34, 124, 177, 0.12);
}
.hero-pay-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--ap-primary), #4ade80);
  transition: width 0.1s linear;
}
.hero-pay-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.95rem 1.1rem;
  color: var(--ap-text);
  min-height: 5rem;
  transition: opacity 0.28s ease;
}
.hero-pay-detail.is-fading { opacity: 0.35; }
.hero-pay-detail-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  background: rgba(34, 124, 177, 0.1);
  color: var(--ap-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.hero-pay-detail-title {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
  color: #0f4d72;
}
.hero-pay-detail-text {
  font-size: 0.8125rem;
  color: var(--home-muted);
  line-height: 1.55;
}
@media (max-width: 1199.98px) {
  .hero-pay-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575.98px) {
  .hero-modern { padding: 3.5rem 0 3.75rem; }
  .hero-metrics { grid-template-columns: 1fr; gap: 0.65rem; }
  .hero-pay-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-cta-group .btn { width: 100%; justify-content: center; }
}

/* Hero de páginas internas (todas exceto index) */
.hero-page {
  position: relative;
  padding: 0;
  overflow: hidden;
  color: #fff;
}
.hero-page-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(128deg, #062636 0%, #0f4d6e 38%, #1a6a96 68%, #227cb1 100%);
}
.hero-page-bg .hero-ambient,
.hero-page-bg .hero-grid-bg {
  position: absolute;
  inset: 0;
}
.hero-page-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
}
.hero-page-orb--1 {
  width: min(320px, 45vw);
  height: min(320px, 45vw);
  top: -12%;
  right: 6%;
  background: rgba(255, 183, 3, 0.28);
}
.hero-page-orb--2 {
  width: min(240px, 35vw);
  height: min(240px, 35vw);
  bottom: 8%;
  left: 4%;
  background: rgba(74, 222, 128, 0.18);
}
.hero-page-body {
  position: relative;
  padding: 1.75rem 0 3.25rem;
}
.hero-page-curve {
  position: relative;
  z-index: 1;
  display: block;
  height: 3.5rem;
  margin-top: -1px;
  background: #fff;
  clip-path: ellipse(105% 100% at 50% 100%);
}
.page-blog .hero-page-curve,
.page-blog-article .hero-page-curve,
.page-legal .hero-page-curve {
  background: #f8fafc;
}
.page-landing .hero-page-curve {
  background: #fff;
}

.hero-page-breadcrumb {
  margin-bottom: 1.15rem;
}
.hero-page-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8125rem;
}
.hero-page-breadcrumb a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s ease;
}
.hero-page-breadcrumb a:hover {
  color: #fff;
}
.hero-page-breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
}
.hero-page-breadcrumb [aria-current="page"] {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.hero-page-main {
  animation: hero-fade-up 0.65s ease both;
}
.hero-page-aside {
  animation: hero-fade-up 0.65s 0.1s ease both;
}
.hero-page .hero-title {
  font-size: clamp(1.85rem, 3.6vw, 2.65rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.hero-page .hero-lead {
  font-size: 1.0625rem;
  max-width: 38rem;
}
.hero-page-panel {
  height: 100%;
  padding: 1.35rem 1.4rem;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
}
.hero-page-panel h2,
.hero-page-panel .h6 {
  color: rgba(255, 255, 255, 0.82) !important;
  letter-spacing: 0.06em;
}
.hero-page-panel .hero-checklist {
  color: rgba(255, 255, 255, 0.92);
}
.hero-page-panel .hero-checklist i {
  color: #4ade80;
}

/* Card sólido na hero: landing-flow-card traz fundo branco — texto escuro */
.hero-page .hero-page-panel.landing-flow-card {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: none;
  box-shadow: 0 20px 50px rgba(6, 38, 54, 0.18);
}
.hero-page .hero-page-panel.landing-flow-card h2,
.hero-page .hero-page-panel.landing-flow-card .h6,
.hero-page .hero-page-panel.landing-flow-card .text-secondary {
  color: #667085 !important;
}
.hero-page .hero-page-panel.landing-flow-card .hero-checklist,
.hero-page .hero-page-panel.landing-flow-card .hero-checklist li {
  color: #344054;
}
.hero-page .hero-page-panel.landing-flow-card .hero-checklist i {
  color: var(--ap-primary);
}

.hero-page--centered .hero-page-main {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.hero-page--centered .hero-eyebrow {
  margin-left: auto;
  margin-right: auto;
}
.hero-page--centered .hero-lead {
  margin-left: auto;
  margin-right: auto;
}
.hero-page--centered .hero-cta-group {
  justify-content: center;
}
.hero-page--centered .hero-cta-note {
  text-align: center;
}
.hero-page--centered .hero-checklist {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-page--short .hero-page-body {
  padding-bottom: 2.5rem;
}
.hero-page--short .hero-title {
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
}

.hero-page--minimal .hero-page-body {
  padding-bottom: 2.35rem;
}
.hero-page--minimal .hero-title {
  font-size: clamp(1.55rem, 3vw, 2.125rem);
}
.hero-page--minimal .hero-lead {
  font-size: 1rem;
}

.hero-page--search .hero-page-aside {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-page--article {
  color: #101828;
  background: linear-gradient(180deg, #eef4f8 0%, #f8fafc 55%, #fff 100%);
}
.hero-page--article .hero-page-bg,
.hero-page--article .hero-page-curve {
  display: none;
}
.hero-page--article .hero-page-body {
  padding: 2rem 0 1.75rem;
}
.hero-page--article .hero-page-breadcrumb a {
  color: #667085;
}
.hero-page--article .hero-page-breadcrumb a:hover {
  color: var(--ap-primary);
}
.hero-page--article .hero-page-breadcrumb li + li::before {
  color: #d0d5dd;
}
.hero-page--article .hero-page-breadcrumb [aria-current="page"] {
  color: #344054;
}
.hero-page--article .hero-title {
  color: #101828;
  font-size: clamp(1.5rem, 3vw, 2.125rem);
}
.hero-page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.875rem;
  color: #667085;
  margin-top: 0.75rem;
}
.hero-page-meta a {
  color: var(--ap-primary);
  text-decoration: none;
  font-weight: 500;
}
.hero-page-meta a:hover {
  text-decoration: underline;
}
.hero-page-meta i {
  margin-right: 0.3rem;
}

@media (max-width: 991.98px) {
  .hero-page-body {
    padding: 1.5rem 0 2.75rem;
  }
  .hero-page-curve {
    height: 2.5rem;
  }
  .hero-page--search .hero-page-aside {
    justify-content: stretch;
  }
  .hero-page--search .blog-hero-search {
    max-width: none;
    width: 100%;
  }
}
@media (max-width: 575.98px) {
  .hero-page .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Legado — manter compatibilidade temporária */
.hero-modern--compact {
  padding: 3.75rem 0 3.25rem;
}
.hero-modern--compact .hero-copy {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}
.hero-modern--compact .hero-cta-group {
  justify-content: center;
}
.hero-modern--compact .hero-checklist {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
}
.hero-modern--compact .hero-metrics {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

/* Trust bar */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 1.25rem 0;
}
.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--home-muted);
  font-size: 0.9rem;
  font-weight: 600;
}
.trust-item i {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 124, 177, 0.1);
  color: var(--ap-primary);
}

/* PDV multi-dispositivo */
.pdv-devices-section {
  --pdv-surface: #ffffff;
  --pdv-text: #0f172a;
  --pdv-text-body: #334155;
  --pdv-text-muted: #475569;
  --pdv-text-subtle: #64748b;
  --pdv-border: #cbd5e1;
  --pdv-border-strong: #94a3b8;
  --pdv-primary-soft: rgba(34, 124, 177, 0.14);
  --pdv-primary-border: rgba(34, 124, 177, 0.45);
  background: linear-gradient(165deg, #dceaf4 0%, #edf4fa 42%, #e4eef6 100%);
  position: relative;
  overflow: hidden;
}
.pdv-devices-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 8% 15%, rgba(34, 124, 177, 0.14), transparent 58%),
    radial-gradient(ellipse 40% 35% at 92% 80%, rgba(15, 77, 114, 0.1), transparent 52%);
  pointer-events: none;
}
.pdv-devices-section .section-label {
  color: #0f4d72;
  background: rgba(34, 124, 177, 0.12);
  border-color: rgba(34, 124, 177, 0.2);
}
.pdv-devices-section .section-title {
  color: var(--pdv-text);
}
.pdv-devices-section .section-lead {
  color: var(--pdv-text-muted);
  font-weight: 500;
}
.pdv-devices-hub { position: relative; }
.pdv-devices-hub > .row > .col-lg-5 {
  padding: 1.35rem 1.35rem 1.5rem;
  background: var(--pdv-surface);
  border-radius: 1.125rem;
  border: 1px solid var(--pdv-border);
  box-shadow: 0 12px 40px rgba(15, 77, 114, 0.1);
}
.pdv-devices-hub > .row > .col-lg-7 {
  padding: 1.35rem 1.25rem 1.5rem;
  background: var(--pdv-surface);
  border-radius: 1.125rem;
  border: 1px solid var(--pdv-border);
  box-shadow: 0 12px 40px rgba(15, 77, 114, 0.1);
}
.pdv-device-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0.4rem;
  margin-bottom: 1.25rem;
  border-radius: 0.875rem;
  background: #f1f5f9;
  border: 1px solid var(--pdv-border);
}
.pdv-device-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 0.5rem;
  border: 1px solid transparent;
  border-radius: 0.625rem;
  background: transparent;
  color: var(--pdv-text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}
.pdv-device-tab i { font-size: 1.25rem; color: var(--pdv-text-subtle); transition: color 0.22s ease; }
.pdv-device-tab:hover {
  color: var(--ap-primary-600);
  background: var(--pdv-primary-soft);
  border-color: rgba(34, 124, 177, 0.2);
}
.pdv-device-tab:hover i { color: var(--ap-primary); }
.pdv-device-tab.active {
  color: #0f4d72;
  background: #fff;
  border-color: var(--pdv-primary-border);
  box-shadow: 0 4px 16px rgba(34, 124, 177, 0.18);
  transform: translateY(-1px);
}
.pdv-device-tab.active i { color: var(--ap-primary); }
.pdv-device-tab:focus-visible {
  outline: 2px solid var(--ap-primary);
  outline-offset: 2px;
}
.pdv-device-panel {
  display: none;
  animation: pdv-panel-in 0.35s ease;
}
.pdv-device-panel.active { display: block; }
@keyframes pdv-panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.pdv-device-panel-title {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--pdv-text);
  margin-bottom: 0.5rem;
}
.pdv-device-panel-text {
  font-size: 0.9375rem;
  color: var(--pdv-text-body);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.pdv-device-points {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.pdv-device-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.875rem;
  color: var(--pdv-text-body);
  line-height: 1.45;
  font-weight: 500;
}
.pdv-device-points i {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: #1a6a97;
  font-weight: 700;
  font-size: 1rem;
}
.pdv-ease-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}
.pdv-ease-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 0.9rem;
  border-radius: 0.75rem;
  background: #f8fafc;
  border: 1px solid var(--pdv-border);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.pdv-ease-card:hover {
  background: #fff;
  border-color: var(--pdv-primary-border);
  box-shadow: 0 8px 20px rgba(15, 77, 114, 0.1);
  transform: translateY(-2px);
}
.pdv-ease-card i {
  font-size: 1.1rem;
  color: #1a6a97;
  margin-bottom: 0.15rem;
}
.pdv-ease-card strong {
  font-size: 0.8125rem;
  color: var(--pdv-text);
}
.pdv-ease-card span {
  font-size: 0.75rem;
  color: var(--pdv-text-muted);
  line-height: 1.4;
  font-weight: 500;
}
.pdv-device-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 22rem;
  margin-bottom: 1.25rem;
  padding: 1.25rem 1rem 0.75rem;
  border-radius: 0.875rem;
  background: linear-gradient(180deg, #f1f6fa 0%, #e8f0f6 100%);
  border: 1px solid var(--pdv-border);
}
.pdv-device-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.pdv-orbit-icon {
  position: absolute;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--pdv-border);
  color: var(--pdv-text-subtle);
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(15, 77, 114, 0.08);
  opacity: 0.7;
  transition: opacity 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.pdv-orbit-icon--desktop { top: 8%; left: 6%; }
.pdv-orbit-icon--tablet { top: 12%; right: 8%; }
.pdv-orbit-icon--mobile { bottom: 18%; left: 10%; }
.pdv-devices-hub.is-device-desktop .pdv-orbit-icon--desktop,
.pdv-devices-hub.is-device-tablet .pdv-orbit-icon--tablet,
.pdv-devices-hub.is-device-mobile .pdv-orbit-icon--mobile {
  opacity: 1;
  color: #fff;
  background: var(--ap-primary);
  border-color: #1a6a97;
  box-shadow: 0 6px 18px rgba(34, 124, 177, 0.35);
  transform: scale(1.08);
}
.pdv-device-frame {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 34rem;
  transition: max-width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.pdv-device-frame--desktop { max-width: 100%; }
.pdv-device-frame--tablet { max-width: 72%; }
.pdv-device-frame--mobile { max-width: 42%; min-width: 11rem; }
.pdv-device-bezel {
  width: 100%;
  border-radius: 0.875rem;
  padding: 0.55rem;
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.2),
    0 20px 48px rgba(15, 23, 42, 0.28);
  transition: border-radius 0.5s ease, padding 0.5s ease;
}
.pdv-device-frame--mobile .pdv-device-bezel {
  border-radius: 1.75rem;
  padding: 0.65rem 0.45rem;
}
.pdv-device-frame--tablet .pdv-device-bezel {
  border-radius: 1.15rem;
}
.pdv-device-stand {
  width: 28%;
  height: 0.65rem;
  margin-top: 0.35rem;
  border-radius: 0 0 0.35rem 0.35rem;
  background: linear-gradient(180deg, #94a3b8, #64748b);
  opacity: 1;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.pdv-device-frame--tablet .pdv-device-stand,
.pdv-device-frame--mobile .pdv-device-stand {
  opacity: 0;
  transform: scaleY(0);
}
.pdv-mock-screen {
  border-radius: 0.5rem;
  overflow: hidden;
  background: #fff;
  transition: border-radius 0.5s ease;
}
.pdv-device-frame--mobile .pdv-mock-screen { border-radius: 1.25rem; }
.pdv-mock-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.55rem;
  background: #e2e8f0;
  font-size: 0.62rem;
  border-bottom: 1px solid #cbd5e1;
}
.pdv-mock-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #22a055;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(34, 160, 85, 0.25);
}
.pdv-mock-url {
  flex: 1;
  text-align: center;
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
  background: #fff;
  color: #334155;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid #e2e8f0;
}
.pdv-mock-sync {
  color: #1a6a97;
  font-size: 0.75rem;
}
.pdv-mock-body { padding: 0.65rem; background: #f8fafc; }
.pdv-mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.55rem;
  font-size: 0.68rem;
  font-weight: 800;
  color: #0f4d72;
}
.pdv-mock-badge {
  font-size: 0.58rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(34, 124, 177, 0.16);
  color: #0f4d72;
  transition: background 0.3s ease, color 0.3s ease;
}
.pdv-mock-badge.is-success {
  background: rgba(34, 160, 85, 0.18);
  color: #166534;
}
.pdv-mock-item,
.pdv-mock-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0.55rem;
  border-radius: 0.4rem;
  background: #fff;
  font-size: 0.65rem;
  margin-bottom: 0.4rem;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-weight: 500;
}
.pdv-mock-item strong { color: #0f172a; font-weight: 800; }
.pdv-mock-total {
  margin-bottom: 0.55rem;
  border: none;
  border-top: 1px dashed var(--pdv-border-strong);
  background: transparent;
  padding-left: 0.1rem;
  padding-right: 0.1rem;
  color: var(--pdv-text-muted);
  font-weight: 600;
}
.pdv-mock-total strong { font-size: 0.85rem; color: #0f172a; }
.pdv-mock-pay {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.55rem;
}
.pdv-mock-pay-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.4rem 0.2rem;
  border-radius: 0.4rem;
  background: #fff;
  border: 1px solid #cbd5e1;
  font-size: 0.55rem;
  font-weight: 700;
  color: #475569;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.pdv-mock-pay-btn i { font-size: 0.85rem; color: #64748b; }
.pdv-mock-pay-btn.is-active {
  border-color: #1a6a97;
  background: rgba(34, 124, 177, 0.14);
  color: #0f4d72;
  transform: scale(1.03);
}
.pdv-mock-pay-btn.is-active i { color: #1a6a97; }
.pdv-mock-footer {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.5rem;
  border-radius: 0.4rem;
  background: rgba(34, 160, 85, 0.14);
  border: 1px solid rgba(34, 160, 85, 0.28);
  font-size: 0.58rem;
  font-weight: 700;
  color: #166534;
}
.pdv-mock-footer i { font-size: 0.75rem; color: #22a055; }
.pdv-device-sync-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pdv-text-body);
  text-align: center;
}
.pdv-device-sync-note i { color: #1a6a97; }
.pdv-pay-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  padding: 0.85rem 0.65rem 0.25rem;
  border-radius: 0.75rem;
  background: #f1f5f9;
  border: 1px solid var(--pdv-border);
}
.pdv-pay-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--pdv-border);
  background: #fff;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}
.pdv-pay-chip i { font-size: 0.95rem; color: #64748b; transition: color 0.22s ease; }
.pdv-pay-chip:hover {
  border-color: var(--pdv-primary-border);
  color: #0f4d72;
  transform: translateY(-1px);
}
.pdv-pay-chip:hover i { color: var(--ap-primary); }
.pdv-pay-chip.active {
  border-color: #1a6a97;
  background: var(--ap-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(34, 124, 177, 0.35);
}
.pdv-pay-chip.active i { color: #fff; }
.pdv-pay-chip:focus-visible {
  outline: 2px solid var(--ap-primary);
  outline-offset: 2px;
}
.pdv-pay-strip-note {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--pdv-text-body);
  line-height: 1.55;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 991.98px) {
  .pdv-devices-hub > .row > .col-lg-5,
  .pdv-devices-hub > .row > .col-lg-7 {
    padding: 1.15rem;
  }
  .pdv-device-stage { min-height: 18rem; margin-bottom: 1.5rem; }
  .pdv-orbit-icon { display: none; }
  .pdv-device-frame--tablet { max-width: 85%; }
  .pdv-device-frame--mobile { max-width: 55%; }
}
@media (max-width: 575.98px) {
  .pdv-ease-grid { grid-template-columns: 1fr; }
  .pdv-device-tab span { font-size: 0.7rem; }
  .pdv-device-frame--mobile { max-width: 68%; }
  .pdv-devices-hub > .row > .col-lg-5,
  .pdv-devices-hub > .row > .col-lg-7 {
    padding: 1rem;
    border-radius: 1rem;
  }
}

/* Tipos de adega */
.adega-types-section {
  --adega-text: #0f172a;
  --adega-text-body: #334155;
  --adega-text-muted: #475569;
  --adega-border: #e2e8f0;
  --adega-surface: #ffffff;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  position: relative;
}
.adega-types-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(34, 124, 177, 0.07), transparent 60%);
  pointer-events: none;
}
.adega-types-hub {
  position: relative;
  padding: 1.35rem;
  border-radius: 1.25rem;
  background: var(--adega-surface);
  border: 1px solid var(--adega-border);
  box-shadow: 0 16px 48px rgba(15, 77, 114, 0.08);
}
.adega-type-picker {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  margin-bottom: 0.85rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.adega-type-picker::-webkit-scrollbar { height: 4px; }
.adega-type-picker::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.adega-type-card {
  flex: 1 0 9.5rem;
  min-width: 9.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1rem 0.9rem;
  border: 1px solid var(--adega-border);
  border-radius: 0.875rem;
  background: #f8fafc;
  color: var(--adega-text-muted);
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, color 0.25s ease;
}
.adega-type-card:hover {
  border-color: rgba(34, 124, 177, 0.35);
  background: #fff;
  transform: translateY(-2px);
}
.adega-type-card.active {
  border-color: var(--ap-primary);
  background: linear-gradient(145deg, #0f4d72 0%, #227cb1 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(34, 124, 177, 0.28);
  transform: translateY(-3px);
}
.adega-type-card:focus-visible {
  outline: 2px solid var(--ap-primary);
  outline-offset: 2px;
}
.adega-type-card-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 124, 177, 0.12);
  color: var(--ap-primary);
  font-size: 1.1rem;
  transition: background 0.25s ease, color 0.25s ease;
}
.adega-type-card.active .adega-type-card-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.adega-type-card-name {
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--adega-text);
}
.adega-type-card.active .adega-type-card-name { color: #fff; }
.adega-type-card-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}
.adega-type-card.active .adega-type-card-tag {
  color: rgba(255, 255, 255, 0.78);
}
.adega-type-progress {
  height: 3px;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  background: rgba(34, 124, 177, 0.1);
  overflow: hidden;
}
.adega-type-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--ap-primary), #4ade80);
  transition: width 0.1s linear;
}
.adega-type-showcase {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
.adega-scenario {
  padding: 1.25rem 1.35rem;
  border-radius: 1rem;
  background: linear-gradient(160deg, #0f4d72 0%, #1a6a96 55%, #227cb1 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.adega-scenario-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
}
.adega-scenario-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.adega-scenario-time {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.adega-scenario-flow {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}
.adega-scenario-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.55;
  transform: translateX(-6px);
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}
.adega-scenario-step.is-active {
  opacity: 1;
  transform: translateX(0);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.adega-scenario-step.is-done {
  opacity: 0.85;
  transform: translateX(0);
}
.adega-scenario-step-num {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.adega-scenario-step.is-active .adega-scenario-step-num,
.adega-scenario-step.is-done .adega-scenario-step-num {
  background: #ffb703;
  color: #0f172a;
}
.adega-scenario-step strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
  line-height: 1.3;
}
.adega-scenario-step span {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}
.adega-scenario-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.adega-scenario-tags span {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.95);
  animation: adega-tag-in 0.35s ease both;
}
@keyframes adega-tag-in {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
.adega-type-detail {
  padding: 1.25rem 1.35rem;
  border-radius: 1rem;
  background: #f8fafc;
  border: 1px solid var(--adega-border);
  display: flex;
  flex-direction: column;
  animation: pdv-panel-in 0.35s ease;
}
.adega-type-detail.is-fading { opacity: 0.4; transition: opacity 0.25s ease; }
.adega-type-detail-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--adega-text);
  margin-bottom: 0.5rem;
}
.adega-type-detail-lead {
  font-size: 0.9375rem;
  color: var(--adega-text-body);
  line-height: 1.65;
  margin-bottom: 0.85rem;
}
.adega-type-detail-fit {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0f4d72;
  padding: 0.65rem 0.75rem;
  border-radius: 0.55rem;
  background: rgba(34, 124, 177, 0.1);
  border: 1px solid rgba(34, 124, 177, 0.18);
  margin-bottom: 1rem;
}
.adega-type-detail-fit i {
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-size: 0.95rem;
}
.adega-type-benefits {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.adega-type-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--adega-text-body);
  line-height: 1.45;
}
.adega-type-benefits i {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  background: rgba(34, 160, 85, 0.15);
  color: #166534;
  margin-top: 0.1rem;
}
.adega-type-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  align-self: flex-start;
  font-weight: 700;
  border-radius: 0.5rem;
  padding: 0.65rem 1.15rem;
}
.adega-type-cta i { transition: transform 0.2s ease; }
.adega-type-cta:hover i { transform: translateX(3px); }
@media (max-width: 991.98px) {
  .adega-type-showcase { grid-template-columns: 1fr; }
  .adega-types-hub { padding: 1rem; }
}
@media (max-width: 575.98px) {
  .adega-type-card { flex: 0 0 8.5rem; min-width: 8.5rem; }
  .adega-type-detail-title { font-size: 1.2rem; }
  .adega-type-cta { width: 100%; }
}

/* Section headers — pill/base em sections-shared.css */
.section-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}
.section-lead { color: var(--home-muted); font-size: 1.05rem; max-width: 36rem; margin: 0 auto; }

/* Bento grid */
.bento-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(12, 1fr);
}
.bento-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--home-radius);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--home-shadow);
  border-color: rgba(34, 124, 177, 0.2);
}
.bento-card.span-4 { grid-column: span 4; }
.bento-card.span-6 { grid-column: span 6; }
.bento-card.span-8 { grid-column: span 8; }
.bento-card.span-12 { grid-column: span 12; }
.bento-card.featured {
  background: linear-gradient(135deg, #227cb1 0%, #1a6a96 100%);
  color: #fff;
  border: none;
}
.bento-card.featured .bento-icon { background: rgba(255,255,255,.15); color: #fff; }
.bento-card.featured p { color: rgba(255,255,255,.85); }
.bento-card.featured .feature-list li::before { color: #4ade80; }
.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: rgba(34, 124, 177, 0.1);
  color: var(--ap-primary);
  margin-bottom: 1rem;
}
@media (max-width: 991.98px) {
  .bento-card.span-4, .bento-card.span-6, .bento-card.span-8 { grid-column: span 12; }
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat-card {
  text-align: center;
  padding: 1.75rem 1rem;
  background: #fff;
  border-radius: var(--home-radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(16,24,40,.07); }
.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ap-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.stat-label { font-size: 0.85rem; color: var(--home-muted); margin-top: 0.35rem; font-weight: 500; }
@media (max-width: 767.98px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* Workflow tabs */
.workflow-panel {
  background: #fff;
  border-radius: var(--home-radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  box-shadow: var(--home-shadow);
}
.workflow-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem;
  background: #f8fafc;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.workflow-tab {
  border: none;
  background: transparent;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--home-muted);
  transition: all 0.25s ease;
}
.workflow-tab:hover { color: var(--ap-primary); background: rgba(34,124,177,.08); }
.workflow-tab.active {
  background: var(--ap-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(34, 124, 177, 0.35);
}
.workflow-content { padding: 2rem; }
.workflow-pane { display: none; animation: fadeIn 0.35s ease; }
.workflow-pane.active { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.step-list { list-style: none; padding: 0; margin: 0; }
.step-list li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.step-list li:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--ap-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Testimonials */
.testimonial-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--home-radius);
  padding: 1.75rem;
  height: 100%;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.testimonial-card:hover {
  box-shadow: var(--home-shadow);
  transform: translateY(-3px);
}
.testimonial-stars { color: var(--ap-accent); letter-spacing: 2px; font-size: 0.9rem; }
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ap-primary), #6ec1ff);
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Integration chips */
.int-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}
.int-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 0.75rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 1rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ap-text);
  transition: all 0.25s ease;
  text-decoration: none;
}
.int-chip i { font-size: 1.5rem; color: var(--ap-primary); }
.int-chip:hover {
  border-color: var(--ap-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(34,124,177,.12);
  color: var(--ap-primary);
}

/* CTA band + FAQ — sections-shared.css */

/* Pricing section */
.section-pricing {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f0f6fb 0%, #fff 38%, #f8fafc 100%);
}
.section-pricing::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 40% at 50% 0%, rgba(34, 124, 177, 0.09), transparent 58%),
    radial-gradient(ellipse 35% 30% at 100% 80%, rgba(255, 183, 3, 0.07), transparent 50%);
  pointer-events: none;
}
.pricing-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1rem;
  margin-bottom: 2rem;
}
.pricing-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e2e8f0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #475569;
}
.pricing-trust i { color: var(--ap-primary); }
.pricing-hub {
  position: relative;
}
.pricing-plan-horizontal {
  margin-bottom: 1.25rem;
  border-radius: 1.125rem;
  background: linear-gradient(135deg, #0f4d72 0%, #1a6a96 45%, #227cb1 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 40px rgba(15, 77, 114, 0.22);
  overflow: hidden;
  position: relative;
}
.pricing-plan-horizontal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 100% 50%, rgba(255, 255, 255, 0.12), transparent 55%);
  pointer-events: none;
}
.pricing-plan-horizontal-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 1.5rem;
  padding: 1.35rem 1.5rem;
}
.pricing-plan-horizontal-main {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1 1 20rem;
  min-width: 0;
}
.pricing-plan-horizontal-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #0f4d72;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.pricing-plan-horizontal-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.25rem;
}
.pricing-plan-horizontal-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.35rem;
  line-height: 1.2;
}
.pricing-plan-horizontal-desc {
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0.65rem;
  max-width: 36rem;
}
.pricing-plan-horizontal-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}
.pricing-plan-horizontal-highlights li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}
.pricing-plan-horizontal-highlights i {
  color: #4ade80;
  font-size: 0.85rem;
}
.pricing-plan-horizontal-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  text-align: center;
}
.pricing-plan-horizontal-price {
  padding: 0.65rem 1rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 9rem;
}
.pricing-plan-horizontal-amount {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
}
.pricing-plan-horizontal-period {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}
.btn-pricing-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.75rem 1.35rem;
  border-radius: 0.5rem;
  border: none;
  color: #fff !important;
  background: #25d366;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-pricing-whatsapp:hover {
  background: #1ebe57;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
}
.btn-pricing-whatsapp i { font-size: 1.15rem; }
@media (max-width: 767.98px) {
  .pricing-plan-horizontal-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 1.15rem 1.15rem 1.25rem;
  }
  .pricing-plan-horizontal-side {
    width: 100%;
    align-items: stretch;
  }
  .pricing-plan-horizontal-price { min-width: 0; }
  .btn-pricing-whatsapp { width: 100%; }
}
.pricing-hub.is-interacting .pricing-plan-card:not(.is-focused) {
  opacity: 0.72;
  transform: scale(0.985);
}
.pricing-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.35rem 1.25rem 1.25rem;
  border-radius: 1.125rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15, 77, 114, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
  overflow: hidden;
}
.pricing-plan-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 180px at var(--x, 50%) var(--y, 0%), rgba(34, 124, 177, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.pricing-plan-card:hover::after,
.pricing-plan-card.is-focused::after { opacity: 1; }
.pricing-plan-card:hover,
.pricing-plan-card.is-focused {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(15, 77, 114, 0.12);
  border-color: rgba(34, 124, 177, 0.3);
}
.pricing-plan-card.is-featured {
  border-color: var(--ap-primary);
  box-shadow: 0 12px 40px rgba(34, 124, 177, 0.18);
}
.pricing-plan-card.is-featured:hover,
.pricing-plan-card.is-featured.is-focused {
  box-shadow: 0 24px 56px rgba(34, 124, 177, 0.22);
}
.pricing-plan-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffb703, #ffc933);
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(255, 183, 3, 0.35);
}
.pricing-plan-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: rgba(34, 124, 177, 0.1);
  color: var(--ap-primary);
  margin-bottom: 0.85rem;
}
.pricing-plan-card.is-featured .pricing-plan-icon {
  background: rgba(34, 124, 177, 0.16);
  color: #0f4d72;
}
.pricing-plan-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin-bottom: 0.45rem;
  padding-right: 0.5rem;
}
.pricing-plan-card.is-recommended .pricing-plan-name { padding-right: 5.5rem; }
.pricing-plan-desc {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #64748b;
  margin-bottom: 1rem;
  flex-grow: 0;
}
.pricing-plan-price {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f1f5f9;
}
.pricing-plan-amount {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f4d72;
  line-height: 1.15;
}
.pricing-plan-period {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
}
.pricing-plan-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
}
.btn-pricing-primary,
.btn-pricing-accent,
.btn-pricing-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-pricing-primary {
  color: #fff !important;
  background: var(--ap-primary);
  border: none;
}
.btn-pricing-primary:hover {
  background: var(--ap-primary-600);
  color: #fff !important;
  transform: translateY(-1px);
}
.btn-pricing-accent {
  color: #0f172a !important;
  background: linear-gradient(135deg, #ffb703, #ffd24d);
  border: none;
  box-shadow: 0 4px 14px rgba(255, 183, 3, 0.35);
}
.btn-pricing-accent:hover {
  color: #0f172a !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 183, 3, 0.45);
}
.btn-pricing-secondary {
  color: #475569 !important;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.btn-pricing-secondary:hover {
  background: #fff;
  border-color: #cbd5e1;
  color: #0f4d72 !important;
}
.pricing-plan-features {
  margin-top: auto;
  padding-top: 0.15rem;
}
.pricing-plan-features-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 0.55rem;
}
.pricing-plan-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.pricing-plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #334155;
  line-height: 1.4;
}
.pricing-plan-list i {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: #22a055;
  font-size: 0.85rem;
  font-weight: 800;
}
.pricing-plan-list small {
  display: block;
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 0.1rem;
}
.pricing-plan-more { margin-top: 0.35rem; }
.pricing-plan-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.65rem;
  padding: 0;
  border: none;
  background: none;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ap-primary);
  cursor: pointer;
  transition: color 0.2s ease;
}
.pricing-plan-toggle:hover { color: #0f4d72; }
.pricing-plan-toggle i {
  font-size: 0.9rem;
  transition: transform 0.25s ease;
}
.pricing-plan-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.pricing-footer {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e8edf2;
}
.pricing-footer-note {
  font-size: 0.9375rem;
  color: #64748b;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 1199.98px) {
  .pricing-plan-card.is-featured {
    transform: none;
  }
  .pricing-plan-card.is-featured:hover,
  .pricing-plan-card.is-featured.is-focused {
    transform: translateY(-6px);
  }
}
@media (max-width: 575.98px) {
  .pricing-trust { gap: 0.5rem; }
  .pricing-trust span { font-size: 0.75rem; padding: 0.4rem 0.7rem; }
  .pricing-plan-card.is-recommended .pricing-plan-name { padding-right: 0; }
  .pricing-plan-badge { position: static; align-self: flex-start; margin-bottom: 0.5rem; order: -1; }
}

/* Reveal stagger */
.reveal-stagger > * { opacity: 0; transform: translateY(20px); }
.reveal-stagger.revealed > * {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.3s; }
