@charset "UTF-8";
/**
 * Custom Olivnov Styles
 * Estilos personalizados para a Olivnov
 */
/* ==========================================
   SMOOTH SCROLL
   ========================================== */
html {
  scroll-behavior: smooth;
}

/* Zerar propriedade top que causa elevação */
.image_frame:hover .image_wrapper img {
  top: 0 !important;
}

@media only screen and (max-width: 767px) {
  .image_frame .image_wrapper {
    margin-bottom: 1em !important;
  }

  /* Remove espaço em branco abaixo das imagens dos portfolio items no mobile */
  .portfolio-item .image_frame .image_wrapper,
  .portfolio-item .image-wrapper,
  .portfolio-item .masonry-hover-wrapper .image-wrapper,
  .portfolio-item .masonry-hover-wrapper img {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Garante que o image-wrapper não tenha espaços extras */
  .portfolio-item .image-wrapper {
    display: block !important;
    line-height: 0 !important;
  }

  .portfolio-item .image-wrapper a {
    display: block !important;
    line-height: 0 !important;
  }
}
/* ==========================================
   HEADER WITH OVERLAY
   ========================================== */
#Header_wrapper.with-bg-overlay {
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

/* Cor branca para o menu do header em TODAS as páginas */
#Top_bar #menu a span {
  color: #ffffff !important;
}

#Top_bar #menu a:hover span {
  color: #44a7ff !important;
}

/* Cor escura para o título da Hero */
#slide-1-layer-1 {
  color: #161765 !important;
}

/* Cor escura para o subtítulo da Hero */
#slide-1-layer-2 {
  color: #161765 !important;
}

/* Cor escura para o título dentro do Header_wrapper */
#Header_wrapper .title {
  color: #161765 !important;
}

/* ==========================================
   TEXT COLOR - Better readability
   ========================================== */
#servicos p,
#servicos li,
#cases p,
#cases li,
#sobre p {
  color: #000000 !important;
}

/* Cor preta para detalhes de contato */
.contact-details {
  color: #000000 !important;
}

/* Cor preta para títulos de seção */
.section-heading {
  color: #000000 !important;
}

.case-single-section p,
.case-single-section li {
  color: #000000 !important;
}

/* ==========================================
   SITE BUTTONS
   ========================================== */
a.button.button_js {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0 !important;
  background-color: var(--olivnov-button-bg, #5774bd) !important;
  color: var(--olivnov-button-color, #ffffff) !important;
  line-height: 1.2 !important;
  text-align: center;
}

a.button.button_js .button_label {
  float: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: inherit;
  padding: 0 30px;
  color: inherit !important;
  line-height: 1.2;
  text-align: center;
}

/* ==========================================
   HOME PAGE
   ========================================== */
.home-hero {
  --olivnov-button-bg: #161765;
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #161765 url("/images/pessoas-demonstrando-produto.jpg") center center/cover no-repeat;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(246, 249, 255, 0.94) 0%, rgba(246, 249, 255, 0.82) 42%, rgba(246, 249, 255, 0.35) 100%);
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 120px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.45fr);
  gap: 72px;
  align-items: end;
}

.home-hero__content {
  max-width: 760px;
}

.home-hero__content > span,
.home-hero__proof strong {
  display: inline-block;
  color: #44a7ff;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.home-hero__content h1 {
  color: #161765;
  font-size: 64px;
  line-height: 1.05;
  margin-bottom: 24px;
  max-width: 720px;
}

.home-hero__content p {
  color: #111111 !important;
  font-size: 21px;
  line-height: 1.55;
  max-width: 690px;
  margin-bottom: 34px;
}

.home-hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.home-hero__actions .button {
  margin: 0 !important;
}

.home-hero__link {
  display: inline-flex;
  align-items: center;
  min-height: 60px;
  color: #161765;
  font-weight: 700;
  text-decoration: none;
}

.home-hero__link:hover {
  color: #44a7ff;
}

.home-hero__proof {
  display: grid;
  gap: 16px;
}

.home-hero__proof > div {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(22, 23, 101, 0.1);
  backdrop-filter: blur(10px);
  padding: 24px 26px;
  background: rgba(255, 255, 255, 0.56);
  border-color: rgba(255, 255, 255, 0.68);
}

.home-hero__proof strong {
  display: block;
  margin-bottom: 8px;
}

.home-hero__proof span {
  display: block;
  color: #111111;
  font-size: 15px;
  line-height: 1.6;
}

.home-section {
  padding: 110px 0 90px;
}

.home-section-muted {
  background: #f8faff;
}

.home-section-heading {
  max-width: 840px;
  margin: 0 auto 52px;
  text-align: center;
}

.home-section-heading span,
.home-about-copy span,
.home-cta-box > div > span,
.contact-copy > span,
.contact-eyebrow {
  display: inline-block;
  color: #44a7ff;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.home-section-heading h1,
.home-section-heading h2,
.home-about-copy h2,
.home-cta-box h2,
.contact-copy h2 {
  color: #161765;
  font-size: 40px;
  line-height: 1.18;
  margin-bottom: 18px;
}

.home-section-heading p,
.home-about-copy p,
.home-cta-box p,
.contact-copy p,
.contact-note li,
.contact-info-band p {
  color: #111111 !important;
  font-size: 17px;
  line-height: 1.72;
}

.home-service-grid,
.home-process-grid {
  display: grid;
  gap: 22px;
}

.home-service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-service-grid article,
.home-process-grid article {
  background: #ffffff;
  border: 1px solid #dde8f8;
  border-radius: 8px;
  padding: 30px 28px;
}

.home-service-grid article span {
  display: block;
  color: #44a7ff;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 24px;
}

.home-service-grid article h3,
.home-process-grid article strong {
  display: block;
  color: #161765;
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 12px;
}

.home-service-grid article p,
.home-process-grid article p {
  color: #111111 !important;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 0;
}

.home-about-copy {
  padding-top: 20px;
}

#sobre.home-section {
  background: #ffffff;
}

#sobre .image_wrapper {
  border-radius: 8px;
  overflow: hidden;
}

