/* ==========================================================================
   PLENA CAPITAL — MOBILE RESPONSIVE OVERRIDES
   Loaded AFTER plena-stone.css and plena-stone-fidelity.css
   All rules use high specificity to guarantee override
   ========================================================================== */

/* --- MOBILE MENU: Hidden by default on all sizes --- */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 8, 36, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: all 0.35s ease;
}
.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 80%;
  max-width: 320px;
  background: linear-gradient(180deg, #030824 0%, #0a1138 100%);
  z-index: 999;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-left: 1px solid rgba(0, 201, 127, 0.15);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.6);
  overflow-y: auto;
}
.mobile-menu-drawer.open {
  transform: translateX(0);
  visibility: visible;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.drawer-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.drawer-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  margin: 0;
}
.drawer-links li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.drawer-link {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #e2e8f0;
  text-decoration: none;
  display: block;
  padding: 16px 0;
  transition: color 0.2s ease, padding-left 0.2s;
}
.drawer-link:hover {
  color: #00c97f;
  padding-left: 8px;
}

.drawer-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.drawer-cta {
  display: flex !important;
}
.drawer-contact-info {
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.5;
}
.drawer-contact-info strong {
  display: block;
  color: #00c97f;
  font-size: 16px;
  margin-top: 4px;
}

/* --- HAMBURGER: Hidden on desktop --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  z-index: 102;
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}
.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}
.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Portfolio mobile heading: hidden on desktop --- */
.portfolio-mobile-heading {
  display: none;
}

/* ==========================================================================
   @media <= 900px — FULL MOBILE OVERRIDE
   ========================================================================== */
