/* ==========================================================================
   REDSPARK — Components
   Full port of static styles.css body (everything after :root).
   All var() references use token names from tokens.css.
   No Bootstrap 5 classes in selector definitions.
   ========================================================================== */


/* --------------------------------------------------------------------------
   RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  color: var(--text-body);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.67;
}

img { display: block; max-width: 100%; height: auto; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }


/* --------------------------------------------------------------------------
   GRID — Bootstrap-compatible naming, custom implementation
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.container-fluid {
  width: 100%;
  padding-inline: var(--container-px);
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-inline: calc(var(--grid-gutter) / -2);
}

.row > * {
  padding-inline: calc(var(--grid-gutter) / 2);
  min-width: 0;
}

/* Columns — mobile first (all 100% by default) */
.col    { flex: 1 1 0; }
.col-12 { flex: 0 0 100%;         max-width: 100%; }
.col-11 { flex: 0 0 91.6667%;     max-width: 91.6667%; }
.col-10 { flex: 0 0 83.3333%;     max-width: 83.3333%; }
.col-9  { flex: 0 0 75%;          max-width: 75%; }
.col-8  { flex: 0 0 66.6667%;     max-width: 66.6667%; }
.col-7  { flex: 0 0 58.3333%;     max-width: 58.3333%; }
.col-6  { flex: 0 0 50%;          max-width: 50%; }
.col-5  { flex: 0 0 41.6667%;     max-width: 41.6667%; }
.col-4  { flex: 0 0 33.3333%;     max-width: 33.3333%; }
.col-3  { flex: 0 0 25%;          max-width: 25%; }
.col-2  { flex: 0 0 16.6667%;     max-width: 16.6667%; }
.col-1  { flex: 0 0 8.3333%;      max-width: 8.3333%; }

/* md breakpoint — 768px */
@media (min-width: 768px) {
  .col-md-12 { flex: 0 0 100%;       max-width: 100%; }
  .col-md-8  { flex: 0 0 66.6667%;   max-width: 66.6667%; }
  .col-md-6  { flex: 0 0 50%;        max-width: 50%; }
  .col-md-4  { flex: 0 0 33.3333%;   max-width: 33.3333%; }
  .col-md-3  { flex: 0 0 25%;        max-width: 25%; }

  .offset-md-1 { margin-left: 8.3333%; }
  .offset-md-2 { margin-left: 16.6667%; }
  .offset-md-3 { margin-left: 25%; }
  .offset-md-4 { margin-left: 33.3333%; }
  .offset-md-5 { margin-left: 41.6667%; }
  .offset-md-6 { margin-left: 50%; }
}

/* lg breakpoint — 1024px */
@media (min-width: 1024px) {
  .col-lg-12 { flex: 0 0 100%;       max-width: 100%; }
  .col-lg-8  { flex: 0 0 66.6667%;   max-width: 66.6667%; }
  .col-lg-7  { flex: 0 0 58.3333%;   max-width: 58.3333%; }
  .col-lg-6  { flex: 0 0 50%;        max-width: 50%; }
  .col-lg-5  { flex: 0 0 41.6667%;   max-width: 41.6667%; }
  .col-lg-4  { flex: 0 0 33.3333%;   max-width: 33.3333%; }
  .col-lg-3  { flex: 0 0 25%;        max-width: 25%; }

  .offset-lg-1 { margin-left: 8.3333%; }
  .offset-lg-2 { margin-left: 16.6667%; }
  .offset-lg-3 { margin-left: 25%; }
  .offset-lg-4 { margin-left: 33.3333%; }
  .offset-lg-5 { margin-left: 41.6667%; }
  .offset-lg-6 { margin-left: 50%; }
  .p-lg-0     { padding: 0 !important; }
}

/* Gap utilities */
.g-0 { --grid-gutter: 0px; }
.g-2 { --grid-gutter: 8px; }
.g-3 { --grid-gutter: 16px; }
.g-4 { --grid-gutter: 24px; }
.g-5 { --grid-gutter: 32px; }


/* --------------------------------------------------------------------------
   FLEX UTILITIES
   -------------------------------------------------------------------------- */
.d-flex         { display: flex; }
.d-none         { display: none; }
.d-block        { display: block; }
.flex-column    { flex-direction: column; }
.flex-wrap      { flex-wrap: wrap; }
.align-items-center   { align-items: center; }
.align-items-start    { align-items: flex-start; }
.justify-content-center  { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-end     { justify-content: flex-end; }
.flex-1         { flex: 1; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 16px; }
.gap-4 { gap: 24px; }
.gap-5 { gap: 32px; }


/* --------------------------------------------------------------------------
   SPACING UTILITIES
   -------------------------------------------------------------------------- */
.mt-0 { margin-top: 0px; } .mt-1 { margin-top: 4px; }  .mt-2 { margin-top: 8px; }   .mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; } .mt-5 { margin-top: 40px; }
.mb-0 { margin-bottom: 0px; } .mb-1 { margin-bottom: 4px; }  .mb-2 { margin-bottom: 8px; }  .mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }  .mb-5 { margin-bottom: 40px; }

