/* Theme header metadata */
/*
Theme Name: Solucoes Massa
Theme URI: https://solucoesmassa.com.br
Description: Tema child do Twenty Twenty-One
Author: Equipe de Desenvolvimento e Inovacao - Grupo Massa
Author URI: https://solucoesmassa.com.br
Template: twentytwentyone
Version: 1.1.0
Text Domain: solucoesmassa
*/

/* Global font variables aligned with Twenty Twenty-One tokens */
:root {
  --global--font-primary: "Montserrat", sans-serif;
  --global--font-secondary: "Montserrat", sans-serif;
}

/* Base typography override for the child theme */
body,
button,
input,
select,
optgroup,
textarea {
  font-family: "Montserrat", sans-serif !important;
}

/* Global button typography */
button,
input[type="button"],
input[type="submit"],
.wp-block-button__link,
.button,
a {
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none;
}

.has-background-white .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button){
  background: transparent !important;
  color: inherit !important;
}

/* Heading and site branding typography */
h1,
h2,
h3,
h4,
h5,
h6,
.site-title,
.site-title a,
.site-description,
.entry-title,
.entry-title a,
.wp-block-site-title,
.wp-block-heading,
.widget-title,
.entry-content {
  font-family: "Montserrat", sans-serif !important;
}

/* Global heading sizes */
h1 {
  font-size: 56px !important;
  font-weight: 800 !important;
}

/* Global heading sizes */
h2 {
  font-size: 40px !important;
  font-weight: 800 !important;
}

/* Global heading sizes */
h3 {
  font-size: 32px !important;
  font-weight: 700 !important;
}

/* Global heading sizes */
h4 {
  font-size: 24px !important;
  font-weight: 700 !important;
}

/* Global heading sizes */
h5 {
  font-size: 20px !important;
  font-weight: 700 !important;
}

/* Global heading sizes */
h6 {
  font-size: 16px !important;
  font-weight: 700 !important;
}

/* Global paragraph and span typography */
p,
span {
  font-size: 14px !important;
  font-weight: 425 !important;
}
.site-main{
  padding-top: 0 !important;
}

/* COMPONENTE - HEADER */
.sm-site-header {
  position: relative;
  z-index: 30;
  width: 100%;
  background: #f4f4f4;
  border-bottom: 1px solid #e9e9e9;
}

.sm-site-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 40px;
}

.sm-site-header__brand {
  min-width: 164px;
}

.sm-site-header__brand .custom-logo-link {
  display: inline-flex;
  line-height: 0;
}

.sm-site-header__brand .custom-logo {
  display: block;
  width: auto;
  max-width: 170px;
  max-height: 62px;
  height: auto;
}

.sm-site-header__logo-fallback {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}

.sm-site-header__logo-top {
  color: #1f45d8;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.48em;
}

.sm-site-header__logo-bottom {
  color: #1f45d8;
  font-size: 52px !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em;
  margin-top: -2px;
  text-transform: lowercase;
}

.sm-site-header__nav {
  justify-self: center;
}

.sm-site-header__menu,
.sm-site-header__menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sm-site-header__menu {
  display: flex;
  align-items: center;
  gap: 34px;
}

.sm-site-header__menu > li {
  position: relative;
}

.sm-site-header__menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111111;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.2;
}

.sm-site-header__menu > li > a:hover,
.sm-site-header__menu > li > a:focus {
  color: #1f45d8;
}

.sm-site-header__menu > .menu-item-has-children > a::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}

.sm-site-header__menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: #ffffff;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 8px 0;
  margin-top: 0;
}

.sm-site-header__menu > li:hover > .sub-menu,
.sm-site-header__menu > li:focus-within > .sub-menu {
  display: block;
}

.sm-site-header__menu .sub-menu li a {
  display: block;
  padding: 18px 14px;
  color: #111111;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

.sm-site-header__menu .sub-menu li a:hover,
.sm-site-header__menu .sub-menu li a:focus {
  color: #1f45d8;
  background: #f7f9ff;
}

.sm-site-header__menu > li.current-menu-item > a,
.sm-site-header__menu > li.current-menu-parent > a,
.sm-site-header__menu > li.current-menu-ancestor > a,
.sm-site-header__menu > li.is-current > a {
  color: #1f45d8;
}

.sm-site-header__menu .sub-menu li.current-menu-item > a,
.sm-site-header__menu .sub-menu li.current-menu-parent > a,
.sm-site-header__menu .sub-menu li.current-menu-ancestor > a,
.sm-site-header__menu .sub-menu li.is-current > a {
  color: #1f45d8;
}

.sm-site-header__actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.sm-site-header__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1;
  white-space: nowrap;
}

.sm-site-header__button--primary {
  background: #1f45d8;
  color: #ffffff;
  border: 2px solid #1f45d8;
}

.sm-site-header__button--outline {
  background: transparent;
  color: #15389b;
  border: 2px solid #15389b;
}

.sm-site-header__button--primary:hover,
.sm-site-header__button--primary:focus {
  background: #1637b3;
  border-color: #1637b3;
  color: #ffffff;
}

.sm-site-header__button--outline:hover,
.sm-site-header__button--outline:focus {
  background: #f0f4ff;
  color: #15389b;
}

.sm-site-header__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #d0d6e8;
  border-radius: 6px;
  background: #ffffff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.sm-site-header__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #1f45d8;
}

@media (max-width: 1220px) {
  .sm-site-header__inner {
    column-gap: 22px;
  }

  .sm-site-header__menu {
    gap: 24px;
  }
}

@media (max-width: 991px) {
  .sm-site-header__inner {
    grid-template-columns: 1fr auto;
    row-gap: 14px;
    padding: 16px;
  }

  .sm-site-header__toggle {
    display: inline-flex;
  }

  .sm-site-header__nav,
  .sm-site-header__actions {
    display: none;
    grid-column: 1 / -1;
  }

  .sm-site-header.is-open .sm-site-header__nav,
  .sm-site-header.is-open .sm-site-header__actions {
    display: block;
  }

  .sm-site-header__menu {
    display: grid;
    gap: 10px;
  }

  .sm-site-header__menu > li > a {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid #ebebeb;
  }

  .sm-site-header__menu .sub-menu {
    display: block;
    position: static;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    background: transparent;
    padding: 0 0 6px 14px;
  }

  .sm-site-header__menu .sub-menu li a {
    padding: 8px 0;
  }

  .sm-site-header__actions {
    margin-top: 4px;
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .sm-site-header__button {
    width: 100%;
    min-height: 42px;
  }
}

@media (max-width: 520px) {
  .sm-site-header__brand {
    min-width: 130px;
  }

  .sm-site-header__brand .custom-logo {
    max-width: 138px;
    max-height: 50px;
  }

  .sm-site-header__logo-top {
    font-size: 10px !important;
  }

  .sm-site-header__logo-bottom {
    font-size: 44px !important;
  }

  .sm-site-header__actions {
    grid-template-columns: 1fr;
  }
}

/* Hero slider base container */
.home-hero {
  position: relative;
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  height: 885px;
  overflow: hidden;
  background: #10131d;
}

/* Hero slider track keeps the full height */
.home-hero__track {
  height: 100%;
}

/* Individual slide with fade transition */
.home-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease-in-out, visibility 0.45s ease-in-out;
  background-color: #111827;
  background-size: cover;
  background-position: center;
}

/* Active slide visibility */
.home-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}

/* Full-click overlay when slide has link */
.home-hero__link {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
}

/* Arrow — prev (left side) */
.home-hero__nav--prev {
  position: absolute !important;
  left: 1.5rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 3;
}

/* Arrow — next (right side) */
.home-hero__nav--next {
  position: absolute !important;
  right: 1.5rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 3;
}

/* Arrow buttons */
.home-hero__nav {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.18) !important;
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.55) !important;
  padding: 0 !important;
  width: 48px !important;
  height: 48px !important;
  min-width: unset !important;
  min-height: unset !important;
  border-radius: 999px !important;
  cursor: pointer !important;
  box-shadow: none !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.2s ease, border-color 0.2s ease !important;
  flex-shrink: 0;
}

.home-hero__nav svg {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Arrow button hover/focus state */
.home-hero__nav:hover,
.home-hero__nav:focus-visible {
  background: rgba(255, 255, 255, 0.32) !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  outline: none !important;
}

/* Dot indicators container */
.home-hero__dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Dot indicators */
.home-hero__dot {
  display: block !important;
  width: 10px !important;
  height: 10px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: rgba(255, 255, 255, 0.5) !important;
  cursor: pointer !important;
  box-shadow: none !important;
  min-width: unset !important;
  min-height: unset !important;
  transition: transform 0.2s ease, background 0.2s ease, width 0.2s ease !important;
}

/* Active dot state */
.home-hero__dot.is-active {
  background: #f4be00 !important;
  width: 28px !important;
  transform: none !important;
}

/* Default WordPress content area below custom sections */
.home-content {
  max-width: 1240px;
  margin: 0 auto;
  padding: 3rem clamp(1.25rem, 2vw, 2.25rem);
}

/* Full section below hero for title + cards */
.home-cards-section {
  background: #ffffff;
  padding: 5rem 0 5.5rem;
}

/* Shared container width for the cards section */
.home-cards-section__container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 2vw, 2.25rem);
}

