/* Hero: equal-weight, static headline */
.site-header .brand-logo {
  height: auto;
  object-fit: contain;
  content: url("../conexao-logo-rendered.png?v=20260724-2");
}

/* Footer ghost logo must stay the original transparent SVG — the opaque
   rendered PNG above turns solid white once the invert filter hits it. */
.footer-brand .brand-logo {
  content: none;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: 54px;
  min-height: 780px;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(3.35rem, 4.65vw, 4.95rem);
  font-weight: 500;
  line-height: .93;
  letter-spacing: -.052em;
  text-wrap: balance;
}

.hero-title-line-accent {
  position: relative;
  margin-top: .12em;
  padding-top: 0;
  font-size: 1em;
  line-height: inherit;
  letter-spacing: inherit;
  white-space: normal;
}

.hero-title-line-accent::before {
  content: none;
}

.hero h1 .hero-title-line-accent em {
  display: block;
  color: var(--ink);
  font-weight: 500;
}

.rotating-word-slot {
  min-width: 0;
  display: inline;
  white-space: nowrap;
}

.rotating-word {
  display: inline;
  color: var(--blue-dark);
  animation: none !important;
}

/* Impact section: clearer hierarchy and a consistent comparison surface */
.benefits {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(74, 163, 164, .1), transparent 30%),
    linear-gradient(180deg, #f7fafb 0%, var(--ice) 100%);
}

.benefits-grid {
  display: block;
}

.benefits-copy {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  grid-template-rows: auto auto auto;
  column-gap: 92px;
  row-gap: 0;
  align-items: start;
}

.benefits-copy .eyebrow {
  grid-area: 1 / 1;
}

.benefits-copy h2 {
  grid-area: 2 / 1;
  max-width: 780px;
  font-size: clamp(2.8rem, 4vw, 4.15rem);
  line-height: 1.03;
}

.benefits-copy > p:not(.eyebrow) {
  grid-area: 2 / 2;
  max-width: 460px;
  margin: 10px 0 0;
  color: #526d79;
  font-size: 17px;
  line-height: 1.72;
}

.benefit-summary {
  grid-area: 3 / 1 / 4 / 3;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.benefit-summary article {
  position: relative;
  min-height: 154px;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 23px;
  overflow: hidden;
  border: 1px solid #d4e5e9;
  border-radius: 22px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 16px 42px rgba(24, 59, 72, .07);
}

.benefit-summary article::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -34px;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(74, 163, 164, .18);
  border-radius: 50%;
}

.benefit-summary article > span {
  width: 46px;
  height: 46px;
  border-color: #9bdcdf;
  border-radius: 14px;
  background: #e9f8f8;
  color: #2f7780;
  font-size: 17px;
}

.benefit-summary strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 590;
  line-height: 1.35;
}

.benefit-summary p {
  max-width: 32ch;
  margin-top: 5px;
  color: #526d79;
  font-size: 14px;
  line-height: 1.58;
}

