:root {
  --ap-primary: #03588C;
  --ap-dark: #0D0D0D;
  --ap-bg: #FFFFFF;
  --ap-bg-soft: #f1f7fe;
  --ap-accent: #99bc29;
  --ap-text: #1b1b1b;
}

html, body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  scroll-behavior: smooth;
  background: var(--ap-bg);
  color: var(--ap-text);
}

.fw-extrabold { font-weight: 800; }
.ap-accent { color: var(--ap-accent); }
.bg-soft { background: var(--ap-bg-soft); }

/* Blog: garantir visibilidade mesmo sem JS */
.blog-page [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}
.blog-page [data-reveal] *,
.blog-page [data-reveal]:not(:has(.post-content)),
.blog-page [data-reveal]:not(:has(.post-content)) * {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* Navbar */
.ap-navbar { background: rgba(13,13,13,.6); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid rgba(255,255,255,.06); transition: background .3s ease, border-color .3s ease; }
.ap-navbar .navbar-brand span { letter-spacing: .2px; }
.ap-navbar .nav-link { position: relative; color: #e7eef9; opacity: .9; padding-inline: .9rem; }
.ap-navbar .nav-link:hover { color: #fff; opacity: 1; }
.ap-navbar .nav-link::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: .35rem; height: 2px; background: linear-gradient(90deg, var(--ap-accent), var(--ap-primary)); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .22s ease; }
.ap-navbar .nav-link:hover::after, .ap-navbar .nav-link.active::after { transform: scaleX(1); }
.ap-navbar .btn-cta { border-radius: 999px; box-shadow: 0 10px 20px rgba(153,188,41,.25); padding-inline: 1rem; font-weight: 700; }
.ap-navbar .btn-cta:hover { filter: brightness(0.95); }
.navbar-toggler { border: 1px solid rgba(255,255,255,.25); border-radius: 10px; }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(255,255,255,.15); }
.btn-cta { background: var(--ap-accent); color: #0D0D0D; border: 0; }
.btn-cta:hover { filter: brightness(0.95); color: #FFFFFF; }

/* Hero */
.ap-hero { position: relative; padding-top: 80px; background: var(--ap-dark); }
.ap-hero .text-hero { color: #cfe6ff; }
.ap-hero-bg {
  position: absolute; inset: 0; background: radial-gradient(1200px 600px at 10% -10%, rgba(3,88,140,.75), transparent 60%), radial-gradient(800px 400px at 90% 20%, rgba(153,188,41,.25), transparent 60%);
  pointer-events: none; opacity: .9;
}
.ap-hero-gradient { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(13,13,13,0) 0%, rgba(13,13,13,1) 100%); opacity: .35; pointer-events: none; }
.ap-dot { width: 8px; height: 8px; background: var(--ap-accent); border-radius: 999px; display: inline-block; }
.ap-hero-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 1rem; }
/* Icons + Gauge */
.ap-icon-badge { width: 64px; height: 64px; border-radius: 14px; margin: 0 auto; display: grid; place-items: center; color: #0D0D0D; background: var(--ap-accent); box-shadow: 0 10px 24px rgba(153,188,41,.25); transition: transform .2s ease, box-shadow .2s ease; }
.ap-icon-badge i { font-size: 28px; }
.ap-icon-badge:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 14px 32px rgba(153,188,41,.35); }
.ap-gauge-wrap { position: relative; }
.ap-gauge { display: block; filter: drop-shadow(0 10px 24px rgba(3,88,140,.25)); }
.ap-gauge-meta { display: flex; align-items: baseline; justify-content: space-between; margin-top: .25rem; }
.ap-rpm { font-size: 1.25rem; }

/* Cards */
.ap-card { border: 1px solid #e5eefb; border-radius: 1rem; transition: transform .2s ease, box-shadow .2s ease; background: #fff; }
.ap-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(3,88,140,.12); }
.ap-card .card-title { color: var(--ap-primary); font-weight: 700; }

/* Post Content - REGRAS PRIORITÁRIAS */
article,
article.ap-card,
article[class*="ap-card"],
article[data-reveal],
article[data-reveal="up"],
article[data-reveal="left"],
article[data-reveal="right"],
article[data-reveal="zoom"] { 
  opacity: 1 !important; 
  transform: none !important; 
  visibility: visible !important; 
  display: block !important;
}
article.ap-card .post-content,
.post-content,
.post-content * { 
  color: var(--ap-text); 
  line-height: 1.7; 
  opacity: 1 !important; 
  transform: none !important; 
  visibility: visible !important; 
  display: block !important; 
}
.post-content p { margin-bottom: 1rem; color: var(--ap-text); opacity: 1 !important; visibility: visible !important; }
.post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6 { color: var(--ap-dark); margin-top: 1.5rem; margin-bottom: 1rem; font-weight: 700; opacity: 1 !important; visibility: visible !important; }
.post-content a { color: var(--ap-primary); text-decoration: underline; }
.post-content a:hover { color: var(--ap-accent); }
.post-content ul, .post-content ol { margin-bottom: 1rem; padding-left: 1.5rem; opacity: 1 !important; visibility: visible !important; }
.post-content li { margin-bottom: 0.5rem; color: var(--ap-text); opacity: 1 !important; visibility: visible !important; }
.post-content img { max-width: 100%; height: auto; border-radius: 0.5rem; margin: 1rem 0; opacity: 1 !important; visibility: visible !important; }
.post-content blockquote { border-left: 4px solid var(--ap-primary); padding-left: 1rem; margin: 1rem 0; color: #4b5563; font-style: italic; opacity: 1 !important; visibility: visible !important; }
.post-content code { background: var(--ap-bg-soft); padding: 0.2rem 0.4rem; border-radius: 0.25rem; font-size: 0.9em; color: var(--ap-primary); opacity: 1 !important; visibility: visible !important; }
.post-content pre { background: var(--ap-bg-soft); padding: 1rem; border-radius: 0.5rem; overflow-x: auto; margin: 1rem 0; opacity: 1 !important; visibility: visible !important; }
.post-content pre code { background: transparent; padding: 0; }
.post-content table { width: 100%; border-collapse: collapse; margin: 1rem 0; opacity: 1 !important; visibility: visible !important; }
.post-content table th, .post-content table td { border: 1px solid #e5eefb; padding: 0.5rem; text-align: left; opacity: 1 !important; visibility: visible !important; }
.post-content table th { background: var(--ap-bg-soft); font-weight: 700; color: var(--ap-primary); }
/* Garantir que cards com post-content não sejam afetados por animações */
.ap-card:has(.post-content),
article.ap-card,
.ap-card .post-content { opacity: 1 !important; transform: none !important; visibility: visible !important; }

/* Integrações */
.ap-integration-panel { background: #fff; border: 1px dashed rgba(3,88,140,.25); }
.ap-integration-box { border: 1px solid #e5eefb; border-radius: .75rem; padding: 1rem; text-align: center; color: var(--ap-primary); font-weight: 600; background: var(--ap-bg-soft); }
.ap-bullet { width: 10px; height: 10px; background: var(--ap-primary); border-radius: 50%; margin-top: .5rem; flex: 0 0 10px; }

/* Estoque */
.ap-inv { background: linear-gradient(180deg, #ffffff 0%, #f1f7fe 100%); }
.ap-inv-pills .nav-link { border-radius: 999px; border: 1px solid #e5eefb; color: var(--ap-primary); background: #fff; }
.ap-inv-pills .nav-link.active { color: #fff; background: linear-gradient(135deg, var(--ap-primary), var(--ap-accent)); border-color: transparent; }
.ap-inv-content .ap-widget { background: #fff; border: 1px solid #e5eefb; border-radius: 1rem; box-shadow: 0 10px 24px rgba(3,88,140,.06); }
.ap-timeline { position: relative; padding-left: 16px; }
.ap-tl-item { position: relative; padding-left: 16px; margin-bottom: .75rem; }
.ap-tl-dot { width: 10px; height: 10px; background: var(--ap-accent); border-radius: 999px; position: absolute; left: 0; top: .5rem; }
.ap-tl-item::before { content: ""; position: absolute; left: 4px; top: 0; bottom: -8px; width: 2px; background: rgba(3,88,140,.2); }

/* Stats */
.ap-stat { background: #fff; border: 1px solid #e5eefb; border-radius: 1rem; padding: 1.25rem; text-align: center; }
.ap-stat-value { font-size: 2rem; font-weight: 800; color: var(--ap-primary); }
.ap-stat-label { color: #4b5563; }

/* Plans */
.ap-plans { background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%); }
.ap-plan { background: #fff; border: 1px solid #e5eefb; border-radius: 1rem; padding: 1.25rem; box-shadow: 0 12px 24px rgba(3,88,140,.06); position: relative; overflow: hidden; }
.ap-plan-header h3 { color: var(--ap-primary); font-weight: 800; }
.ap-plan-badge { position: absolute; top: 12px; right: 12px; background: linear-gradient(135deg, var(--ap-accent), var(--ap-primary)); color: #0D0D0D; font-weight: 800; font-size: .75rem; padding: .25rem .5rem; border-radius: 6px; }
.ap-plan-featured { border-width: 2px; border-color: rgba(153,188,41,.65); box-shadow: 0 18px 36px rgba(153,188,41,.15); transform: translateY(-2px); }
.ap-plan-features li { display: flex; align-items: center; gap: .5rem; }
.ap-plan-features i { color: var(--ap-accent); }
.btn-cta-plan { background: linear-gradient(135deg, var(--ap-primary), var(--ap-accent)); color: #0D0D0D; font-weight: 700; border: 0; border-radius: 999px; padding: .8rem 1.2rem; }
.btn-cta-plan:hover { filter: brightness(1.05); color: #0D0D0D; }

/* Catálogo Nativo */
.ap-catalog { background: linear-gradient(180deg, #ffffff 0%, #f1f7fe 100%); }
.ap-product-card { background: #fff; border: 1px solid #e5eefb; border-radius: 1rem; padding: 1rem; box-shadow: 0 10px 24px rgba(3,88,140,.06); display: grid; gap: .5rem; }
.ap-product-badges { display: flex; gap: .35rem; }
.ap-product-img { height: 120px; border-radius: .75rem; background: linear-gradient(135deg, rgba(3,88,140,.08), rgba(153,188,41,.12)); }
.ap-product-title { font-weight: 700; color: var(--ap-dark); }
.ap-product-meta { display: flex; justify-content: space-between; align-items: baseline; }
.ap-price { font-weight: 800; color: var(--ap-primary); }
.ap-stock { font-size: .85rem; }
.ap-stock.ok { color: #1a7f37; }
.ap-stock.warn { color: #b58100; }
.ap-stock.out { color: #8b8b8b; }

/* Multi-filiais */
.ap-branches { background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%); }
.ap-branch-card { background: #fff; border: 1px solid #e5eefb; border-radius: 1rem; box-shadow: 0 12px 24px rgba(3,88,140,.06); }
.ap-branch-pill { border: 1px solid #e5eefb; background: #fff; color: var(--ap-primary); border-radius: 999px; padding: .5rem .75rem; font-size: .9rem; }
.ap-branch-pill.active { background: linear-gradient(135deg, var(--ap-primary), var(--ap-accent)); color: #0D0D0D; border-color: transparent; }
.ap-branch-kpi { background: #fff; border: 1px solid #e5eefb; border-radius: .75rem; padding: .75rem; }
.ap-branch-kpi .label { color: #6b7280; }
.ap-branch-kpi .value { color: var(--ap-primary); font-weight: 800; font-size: 1.1rem; }
.ap-branch-table table thead th { color: #33536d; font-weight: 700; }

/* FAQ */
.ap-faq { background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%); }
.ap-faq .accordion-button { font-weight: 600; }
.ap-faq .accordion-button:focus { box-shadow: 0 0 0 .25rem rgba(3,88,140,.15); }
.ap-faq .accordion-item { border-radius: .75rem; overflow: hidden; border: 1px solid #e5eefb; box-shadow: 0 6px 18px rgba(3,88,140,.05); }

/* Cloud & Custom */
.ap-cloud { background: linear-gradient(180deg, #ffffff 0%, #f1f7fe 100%); }
.ap-toggle { background: #fff; border: 1px solid #e5eefb; border-radius: 999px; padding: .25rem; gap: .25rem; }
.ap-chip { background: transparent; border: 0; color: var(--ap-primary); padding: .4rem .8rem; border-radius: 999px; font-weight: 600; }
.ap-chip.active { background: linear-gradient(135deg, var(--ap-primary), var(--ap-accent)); color: #0D0D0D; }
.ap-view { display: none; }
.ap-view.show { display: block; }
.ap-feature-card { background: #fff; border: 1px solid #e5eefb; border-radius: .9rem; padding: 1rem; box-shadow: 0 10px 24px rgba(3,88,140,.06); }
.ap-feature-card i { color: var(--ap-primary); font-size: 1.25rem; }
.ap-feature-card h5 { margin-top: .5rem; margin-bottom: .25rem; font-weight: 800; color: var(--ap-primary); }

/* Form */
.ap-form .form-control:focus { border-color: var(--ap-primary); box-shadow: 0 0 0 .25rem rgba(3,88,140,.15); }

/* Footer */
.ap-footer { background: linear-gradient(180deg, #0b0f14 0%, #0d0d0d 100%); color: #cfe6ff; }
.ap-footer h6 { font-weight: 700; margin-bottom: .5rem; letter-spacing: .02em; color: #e6eef6; }
.ap-footer a { color: #b7c6d9; text-decoration: none; }
.ap-footer a:hover { color: #ffffff; text-decoration: underline; }
.ap-footer-links li { margin-bottom: .25rem; color: #b7c6d9; }
.ap-footer-links a { border-bottom: 1px solid transparent; }
.ap-footer-links a:hover { border-bottom-color: rgba(255,255,255,.25); }
.ap-footer-links li i { margin-right: .35rem; color: #86a5bf; }
.ap-footer-sep { border-color: rgba(255,255,255,.12); opacity: .6; }
.ap-footer-social .ap-social { width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; background: transparent; color: #e6eef6; border: 1px solid rgba(255,255,255,.18); transition: transform .15s ease, background .2s ease, border-color .2s ease; }
.ap-footer-social .ap-social:hover { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); transform: translateY(-1px); }
.ap-footer-mini a { opacity: .8; }
.ap-footer-mini a:hover { opacity: 1; }

/* Titles */
.ap-title { color: var(--ap-dark); }

/* Headings modernos */
h2, h3, h4 { color: var(--ap-dark); letter-spacing: -0.02em; line-height: 1.2; }
h2 { font-weight: 800; }
h3 { font-weight: 700; }
h4 { font-weight: 700; }
h2::after, h3::after, h4::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; margin-top: .5rem; background: linear-gradient(90deg, var(--ap-accent), var(--ap-primary)); }

/* Utilities */
.btn-outline-dark { border-color: #0D0D0D; color: #0D0D0D; }
.btn-outline-dark:hover { background: #0D0D0D; color: #fff; }

/* WhatsApp Floating Button */
.ap-whatsapp-fab { position: fixed; right: 16px; bottom: 16px; width: 56px; height: 56px; border-radius: 999px; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 12px 24px rgba(0,0,0,.2); z-index: 1050; transition: transform .2s ease, box-shadow .2s ease; }
.ap-whatsapp-fab:hover { transform: translateY(-2px); box-shadow: 0 16px 28px rgba(0,0,0,.25); color: #fff; }
.ap-whatsapp-fab i { font-size: 24px; }

/* CTA verde após módulos */
.ap-cta-green { position: relative; background: #99bc29; overflow: hidden; }
.ap-cta-badge { display: inline-block; padding: .35rem .6rem; border-radius: 999px; background: rgba(255,255,255,.18); color: #fff; font-weight: 600; }
.ap-cta-green .btn-cta-wpp { 
  background: linear-gradient(135deg, #ffffff, #f6fff0);
  color: #0D0D0D; 
  border: 0; 
  box-shadow: 0 12px 24px rgba(0,0,0,.16);
  border-radius: 999px;
  padding-block: .8rem; 
  padding-inline: 1.4rem;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.ap-cta-green .btn-cta-wpp i { margin-right: .5rem; font-size: 1.1em; }
.ap-cta-green .btn-cta-wpp:hover { filter: brightness(0.98); transform: translateY(-1px); box-shadow: 0 16px 28px rgba(0,0,0,.2); color: #0D0D0D; }
.ap-cta-green .btn-cta-wpp:active { transform: translateY(0); box-shadow: 0 8px 18px rgba(0,0,0,.18); }
.ap-cta-green .btn-cta-wpp:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(255,255,255,.45); }

.ap-cta-green .btn-cta-ghost { 
  border: 2px solid rgba(255,255,255,.95); 
  color: #fff; 
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border-radius: 999px;
  padding-block: .8rem; 
  padding-inline: 1.4rem;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.ap-cta-green .btn-cta-ghost:hover { background: #fff; color: #0D0D0D; transform: translateY(-1px); box-shadow: 0 16px 28px rgba(0,0,0,.2); }
.ap-cta-green .btn-cta-ghost:active { transform: translateY(0); box-shadow: 0 8px 18px rgba(0,0,0,.18); }
.ap-cta-green .btn-cta-ghost:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(255,255,255,.45); }
.ap-cta-shape { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(400px 200px at 10% 20%, rgba(255,255,255,.25), transparent 60%),
  radial-gradient(300px 150px at 90% 80%, rgba(255,255,255,.18), transparent 60%);
  mix-blend-mode: screen; }

/* Marketplaces */
.ap-mkt { background: linear-gradient(180deg, #f1f7fe 0%, #ffffff 100%); }
.ap-badge-gradient { background: linear-gradient(90deg, rgba(153,188,41,0.25), rgba(3,88,140,0.25)); color: #0D0D0D; border: 1px solid rgba(3,88,140,.15); }
.ap-mkt-card { border: 1px solid #e5eefb; border-radius: 1rem; padding: 1rem; background: #fff; box-shadow: 0 10px 24px rgba(3,88,140,.05); }
.ap-mkt-dot { width: 12px; height: 12px; border-radius: 999px; margin-bottom: .5rem; }
.mkt-ml { background-color: #FFE600; color: #0D0D0D !important; }
.mkt-shopee { background-color: #EE4D2D; color: #fff !important; }
.ap-mkt-highlights { border: 1px dashed rgba(3,88,140,.25); border-radius: 1rem; padding: .75rem 1rem; background: #ffffff; }

/* Steps Marketplaces */
.ap-steps { position: relative; }
.ap-step { background: #fff; border: 1px solid #e5eefb; border-radius: 1rem; padding: 1.25rem; box-shadow: 0 10px 24px rgba(3,88,140,.05); position: relative; }
.ap-step-number { width: 36px; height: 36px; border-radius: 999px; background: linear-gradient(135deg, var(--ap-accent), var(--ap-primary)); color: #0D0D0D; font-weight: 800; display: grid; place-items: center; position: absolute; top: -18px; left: -18px; border: 2px solid #fff; box-shadow: 0 6px 16px rgba(3,88,140,.2); }
.ap-step-icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--ap-bg-soft); color: var(--ap-primary); margin-bottom: .75rem; }
.ap-step-icon i { font-size: 24px; }

/* Dark theme removed */

/* Reveal animations - DESABILITADAS: todos os elementos aparecem imediatamente */
[data-reveal],
[data-reveal] *,
article,
article *,
article[data-reveal],
article[data-reveal] *,
.ap-hero [data-reveal],
.ap-hero [data-reveal] *,
.post-content,
.post-content *,
.blog-page [data-reveal],
.blog-page [data-reveal] * {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  transition: none !important;
}


