/* ================================================================
   JUNTOS SAÚDE — HOME
   Identidade visual: Azul Profundo · Azul Principal · Azul Claro · Branco
================================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button, input { font-family: inherit; }
ul { list-style: none; }
svg { display: block; }

:root {
  /* Brand palette */
  --js-deep:    #0D1B2A;
  --js-blue:    #2563EB;
  --js-blue-h:  #1d4fc0;
  --js-light:   #6FB6F2;
  --js-white:   #FFFFFF;

  /* Neutrals built from brand */
  --js-bg:      #F5F8FC;
  --js-bg-soft: #EEF2F8;
  --js-line:    #DCE4EE;
  --js-line-dk: rgba(255,255,255,0.08);

  --js-ink:     #0D1B2A;
  --js-ink-mid: #314256;
  --js-ink-mut: #56697E;
  --js-fog:     #8FA3B8;
  --js-mist:    #B6C5D6;

  --js-r-sm: 6px;
  --js-r:    10px;
  --js-r-lg: 18px;

  --js-wrap: 1320px;

  --js-font: 'Montserrat', 'Avenir Next', system-ui, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--js-font);
  background: var(--js-white);
  color: var(--js-ink);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.js-wrap {
  width: min(calc(100% - 3rem), var(--js-wrap));
  margin-inline: auto;
}

/* ================================================================
   SHARED TYPE
================================================================ */
.js-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--js-blue);
}
.js-eyebrow__bar {
  display: inline-block;
  width: 2.25rem;
  height: 1px;
  background: var(--js-blue);
}
.js-eyebrow--light { color: var(--js-light); }
.js-eyebrow--light .js-eyebrow__bar { background: var(--js-light); }

.js-section-head {
  max-width: 44rem;
  margin: 0 auto 4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.js-section-head h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.04;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--js-ink);
}
.js-section-head h2 em {
  font-style: normal;
  font-weight: 600;
  color: var(--js-blue);
}
.js-section-head p {
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--js-ink-mut);
  font-weight: 400;
}

/* ================================================================
   BUTTONS
================================================================ */
.js-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  height: 2.85rem;
  padding: 0 1.5rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background 0.22s, color 0.22s, border-color 0.22s, transform 0.18s, box-shadow 0.22s;
  cursor: pointer;
  border: 1px solid transparent;
}
.js-btn i, .js-btn svg { width: 1rem; height: 1rem; stroke-width: 2.2; }
.js-btn--lg { height: 3.2rem; padding: 0 1.85rem; font-size: 0.88rem; }

.js-btn--primary {
  background: var(--js-blue);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(37,99,235,0.6);
}
.js-btn--primary:hover {
  background: var(--js-blue-h);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -10px rgba(37,99,235,0.7);
}

.js-btn--outline {
  background: transparent;
  color: var(--js-blue);
  border-color: rgba(37,99,235,0.4);
}
.js-btn--outline:hover {
  background: rgba(37,99,235,0.06);
  border-color: var(--js-blue);
  transform: translateY(-1px);
}

.js-btn--ghost {
  background: transparent;
  color: var(--js-ink);
  font-weight: 500;
}
.js-btn--ghost:hover { color: var(--js-blue); }

.js-btn--ghost-light {
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.18);
}
.js-btn--ghost-light:hover { color: #fff; border-color: rgba(255,255,255,0.5); }

/* ================================================================
   MOBILE CTA BAR (below header)
================================================================ */
.js-mcta {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: calc(100% - 1.5rem);
  margin: 0.55rem auto 0.65rem;
  height: 2.4rem;
  background: var(--js-blue);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 20px -8px rgba(37,99,235,0.55);
  position: relative;
}
.js-mcta::before {
  content: '';
  position: absolute;
  left: -0.75rem;
  right: -0.75rem;
  top: -0.75rem;
  height: 1px;
  background: var(--js-line);
}
.js-mcta i, .js-mcta svg {
  width: 0.95rem; height: 0.95rem; stroke-width: 2.2;
}
.js-mcta::before {
  top: -0.55rem;
}
@media (max-width: 960px) {
  .js-mcta { display: flex; }
}

/* ================================================================
   HEADER
================================================================ */
.js-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 1px solid var(--js-line);
}

