/* v28 - Design Upgrade seguro: Bootstrap 5 + camada visual sem alterar banco de dados */
:root {
  --ca-primary: #063b78;
  --ca-primary-2: #0d5bb5;
  --ca-primary-soft: #eef6ff;
  --ca-accent: #ff8a00;
  --ca-accent-dark: #e87500;
  --ca-whatsapp: #25d366;
  --ca-whatsapp-dark: #1ebe5d;
  --ca-text: #0f172a;
  --ca-muted: #64748b;
  --ca-border: rgba(148, 163, 184, .22);
  --ca-surface: #ffffff;
  --ca-bg: #f8fafc;
  --ca-radius: 22px;
  --ca-radius-lg: 30px;
  --ca-shadow: 0 18px 48px rgba(6, 59, 120, .13);
  --ca-shadow-soft: 0 10px 30px rgba(15, 23, 42, .08);
}

body {
  background: var(--ca-bg);
  color: var(--ca-text);
}

.site-navbar {
  background: rgba(3, 43, 89, .94);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.navbar-brand img,
.logo-box {
  box-shadow: 0 10px 26px rgba(0,0,0,.16);
}

.ca-nav-cta {
  box-shadow: 0 14px 32px rgba(255, 138, 0, .28);
}

.hero-slide,
.hero-content {
  min-height: 720px;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,43,89,.80), rgba(3,43,89,.42), rgba(3,43,89,.12));
  pointer-events: none;
}

.hero-slide-img {
  filter: saturate(1.03) contrast(1.02);
}

.hero-content .badge,
.page-hero .badge {
  box-shadow: 0 10px 24px rgba(255,255,255,.16);
}

.hero-content h1,
.page-hero h1 {
  text-wrap: balance;
}

.btn-orange,
.btn-whatsapp,
.btn-outline-primary {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ca-search-strip {
  margin-top: -30px;
  position: relative;
  z-index: 4;
}

.ca-search-panel {
  background: #fff;
  border: 1px solid var(--ca-border);
  border-radius: var(--ca-radius-lg);
  box-shadow: var(--ca-shadow-soft);
  padding: clamp(15px, 2.2vw, 22px);
}

.ca-search-copy {
  min-width: 0;
}

.ca-search-panel h2 {
  color: var(--ca-primary);
  font-size: clamp(1.05rem, 1.65vw, 1.35rem);
  font-weight: 780;
  line-height: 1.18;
  margin: 0 0 3px;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.ca-search-panel p {
  color: var(--ca-muted);
  font-size: .9rem;
  line-height: 1.35;
  margin: 0;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.ca-search-form .form-control,
.ca-search-form .form-select,
.ca-search-form .btn {
  min-height: 44px;
}

.ca-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ca-accent);
  font-weight: 760;
  letter-spacing: .07em;
  text-transform: uppercase;
  font-size: .68rem;
  margin-bottom: 2px;
}

.ca-category-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ca-category-pill {
  background: #fff;
  border: 1px solid var(--ca-border);
  border-radius: 999px;
  color: var(--ca-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 800;
  box-shadow: var(--ca-shadow-soft);
}

.ca-category-pill:hover {
  color: var(--ca-primary);
  transform: translateY(-2px);
  box-shadow: var(--ca-shadow);
}

.listing-card,
.event-card,
.whatsapp-card,
.plan-card,
.benefit-card,
.detail-card,
.news-detail-card,
.admin-card,
.stat-card {
  border: 1px solid var(--ca-border);
  box-shadow: var(--ca-shadow-soft);
}

.listing-card {
  border-radius: var(--ca-radius);
}

.listing-image {
  aspect-ratio: 4 / 3;
  min-height: auto;
}

.listing-body h3 {
  line-height: 1.25;
  min-height: 2.5em;
}

.listing-meta::before {
  content: "📍 ";
}

.ca-price-line {
  color: var(--ca-primary);
  display: block;
  font-size: 1.18rem;
  font-weight: 900;
  margin: 2px 0 10px;
}

.ca-empty-state {
  background: #fff;
  border: 1px dashed rgba(6,59,120,.25);
  border-radius: var(--ca-radius);
  padding: 28px;
  color: var(--ca-muted);
}

.cta-announcer {
  border-radius: var(--ca-radius-lg);
}

.site-footer {
  background: linear-gradient(135deg, #021d3d, #05386f);
}

.footer-grid {
  align-items: start;
}

.footer-copy {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 28px;
  padding-top: 18px;
}

/* WhatsApp flutuante inteligente */
.ca-whatsapp-float {
  position: fixed;
  bottom: 22px;
  z-index: 1040;
  max-width: min(360px, calc(100vw - 28px));
  animation: caFloatIn .45s ease both;
}

.ca-whatsapp-right { right: 22px; }
.ca-whatsapp-left { left: 22px; }
.ca-whatsapp-no-animation { animation: none; }

.ca-whatsapp-card {
  background: #fff;
  border: 1px solid rgba(37, 211, 102, .28);
  border-radius: 24px;
  box-shadow: 0 20px 55px rgba(15, 23, 42, .22);
  color: var(--ca-text);
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  text-decoration: none;
  overflow: hidden;
  position: relative;
}

.ca-whatsapp-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--ca-whatsapp);
}

.ca-whatsapp-card:hover {
  color: var(--ca-text);
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, .26);
}