/* Centered heading block (title + subtitle) */
.home-cards-section__heading {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

/* Main section title */
.home-cards-section__title {
  margin: 0 0 0.9rem;
  color: #1e3382;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.1;
}

/* Section subtitle/description */
.home-cards-section__description {
  margin: 0;
  color: #1e3382;
  font-size: clamp(1rem, 1.7vw, 1.4rem);
  line-height: 1.35;
}

/* Cards grid: 3 columns on desktop */
.home-cards-section__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

/* Single information card */
.home-info-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(18, 32, 67, 0.08);
  padding: 2.25rem 2rem;
  min-height: 360px;
}

/* Icon wrapper inside card */
.home-info-card__icon {
  width: 72px;
  height: 72px;
  margin-bottom: 1.4rem;
}

/* Icon image fit */
.home-info-card__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Card title typography */
.home-info-card__title {
  margin: 0 0 1rem;
  color: #111827;
  font-size: clamp(1.2rem, 2vw, 2rem);
  line-height: 1.15;
}

/* Card body text typography */
.home-info-card__text {
  margin: 0;
  color: #374151;
  font-size: 1.05rem;
  line-height: 1.45;
}

/* Full-width logos strip section */
.home-logos-strip {
  background: #fff;
  padding: 0 clamp(1.25rem, 2vw, 2.25rem);
}

/* Constrain logos strip content to the site's max width */
.home-logos-strip picture {
  display: block;
  max-width: 1240px;
  margin: 0 auto;
}

/* Logos strip image behavior */
.home-logos-strip img {
  display: block;
  width: 100%;
  height: auto;
}

/* Section wrapper for media brand cards (Rede Massa, Massa FM, Massa Digital) */
.home-media-cards {
  background: #ffffff;
  padding: 2.25rem 0 5rem;
}

/* Shared container for media cards section */
.home-media-cards__container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 2vw, 2.25rem);
}

/* Three-column media cards grid */
.home-media-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

/* Individual media card base */
.home-media-card {
  background: var(--media-card-bg, #2347e8);
  border-radius: 10px;
  padding: 2.8rem 3.5rem 1.7rem;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  color: #fff;
}

/* Top centered main logo */
.home-media-card__logo {
  height: 68px;
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main logo image fit */
.home-media-card__logo img {
  max-width: min(220px, 100%);
  max-height: 68px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Rows container with two-column item layout */
.home-media-card__rows {
  display: grid;
  gap: 2.5rem;
  flex: 1;
  align-content: start;
}

/* Center rows vertically when only two items are filled */
.home-media-card__rows--count-2 {
  margin-top: 2rem;
}

/* Single informational row */
.home-media-card-row {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
}

/* Icon column */
.home-media-card-row__icon {
  width: 66px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Icon image behavior */
.home-media-card-row__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Text column title */
.home-media-card-row__title {
  margin: 0 0 0.2rem;
  font-size: clamp(1.5rem, 2.2vw, 2.4rem);
  line-height: 1.03;
  color: #fff;
}

/* Text column paragraph */
.home-media-card-row__text {
  margin: 0;
  font-size: clamp(1rem, 1.15vw, 1.3rem);
  line-height: 1.2;
  color: #fff;
}

/* Bottom action button */
.home-media-card__button {
  margin-top: auto;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #fff;
  color: #1441d6;
  font-weight: 700;
  min-width: 130px;
  min-height: 44px;
  border-radius: 4px;
  padding: 0.65rem 1.2rem;
}

/* Button hover state */
.home-media-card__button:hover,
.home-media-card__button:focus {
  background: #f5f7ff;
}

/* Institutional highlight banner with right-aligned background art */
.home-highlight-banner {
  background-color: var(--highlight-bg, #102b98);
  background-image: var(--highlight-right-art);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
  padding: 3.8rem 0;
}

/* Shared container for highlight banner content */
.home-highlight-banner__container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 2vw, 2.25rem);
  display: grid;
  grid-template-columns: 40% 40% 20%;
  gap: clamp(1rem, 2vw, 2rem);
  align-items: center;
}

/* Left content column */
.home-highlight-banner__content {
  max-width: 620px;
  color: #fff;
}

/* Top logo inside highlight banner */
.home-highlight-banner__logo {
  margin-bottom: 1.5rem;
}

/* Logo image sizing */
.home-highlight-banner__logo img {
  display: block;
  max-width: min(230px, 100%);
  height: auto;
}

/* Main title text */
.home-highlight-banner__title {
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.08;
  color: #fff;
}

/* Supporting call text (short highlight line) */
.home-highlight-banner__call {
  margin: 0 0 1.5rem;
  font-size: clamp(1.15rem, 1.7vw, 1.85rem);
  line-height: 1.3;
  font-weight: 700;
  color: #fff;
}

/* Descriptive paragraph */
.home-highlight-banner__description {
  margin: 0 0 2rem;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.35;
  color: #fff;
}

/* Action button */
.home-highlight-banner__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-width: 126px;
  min-height: 46px;
  border-radius: 4px;
  background: #fff;
  color: #1441d6;
  font-weight: 700;
  padding: 0.6rem 1.2rem;
}

/* Action button hover state */
.home-highlight-banner__button:hover,
.home-highlight-banner__button:focus {
  background: #f5f7ff;
}

/* Right column image wrapper */
.home-highlight-banner__side {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Right column image behavior */
.home-highlight-banner__side img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
}

/* Opportunities section with 40/60 layout and watermark behind the image column */
.home-opportunities {
  position: relative;
  background: #fff;
  padding: 5rem 0 5.5rem;
  overflow: hidden;
}

/* Shared container for opportunities section content */
.home-opportunities__container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 2vw, 2.25rem);
  display: grid;
  grid-template-columns: 40% 60%;
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}

/* Left media column that receives the decorative watermark */
.home-opportunities__media {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Decorative watermark artwork positioned behind the left column */
.home-opportunities__media::before {
  content: "";
  position: absolute;
  inset: -2rem 12% -2rem -79%;
  background-image: var(--opportunities-watermark);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}

/* Main image wrapper with rounded right edge */
.home-opportunities__image {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  overflow: hidden;
  border-radius: 0 120px 120px 0;
}

/* Main image sizing */
.home-opportunities__image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Right text column */
.home-opportunities__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

/* Short highlighted phrase with bordered pill styling */
.home-opportunities__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 1.5rem;
  padding: 0.7rem 1.5rem;
  border: 2px solid #1d4ed8;
  border-radius: 999px;
  color: #1d4ed8;
  font-size: clamp(0.95rem, 1.2vw, 1.2rem);
  font-weight: 700;
  line-height: 1.2;
}

/* Main section title */
.home-opportunities__title {
  margin: 0 0 1.35rem;
  color: #1e3382;
  font-size: clamp(2.2rem, 4.4vw, 4.6rem);
  line-height: 1.02;
}

/* Supporting descriptive paragraph */
.home-opportunities__description {
  margin: 0;
  color: #111827;
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  line-height: 1.55;
}

/* Partner logos carousel section */
.home-partners {
  background: #fff;
  padding: 1.5rem 0 4rem;
}

/* Shared container for the partner carousel */
.home-partners__container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 2vw, 2.25rem);
}

/* Visible viewport that clips the moving track */
.home-partners__viewport {
  overflow: hidden;
}

/* Moving row of partner logos */
.home-partners__track {
  --partners-gap: clamp(1.25rem, 2vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: var(--partners-gap);
  width: max-content;
  animation: homePartnersMarquee 28s linear infinite;
}

/* Pause the marquee on interaction */
.home-partners__track:hover,
.home-partners__track:focus-within {
  animation-play-state: paused;
}

/* Disable animation when only one logo is available */
.home-partners__track.is-static {
  width: 100%;
  animation: none;
}

/* Individual logo card inside the carousel */
.home-partners__item {
  flex: 0 0 clamp(140px, 14vw, 190px);
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}

/* Partner logo image sizing */
.home-partners__item img {
  display: block;
  max-width: 100%;
  max-height: 54px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Continuous marquee movement */
@keyframes homePartnersMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - (var(--partners-gap) / 2)));
  }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .home-partners__track {
    animation: none;
  }
}

/* ── HOME: Cases e Resultados ─────────────────────────────────── */
.home-cases {
  background: linear-gradient(135deg, #1346ED 0%, #1ABBFF 100%);
  overflow: hidden;
}

.home-cases__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  min-height: 540px;
}

.home-cases__content {
  padding: 64px 0 64px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.home-cases__title {
  font-size: clamp(32px, 3.5vw, 48px) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1.1 !important;
  margin: 0 !important;
}

.home-cases__list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.home-cases__card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
}

.home-cases__card-image {
  width: 240px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.1);
}

.home-cases__card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-cases__card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.home-cases__card-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.25 !important;
  margin: 0 !important;
}

.home-cases__card-title a {
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  transition: opacity 0.2s;
}

.home-cases__card-title a:hover {
  opacity: 0.8;
}