/* Utility bar */
.js-utility {
  height: 38px;
  background: var(--js-deep);
  color: var(--js-mist);
}
.js-utility__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.js-utility__contacts,
.js-utility__right {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.js-utility__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--js-mist);
  transition: color 0.2s;
}
.js-utility__link:hover { color: #fff; }
.js-utility__link i, .js-utility__link svg {
  width: 0.78rem; height: 0.78rem;
  color: var(--js-light); stroke-width: 2.2;
}
.js-utility__link em {
  font-style: normal; font-weight: 700;
  color: var(--js-light); letter-spacing: 0.06em;
}
.js-utility__link--strong { color: #fff; font-weight: 600; }
.js-utility__dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: rgba(255,255,255,0.22);
}
.js-utility__sep {
  width: 1px; height: 14px; background: rgba(255,255,255,0.1);
}

/* Nav bar */
.js-nav { height: 74px; }
.js-nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.js-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.js-logo__mark {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-block;
}
.js-logo__mark svg { width: 100%; height: 100%; }
.js-logo__type {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  padding-left: 0.75rem;
  border-left: 1px solid var(--js-line);
  line-height: 1;
}
.js-logo__type strong {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--js-deep);
}
.js-logo__type small {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.38em;
  color: var(--js-blue);
}
.js-logo--light .js-logo__type strong { color: #fff; }
.js-logo--light .js-logo__type { border-left-color: rgba(255,255,255,0.12); }

.js-burger {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--js-deep);
  margin-left: auto;
  padding: 0.5rem;
}
.js-burger svg { width: 1.4rem; height: 1.4rem; }

.js-menu {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.js-menu ul {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}
.js-menu a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--js-ink-mid);
  transition: color 0.2s;
  position: relative;
}
.js-menu a:hover { color: var(--js-blue); }

.js-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

/* ================================================================
   HERO — CAROUSEL DE BANNERS
================================================================ */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--js-deep);
  color: #fff;
  /* Mantém o aspect-ratio dos banners (1600/500 = 3.2) mas com mínimo */
  aspect-ratio: 1600 / 500;
  max-height: calc(100vh - 112px);
  min-height: 360px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 78% 30%, rgba(111,182,242,0.10) 0%, transparent 70%),
    linear-gradient(135deg, #0A1626 0%, #11243A 55%, #0D1B2A 100%);
}

.hero__slides {
  position: absolute;
  inset: 14px 0 0 0;
  z-index: 1;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1s ease, transform 7s ease;
  pointer-events: none;
}
.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Arrows */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(13,27,42,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.18s;
}
.hero__arrow:hover {
  background: rgba(37,99,235,0.85);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-50%) scale(1.06);
}
.hero__arrow svg { width: 1.2rem; height: 1.2rem; stroke-width: 2.2; }
.hero__arrow--prev { left: 1.5rem; }
.hero__arrow--next { right: 1.5rem; }