.impact-dashboard {
  position: relative;
  margin-top: 34px;
  padding: 36px;
  overflow: hidden;
  border: 1px solid rgba(133, 207, 210, .28);
  border-radius: 30px;
  background:
    radial-gradient(circle at 96% 0%, rgba(74, 163, 164, .24), transparent 30%),
    linear-gradient(145deg, #173f4c 0%, #245d6b 100%);
  box-shadow: 0 28px 70px rgba(24, 59, 72, .18);
}

.impact-dashboard::before {
  content: "";
  position: absolute;
  right: -82px;
  bottom: -112px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(157, 229, 232, .12);
  border-radius: 50%;
  pointer-events: none;
}

.impact-header {
  position: relative;
  z-index: 1;
  padding-bottom: 25px;
  border-bottom-color: rgba(255, 255, 255, .14);
}

.impact-header > div:first-child > span {
  color: #9de5e8;
  font-size: 11px;
  font-weight: 620;
}

.impact-header h3 {
  color: #fff;
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  font-weight: 520;
  line-height: 1.2;
}

.impact-legend {
  grid-auto-flow: column;
  gap: 18px;
  color: #d8e7ea;
  font-size: 12px;
}

.impact-legend i {
  width: 28px;
  height: 8px;
}

.legend-before {
  background: #78939c;
}

.legend-after {
  background: linear-gradient(90deg, #73c8cd, #b0eeee);
}

.impact-chart {
  position: relative;
  z-index: 1;
  gap: 12px;
  padding: 28px 0;
}

.chart-row {
  grid-template-columns: minmax(180px, 230px) 1fr;
  gap: 28px;
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 17px;
  background: rgba(255, 255, 255, .055);
}

.chart-label span {
  color: #b9d0d6;
  font-size: 12px;
}

.chart-label strong {
  color: #fff;
  font-size: 15px;
  font-weight: 560;
}

.bar-pair {
  gap: 8px;
  padding: 3px 0;
  border-left: 0;
}

.bar-pair i {
  height: 11px;
}

.bar-before {
  background: #78939c;
}

.bar-after {
  background: linear-gradient(90deg, #66bbc2, #a6e9e9);
  box-shadow: 0 5px 16px rgba(112, 220, 222, .2);
}

.chart-row:hover .bar-pair i {
  filter: none;
  transform: scaleX(1);
}

.impact-flow {
  position: relative;
  z-index: 1;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 17px;
  background: rgba(255, 255, 255, .06);
  color: #d3e3e7;
  font-size: 12px;
}

.impact-flow span,
.impact-flow strong {
  flex: 1;
  text-align: center;
}

.impact-flow i {
  color: #8ddcdf;
}

.impact-flow strong {
  color: #fff;
  font-weight: 620;
}

.impact-note {
  position: relative;
  z-index: 1;
  margin-top: 13px;
  color: #b5cbd1;
  font-size: 11px;
}

@media (width <= 1050px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    max-width: 760px;
  }
}

@media (width <= 780px) {
  .hero h1 {
    font-size: clamp(2.9rem, 12.2vw, 4rem);
    line-height: .94;
    letter-spacing: -.046em;
  }

  .benefits-copy {
    grid-template-columns: 1fr;
  }

  .benefits-copy .eyebrow,
  .benefits-copy h2,
  .benefits-copy > p:not(.eyebrow),
  .benefit-summary {
    grid-area: auto / 1;
  }

  .benefits-copy > p:not(.eyebrow) {
    margin-top: 22px;
    font-size: 16px;
  }

  .benefit-summary {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .benefit-summary article {
    min-height: 132px;
  }

  .impact-dashboard {
    margin-top: 28px;
    padding: 23px;
    border-radius: 24px;
  }

  .impact-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .impact-legend {
    grid-auto-flow: row;
  }

  .chart-row {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 16px;
  }

  .impact-flow {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .impact-flow span,
  .impact-flow strong {
    width: 100%;
    text-align: left;
  }

  .impact-flow i {
    align-self: flex-start;
    margin-left: 7px;
    transform: rotate(90deg);
  }
}

@media (width <= 480px) {
  .hero h1 {
    font-size: clamp(2.75rem, 12.8vw, 3.05rem);
  }

  .benefits-copy h2 {
    font-size: 2.55rem;
  }

  .benefit-summary article {
    padding: 20px;
  }

  .impact-dashboard {
    padding: 20px;
  }
}

/* Testimonials: bento grid, explicit row/column placement per card */
.testimonials {
  background: var(--ice);
}

.testimonials-heading {
  max-width: 680px;
  margin-bottom: 56px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
  align-items: stretch;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  margin: 0;
  padding: 32px 34px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(22, 50, 60, .05);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.testimonial-card:hover {
  box-shadow: 0 14px 32px -18px rgba(22, 50, 60, .28);
  transform: translateY(-2px);
}

.testimonial-mark {
  display: block;
  color: var(--turquoise);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  opacity: .45;
}

.testimonial-quote {
  margin: -14px 0 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.62;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.testimonial-meta-dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--cyan);
}

.testimonial-role {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* explicit grid placement — one rule per card, nothing left to auto-flow */
.testimonial-card--d { grid-column: 1 / 7; grid-row: 1 / 2; }
.testimonial-card--b { grid-column: 7 / 13; grid-row: 1 / 2; }
.testimonial-card--a { grid-column: 1 / 5; grid-row: 2 / 3; }
.testimonial-card--c { grid-column: 5 / 9; grid-row: 2 / 3; }
.testimonial-card--e { grid-column: 9 / 13; grid-row: 2 / 3; }

.testimonial-card--accent {
  border-color: transparent;
  background: linear-gradient(160deg, #173f4c 0%, #245d6b 100%);
  color: #fff;
}

.testimonial-card--accent .testimonial-mark {
  color: #fff;
  opacity: .55;
}

.testimonial-card--accent .testimonial-quote {
  color: #fff;
}

.testimonial-card--accent .testimonial-meta {
  border-top-color: rgba(255, 255, 255, .25);
}

.testimonial-card--accent .testimonial-meta-dot {
  background: var(--turquoise);
}

.testimonial-card--accent .testimonial-role {
  color: rgba(255, 255, 255, .75);
}

@media (width <= 1050px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .testimonial-card--a,
  .testimonial-card--b,
  .testimonial-card--c,
  .testimonial-card--d,
  .testimonial-card--e {
    grid-column: span 1;
    grid-row: auto;
  }
}

@media (width <= 780px) {
  .testimonials-heading {
    margin-bottom: 36px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testimonial-card--a,
  .testimonial-card--b,
  .testimonial-card--c,
  .testimonial-card--d,
  .testimonial-card--e {
    grid-column: 1 / -1;
  }

  .testimonial-card {
    padding: 26px 24px;
    gap: 20px;
  }
}

@media (width <= 480px) {
  .testimonial-mark {
    font-size: 34px;
  }

  .testimonial-quote {
    font-size: 15.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-card {
    transition: none;
  }

  .testimonial-card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rotating-word,
  .impact-dashboard .bar-pair i {
    animation: none !important;
    transition: none !important;
  }
}