.ca-whatsapp-avatar {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #eafff2;
  display: grid;
  place-items: center;
  color: var(--ca-whatsapp-dark);
  font-size: 1.7rem;
  font-weight: 900;
  overflow: hidden;
}

.ca-whatsapp-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ca-whatsapp-copy strong,
.ca-whatsapp-copy small,
.ca-whatsapp-copy em {
  display: block;
}

.ca-whatsapp-copy strong {
  color: var(--ca-primary);
  line-height: 1.15;
  font-size: .98rem;
}

.ca-whatsapp-copy small {
  color: var(--ca-muted);
  line-height: 1.2;
  margin-top: 2px;
}

.ca-whatsapp-copy em {
  color: #128c3a;
  font-size: .76rem;
  font-style: normal;
  font-weight: 800;
  margin-top: 4px;
}

.ca-whatsapp-action {
  background: var(--ca-whatsapp);
  border-radius: 999px;
  color: #fff;
  font-size: .82rem;
  font-weight: 900;
  padding: 9px 12px;
}

@keyframes caFloatIn {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Painel administrativo v28 */
.admin-body {
  background: #f8fafc;
}

.admin-layout {
  background: radial-gradient(circle at top left, rgba(13,91,181,.09), transparent 32%), #f8fafc;
}

.admin-sidebar {
  background: linear-gradient(180deg, #031f42, #052b59);
  border-right: 1px solid rgba(255,255,255,.09);
}

.admin-brand {
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding-bottom: 18px;
}

.admin-menu a {
  border: 1px solid transparent;
  border-radius: 14px;
  margin-bottom: 6px;
}

.admin-menu a.active,
.admin-menu a:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.12);
}

.admin-topbar {
  background: rgba(255,255,255,.84);
  backdrop-filter: blur(12px);
}

.admin-main {
  padding: clamp(18px, 3vw, 32px);
}

.stats-grid {
  gap: 18px;
}

.stat-card {
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  right: -42px;
  top: -52px;
  background: rgba(255,138,0,.14);
}

.admin-card {
  border-radius: 24px;
}

.admin-card h2 {
  color: var(--ca-primary);
  font-weight: 850 !important;
}

.admin-table {
  border-collapse: separate;
  border-spacing: 0 8px;
}

.admin-table thead th {
  background: #eaf3ff;
  color: var(--ca-primary);
}

.admin-table tbody tr {
  background: #fff;
}

.admin-table tbody td:first-child,
.admin-table thead th:first-child {
  border-radius: 14px 0 0 14px;
}

.admin-table tbody td:last-child,
.admin-table thead th:last-child {
  border-radius: 0 14px 14px 0;
}

.form-admin label {
  color: var(--ca-primary);
  margin-bottom: 6px;
}

.form-control,
.form-select {
  border-color: #dbeafe;
  border-radius: 14px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--ca-accent);
  box-shadow: 0 0 0 .2rem rgba(255,138,0,.13);
}