/* Dots */
.hero__dots {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.7rem;
  background: rgba(13,27,42,0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
}
.hero__dot {
  width: 1.6rem;
  height: 0.4rem;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.hero__dot span {
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.32);
  transition: background 0.25s, width 0.25s;
}
.hero__dot.is-active span {
  background: var(--js-light);
}
.hero__dot:hover span { background: rgba(255,255,255,0.6); }

.hero__scroll {
  position: absolute;
  bottom: 1.4rem;
  right: 1.5rem;
  z-index: 5;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(13,27,42,0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  animation: jsBob 2.4s ease infinite;
  transition: border-color 0.2s, color 0.2s;
}
.hero__scroll:hover { border-color: rgba(255,255,255,0.6); color: #fff; }
.hero__scroll svg { width: 0.95rem; height: 0.95rem; }

@keyframes jsBob {
  0%,100% { transform: translateY(0); }
  55%     { transform: translateY(6px); }
}

.hero__inner {
  position: relative;
  z-index: 3;
  padding: 5rem 0 6rem;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero__copy { max-width: 38rem; }

.hero__title {
  margin: 1.6rem 0 1.8rem;
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  line-height: 1.02;
  font-weight: 300;
  letter-spacing: -0.045em;
  color: #fff;
}
.hero__title em {
  font-style: normal;
  font-weight: 600;
  color: var(--js-light);
}

.hero__desc {
  max-width: 32rem;
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 400;
  color: rgba(255,255,255,0.78);
}

.hero__cta {
  margin: 2.5rem 0 3.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__pillars {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero__pillar {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}
.hero__pillar i, .hero__pillar svg {
  width: 1.05rem; height: 1.05rem;
  color: var(--js-light); stroke-width: 1.8;
}

/* Hero card mock */
.hero__card {
  justify-self: end;
  width: min(420px, 100%);
  perspective: 1400px;
}
.hero__card-inner {
  position: relative;
  aspect-ratio: 1.585 / 1;
  border-radius: 22px;
  padding: 1.6rem 1.8rem;
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(111,182,242,0.18) 0%, transparent 60%),
    linear-gradient(135deg, #0D1B2A 0%, #15294A 100%);
  border: 1px solid rgba(111,182,242,0.18);
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.04);
  overflow: hidden;
  transform: rotate(-3deg) translateY(0);
  transition: transform 0.4s ease;
}
.hero__card:hover .hero__card-inner { transform: rotate(-2deg) translateY(-6px); }

.hero__card-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.hero__card-mark {
  width: 2.4rem; height: 2.4rem;
}
.hero__card-mark svg { width: 100%; height: 100%; }
.hero__card-type {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  padding-left: 0.75rem;
  border-left: 1px solid rgba(255,255,255,0.16);
  line-height: 1;
}
.hero__card-type strong {
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: #fff;
}
.hero__card-type small {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.38em;
  color: var(--js-light);
}

.hero__card-wave {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 60%;
  pointer-events: none;
}

.hero__card-foot {
  position: absolute;
  left: 1.8rem;
  right: 1.8rem;
  bottom: 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--js-light);
}
.hero__card-num {
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.18em;
  font-weight: 700;
}

.hero__scroll {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  animation: jsBob 2.4s ease infinite;
  transition: border-color 0.2s, color 0.2s;
}
.hero__scroll:hover { border-color: rgba(255,255,255,0.6); color: #fff; }
.hero__scroll svg { width: 0.95rem; height: 0.95rem; }

@keyframes jsBob {
  0%,100% { transform: translateX(-50%) translateY(0); }
  55%     { transform: translateX(-50%) translateY(6px); }
}

/* ================================================================
   BENEFITS STRIP
================================================================ */
.benefits {
  background: var(--js-deep);
  padding: 3.5rem 0 4rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.benefits__head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.benefits__kicker {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--js-light);
  position: relative;
  padding: 0 2.5rem;
}
.benefits__kicker::before,
.benefits__kicker::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 1.8rem;
  height: 1px;
  background: rgba(111,182,242,0.5);
}
.benefits__kicker::before { left: 0; }
.benefits__kicker::after { right: 0; }

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
.benefit {
  text-align: center;
  padding: 1.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  position: relative;
}
.benefit + .benefit::before {
  content: '';
  position: absolute;
  left: -0.625rem;
  top: 25%;
  bottom: 25%;
  width: 1px;
  background: rgba(255,255,255,0.06);
}
.benefit__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(111,182,242,0.08);
  border: 1px solid rgba(111,182,242,0.22);
  display: flex; align-items: center; justify-content: center;
}
.benefit__icon i, .benefit__icon svg {
  width: 1.25rem; height: 1.25rem;
  color: var(--js-light); stroke-width: 1.8;
}
.benefit h3 {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  text-transform: uppercase;
}
.benefit p {
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--js-mist);
  font-weight: 400;
  max-width: 14rem;
}

/* ================================================================
   ABOUT / CONCEITO
================================================================ */
.about {
  background: #fff;
  padding: 7rem 0 7rem;
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 5rem;
  align-items: center;
}

.about__title {
  margin: 1.4rem 0 1.5rem;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.08;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--js-ink);
  max-width: 24ch;
}
.about__title em {
  font-style: normal;
  font-weight: 600;
  color: var(--js-blue);
}

.about__lead {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--js-ink-mut);
  margin-bottom: 2.5rem;
  max-width: 34rem;
}

.about__pillars {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-bottom: 2.5rem;
}
.about__pillar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: flex-start;
}
.about__pillar-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: rgba(37,99,235,0.07);
  border: 1px solid rgba(37,99,235,0.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.about__pillar-icon i, .about__pillar-icon svg {
  width: 1.1rem; height: 1.1rem;
  color: var(--js-blue); stroke-width: 1.9;
}
.about__pillar strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--js-ink);
  margin-bottom: 0.25rem;
}
.about__pillar p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--js-ink-mut);
}

