/* ============================================================
   Mobirise — CMS layer on top of the shipped Bootstrap 5.1 build.
   The Mobirise bootstrap.min.css predates several BS 5.3 helpers
   (-subtle utilities, themed buttons/links), so this file:
     1) defines the indigo palette + CSS variables;
     2) bridges missing Bootstrap utilities;
     3) styles every CMS component used by this template.
   ============================================================ */

/* Fallbacks: _color-scheme é injetado DEPOIS deste arquivo e sobrescreve
   --bs-primary / --bs-primary-rgb / --bs-secondary-rgb / --bs-link-hover-color
   com as cores configuradas no admin. As variáveis --mbr-* e o subtle são
   derivadas dessas, então o template inteiro segue a cor primária do site. */
:root {
  --bs-primary: #6366f1;
  --bs-primary-rgb: 99, 102, 241;
  --bs-secondary-rgb: 168, 85, 247;
  --bs-link-hover-color: #4f46e5;
  --bs-border-color: #e5e7eb;
  --bs-primary-bg-subtle: rgba(var(--bs-primary-rgb), .08);
  --mbr-primary: var(--bs-primary);
  --mbr-primary-dark: var(--bs-link-hover-color);
}

/* ── Base / sticky footer ────────────────────────────────────────────────── */
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  min-height: 100vh;
  background: #ffffff;
  color: #1f2937;
  font-family: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
}
body > main, .main-wrapper { flex: 1 0 auto; }
body > footer { flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ── Bootstrap 5.1 gap fillers ───────────────────────────────────────────── */
.bg-primary-subtle { background-color: var(--bs-primary-bg-subtle) !important; }
.bg-soft-primary { background: rgba(var(--bs-primary-rgb), .1) !important; }
.bg-gradient-subtle { background: linear-gradient(135deg, #eef0ff 0%, #e0e7ff 100%); }
.bg-light-gray { background-color: #f1f3f5 !important; }
.text-primary-emphasis { color: var(--mbr-primary-dark) !important; }

.link-primary { color: var(--mbr-primary) !important; text-decoration: none; }
.link-primary:hover, .link-primary:focus { color: var(--mbr-primary-dark) !important; }
a { color: var(--mbr-primary); }

.round-40 { width: 40px; height: 40px; }

/* ── Buttons (themed; 5.1 ships hard-coded blue) ─────────────────────────── */
.btn-primary {
  --bs-btn-bg: var(--mbr-primary); --bs-btn-border-color: var(--mbr-primary);
  --bs-btn-hover-bg: var(--mbr-primary-dark); --bs-btn-hover-border-color: var(--mbr-primary-dark);
  --bs-btn-active-bg: var(--mbr-primary-dark); --bs-btn-active-border-color: var(--mbr-primary-dark);
  --bs-btn-disabled-bg: var(--mbr-primary); --bs-btn-disabled-border-color: var(--mbr-primary);
  background-color: var(--mbr-primary); border-color: var(--mbr-primary); color: #fff;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: var(--mbr-primary-dark); border-color: var(--mbr-primary-dark); color: #fff;
}
.btn-outline-primary {
  --bs-btn-color: var(--mbr-primary); --bs-btn-border-color: var(--mbr-primary);
  --bs-btn-hover-bg: var(--mbr-primary); --bs-btn-hover-border-color: var(--mbr-primary);
  --bs-btn-active-bg: var(--mbr-primary); --bs-btn-active-border-color: var(--mbr-primary);
  color: var(--mbr-primary); border-color: var(--mbr-primary);
}
.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
  background-color: var(--mbr-primary); border-color: var(--mbr-primary); color: #fff;
}
.btn-outline-secondary {
  color: #374151; border-color: #d1d5db;
}
.btn-outline-secondary:hover { background-color: #374151; border-color: #374151; color: #fff; }
.btn { border-radius: .65rem; font-weight: 600; }

.text-primary { color: var(--mbr-primary) !important; }

/* ── Page loading ────────────────────────────────────────────────────────── */
.page-loading {
  position: fixed; inset: 0;
  background-color: #fff;
  opacity: 0; visibility: hidden; z-index: 9999;
  transition: all .4s .2s ease-in-out;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
}
.page-loading.active { opacity: 1; visibility: visible; }
.page-spinner {
  display: inline-block; width: 2.5rem; height: 2.5rem;
  border: .2em solid rgba(var(--bs-primary-rgb), .2);
  border-right-color: var(--mbr-primary);
  border-radius: 50%;
  animation: mbr-spin .75s linear infinite;
}
@keyframes mbr-spin { 100% { transform: rotate(360deg); } }

/* ── Spacing helpers (BS ships only 0–5) ─────────────────────────────────── */
.mt-6 { margin-top: 4rem !important; }
.mb-6 { margin-bottom: 4rem !important; }
.pt-6 { padding-top: 4rem !important; }
.pb-6 { padding-bottom: 4rem !important; }
.py-6 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
@media (min-width: 768px) {
  .py-md-6 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
  .pt-md-6 { padding-top: 5rem !important; }
  .pb-md-6 { padding-bottom: 5rem !important; }
  .mt-md-6 { margin-top: 5rem !important; }
}
@media (min-width: 992px) {
  .py-lg-6 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
}

/* ── Header / Navbar ─────────────────────────────────────────────────────── */
.mbr-header {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  z-index: 1030;
}
.mbr-header .nav-link { transition: color .15s ease; }
.mbr-header .dropdown-menu { border-radius: .75rem; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.mbr-footer { background: #1c1c1c !important; }
.mbr-footer a { text-decoration: none; }

/* ── Section banner (detail/listing header — estilo Mobirise header4) ──────
   Com imagem: usa a imagem da página como fundo + overlay escuro.
   Sem imagem: cor sólida (gradiente da marca). Texto sempre branco.       */
.section-banner {
  position: relative;
  background: linear-gradient(135deg, var(--mbr-primary-dark) 0%, var(--mbr-primary) 100%);
  color: var(--color-on-primary, #fff);
}
.section-banner > .container { position: relative; z-index: 2; }
.section-banner h1, .section-banner h2 { color: var(--color-on-primary, #fff); }
.section-banner .text-muted,
.section-banner .text-muted * { color: color-mix(in srgb, var(--color-on-primary, #fff) 82%, transparent) !important; }
.section-banner a { color: var(--color-on-primary, #fff); }
.section-banner a:hover { color: color-mix(in srgb, var(--color-on-primary, #fff) 80%, transparent); }
.section-banner .mbr-breadcrumb-link,
.section-banner .mbr-breadcrumb-separator,
.section-banner .mbr-breadcrumb-separator *,
.section-banner .mbr-breadcrumb-current {
  color: color-mix(in srgb, var(--color-on-primary, #fff) 82%, transparent) !important;
}
.section-banner .mbr-breadcrumb-current {
  font-weight: 700;
}
.section-banner .breadcrumb-item,
.section-banner .breadcrumb-item.active,
.section-banner .breadcrumb-item + .breadcrumb-item::before { color: color-mix(in srgb, var(--color-on-primary, #fff) 70%, transparent); }

.section-banner-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Parallax (estilo Mobirise mbr-parallax-background) */
  background-attachment: fixed;
}
/* background-attachment: fixed é instável em mobile/touch — desliga lá */
@media (max-width: 991.98px), (hover: none) {
  .section-banner-image { background-attachment: scroll; }
}
.section-banner-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: rgba(0, 0, 0, .55);
}
/* Com imagem o overlay é sempre escuro → texto branco garante leitura,
   independentemente da cor on-primary do site. */
.section-banner-image,
.section-banner-image h1,
.section-banner-image h2,
.section-banner-image a { color: #fff; }
.section-banner-image .text-muted,
.section-banner-image .text-muted *,
.section-banner-image .breadcrumb-item,
.section-banner-image .breadcrumb-item.active,
.section-banner-image .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .8) !important; }

/* ── Section blocks ──────────────────────────────────────────────────────── */
.section-block { overflow-x: hidden; }
.section-alt { background: var(--bs-primary-bg-subtle); }
.section-accent-bar {
  display: block; width: 4px; height: 1.75rem;
  background: var(--mbr-primary); border-radius: 4px; flex-shrink: 0;
}
.section-title {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700; letter-spacing: -.02em; line-height: 1.2;
}
.section-eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  text-transform: uppercase; letter-spacing: .08em;
  font-size: .72rem; font-weight: 700; color: var(--mbr-primary);
  margin-bottom: .5rem;
}

/* ── Hero: hero-title (full-width bg) ────────────────────────────────────── */
.hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(280px, 50vh, 480px);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
/* A imagem de fundo é aplicada inline (URL vem do CMS). Evitamos
   background-attachment: fixed — instável e custoso em telas touch/mobile. */
.hero-section--gradient { background-image: linear-gradient(135deg, #1e1b4b 0%, #4338ca 100%); }
.hero-section--with-figure { min-height: clamp(420px, 58vh, 620px); }

.hero-overlay { position: absolute; inset: 0; z-index: 1; }
.hero-overlay--image { background: linear-gradient(110deg, rgba(0,0,0,.78) 35%, rgba(0,0,0,.3) 100%); }
.hero-overlay--gradient { background: radial-gradient(circle at 20% 50%, rgba(255,255,255,.08) 0%, transparent 50%); }

.hero-section .container { position: relative; z-index: 3; }

.hero-badge {
  display: inline-block;
  max-width: 100%;
  background: rgba(255,255,255,.15);
  color: #fff;
  letter-spacing: .08em;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  white-space: normal;
  word-break: break-word;
}
.hero-heading {
  color: #fff;
  font-weight: 700;
  font-size: clamp(1.75rem, 5.5vw, 3.25rem);
  letter-spacing: -.045em;
  line-height: 1.08;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero-lead {
  color: #fff;
  opacity: .82;
  line-height: 1.65;
  font-size: clamp(.9375rem, 2.5vw, 1.125rem);
  max-width: 64ch;
}

/* Figura do candidato (PNG). No desktop é ancorada ao rodapé da SEÇÃO (não do
   container), então os pés encostam no bottom do fundo — sem cortes nem espaço
   morto. object-fit:contain + object-position:bottom mantêm a proporção e o
   "piso". No mobile vira imagem centralizada abaixo do texto/botões. */
.hero-figure {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 100%;
  width: auto;
  max-width: 50%;
  object-fit: contain;
  object-position: bottom right;
  z-index: 2;
  pointer-events: none;
}
@media (min-width: 1200px) {
  .hero-figure { max-width: 46%; }
}

/* ── Hero: hero-landing (text + image) ───────────────────────────────────── */
.hero-landing-section { position: relative; overflow: hidden; background: var(--bs-primary-bg-subtle); }
.hero-landing-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 12% 60%, rgba(var(--bs-primary-rgb), .12) 0%, transparent 42%),
    radial-gradient(circle at 88% 8%, rgba(var(--bs-secondary-rgb), .10) 0%, transparent 38%);
}
.hero-title { font-size: clamp(1.7rem, 5.5vw, 3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.12; }
.hero-excerpt { font-size: clamp(.9375rem, 2.5vw, 1.125rem); color: #5a6a85; line-height: 1.7; }
@media (max-width: 575.98px) {
  .hero-ctas { flex-direction: column !important; }
  .hero-ctas .btn { width: 100%; }
}
.hero-img-card {
  border-radius: 1.25rem; overflow: hidden;
  box-shadow: rgba(145,158,171,.3) 0 0 2px 0, rgba(145,158,171,.18) 0 18px 40px -8px;
}
.hero-img-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
@media (min-width: 576px) { .hero-img-card img { aspect-ratio: 16 / 10; } }
@media (min-width: 992px) { .hero-img-card img { aspect-ratio: 4 / 3; } }

/* ── Hero: variações Mobirise (image / video / popup / card / social / icons) ─ */
.hero-image-figure {
  border-radius: 1.25rem; overflow: hidden;
  box-shadow: rgba(145,158,171,.3) 0 0 2px 0, rgba(145,158,171,.18) 0 18px 40px -8px;
}
.hero-image-figure img { aspect-ratio: 16 / 9; object-fit: cover; }

.hero-video-section { background: var(--bs-primary-bg-subtle); }
.hero-video-frame img { display: block; }

.hero-video-popup-section,
.hero-card-section,
.hero-social-section,
.hero-icons-section { min-height: clamp(320px, 60vh, 560px); display: flex; align-items: center; }

.hero-play-btn {
  width: 84px; height: 84px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; color: var(--mbr-primary); background: #fff;
  box-shadow: 0 .75rem 2rem rgba(0,0,0,.3);
  transition: transform .18s ease, box-shadow .18s ease;
}
.hero-play-btn:hover { transform: scale(1.08); box-shadow: 0 1rem 2.5rem rgba(0,0,0,.4); }

.hero-card-box {
  background: #fff; border-radius: 1.5rem;
  padding: clamp(1.75rem, 4vw, 3.5rem);
  box-shadow: 0 1.5rem 3.5rem rgba(0,0,0,.18);
}

.hero-social-icon {
  width: 48px; height: 48px;
  background: rgba(var(--bs-primary-rgb), .12);
  color: var(--mbr-primary);
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.hero-social-icon:hover { transform: translateY(-3px); background: var(--mbr-primary); color: #fff; }

.hero-icon-thumb {
  width: 76px; height: 76px;
  background: rgba(255,255,255,.14); color: #fff;
  backdrop-filter: blur(4px);
}

/* ── Cards ───────────────────────────────────────────────────────────────── */
.mbr-card {
  background: #fff; border-radius: 1rem !important;
  box-shadow: 0 6px 24px rgba(17,24,39,.06), 0 2px 6px rgba(17,24,39,.04);
}
.card-hover { transition: transform .25s ease, box-shadow .25s ease; }
@media (hover: hover) {
  .card-hover:hover {
    transform: translateY(-5px);
    box-shadow: rgba(145,158,171,.3) 0 0 2px 0, rgba(145,158,171,.22) 0 18px 40px -8px;
  }
}
.card-img-cover { width: 100%; height: 100%; object-fit: cover; }

/* ── List cards ──────────────────────────────────────────────────────────── */
.mbr-list-stack,
.mbr-list-stack > .reveal {
  min-width: 0;
  max-width: 100%;
}
.list-card {
  padding: .875rem 1rem; border-radius: .75rem;
  border: 1px solid var(--bs-border-color);
  background: #fff;
  transition: box-shadow .22s ease, border-color .22s ease, transform .22s ease;
  text-decoration: none; color: inherit;
  min-height: 64px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
@media (hover: hover) {
  .list-card:hover {
    box-shadow: rgba(145,158,171,.3) 0 0 2px 0, rgba(145,158,171,.12) 0 12px 24px -4px;
    border-color: rgba(var(--bs-primary-rgb), .3);
    transform: translateY(-2px);
  }
}
.list-card-thumb { width: 72px; height: 56px; border-radius: .5rem; overflow: hidden; }
.list-card-body { min-width: 0; }
.list-card-icon {
  width: 44px; height: 44px; border-radius: .625rem;
  background: rgba(var(--bs-primary-rgb), .12); color: var(--mbr-primary);
  display: flex; align-items: center; justify-content: center;
}
.list-card-meta {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--mbr-primary);
}

/* ── Icon box ────────────────────────────────────────────────────────────── */
.icon-box {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: rgba(var(--bs-primary-rgb), .12); color: var(--mbr-primary);
  flex-shrink: 0; font-size: 1.5rem;
}

/* ── Testimonials ────────────────────────────────────────────────────────── */
.testimonial-card {
  border-radius: 1rem; border: none; background: #fff;
  box-shadow: rgba(145,158,171,.3) 0 0 2px 0, rgba(145,158,171,.12) 0 12px 24px -4px;
}
.testimonial-quote { font-size: 3rem; line-height: .9; color: var(--mbr-primary); opacity: .22; font-family: Georgia, serif; }

/* ── Logos track ─────────────────────────────────────────────────────────── */
.logos-track img { filter: grayscale(45%) opacity(.65); transition: filter .25s ease, opacity .25s ease; max-height: 48px; }
@media (hover: hover) { .logos-track img:hover { filter: grayscale(0%) opacity(1); } }

/* ── Pricing ─────────────────────────────────────────────────────────────── */
.pricing-card {
  background: #fff; border: 1px solid var(--bs-border-color);
  border-radius: 1.25rem; position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
@media (hover: hover) { .pricing-card:hover { transform: translateY(-4px); box-shadow: 0 1.25rem 2.5rem rgba(17,24,39,.1); } }
.pricing-card-featured {
  border-color: var(--mbr-primary);
  box-shadow: 0 1.25rem 3rem rgba(var(--bs-primary-rgb), .2);
}
.pricing-badge {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  background: var(--mbr-primary); color: #fff;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: .35rem 1rem; border-radius: 999px;
}
.pricing-price { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; color: #111827; }

/* ── Stats counters ──────────────────────────────────────────────────────── */
.stat-item { padding: 1rem .5rem; }
.stat-value { font-size: clamp(2rem, 6vw, 3.25rem); font-weight: 800; letter-spacing: -.03em; color: var(--mbr-primary); line-height: 1; }
.stat-label { color: #6b7280; font-weight: 600; margin-top: .5rem; }

/* ── Timeline (steps) ────────────────────────────────────────────────────── */
.mbr-timeline { position: relative; max-width: 960px; margin: 0 auto; padding: .5rem 0; }
.mbr-timeline::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 24px;
  width: 2px; background: rgba(var(--bs-primary-rgb), .2);
}
.mbr-timeline-item { position: relative; padding-left: 64px; margin-bottom: 2rem; }
.mbr-timeline-marker {
  position: absolute; left: 0; top: 0;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--mbr-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; z-index: 1;
}
.mbr-timeline-content {
  background: #fff; border: 1px solid var(--bs-border-color);
  border-radius: 1rem; padding: 1.5rem;
}
@media (min-width: 768px) {
  .mbr-timeline::before { left: 50%; transform: translateX(-50%); }
  .mbr-timeline-item { width: 50%; padding-left: 0; margin-bottom: 2.5rem; }
  .mbr-timeline-left { left: 0; padding-right: 48px; text-align: right; }
  .mbr-timeline-right { left: 50%; padding-left: 48px; }
  .mbr-timeline-marker { left: auto; }
  .mbr-timeline-left .mbr-timeline-marker { right: -25px; left: auto; }
  .mbr-timeline-right .mbr-timeline-marker { left: -25px; }
  .mbr-timeline-left .section-eyebrow { justify-content: flex-end; }
}

/* ── Team ────────────────────────────────────────────────────────────────── */
.team-card {
  background: #fff; border: 1px solid var(--bs-border-color);
  border-radius: 1.25rem; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
@media (hover: hover) { .team-card:hover { transform: translateY(-4px); box-shadow: 0 1.25rem 2.5rem rgba(17,24,39,.1); } }
.team-card-photo { aspect-ratio: 1 / 1; overflow: hidden; background: var(--bs-primary-bg-subtle); }
.team-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Gallery ─────────────────────────────────────────────────────────────── */
.gallery-item { display: block; cursor: pointer; }
.gallery-item-frame { position: relative; display: block; border-radius: 1rem; overflow: hidden; aspect-ratio: 1 / 1; }
.gallery-item-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; display: block; }
.gallery-item-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; background: rgba(var(--bs-primary-rgb), .55);
  opacity: 0; transition: opacity .25s ease;
}
@media (hover: hover) {
  .gallery-item:hover .gallery-item-overlay { opacity: 1; }
  .gallery-item:hover .gallery-item-frame img { transform: scale(1.08); }
}

/* ── Tabs ────────────────────────────────────────────────────────────────── */
.mbr-tabs .nav-pills .nav-link { color: #374151; border-radius: 999px; padding: .55rem 1.25rem; font-weight: 600; }
.mbr-tabs .nav-pills .nav-link.active { background: var(--mbr-primary); color: #fff; }

/* ── Accordion (FAQ) ─────────────────────────────────────────────────────── */
.mbr-accordion .accordion-item { border: 1px solid var(--bs-border-color); border-radius: 1rem !important; overflow: hidden; }
.mbr-accordion .accordion-button { font-weight: 600; }
.mbr-accordion .accordion-button:not(.collapsed) { background: var(--bs-primary-bg-subtle); color: var(--mbr-primary-dark); }
.mbr-accordion .accordion-button:focus { box-shadow: none; }

/* ── Article content / prose ─────────────────────────────────────────────── */
.article-content img { max-width: 100%; height: auto; border-radius: .75rem; margin-bottom: 1rem; }
.article-content iframe { max-width: 100%; border-radius: .75rem; }
.article-content h2, .article-content h3, .article-content h4 {
  font-weight: 800; letter-spacing: -.02em; margin-top: 2rem; margin-bottom: 1rem; color: #1f2937;
}
.article-content h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); }
.article-content h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
.article-content p, .article-content ul, .article-content ol {
  color: #5a6a85; line-height: 1.8; font-size: clamp(.9375rem, 2vw, 1.0625rem);
}
.article-content a { color: var(--mbr-primary); text-decoration: underline; }
.article-content blockquote {
  margin: 1.5rem 0; padding: 1.25rem 2rem;
  background: var(--bs-primary-bg-subtle); color: var(--mbr-primary-dark);
  border-left: 3px solid var(--mbr-primary); border-radius: 0 .5rem .5rem 0;
}
.article-content blockquote p:last-child { margin-bottom: 0; }
.cms-prose p:last-child { margin-bottom: 0; }

/* ── Botões de compartilhamento (coloridos, estilo Mobirise) ─────────────── */
.share-btn {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; color: #fff !important; background-color: #6c757d;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  flex-shrink: 0;
}
.share-btn:hover, .share-btn:focus { color: #fff !important; transform: translateY(-2px); box-shadow: 0 .4rem .9rem rgba(0,0,0,.18); }
.share-btn svg { width: 18px; height: 18px; }
.share-facebook { background-color: #1877f2; }
.share-twitter  { background-color: #1da1f2; }
.share-linkedin { background-color: #0a66c2; }
.share-whatsapp { background-color: #25d366; }

/* ── CTA button groups ───────────────────────────────────────────────────── */
/* Empilha no mobile, alinha em linha a partir de sm; usa gap (sem ms-* que
   prejudica o layout mobile). Botões com área de toque mínima de 44px. */
.cta-group { display: inline-flex; flex-wrap: wrap; gap: .625rem; }
.cta-group .btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 575.98px) {
  .cta-group { display: flex; flex-direction: column; align-items: stretch; width: 100%; }
  .cta-group .btn { width: 100%; }
}

/* ── Downloads / materiais ───────────────────────────────────────────────── */
.bee-downloads {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.25rem;
}
.bee-download-card {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  height: 100%;
  padding: 1.5rem;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.bee-download-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: .85rem;
  flex-shrink: 0;
  background: rgba(var(--bs-primary-rgb), .1);
  color: rgb(var(--bs-primary-rgb));
}
.bee-download-body { flex-grow: 1; min-width: 0; }
.bee-download-eyebrow {
  margin: 0 0 .25rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgb(var(--bs-primary-rgb));
}
.bee-download-title {
  margin: 0 0 .4rem;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
}
.bee-download-text { margin: 0; font-size: .9rem; line-height: 1.6; color: #6b7280; overflow-wrap: anywhere; }
.bee-download-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: auto;
}
.bee-download-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 600;
  color: #6b7280;
  background: rgba(0,0,0,.05);
  padding: .3rem .6rem;
  border-radius: 999px;
}
.bee-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 44px;
  padding: .6rem 1.1rem;
  border-radius: .65rem;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: rgb(var(--bs-primary-rgb));
  transition: filter .15s ease, transform .15s ease;
}
.bee-download-btn:hover, .bee-download-btn:focus { color: #fff; filter: brightness(1.06); }
@media (max-width: 575.98px) {
  .bee-download-footer { flex-direction: column; align-items: stretch; }
  .bee-download-badge { align-self: flex-start; }
  .bee-download-btn { width: 100%; }
}

/* ── Social links (lista de redes) ───────────────────────────────────────── */
.bee-social-links { --sl-bg: var(--bs-primary, #6366f1); --sl-fg: #fff; }
.bee-social-links__btn {
  width: 56px;
  height: 56px;
  background: var(--sl-bg);
  color: var(--sl-fg);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.bee-social-links__btn:hover,
.bee-social-links__btn:focus { color: var(--sl-fg); transform: translateY(-3px); box-shadow: 0 .75rem 1.5rem rgba(0,0,0,.18); filter: brightness(1.05); }
.bee-social-links__btn svg { width: 24px; height: 24px; }

/* ── Back to top ─────────────────────────────────────────────────────────── */
.btn-back-to-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 1030;
  width: 3rem; height: 3rem; border-radius: 50%;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
  box-shadow: 0 .5rem 1.25rem rgba(var(--bs-primary-rgb), .4);
  display: flex; align-items: center; justify-content: center; padding: 0; border: none;
}
.btn-back-to-top.visible { opacity: 1; visibility: visible; }
@media (hover: hover) { .btn-back-to-top:hover { transform: translateY(-3px); } }

/* ── Scroll reveal ───────────────────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; will-change: auto; }

/* ── Mobile overflow guards & touch targets ──────────────────────────────── */
main img, main table, main iframe, main video, main pre { max-width: 100%; }
@media (max-width: 575.98px) {
  .section-block > .container {
    padding-top: 2.25rem !important;
    padding-bottom: 2.25rem !important;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .section-header { flex-wrap: wrap; gap: .75rem; }
  #cp-comment-form-wrap { margin-left: -1rem; margin-right: -1rem; border-radius: 0; }
  /* Área de toque confortável para botões/links de ação no mobile (WCAG ~44px) */
  .btn { min-height: 44px; }
}