.ca-admin-preview {
  border: 1px solid #dbeafe;
  border-radius: 16px;
  display: inline-flex;
  margin-top: 10px;
  overflow: hidden;
  max-width: 160px;
  background: #fff;
}

.ca-admin-preview img {
  display: block;
  width: 100%;
  max-height: 110px;
  object-fit: cover;
}

.ca-form-section-title {
  color: var(--ca-primary);
  font-weight: 900;
  margin: 10px 0 0;
}

.badge-pending { background: #fff7ed; color: #9a3412; }
.badge-danger { background: #fee2e2; color: #991b1b; }

@media (max-width: 991px) {
  .ca-category-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ca-whatsapp-card {
    grid-template-columns: 52px 1fr;
  }
  .ca-whatsapp-action {
    grid-column: 1 / -1;
    text-align: center;
  }
}

@media (max-width: 575px) {
  .hero-slide,
  .hero-content {
    min-height: 600px;
  }
  .ca-search-strip {
    margin-top: -24px;
  }
  .ca-category-strip {
    grid-template-columns: 1fr;
  }
  .ca-whatsapp-hide-mobile {
    display: none !important;
  }
  .ca-whatsapp-float {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
  }
  .ca-whatsapp-card {
    border-radius: 20px;
  }
  .ca-whatsapp-avatar {
    width: 52px;
    height: 52px;
  }
  .ca-whatsapp-copy small,
  .ca-whatsapp-copy em {
    display: none;
  }
}

/* v28.2 - refinamento visual, SEO, admin e mobile */
.listing-card {
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.listing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 59, 120, .18);
}

.ca-listing-placeholder {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 138, 0, .22), transparent 32%),
    linear-gradient(135deg, #eef6ff, #ffffff);
  color: var(--ca-primary);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
}

.ca-listing-placeholder span {
  display: block;
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 8px;
}

.ca-listing-placeholder strong {
  display: block;
  max-width: 90%;
  font-size: .92rem;
  font-weight: 900;
  line-height: 1.15;
}

.listing-body h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.listing-body p {
  min-height: 3.05em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.breadcrumb-clean {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .82);
  font-weight: 800;
  margin: 0 0 16px;
}

.breadcrumb-clean a {
  color: #fff;
  text-decoration: none;
}

.breadcrumb-clean a:hover {
  color: var(--ca-accent);
}

.breadcrumb-clean strong {
  color: #fff;
}

.ca-detail-upgrade,
.ca-news-upgrade {
  overflow: visible;
}

.ca-sticky-info {
  position: sticky;
  top: 102px;
  align-self: start;
}

.ca-detail-price {
  color: var(--ca-primary);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 950;
  line-height: 1.05;
  margin: 8px 0 14px;
}

.ca-thumbs-list .thumb-btn.has-image {
  background-size: cover;
  background-position: center;
  color: transparent;
  border: 2px solid rgba(6, 59, 120, .14);
  min-height: 74px;
  overflow: hidden;
  position: relative;
}

.ca-thumbs-list .thumb-btn.has-image span {
  position: absolute;
  inset: auto 6px 6px;
  color: #fff;
  background: rgba(3, 43, 89, .72);
  border-radius: 999px;
  padding: 3px 6px;
  font-size: .68rem;
}

.ca-thumbs-list .thumb-btn.active {
  border-color: var(--ca-accent);
  box-shadow: 0 0 0 4px rgba(255, 138, 0, .18);
}

.ca-fraud-alert {
  border-left: 6px solid var(--ca-accent);
}

.share-buttons {
  align-items: center;
}

.share-btn {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.share-copy.copied {
  background: var(--ca-whatsapp) !important;
  color: #fff !important;
}

.news-text {
  color: #1f2937;
  font-size: 1.03rem;
  line-height: 1.75;
}

.ca-whatsapp-close {
  position: absolute;
  top: -10px;
  right: -10px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .22);
}

.ca-whatsapp-left .ca-whatsapp-close {
  right: auto;
  left: -10px;
}