.home-cta-section {
  --olivnov-button-bg: #5774bd;
  background: #161765;
  padding: 70px 0;
}

.home-cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
}

.home-cta-box > div > span,
.home-cta-box h2,
.home-cta-box p {
  color: #ffffff !important;
}

.home-cta-box h2 {
  max-width: 780px;
}

.home-cta-box p {
  max-width: 720px;
  margin-bottom: 0;
}

/* ==========================================
   CONTACT PAGE
   ========================================== */
body.minimalist-header-no #Subheader.contact-subheader {
  padding: 220px 0 140px !important;
}

#Subheader.contact-subheader:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.48);
  pointer-events: none;
}

.contact-subheader .container {
  position: relative;
  z-index: 1;
}

.contact-subheader .column {
  text-align: center;
}

#Subheader.contact-subheader .title {
  float: none;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

#Header_wrapper .contact-subtitle {
  color: #161765 !important;
  font-size: 23px;
  line-height: 1.45;
  max-width: 760px;
  margin: 20px auto 0;
  font-weight: 500;
}

.contact-section {
  padding: 105px 0 80px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 54px;
  align-items: start;
}

.contact-channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.contact-channel-grid a,
.contact-info-band > div,
.contact-note,
.contact-form-panel {
  background: #ffffff;
  border: 1px solid #dde8f8;
  border-radius: 8px;
}

.contact-channel-grid a {
  display: block;
  padding: 22px;
  text-decoration: none;
}

.contact-channel-grid strong,
.contact-info-band strong,
.contact-note strong {
  display: block;
  color: #161765;
  font-size: 18px;
  margin-bottom: 6px;
}

.contact-channel-grid span {
  color: #111111;
  font-size: 15px;
}

.contact-note {
  margin-top: 18px;
  padding: 26px 28px;
}

.contact-note ul {
  list-style-position: inside;
  margin-bottom: 0;
  padding-left: 0;
}

.contact-form-panel {
  box-shadow: 0 24px 70px rgba(22, 23, 101, 0.1);
  padding: 38px;
}

.contact-field {
  margin-bottom: 18px;
}

.contact-field label {
  display: block;
  color: #161765;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-field input,
.contact-field textarea {
  width: 100% !important;
}

.contact-field textarea {
  resize: vertical;
}

.contact-submit {
  margin-top: 22px;
}

.contact-info-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 52px;
}