/* Quote card (Nossa História) */
.about__quote {
  position: relative;
  background: var(--js-bg);
  border-left: 3px solid var(--js-blue);
  border-radius: 4px 18px 18px 4px;
  padding: 3rem 3rem 3rem 3.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-self: center;
}
.about__quote-mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 5rem;
  line-height: 0.6;
  color: var(--js-blue);
  font-weight: 400;
  height: 2rem;
}
.about__quote-text {
  font-size: 1.02rem;
  line-height: 1.75;
  font-style: italic;
  color: var(--js-ink-mid);
  font-weight: 400;
  text-wrap: pretty;
}

/* Stack the two body paragraphs nicely */
.about__left .about__lead + .about__lead {
  margin-top: -1.25rem;
}

.about__symbol {
  display: flex;
  justify-content: center;
}
.about__symbol-frame {
  position: relative;
  width: min(380px, 100%);
  aspect-ratio: 1;
  background: var(--js-bg);
  border-radius: 24px;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__symbol-frame::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(37,99,235,0.18);
  border-radius: 16px;
}
.about__symbol-frame svg { width: 70%; height: 70%; }
.about__symbol-caption {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--js-blue);
}

/* ================================================================
   SERVICES / BENTO
================================================================ */
.services {
  background: var(--js-bg);
  padding: 7rem 0 7rem;
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  grid-auto-flow: dense;
}

.bento__card {
  position: relative;
  padding: 2.1rem 2rem 2.1rem;
  background: #fff;
  border: 1px solid var(--js-line);
  border-radius: var(--js-r-lg);
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  align-items: flex-start;
  transition: transform 0.22s, box-shadow 0.25s, border-color 0.22s;
  min-height: 14rem;
}
.bento__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -16px rgba(13,27,42,0.18);
  border-color: rgba(37,99,235,0.25);
}
.bento__card--wide { grid-column: span 2; }

.bento__card--dark {
  background: linear-gradient(140deg, #0D1B2A 0%, #11253D 100%);
  border-color: transparent;
}
.bento__card--accent {
  background: linear-gradient(140deg, #2563EB 0%, #1d4fc0 100%);
  border-color: transparent;
}
.bento__card--dark .bento__icon,
.bento__card--accent .bento__icon {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
}
.bento__card--dark .bento__icon svg,
.bento__card--accent .bento__icon svg {
  color: var(--js-light);
}
.bento__card--accent .bento__icon svg { color: #fff; }
.bento__card--dark h3,
.bento__card--accent h3 { color: #fff; }
.bento__card--dark h3, .bento__card--accent h3 { color: #fff !important; }
.bento__card--dark p,
.bento__card--accent p { color: #fff !important; }

.bento__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.18);
  display: flex; align-items: center; justify-content: center;
}
.bento__icon i, .bento__icon svg {
  width: 1.15rem; height: 1.15rem;
  color: var(--js-blue); stroke-width: 1.9;
}

.bento__card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--js-ink);
}
.bento__card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--js-ink-mut);
  text-wrap: pretty;
}

.bento__pill {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  height: 1.65rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.18);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--js-blue);
}
.bento__card--dark .bento__pill {
  background: rgba(111,182,242,0.12);
  border-color: rgba(111,182,242,0.22);
  color: var(--js-light);
}
.bento__pill--light {
  background: rgba(255,255,255,0.18) !important;
  border-color: rgba(255,255,255,0.28) !important;
  color: #fff !important;
}

.services__tags {
  margin-top: 3rem;
}
.services__tags-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  padding: 1.5rem 2rem;
  background: #fff;
  border: 1px solid var(--js-line);
  border-radius: 999px;
}
.services__tags-bar span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--js-ink-mid);
}
.services__tags-bar svg {
  width: 1rem; height: 1rem;
  color: var(--js-blue); stroke-width: 1.8;
}

/* ================================================================
   ÁREAS DE ATUAÇÃO
================================================================ */
.areas {
  background: #fff;
  padding: 7rem 0 7rem;
}
.areas__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.areas__head-text {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.areas__title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--js-blue);
}
.areas__subtitle {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.5;
  color: var(--js-ink);
  font-weight: 500;
  max-width: 44rem;
  letter-spacing: -0.005em;
}
.areas__subtitle strong {
  display: inline-block;
  font-weight: 800;
  color: #fff;
  background: var(--js-blue);
  padding: 0.05em 0.55em;
  border-radius: 6px;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 14px -6px rgba(37,99,235,0.55);
}