.py-2 { padding-block: 8px; }  .py-3 { padding-block: 16px; } .py-4 { padding-block: 24px; }
.px-3 { padding-inline: 16px; } .px-4 { padding-inline: 24px; }
.p-0 {padding: 0px; } .p-3  { padding: 16px; }  .p-4 { padding: 24px; } .p-5 { padding: 32px; }


/* --------------------------------------------------------------------------
   TEXT UTILITIES
   -------------------------------------------------------------------------- */
.text-center  { text-align: center; }
.text-start   { text-align: left; }
.text-end     { text-align: right; }
.text-white   { color: var(--text-white); }
.text-muted   { color: var(--text-muted); }

.fw-bold     { font-weight: var(--fw-bold); }
.fw-black    { font-weight: var(--fw-black); }


/* --------------------------------------------------------------------------
   DISPLAY RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .d-md-none   { display: none; }
  .d-md-block  { display: block; }
}
@media (min-width: 768px) {
  .d-none.d-md-flex  { display: flex; }
  .d-none.d-md-block { display: block; }
  .d-md-none         { display: none; }
}


/* --------------------------------------------------------------------------
   NAVBAR
   -------------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navbar-bg);
  height: var(--navbar-height);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  
  padding-left: 45px;
}

/* Logo */
.navbar__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}

.navbar__logo img {
  height: auto;
  width: 200px;
}

.navbar__logo-tagline {
  font-size: 9px;
  color: #888;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* Nav list */
.navbar__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
  margin-right: 48px;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-item + .nav-item { margin-left: 2rem; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
  font-size: 0.9375rem;
  font-weight: var(--fw-bold);
  line-height: 1;
  letter-spacing: var(--nav-link-letter-spacing);
  color: var(--nav-link-color);
  position: relative;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--transition-fast);
}

/* Top-border indicator — animated on hover */
.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--nav-top-border);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-item:hover > .nav-link::before,
.nav-item.active > .nav-link::before {
  transform: scaleX(1);
}

.nav-item:hover > .nav-link { color: var(--color-primary); }
.nav-link--parent { cursor: default; }

/* Dropdown chevron */
.nav-link .chevron {
  width: 12px;
  height: 12px;
  transition: transform var(--transition-fast);
}

.nav-item:hover .chevron {
  transform: rotate(180deg);
}

/* Dropdown panel */
.dropdown {
  position: absolute;
  top: 100%;
  right: 50%;
  width: fit-content;
  min-width: 180px;
  background: var(--dropdown-bg);
  border-radius: 0;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(50%) translateY(-6px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  box-shadow: none;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(50%) translateY(0);
}

.dropdown__item {
  display: block;
  font-size: 0.9375rem;   /* 15px */
  font-weight: var(--fw-regular);   /* 400 */
  line-height: 2;
  letter-spacing: 0;
  color: var(--text-white);
  text-align: left;
  position: relative;
  transition: color var(--transition-fast), background var(--transition-fast);
}

/* Hover/active — ref: var(--child-link-hover) + text-decoration: underline */
.dropdown__item:hover,
.dropdown__item.active {
  color: var(--text-white);
  text-decoration: underline;
}

/* Hamburger (mobile) */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
}

@media (max-width: 1023px) {
  .navbar__toggle { display: flex; }

  .navbar__nav {
    display: none;
    position: absolute;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    background: var(--navbar-bg);
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 16px 0;
    border-top: 1px solid var(--navbar-border);
    box-shadow: var(--shadow-md);
    gap: 0;
  }

  .navbar__nav.is-open { display: flex; }

  .nav-item {
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-item + .nav-item { margin-left: 0; }

  .nav-link {
    width: 100%;
    height: auto;
    padding: 12px var(--container-px);
  }

  .nav-link::before { display: none; }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: var(--dropdown-bg);
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    display: none;
    width: 100%;
  }

  .nav-item.is-open .dropdown { display: block; }

  .dropdown__item {
    color: var(--text-white);
    padding-left: 40px;
  }
}


/* --------------------------------------------------------------------------
   SECTIONS
   -------------------------------------------------------------------------- */
.section {
  padding-block: var(--section-py);
}

.section--sm {
  padding-block: var(--section-py-sm);
}

.section--white  { background: var(--bg-white); }
.section--light  { background: var(--bg-light); }
.section--gray   { background: var(--bg-gray); }
.section--navy   { background: var(--bg-navy); color: var(--text-white); }
.section--dark   { background: var(--bg-dark); color: var(--text-white); }

.section--blue {
  background: var(--color-primary);
  color: var(--text-white);
}


/* --------------------------------------------------------------------------
   TYPOGRAPHY COMPONENTS
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--eyebrow-color);          /* #000094 (ref --eyebrow-color) */
  margin-bottom: 0.5rem;                /* ref .eyebrow margin-bottom */
  font: var(--eyebrow-font);
}

/* ref .eyebrow:before — 30px line, 20px gap, accent color */
.eyebrow::before {
  background-color: var(--eyebrow-accent-color);
  content: '';
  display: inline-block;
  height: 2px;
  margin-right: 20px;
  margin-top: -2px;
  vertical-align: middle;
  width: 30px;
  flex-shrink: 0;
}