.home-cases__card-excerpt {
  font-size: 15px !important;
  font-weight: 400 !important;
  color: rgba(255,255,255,0.8) !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-cases__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 160px;
  padding: 0 28px;
  height: 52px;
  background: #ffffff !important;
  color: #1f45d8 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.home-cases__btn:hover {
  background: #f0f0f0 !important;
  color: #1530a8 !important;
}

.home-cases__visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  height: 100%;
}

.home-cases__visual-deco {
  position: absolute;
  top: 50%;
  left: 40%;
  transform: translateY(-50%);
  width: 80%;
  max-width: 420px;
  height: auto;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.home-cases__visual-person {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
}

@media (max-width: 991px) {
  .home-cases__container {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .home-cases__visual {
    display: none;
  }

  .home-cases__content {
    padding: 48px 0 52px;
  }
}

@media (max-width: 600px) {
  .home-cases__container {
    padding: 0 20px;
  }

  .home-cases__content {
    padding: 36px 0 40px;
    gap: 24px;
  }

  .home-cases__card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-cases__card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .home-cases__card-title {
    font-size: 18px !important;
  }

  .home-cases__card-excerpt {
    font-size: 14px !important;
    -webkit-line-clamp: 3;
  }
}

/* Partner testimonial cards section */
.home-testimonials {
  background: #fff;
  padding: 0.5rem 0 5rem;
}

/* Shared container for testimonial cards */
.home-testimonials__container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 2vw, 2.25rem);
}

/* Grid for up to three testimonial cards */
.home-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

/* Individual testimonial card */
.home-testimonial-card {
  position: relative;
  min-height: 100%;
  padding: 2rem 2.7rem 1.75rem;
  border-radius: 16px;
  border: 1px solid #edf2f7;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  background: #f9f9f9;
  overflow: hidden;
}

/* Decorative outline artwork inspired by the visual reference */
.home-testimonial-card::before,
.home-testimonial-card::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(138, 245, 215, 0.45);
  border-radius: 999px;
  pointer-events: none;
}

/* Top decorative circle */
.home-testimonial-card::before {
  width: 150px;
  height: 150px;
  top: 0.75rem;
  right: -70px;
}

/* Mid-right decorative circle */
.home-testimonial-card::after {
  width: 120px;
  height: 120px;
  top: 7rem;
  right: -48px;
}

/* Circular partner photo */
.home-testimonial-card__photo {
  width: 104px;
  height: 104px;
  margin-bottom: 1rem;
  border-radius: 999px;
  overflow: hidden;
}

/* Partner photo image fit */
.home-testimonial-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Partner name text */
.home-testimonial-card__name {
  margin: 0 0 0.35rem;
  color: #20232a;
  font-size: clamp(1.45rem, 1.9vw, 2rem);
  line-height: 1.12;
}

/* Partner role text */
.home-testimonial-card__role {
  margin: 0 0 1rem;
  color: #3a3f47;
  font-size: clamp(1rem, 1.1vw, 1.15rem);
  line-height: 1.35;
}

/* Company logo wrapper */
.home-testimonial-card__logo {
  margin-bottom: 1.25rem;
}

/* Company logo sizing */
.home-testimonial-card__logo img {
  display: block;
  max-width: 150px;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Testimonial body copy */
.home-testimonial-card__description {
  margin: 0;
  color: #1f2937;
  font-size: 1rem;
  line-height: 1.65;
}

/* Reusable CTA banner component */
.cta-banner {
  padding: 2rem 0 3rem;
}

/* Shared outer width for CTA banner */
.cta-banner__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 2vw, 2.25rem);
}

/* Main gradient panel for CTA banner */
.cta-banner__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  min-height: 328px;
  overflow: visible;
  border-radius: 16px;
  background: linear-gradient(90deg, #2148e8 0%, #28aee9 100%);
}

/* Left textual content area */
.cta-banner__content {
  position: relative;
  z-index: 1;
  padding: 3.5rem 3rem 3.5rem 6.25rem;
}

/* Main title inside CTA banner */
.cta-banner__title {
  max-width: 560px;
  margin: 0 0 2rem;
  color: #fff;
  line-height: 1.12;
}

/* CTA button styling */
.cta-banner__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 206px;
  min-height: 44px;
  padding: 0.9rem 1.35rem;
  border-radius: 6px;
  background: #fff;
  color: #2148e8;
  text-decoration: none;
}

/* Button hover state */
.cta-banner__button:hover,
.cta-banner__button:focus {
  background: #f6f8ff;
}

/* Right visual column */
.cta-banner__visual {
  position: relative;
  min-height: 328px;
  overflow: visible;
}

/* Right-side person image */
.cta-banner__image {
  position: absolute;
  right: 88px;
  bottom: 0;
  z-index: 2;
  display: block;
  max-width: min(358px, 78%);
  max-height: 398px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Slightly different image position for male version */
.cta-banner--homem .cta-banner__image {
  right: 78px;
  max-width: min(330px, 80%);
  max-height: 394px;
}

/* Tablet adjustments */
@media (max-width: 1024px) {
  .home-hero {
    height: 700px;
  }

  .home-cards-section__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-media-cards__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-media-card {
    min-height: auto;
  }

  .home-highlight-banner {
    background-size: auto 70%;
    padding: 3rem 0;
  }

  .home-highlight-banner__container {
    grid-template-columns: 1fr;
  }

  .home-highlight-banner__content {
    max-width: 100%;
  }

  .home-highlight-banner__side {
    justify-content: flex-start;
  }

  .home-highlight-banner__side img {
    max-width: 440px;
  }

  .home-opportunities {
    padding: 3.5rem 0 4rem;
  }

  .home-opportunities__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .home-opportunities__media {
    min-height: 360px;
    justify-content: flex-start;
  }

  .home-opportunities__media::before {
    inset: -1.5rem 20% -1.5rem -5%;
    background-position: left top;
  }

  .home-partners__item {
    flex-basis: 160px;
  }

  .cta-banner__panel {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .cta-banner__panel::before,
  .cta-banner__panel::after {
    display: none;
  }

  .cta-banner__content {
    padding: 2.75rem 2rem 1.5rem;
  }

  .cta-banner__title {
    max-width: 100%;
  }

  .cta-banner__visual {
    min-height: 260px;
  }

  .cta-banner__image,
  .cta-banner--homem .cta-banner__image {
    right: 42px;
    max-width: min(280px, 72%);
  }
}

/* Mobile adjustments */
@media (max-width: 782px) {
  .home-hero {
    height: 560px;
  }

  .home-hero__controls {
    justify-content: center;
  }

  .home-hero__nav--prev {
    left: 0.75rem !important;
  }

  .home-hero__nav--next {
    right: 0.75rem !important;
  }

  .home-cards-section {
    padding: 3.75rem 0 4rem;
  }

  .home-cards-section__grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .home-info-card {
    min-height: auto;
    padding: 1.5rem 1.2rem;
  }

  .home-info-card__icon {
    width: 64px;
    height: 64px;
  }

  .home-media-cards {
    padding: 1.5rem 0 3.2rem;
  }

  .home-media-card {
    padding: 1.35rem 1rem 1.2rem;
  }

  .home-media-cards__grid {
    grid-template-columns: 1fr;
  }

  .home-media-card-row {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 0.75rem;
  }

  .home-media-card-row__icon {
    width: 54px;
    height: 54px;
  }

  .home-highlight-banner {
    background-size: cover;
    background-position: right top;
    padding: 2.35rem 0;
  }

  .home-highlight-banner__call {
    margin-bottom: 1rem;
  }

  .home-highlight-banner__description {
    margin-bottom: 1.25rem;
  }

  .home-highlight-banner__side img {
    max-width: 320px;
  }

  .home-opportunities {
    padding: 3rem 0 3.5rem;
  }

  .home-opportunities__media {
    min-height: auto;
  }

  .home-opportunities__media::before {
    inset: -1rem 5% 0 -5%;
    opacity: 0.85;
  }

  .home-opportunities__image {
    width: min(100%, 320px);
    border-radius: 0 72px 72px 0;
  }

  .home-opportunities__badge {
    width: 100%;
    text-align: center;
  }

  .home-partners {
    padding: 1rem 0 3rem;
  }

  .home-partners__item {
    flex-basis: 132px;
    min-height: 82px;
    padding: 0.85rem 1rem;
  }

  .home-partners__item img {
    max-height: 44px;
  }

  .home-testimonials {
    padding: 0.5rem 0 3.5rem;
  }

  .home-testimonials__grid {
    grid-template-columns: 1fr;
  }

  .home-testimonial-card {
    padding: 1.6rem 1.2rem 1.4rem;
  }

  .home-testimonial-card__photo {
    width: 88px;
    height: 88px;
  }

  .cta-banner {
    padding: 1.25rem 0 2.5rem;
  }

  .cta-banner__panel {
    border-radius: 12px;
  }

  .cta-banner__content {
    padding: 2rem 1.25rem 1rem;
  }

  .cta-banner__button {
    width: 100%;
    max-width: 260px;
  }

  .cta-banner__visual {
    min-height: 210px;
  }

  .cta-banner__outline {
    right: 10%;
    top: 10px;
    transform: scale(0.6);
  }

  .cta-banner__flower {
    right: 12px;
    top: 78px;
    transform: scale(0.58);
  }

  .cta-banner__image,
  .cta-banner--homem .cta-banner__image {
    right: 18px;
    max-width: min(220px, 76%);
    max-height: 260px;
  }
}

/* FORMULÁRIO - ANUNCIE CONOSCO CF7 */
.sm-cf7-form {
  --sm-blue: #1f45d8;
  --sm-blue-dark: #17379d;
  --sm-text: #8e8e8e;
  --sm-title: #193a9a;
  --sm-bg: #efefef;
  --sm-border: #e6e6e6;
  --sm-track: #d8d8d8;
  --sm-white: #ffffff;
  --sm-radius: 4px;
  --sm-gap: 20px;

  width: 100%;
  max-width: 100%;
  font-family: inherit;
}

.sm-cf7-form * {
  box-sizing: border-box;
}

.sm-cf7-form .sm-row {
  width: 100%;
  margin-bottom: 28px;
}

.sm-cf7-form .sm-row-1 {
  display: block;
}

.sm-cf7-form .sm-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sm-gap);
}