.js-btn--outline-accent {
  background: transparent;
  color: var(--js-blue);
  border: 1.5px solid var(--js-blue);
  height: 3rem;
  padding: 0 1.6rem;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 8px;
}
.js-btn--outline-accent:hover {
  background: var(--js-blue);
  color: #fff;
  transform: translateY(-1px);
}

.areas__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
.area {
  background: var(--js-bg-soft);
  border-radius: 18px;
  padding: 0.9rem 0.9rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: center;
  text-align: center;
  transition: transform 0.22s, box-shadow 0.22s;
}
.area:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -18px rgba(13,27,42,0.2);
}
.area__media {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}
.area__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255,255,255,0.4) 0%, transparent 60%),
    linear-gradient(155deg, var(--js-deep) 0%, var(--js-blue) 60%, var(--js-light) 110%);
  z-index: 0;
}
.area__media[data-tone="b"]::before { background: radial-gradient(ellipse 60% 50% at 20% 20%, rgba(255,255,255,0.45) 0%, transparent 60%), linear-gradient(135deg, #6FB6F2 0%, #2563EB 90%); }
.area__media[data-tone="c"]::before { background: radial-gradient(ellipse 70% 60% at 100% 0%, rgba(255,255,255,0.4) 0%, transparent 60%), linear-gradient(165deg, #1d4fc0 0%, #6FB6F2 100%); }
.area__media[data-tone="d"]::before { background: radial-gradient(ellipse 60% 50% at 10% 90%, rgba(111,182,242,0.4) 0%, transparent 60%), linear-gradient(135deg, #15294A 0%, #2563EB 100%); }
.area__media[data-tone="e"]::before { background: radial-gradient(ellipse 60% 60% at 50% 100%, rgba(255,255,255,0.35) 0%, transparent 60%), linear-gradient(135deg, #2563EB 0%, #0D1B2A 100%); }
.area__media i, .area__media svg {
  position: relative;
  z-index: 1;
  width: 38%;
  height: 38%;
  color: #fff;
  stroke-width: 1.4;
  opacity: 0.95;
}
.area h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--js-blue);
  letter-spacing: -0.01em;
}

.areas__more {
  margin-top: 2.5rem;
  animation: areasFade 0.4s ease;
}
@keyframes areasFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.areas__more-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.area-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.15rem;
  background: var(--js-bg-soft);
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--js-ink);
  transition: background 0.2s, color 0.2s, transform 0.18s;
}
.area-chip:hover {
  background: rgba(37,99,235,0.08);
  color: var(--js-blue);
  transform: translateY(-2px);
}
.area-chip i, .area-chip svg {
  width: 1rem; height: 1rem;
  color: var(--js-blue); stroke-width: 1.9;
  flex-shrink: 0;
}

.areas__cta {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}
.areas__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  height: 3rem;
  padding: 0 2rem;
  border-radius: 999px;
  border: 1.5px solid rgba(37,99,235,0.35);
  background: rgba(37,99,235,0.04);
  color: var(--js-blue);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.18s;
}
.areas__toggle:hover {
  background: var(--js-blue);
  color: #fff;
  border-color: var(--js-blue);
  transform: translateY(-1px);
}
.areas__toggle .areas__toggle-hide { display: none; }
.areas__toggle.is-open .areas__toggle-show { display: none; }
.areas__toggle.is-open .areas__toggle-hide { display: inline; }

@media (max-width: 960px) {
  .areas__grid { grid-template-columns: repeat(3, 1fr); }
  .areas__more-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .areas__grid { grid-template-columns: repeat(2, 1fr); }
  .areas__head { gap: 1rem; }
  .areas__more-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   HOW IT WORKS
================================================================ */
.how {
  background: #fff;
  padding: 7rem 0 7rem;
}
.how__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem 2rem;
}
.how__steps::before {
  content: '';
  position: absolute;
  left: calc(100% / 6);
  right: calc(100% / 6);
  top: 1.75rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,0.35), transparent);
  z-index: 0;
}
.how__step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.1rem;
}
.how__num {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--js-line);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--js-blue);
  box-shadow: 0 8px 18px -6px rgba(37,99,235,0.18);
}
.how__step h3 {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--js-ink);
}
.how__step p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--js-ink-mut);
  max-width: 18rem;
}

