:root {
  --vibe-green: #08b946;
  --vibe-green-dark: #078b37;
  --vibe-ink: #2d211b;
  --vibe-sand: #f8f1eb;
}

html { scroll-behavior: smooth; }
.vibe-menu-button { display: none !important; }
html.vibe-menu-open { overflow: hidden; }
#vibe-navigation:not([open]) { display: none; }
#vibe-navigation {
  position: fixed;
  inset: 12px 12px auto auto;
  box-sizing: border-box;
  width: min(360px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  margin: 0;
  padding: 18px;
  overflow-y: auto;
  border: 1px solid #e6d4c5;
  border-radius: 18px;
  background: #fffaf6;
  color: #38281e;
  font: 16px/1.4 Poppins, system-ui, sans-serif;
  box-shadow: 0 16px 48px #23150e33;
  animation: none !important;
  transition: none !important;
}
#vibe-navigation::backdrop { background: #23150e88; }
#vibe-navigation .vibe-menu-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid #e6d4c5;
}
#vibe-navigation .vibe-menu-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #efe2d7;
  color: #38281e;
  font: 28px/1 system-ui, sans-serif;
  cursor: pointer;
}
#vibe-navigation nav a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #38281e;
  font-size: 16px;
  text-decoration: none;
  line-height: 1.4;
}
#vibe-navigation nav a:hover { background: #efe2d7; }
#vibe-navigation .vibe-menu-units {
  border-top: 1px solid #e6d4c5;
  padding-top: 8px;
  margin-top: 8px;
}
#vibe-navigation .vibe-menu-units a:not(:first-child) { font-size: 14px; padding-left: 24px; }
#vibe-navigation button:focus-visible { outline: 3px solid #835130; outline-offset: 2px; }
@media (max-width: 1024px) {
  nav.vibe-legacy-navigation { display: none !important; }
  body button.vibe-menu-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 94px;
    height: 44px;
    padding: 10px 14px;
    border: 1px solid #dec5b1;
    border-radius: 12px;
    background: #fffaf6;
    color: #38281e;
    font: 600 14px/1 Poppins, system-ui, sans-serif;
    cursor: pointer;
  }
  .vibe-menu-lines {
    display: block;
    width: 18px;
    height: 14px;
    flex: none;
    border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    position: relative;
  }
  .vibe-menu-lines::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 4px;
    border-top: 2px solid currentColor;
  }
}
body { overflow-x: hidden; }
i[class^="https://"] { display: none !important; }

/* These four cards repeat the message from the treatment and evaluation
   sections. Keep the page focused on the client stories that follow. */
.elementor-element-a565385 { display: none !important; }

/* Play testimonial videos inside the page instead of opening Elementor's lightbox. */
.elementor-element-17fd842 .vibe-testimonial-video-frame {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 500px;
  border: 0;
  background: #171313;
  opacity: 0;
  transition: opacity .2s ease;
}
.elementor-element-17fd842 .vibe-testimonial-video-trigger {
  position: relative;
  overflow: hidden;
}
.elementor-element-17fd842 .vibe-testimonial-video-trigger.vibe-video-loaded .vibe-testimonial-video-frame {
  opacity: 1;
}
.elementor-element-17fd842 .vibe-testimonial-video-trigger.vibe-video-loaded .elementor-carousel-image {
  opacity: 0;
}
.elementor-element-cd28831 .elementor-carousel-image { visibility: visible !important; }

/* The original floating widget lost its Font Awesome class in the export.
   Restore a real WhatsApp mark instead of showing an empty green circle. */
.elementor-element-504d2ca .elementor-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
.elementor-element-504d2ca .elementor-icon::before {
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  background: url("whatsapp.svg") center / contain no-repeat;
}

/* Keep the exported unit-page menu trigger inside the mobile viewport. */
button[aria-label="hamburger-icon"] {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  padding: 10px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
button[aria-label="hamburger-icon"] svg {
  width: 24px !important;
  height: 24px !important;
}

.elementor-button {
  min-height: 46px;
  border-radius: 999px !important;
  padding: 12px 22px !important;
  font-weight: 700 !important;
  letter-spacing: .01em;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.elementor-button:hover,
.elementor-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(8, 185, 70, .25);
}
.elementor-button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #f5bf3b;
  outline-offset: 3px;
}