.sm-cf7-form .sm-label {
  display: block;
  margin: 0;
}

.sm-cf7-form .sm-label-text {
  display: block;
  margin-bottom: 10px;
  color: var(--sm-title);
  font-size: 16px !important;
  line-height: 1.2;
  font-weight: 700 !important;
}

.sm-cf7-form .sm-label-static {
  margin-bottom: 12px;
}

.sm-cf7-form .sm-field-wrap {
  position: relative;
  display: block;
}

.sm-cf7-form .sm-input,
.sm-cf7-form .sm-select,
.sm-cf7-form input[type="text"],
.sm-cf7-form input[type="email"],
.sm-cf7-form input[type="tel"],
.sm-cf7-form select {
  width: 100%;
  height: 62px;
  border: 0;
  outline: none;
  box-shadow: none;
  border-radius: var(--sm-radius);
  background: var(--sm-bg);
  color: #7f7f7f;
  font-size: 16px;
  font-weight: 400;
  padding: 0 18px;
  transition: 0.2s ease;
}

.sm-cf7-form .sm-input::placeholder,
.sm-cf7-form input::placeholder {
  color: #9f9f9f;
  opacity: 1;
}

.sm-cf7-form .sm-input:focus,
.sm-cf7-form .sm-select:focus,
.sm-cf7-form input[type="text"]:focus,
.sm-cf7-form input[type="email"]:focus,
.sm-cf7-form input[type="tel"]:focus,
.sm-cf7-form select:focus {
  background: #ececec;
}

.sm-cf7-form .sm-select,
.sm-cf7-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 54px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='11' viewBox='0 0 18 11' fill='none'%3E%3Cpath d='M1.5 1.75L9 9.25L16.5 1.75' stroke='%23A3A3A3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 18px 11px;
}

.sm-cf7-form .sm-date-wrap::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.65;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='21' viewBox='0 0 21 21' fill='none'%3E%3Cpath d='M6.125 1.75V4.375M14.875 1.75V4.375M2.625 7H18.375M4.8125 3.5H16.1875C17.3956 3.5 18.375 4.47938 18.375 5.6875V16.1875C18.375 17.3956 17.3956 18.375 16.1875 18.375H4.8125C3.60438 18.375 2.625 17.3956 2.625 16.1875V5.6875C2.625 4.47938 3.60438 3.5 4.8125 3.5Z' stroke='%23999999' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.sm-cf7-form .sm-date {
  padding-right: 54px;
}

.sm-cf7-form .sm-investment-block {
  margin-top: 2px;
  margin-bottom: 34px;
}

.sm-cf7-form .sm-range-area {
  position: relative;
}

.sm-cf7-form .sm-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  outline: none;
  border: 0;
  background: linear-gradient(
    to right,
    var(--sm-blue) 0%,
    var(--sm-blue) var(--range-progress, 0%),
    var(--sm-track) var(--range-progress, 0%),
    var(--sm-track) 100%
  );
}

/* WebKit */
.sm-cf7-form .sm-range::-webkit-slider-runnable-track {
  height: 10px;
  border-radius: 999px;
  background: transparent;
}

.sm-cf7-form .sm-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: var(--sm-blue);
  cursor: pointer;
  margin-top: -6px;
}

/* Firefox */
.sm-cf7-form .sm-range::-moz-range-track {
  height: 10px;
  border-radius: 999px;
  background: var(--sm-track);
}

.sm-cf7-form .sm-range::-moz-range-progress {
  height: 10px;
  border-radius: 999px;
  background: var(--sm-blue);
}

.sm-cf7-form .sm-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: var(--sm-blue);
  cursor: pointer;
}

.sm-cf7-form .sm-range-value {
  position: relative;
  height: 24px;
  margin-top: 10px;
}

.sm-cf7-form .sm-range-value span {
  position: absolute;
  left: 0;
  top: 0;
  transform: translateX(-50%);
  color: #9a9a9a;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
}

.sm-cf7-form .sm-audience {
  margin-top: 10px;
  margin-bottom: 32px;
}