/* ref .eyebrow + h1..h6 { margin-top: 0 } */
.eyebrow + h1,
.eyebrow + h2,
.eyebrow + h3,
.eyebrow + h4,
.eyebrow + h5,
.eyebrow + h6 {
  margin-top: 0;
}

/* Eyebrow on dark/hero sections — ref .module-wrapper--dark overrides
   --eyebrow-color and --eyebrow-accent-color to #fff */
.section--navy .eyebrow,
.section--blue .eyebrow,
.section--dark .eyebrow,
.hero .eyebrow {
  --eyebrow-color: var(--color-white);
  --eyebrow-accent-color: var(--color-white);
}

.section-title {
  font: var(--h2-font);
  margin-bottom: 16px;
  color: #000000;
}

.section--navy .section-title,
.section--blue .section-title,
.section--dark .section-title {
  color: var(--text-white);
}

.section-subtitle {
  font-size: 1rem;
  line-height: 1.7;
  color: #000000;
}

.section--navy .section-subtitle,
.section--blue .section-subtitle,
.section--dark .section-subtitle {
  color: var(--text-muted);
}

/* Home-only: the "Sua transformação" navy paragraph is pure white in the ref */
body.home .section--blue .section-subtitle {
  color: #ffffff;
  text-align: center;
}

.section-title .cursor {
  color: var(--color-accent-ref);
}


/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  align-items: center;
  border-radius: 0;
  border-style: solid;
  border-width: 2px;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 1rem;                /* 16px (ref .button) */
  font-weight: var(--fw-bold);    /* 700 */
  line-height: 1.16;              /* (ref .button) */
  letter-spacing: 0;
  padding: 12px 30px;             /* (ref .button) */
  text-align: center;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
  transition: all var(--transition-fast);
  /* Colors come from variant classes below (btn--secondary, etc.) */
}

/* button--secondary (ref) — solid navy accent buttons (home CTAs) */
.btn--secondary {
  background-color: var(--button-secondary-bg);
  border-color: var(--button-secondary-border);
  color: var(--button-secondary-text);
}
.btn--secondary:hover,
.btn--secondary:focus-visible {
  background-color: var(--button-secondary-bg-hover);
  border-color: var(--button-secondary-border-hover);
  color: var(--button-secondary-text-hover);
}
.btn--secondary .theme-icon svg,
.btn--secondary .btn__icon svg {
  fill: var(--button-secondary-text);
}
.btn--secondary:hover .theme-icon svg,
.btn--secondary:hover .btn__icon svg,
.btn--secondary:focus-visible .theme-icon svg,
.btn--secondary:focus-visible .btn__icon svg {
  fill: var(--button-secondary-text-hover);
}

/* button--primary (ref) — light inverse CTA (blog posts only) */
.btn--primary {
  background-color: var(--button-primary-bg);
  border-color: var(--button-primary-border);
  color: var(--button-primary-text);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: var(--button-primary-bg-hover);
  border-color: var(--button-primary-border-hover);
  color: var(--button-primary-text-hover);
}

/* button-text (ref) — label span with animated underline on hover */
.btn__label,
.button-text {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 3px;
  display: block;
  padding-bottom: 5px;
  padding-top: 5px;
  transition: background-size var(--transition);
}
.btn:hover .btn__label,
.btn:hover .button-text,
.btn:focus-visible .btn__label,
.btn:focus-visible .button-text {
  background-size: 100% 3px;
}

/* theme-icon (ref) — icon wrapper inside buttons (SVG) */
.theme-icon,
.btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.75rem;
  width: 1.75rem;
  flex-shrink: 0;
}
.theme-icon svg,
.btn__icon svg {
  height: 100%;
  width: 100%;
}

/* button--link (ref) — transparent link with animated arrow */
.btn--link {
  background-color: transparent;
  border: none;
  border-radius: 0;
  color: var(--button-link-text);
  padding: 0;
}
.btn--link .btn__arrow,
.btn--link .button--arrow {
  align-items: center;
  display: flex;
  height: 10px;
  margin-left: 10px;
  position: relative;
  transition: width var(--transition);
  width: 20px;
}
.btn--link .btn__arrow::after,
.btn--link .button--arrow::after {
  background-color: var(--button-link-text);
  content: "";
  display: block;
  height: 2px;
  position: absolute;
  right: 2px;
  transition: background-color var(--transition);
  width: calc(100% - 2px);
}
.btn--link .btn__arrow svg,
.btn--link .button--arrow svg {
  margin-left: auto;
  width: 20px;
}
.btn--link .btn__arrow svg path,
.btn--link .button--arrow svg path {
  transition: stroke var(--transition);
}
.btn--link:hover,
.btn--link:focus-visible {
  color: var(--button-link-text-hover);
}
.btn--link:hover .btn__arrow,
.btn--link:hover .button--arrow,
.btn--link:focus-visible .btn__arrow,
.btn--link:focus-visible .button--arrow {
  width: 26px;
}
.btn--link:hover .btn__arrow::after,
.btn--link:hover .button--arrow::after,
.btn--link:focus-visible .btn__arrow::after,
.btn--link:focus-visible .button--arrow::after {
  background-color: var(--button-link-text-hover);
}
.btn--link:hover .btn__arrow svg path,
.btn--link:hover .button--arrow svg path,
.btn--link:focus-visible .btn__arrow svg path,
.btn--link:focus-visible .button--arrow svg path {
  stroke: var(--button-link-text-hover);
}