.contact-info-band > div {
  padding: 26px 28px;
}

.contact-info-band p {
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 0;
}

.contact-map {
  position: relative;
  min-height: 360px;
  border: 1px solid #dde8f8;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 28px;
  background: #f8faff;
}

.contact-map iframe {
  display: block;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* ==========================================
   PORTFOLIO CARDS - Title below image
   ========================================== */
.portfolio-item .masonry-hover-wrapper {
  display: flex !important;
  flex-direction: column !important;
}

.portfolio-item .image-wrapper img {
  height: 100% !important;
}

.portfolio-item .entry-title {
  font-size: 18px !important;
  font-weight: 600;
  text-align: center;
  margin-top: 15px !important;
  margin-bottom: 0 !important;
}

.portfolio-item .case-category {
  font-size: 14px;
  color: #44a7ff;
  text-align: center;
  margin-top: 5px;
  font-weight: 500;
}

.portfolio-item .case-card-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.portfolio-item .case-card-actions a {
  color: #161765 !important;
  border: 1px solid #dde8f8;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  padding: 8px 13px;
  text-decoration: none;
}

.portfolio-item .case-card-actions a:hover {
  border-color: #44a7ff;
  color: #44a7ff !important;
}

/* Borda nas imagens dos cases (apenas página individual) */
.case-single-section .image_frame .image_wrapper {
  border-width: 1px !important;
  border-style: solid !important;
  border-radius: 5px !important;
  border-color: #e2e2e2 !important;
}

/* Borda nos itens de portfolio */
.portfolio_group.masonry-hover .portfolio-item .masonry-hover-wrapper {
  border: 1px solid #e2e2e2 !important;
  border-radius: 5px !important;
}

/* Desabilitar efeito de zoom/elevação nas imagens dos cases */
.case-single-section img,
.case-single-section a img {
  transform: none !important;
  transition: none !important;
}

.case-single-section a:hover img {
  transform: none !important;
}

/* ==========================================
   CASE STUDY PAGES
   ========================================== */
body.minimalist-header-no #Subheader.case-study-subheader {
  padding: 190px 0 120px !important;
}

#Subheader.case-study-subheader:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.case-study-subheader .container {
  position: relative;
  z-index: 1;
}

.case-study-subheader .column {
  text-align: center;
}

.case-study-eyebrow {
  color: #44a7ff !important;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 12px;
  text-transform: uppercase;
}

#Subheader.case-study-subheader .title {
  float: none;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

#Header_wrapper .case-study-subtitle {
  color: #161765 !important;
  font-size: 23px;
  line-height: 1.45;
  max-width: 760px;
  margin: 20px auto 0;
  font-weight: 500;
}

.case-study-page {
  background: #ffffff;
}

.case-study-section {
  padding: 96px 0;
}

.case-study-section:nth-child(even) {
  background: #f8faff;
}

.case-study-intro {
  padding-top: 110px;
}