.sm-cf7-form .sm-section-title {
  margin: 0 0 18px;
  color: var(--sm-title);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.sm-cf7-form .sm-option-group {
  margin-bottom: 22px;
}

.sm-cf7-form .sm-option-title {
  margin-bottom: 10px;
  color: var(--sm-title);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
}

.sm-cf7-form .sm-options-grid .sm-pill-group {
  display: grid;
  gap: 18px;
}

.sm-cf7-form .sm-grid-3 .sm-pill-group {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sm-cf7-form .sm-grid-4 .sm-pill-group {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sm-cf7-form .sm-grid-5 .sm-pill-group {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.sm-cf7-form .sm-pill-group .wpcf7-list-item {
  display: block;
  width: 100%;
  margin: 0;
}

.sm-cf7-form .sm-pill-group .wpcf7-list-item label {
  display: block;
  width: 100%;
  margin: 0;
  cursor: pointer;
}

.sm-cf7-form .sm-pill-group input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sm-cf7-form .sm-pill-group .wpcf7-list-item-label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: var(--sm-radius);
  background: var(--sm-bg);
  color: #989898;
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
  transition: 0.2s ease;
  border: 1px solid transparent;
}

.sm-cf7-form .sm-pill-group input[type="radio"]:checked + .wpcf7-list-item-label {
  background: var(--sm-blue);
  color: var(--sm-white);
  border-color: var(--sm-blue);
  font-weight: 600;
}

.sm-cf7-form .sm-pill-group label:hover .wpcf7-list-item-label {
  border-color: rgba(31, 69, 216, 0.18);
}

.sm-cf7-form .sm-consents {
  margin-top: 8px;
  margin-bottom: 24px;
}

.sm-cf7-form .sm-consent-item {
  margin-bottom: 10px;
}

.sm-cf7-form .sm-checklist,
.sm-cf7-form .sm-acceptance {
  display: block;
}

.sm-cf7-form .sm-checklist .wpcf7-list-item,
.sm-cf7-form .sm-acceptance .wpcf7-list-item {
  display: block;
  margin: 0;
}

.sm-cf7-form .sm-checklist label,
.sm-cf7-form .sm-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  cursor: pointer;
}
.sm-cf7-form .wpcf7-list-item label input[type="checkbox"].sm-acceptance,
.sm-cf7-form .sm-checklist input[type="checkbox"],
.sm-cf7-form .sm-acceptance input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  margin: 3px 0 0;
  border: 2px solid #b8b8b8 !important;
  border-radius: 2px;
  background: #fff;
  position: relative;
}
.sm-cf7-form .wpcf7-list-item label input[type="checkbox"]:checked::after,
.sm-cf7-form .sm-checklist input[type="checkbox"]:checked::after,
.sm-cf7-form .sm-acceptance input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 0px;
  width: 4px;
  height: 8px;
  border: solid var(--sm-blue);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.sm-cf7-form .wpcf7-acceptance .wpcf7-list-item,
.sm-cf7-form .sm-checklist .wpcf7-list-item-label,
.sm-cf7-form .sm-acceptance .wpcf7-list-item-label {
  color: #8f8f8f;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
}
.sm-cf7-form .wpcf7-acceptance .wpcf7-list-item{
  margin: 0;
}
.sm-cf7-form .wpcf7-acceptance .wpcf7-list-item label{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  cursor: pointer;
}

.sm-cf7-form br {
  display: none;
}

.sm-cf7-form .sm-acceptance strong {
  color: #757575;
  font-weight: 700;
}

.sm-cf7-form .sm-submit-wrap {
  margin-top: 12px;
}

.sm-cf7-form .sm-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 121px;
  height: 42px;
  padding: 0 26px;
  border: 0;
  border-radius: 4px;
  background: var(--sm-blue);
  color: #fff;
  font-size: 17px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.sm-cf7-form .sm-submit:hover {
  background: #183bc0;
}

.sm-cf7-form .wpcf7-not-valid-tip {
  margin-top: 8px;
  font-size: 13px;
}

.sm-cf7-form .wpcf7-spinner {
  display: block;
  margin-top: 12px;
}

@media (max-width: 991px) {
  .sm-cf7-form .sm-grid-5 .sm-pill-group {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .sm-cf7-form .sm-row-2,
  .sm-cf7-form .sm-grid-3 .sm-pill-group,
  .sm-cf7-form .sm-grid-4 .sm-pill-group,
  .sm-cf7-form .sm-grid-5 .sm-pill-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm-cf7-form .sm-label-text,
  .sm-cf7-form .sm-section-title {
    font-size: 18px;
  }
}

@media (max-width: 520px) {
  .sm-cf7-form .sm-row-2,
  .sm-cf7-form .sm-grid-3 .sm-pill-group,
  .sm-cf7-form .sm-grid-4 .sm-pill-group,
  .sm-cf7-form .sm-grid-5 .sm-pill-group {
    grid-template-columns: 1fr;
  }

  .sm-cf7-form .sm-input,
  .sm-cf7-form .sm-select,
  .sm-cf7-form input[type="text"],
  .sm-cf7-form input[type="email"],
  .sm-cf7-form input[type="tel"],
  .sm-cf7-form select {
    height: 58px;
  }
}

/* PAGINA - ANUNCIE CONOSCO */
.sm-anuncie-page {
  background: #ffffff;
  padding: 70px 0 72px;
}

.sm-anuncie-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 36px;
}

.sm-anuncie-grid {
  display: grid;
  grid-template-columns: minmax(260px, 30%) minmax(0, 70%);
  gap: 44px;
  align-items: start;
}

.sm-anuncie-info {
  color: #8e8e8e;
}

.sm-anuncie-title {
  margin: 0 0 12px;
  color: #1f45d8;
  font-size: clamp(30px, 2.9vw, 46px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.sm-anuncie-lead {
  margin: 0 0 18px;
  color: #808080;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 800;
}

.sm-anuncie-copy {
  margin: 0 0 18px;
  color: #8e8e8e;
  font-size: 27px;
  line-height: 1.35;
  font-weight: 400;
}

.sm-anuncie-figure {
  margin: 34px 0 0;
}

.sm-anuncie-figure img {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
}

.sm-anuncie-form {
  width: 100%;
}

@media (max-width: 1279px) {
  .sm-anuncie-shell {
    max-width: 1140px;
    padding: 0 24px;
  }

  .sm-anuncie-grid {
    gap: 36px;
  }

  .sm-anuncie-title {
    font-size: clamp(26px, 2.6vw, 40px);
  }

  .sm-anuncie-lead {
    font-size: 24px;
  }

  .sm-anuncie-copy {
    font-size: 22px;
  }
}

@media (max-width: 991px) {
  .sm-anuncie-page {
    padding: 34px 0 58px;
  }

  .sm-anuncie-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sm-anuncie-info {
    max-width: 760px;
  }

  .sm-anuncie-figure img {
    max-width: 360px;
  }
}

@media (max-width: 767px) {
  .sm-anuncie-shell {
    padding: 0 16px;
  }

  .sm-anuncie-title {
    font-size: 32px;
  }

  .sm-anuncie-lead {
    font-size: 22px;
  }

  .sm-anuncie-copy {
    font-size: 20px;
  }
}

/* PAGINA - CONTATO */
.sm-contact-page {
  background: #ffffff;
  padding: 56px 0 72px;
}

.sm-contact-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

.sm-contact-section {
  margin-bottom: 72px;
}

.sm-contact-section:last-child {
  margin-bottom: 0;
}

.sm-contact-section-title {
  margin: 0;
  color: #1f45d8;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  font-weight: 800;
  text-align: center;
}

.sm-contact-brand {
  margin: 12px 0 28px;
  text-align: center;
  font-weight: 800;
  line-height: 1;
}

.sm-contact-brand-image-wrap {
  margin: 12px 0 28px;
  text-align: center;
}

.sm-contact-brand-image {
  display: inline-block;
  width: auto;
  max-width: 100%;
  height: auto;
}

.sm-contact-brand-image-wrap--rede .sm-contact-brand-image {
  max-height: 44px;
}

.sm-contact-brand-image-wrap--fm .sm-contact-brand-image {
  max-height: 52px;
}

.sm-contact-brand span,
.sm-contact-brand em {
  font-style: normal;
}

.sm-contact-brand--rede span {
  color: #1f45d8;
  font-size: 31px;
  letter-spacing: -0.01em;
}

.sm-contact-brand--rede em {
  color: #ff9f1c;
  font-size: 29px;
  margin-left: 6px;
}

.sm-contact-brand--fm span {
  color: #6b238f;
  font-size: 38px;
  letter-spacing: -0.01em;
}

.sm-contact-brand--fm em {
  color: #f5ab16;
  font-size: 38px;
  margin-left: 2px;
}

.sm-contact-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 35px;
}

.sm-contact-card {
  background: #f5f5f5;
  border-radius: 8px;
  width: min(100%, 294px);
  min-height: 298px;
  padding: 32px 45px 20px;
  text-align: center;
}

.sm-contact-card-image-wrap {
  margin-bottom: 16px;
}

.sm-contact-card-image {
  width: 98px;
  height: 98px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.sm-contact-card-image--empty {
  background: #e2e2e2;
  color: #7f7f7f;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sm-contact-card-title {
  margin: 0;
  color: #2f2f2f;
  font-size: 41px;
  line-height: 1.5;
  font-weight: 800;
}

.sm-contact-card-subtitle {
  margin: 18px 0 0;
  color: #8e8e8e;
  line-height: 1.5;
  font-weight: 400;
}

.sm-contact-card-text {
  margin: 14px auto 0;
  max-width: 220px;
  color: #2f2f2f;
  font-size: 16px;
  line-height: 1.32;
  font-weight: 400;
}

.sm-contact-card-frequency {
  margin: 14px 0 0;
  color: #8e8e8e;
  font-size: 31px;
  line-height: 1.2;
  font-weight: 400;
}

.sm-contact-card-phone {
  margin: 14px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2f2f2f;
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
}

.sm-contact-card-phone-icon {
  width: 21px;
  height: 21px;
  display: inline-block;
  line-height: 1;
  object-fit: contain;
  vertical-align: middle;
}

.sm-contact-card-phone--blue .sm-contact-card-phone-icon {
  background: none;
}

.sm-contact-card-phone--yellow .sm-contact-card-phone-icon {
  background: none;
}

.sm-contact-section--fm {
  margin-top: 70px;
}

@media (max-width: 1280px) {
  .sm-contact-section-title {
    font-size: clamp(22px, 2.8vw, 36px);
  }

  .sm-contact-brand--rede span {
    font-size: 24px;
  }

  .sm-contact-brand--rede em {
    font-size: 23px;
  }

  .sm-contact-brand--fm span,
  .sm-contact-brand--fm em {
    font-size: 30px;
  }

  .sm-contact-brand-image-wrap--rede .sm-contact-brand-image {
    max-height: 34px;
  }

  .sm-contact-brand-image-wrap--fm .sm-contact-brand-image {
    max-height: 40px;
  }

  .sm-contact-card {
    width: min(100%, 230px);
    min-height: 234px;
    padding: 20px 16px 18px;
  }

  .sm-contact-card-image {
    width: 78px;
    height: 78px;
  }

  .sm-contact-card-title {
    font-size: 29px;
  }

  .sm-contact-card-subtitle,
  .sm-contact-card-frequency {
    font-size: 23px;
  }

  .sm-contact-card-text {
    font-size: 18px;
    max-width: 180px;
  }

  .sm-contact-card-phone {
    font-size: 24px;
  }
}

@media (max-width: 767px) {
  .sm-contact-page {
    padding: 32px 0 48px;
  }

  .sm-contact-shell {
    padding: 0 16px;
  }

  .sm-contact-section {
    margin-bottom: 48px;
  }

  .sm-contact-card {
    width: 100%;
    max-width: 340px;
  }

  .sm-contact-section--fm {
    margin-top: 40px;
  }
}

/* COMPONENTE - HERO BANNER COMPARTILHADO */
.sm-shared-hero {
  position: relative;
  width: 100%;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #ffffff;
}

.sm-shared-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 72px 24px 78px;
  text-align: center;
}

.sm-shared-hero__title {
  margin: 0;
  color: #1f45d8;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.sm-shared-hero__subtitle {
  margin: 14px auto 0;
  max-width: 720px;
  color: #8e8e8e;
  font-size: clamp(20px, 1.8vw, 32px);
  line-height: 1.35;
  font-weight: 400;
}

.sm-shared-hero__decor {
  position: absolute;
  top: 0;
  z-index: 1;
  width: auto;
  max-width: none;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.sm-shared-hero__decor--left {
  left: 0;
  width: clamp(260px, 20vw, 470px);
  transform: translate(-20%, -12%);
}

.sm-shared-hero__decor--right {
  right: 0;
  width: clamp(300px, 20vw, 580px);
  transform: translate(16%, -18%);
}

/* Ajuste de espacamento para paginas que usam o hero compartilhado */
.sm-anuncie-page {
  padding-top: 0;
}

.sm-anuncie-shell {
  padding-top: 70px;
}

.sm-contact-page {
  padding-top: 0;
}

.sm-contact-shell {
  padding-top: 56px;
}

@media (max-width: 991px) {
  .sm-shared-hero {
    min-height: 290px;
  }

  .sm-shared-hero__inner {
    padding-top: 58px;
    padding-bottom: 62px;
  }

  .sm-shared-hero__decor--left {
    width: clamp(200px, 30vw, 360px);
    transform: translate(-26%, -14%);
  }

  .sm-shared-hero__decor--right {
    width: clamp(250px, 36vw, 430px);
    transform: translate(22%, -16%);
  }

  .sm-anuncie-page {
    padding-top: 0;
  }

  .sm-anuncie-shell {
    padding-top: 34px;
  }

  .sm-contact-page {
    padding-top: 0;
  }

  .sm-contact-shell {
    padding-top: 34px;
  }
}

@media (max-width: 767px) {
  .sm-shared-hero {
    min-height: 220px;
  }

  .sm-shared-hero__inner {
    padding: 42px 16px 46px;
  }

  .sm-shared-hero__title {
    font-size: clamp(26px, 8vw, 38px);
  }

  .sm-shared-hero__subtitle {
    margin-top: 10px;
    font-size: clamp(15px, 4.3vw, 20px);
  }

  .sm-shared-hero__decor--left {
    width: clamp(150px, 40vw, 230px);
    transform: translate(-36%, -12%);
  }

  .sm-shared-hero__decor--right {
    width: clamp(180px, 50vw, 280px);
    transform: translate(30%, -10%);
  }

  .sm-anuncie-shell {
    padding: 24px 16px 0;
  }

  .sm-contact-shell {
    padding: 24px 16px 0;
  }
}

/* AJUSTES FINAIS - RESPONSIVIDADE ANUNCIE/CONTATO */
.sm-anuncie-info {
  max-width: 100%;
}

.sm-anuncie-title {
  font-size: clamp(28px, 3vw, 46px);
}

.sm-anuncie-lead {
  font-size: clamp(20px, 2.2vw, 30px);
}

.sm-anuncie-copy {
  font-size: clamp(16px, 1.8vw, 27px);
}

.sm-anuncie-figure {
  display: flex;
  justify-content: center;
}

.sm-anuncie-figure img {
  max-width: min(100%, 500px);
}

.sm-contact-card-title {
  font-size: clamp(24px, 2.4vw, 41px);
  line-height: 1.2;
}

.sm-contact-card-subtitle,
.sm-contact-card-frequency {
  font-size: clamp(18px, 1.8vw, 31px);
  line-height: 1.2;
}

.sm-contact-card-text {
  font-size: clamp(15px, 1.4vw, 25px);
}

.sm-contact-card-phone {
  font-size: clamp(20px, 1.9vw, 34px);
}

.sm-contact-card-phone-text {
  margin: 0;
  line-height: 1.2;
  font-size: inherit;
  font-weight: inherit;
}

.sm-contact-card-phone-icon {
  flex: 0 0 auto;
}

@media (max-width: 991px) {
  .sm-anuncie-grid {
    gap: 20px;
  }

  .sm-anuncie-figure {
    margin-top: 24px;
  }

  .sm-anuncie-figure img {
    max-width: min(100%, 360px);
  }

  .sm-contact-cards {
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .sm-anuncie-shell {
    padding: 24px 16px 0;
  }

  .sm-anuncie-grid {
    gap: 18px;
  }

  .sm-anuncie-title {
    font-size: 30px;
    line-height: 1.12;
  }

  .sm-anuncie-lead {
    font-size: 20px;
  }

  .sm-anuncie-copy {
    font-size: 17px;
    line-height: 1.45;
  }

  .sm-contact-shell {
    padding: 24px 16px 0;
  }

  .sm-contact-section-title {
    font-size: clamp(24px, 7vw, 32px);
  }

  .sm-contact-cards {
    gap: 16px;
  }

  .sm-contact-card {
    max-width: 100%;
    min-height: 0;
    padding: 20px 16px;
  }

  .sm-contact-card-text {
    max-width: 260px;
  }

  .sm-contact-card-phone {
    gap: 6px;
  }

  .sm-contact-card-phone-icon {
    width: 20px;
    height: 20px;
  }

  .sm-contact-section--fm {
    margin-top: 34px;
  }

  .sm-shared-hero__decor {
    opacity: 0.8;
  }

  .sm-cf7-form .sm-row {
    margin-bottom: 20px;
  }

  .sm-cf7-form .sm-input,
  .sm-cf7-form .sm-select,
  .sm-cf7-form input[type="text"],
  .sm-cf7-form input[type="email"],
  .sm-cf7-form input[type="tel"],
  .sm-cf7-form select {
    height: 56px;
    font-size: 15px;
  }
}

@media (max-width: 520px) {
  .sm-shared-hero__decor {
    opacity: 0.65;
  }

  .sm-shared-hero__decor--left {
    transform: translate(-44%, -8%);
  }

  .sm-shared-hero__decor--right {
    transform: translate(36%, -8%);
  }

  .sm-anuncie-title {
    font-size: 26px;
  }

  .sm-anuncie-lead {
    font-size: 18px;
  }

  .sm-anuncie-copy {
    font-size: 16px;
  }

  .sm-anuncie-figure img {
    max-width: min(100%, 280px);
  }

  .sm-contact-brand-image-wrap--rede .sm-contact-brand-image {
    max-height: 28px;
  }

  .sm-contact-brand-image-wrap--fm .sm-contact-brand-image {
    max-height: 34px;
  }

  .sm-contact-card-image {
    width: 82px;
    height: 82px;
  }

  .sm-contact-card-phone {
    font-size: 20px;
  }

  .sm-contact-card-phone-icon {
    width: 18px;
    height: 18px;
  }

  .sm-cf7-form .sm-section-title {
    font-size: 17px;
  }

  .sm-cf7-form .sm-option-title,
  .sm-cf7-form .wpcf7-acceptance .wpcf7-list-item,
  .sm-cf7-form .sm-checklist .wpcf7-list-item-label,
  .sm-cf7-form .sm-acceptance .wpcf7-list-item-label {
    font-size: 14px;
  }

  .sm-cf7-form .sm-range-value {
    height: auto;
    margin-top: 8px;
    display: flex;
    justify-content: center;
  }

  .sm-cf7-form .sm-range-value span {
    position: static;
    transform: none;
    font-size: 14px;
  }

  .sm-cf7-form .sm-submit {
    width: 100%;
    min-width: 0;
    height: 48px;
  }
}

@media (max-width: 420px) {
  .sm-shared-hero {
    min-height: 200px;
  }

  .sm-shared-hero__inner {
    padding: 36px 14px 40px;
  }

  .sm-shared-hero__title {
    font-size: 26px;
  }

  .sm-shared-hero__subtitle {
    font-size: 14px;
    line-height: 1.4;
  }

  .sm-contact-card {
    padding: 18px 14px;
  }

  .sm-contact-card-title {
    font-size: 22px;
  }

  .sm-contact-card-subtitle,
  .sm-contact-card-frequency {
    font-size: 17px;
  }

  .sm-contact-card-text {
    font-size: 14px;
  }

  .sm-contact-card-phone {
    font-size: 18px;
  }
}

/* PAGINA - DUVIDAS FREQUENTES */
.sm-faq-page {
  background: #ffffff;
  padding: 56px 0 72px;
}

.sm-faq-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

.sm-faq-list {
  display: grid;
  gap: 18px;
}

.sm-faq-item {
  border-radius: 12px;
  background: #f5f5f5;
  overflow: hidden;
}

.sm-faq-question {
  position: relative;
  margin: 0;
  padding: 24px 62px 24px 26px;
  color: #7a7a7a;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.sm-faq-question::-webkit-details-marker {
  display: none;
}

.sm-faq-question::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #8e8e8e;
  border-bottom: 2px solid #8e8e8e;
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.2s ease;
}

.sm-faq-item[open] .sm-faq-question::after {
  transform: translateY(-35%) rotate(-135deg);
}

.sm-faq-answer {
  padding: 26px 24px;
  color: #8e8e8e;
  font-size: clamp(14px, 1.2vw, 20px);
  line-height: 1.5;
  background-color: #ffffff !important;
}

.sm-faq-answer p {
  margin: 0;
}

.sm-faq-empty {
  margin: 0;
  color: #8e8e8e;
  font-size: 18px;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .sm-faq-page {
    padding: 34px 0 56px;
  }

  .sm-faq-shell {
    padding: 0 20px;
  }
}

@media (max-width: 767px) {
  .sm-faq-page {
    padding: 24px 0 42px;
  }

  .sm-faq-shell {
    padding: 0 16px;
  }

  .sm-faq-list {
    gap: 14px;
  }

  .sm-faq-question {
    padding: 18px 48px 18px 16px;
  }

  .sm-faq-question::after {
    right: 16px;
  }

  .sm-faq-answer {
    padding: 0 16px 18px;
  }
}

/* PAGINA - FORMATOS COMERCIAIS */
.sm-commercial-page {
  background: #ffffff;
  padding: 0 0 72px;
}

.sm-commercial-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 70px 28px;
}

.sm-commercial-section + .sm-commercial-section {
  margin-top: 80px;
}

.sm-commercial-section__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.sm-commercial-section__title {
  margin: 0;
  color: #1f45d8;
  line-height: 1.1;
  font-weight: 800 !important;
}

.sm-commercial-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 650px);
}