/* Solid — for light section backgrounds */
.btn--solid {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--text-white);
}
.btn--solid:hover {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Zoom-only hover — overrides the color-inversion for CTA-banner style buttons */
.btn--zoom {
  padding: 12px;
}
.btn--zoom:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--text-white);
  transform: scale(1.03);
}
.btn--zoom .btn__label {
  background-image: none;
  padding-bottom: 0;
  padding-top: 0;
}

/* Submit — brand keeps #000078 reserved for this button only */
.btn--submit {
  background: var(--color-primary-submit);
  border-color: var(--color-primary-submit);
  color: var(--text-white);
  width: 100%;
  justify-content: center;
  padding-block: 14px;
  font-size: 1rem;
}
.btn--submit:hover {
  background: var(--color-primary-dark);
}


/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
  /* Ref: no min-height — height = content + 150px top/bottom
     (.main_content-row-0-padding: padding-top/bottom 150px) */
  padding-block: 150px;
}

/* Decorative glows */
.hero::before {
  content: '';
  position: absolute;
  right: -120px;
  top: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--hero-glow-1) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  right: 80px;
  top: 40%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--hero-glow-2) 0%, transparent 70%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__title {
  font: var(--h1-font);
  color: var(--text-white);
}

.hero__desc {
  font-size: var(--fs-body);
  color: var(--text-white);
  line-height: 1.67;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 2.5rem;
}

.hero__image {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero__image img {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  object-fit: cover;
}


/* --------------------------------------------------------------------------
   ABOUT SECTION (dark navy, 2-col)
   -------------------------------------------------------------------------- */
.about__image img {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
}

/* Accordion — mirrors the reference kohorta-faqs module (home widget overrides) */
.accordion {
  margin-bottom: 36px;
}

.accordion__item {
  border-bottom: 1px solid #D6D9CF;
}

.accordion__trigger {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 2.4em 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  color: #000000;
  text-align: left;
}

/* Icon — left side, + / − toggle (ref: 16px, #000094, rotate on open) */
.accordion__icon {
  flex-shrink: 0;
  margin-right: 1rem;
  margin-top: .1em;
  position: relative;
  width: 16px;
  height: 16px;
  transition: transform .3s ease-in-out;
}

.accordion__icon::before,
.accordion__icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-primary);
}

/* Vertical bar */
.accordion__icon::before {
  bottom: 4px;
  left: 50%;
  top: 4px;
  transform: translateX(-50%);
  width: 2px;
}

/* Horizontal bar */
.accordion__icon::after {
  height: 2px;
  left: 4px;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
}

/* Open: rotate the whole icon and collapse the horizontal bar → single line */
.accordion__item.is-open .accordion__icon {
  transform: rotate(90deg);
}

.accordion__item.is-open .accordion__icon::after {
  left: 50%;
  right: 50%;
}

.accordion__body {
  display: none;
  padding: 0 0 3em 3rem;
  font-size: var(--fs-body);
  color: #000000;
  line-height: 1.5;
}

.accordion__item.is-open .accordion__body { display: block; }

/* Per-page accordion sizing — mirrors each reference page's kohorta-faqs widget */
body.page-template-page-quem-somos .accordion__trigger {
  font-size: 20px;
  font-weight: var(--fw-regular);
}
body.page-template-page-quem-somos .accordion__icon {
  width: 20px;
  height: 20px;
}

body.page-template-page-aiso .accordion__trigger { font-size: 20px; }
body.page-template-page-aiso .accordion__icon { width: 20px; height: 20px; }

body.page-template-page-redsquad .accordion__trigger { font-size: 18px; }
body.page-template-page-redsquad .accordion__icon { width: 18px; height: 18px; }

body.page-template-page-financeiro .accordion__trigger,
body.page-template-page-saude .accordion__trigger,
body.page-template-page-educacao .accordion__trigger,
body.page-template-page-industria .accordion__trigger { font-size: 20px; }

body.page-template-page-financeiro .accordion__icon,
body.page-template-page-saude .accordion__icon,
body.page-template-page-educacao .accordion__icon,
body.page-template-page-industria .accordion__icon { width: 20px; height: 20px; }


/* --------------------------------------------------------------------------
   SERVICE CARDS (blue section, glass cards)
   -------------------------------------------------------------------------- */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 48px;
}