.case-study-hero-grid,
.case-study-two-columns,
.case-study-screen-row,
.case-study-cta-box {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

.case-study-label {
  display: inline-block;
  color: #44a7ff;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.case-study-page h2 {
  color: #161765;
  font-size: 38px;
  line-height: 1.18;
  margin-bottom: 22px;
}

.case-study-page h3 {
  color: #161765;
  font-size: 21px;
  line-height: 1.3;
  margin-bottom: 12px;
}

.case-study-page p,
.case-study-page li {
  color: #111111 !important;
  font-size: 17px;
  line-height: 1.75;
}

.case-study-intro-copy p,
.case-study-section-heading p {
  max-width: 720px;
}

.case-study-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.case-study-text-link {
  color: #161765 !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.case-study-hero-image,
.case-study-screen-image {
  background: #ffffff;
  border: 1px solid #dde8f8;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(22, 23, 101, 0.12);
  overflow: hidden;
}

.case-study-hero-image img,
.case-study-screen-image img {
  display: block;
  width: 100%;
  height: auto;
}

.case-study-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 56px;
}

.case-study-summary-card {
  background: #ffffff;
  border: 1px solid #dde8f8;
  border-radius: 8px;
  padding: 24px;
}

.case-study-summary-card span {
  display: block;
  color: #5774bd;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.case-study-summary-card strong {
  display: block;
  color: #161765;
  font-size: 20px;
  line-height: 1.25;
}

.case-study-problem-heading {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.case-study-problem-heading p {
  margin-left: auto;
  margin-right: auto;
}

.case-study-problem-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.case-study-problem-grid article {
  background: #ffffff;
  border: 1px solid #dde8f8;
  border-radius: 8px;
  padding: 28px;
  box-sizing: border-box;
  flex: 1 1 240px;
  width: auto;
  min-width: 0;
}

.case-study-problem-grid-2 article {
  flex: 1 1 calc(50% - 11px);
  max-width: calc(50% - 11px);
}

.case-study-problem-grid-3 article {
  flex: 1 1 calc(33.333% - 15px);
  max-width: calc(33.333% - 15px);
}

.case-study-problem-grid-4 article {
  flex: 1 1 calc(25% - 17px);
  max-width: calc(25% - 17px);
}

.case-study-problem-grid article span {
  display: block;
  color: #44a7ff;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  margin-bottom: 22px;
}

.case-study-problem-grid article p {
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 0;
}

.case-study-checklist {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.case-study-checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

.case-study-checklist li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #44a7ff;
}

.case-study-section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.case-study-section-heading h2 {
  margin-bottom: 16px;
}

.case-study-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.case-study-feature-grid article {
  background: #ffffff;
  border: 1px solid #dde8f8;
  border-radius: 8px;
  padding: 28px;
}

.case-study-feature-grid article h3,
.case-study-outcome-grid article h3 {
  min-height: 2.6em;
}

.case-study-feature-grid article p {
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 0;
}

.case-study-screen-row {
  margin-bottom: 70px;
}

.case-study-screen-row:last-child {
  margin-bottom: 0;
}

.case-study-screen-row-reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.case-study-screen-row-reverse .case-study-screen-copy {
  order: 2;
}

.case-study-screen-row-reverse .case-study-screen-image {
  order: 1;
}

.case-study-outcome-heading {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.case-study-outcome-heading p {
  margin-bottom: 0;
}

.case-study-outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.case-study-outcome-grid article {
  background: #ffffff;
  border: 1px solid #dde8f8;
  border-radius: 8px;
  padding: 34px 30px;
}

.case-study-outcome-grid article span {
  display: block;
  color: #44a7ff;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  margin-bottom: 22px;
}

.case-study-outcome-grid article p {
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 0;
}

.case-study-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.case-study-stack .case-study-section-heading {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.case-study-stack .case-study-tags {
  justify-content: center;
}

.case-study-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #161765;
  background: #ffffff;
  border: 1px solid #dde8f8;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 700;
}

.case-study-cta {
  background: #161765 !important;
}

.case-study-cta-box {
  grid-template-columns: minmax(0, 1fr) auto;
}

.case-study-cta .case-study-label,
.case-study-cta h2,
.case-study-cta p {
  color: #ffffff !important;
}

.case-study-cta h2 {
  max-width: 780px;
}

.case-study-cta p {
  max-width: 720px;
  margin-bottom: 0;
}

.case-study-related {
  padding-bottom: 110px;
}

/* Zerar propriedade top do portfolio que causa elevação */
.portfolio-item .image-wrapper,
.portfolio-item .masonry-hover-wrapper {
  top: 0 !important;
}

/* Force title to NEVER change on hover - override everything */
.portfolio-item .entry-title,
.portfolio-item .entry-title a,
.portfolio-item:hover .entry-title,
.portfolio-item:hover .entry-title a,
.portfolio-item .masonry-hover-wrapper:hover .entry-title,
.portfolio-item .masonry-hover-wrapper:hover .entry-title a,
.portfolio-item:hover .masonry-hover-wrapper .entry-title,
.portfolio-item:hover .masonry-hover-wrapper .entry-title a {
  color: #161765 !important;
  background: transparent !important;
  transform: none !important;
  opacity: 1 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: none !important;
}

/* Image hover should NOT affect title */
.portfolio-item .image-wrapper:hover ~ .entry-title,
.portfolio-item:hover .image-wrapper ~ .entry-title {
  color: #161765 !important;
}

/* ==========================================
   CONTACT PAGE - Equal height form and map
   ========================================== */
/* Apenas o segundo wrapper (formulário + mapa) */
#contact .wrap.mcb-wrap.one:nth-of-type(2) .mcb-wrap-inner {
  display: flex;
  align-items: stretch;
  gap: 4%;
}

#contact .wrap.mcb-wrap.one:nth-of-type(2) .column.one-second {
  float: none;
  width: calc(48% - 2%);
  display: flex;
  flex-direction: column;
}

#contact .wrap.mcb-wrap.one:nth-of-type(2) .column.one-second .column_attr {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

#contact .wrap.mcb-wrap.one:nth-of-type(2) .column.one-second .column_attr iframe {
  flex: 1;
  height: auto !important;
  min-height: 440px;
}