.ca-whatsapp-float.is-hidden {
  display: none !important;
}

.admin-toolbar .admin-filter-box {
  margin: 0;
  flex: 1 1 520px;
}

.ca-form-section-title {
  color: var(--ca-primary);
  border-bottom: 1px solid var(--ca-border);
  font-size: 1rem;
  font-weight: 900;
  margin: 10px 0 4px;
  padding-bottom: 10px;
}

.admin-table td {
  vertical-align: middle;
}

@media (max-width: 991px) {
  .ca-sticky-info {
    position: static;
  }

  .ca-category-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .ca-search-panel {
    border-radius: 22px;
  }

  .ca-search-copy h2,
  .ca-search-panel h2 {
    font-size: 1.05rem;
  }

  .ca-category-strip {
    grid-template-columns: 1fr;
  }

  .ca-whatsapp-float {
    right: 12px;
    left: 12px;
    bottom: 12px;
    max-width: none;
  }

  .ca-whatsapp-card {
    grid-template-columns: 46px 1fr auto;
    border-radius: 20px;
    padding: 10px;
  }

  .ca-whatsapp-avatar {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    font-size: 1.35rem;
  }

  .ca-whatsapp-copy strong {
    font-size: .88rem;
  }

  .ca-whatsapp-copy small,
  .ca-whatsapp-copy em {
    display: none;
  }

  .ca-whatsapp-action {
    font-size: .72rem;
    padding: 8px 10px;
  }

  .ca-whatsapp-close {
    top: -8px;
    right: 0;
  }

  .ca-whatsapp-hide-mobile {
    display: none !important;
  }
}

/* v28.3 - Correções finas solicitadas */
.btn-whatsapp,
a.btn-whatsapp,
button.btn-whatsapp {
  border-radius: 999px !important;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.gallery-layout.gallery-single {
  grid-template-columns: 1fr;
}
.gallery-layout.gallery-single .main-photo {
  min-height: 430px;
}
.ca-thumbs-list .thumb-btn.has-image span {
  inset: auto 8px 8px auto;
  min-width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  font-weight: 900;
}

.payment-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.btn-payment-action {
  min-height: 46px;
  border-radius: 999px !important;
  padding: .72rem 1.35rem;
  font-weight: 850;
}

.ca-category-carousel {
  position: relative;
  padding: 0 56px;
}
.ca-category-carousel .carousel-inner {
  overflow: hidden;
}
.ca-category-carousel .ca-category-pill {
  height: 100%;
  justify-content: center;
  text-align: center;
  border-radius: 20px;
  min-height: 84px;
  flex-direction: column;
  gap: 6px;
}
.ca-category-carousel .ca-category-pill span {
  font-size: 1.35rem;
  line-height: 1;
}
.ca-category-control {
  width: 42px;
  height: 42px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--ca-primary);
  opacity: 1;
}
.ca-category-control.carousel-control-prev { left: 0; }
.ca-category-control.carousel-control-next { right: 0; }
.ca-category-control:hover { background: var(--ca-primary-2); }
.ca-category-control .carousel-control-prev-icon,
.ca-category-control .carousel-control-next-icon {
  width: 1.1rem;
  height: 1.1rem;
}

.news-text {
  font-size: 1.06rem;
  line-height: 1.85;
}
.news-text p {
  margin-bottom: 1.2rem;
}
.news-text a {
  color: var(--ca-primary-2);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.news-inline-image {
  margin: 24px 0;
  border-radius: 22px;
  overflow: hidden;
  background: var(--ca-primary-soft);
  border: 1px solid var(--ca-border);
}
.news-inline-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}
.news-inline-image figcaption {
  color: var(--ca-muted);
  font-size: .85rem;
  padding: 10px 14px;
  margin: 0;
}
.ca-news-editor {
  min-height: 260px;
  line-height: 1.6;
}

@media (max-width: 991px) {
  .ca-category-carousel {
    padding: 0 48px;
  }
  .ca-category-carousel .ca-category-pill {
    min-height: 76px;
  }
}