.service-card {
  background: var(--bg-white);
  border-radius: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

/* Placeholder icon — invisible (0×0), keeps the 50px breathing room of the ref */
.service-card__icon {
  margin-bottom: 50px;
  width: 0;
  height: 0;
  margin-right: auto;
}

.service-card__title {
  font-size: 1.625rem;
  font-weight: var(--fw-bold);
  color: #000000;
  line-height: 1.33;
  margin-bottom: 0;
}

.service-card__label {
  color: #000000;
}

.service-card__desc {
  font-size: var(--fs-body);
  color: #000000;
  line-height: 1.67;
}


/* --------------------------------------------------------------------------
   REVOLUCIONANDO SECTION (dark bg-image)
   -------------------------------------------------------------------------- */
.revolution {
  position: relative;
  overflow: hidden;
  padding-block: 100px;
  background-image: url('/wp-content/uploads/2026/07/3d-render-modern-background-with-flowing-cyber-particles8c2b.jpg');
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.revolution__tag {
  margin-bottom: 20px;
}

.revolution__pullse-logo {
  height: 27px;
  width: auto;
  display: block;
}

.revolution__title {
  font-size: clamp(1.5rem, 3.5vw, 2.625rem);
  font-weight: var(--fw-bold);
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 16px;
}

.revolution__desc {
  font-size: 16px;
  color: #ffffff;
  line-height: 1.67;
  margin-bottom: 36px;
}

.revolution__metrics {
  display: block;
}

.revolution__metric-img {
  max-width: 100%;
  height: auto;
  display: block;
}

.revolution__metrics--div {
  padding-top: 10px;
  padding-bottom: 10px;
}

.revolution__metrics--div.first-img {
  padding-top: 40px;
}
.revolution__metrics--div.last-img {
  padding-top: 20px;
}


/* --------------------------------------------------------------------------
   CAREERS SECTION
   -------------------------------------------------------------------------- */
.careers__image img {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
}


/* --------------------------------------------------------------------------
   TESTIMONIALS
   -------------------------------------------------------------------------- */
.testimonials {
  padding-block: var(--section-py);
  background: var(--bg-light);
}

/* Wrapper: arrows + track side by side */
.testimonials__slider-wrapper {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Track clip */
.testimonials__track-wrapper {
  flex: 1;
  overflow: hidden;
}

.testimonials__track {
  display: flex;
  transition: transform 0.4s ease;
}

.testimonials__slide {
  flex: 0 0 100%;
  width: 100%;
}

/* Card */
.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
}

.testimonial-card__quote-icon {
  margin-bottom: 24px;
  color: #000000;
}
.testimonial-card__quote-icon svg {
  display: block;
}

.testimonial-card__text {
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  color: #000000;
  line-height: 1.55;
  flex: 1;
  margin-bottom: 32px;
}

.testimonial-card__meta {
  text-align: right;
}

.testimonial-card__name {
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  color: #000000;
}

.testimonial-card__role {
  font-size: var(--fs-small);
  color: #555555;
  margin-top: 2px;
}

/* Nav arrows */
.testimonials__nav {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-white);
  border: none;
  cursor: pointer;
  color: #000000;
  transition: background var(--transition), color var(--transition);
}

.testimonials__nav:hover {
  background: #000000;
  color: #ffffff;
}

/* Dots */
.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.testimonials__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #000000;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background var(--transition);
}

.testimonials__dot.is-active {
  background: #000000;
}

/* Mobile: stacked cards, no slider — matches reference */
@media (max-width: 991px) {
  .testimonials { background: #ffffff; }
  .testimonials__nav { display: none; }
  .testimonials__track-wrapper { overflow: visible; }
  .testimonials__track {
    flex-direction: column;
    gap: 24px;
  }
  .testimonials__slide {
    flex: auto;
    width: auto;
  }
  .testimonial-card {
    background: #f3f3f3;
    border-radius: var(--radius-lg);
    padding: 32px 24px;
  }
}


/* --------------------------------------------------------------------------
   WHY REDSPARK (bg-image section)
   -------------------------------------------------------------------------- */
.why {
  position: relative;
  padding-top: 30px;
  background-image: url('/wp-content/uploads/2026/07/iStock-1839680998.png');
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.why__title {
  font-size: var(--fs-section-title);
  font-weight: var(--fw-bold);
  color: var(--text-white);
  margin-bottom: 16px;
  text-align: center;
}

.why__subtitle {
  margin-top: 16px;
  color: white;
}
.why__subtitle-bottom {
  padding-bottom: 60px;
}

.why__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--grid-gutter);
}