@media only screen and (max-width: 767px) {
  #contact .wrap.mcb-wrap.one:nth-of-type(2) .mcb-wrap-inner {
    display: block;
    gap: 0;
  }

  #contact .wrap.mcb-wrap.one:nth-of-type(2) .column.one-second {
    float: left;
    width: 48%;
    display: block;
  }

  #contact .wrap.mcb-wrap.one:nth-of-type(2) .column.one-second .column_attr {
    display: block;
  }

  #contact .wrap.mcb-wrap.one:nth-of-type(2) .column.one-second .column_attr iframe {
    height: 440px !important;
  }
}
/* ==========================================
   FOOTER STYLES
   ========================================== */
.footer-logo {
  max-width: 100px !important;
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 18px;
  color: #4a60b0 !important;
  font-weight: 600;
  margin-bottom: 15px;
}

.footer-cnpj {
  font-size: 14px;
  color: #5774bd;
}

.footer-social {
  margin-top: 20px;
}

.footer-social a {
  font-size: 24px;
  color: #161765;
  margin-right: 10px;
}

.footer-social a:hover {
  color: #44a7ff;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 10px;
}

.footer-arrow {
  color: #161765;
  margin-right: 10px;
}

/* ==========================================
   FOOTER BACKGROUND
   ========================================== */
#Footer {
  background-color: #e8f0fe !important;
}

#Footer h4,
#Footer p,
#Footer li,
#Footer .copyright {
  color: #000000 !important;
}

#Footer h4 {
  color: #4a60b0 !important;
}

#Footer a {
  color: #161765 !important;
}

#Footer a:hover {
  color: #44a7ff !important;
}

#Footer .footer_copy {
  border-top: 1px solid #dde8f8 !important;
}

/* ==========================================
   STICKY HEADER
   ========================================== */
#Header_wrapper {
  position: relative;
}

#Header_wrapper:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 190px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(22, 23, 101, 0.5) 0%, rgba(22, 23, 101, 0.3) 42%, rgba(22, 23, 101, 0.13) 72%, rgba(22, 23, 101, 0) 100%);
}

#Header {
  position: relative;
  z-index: 2;
}

#Top_bar #menu a span {
  text-shadow: 0 1px 8px rgba(10, 16, 55, 0.78), 0 1px 2px rgba(10, 16, 55, 0.72);
}

/* ==========================================
   HERO BUTTON
   ========================================== */
.hero-cta-button {
  font-size: 14px;
  line-height: 17px;
  font-weight: 400;
  color: white !important;
  letter-spacing: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: #161765 !important;
  border-color: black !important;
  border-radius: 30px 30px 30px 30px !important;
  outline: none;
  box-shadow: none;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  cursor: pointer;
  text-decoration: none;
}

.hero-cta-button:hover {
  color: #161765 !important;
  background-color: white !important;
}

.hero-cta-button i {
  color: #44a7ff;
}

/* ==========================================
   MOBILE FIXES
   ========================================== */