@media (max-width: 767px) {
  /* Compact the first screen: the exported template treated both hero lines
     as display-size H1s, which pushed the CTA below the fold. */
  .elementor-element-c61c160 {
    margin: 24px 0 40px !important;
  }
  .elementor-element-2927852 h1 {
    font-size: clamp(2rem, 8vw, 2.25rem) !important;
    line-height: 1.08 !important;
  }
  .elementor-element-3ed6d9d h1 {
    margin-top: 4px !important;
    font-size: clamp(1.3rem, 5vw, 1.5rem) !important;
    line-height: 1.2 !important;
  }
  .elementor-element-22e101f h2 {
    margin-top: 12px !important;
    font-size: 1rem !important;
    line-height: 1.45 !important;
  }

  /* Keep section hierarchy readable without oversized 42px headings. */
  .elementor-2661 .elementor-widget-heading h2 {
    font-size: clamp(1.55rem, 6.5vw, 1.9rem) !important;
    line-height: 1.16 !important;
  }
  .elementor-2661 .elementor-icon-box-title,
  .elementor-2661 .elementor-widget-heading h3 {
    font-size: 1.18rem !important;
    line-height: 1.25 !important;
  }
  .elementor-2661 .elementor-widget-text-editor p {
    font-size: .98rem !important;
    line-height: 1.55 !important;
  }
  .elementor-2661 .elementor-element-22e101f h2 {
    margin-top: 12px !important;
    font-size: 1rem !important;
    line-height: 1.45 !important;
  }

  /* The fixed CTA below replaces the broken exported floating widget on
     mobile, so visitors see one clear action instead of two green circles. */
  .elementor-element-504d2ca,
  .elementor-element-86d6f8c { display: none !important; }

  .elementor-element-84d2bff h2,
  .elementor-element-e819561 h2,
  .elementor-element-f135e43 h2,
  .elementor-element-c6ac34d h2 {
    font-size: clamp(1.75rem, 8vw, 2.4rem) !important;
    line-height: 1.08 !important;
  }
  .elementor-element-84d2bff p,
  .elementor-element-e819561 p,
  .elementor-element-f135e43 p,
  .elementor-element-c6ac34d p {
    line-height: 1.55 !important;
  }
  .elementor-button { width: 100%; justify-content: center; }
  body { padding-bottom: 76px; }
}

/* The two unit pages contain a legacy, unwrapped Elementor export. Its
   WhatsApp SVGs otherwise use the 448x512 viewBox as their rendered size,
   creating kilometre-long gaps between sections. */
@media (max-width: 767px) {
  .entry-content a#pesquisa svg,
  .entry-content a[aria-label*="whatsapp" i] svg {
    width: 22px !important;
    height: 22px !important;
    display: inline-block !important;
    vertical-align: middle;
  }
  .entry-content a#pesquisa {
    line-height: 1.35 !important;
  }
  .entry-content > p > svg {
    width: 64px !important;
    height: 64px !important;
    display: inline-block !important;
    vertical-align: middle;
  }
  .entry-content > p a[data-elementor-open-lightbox] {
    display: block !important;
    width: 100% !important;
    height: 132px !important;
    margin: 8px 0 !important;
    overflow: hidden !important;
  }
  .entry-content > p a[data-elementor-open-lightbox] img {
    width: 100% !important;
    height: 132px !important;
    object-fit: cover !important;
  }

  /* Keep the duplicated testimonial lists as compact single-card blocks
     until the original carousel wrapper is restored. */
  .entry-content > ul:nth-of-type(2),
  .entry-content > ul:nth-of-type(3) {
    height: 420px !important;
    overflow: hidden !important;
    margin: 24px 0 !important;
    padding: 0 10px !important;
  }
  .entry-content > ul:nth-of-type(2) > li,
  .entry-content > ul:nth-of-type(3) > li {
    display: none !important;
    height: 390px !important;
    overflow: hidden !important;
    margin: 0 !important;
  }
  .entry-content > ul:nth-of-type(2) > li:first-child,
  .entry-content > ul:nth-of-type(3) > li:first-child {
    display: block !important;
  }
  .entry-content > ul:nth-of-type(2) figure,
  .entry-content > ul:nth-of-type(3) figure {
    margin: 0 !important;
  }
  .entry-content > ul:nth-of-type(2) img,
  .entry-content > ul:nth-of-type(3) img {
    width: 68px !important;
    height: 68px !important;
    object-fit: cover;
    border-radius: 50%;
  }
}

#vibe-mobile-cta { display: none; }
@media (max-width: 767px) {
  #vibe-mobile-cta {
    position: fixed;
    z-index: 9999;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--vibe-green);
    color: #fff;
    box-shadow: 0 8px 28px rgba(0,0,0,.28);
    font: 700 15px/1.1 Poppins, system-ui, sans-serif;
    text-decoration: none;
  }
  #vibe-mobile-cta small {
    display: block;
    margin-left: 8px;
    font-size: 11px;
    font-weight: 500;
    opacity: .92;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