@media screen and (max-width: 900px) {

  /* ---- 0. UNIVERSAL ROOT & VIEWPORT LOCK (ZERO LATERAL SCROLL) ---- */
  html,
  body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    -webkit-text-size-adjust: 100% !important;
    touch-action: pan-y !important;
  }

  *, *::before, *::after {
    box-sizing: border-box !important;
  }

  /* Prevent media from breaking boundaries */
  img, svg, video, iframe, canvas {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Universal text wrapping */
  h1, h2, h3, h4, h5, h6, p, span, a, label, strong, li {
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }

  /* Universal section containment */
  body > *,
  main,
  section,
  header,
  footer,
  .section-wrapper,
  .page-main-wrap,
  .footer-container,
  .nav-container,
  .stone-hero-viewport {
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  /* ---- 1. HEADER / NAV ---- */
  body .top-notice {
    display: none !important;
  }
  body .plena-navbar .nav-container .nav-links {
    display: none !important;
  }
  body .nav-actions .desktop-only {
    display: none !important;
  }
  body .mobile-menu-toggle {
    display: flex !important;
  }
  body .plena-navbar {
    padding: 10px 16px;
  }
  body .nav-brand img {
    height: 28px;
  }

  /* ---- 2. HERO ---- */
  body .stone-hero-viewport {
    min-height: auto;
    padding: 75px 16px 40px;
  }
  body .hero-super-title {
    font-size: clamp(26px, 8vw, 40px);
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin-bottom: 12px;
  }
  body .hero-super-desc {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 24px;
  }
  body .hero-content-wrap {
    max-width: 100%;
  }
  body .stone-cta-btn {
    width: 100%;
    max-width: 300px;
    height: 50px;
    font-size: 15px;
    border-radius: 14px;
  }
  body .hero-scroll-btn {
    margin-top: 24px;
    font-size: 11px;
  }

  /* ---- 3. MARQUEE / FLAGS ---- */
  body .stone-flags-section {
    padding: 20px 0;
  }
  body .stone-marquee-content {
    gap: 12px !important;
    padding-right: 12px !important;
  }
  body .stone-pill-flag {
    padding: 6px 14px 6px 6px;
    font-size: 13px;
    gap: 8px;
  }
  body .stone-pill-flag .icon-circle {
    width: 36px;
    height: 36px;
  }
  body .stone-pill-flag .thumb-cloud {
    width: 60px;
    height: 36px;
  }

  /* ---- 4. PORTFOLIO STICKY → VERTICAL STACK ---- */
  body .stone-portfolio-section {
    padding: 24px 0 40px !important;
    overflow-x: hidden !important;
    overflow-x: clip !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }
  body .portfolio-sticky-layout {
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  /* Sidebar → Horizontal scrollable pill tabs (Fixed height & cohesive light palette) */
  body .portfolio-aside-sticky {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 48px !important;
    z-index: 60 !important;
    flex: none !important;
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 8px 16px !important;
    background: rgba(244, 252, 243, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    height: 52px !important;
    max-height: 52px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 8px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    border-bottom: 1px solid rgba(0, 61, 28, 0.12) !important;
    box-shadow: 0 4px 14px rgba(0, 61, 28, 0.06) !important;
    box-sizing: border-box !important;
  }
  body .portfolio-aside-sticky::-webkit-scrollbar {
    display: none !important;
  }

  body .portfolio-cards-column {
    gap: 36px !important;
    padding: 16px 16px 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  body .aside-category-link {
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
    padding: 0 16px !important;
    height: 36px !important;
    max-height: 36px !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    color: #003d1c !important;
    border: 1.5px solid rgba(0, 61, 28, 0.14) !important;
    opacity: 0.9 !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    transform: none !important;
    transition: all 0.2s ease !important;
    line-height: 1 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
  }
  body .aside-category-link.active {
    opacity: 1 !important;
    background: #00c97f !important;
    color: #003d1c !important;
    font-weight: 800 !important;
    border-color: #00c97f !important;
    box-shadow: 0 3px 12px rgba(0, 201, 127, 0.4) !important;
    transform: none !important;
  }
  body .aside-category-desc,
  body .aside-support-card,
  body .aside-help-banner,
  body .aside-cat-num {
    display: none !important;
  }
  body .aside-cat-label {
    display: inline-block !important;
    font-size: 13px !important;
    line-height: 1 !important;
  }

  /* Mobile headings visible */
  body .portfolio-mobile-heading {
    display: block !important;
    font-family: 'Sora', system-ui, sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #003d1c;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: -0.3px;
  }

  body .portfolio-cards-column {
    gap: 36px !important;
    padding-bottom: 0 !important;
    width: 100% !important;
  }
  body .portfolio-section-block {
    min-height: auto !important;
    padding-top: 20px !important;
    scroll-margin-top: 110px !important;
  }
  body .portfolio-items-grid {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    width: 100% !important;
  }
  body .portfolio-tags-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }
  body .portfolio-item-card {
    width: 100% !important;
    padding: 14px 18px !important;
    min-height: 56px !important;
    border-radius: 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    background: #ffffff !important;
    border: 1.5px solid rgba(0, 61, 28, 0.08) !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03) !important;
    text-decoration: none !important;
    color: #003d1c !important;
    box-sizing: border-box !important;
    transition: transform 0.2s ease, border-color 0.2s ease !important;
  }
  body .portfolio-item-card:hover {
    transform: translateY(-2px) !important;
    border-color: #00c97f !important;
  }
  body .portfolio-item-card span {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #003d1c !important;
    line-height: 1.3 !important;
    flex: 1 !important;
  }
  body .portfolio-item-card .card-icon {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border-radius: 12px !important;
    background: #e6fcf2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }
  body .portfolio-item-card::after {
    content: "→" !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #00c97f !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
  }
  body .portfolio-showcase-preview {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    margin-top: 14px !important;
    background: #030824 !important;
    border: 1px solid rgba(0, 201, 127, 0.22) !important;
    box-shadow: 0 10px 30px rgba(3, 8, 36, 0.16) !important;
  }
  body .portfolio-showcase-preview img {
    width: 100% !important;
    height: 160px !important;
    min-height: 160px !important;
    max-height: 160px !important;
    object-fit: cover !important;
    display: block !important;
    flex-shrink: 0 !important;
    transform: none !important;
    transition: none !important;
  }
  body #sec-vendas .portfolio-showcase-preview img {
    object-position: center center !important;
  }
  body #sec-credito .portfolio-showcase-preview img {
    object-position: center 25% !important;
  }
  body #sec-gestao .portfolio-showcase-preview img {
    object-position: center 30% !important;
  }
  body #sec-integracoes .portfolio-showcase-preview img {
    object-position: center 30% !important;
  }
  body .portfolio-showcase-overlay {
    position: relative !important;
    inset: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    padding: 16px 16px 18px !important;
    background: #030824 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  body .portfolio-showcase-badge {
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.8px !important;
    color: #00c97f !important;
    margin-bottom: 6px !important;
    text-transform: uppercase !important;
  }
  body .portfolio-showcase-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: #ffffff !important;
    margin-bottom: 10px !important;
  }
  body .portfolio-showcase-pills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-top: 4px !important;
  }
  body .showcase-pill {
    display: inline-flex !important;
    align-items: center !important;
    padding: 4px 10px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    border-radius: 9999px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    color: #e2e8f0 !important;
    letter-spacing: 0.2px !important;
  }

  body .segments-bento-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 0 16px !important;
  }
  body .segment-modern-card {
    padding: 24px 20px !important;
    min-height: auto !important;
    border-radius: 16px !important;
  }

  /* ---- 5. SPLIT SIMULATOR ---- */
  body .section-wrapper {
    padding: 36px 16px !important;
  }
  body .split-simulator-section {
    padding: 22px 16px !important;
    border-radius: 16px !important;
    margin-top: 8px !important;
  }
  body .section-header {
    margin-bottom: 16px !important;
  }
  body .section-title {
    font-size: clamp(20px, 5.5vw, 28px) !important;
    line-height: 1.2 !important;
  }
  body .section-desc {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
  body .split-flow-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin: 18px 0 !important;
  }
  body .split-step-card {
    padding: 20px 16px !important;
    border-radius: 14px !important;
  }
  body .step-num {
    top: -10px !important;
    left: 16px !important;
    font-size: 11px !important;
  }
  body .split-amount {
    font-size: 22px !important;
  }
  body .split-bar-visual {
    height: 14px !important;
    margin: 14px 0 10px !important;
  }
  body .split-summary-box {
    flex-direction: column !important;
    text-align: center !important;
    gap: 14px !important;
    padding: 18px 16px !important;
    border-radius: 14px !important;
  }
  body .split-summary-box .btn-primary {
    width: 100%;
    justify-content: center;
  }

  /* ---- 6. HIGHLIGHTS / SANFONA ---- */
  body .stone-highlights-section {
    padding: 32px 16px 0 !important;
  }
  body .highlights-title-header {
    margin-bottom: 20px !important;
  }
  body .highlights-title-header h2 {
    font-size: clamp(20px, 5.5vw, 28px) !important;
    line-height: 1.2 !important;
  }
  body .highlights-accordion-wrapper {
    flex-direction: column !important;
    height: auto !important;
    gap: 10px !important;
  }
  body .highlight-accordion-item {
    flex: none !important;
    width: 100% !important;
    height: 160px !important;
    min-height: 160px !important;
    border-radius: 16px !important;
    overflow: hidden;
  }
  body .highlight-accordion-item:hover {
    flex: none !important;
  }
  body .highlight-overlay-content {
    padding: 20px !important;
  }
  body .highlight-item-title {
    font-size: 18px !important;
    margin-bottom: 6px !important;
  }
  body .highlight-item-cta {
    opacity: 1 !important;
    transform: none !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    background: rgba(255, 255, 255, 0.25) !important;
  }

  /* ---- 7. FAQ ---- */
  body .faq-list {
    max-width: 100% !important;
  }
  body .faq-question {
    font-size: 15px !important;
    padding: 16px 0 !important;
    gap: 12px !important;
  }
  body .faq-answer {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  /* ---- 8. CONTACT FORM ---- */
  body .contact-section-grid {
    grid-template-columns: 1fr !important;
    padding: 24px 16px !important;
    border-radius: 16px !important;
    gap: 24px !important;
  }
  body .form-input,
  body .form-select {
    font-size: 16px !important; /* iOS zoom fix */
    padding: 13px 14px !important;
  }

  /* ---- 9. FOOTER ULTRA-PREMIUM FINTECH MOBILE ---- */
  body .plena-footer,
  .plena-footer {
    padding: 38px 16px 95px !important; /* Generous bottom clearance for floating WhatsApp button */
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    background: #030824 !important;
    border-top: 1px solid rgba(0, 201, 127, 0.18) !important;
    position: relative !important;
  }
  body .footer-container,
  .footer-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  body .footer-nav-grid,
  .footer-nav-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    margin-bottom: 22px !important;
    text-align: left !important;
    width: 100% !important;
  }

  /* Brand Header Card */
  body .footer-brand-col,
  .footer-brand-col {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    padding: 22px 18px !important;
    box-sizing: border-box !important;
    align-items: flex-start !important;
    text-align: left !important;
    margin-bottom: 2px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
  }
  body .footer-brand-logo img,
  .footer-brand-logo img {
    height: 32px !important;
    margin-bottom: 12px !important;
    display: block !important;
  }
  body .footer-brand-desc,
  .footer-brand-desc {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    color: #94a3b8 !important;
    max-width: 100% !important;
    margin: 0 0 16px 0 !important;
  }
  body .footer-brand-badges,
  .footer-brand-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
  }
  body .footer-badge-pill,
  .footer-badge-pill {
    background: rgba(0, 201, 127, 0.08) !important;
    border: 1px solid rgba(0, 201, 127, 0.28) !important;
    color: #00c97f !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    padding: 6px 12px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    letter-spacing: 0.2px !important;
  }
  body .footer-badge-pill svg,
  .footer-badge-pill svg {
    color: #00c97f !important;
  }

  /* Category Cards Container */
  body .footer-links-wrap,
  .footer-links-wrap {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }

  /* Each Category Section Card */
  body .footer-col,
  .footer-col {
    background: rgba(255, 255, 255, 0.025) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 18px !important;
    padding: 16px 14px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    transition: all 0.2s ease !important;
  }
  body .footer-col:active,
  body .footer-col:hover,
  .footer-col:active,
  .footer-col:hover {
    border-color: rgba(0, 201, 127, 0.35) !important;
    background: rgba(255, 255, 255, 0.035) !important;
  }

  /* Category Header */
  body .footer-col-title,
  .footer-col-title {
    font-family: 'Sora', system-ui, sans-serif !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 12px 0 !important;
    letter-spacing: -0.2px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding-bottom: 0 !important;
    border: none !important;
  }
  body .footer-col-title::before {
    content: "" !important;
    display: inline-block !important;
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background: #00c97f !important;
    box-shadow: 0 0 8px rgba(0, 201, 127, 0.8) !important;
    flex-shrink: 0 !important;
  }
  body .footer-col-title::after {
    display: none !important;
  }

  /* Touch-friendly Interactive Link Rows */
  body .footer-links-list,
  .footer-links-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    width: 100% !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  body .footer-links-list li,
  .footer-links-list li {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body .footer-links-list a,
  .footer-links-list a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    color: #cbd5e1 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-sizing: border-box !important;
    -webkit-tap-highlight-color: transparent !important;
  }
  body .footer-links-list a::after,
  .footer-links-list a::after {
    content: "›" !important;
    font-size: 17px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.35) !important;
    transition: transform 0.2s ease, color 0.2s ease !important;
    margin-left: 8px !important;
  }
  body .footer-links-list a:active,
  body .footer-links-list a:hover,
  .footer-links-list a:active,
  .footer-links-list a:hover {
    background: rgba(0, 201, 127, 0.12) !important;
    border-color: rgba(0, 201, 127, 0.35) !important;
    color: #00c97f !important;
    transform: translateX(3px) !important;
  }
  body .footer-links-list a:active::after,
  body .footer-links-list a:hover::after,
  .footer-links-list a:active::after,
  .footer-links-list a:hover::after {
    color: #00c97f !important;
    transform: translateX(2px) !important;
  }

  /* Special Highlight CTA: Área do Cliente */
  body .footer-link-highlight,
  .footer-link-highlight,
  body a[href="/app/"],
  a[href="/app/"] {
    background: linear-gradient(135deg, rgba(0, 201, 127, 0.22) 0%, rgba(0, 201, 127, 0.08) 100%) !important;
    border: 1.5px solid rgba(0, 201, 127, 0.5) !important;
    color: #00c97f !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 14px rgba(0, 201, 127, 0.15) !important;
  }
  body .footer-link-highlight::after,
  .footer-link-highlight::after,
  body a[href="/app/"]::after,
  a[href="/app/"]::after {
    content: "→" !important;
    color: #00c97f !important;
    font-weight: 800 !important;
    font-size: 15px !important;
  }

  /* Subpages generic footers (with anonymous child divs) */
  body .plena-footer > .footer-container > div:not(.footer-nav-grid) {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
  }
  body .plena-footer [style*="grid-template-columns"] > div {
    background: rgba(255, 255, 255, 0.025) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 18px !important;
    padding: 16px 14px !important;
    box-sizing: border-box !important;
  }
  body .plena-footer [style*="grid-template-columns"] h4 {
    font-family: 'Sora', system-ui, sans-serif !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 12px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }
  body .plena-footer [style*="grid-template-columns"] h4::before {
    content: "" !important;
    display: inline-block !important;
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background: #00c97f !important;
    box-shadow: 0 0 8px rgba(0, 201, 127, 0.8) !important;
  }
  body .plena-footer ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }
  body .plena-footer ul a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    color: #cbd5e1 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
  }
  body .plena-footer ul a::after {
    content: "›" !important;
    font-size: 17px !important;
    color: rgba(255, 255, 255, 0.35) !important;
  }
  body .plena-footer ul a:active,
  body .plena-footer ul a:hover {
    background: rgba(0, 201, 127, 0.12) !important;
    border-color: rgba(0, 201, 127, 0.35) !important;
    color: #00c97f !important;
  }

  /* Bottom Compliance Bar */
  body .footer-bottom-bar,
  .footer-bottom-bar,
  body .plena-footer [style*="border-top: 1px solid"] {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-top: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
  }
  body .footer-copyright,
  .footer-copyright {
    color: #94a3b8 !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
  }
  body .footer-compliance,
  .footer-compliance {
    color: #64748b !important;
    font-size: 11.5px !important;
    line-height: 1.55 !important;
  }

  /* ---- 10. FLOATING WHATSAPP ---- */
  body .floating-whatsapp {
    bottom: 16px !important;
    right: 16px !important;
    width: 50px !important;
    height: 50px !important;
  }
  body .floating-whatsapp svg {
    width: 26px !important;
    height: 26px !important;
  }

  /* ---- 11. HUB CARDS (Para Você & Para Sua Empresa) ---- */
  body .hub-cards-section {
    padding-bottom: 50px !important;
  }
  body .hub-grid {
    grid-template-columns: 1fr !important;
    max-width: 620px !important;
    margin: -40px auto 35px !important;
    gap: 20px !important;
    padding: 0 20px !important;
  }
  body .hub-card {
    min-height: auto !important;
    padding: 28px 24px !important;
    box-sizing: border-box !important;
  }
  body .hub-benefits-container {
    padding: 0 20px !important;
    margin-top: 36px !important;
  }
  body .benefits-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  /* ---- 12. UNIVERSAL SUBPAGES, PRODUCT GRIDS & FORMS (ALL SUB-ROUTES) ---- */
  body .back-nav-bar,
  .back-nav-bar {
    padding: 16px 16px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
  body .back-nav-bar > * {
    max-width: 100% !important;
  }

  body .page-main-wrap,
  .page-main-wrap {
    padding: 20px 16px 50px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body .sol-hero-box,
  .sol-hero-box {
    padding: 28px 18px !important;
    border-radius: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    margin-bottom: 28px !important;
  }
  body .sol-hero-box::after,
  .sol-hero-box::after {
    display: none !important;
  }
  body .sol-hero-title,
  .sol-hero-title {
    font-size: clamp(24px, 6.5vw, 32px) !important;
    line-height: 1.2 !important;
    margin-bottom: 12px !important;
  }
  body .sol-hero-desc,
  .sol-hero-desc {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  body .sol-grid,
  .sol-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 32px !important;
  }
  body .sol-card,
  .sol-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 22px 18px !important;
    border-radius: 18px !important;
    box-sizing: border-box !important;
  }
  body .sol-banner-box,
  .sol-banner-box,
  body .cta-box,
  .cta-box {
    padding: 24px 18px !important;
    border-radius: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 32px !important;
  }
  body .cta-box h3,
  .cta-box h3 {
    font-size: 20px !important;
    line-height: 1.3 !important;
  }
  body .cta-box p,
  .cta-box p {
    font-size: 14px !important;
  }

  body .product-grid,
  .product-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 20px !important;
  }
  body .prod-card,
  .prod-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 22px 18px !important;
    border-radius: 18px !important;
    box-sizing: border-box !important;
  }

  body .contact-form-box,
  .contact-form-box {
    padding: 24px 16px !important;
    border-radius: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  body .form-row-2,
  body .form-row-2[style],
  .form-row-2 {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  body .form-input,
  body .form-select,
  body .form-textarea,
  .form-input,
  .form-select,
  .form-textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
  }

  body .franchise-banner,
  .franchise-banner,
  body .story-card,
  .story-card,
  body .pillar-card,
  .pillar-card {
    padding: 24px 18px !important;
    border-radius: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* ==========================================================================
   @media <= 480px — EXTRA SMALL PHONE ADJUSTMENTS
   ========================================================================== */
@media screen and (max-width: 480px) {
  body .hero-super-title {
    font-size: clamp(24px, 7.5vw, 34px) !important;
  }
  body .stone-cta-btn {
    max-width: 100% !important;
    border-radius: 12px !important;
  }
  body .aside-category-link {
    font-size: 12px !important;
    padding: 0 14px !important;
    height: 36px !important;
    max-height: 36px !important;
    border-radius: 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
  }
  body .portfolio-mobile-heading {
    font-size: 18px !important;
  }
  body .highlight-accordion-item {
    height: 140px !important;
    min-height: 140px !important;
  }
  body .hub-grid {
    padding: 0 16px !important;
    margin: -35px auto 24px !important;
    gap: 16px !important;
  }
  body .hub-card {
    border-radius: 20px !important;
    padding: 22px 18px !important;
  }
  body .hub-title {
    font-size: 20px !important;
  }
  body .benefits-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  body .product-grid,
  .product-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  body .prod-card,
  .prod-card {
    padding: 20px 14px !important;
  }
  body .sol-grid,
  .sol-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  body .sol-card,
  .sol-card {
    padding: 20px 14px !important;
  }
  body .contact-form-box,
  .contact-form-box {
    padding: 20px 14px !important;
  }
  body .back-nav-bar,
  .back-nav-bar {
    padding: 12px 14px 0 !important;
  }
  body .page-main-wrap,
  .page-main-wrap {
    padding: 16px 14px 40px !important;
  }
}


  /* Back navigation bar mobile refinement */
  body .back-nav-bar,
  .back-nav-bar {
    padding: 16px 16px 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 10px !important;
  }

  body .back-btn,
  .back-btn {
    font-size: 12.5px !important;
    padding: 6px 16px 6px 8px !important;
    gap: 8px !important;
  }

  body .back-btn svg,
  .back-btn svg {
    width: 24px !important;
    height: 24px !important;
    padding: 5px !important;
  }

  @media (max-width: 520px) {
    body .back-nav-badge,
    .back-nav-badge {
      display: none !important;
    }
  }