/* Logo no mobile - garantir que aparece */
@media only screen and (max-width: 767px) {
  /* Aumentar fontes gerais do conteúdo */
  body, p, span, div, li, td, th {
    font-size: 18px !important;
    line-height: 1.6 !important;
  }

  /* Headings */
  h1 {
    font-size: 32px !important;
    line-height: 1.3 !important;
  }

  h2 {
    font-size: 28px !important;
    line-height: 1.3 !important;
  }

  h3 {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }

  h4 {
    font-size: 20px !important;
    line-height: 1.3 !important;
  }

  h5, h6 {
    font-size: 18px !important;
    line-height: 1.3 !important;
  }

  /* Footer específico */
  #Footer,
  #Footer p,
  #Footer li,
  #Footer span,
  #Footer div {
    font-size: 16px !important;
  }

  #Footer .widgets_wrapper {
    padding-top: 15px !important;
    padding-bottom: 0 !important;
  }

  /* Ajustes na seção de serviços no mobile */
  #servicos .column_attr.align_center {
    margin-bottom: 40px !important;
  }

  /* Espaço entre os itens de serviço */
  #servicos .wrap.mcb-wrap.one-third {
    margin-bottom: 40px !important;
  }

  /* Reduzir espaçamento dentro dos cards de serviço */
  #servicos .column_attr hr.no_line[style*="margin:0 auto 35px"] {
    margin: 0 auto 15px !important;
  }

  #servicos .column_attr hr.no_line[style*="margin:0 auto 30px"] {
    margin: 0 auto 15px !important;
  }

  #servicos .column_attr h4 {
    margin-bottom: 5px !important;
  }

  /* Espaço entre imagem e título na seção Sobre */
  #sobre .wrap.mcb-wrap.three-fifth {
    margin-bottom: 40px !important;
  }

  /* Remover padding dos itens de contato no mobile */
  #contact .column.one-third .column_attr {
    padding: 0 !important;
  }

  #contact .column.one-third h4 {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
  }

  #contact .column.one-third hr.no_line {
    margin: 5px auto !important;
  }

  #contact .column.one-third:not(:last-child) {
    margin-bottom: 30px !important;
  }

  /* Espaço entre título Cases e os cards, e entre os cards */
  .column_attr.align_center h1.themecolor,
  .column_attr.align_center h1 {
    margin-bottom: 40px !important;
  }

  ul.portfolio_group li.portfolio-item {
    margin-bottom: 40px !important;
  }

  body.minimalist-header-no #Subheader.case-study-subheader {
    padding: 125px 0 80px !important;
  }

  #Subheader.case-study-subheader:before {
    background: rgba(255, 255, 255, 0.62);
  }

  #Subheader.case-study-subheader .title {
    font-size: 32px !important;
    line-height: 1.15 !important;
    max-width: 330px;
  }

  #Header_wrapper .case-study-subtitle {
    font-size: 18px !important;
    line-height: 1.55 !important;
  }

  .case-study-section {
    padding: 58px 0 !important;
  }

  .case-study-intro {
    padding-top: 64px !important;
  }

  .case-study-hero-grid,
  .case-study-two-columns,
  .case-study-screen-row,
  .case-study-screen-row-reverse,
  .case-study-cta-box {
    display: block !important;
  }

  .case-study-page h2 {
    font-size: 28px !important;
    line-height: 1.25 !important;
  }

  .case-study-page h3 {
    font-size: 21px !important;
  }

  .case-study-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    width: 100%;
  }

  .case-study-actions .button,
  .case-study-actions .case-study-text-link {
    width: 100%;
    margin-right: 0;
  }

  .case-study-actions .button .button_label {
    width: 100%;
  }

  .case-study-hero-image,
  .case-study-screen-image {
    margin-top: 32px;
  }

  .case-study-summary-grid,
  .case-study-feature-grid,
  .case-study-outcome-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .case-study-problem-grid {
    display: block;
  }

  .case-study-problem-grid article {
    margin-bottom: 14px;
  }

  .case-study-problem-grid article:last-child {
    margin-bottom: 0;
  }

  .case-study-feature-grid article h3,
  .case-study-outcome-grid article h3 {
    min-height: 0;
  }

  .case-study-summary-card,
  .case-study-problem-grid article,
  .case-study-feature-grid article,
  .case-study-outcome-grid article {
    padding: 22px;
  }

  .case-study-screen-row {
    margin-bottom: 46px;
  }

  .case-study-screen-row-reverse .case-study-screen-copy,
  .case-study-screen-row-reverse .case-study-screen-image {
    order: initial;
  }

  .case-study-cta .button {
    margin-top: 28px;
  }

  .home-section {
    padding: 64px 0 52px !important;
  }

  .home-section-heading {
    margin-bottom: 34px;
    text-align: left;
  }

  .home-hero {
    min-height: auto;
    padding: 128px 0 58px;
    background-position: 60% center;
  }

  .home-hero__overlay {
    background: rgba(246, 249, 255, 0.84);
  }

  .home-hero__inner {
    display: block;
    padding-top: 0;
  }

  .home-hero__content h1 {
    font-size: 40px !important;
    line-height: 1.12 !important;
    margin-bottom: 18px;
  }

  .home-hero__content p {
    font-size: 18px !important;
    line-height: 1.58 !important;
    margin-bottom: 26px;
  }

  .home-hero__actions {
    display: block;
  }

  .home-hero__actions .button {
    margin-bottom: 18px;
  }

  .home-hero__link {
    display: inline-block;
  }

  .home-hero__proof {
    margin-top: 38px;
  }

  .home-hero__proof > div {
    padding: 20px;
  }

  .home-section-heading h1,
  .home-section-heading h2,
  .home-about-copy h2,
  .home-cta-box h2,
  .contact-copy h2 {
    font-size: 28px !important;
    line-height: 1.25 !important;
  }

  .home-service-grid,
  .home-process-grid,
  .home-cta-box,
  .contact-layout,
  .contact-channel-grid,
  .contact-info-band {
    grid-template-columns: 1fr;
  }

  .home-service-grid,
  .home-process-grid,
  .contact-channel-grid,
  .contact-info-band {
    gap: 14px;
  }

  .home-service-grid article,
  .home-process-grid article,
  .contact-form-panel,
  .contact-note,
  .contact-info-band > div {
    padding: 22px;
  }

  .home-cta-box {
    display: block;
  }

  .home-cta-box .button {
    margin-top: 28px;
  }

  body.minimalist-header-no #Subheader.contact-subheader {
    padding: 135px 0 86px !important;
  }

  #Subheader.contact-subheader:before {
    background: rgba(255, 255, 255, 0.64);
  }

  #Subheader.contact-subheader .title {
    font-size: 32px !important;
    line-height: 1.15 !important;
    max-width: 340px;
  }

  #Header_wrapper .contact-subtitle {
    font-size: 18px !important;
    line-height: 1.55 !important;
  }

  .contact-section {
    padding: 64px 0 52px !important;
  }

  .contact-layout {
    display: block;
  }

  .contact-form-panel {
    margin-top: 32px;
  }

  /* Forçar logo-main a aparecer no mobile (BeTheme esconde e mostra logo-mobile que não temos) */
  #Top_bar #logo img.logo-main {
    display: inline-block !important;
    max-height: 85px !important;
    width: auto !important;
  }

  #Top_bar #logo img.logo-sticky {
    max-height: 85px !important;
    width: auto !important;
  }

  /* Logo à esquerda com tamanho adequado */
  #Top_bar .logo {
    display: block !important;
    float: left !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
  }

  /* Container do logo ajustado - remover espaços extras */
  #Top_bar .logo #logo {
    display: block !important;
    height: 85px !important;
    line-height: 85px !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
  }

  /* Botão de menu alinhado com o logo */
  #Top_bar .responsive-menu-toggle {
    position: absolute !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }

  /* Ajustar o wrapper do top bar para acomodar logo */
  #Top_bar .top_bar_left {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Container principal do header */
  #Top_bar .column.one {
    position: relative !important;
    padding: 0 !important;
  }

  /* Ajustar altura do header no mobile - remover espaços extras */
  #Top_bar {
    min-height: 85px !important;
    height: 85px !important;
    padding: 0 !important;
  }

  /* Remover header placeholder */
  #Top_bar .header_placeholder {
    display: none !important;
    height: 0 !important;
  }
}
/* ==========================================
   FORM VALIDATION ERROR MESSAGES - Smaller font, red color
   ========================================== */
label.error {
  font-size: 12px !important;
  line-height: 1.4 !important;
  color: #ff0000 !important;
  font-weight: 600 !important;
  display: block !important;
  margin-top: 8px !important;
}