.sm-commercial-filter {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 26px;
  padding: 0 44px 0 20px;
  background-color: #efefef;
  color: #a0a0a0;
  font-size: 14px !important;
  font-weight: 500 !important;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #b6b6b6 50%),
    linear-gradient(135deg, #b6b6b6 50%, transparent 50%);
  background-position: calc(100% - 24px) calc(50% - 2px), calc(100% - 18px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.sm-commercial-filter:focus {
  outline: 2px solid #1f45d8;
  outline-offset: 1px;
}

.sm-commercial-accordion {
  display: grid;
  gap: 14px;
}

.sm-commercial-item {
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.sm-commercial-item__summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 56px 14px 28px;
  list-style: none;
  cursor: pointer;
}

.sm-commercial-item__summary::-webkit-details-marker {
  display: none;
}

.sm-commercial-item__summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #b9b9b9;
  border-bottom: 2px solid #b9b9b9;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.2s ease;
}

.sm-commercial-item[open] .sm-commercial-item__summary::after {
  transform: translateY(-20%) rotate(-135deg);
}

.sm-commercial-item__icon-wrap {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e1e8ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sm-commercial-section--fm .sm-commercial-item__icon-wrap {
  background: #fff0ca;
}

.sm-commercial-section--digital .sm-commercial-item__icon-wrap {
  background: #f1dfff;
}

.sm-commercial-item__icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.sm-commercial-item__icon-placeholder {
  width: 18px;
  height: 14px;
  border-radius: 2px;
  background: #1f45d8;
}

.sm-commercial-item__title {
  display: block;
  min-width: 0;
  color: #838383;
  font-size: 16px !important;
  line-height: 1.25;
  font-weight: 600 !important;
  overflow-wrap: anywhere;
}

.sm-commercial-item__content {
  border-top: 1px solid #ededed;
  padding: 24px 28px 28px;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  gap: 24px;
}

.sm-commercial-item__left {
  min-width: 0;
}

.sm-commercial-item__line {
  margin: 0 0 8px;
  color: #7f7f7f;
  font-size: 14px !important;
  line-height: 1.45;
  font-weight: 400 !important;
}

.sm-commercial-item__line strong {
  color: #757575;
  font-size: 17px !important;
  line-height: 1.3;
  font-weight: 700 !important;
}

.sm-commercial-item__cta-wrap {
  margin: 24px 0 0;
}

.sm-commercial-item__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 136px;
  min-height: 44px;
  border-radius: 4px;
  padding: 0 20px;
  border: 2px solid #1f45d8;
  background: #1f45d8;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1;
}

.sm-commercial-item__cta:hover,
.sm-commercial-item__cta:focus {
  color: #ffffff;
  background: #1637b3;
  border-color: #1637b3;
}

.sm-commercial-item__right {
  min-width: 0;
}

.sm-commercial-item__media {
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  min-height: 190px;
  background: transparent;
  position: relative;
}

.sm-commercial-item__media img,
.sm-commercial-item__media iframe,
.sm-commercial-item__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.sm-commercial-item__media--video iframe,
.sm-commercial-item__media--video video {
  object-fit: contain;
  background: #d9d9d9;
}

.sm-commercial-item__media--placeholder::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 30px solid rgba(255, 255, 255, 0.35);
  transform: translate(-40%, -50%);
}

.sm-commercial-section__empty {
  margin: 8px 0 0;
  color: #8b8b8b;
  font-size: 15px !important;
  line-height: 1.45;
}

.sm-commercial-section__empty[hidden] {
  display: none;
}

@media (max-width: 1080px) {
  .sm-commercial-section__header {
    flex-direction: column;
    align-items: stretch;
  }

  .sm-commercial-filters {
    width: 100%;
  }

  .sm-commercial-item__content {
    grid-template-columns: 1fr;
  }

  .sm-commercial-item__media {
    min-height: 230px;
  }
}

@media (max-width: 767px) {
  .sm-commercial-page {
    padding: 0 0 44px;
  }

  .sm-commercial-shell {
    padding: 24px 16px 0;
  }

  .sm-commercial-section + .sm-commercial-section {
    margin-top: 42px;
  }

  .sm-commercial-section__header {
    gap: 12px;
    margin-bottom: 12px;
  }

  .sm-commercial-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .sm-commercial-filter {
    height: 48px;
  }

  .sm-commercial-item__summary {
    padding: 12px 40px 12px 12px;
    gap: 10px;
  }

  .sm-commercial-item__summary::after {
    right: 14px;
  }

  .sm-commercial-item__icon-wrap {
    width: 38px;
    height: 38px;
  }

  .sm-commercial-item__title {
    font-size: 15px !important;
    line-height: 1.3;
  }

  .sm-commercial-item__content {
    padding: 14px;
    gap: 14px;
  }

  .sm-commercial-item__line {
    font-size: 13px !important;
  }

  .sm-commercial-item__line strong {
    font-size: 15px !important;
  }

  .sm-commercial-item__cta {
    width: 100%;
    min-height: 42px;
  }

  .sm-commercial-item__media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 480px) {
  .sm-commercial-section__title {
    font-size: 22px !important;
    line-height: 1.2;
  }

  .sm-commercial-filter {
    height: 44px;
    padding-left: 14px;
    font-size: 13px !important;
  }

  .sm-commercial-item__summary {
    padding: 10px 36px 10px 10px;
  }

  .sm-commercial-item__summary::after {
    right: 12px;
  }

  .sm-commercial-item__content {
    padding: 12px;
  }
}

/* CPT - PROGRAMAS REDE MASSA SBT */
.sm-programas-page {
  background: #ffffff;
  padding: 0 0 56px;
}

.sm-programas-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 28px 0;
}