.why-card {
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  padding: 40px 20px 30px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.why-card__icon {
  display: block;
  margin-bottom: 20px;
}

.why-card__title {
  font-size: 1.5rem;
  font-weight: var(--fw-bold);
  color: var(--text-white);
}

.why-card__desc {
  font-size: var(--fs-body);
  color: #ffffff;
  text-align: center;
  line-height: 1.67;
  margin-bottom: 34px;
}


/* --------------------------------------------------------------------------
   STATS BAR
   -------------------------------------------------------------------------- */
.stats {
  padding-block: 64px;
  background: var(--color-primary);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

@media (min-width: 768px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
}

.stats__grid--3 { grid-template-columns: 1fr; }

@media (min-width: 768px) {
  .stats__grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.stat {
  text-align: center;
  padding: 16px;
}

.stat__number {
  font-size: 2.25rem;
  font-weight: var(--fw-extrabold);
  color: var(--text-white);
  line-height: 1;
  margin-bottom: 10px;
}

.stat__label {
  font-size: var(--fs-body);
  color: var(--text-white);
  font-weight: 500;
}


/* --------------------------------------------------------------------------
   CLIENT LOGOS
   -------------------------------------------------------------------------- */
.clients {
  padding-block: var(--section-py);
  background: var(--bg-white);
}

.clients__header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 48px;
}

.clients__header .section-title {
  margin-bottom: 0;
  text-align: center;
}

.clients__controls {
  position: absolute;
  right: 0;
  display: flex;
  gap: 8px;
}

.clients__nav {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #000000;
  cursor: pointer;
  padding: 4px 1px;
  line-height: 1;
  transition: opacity var(--transition);
}

.clients__nav:hover {
  opacity: 0.5;
}

.clients__nav svg {
  display: block;
  width: 20px;
  height: 20px;
}

.clients__track-wrapper {
  overflow: hidden;
}

.clients__track {
  display: flex;
  align-items: center;
  gap: 120px;
  transition: transform 0.4s ease;
}

.clients__logo {
  flex: 0 0 auto;
  max-width: 150px;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  transition: transform 0.3s ease-in-out;
}

.clients__logo:hover {
  transform: scale(1.05);
}


/* --------------------------------------------------------------------------
   BLOG CARDS (Artigos recentes)
   -------------------------------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gutter);
  margin-top: 48px;
}

@media (max-width: 767px) {
  .blog-grid { grid-template-columns: 1fr; }
}

.blog-card {
  background: var(--bg-white);
  display: flex;
  flex-direction: column;
}

/* Image zoom */
.blog-card__img-wrapper {
  overflow: hidden;
  height: 200px;
  flex-shrink: 0;
}

/* Fallback background for posts without a featured image */
.blog-card__img-wrapper--placeholder {
  background: #e8e8f0;
}

.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card__img {
  transform: scale(1.07);
}

.blog-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Title with animated underline */
.blog-card__title {
  font-size: 0.9375rem;
  font-weight: var(--fw-bold);
  color: #000000;
  line-height: 1.4;
  position: relative;
  padding-bottom: 12px;
}

.blog-card__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.blog-card:hover .blog-card__title::after {
  transform: scaleX(1);
}

/* Category slug */
.blog-card__category {
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Link + arrow */
.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  margin-top: auto;
}

.blog-card__arrow {
  transition: transform var(--transition-fast);
}

.blog-card:hover .blog-card__arrow {
  transform: translateX(5px);
}

.blog-card__excerpt {
  font-size: var(--fs-small);
  color: var(--text-body-light);
  line-height: 1.6;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.75rem;
  color: var(--text-body-light);
}

/* Blog pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  background: var(--color-primary);
  color: var(--text-white);
}

/* Blog toolbar — wraps the category filter nav + search box on one row */
.blog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
}

/* Explicit breakpoint (not implicit flex-wrap overflow): search drops below the tabs */
@media (max-width: 575.98px) {
  .blog-toolbar .blog-filter,
  .blog-toolbar .blog-search {
    flex-basis: 100%;
  }
}

/* Blog category filter bar */
.blog-filter {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.blog-filter::-webkit-scrollbar { display: none; }

.blog-filter__item {
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: var(--fw-bold);
  color: var(--text-body);
  padding: 6px 16px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
}

.blog-filter__item:hover,
.blog-filter__item.is-active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

/* Override image height for blog listing */
.blog-listing .blog-card__img-wrapper { height: 240px; }

/* Blog search — decorative until search.php exists */
.blog-search { display: flex; }
.blog-search__input { max-width: 320px; }
@media (max-width: 575.98px) { .blog-search__input { max-width: none; } }


/* --------------------------------------------------------------------------
   INNER HERO (.hero--inner)
   Shorter hero for solution/product inner pages. No home glows.
   bg-image set via inline style per page.
   -------------------------------------------------------------------------- */
.hero--inner {
  min-height: 450px;
  padding-block: 80px;
}

.hero--inner::before,
.hero--inner::after { display: none; }

.hero__vertical-label {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center center;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: var(--fw-black);
  color: rgba(255, 255, 255, 0.06);
  letter-spacing: 0.15em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}


/* --------------------------------------------------------------------------
   BENEFIT CARDS (.benefit-card)
   Icon + title + desc cards on blue sections (A.I.S.O. desafios, Automação stats)
   -------------------------------------------------------------------------- */
.benefit-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.benefit-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.benefit-card__icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.benefit-card__title {
  font-size: 1.125rem;   /* 18px (ref: aiso.html .hovering-info-cards h4) */
  font-weight: var(--fw-bold);
  color: var(--text-white);
}

.benefit-card__desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Benefit cards on light sections — dark text */
.section--light .benefit-card__icon { color: var(--color-primary); }
.section--light .benefit-card__title { color: var(--text-body); }
.section--light .benefit-card__desc  { color: var(--text-body-light); }


/* --------------------------------------------------------------------------
   METHODOLOGY CARDS (.methodology-card)
   Numbered blue cards — Redsquad methodology section
   -------------------------------------------------------------------------- */
.methodology-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.methodology-card {
  background: var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  color: var(--text-white);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.methodology-card__number {
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  opacity: 0.6;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.methodology-card__title {
  font-size: 1.125rem;
  font-weight: var(--fw-bold);
}

.methodology-card__desc {
  font-size: var(--fs-small);
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   CTA FORM SECTION
   -------------------------------------------------------------------------- */
.cta-section {
  position: relative;
  padding-block: var(--section-py);
  background-image: url('/wp-content/uploads/2026/07/iStock-16161361752eac.jpg');
  background-position: left top !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  color: var(--text-white);
}

.cta-section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.625rem);
  font-weight: var(--fw-bold);
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 12px;
}

.cta-section__excl { color: var(--color-accent-ref); }

.cta-section__sub {
  font-size: var(--fs-body);
  color: #ffffff;
  line-height: 1.6;
}

/* Form box — white card */
.form {
  background: #e8e8e8;
  border-radius: 0;
  padding: 50px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: var(--fw-semibold);
  color: #000000;
}

.form__input {
  height: 50px;
  width: 100%;
  background: #ffffff;
  border: solid white 2px;
  padding: 10px 12px;
  font-family: var(--font);
  font-size: 14px;
  color: #000000;
  transition: border-color var(--transition-fast);
}

.form__input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form__textarea {
  resize: vertical;
  min-height: 90px;
  font-family: var(--font);
}

/* reCAPTCHA placeholder — decorative badge, mimics Google's "protected by reCAPTCHA" bar */
.form__recaptcha {
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.form__recaptcha-inner {
  display: flex;
  align-items: center;
  background: #1a73e8;
}

.form__recaptcha-inner input[type="checkbox"] {
  /* decorative only — no name attribute, not required, purely for label association */
  display: none;
}

.form__recaptcha-inner label {
  flex: 1;
  padding: 14px 16px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: #ffffff;
  cursor: default;
}

.form__recaptcha-inner img {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  padding: 8px;
  background: #f3f3f3;
}

/* Honeypot — off-screen, must NOT be display:none */
.form__hp {
  position: absolute !important;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Response message — success/error, no new tokens */
.form__response {
  display: none;
  border-radius: var(--radius-sm);
  border-left: 3px solid transparent;
  padding: 10px 12px;
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  line-height: 1.4;
}

.form__response.is-visible {
  display: block;
}

.form__response--success {
  color: var(--color-primary);
  background: #f2f2fb;                                        /* fallback */
  background: color-mix(in srgb, var(--color-primary) 8%, #ffffff);
  border-left-color: var(--color-primary);
}

.form__response--error {
  color: var(--color-accent);
  background: #fdf0f4;                                        /* fallback */
  background: color-mix(in srgb, var(--color-accent) 8%, #ffffff);
  border-left-color: var(--color-accent);
}

/* Pending / disabled submit state */
.btn--submit:disabled,
.btn--submit[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.form.is-submitting .form__input,
.form.is-submitting .form__textarea {
  opacity: 0.7;
  pointer-events: none;
}


/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--bg-light);
  color: #000000;
  padding-block: 100px 50px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; }
}

.footer__logo { height: auto; width: 300px; margin-bottom: 20px; }

.footer__address {
  font-size: 12px;
  color: #000000;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-fast);
}

.footer__social a:hover { opacity: 0.6; }

.footer__col-title {
  font-size: 16px;
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  font-size: 15px;
  color: #000000;
  transition: opacity var(--transition-fast);
}

.footer__links a:hover { opacity: 0.7; }

.footer__bottom {
  padding-top: 20px;
  font-size: 10px;
  color: #000000;
}

.footer__bottom a {
  color: #000000;
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.footer__bottom a:hover { color: #000000; }


/* --------------------------------------------------------------------------
   MISC HELPERS
   -------------------------------------------------------------------------- */
.w-100   { width: 100%; }
.h-100   { height: 100%; }
.rounded { border-radius: var(--radius-lg); }

/* Cursor — static, no animation */
.cursor {
  display: inline-block;
  color: var(--color-accent-ref);
}

/* Reference keeps #e60042 only on the home hero and the A.I.S.O. page hero */
body.home .hero__title .cursor,
body.page-template-page-aiso .hero__title .cursor,
.why__title .cursor {
  color: var(--color-accent);
}

/* Home-only: "Sua transformação começa aqui_" sits on navy and the ref colors
   its underscore #e60042 (inline), unlike the #ff113b used elsewhere. */
body.home .section--blue .section-title .cursor {
  color: var(--color-accent);
}

/* Home-only: the final CTA title is 33px on the home; inner pages use 42px */
body.home .cta-section__title {
  font-size: 2.0625rem;
}


/* --------------------------------------------------------------------------
   WHATSAPP FLOATING BUTTON
   -------------------------------------------------------------------------- */
.rs-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 4px 16px rgba(0,0,0,0.28);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.rs-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(0,0,0,0.36);
}

/* Google's reCAPTCHA v3 badge auto-injects fixed bottom-right, colliding with
   the WhatsApp button above. Google's terms allow repositioning the badge via
   CSS as long as it stays visible somewhere on the page (the alternative —
   hiding it — requires adding the Privacy Policy/Terms disclosure text
   ourselves, which we're not doing since every form already shows its own
   "protegido por reCAPTCHA" indicator). Moved to bottom-left, which is empty
   on every page. Google sets this via inline styles, so !important is needed. */
.grecaptcha-badge {
  left: 14px !important;
  right: auto !important;
}


/* --------------------------------------------------------------------------
   SERVICE LIST — icon + label rows (Innovation as a Service section)
   -------------------------------------------------------------------------- */
.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.service-list__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--text-white);
}

.service-list__item img {
  flex-shrink: 0;
}


/* --------------------------------------------------------------------------
   IMPACT LIST — icon + stat rows (Setores S2, dark blue bg)
   -------------------------------------------------------------------------- */
.impact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}

.impact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.impact-item__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--color-accent);
}

.impact-item__text {
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  color: var(--text-white);
}


/* --------------------------------------------------------------------------
   FEATURE ICONS GRID — 5 metrics (Setores S5 "Por que Redspark")
   -------------------------------------------------------------------------- */
.feature-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 32px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.feature-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.feature-icon__svg {
  color: var(--color-primary);
}

.feature-icon__img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Data & Analytics features list — icon + label rows */
.data-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.data-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: var(--fw-bold);
}