/* ================================================================
   PLANS
================================================================ */
.plans {
  background: var(--js-bg);
  padding: 7rem 0 7rem;
}
.plans__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 58rem;
  margin-inline: auto;
  align-items: stretch;
}

.plan {
  position: relative;
  padding: 2.5rem 2rem 2rem;
  background: #fff;
  border: 1px solid var(--js-line);
  border-radius: var(--js-r-lg);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  transition: transform 0.2s, box-shadow 0.25s, border-color 0.22s;
}
.plan:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -14px rgba(13,27,42,0.15);
  border-color: rgba(37,99,235,0.3);
}

.plan--featured {
  background: linear-gradient(160deg, #0D1B2A 0%, #15294A 100%);
  border-color: rgba(111,182,242,0.3);
  box-shadow: 0 22px 50px -16px rgba(13,27,42,0.4);
}

.plan__badge {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  height: 1.7rem;
  padding: 0 1rem;
  border-radius: 999px;
  background: var(--js-blue);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 8px 18px -6px rgba(37,99,235,0.55);
}

.plan__head { display: flex; flex-direction: column; gap: 0.6rem; }
.plan__head h3 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--js-ink);
}
.plan--featured .plan__head h3 { color: #fff; }
.plan__head p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--js-ink-mut);
}
.plan--featured .plan__head p { color: rgba(255,255,255,0.7); }

/* Price block */
.plan__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px dashed var(--js-line);
  color: var(--js-ink);
}
.plan__price-currency {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--js-blue);
  align-self: flex-start;
  margin-top: 0.45rem;
}
.plan__price-value {
  font-size: 2.85rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--js-ink);
}
.plan__price-period {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--js-ink-mut);
  margin-left: 0.15rem;
}
.plan__price--light {
  border-bottom-color: rgba(255,255,255,0.12);
}
.plan__price--light .plan__price-currency { color: var(--js-light); }
.plan__price--light .plan__price-value    { color: #fff; }
.plan__price--light .plan__price-period   { color: rgba(255,255,255,0.7); }

.plan__price--custom {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}
.plan__price--custom .plan__price-value {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--js-ink);
}
.plan__price--custom .plan__price-period {
  margin-left: 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--js-ink-mut);
}

.plan__list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.plan__list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--js-ink);
}
.plan--featured .plan__list li { color: rgba(255,255,255,0.9); }
.plan__list i, .plan__list svg {
  width: 0.85rem; height: 0.85rem;
  color: var(--js-blue); stroke-width: 2.8;
  flex-shrink: 0;
}
.plan--featured .plan__list svg { color: var(--js-light); }

/* ================================================================
   CTA
================================================================ */
.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0D1B2A 0%, #11253D 60%, #0D1B2A 100%);
  padding: 9rem 0 8rem;
  isolation: isolate;
}
.cta__decor {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}
.cta__decor svg { width: 100%; height: 100%; }

.cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.cta__title {
  margin: 0.5rem 0 0.75rem;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  line-height: 1.02;
  font-weight: 300;
  letter-spacing: -0.045em;
  color: #fff;
}
.cta__title em {
  font-style: normal;
  font-weight: 600;
  color: var(--js-light);
}
.cta__desc {
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--js-mist);
}
.cta__actions {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.cta__tags {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}
.cta__tags span {
  height: 2.1rem;
  padding: 0 1.1rem;
  border: 1px solid rgba(111,182,242,0.28);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(111,182,242,0.85);
}

/* ================================================================
   FOOTER
================================================================ */
.ft {
  background: var(--js-deep);
  color: var(--js-mist);
}
.ft__main {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 5rem;
  padding: 5rem 0 4rem;
  border-bottom: 1px solid var(--js-line-dk);
}
.ft__brand { display: flex; flex-direction: column; gap: 1.4rem; }
.ft__tagline {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--js-mist);
  max-width: 24rem;
  font-style: italic;
}
.ft__contacts { display: flex; flex-direction: column; gap: 0.65rem; }
.ft__contacts a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--js-mist);
  transition: color 0.2s;
}
.ft__contacts a:hover { color: #fff; }
.ft__contacts svg {
  width: 0.9rem; height: 0.9rem;
  color: var(--js-light); stroke-width: 2;
}

.ft__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  padding-top: 0.25rem;
}
.ft__col { display: flex; flex-direction: column; gap: 1.1rem; }
.ft__col strong {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
}
.ft__col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.ft__col a {
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--js-mist);
  transition: color 0.2s;
}
.ft__col a:hover { color: #fff; }

.ft__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
}
.ft__bottom-inner p {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(182,197,214,0.55);
}
.ft__version {
  color: rgba(111,182,242,0.6) !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.7rem !important;
  font-weight: 600 !important;
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1200px) {
  .js-utility { display: none; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { justify-self: center; margin-top: 1.5rem; }
  .about__inner { grid-template-columns: 1fr; gap: 3rem; }
  .about__symbol-frame { width: min(320px, 100%); }
}

@media (max-width: 960px) {
  .js-burger { display: flex; }
  .js-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--js-line);
    padding: 1.25rem 0;
    flex-direction: column;
    box-shadow: 0 18px 28px -18px rgba(13,27,42,0.18);
  }
  .js-menu.is-open { display: flex; }
  .js-menu ul { flex-direction: column; align-items: center; gap: 1.1rem; }
  .js-menu a { font-size: 0.95rem; }
  .js-nav__actions { display: none; }
  .js-nav { position: relative; }

  .benefits__grid { grid-template-columns: repeat(3, 1fr); row-gap: 2.25rem; }
  .benefit + .benefit::before { display: none; }
  .benefit:nth-child(n+4) { grid-column: span 1; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__card--wide { grid-column: span 2; }

  .how__steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .how__steps::before { display: none; }

  .plans__grid { grid-template-columns: 1fr; max-width: 28rem; }

  .ft__main { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 0 3rem; }
}

@media (max-width: 640px) {
  .js-wrap { width: min(calc(100% - 2rem), var(--js-wrap)); }

  /* Hero: show the FULL banner image on mobile (no cropping) */
  .hero {
    aspect-ratio: auto;
    min-height: 0;
    max-height: none;
    padding-top: 2.5rem; /* gradient strip above the banner */
  }
  .hero__bg {
    /* let the deep gradient breathe above + below the banner */
  }
  .hero__slides {
    position: relative;
    inset: auto;
    height: auto;
  }
  .hero__slide {
    position: relative;
    inset: auto;
    aspect-ratio: 1600 / 500;
  }
  .hero__slide:not(.is-active) { display: none; }
  .hero__slide img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
  .hero__arrow {
    width: 2.25rem; height: 2.25rem;
  }
  .hero__arrow svg { width: 0.95rem; height: 0.95rem; }
  .hero__arrow--prev { left: 0.5rem; }
  .hero__arrow--next { right: 0.5rem; }
  .hero__dots {
    bottom: 0.4rem;
    padding: 0.3rem 0.55rem;
  }
  .hero__dot { width: 1.1rem; }

  .hero__inner { padding: 3.5rem 0 4rem; }
  .hero__title { font-size: clamp(2.2rem, 8vw, 3rem); }
  .hero__pillars { gap: 1.25rem; flex-wrap: wrap; }
  .hero__cta .js-btn { flex: 1; }

  .benefits__grid { grid-template-columns: repeat(2, 1fr); }

  .bento { grid-template-columns: 1fr; }
  .bento__card--wide { grid-column: span 1; }

  .services__tags-bar { border-radius: 18px; gap: 0.6rem 1.2rem; padding: 1.2rem; }
  .services__tags-bar span { font-size: 0.72rem; }

  .cta__title { font-size: clamp(2.2rem, 9vw, 3.4rem); }
  .cta__actions { flex-direction: column; width: 100%; }
  .cta__actions .js-btn { width: 100%; }

  .ft__nav { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .ft__bottom-inner { flex-direction: column; height: auto; padding: 1.25rem 0; gap: 0.5rem; text-align: center; }
}

@media (max-width: 420px) {
  .js-logo__type strong { font-size: 0.88rem; }
  .js-logo__mark { width: 2.1rem; height: 2.1rem; }
  .benefits__grid { grid-template-columns: 1fr 1fr; }
  .ft__nav { grid-template-columns: 1fr; }
}