.sm-programas-filters {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 22px;
}

.sm-programas-filters label span {
  display: block;
  margin-bottom: 6px;
  color: #6f6f6f;
  font-size: 13px;
  font-weight: 600;
}

.sm-programas-filters select,
.sm-programas-filters button {
  height: 46px;
  border-radius: 8px;
  border: 1px solid #d7d7d7;
  background: #f4f4f4;
  color: #505050;
  padding: 0 12px;
  font-size: 14px;
}

.sm-programas-filters button {
  border: 0;
  background: #1f45d8;
  color: #ffffff;
  font-weight: 700;
  min-width: 120px;
  cursor: pointer;
}

.sm-programas-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 280px);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.sm-programa-card {
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  scroll-snap-align: start;
}

.sm-programa-card--no-link {
  cursor: default;
}

.sm-programa-card__image {
  width: 100%;
  aspect-ratio: 2 / 3;
}

.sm-programa-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sm-programa-card__content {
  padding: 12px;
}

.sm-programa-card__content h3 {
  margin: 0;
  color: #1f1f1f;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
}

.sm-programa-card__content p {
  margin: 6px 0 0;
  color: #757575;
  font-size: 14px;
  line-height: 1.3;
}

.sm-programas-empty {
  margin: 0;
  color: #757575;
  font-size: 16px;
}

.sm-programa-single {
  background: #ffffff;
}

.sm-programa-hero {
  position: relative;
  background: #1f45d8;
  background-size: cover;
  background-position: center;
  height: 533px;
  overflow: hidden;
}


.sm-programa-hero__shell {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  height: 533px;
  padding: 58px 28px;
  box-sizing: border-box;
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 55% 45%;
  gap: 24px;
  align-items: center;
}

.sm-programa-hero__info h1 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  font-weight: 800;
}

.sm-programa-hero__info p {
  margin: 0 0 8px;
  color: #f0f0f0;
  font-size: 17px;
  line-height: 1.4;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.sm-programa-hero__schedule {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sm-programa-hero__clock {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 2px solid #ffffff;
  border-radius: 50%;
}

.sm-programa-hero__clock::before,
.sm-programa-hero__clock::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: #ffffff;
  transform-origin: bottom center;
}

.sm-programa-hero__clock::before {
  width: 2px;
  height: 5px;
  transform: translate(-50%, -100%) rotate(0deg);
}

.sm-programa-hero__clock::after {
  width: 2px;
  height: 7px;
  transform: translate(-50%, -100%) rotate(45deg);
}

.sm-programa-hero__actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sm-programa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 6px;
  padding: 0 18px;
  background: #1f45d8;
  border: 2px solid #1f45d8;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.sm-programa-btn--outline {
  background: transparent;
  border-color: #ffffff;
}

.sm-programa-hero__media {
  width: 100%;
  height: 100%;
  max-height: 100%;
  aspect-ratio: auto;
  border-radius: 10px;
  overflow: hidden;
}

.sm-programa-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.sm-programa-hero__media--bottom img {
  object-position: center bottom;
}

.sm-programa-content {
  padding: 44px 0 60px;
}

.sm-programa-content__shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

.sm-programa-content__shell h2 {
  margin: 0 0 10px;
  color: #1f45d8;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 800;
}