@media (max-width: 575px) {
  .gallery-layout.gallery-single .main-photo {
    min-height: 300px;
  }
  .payment-actions .btn-payment-action {
    width: 100%;
  }
  .ca-category-carousel {
    padding: 0 42px;
  }
  .ca-category-carousel .ca-category-pill {
    min-height: 70px;
    font-size: .88rem;
  }
  .ca-category-control {
    width: 34px;
    height: 34px;
  }
}

/* v28.4 - Correções de rodapé e galeria de eventos */
.footer-links-area h4 {
  margin-bottom: 4px;
}
.footer-links-area small {
  letter-spacing: .01em;
}

.event-gallery-layout {
  display: block;
}
.event-gallery-layout .main-photo {
  width: 100%;
  min-height: 460px;
  background-size: cover;
  background-position: center;
}
.event-thumbs-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.event-thumbs-row .thumb-btn.has-image {
  width: 100%;
  min-height: 86px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
}
.event-thumbs-row .thumb-btn.has-image span {
  inset: auto 8px 8px auto;
  min-width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  font-weight: 900;
  font-size: .7rem;
}

@media (max-width: 991px) {
  .event-thumbs-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .event-gallery-layout .main-photo {
    min-height: 300px;
  }
  .event-thumbs-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .event-thumbs-row .thumb-btn.has-image {
    min-height: 82px;
  }
}

/* v28.5 - Rodapé em 4 colunas Bootstrap responsivo */
.footer-bootstrap-row {
  width: 100%;
}
.footer-bootstrap-row .footer-column {
  min-width: 0;
}
.footer-bootstrap-row .footer-brand-area,
.footer-bootstrap-row .footer-logo,
.footer-bootstrap-row .footer-social {
  align-items: flex-start;
  justify-content: flex-start;
}
.footer-description {
  color: #dbeafe;
  font-size: .95rem;
  line-height: 1.6;
  max-width: 280px;
}
.footer-bootstrap-row .footer-links-area,
.footer-bootstrap-row .footer-pages-area,
.footer-bootstrap-row .footer-contact-area {
  justify-self: auto;
  max-width: none;
}
.footer-bootstrap-row .footer-links-area h4,
.footer-bootstrap-row .footer-pages-area h4,
.footer-bootstrap-row .footer-contact-area h4 {
  margin-bottom: 14px;
  font-size: 1.05rem;
}
.footer-links-list-single {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.footer-links-list-single li {
  margin: 0;
}
.footer-bootstrap-row .footer-contact-area p {
  line-height: 1.5;
}
.footer-whatsapp-btn {
  border-radius: 999px;
  padding-inline: 16px;
}
@media (max-width: 767px) {
  .footer-bootstrap-row {
    text-align: center;
  }
  .footer-bootstrap-row .footer-brand-area,
  .footer-bootstrap-row .footer-logo,
  .footer-bootstrap-row .footer-social {
    align-items: center;
    justify-content: center;
  }
  .footer-description {
    max-width: 100%;
  }
}


/* v28.5.1 - Aviso de privacidade discreto e responsivo */
.ca-privacy-notice {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1060;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.ca-privacy-notice[hidden] {
  display: none !important;
}
.ca-privacy-card {
  width: min(720px, 100%);
  background: rgba(255, 255, 255, .97);
  border: 1px solid rgba(15, 61, 117, .12);
  border-radius: 16px;
  box-shadow: 0 14px 35px rgba(15, 23, 42, .14);
  padding: 10px 42px 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
  color: var(--ca-text);
}
.ca-privacy-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 61, 117, .08);
  flex: 0 0 auto;
  font-size: .9rem;
}
.ca-privacy-content {
  min-width: 0;
  flex: 1 1 auto;
}
.ca-privacy-content strong {
  display: block;
  font-size: .86rem;
  line-height: 1.15;
  margin-bottom: 2px;
  color: var(--ca-primary);
}
.ca-privacy-content p {
  margin: 0;
  color: var(--ca-muted);
  line-height: 1.35;
  font-size: .78rem;
}
.ca-privacy-content a {
  color: var(--ca-primary-2);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ca-privacy-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex: 0 0 auto;
}
.ca-privacy-actions .btn {
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
  padding: .32rem .72rem;
  font-size: .78rem;
}
.ca-privacy-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #64748b;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
.ca-privacy-close:hover {
  background: rgba(15, 23, 42, .08);
  color: #0f172a;
}
.ca-privacy-notice.is-hidden {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}
@media (max-width: 767px) {
  .ca-privacy-notice {
    left: 8px;
    right: 8px;
    bottom: 8px;
  }
  .ca-privacy-card {
    align-items: flex-start;
    gap: 8px;
    padding: 10px 36px 10px 10px;
    border-radius: 14px;
  }
  .ca-privacy-icon {
    display: none;
  }
  .ca-privacy-content strong {
    font-size: .82rem;
  }
  .ca-privacy-content p {
    font-size: .74rem;
  }
  .ca-privacy-actions {
    flex-direction: column;
    align-items: stretch;
    min-width: 82px;
    gap: 5px;
  }
  .ca-privacy-actions .btn {
    padding: .28rem .55rem;
    font-size: .72rem;
  }
}
@media (max-width: 430px) {
  .ca-privacy-card {
    display: block;
  }
  .ca-privacy-actions {
    margin-top: 8px;
    flex-direction: row;
  }
  .ca-privacy-actions .btn {
    flex: 1 1 0;
  }
}