.data-feature img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.feature-icon__text {
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  color: var(--text-dark);
}

.feature-icon__text small {
  display: block;
  margin-top: 4px;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
  color: inherit;
  opacity: 0.75;
}


/* --------------------------------------------------------------------------
   ICON CHECKLIST — vertical icon+label list (Quem Somos "Referência de qualidade")
   -------------------------------------------------------------------------- */
.icon-checklist {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
  list-style: none;
  padding: 0;
}

.icon-checklist__item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-checklist__label {
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  color: inherit;
}


/* --------------------------------------------------------------------------
   LOGO ROW — investor/partner logo strip (Quem Somos "Fundo Aeroespacial")
   -------------------------------------------------------------------------- */
.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  margin-top: 32px;
}

.logo-row__img {
  height: 50px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}


/* --------------------------------------------------------------------------
   DARK ACCORDION — override for accordion inside .section--blue
   -------------------------------------------------------------------------- */
.section--blue .accordion__item {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.section--blue .accordion__trigger {
  color: var(--text-white);
}

.section--blue .accordion__body {
  color: rgba(255, 255, 255, 0.75);
}

.section--blue .accordion__icon::before,
.section--blue .accordion__icon::after {
  background: var(--text-white);
}


/* --------------------------------------------------------------------------
   CONTACT INFO LIST — contato page (icon + label + value rows)
   -------------------------------------------------------------------------- */
.contact-info {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
}

.contact-info__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-info__label {
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.contact-info__value {
  font-size: 1rem;
  font-weight: var(--fw-medium);
  color: var(--text-white);
}

/* --------------------------------------------------------------------------
   SERVICE CARDS — 5-up variant (Pullse product cards)
   Base .service-cards uses auto-fit minmax(280px) which wraps 4+1 on wide
   viewports. This modifier forces an explicit 1 / 2 / 3+2 layout.
   Contract: expects EXACTLY 5 direct .service-card children.
   -------------------------------------------------------------------------- */
.service-cards--5 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .service-cards--5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  /* 6 tracks: each card spans 2 -> 3 per row; card 4 offset by 1 track so the
     trailing pair is centered under the first row. */
  .service-cards--5 {
    grid-template-columns: repeat(6, 1fr);
  }
  .service-cards--5 > .service-card {
    grid-column: span 2;
  }
  .service-cards--5 > .service-card:nth-child(4) {
    grid-column: 2 / span 2;
  }
}

/* --------------------------------------------------------------------------
   SERVICE CARD — dark variant (Pullse product cards)
   Overrides background + text only. Base .service-card (white bg, used by
   front-page.php) is untouched.
   -------------------------------------------------------------------------- */
.service-card--dark {
  background: var(--color-primary);
}

.service-card--dark .service-card__title,
.service-card--dark .service-card__label {
  color: var(--text-white);
}

.service-card--dark .service-card__desc {
  color: var(--text-muted);
}

/* New BEM element — no existing consumers, additive by construction */
.service-card__icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 8px;
}


/* 1. Estilização principal da janela flutuante */
#video-lightbox {
    padding: 0;
    border: none;
    background: transparent;
    overflow: visible;
    width: 90vw;            /* Ocupa 90% da largura em telas menores */
    max-width: 850px;       /* Tamanho máximo ideal para o player */
    margin: auto;           /* Truque nativo para centralizar o <dialog> vertical e horizontalmente */
}

/* 2. Garante a proporção do vídeo (16:9) e evita que ele colapse */
.video-container-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* Força a proporção exata de 16:9 */
}

/* 3. Força o iframe gerado pelo YouTube a preencher todo o espaço disponível */
#video-lightbox iframe,
#youtube-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: none;
    border-radius: 8px;     /* Bordas levemente arredondadas para um visual moderno */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Sombra elegante atrás do vídeo */
}

/* 4. Reposiciona o botão de fechar para ficar bem encaixado acima do vídeo */
#close-video-btn {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.2s;
}

#close-video-btn:hover {
    opacity: 0.7;
}

/* 5. Efeito de fundo escuro com leve desfoque */
#video-lightbox::backdrop {
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.padding-20 {
  padding: 20px;
}

.margin-top-30 {
  margin-top: 30px;
}