.sm-programa-content__shell p {
  margin: 0;
  color: #5f5f5f;
  font-size: 18px;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .sm-programa-hero {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .sm-programas-filters {
    grid-template-columns: 1fr;
  }

  .sm-programa-hero__shell {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .sm-programa-hero__media {
    height: auto;
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 767px) {
  .sm-programas-shell {
    padding: 24px 16px 0;
  }

  .sm-programas-carousel {
    grid-auto-columns: minmax(190px, 74vw);
  }

  .sm-programa-hero__shell {
    padding: 28px 16px;
  }

  .sm-programa-hero__info p {
    font-size: 15px;
  }

  .sm-programa-btn {
    width: 100%;
  }

  .sm-programa-content {
    padding: 26px 0 42px;
  }

  .sm-programa-content__shell {
    padding: 0 16px;
  }

  .sm-programa-content__shell h2 {
    font-size: 26px;
  }

  .sm-programa-content__shell p {
    font-size: 16px;
  }
}


.sm-programa-hero--destaque-bottom .sm-programa-hero__shell {
  align-items: center;
  padding-bottom: 0;
}

.sm-programa-hero--destaque-bottom .sm-programa-hero__info {
  align-self: center;
  padding-bottom: 0;
}

.sm-programa-hero--destaque-bottom .sm-programa-hero__media {
  align-self: end;
  margin: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

@media (max-width: 767px) {
  .sm-programa-hero--destaque-bottom .sm-programa-hero__info {
    padding-bottom: 0;
  }
}

/* CPT - PROJETOS MASSA */
.sm-projetos-filters {
  grid-template-columns: minmax(0, 1fr) auto;
}

.sm-projeto-gallery-section {
  padding: 0 0 56px;
}

.sm-projeto-gallery-section__title {
  margin: 0 0 14px;
  color: #1f45d8;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
}

.sm-projeto-gallery {
  display: grid;
  gap: 12px;
}

.sm-projeto-gallery__viewport {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #f2f2f2;
}

.sm-projeto-gallery__slides {
  position: relative;
  height: 500px;
}

.sm-projeto-gallery__slide {
  display: none;
  width: 100%;
  height: 100%;
}

.sm-projeto-gallery__slide.is-active {
  display: block;
}

.sm-projeto-gallery__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #e9e9e9;
}

.sm-projeto-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.sm-projeto-gallery__nav--prev {
  left: 12px;
}

.sm-projeto-gallery__nav--next {
  right: 12px;
}

.sm-projeto-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 8px;
}

.sm-projeto-gallery__thumb {
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0;
  background: #f2f2f2;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.sm-projeto-gallery__thumb.is-active {
  border-color: #1f45d8;
  box-shadow: 0 0 0 2px rgba(31, 69, 216, 0.25);
  transform: translateY(-2px);
}

.sm-projeto-gallery__thumb:focus-visible {
  outline: 0;
  border-color: #1f45d8;
  box-shadow: 0 0 0 2px rgba(31, 69, 216, 0.25);
}

.sm-projeto-gallery__thumb img {
  display: block;
  width: 100%;
  height: 78px;
  object-fit: cover;
}

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

  .sm-projeto-gallery-section {
    padding: 0 0 42px;
  }

  .sm-projeto-gallery-section__title {
    font-size: 24px;
  }

  .sm-projeto-gallery__slides,
  .sm-projeto-gallery__slide img {
    height: 280px;
  }

  .sm-projeto-gallery__thumb img {
    height: 64px;
  }
}

/* Blog page */
.sm-blog-page {
  padding: 46px 0 70px;
  background: #ffffff;
}

.sm-blog-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

.sm-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.sm-blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f3f3;
}

.sm-blog-card__full-link {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 10px;
}

.sm-blog-card__full-link:focus-visible {
  outline: 2px solid #1f45d8;
  outline-offset: -2px;
}

.sm-blog-card__thumb {
  display: block;
  height: 220px;
  line-height: 0;
  overflow: hidden;
  background: #dfdfdf;
}

.sm-blog-card__thumb img,
.sm-blog-card__image {
  position: static !important;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover !important;
}

.sm-blog-page .sm-blog-card__thumb > img,
.sm-blog-page .sm-blog-card__thumb > picture > img,
.sm-blog-page .sm-blog-card__thumb img.wp-post-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.sm-blog-card__image--placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #dfdfdf 0%, #cfcfcf 100%);
}

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

.sm-blog-card__title {
  margin: 12px 0 0;
  font-size: 16px !important;
  line-height: 1.35;
  font-weight: 700;
  color: #222222;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-decoration: none;
}

.sm-blog-card__title a {
  color: inherit;
  text-decoration: none;
}

.sm-blog-card__excerpt {
  margin: 12px 0;
  font-size: 12px;
  line-height: 1.45;
  color: #666666;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.sm-blog-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #1f45d8;
  text-decoration: none;
  font-size: 14px !important;
  line-height: 1.2;
}

.sm-blog-card__link:hover,
.sm-blog-card__link:focus {
  text-decoration: underline;
}

.sm-blog-load-more-wrap {
  margin-top: 32px;
  text-align: center;
}

.sm-blog-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 0 20px;
  background: #1f45d8;
  color: #ffffff;
  cursor: pointer;
}

.sm-blog-load-more:disabled {
  opacity: 0.78;
  cursor: wait;
}

.sm-blog-empty {
  margin: 0;
  font-size: 16px;
  color: #666666;
}

@media (max-width: 1024px) {
  .sm-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .sm-blog-page {
    padding: 28px 0 42px;
  }

  .sm-blog-shell {
    padding: 0 16px;
  }

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

  .sm-blog-card__title {
    font-size: 16px !important;
  }

  .sm-blog-card__thumb {
    height: 200px;
  }
}

/* Blog single post */
.sm-blog-single-page {
  padding: 52px 0 72px;
  background: #ffffff;
}

.sm-blog-single-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 28px 0;
}

.sm-blog-single {
  max-width: 1280px;
  margin: 0 auto;
}

.sm-blog-single__header {
  margin: 0 0 24px;
}

.sm-blog-single__title {
  margin: 0;
  color: #2b2b2b;
  font-size: clamp(38px, 4.5vw, 58px) !important;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.sm-blog-single__meta {
  margin: 16px 0 0;
  color: #a5a5a5;
  font-size: 13px !important;
  line-height: 1.3;
  font-weight: 500 !important;
}

.sm-blog-single__intro {
  margin: 28px 0 0;
  color: #4d4d4d;
  font-size: 16px !important;
  line-height: 1.55;
}

.sm-blog-single__featured {
  margin: 0;
}

.sm-blog-single__featured-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.sm-blog-single__featured-credit {
  margin: 10px 0 0;
  color: #8a8a8a;
  font-size: 12px !important;
  line-height: 1.3;
}

.sm-blog-single__content {
  margin-top: 34px;
}

.sm-blog-single__content > *:first-child {
  margin-top: 0;
}

.sm-blog-single__content h2,
.sm-blog-single__content h3,
.sm-blog-single__content h4,
.sm-blog-single__content h5,
.sm-blog-single__content h6 {
  margin: 30px 0 14px;
  color: #2d2d2d;
  line-height: 1.2;
  font-weight: 700;
}

.sm-blog-single__content h2 {
  font-size: 32px !important;
}

.sm-blog-single__content h3 {
  font-size: 26px !important;
}

.sm-blog-single__content p,
.sm-blog-single__content li {
  color: #474747;
  font-size: 16px !important;
  line-height: 1.75;
}

.sm-blog-single__content ul,
.sm-blog-single__content ol {
  margin: 0 0 20px 24px;
}

.sm-blog-related {
  margin-top: 56px;
}

.sm-blog-related__title {
  margin: 0 0 30px;
  color: #1f45d8;
  font-size: 24px !important;
  line-height: 1.1;
  font-weight: 800;
}

.sm-blog-related__grid {
  gap: 18px;
}

@media (max-width: 991px) {
  .sm-blog-single-page {
    padding: 34px 0 48px;
  }

  .sm-blog-single-shell {
    padding: 0 18px;
  }

  .sm-blog-single__title {
    font-size: clamp(30px, 5.8vw, 44px) !important;
  }

  .sm-blog-related {
    margin-top: 44px;
  }
}

@media (max-width: 767px) {
  .sm-blog-single-shell {
    padding: 0 16px;
  }

  .sm-blog-single__title {
    font-size: 34px !important;
  }

  .sm-blog-single__meta {
    margin-top: 12px;
    font-size: 12px !important;
  }

  .sm-blog-single__intro {
    margin-top: 20px;
    font-size: 15px !important;
  }

  .sm-blog-single__featured-image {
    border-radius: 12px;
  }

  .sm-blog-single__content {
    margin-top: 26px;
  }

  .sm-blog-single__content h2 {
    font-size: 26px !important;
  }

  .sm-blog-single__content h3 {
    font-size: 22px !important;
  }

  .sm-blog-single__content p,
  .sm-blog-single__content li {
    font-size: 15px !important;
  }

  .sm-blog-related__title {
    margin-bottom: 14px;
    font-size: 28px !important;
  }
}