/* v28.5.2 - Correção de sobreposição no rodapé */
.site-footer {
  overflow: hidden;
}
.footer-bootstrap-row {
  --bs-gutter-x: 2rem;
  --bs-gutter-y: 2rem;
}
.footer-bootstrap-row > [class*="col-"] {
  min-width: 0;
}
.footer-bootstrap-row .footer-column,
.footer-bootstrap-row .footer-brand-area {
  width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}
.footer-bootstrap-row .footer-logo {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}
.footer-bootstrap-row .footer-logo-mark {
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  font-size: 1.25rem;
}
.footer-bootstrap-row .footer-logo-text {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.footer-bootstrap-row .footer-logo-text strong {
  display: block;
  max-width: 100%;
  font-size: clamp(1.05rem, 1.35vw, 1.32rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
  word-break: normal;
}
.footer-bootstrap-row .footer-logo-text small {
  display: block;
  font-size: .78rem;
  line-height: 1.2;
}
.footer-bootstrap-row h4 {
  white-space: normal;
}
.footer-bootstrap-row a,
.footer-bootstrap-row p {
  overflow-wrap: anywhere;
}
@media (min-width: 992px) {
  .footer-bootstrap-row .footer-brand-area {
    padding-right: 10px;
  }
}
@media (max-width: 767px) {
  .footer-bootstrap-row .footer-logo {
    justify-content: center;
    flex-wrap: wrap;
  }
  .footer-bootstrap-row .footer-logo-text {
    text-align: center;
    flex: 1 1 100%;
  }
}


/* v28.7.4 - Slide publicitário full width integrado ao admin */
.ca-ad-market-shell {
  padding: 0;
  margin: 0;
  background: #0f3d75;
}

.ca-ad-market-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 0;
  background: #0f3d75;
  border: 0;
  box-shadow: none;
}

.ca-ad-market-slide {
  position: relative;
  overflow: hidden;
  min-height: clamp(520px, 72vh, 760px);
  background: #0f3d75;
  isolation: isolate;
}

.ca-ad-market-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  opacity: .42;
  filter: saturate(1.04);
  z-index: -2;
}

.ca-ad-market-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background: linear-gradient(135deg, #0f3d75, #0d5bb5);
}

.ca-ad-market-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 40, 79, .94) 0%, rgba(15, 61, 117, .88) 44%, rgba(15, 61, 117, .30) 70%, rgba(15, 61, 117, .10) 100%),
    radial-gradient(circle at 14% 18%, rgba(255, 122, 26, .22), transparent 30%);
}

.ca-ad-market-copy {
  min-height: clamp(520px, 72vh, 760px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(110px, 10vw, 138px) clamp(20px, 6vw, 92px) clamp(48px, 7vw, 92px);
  color: #ffffff;
}

.ca-ad-market-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .92);
  font-size: .82rem;
  font-weight: 850;
  backdrop-filter: blur(10px);
}

.ca-ad-market-title {
  max-width: 680px;
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(2.45rem, 5.4vw, 5.8rem);
  line-height: .94;
  font-weight: 950;
  letter-spacing: -.06em;
  text-wrap: balance;
  text-shadow: 0 12px 34px rgba(2, 6, 23, .22);
}

.ca-ad-market-description {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.72;
}

.ca-ad-market-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.ca-ad-market-whatsapp {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  background: #25d366;
  color: #063519;
  box-shadow: 0 16px 34px rgba(37, 211, 102, .28);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.ca-ad-market-whatsapp:hover {
  transform: translateY(-2px);
  color: #063519;
  background: #34df75;
  box-shadow: 0 20px 40px rgba(37, 211, 102, .32);
}

.ca-ad-market-media {
  min-height: clamp(520px, 72vh, 760px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 5vw, 70px);
}

.ca-ad-market-media > img {
  display: block;
  width: min(100%, 650px);
  height: clamp(340px, 58vh, 620px);
  object-fit: cover;
  object-position: center;
  border-radius: clamp(22px, 3vw, 38px);
  box-shadow: 0 30px 90px rgba(2, 6, 23, .28);
  border: 1px solid rgba(255, 255, 255, .38);
}

.ca-ad-market-placeholder {
  width: min(100%, 650px);
  height: clamp(340px, 58vh, 620px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
  border-radius: clamp(22px, 3vw, 38px);
  background: rgba(255, 255, 255, .92);
  color: #0f3d75;
  box-shadow: 0 30px 90px rgba(2, 6, 23, .24);
}

.ca-ad-market-placeholder strong,
.ca-ad-market-placeholder span {
  display: block;
}

.ca-ad-market-placeholder strong {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.ca-ad-market-placeholder span {
  color: #64748b;
}

.ca-ad-market-control {
  width: 44px;
  height: 44px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  opacity: 1;
  z-index: 8;
  backdrop-filter: blur(10px);
}

.ca-ad-market-control.carousel-control-prev { left: 18px; right: auto; }
.ca-ad-market-control.carousel-control-next { right: 18px; }
.ca-ad-market-control:hover { background: rgba(255, 255, 255, .30); }

.ca-ad-market-indicators {
  right: auto;
  left: clamp(20px, 6vw, 92px);
  bottom: 28px;
  margin: 0;
  z-index: 8;
}

.ca-ad-market-indicators [data-bs-target] {
  width: 30px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .45);
  opacity: 1;
}

.ca-ad-market-indicators .active {
  width: 52px;
  background: #ffffff;
}

@media (max-width: 991.98px) {
  .ca-ad-market-shell { padding: 0; }
  .ca-ad-market-slide,
  .ca-ad-market-copy,
  .ca-ad-market-media { min-height: auto; }
  .ca-ad-market-slide::after {
    background: linear-gradient(180deg, rgba(8, 40, 79, .92) 0%, rgba(15, 61, 117, .84) 52%, rgba(8, 40, 79, .72) 100%);
  }
  .ca-ad-market-copy { padding: 104px 24px 22px; }
  .ca-ad-market-media { padding: 10px 24px 56px; }
  .ca-ad-market-media > img,
  .ca-ad-market-placeholder { width: 100%; height: 330px; border-radius: 24px; }
  .ca-ad-market-control { display: none; }
  .ca-ad-market-indicators { left: 24px; bottom: 18px; }
}

@media (max-width: 575.98px) {
  .ca-ad-market-shell { padding: 0; }
  .ca-ad-market-copy { padding: 94px 18px 18px; }
  .ca-ad-market-title { font-size: 2.35rem; letter-spacing: -.048em; }
  .ca-ad-market-description { font-size: .98rem; }
  .ca-ad-market-actions a { width: 100%; }
  .ca-ad-market-media { padding: 8px 18px 48px; }
  .ca-ad-market-media > img,
  .ca-ad-market-placeholder { height: 255px; border-radius: 20px; }
  .ca-ad-market-indicators { display: none; }
}
