﻿
/* ============================================================
   UpQuery â€” Folha de estilos (v3 â€” inspiraÃ§Ã£o Apple)
   ============================================================
   - Cores UpQuery: verde #1B7A3F + azul #0F4C8B
   - Tipografia generosa, respiraÃ§Ã£o radical, minimalismo
   - Contraste AA garantido em todos os botÃµes
   ============================================================ */

:root {
  /* Cores institucionais â€” extraÃ­das das logos oficiais uAction e uSense */
  --brand:           #1D2167;   /* Azul UpQuery profundo (da logo) */
  --brand-dark:      #141649;   /* Azul ainda mais escuro (footer) */
  --brand-bright:    #2A3090;   /* Azul hover */
  --brand-green:     #0F7A3D;   /* Verde UpQuery (da logo) */
  --brand-green-bright: #15A052;/* Verde vibrante (hover) */
  --brand-green-soft:   #7FCBA0;

  /* Tons Apple-like */
  --black:     #1D1D1F;
  --ink:       #1D1D1F;
  --text:      #1D1D1F;
  --muted:     #6E6E73;
  --muted-2:   #86868B;
  --muted-light: #A1A1A6;

  --paper:     #FFFFFF;
  --off:       #FBFBFD;
  --soft:      #F4F4FB;
  --line:      #D2D2D7;
  --rule:      rgba(29, 29, 31, 0.06);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.10);
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  outline: none
}

html {
  scroll-behavior: smooth
}

body {
  font-family: "Inter Tight", sans-serif;
  background: var(--paper);
  color: var(--text);
  line-height: 1.47;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.003em;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

::selection { background: var(--brand); color: #fff; }

.display {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

/* ============ LOGOS DE PRODUTO (uAction / uSense) ============ */
.product-logo {
  display: inline-block;
  height: auto;
  vertical-align: middle;
}
.product-logo.size-hero  { width: 100px; }
.product-logo.size-lg    { width: clamp(220px, 28vw, 200px); }
.product-logo.size-md    { width: 180px; }
.product-logo.size-sm    { width: 110px; }
.product-logo.on-dark {
  /* Em fundo escuro: a logo fica em creme/branco para contraste */
  filter: brightness(0) invert(1);
}

/* ============ SÃMBOLO UPQUERY (Q com cursor) ============ */
.uq-symbol {
  display: inline-block;
  vertical-align: middle;
}
.uq-symbol.size-xs { width: 26px; height: auto; }
.uq-symbol.size-sm { width: 42px; height: auto; }
.uq-symbol.size-md { width: 72px; height: auto; }
.uq-symbol.size-lg { width: 140px; height: auto; }
.uq-symbol.on-dark { filter: brightness(0) invert(1); opacity: 0.92; }

/* Marca d'Ã¡gua decorativa (usada no manifesto) */
.manifesto { position: relative; overflow: hidden; }
.manifesto .uq-watermark {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: auto;
  opacity: 0.04;
  filter: brightness(0) invert(1);
  pointer-events: none;
  z-index: 0;
}
.manifesto .container { position: relative; z-index: 1; }
@media (max-width: 900px) {
  .manifesto .uq-watermark { width: 360px; right: -100px; opacity: 0.03; }
}

/* ============ LAYOUT ============ */
.container { max-width: 1080px; margin: 0 auto; padding: 0 30px; }
.container-wide { max-width: 1280px; margin: 0 auto; padding: 0 30px; }
.container-small { max-width: 880px; margin: 0 auto; padding: 0 30px; }
.container.grid {  max-width: 1670px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;

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


.eyebrow {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-green);
  display: inline-block;
}

/* ============ NAV (Apple-style) ============ */
nav.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 56px;
  background: rgba(251, 251, 253, 0.80);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
nav .nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;

  @media (max-width: 900px) {
    padding: 0 22px;
  }
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 26px; width: auto; display: block; }
.nav-panel {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 22px;
}
.nav-panel-footer {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links { display: flex; gap: 0; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links li { padding: 0 10px; 
&.switch_lang {
  padding: 0 5px; border: 0 !important;
}
}
.nav-links a, .cfxlsft-list a {
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 400;
  opacity: 0.88;
  transition: opacity 0.2s ease;
}
.nav-links a:not(.btn):hover { opacity: 1; }
.nav-links a.active { opacity: 1; font-weight: 500; }
.nav-links .menu-item-has-children {
  position: relative;
}
.nav-links .menu-item-has-children > a {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}
.nav-links .menu-item-has-children > a::after {
  content: '';
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-top: 2px;
  opacity: 0.7;
  transition: transform 0.2s ease;
}
.nav-links .menu-item-has-children:hover > a::after,
.nav-links .menu-item-has-children:focus-within > a::after {
  transform: rotate(180deg);
}
.nav-links .sub-menu {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--rule);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  left: 0;
  list-style: none;
  margin: 0;
  min-width: 190px;
  opacity: 0;
  padding: 8px;
  position: absolute;
  top: calc(100% + 14px);
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  visibility: hidden;
  z-index: 120;
}
.nav-links .menu-item-has-children:hover > .sub-menu,
.nav-links .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
.nav-links .sub-menu li {
  padding: 0;
}
.nav-links .sub-menu a {
  border-radius: 10px;
  display: block;
  padding: 9px 12px;
  white-space: nowrap;
  width: 100%;
}
.nav-links .sub-menu a:hover {
  background: var(--soft);
  color: var(--brand);
}

.cfxlsft-list a {
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;

  @media (max-width: 900px) {
    display: none;
  }
}

.nav-links .agendar a {
  background: var(--brand); color: #FFFFFF !important;
  padding: 6px 12px;
  border-radius: 980px;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
  white-space: nowrap;
  letter-spacing: -0.003em;
  line-height: 1.2;
  text-align: center;
}


/* ============ BOTÃ•ES (Apple-style, contraste forte) ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
  white-space: nowrap;
  letter-spacing: -0.003em;
  line-height: 1.2;
}
.btn-sm { padding: 7px 15px; font-size: 13px; }
.btn-lg { padding: 14px 30px; font-weight: 600; }

.btn-primary { background: var(--brand); color: #FFFFFF !important; }
.btn-primary:hover { background: var(--brand-bright); color: #FFFFFF !important; }

.btn-green { background: var(--brand-green); color: #FFFFFF !important; }
.btn-green:hover { background: var(--brand-green-bright); color: #FFFFFF !important; }

.btn-cyan { background: var(--brand-green); color: #FFFFFF !important; }
.btn-cyan:hover { background: var(--brand-green-bright); color: #FFFFFF !important; }

.btn-link {
  background: transparent;
  color: var(--brand);
  padding: 10px 0;
  border-radius: 0;
}
.btn-link:hover { color: var(--brand-dark); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--brand)
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-white-ghost {
  background: transparent;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-white-ghost:hover {
  background: #FFFFFF;
  color: var(--black) !important;
  border-color: #FFFFFF;
}

.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--ink); font-size: 22px; padding: 8px; line-height: 1; transition: transform 0.2s ease; z-index: 102; position: relative; }
.menu-toggle:hover { transform: scale(1.05); }
.menu-toggle.is-open { color: var(--brand); }

/* ============ LANGUAGE SWITCHER ============ */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 4px;
  padding: 0 4px;
}
.lang-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 4px;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
.lang-link:hover { color: var(--ink); }
.lang-link.active {
  color: var(--brand);
  font-weight: 600;
}
.lang-divider {
  color: var(--line);
  font-size: 11px;
  user-select: none;
}

/* ============ MOBILE MENU (drawer lateral) ============ */
@media (max-width: 900px) {
  .menu-toggle { display: block; }

  .nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(85vw, 360px);
    height: 100vh;
    background: var(--off);
    border-left: 1px solid var(--rule);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 80px 24px 32px;
    margin: 0;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
    z-index: 101;
  }
  .nav-panel.is-open { transform: translateX(0); }

  .nav-panel .nav-links {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
  }

  .nav-panel .nav-links li {
    width: 100%;
    padding: 0;
    border-bottom: 1px solid var(--rule);
  }

  .nav-panel .nav-links a:not(.btn) {
    display: block;
    padding: 12px 4px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    width: 100%;
    opacity: 1;
  }
  .nav-panel .nav-links a:not(.btn):hover { color: var(--brand); }
  .nav-panel .nav-links a.active { color: var(--brand); font-weight: 600; }
  .nav-panel .nav-links .menu-item-has-children > a {
    display: flex;
    justify-content: space-between;
  }
  .nav-panel .nav-links .menu-item-has-children > a::after {
    transform: none;
  }
  .nav-panel .nav-links .sub-menu {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    left: auto;
    min-width: 0;
    opacity: 1;
    padding: 0 0 8px 14px;
    position: static;
    transform: none;
    transition: none;
    visibility: visible;
  }
  .nav-panel .nav-links .sub-menu li {
    border-bottom: 0;
  }
  .nav-panel .nav-links .sub-menu a {
    border-radius: 10px;
    color: var(--muted);
    font-size: 14px;
    padding: 8px 10px;
    white-space: normal;
  }

  .nav-panel-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--rule);
  }

 .cfxlsft-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 15px 0 !important;
  }
  .nav-panel .nav-links .cfxlsft-list li {
    margin: 0;
    width: auto;
  }
.cfxlsft-list a {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--rule);
    border-radius: 980px;
    font-size: 14px;
    opacity: 1;
    border: 0;
    padding: 3px 12px !important;;
  }
 .cfxlsft-list .current-lang a {
  color: #fff !important;
  border-radius: 0;
  border: 1px solid var(--brand);
  background: #1d216700;
  width: 43px !important;
  padding: 0 !important;
  display: flex;
  justify-content: center;
  }

  .nav-panel-footer .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 14px;
  }

  /* Switcher dentro do drawer (fallback) */
  .nav-panel .nav-links li.lang-switcher {
    margin: 8px 0;
    padding: 14px 0;
    gap: 8px;
  }
  .nav-panel .nav-links li.lang-switcher .lang-link {
    font-size: 14px;
    padding: 8px 14px;
    border: 1px solid var(--rule);
    border-radius: 980px;
  }
  .nav-panel .nav-links li.lang-switcher .lang-link.active {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
  }
  .nav-panel .nav-links li.lang-switcher .lang-divider { display: none; }

  .nav-panel .nav-links li .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    margin-top: 8px;
  }

  /* Backdrop quando aberto */
  body:has(.nav-panel.is-open)::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    z-index: 1;
    pointer-events: none;
  }
}

/* ============ PAGE HERO (centrado, aerado, tipo Apple) ============ */
.page-hero {
  padding: 140px 0 80px;
  text-align: center;
  overflow: hidden;

  &.on-soft {
    background: var(--soft);
  }
}
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 {
  font-size: clamp(48px, 7vw, 70px);
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.page-hero h1 .accent {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero .lede {
  font-size: clamp(19px, 2.2vw, 20px);
  color: var(--muted);
  max-width: 680px;
  line-height: 1.4;
  margin: 0 auto 32px;
  font-weight: 400;
}
.page-hero .ctas {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.page-hero-image, .page-hero-image-sm {
  max-width: 1120px;
  margin: 50px auto 0;
  padding: 0 22px;
  animation: moveImage 5s ease-in-out infinite alternate;
}
.page-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 1000px;
  margin: 0 auto;
}

.page-hero-image-sm img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 500px;
  margin: 0 auto;
}

@keyframes moveImage {
  0% {
    transform: translateY(0);
}
50% {
    transform: translateY(20px);
}
100% {
    transform: translateY(0);
}
}

/* ============ SECTION HEADER (centrado) ============ */
.section-header {  text-align: center; }
.section-header .eyebrow { margin-bottom: 14px; }
.section-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
  max-width: 900px;
  margin: 0 auto 16px;
}
.section-title .accent {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-lede {
  font-size: 21px;
  color: var(--muted);
  line-height: 1.45;
  max-width: 720px;
  margin: 0 auto;
  font-weight: 400;
}

/* ============ SHOWCASE (hero de produto Apple) ============ */
.showcase {
  padding: 30px 0 0 30px;
  background: #F3F3F3 url(../img/Vector.png);
  border-radius: 26px;
  background-position: right;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;

  @media (max-width: 900px) {
    padding: 0;
  }

  &:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  &.action {
    &:hover {
      background-color: #C9C9E5;
      transition: background-color 0.3s ease;
    }
  }

  &.sense {
    &:hover {
      background-color: var(--black);
      transition: background-color 0.3s ease;

      .showcase-tag, 
      .showcase-title,
      .showcase-ctas a,
      .showcase-ctas a .arrow {
        color: #FFFFFF;
        transition: color 0.3s ease;
      }

      .btn-ghost {
        border-color: #FFFFFF;
      }
    }
  }
}
.showcase .grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
    align-items: end;

    .text {
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding-bottom: 15px;
    }

    @media (max-width: 900px) {
      grid-template-columns: 1fr;

      .text {
        padding: 30px 20px 20px;
      }
    }
}
.showcase.on-soft { background: var(--soft); }
.showcase.on-paper { background: var(--paper); }
.showcase.dark { background: var(--black); color: #fff; }
.showcase.dark .showcase-title,
.showcase.dark h2 { color: #fff; }
.showcase.dark .showcase-tag,
.showcase.dark p { color: rgba(255, 255, 255, 0.75); }

.showcase-title {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 16px;
  color: var(--ink);

  @media (max-width: 900px) {
    font-size: 24px;
  }
}
.showcase-tag {
  font-size: 16px;
  color: var(--muted);
  margin: 0 auto 28px;
  font-weight: 400;
  line-height: 1.4;

  @media (max-width: 900px) {
    font-size: 14px;
  }
}
.showcase-ctas {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;

  @media (max-width: 900px) {
    flex-direction: column;
    gap: 16px;
  }
}

.showcase-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
}

.showcase .gradient {
  background: linear-gradient(135deg, var(--brand-green-soft), var(--brand-green-bright)); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* ============ FEATURES ============ */
.features-section { padding: 100px 0; background: var(--paper); }
.features-section.on-off { background: var(--off); padding: 100px 0; }
.features-section.on-soft { background: var(--soft); padding: 100px 0; }
.features-grid, .features-section .splide.is-initialized:not(.is-active) .splide__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 60px;
}
.features-grid.two { grid-template-columns: repeat(2, 1fr); }
.features-grid.two ul { padding: 0;}
.feat-card {
  background: var(--off);
  padding: 40px 32px;
  border-radius: 20px;
  border: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.features-section.on-off .feat-card { background: var(--paper); }
.feat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.feat-number {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-green);
  margin-bottom: 16px;
  display: block;
}
.feat-card h4 {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.feat-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
}
@media (max-width: 900px) {
  .features-grid:not(.splide__list), .features-grid.two:not(.splide__list) {
    grid-template-columns: 1fr;
  }
}

/* uSense — benefícios carousel (mobile) */
.features-splide {
  margin-top: 60px;
}
.features-splide .features-grid {
  margin-top: 0;
}
.features-splide .splide__slide {
  height: auto;
}
.features-splide .feat-card {
  height: 100%;
}
.features-splide .splide__pagination {
  position: relative;
  bottom: auto;
  margin-top: 28px;
  gap: 8px;
}
.features-splide .splide__pagination__page {
  width: 8px;
  height: 8px;
  background: var(--line);
  opacity: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}
.features-splide .splide__pagination__page.is-active {
  background: var(--brand-green);
  transform: scale(1.2);
}

/* ============ QUOTES ============ */
.quotes-section { padding: 100px 0; background: var(--off); }
.quote-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 60px;
}
.quote-card {
  background: var(--paper);
  padding: 36px 32px 36px 44px;
  border-radius: 20px;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.4;
  letter-spacing: -0.015em;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
}
.quote-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.quote-card::before {
  content: ' ';
  position: absolute;
  top: 40px; left: 28px;
  width: 3px;
  height: 24px;
  background: var(--brand-green);
  border-radius: 2px;
}
@media (max-width: 768px) { .quote-list { grid-template-columns: 1fr; } }

/* ============ SPLIT ============ */
.split-section { padding: 100px 0; background: var(--paper);
&.padding { padding: 100px 0 0; } }
.split-section.on-soft { background: var(--soft);  }
.split-section.on-gradient { background: linear-gradient(135deg, #1A0D8F 0%, #07092E 100%, #1A0D8F 100%); color: #fff; }
.split-section.on-gradient h2 { color: #fff; }
.split-section.on-gradient p { color: rgba(255, 255, 255, 0.75); }
.split-section.on-off { background: var(--off); }
.split-section.on-dark { background: var(--black); color: #fff; }
.split-section.on-dark h2 { color: #fff; }
.split-section.on-dark p { color: rgba(255, 255, 255, 0.75); }

@media (max-width: 768px) { .split-section .split-text { text-align: center; } }

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.split-visual.on-soft {
  background: var(--soft);
  padding: 40px 40px 0;
  border-radius: 20px;
}

.split-grid.reverse { direction: rtl; }
.split-grid.reverse > * { direction: ltr; }
.split-visual img { width: 100%; height: auto; border-radius: 20px; display: block; }
.split-text h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.split-text .eyebrow { margin-bottom: 14px; display: block; }
.split-text p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.5;
  max-width: 500px;
}
.split-text .btn { margin-top: 20px; }
@media (max-width: 900px) {
  .split-grid, .split-grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 50px;
  }
}

/* ============ CTA FINAL ============ */
.cta-final {
  padding: 140px 0;
  background: var(--black);
  color: #fff;
  text-align: center;
}
.cta-final .eyebrow { color: var(--brand-green-bright); margin-bottom: 18px; }
.cta-final h2 {
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
  color: #FFFFFF !important;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.cta-final h2 .accent {
  background: linear-gradient(135deg, var(--brand-green-soft) 0%, var(--brand-green-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-final p {
  font-size: 21px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.45;
}
.cta-btns {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

/* ============ TRUST BAR ============ */
.trust-bar { padding: 100px 0; background: var(--paper); text-align: center; }
.trust-label { font-size: 15px; color: var(--muted); margin-bottom: 48px; }
.trust-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto;
}
.trust-stat .num {
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.trust-stat .label { font-size: 14px; color: var(--muted); font-weight: 400; }

/* Pillar variant: tÃ­tulo de texto com descriÃ§Ã£o (sem nÃºmero grande) */
.trust-stat.pillar { padding: 0 12px; }
.trust-stat.pillar .pillar-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-green) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  box-shadow: 0 6px 18px rgba(29, 33, 103, 0.18);
}
.trust-stat.pillar .pillar-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 6px;
}
.trust-stat.pillar .pillar-desc {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .trust-stats { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .trust-stat.pillar .pillar-icon { width: 48px; height: 48px; font-size: 20px; }
  .trust-stat.pillar .pillar-title { font-size: 16px; }
}

/* ============ MANIFESTO ============ */
.manifesto {
  padding: 100px 0;
  background: var(--black);
  color: #fff;
  text-align: center;

  &.on-gradient { background: linear-gradient(135deg, #1A0D8F 0%, #07092E 100%, #1A0D8F 100%); color: #fff; }
}
.manifesto .eyebrow { color: var(--brand-green-bright); margin-bottom: 32px; }
.manifesto-text {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 960px;
  margin: 0 auto;
  color: #FFFFFF !important;
}
.manifesto-text p { margin-bottom: 18px; }
.manifesto-text p:last-child {
  margin-bottom: 0;
  color: var(--brand-green-soft) !important;
}
.manifesto-text .hl { color: var(--brand-green-soft); }

/* ============ ROTINA ============ */
.rotina-section { padding: 100px 0; background: var(--soft); margin-top: 100px; }
.rotina-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
.rotina-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
  margin-top: 14px;
  margin-bottom: 20px;
}
.rotina-lede { font-size: 17px; color: var(--muted); line-height: 1.45; max-width: 460px; }
.rotina-list { list-style: none; padding: 0; }
.rotina-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.rotina-list li:last-child { border-bottom: none; }
@media (max-width: 900px) {
  .rotina-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============ SETORES ============ */
.setores-section { padding: 100px 0; background: var(--soft); }
.setores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 50px;
}
.setor-card {
  background: var(--soft);
  padding: 32px 20px;
  border-radius: 18px;
  text-align: center;
  transition: transform 0.3s ease;
}
.setor-card:hover { transform: translateY(-2px); }
.setor-card img {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  display: block;
}
.setor-card .setor-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
@media (max-width: 800px) { .setores-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============ CLIENTES ============ */
.clientes-section { padding: 100px 0; background: var(--off); }
.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 50px;
}
.logo-cell {
  background: var(--paper);
  padding: 32px 20px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  transition: transform 0.3s ease;
}
.logo-cell:hover { transform: translateY(-2px); }
.logo-cell img {
  max-height: 48px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.55);
  transition: filter 0.3s ease;
}
.logo-cell:hover img { filter: grayscale(0%) opacity(1); }
@media (max-width: 900px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============ FEATURED VIDEO ============ */
.video-section {

}
.video-section .container {
  max-width: 1080px;
  padding: 0 22px;
  margin: 0 auto;
}
.video-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1), box-shadow 0.4s ease;
  border: none;
  padding: 0;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 80px rgba(0,0,0,0.24);
}
.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.92;
  transition: opacity 0.3s ease, transform 0.6s ease;
}
.video-card:hover img {
  opacity: 1;
  transform: scale(1.03);
}
.video-card .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1), background 0.3s ease;
}
.video-card:hover .play-button {
  transform: translate(-50%, -50%) scale(1.08);
  background: #fff;
}
.video-card .play-button::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent var(--brand);
  margin-left: 5px;
}
.video-card .video-caption {
  position: absolute;
  bottom: 24px;
  left: 28px;
  right: 28px;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.35;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  pointer-events: none;
}
.video-card .video-caption .eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 8px;
  text-transform: uppercase;
}
@media (max-width: 700px) {
  .video-card .play-button { width: 64px; height: 64px; }
  .video-card .play-button::before { border-width: 10px 0 10px 16px; }
  .video-card .video-caption { font-size: 15px; bottom: 16px; left: 18px; right: 18px; }
}

/* ============ VIDEO LIGHTBOX MODAL ============ */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.video-modal.is-open {
  display: flex;
  opacity: 1;
}
.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,0.5);
}
.video-modal-content iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-modal-close {
  position: absolute;
  top: -52px;
  right: 0;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  line-height: 1;
}
.video-modal-close:hover {
  background: rgba(255,255,255,0.25);
}
@media (max-width: 700px) {
  .video-modal { padding: 12px; }
  .video-modal-close { top: -46px; width: 36px; height: 36px; font-size: 20px; }
}

/* ============ USENSE SHOWCASE VIDEO ============ */
.usense-showcase-video {
  padding: 100px 0;
  background: var(--paper);
}
.usense-showcase-video .split-text h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--ink);
}
.usense-showcase-video .split-text p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 32px;
}
.usense-showcase-video .showcase-ctas {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.usense-showcase-video__visual {
  padding: 0;
  background: transparent;
}
.usense-showcase-video__visual .uaction-video-player {
  max-width: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}
@media (max-width: 900px) {
  .usense-showcase-video { padding: 72px 0; }
  .usense-showcase-video .split-text p { max-width: none; }
  .usense-showcase-video .showcase-ctas { align-items: stretch; }
  .usense-showcase-video .showcase-ctas .btn { justify-content: center; }
}

/* ============ UACTION IMPACT VIDEO ============ */
.uaction-impact-video {
  padding: 100px 0 110px;
  background: radial-gradient(ellipse 80% 70% at 50% 40%, #1a1578 0%, #0d0f3a 45%, #07092e 100%);
  border-radius: 28px 28px 0 0;
  color: #fff;
  text-align: center;
}
.uaction-impact-video__title {
  max-width: 820px;
  margin: 0 auto 48px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
}
.uaction-video-player {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.uaction-video-player__media {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}
.uaction-video-player__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background 0.3s ease;
}
.uaction-video-player__play:hover {
  background: rgba(0, 0, 0, 0.12);
}
.uaction-video-player__play .play-button {
  position: static;
  transform: none;
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1), background 0.3s ease;
}
.uaction-video-player__play .play-button::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent var(--brand);
  margin-left: 5px;
}
.uaction-video-player__play:hover .play-button {
  transform: scale(1.08);
  background: #fff;
}
.uaction-video-player.is-playing .uaction-video-player__play {
  opacity: 0;
  pointer-events: none;
}
.uaction-video-player.is-playing .uaction-video-player__media {
  cursor: pointer;
}
@media (max-width: 700px) {
  .uaction-impact-video { padding: 72px 0 80px; border-radius: 20px 20px 0 0; }
  .uaction-impact-video__title { margin-bottom: 32px; }
  .uaction-video-player__play .play-button { width: 64px; height: 64px; }
  .uaction-video-player__play .play-button::before { border-width: 10px 0 10px 16px; }
}

/* ============ DATA INTELLIGENCE HUB ============ */
.hub-section {
  padding: 140px 0;
  background: var(--paper);
  position: relative;
}
.hub-header {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 80px;
}
.hub-header .eyebrow { margin-bottom: 18px; }
.hub-header h2 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 20px;
}
.hub-header h2 .accent {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hub-header p {
  font-size: 21px;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 400;
}

.hub-grid {
  display: flex;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.hub-card {
  background: var(--off);
  border-radius: 18px;
  padding: 32px 28px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 32%;
}
.hub-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.hub-card .hub-num {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-green);
  margin-bottom: 14px;
  display: block;
  letter-spacing: -0.005em;
}
.hub-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.hub-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* Card destacado da 7Âª camada (governanÃ§a) */
.hub-card.feature {
  grid-column: span 4;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  padding: 40px 36px;
  display: flex;
  align-items: center;
  gap: 36px;
  width: 100%;
}
.hub-card.feature .hub-num { color: var(--brand-green-soft); margin-bottom: 8px; }
.hub-card.feature h4 { color: #fff; font-size: 24px; margin-bottom: 8px; }
.hub-card.feature p { color: rgba(255, 255, 255, 0.85); font-size: 15px; max-width: 640px; }
.hub-card.feature .feature-content { flex: 1; }
.hub-card.feature .feature-cta {
  flex-shrink: 0;
}

.hub-summary {
  text-align: center;
  margin-top: 60px;
  padding: 0 22px;
}
.hub-summary p {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  letter-spacing: -0.02em;
  max-width: 880px;
  margin: 0 auto;
}
.hub-summary p .accent {
  color: var(--brand-green);
}

@media (max-width: 1000px) { .hub-grid { grid-template-columns: repeat(2, 1fr); } .hub-card.feature { grid-column: span 2; } }
@media (max-width: 600px) {
  .hub-card { width: 47%;
    padding: 16px; }
  .hub-card.feature { grid-column: span 1; flex-direction: column; align-items: flex-start; gap: 20px; }
  .hub-section { padding: 100px 0; }
}

/* ============ PÃGINA PLATAFORMA (tÃ©cnica) ============ */
.tech-diagram-section {
  padding: 60px 0 100px;
  background: var(--paper);
}
.tech-diagram-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 22px;
}
.tech-diagram-card {
  background: var(--off);
  border-radius: 24px;
  padding: 40px 32px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tech-diagram-card img {
  display: block;
  width: 100%;
  min-width: 1000px;
  height: auto;
  margin: 0 auto;
}
.tech-diagram-caption {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-top: 24px;
  font-style: italic;
}

/* Layers detail (sequÃªncia das camadas) */
.layers-detail {
  padding: 100px 0;
  background: var(--off);
}
.layer-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 36px;
  padding: 36px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.layer-item:last-child { border-bottom: none; }
.layer-num {
  font-size: 56px;
  font-weight: 600;
  color: var(--brand-green);
  line-height: 1;
  letter-spacing: -0.02em;
}
.layer-content h3 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.layer-content .layer-tag {
  font-size: 13px;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
}
.layer-content p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 720px;
}
.layer-content ul {
  list-style: none;
  margin-top: 16px;
  padding: 0;
}
.layer-content li {
  padding: 8px 0;
  position: relative;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}
.layer-content li::before {
  content: "—";
    left: 0;
    color: var(--brand-green);
    font-weight: 600;
    margin-right: 10px;
}
.layer-item.governance {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-green) 100%);
  color: #fff;
  border-radius: 24px;
  padding: 48px 36px;
  margin: 32px 0;
  border: none;
}
.layer-item.governance .layer-num { color: var(--brand-green-soft); }
.layer-item.governance h3 { color: #fff; }
.layer-item.governance .layer-tag { color: var(--brand-green-soft); }
.layer-item.governance p { color: rgba(255, 255, 255, 0.85); }
.layer-item.governance li { color: rgba(255, 255, 255, 0.85); }
.layer-item.governance li::before { color: var(--brand-green-soft); }

@media (max-width: 700px) {
  .layer-item { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .layer-num { font-size: 36px; }
}

/* ============ FORMULÃRIO ============ */
.form-section { padding: 80px 0 120px; background: var(--paper); }
.form-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}
.form-card { background: var(--off); border-radius: 24px; padding: 48px; }
.form-card h2 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 14px 0 10px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-field { margin-bottom: 14px; }
.form-card label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: none; border-color: var(--brand); }
.form-field textarea { resize: vertical; }
.form-disclaimer {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.contact-stack { display: flex; flex-direction: column; gap: 14px; }
.contact-card { padding: 24px 28px; background: var(--off); border-radius: 16px; }
.contact-card .c-label { font-size: 12px; color: var(--muted); font-weight: 500; margin-bottom: 6px; }
.contact-card .c-value { font-size: 18px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.contact-card a { color: var(--ink); text-decoration: none; }
.contact-card.highlight { background: var(--brand); color: #FFFFFF; }
.contact-card.highlight .c-label { color: rgba(255,255,255,0.8); }
.contact-card.highlight .c-value { color: #FFFFFF; }
.contact-card .c-value-secondary {
  font-size: 15px;
  font-weight: 400;
  margin-top: 4px;
}
.contact-card .c-value-location {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}
.channels-heading {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 14px 0 24px;
}
.contact-card .c-value-support { margin-bottom: 14px; }

.upquery-cf7-placeholder {
  padding: 20px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.04);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Contact Form 7 — layout alinhado ao standalone */
.hidden-fields-container { visibility: hidden;}
.upquery-cf7-wrap .wpcf7 { margin: 0; }
.upquery-cf7-wrap .wpcf7-form { display: block; }
.upquery-cf7-wrap .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 0;
}

.upquery-cf7-wrap,
.upquery-lahar-form {
  margin-top: 24px;
}
.upquery-lahar-form iframe {
  display: block;
  width: 100%;
  border: none;
  background: transparent;
}
.upquery-cf7-wrap .form-field { margin-bottom: 14px; }
.upquery-cf7-wrap .form-field label,
.upquery-cf7-wrap label span {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.upquery-cf7-wrap input[type="text"],
.upquery-cf7-wrap input[type="email"],
.upquery-cf7-wrap input[type="tel"],
.upquery-cf7-wrap input[type="url"],
.upquery-cf7-wrap select,
.upquery-cf7-wrap textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}
.upquery-cf7-wrap input:focus,
.upquery-cf7-wrap select:focus,
.upquery-cf7-wrap textarea:focus {
  outline: none;
  border-color: var(--brand);
}
.upquery-cf7-wrap textarea { resize: vertical; max-height: 110px; }
.upquery-cf7-wrap .wpcf7-submit,
.upquery-cf7-wrap input[type="submit"] {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
  cursor: pointer;
  background-color: var(--brand);
  color: #fff;
  border: 0;
  padding: 13px 16px;
  border-radius: 30px;

}
.upquery-cf7-wrap .wpcf7-spinner { margin: 12px auto 0; display: block; }
.upquery-cf7-wrap .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
}
.upquery-cf7-wrap .wpcf7-not-valid-tip {
  font-size: 12px;
  margin-top: 4px;
  color: #b42318;
}
.upquery-cf7-wrap .wpcf7-not-valid {
  border-color: #b42318 !important;
}

@media (max-width: 900px) {
  .form-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 32px 24px; }
  .upquery-cf7-wrap .form-row { grid-template-columns: 1fr; }
}

/* ============ FOOTER ============ */
footer {
  background: #F5F5F7;
  color: var(--muted);
  padding: 60px 0 32px;
  font-size: 13px;
}
.footer-inner { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer-brand .logo-mark {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-brand .logo-mark .uq-symbol { width: 28px; }
.footer-brand .logo-mark span { color: var(--brand-green); }
.footer-tagline { color: var(--brand-green); font-weight: 500; font-size: 13px; margin-bottom: 18px; }
.footer-brand p { font-size: 12px; color: var(--muted); line-height: 1.6; }
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--brand-green);
  font-size: 18px;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.footer-social a i {
  color: inherit;
  transition: color 0.2s ease;
}
.footer-social a:hover {
  color: #fff;
  background: var(--brand-green);
  transform: translateY(-2px);
}
.footer-social a:hover i {
  color: #fff;
}
.footer-col h5 {
  font-size: 12px;
  color: var(--ink);
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.footer-bottom a { color: var(--muted); text-decoration: none; margin-left: 18px; }
.footer-bottom a:hover { color: var(--ink); }
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; gap: 0}
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.32, 0.72, 0, 1), box-shadow 0.25s ease, background 0.2s ease;
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  background: #20bd5a;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
  color: #fff;
}
.whatsapp-float__icon {
  display: block;
}
@media (max-width: 700px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }
  .whatsapp-float__icon {
    width: 26px;
    height: 26px;
  }
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in { opacity: 1; transform: none; }

#page-blog .header-blog {
  background: var(--soft);
  padding: 130px 0 80px;
  margin-bottom: 80px;
}

@media(max-width: 1024px) {
  #page-blog .header-blog {
      padding:0 0 20px
  }
}

#page-blog .header-blog #searchform {
  background: #fff;
  border-radius: 80px;
  margin: auto;
  max-width: 900px;
  padding: 18px 30px;
  width: 90%
}

#page-blog .header-blog #searchform .search-wp-class {
  display: flex;
  justify-content: space-between
}

#page-blog .header-blog #searchform .search-wp-class input {
  font-size: 15px;
  width: 90%;
  border: 0;
}

#page-blog .header-blog #searchform .search-wp-class button {
  background: transparent;
  border: 0;
  padding: 0
}

#page-blog .header-blog h1 {
  font: 0 sans-serif;
  margin: 0
}

#page-blog .header-blog.search-header {
  margin-bottom: 60px;
  padding: 100px 0 40px;
}

#page-blog .header-blog.search-header h1 {
  font-size: 32px;
  margin-bottom: 30px;
  text-align: center
}

#page-blog .meta-info {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-green);
  display: inline-block;
}

#page-blog .meta-info span {
  align-items: center;
  display: flex;
  gap: 10px
}

#page-blog .meta-info span img {
  border-radius: 100%;
  height: 23px;
  object-fit: cover;
  width: 23px
}

#page-blog p {
  color: #55566c;
  margin: 20px 0 0
}

#page-blog h2 {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
  max-width: 900px;
  margin: 0 auto 16px;
}

#page-blog h3 {
  margin: 0 0 10px;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
  max-width: 900px;
  margin: 0 auto 16px;
}

#page-blog .blog-permalink {
  display: inline-flex;
  width: fit-content;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: 980px;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
    white-space: nowrap;
    letter-spacing: -0.003em;
    line-height: 1.2;
    background: var(--brand);
    color: #FFFFFF !important;
}

#page-blog .blog-permalink:hover {
  background-color: #70b22b;
  color: #fff;
  gap: 15px;
  transition: all .2s linear
}

#page-blog .blog-permalink:hover svg path {
  stroke: #fff
}

#page-blog .posts-sidebar {
  padding-bottom: 80px
}

#page-blog .loop-blog-first {
  align-items: center;
  background: var(--paper);
  border-radius: 24px;
  display: flex;
  gap: 56px;
  margin: 60px 0;
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  &:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }
}

@media(max-width: 915px) {
  #page-blog .loop-blog-first {
      flex-direction:column-reverse;
      gap: 20px
  }
}

#page-blog .loop-blog-first img.first-loop-img {
  border-radius: 8px;
  height: 400px;
  max-width: 550px;
  object-fit: cover;
  width: 40%
}

@media(max-width: 915px) {
  #page-blog .loop-blog-first img.first-loop-img {
      height:200px;
      max-width: 100%;
      width: 100%
  }
}

#page-blog .loop-blog-first .content-blog {
  display: flex;
  flex-direction: column;
  gap: 17px;
  padding: 0 30px
}

@media(max-width: 915px) {
  #page-blog .loop-blog-first .content-blog {
      padding:0
  }
}

#page-blog .loop-blog-first .content-blog a {
  color: #1d1f3a
}

#page-blog .loop-blog-first .content-blog .blog-permalink {
  color: #70b22b
}

#page-blog .loop-blog-first .content-blog .blog-permalink:hover {
  color: #fff
}

#page-blog .loop-posts h3 {
  color: var(--text);
  font-size: 35px;
  font-weight: 700;
  text-align: center
}

#page-blog .loop-posts .flex-itens {
  margin-top: 55px
}

@media(max-width: 1023px) {
  #page-blog .loop-posts .flex-itens {
      display: flex;
      gap: 16px;
      margin-left: -22px;
      margin-right: -22px;
      overflow-x: auto;
      padding: 0 22px 16px;
      scroll-padding-left: 22px;
      scroll-snap-type: x mandatory;
      scrollbar-width: none;
      -webkit-overflow-scrolling: touch
  }

  #page-blog .loop-posts .flex-itens::-webkit-scrollbar {
      display: none
  }
}

@media(min-width: 1024px) {
  #page-blog .loop-posts .flex-itens {
      display:grid;
      gap: 24px;
      grid-template-columns: repeat(3,1fr)
  }
}

#page-blog .loop-posts .flex-itens .loop-blog-third {
  background-color: #fff;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 24px 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  &:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }
}

@media(max-width: 1023px) {
  #page-blog .loop-posts .flex-itens .loop-blog-third {
      flex: 0 0 min(86vw, 360px);
      scroll-snap-align: start
  }
}

#page-blog .loop-posts .flex-itens .loop-blog-third img.third-loop-img {
  border-radius: 8px;
  height: 140px;
  margin-bottom: 20px;
  object-fit: cover;
  width: 100%
}

@media(min-width: 1024px) {
  #page-blog .loop-posts .flex-itens .loop-blog-third img.third-loop-img {
      height:240px
  }
}

#page-blog .loop-posts .flex-itens h4 {
  color: #1d1f3a;
  margin: 10px 0 15px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
}

#page-blog .loop-posts .flex-itens .blog-permalink {
  margin: 20px 0 0
}

@media(min-width: 1024px) {
  #page-blog .loop-posts .flex-itens .blog-permalink {
      margin-top:auto
  }
}

#page-blog .loop-posts .flex-itens p {
  margin: 0
}

@media(min-width: 1024px) {
  #page-blog .loop-posts .flex-itens p {
      margin:0 0 10px
  }
}

#page-blog .loop-posts .flex-itens .slick-track {
  display: flex
}

#page-blog .loop-posts .flex-itens .slick-track .slick-slide {
  height: auto;
  margin: 10px
}

#page-blog .loop-posts .flex-itens .slick-track .slick-slide>div,#page-blog .loop-posts .flex-itens .slick-track .slick-slide>div .loop-blog-third {
  height: 100%
}

#page-blog .loop-posts .flex-itens .slick-dots {
  margin-top: 20px
}

#page-blog .filtros {
  padding: 0 0 80px;
}

#page-blog .filtros h5 {
  color: #55566c;
  margin: 0;
  text-align: center
}

#page-blog .filtros ul {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  list-style: none;
  margin-top: 30px;
  padding: 0
}

#page-blog .filtros ul a {
  border: 1px solid var(--brand);
  border-radius: 32px;
  color: #1d1f3a;
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 15px;
  text-decoration: none;
  transition: all .2s linear
}

#page-blog .filtros ul a:hover {
  background: linear-gradient(135deg, #1A0D8F 0%, #07092E 100%, #1A0D8F 100%);
  color: #fff;
  transition: all .2s linear
}

#page-blog .posts-sidebar .container {
  display: grid;
  gap: 30px
}

@media(min-width: 1024px) {
  #page-blog .posts-sidebar .container {
      grid-template-columns:1fr 300px;
      align-items: start;
  }
}

#page-blog .posts-sidebar .container h3 {
  font-weight: 600;
  margin-bottom: 40px;
  font-size: 22px;
}

#page-blog .posts-sidebar .container .lista-posts {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(2,1fr)
}

@media(max-width: 1024px) {
  #page-blog .posts-sidebar .container .lista-posts {
      grid-template-columns:repeat(2,1fr);
      gap: 15px;
  }
}

#page-blog .posts-sidebar .container .lista-posts .loop-blog {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 24px 16px;
    border-radius: 24px;
    background: var(--paper);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    &:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-md);
    }
}

#page-blog .posts-sidebar .container .lista-posts .loop-blog img.img-loop-post {
  border-radius: 8px;
  height: 200px;
  object-fit: cover;
  width: 100%;

  @media(max-width: 468px) {
    height: 130px;
  }
}

#page-blog .posts-sidebar .container .lista-posts .loop-blog h4 {
  color: #1d1f3a;
  font-size: 16px;
  margin: 0
}

#page-blog .posts-sidebar .container .lista-posts .loop-blog p {
  margin: 10px 0 20px;
  font-size: 14px;
}

#page-blog .posts-sidebar .container .lista-posts .loop-blog .blog-permalink {
  margin-top: auto;
  font-size: 14px;

  @media(max-width: 468px) {
    font-size: 13px;
    padding: 10px 16px;
  }
}

#page-blog .posts-sidebar .container .load-more-wrap {
  margin-top: 40px;
  text-align: center
}

#page-blog .posts-sidebar .container .sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--off);
  padding: 20px;
  border-radius: 20px;
}

#page-blog .posts-sidebar .container .sidebar h3 {
  color: #1d1f3a;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px
}

#page-blog .posts-sidebar .container .sidebar .btn-main {
  align-items: center;
  border-radius: 30px;
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 12px 5px;
  background: linear-gradient(135deg, #1A0D8F 0%, #07092E 100%, #1A0D8F 100%);
  color: #fff;
  font-size: 14px;
  transition: all .2s linear;

  &:hover {
    transform: scale(1.01);
    transition: all .2s linear;
  }
}

#page-blog .posts-sidebar .container .sidebar .linha {
  border-bottom: 1px solid #a5a5ad40;
  height: 1px;
  width: 100%
}

#page-blog .posts-sidebar .container .sidebar .search-wp-class {
  align-items: center;
  border-radius: 50px;
  box-shadow: 0 4px 22px rgba(0,0,0,.161);
  display: flex;
  justify-content: space-between;
  padding: 12px 24px;
  width: 100%
}

#page-blog .posts-sidebar .container .sidebar .search-wp-class input {
  width: calc(100% - 40px);
  border: none;
}

#page-blog .posts-sidebar .container .sidebar .search-wp-class button {
  background-color: transparent;
  padding: 0;
  border: none;
}

#page-blog .posts-sidebar .container .sidebar ul {
  list-style: none;
  padding: 0
}

#page-blog .posts-sidebar .container .sidebar ul li {
  align-items: center;
  display: flex;
  gap: 10px;
  position: relative
}

#page-blog .posts-sidebar .container .sidebar ul li:before {
  background-image: url(../img/icon-list.svg);
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  display: inline-block;
  height: 27px;
  width: 26px
}

#page-blog .posts-sidebar .container .sidebar ul li a {
  color: #70b22b;
  font-size: 20px;
  font-weight: 600
}

#page-blog .posts-sidebar .container .sidebar ul li a:hover {
  text-decoration: underline
}

#page-blog .posts-sidebar .container .sidebar .loop-blog-third {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 80px 1fr;
  margin-bottom: 15px
}

#page-blog .posts-sidebar .container .sidebar .loop-blog-third img {
  border-radius: 8px;
  height: 80px;
  object-fit: cover;
  width: 80px
}

#page-blog .posts-sidebar .container .sidebar .loop-blog-third h4 {
  color: #55566c;
  font-size: 14px;
  margin: 0
}

#page-blog .posts-sidebar .container .sidebar .loop-blog-third .data {
  color: #a5a5ad;
  font-size: 12px
}

#page-upnews .header-blog h1 {
  font: 0 sans-serif;
  margin: 0;
  text-align: center
}

#page-upnews .meta-info {
  align-items: center;
  color: #55566c;
  display: flex;
  font-size: 12px
}

#page-upnews .meta-info span {
  align-items: center;
  display: flex;
  gap: 10px
}

#page-upnews .meta-info span img {
  border-radius: 100%;
  height: 23px;
  object-fit: cover;
  width: 23px
}

#page-upnews p {
  color: #55566c;
  margin: 20px 0 0
}

#page-upnews .blog-permalink {
  align-items: center;
  border: 1px solid #70b22b;
  border-radius: 32px;
  color: #70b22b;
  display: flex;
  font-weight: 500;
  gap: 10px;
  padding: 10px 20px;
  text-decoration: none;
  transition: all .2s linear;
  width: max-content
}

#page-upnews .blog-permalink:hover {
  background-color: #70b22b;
  color: #fff;
  gap: 15px;
  transition: all .2s linear
}

#page-upnews .blog-permalink:hover svg path {
  stroke: #fff
}

#page-upnews .posts-sidebar {
  padding-bottom: 80px
}

#page-upnews .loop-blog-first {
  align-items: center;
  background: linear-gradient(134deg,#1a0d8f,#07092e 50%,#1a0d8f);
  border-radius: 24px;
  color: #fff;
  display: flex;
  gap: 56px;
  margin: 60px 0;
  padding: 16px
}

@media(max-width: 915px) {
  #page-upnews .loop-blog-first {
      flex-direction:column-reverse;
      gap: 20px
  }
}

#page-upnews .loop-blog-first img.first-loop-img {
  border-radius: 8px;
  height: 470px;
  max-width: 550px;
  object-fit: cover;
  width: 40%
}

@media(max-width: 915px) {
  #page-upnews .loop-blog-first img.first-loop-img {
      height:200px;
      max-width: 100%;
      width: 100%
  }
}

#page-upnews .loop-blog-first .content-blog {
  display: flex;
  flex-direction: column;
  gap: 17px;
  padding: 0 30px
}

@media(max-width: 915px) {
  #page-upnews .loop-blog-first .content-blog {
      padding:0
  }
}

#page-upnews .loop-blog-first .content-blog .meta-info,#page-upnews .loop-blog-first .content-blog a,#page-upnews .loop-blog-first .content-blog p {
  color: #fff
}

#page-upnews .loop-blog-first .content-blog .blog-permalink {
  color: #70b22b
}

#page-upnews .loop-blog-first .content-blog .blog-permalink:hover {
  color: #fff
}

#page-upnews .loop-posts h3 {
  color: #70b22b;
  font-size: 44px;
  font-weight: 700;
  text-align: center
}

#page-upnews .loop-posts .flex-itens {
  margin-top: 55px
}

@media(min-width: 1024px) {
  #page-upnews .loop-posts .flex-itens {
      display:grid;
      gap: 24px;
      grid-template-columns: repeat(3,1fr)
  }
}

#page-upnews .loop-posts .flex-itens .loop-blog-third {
  background: linear-gradient(134deg,#1a0d8f,#07092e 50%,#1a0d8f);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 24px 16px
}

#page-upnews .loop-posts .flex-itens .loop-blog-third img.third-loop-img {
  border-radius: 8px;
  height: 140px;
  margin-bottom: 20px;
  object-fit: cover;
  width: 100%
}

@media(min-width: 1024px) {
  #page-upnews .loop-posts .flex-itens .loop-blog-third img.third-loop-img {
      height:240px
  }
}

#page-upnews .loop-posts .flex-itens h4 {
  color: #fff;
  margin: 15px 0 8px
}

#page-upnews .loop-posts .flex-itens .blog-permalink {
  margin: 20px 0 0
}

@media(min-width: 1024px) {
  #page-upnews .loop-posts .flex-itens .blog-permalink {
      margin-top:auto
  }
}

#page-upnews .loop-posts .flex-itens .meta-info {
  color: #fff
}

#page-upnews .loop-posts .flex-itens p {
  color: #fff;
  margin: 0
}

@media(min-width: 1024px) {
  #page-upnews .loop-posts .flex-itens p {
      margin:0 0 10px
  }
}

#page-upnews .loop-posts .flex-itens .slick-track {
  display: flex
}

#page-upnews .loop-posts .flex-itens .slick-track .slick-slide {
  height: auto;
  margin: 10px
}

#page-upnews .loop-posts .flex-itens .slick-track .slick-slide>div,#page-upnews .loop-posts .flex-itens .slick-track .slick-slide>div .loop-blog-third {
  height: 100%
}

#page-upnews .loop-posts .flex-itens .slick-dots {
  margin-top: 20px
}

#page-upnews .filtros {
  padding: 80px 0
}

#page-upnews .filtros h5 {
  color: #55566c;
  margin: 0;
  text-align: center
}

#page-upnews .filtros ul {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  list-style: none;
  margin-top: 30px;
  padding: 0
}

#page-upnews .filtros ul a {
  border: 1px solid #1d1f3a;
  border-radius: 32px;
  color: #1d1f3a;
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 15px;
  text-decoration: none;
  transition: all .2s linear
}

#page-upnews .filtros ul a:hover {
  background-color: #1d1f3a;
  color: #fff;
  transition: all .2s linear
}

#page-upnews .posts-sidebar {
  margin-top: 60px
}

#page-upnews .posts-sidebar .container {
  display: grid;
  gap: 30px
}

@media(min-width: 1024px) {
  #page-upnews .posts-sidebar .container {
      grid-template-columns:1fr 300px
  }
}

#page-upnews .posts-sidebar .container h3 {
  color: #70b22b;
  font-weight: 600
}

#page-upnews .posts-sidebar .container .lista-posts {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(3,1fr);
  margin-top: 40px
}

@media(max-width: 1024px) {
  #page-upnews .posts-sidebar .container .lista-posts {
      grid-template-columns:repeat(2,1fr)
  }
}

#page-upnews .posts-sidebar .container .lista-posts .loop-blog {
  display: flex;
  flex-direction: column;
  gap: 17px
}

#page-upnews .posts-sidebar .container .lista-posts .loop-blog img.img-loop-post {
  border-radius: 8px;
  height: 200px;
  object-fit: cover;
  width: 100%
}

#page-upnews .posts-sidebar .container .lista-posts .loop-blog h4 {
  color: #1d1f3a;
  font-size: 20px;
  margin: 0
}

#page-upnews .posts-sidebar .container .lista-posts .loop-blog p {
  margin: 10px 0 0
}

#page-upnews .posts-sidebar .container .lista-posts .loop-blog .blog-permalink {
  margin-top: auto
}

#page-upnews .posts-sidebar .container .load-more-wrap {
  margin-top: 40px;
  text-align: center
}

#page-upnews .posts-sidebar .container .sidebar {
  display: flex;
  flex-direction: column;
  gap: 34px
}

#page-upnews .posts-sidebar .container .sidebar h3 {
  color: #1d1f3a;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px
}

#page-upnews .posts-sidebar .container .sidebar .btn-main {
  align-items: center;
  border-radius: 8px;
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 12px 0
}

#page-upnews .posts-sidebar .container .sidebar .linha {
  border-bottom: 1px solid #a5a5ad;
  height: 1px;
  width: 100%
}

#page-upnews .posts-sidebar .container .sidebar .search-wp-class {
  align-items: center;
  border-radius: 50px;
  box-shadow: 0 4px 22px rgba(0,0,0,.161);
  display: flex;
  justify-content: space-between;
  padding: 12px 24px;
  width: 100%
}

#page-upnews .posts-sidebar .container .sidebar .search-wp-class input {
  width: calc(100% - 40px)
}

#page-upnews .posts-sidebar .container .sidebar .search-wp-class button {
  background-color: transparent;
  padding: 0
}

#page-upnews .posts-sidebar .container .sidebar ul {
  list-style: none;
  padding: 0
}

#page-upnews .posts-sidebar .container .sidebar ul li {
  align-items: center;
  display: flex;
  gap: 10px;
  position: relative
}

#page-upnews .posts-sidebar .container .sidebar ul li:before {
  background-image: url(../img/icon-list.svg);
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  display: inline-block;
  height: 27px;
  width: 26px
}

#page-upnews .posts-sidebar .container .sidebar ul li a {
  color: #70b22b;
  font-size: 20px;
  font-weight: 600
}

#page-upnews .posts-sidebar .container .sidebar ul li a:hover {
  text-decoration: underline
}

#page-upnews .posts-sidebar .container .sidebar .loop-blog-third {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 80px 1fr;
  margin-bottom: 15px
}

#page-upnews .posts-sidebar .container .sidebar .loop-blog-third img {
  border-radius: 8px;
  height: 80px;
  object-fit: cover;
  width: 80px
}

#page-upnews .posts-sidebar .container .sidebar .loop-blog-third h4 {
  color: #55566c;
  font-size: 14px;
  margin: 0
}

#page-upnews .posts-sidebar .container .sidebar .loop-blog-third .data {
  color: #a5a5ad;
  font-size: 12px
}

main .title {
  color: var(--ink);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  margin: 80px 0 40px;
}

main .title span {
  color: var(--brand);
}

.posts-list {
  padding-bottom: 80px;
}

.posts-list .grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(3, 1fr);
}

@media(max-width: 1024px) {
  .posts-list .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 680px) {
  .posts-list .grid {
    grid-template-columns: 1fr;
  }
}

.posts-list .post {
  background: var(--paper);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  padding: 16px;
  transition: box-shadow .3s ease, transform .3s ease;
}

.posts-list .post:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.posts-list .post .img img {
  border-radius: 14px;
  height: 220px;
  object-fit: cover;
  width: 100%;
}

.posts-list .post .content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.posts-list .post .categories a {
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.posts-list .post h3 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
  margin: 0;
}


.single {
  .header-single {
    background-color: var(--soft);
    padding: 150px 0 30px;
    text-align: center;
    margin-bottom: 60px;

    .breadcrumbs {
      font-size: 12px;
      color: var(--muted);
      margin-bottom: 20px;

      a {
        color: var(--muted);
      }
    }    

    h1 {
      font-size: clamp(48px, 7vw, 70px);
        color: var(--ink);
        max-width: 980px;
        line-height: 1;
      margin: 0 auto 20px;

      @media(max-width: 1024px) {
        font-size: clamp(32px, 7vw, 48px);
      }
    }
  }

  ul.post-categories {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    
    li {       

      a {
        color: var(--ink);
        display: inline-flex;
        padding: 10px 22px;
        border-radius: 980px;
        font-size: 15px;
        font-weight: 400;
        text-decoration: none;
        transition: all 0.2s ease;
        cursor: pointer;
        border: none;
        font-family: inherit;
        white-space: nowrap;
        letter-spacing: -0.003em;
        line-height: 1.2;
        background: transparent;        
        border: 1px solid var(--brand);

        &:hover {
          background: var(--brand);
          color: var(--paper);
        }
      }        
    }
  }

  .post-content {
      .grid {
        align-items: self-start;
        display: grid;
        gap: 80px;
        grid-template-columns: 1fr 380px;

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

        .side {         

          .lista-posts {
            background: var(--soft);
            border-radius: 24px;
            padding: 24px;

            h3 {
              margin: 0 0 20px;
            }

            .loop-blog {
              align-items: center;
              display: grid;
              gap: 20px;
              grid-template-columns: 80px 1fr;
              margin-top: 20px;

              .meta-info {
                font-size: 11px;
              }

              h4 {
                margin: 0;
                color: var(--ink);
                font-weight: 500;
              }

              .img-loop-post {
                border-radius: 14px;
                height: 80px;
                object-fit: cover;
                width: 80px;
              }
            }
          }
        }
    }

    .conteudo {
      max-width: 100%;
      margin: 0 auto;

      img {
        border-radius: 14px;
        overflow: hidden;
        margin-bottom: 20px;
        max-width: 100%;
      }    
      
      .post-categories {
        justify-content: left;
        margin-top: 30px;
      }
    }
  }

  .cta-image {
    align-items: start;
    background-size: cover;
    border-radius: 16px;
    color: #fff;
    display: flex;
    flex-direction: column;
    height: 600px;
    justify-content: end;
    padding: 32px;
    width: 100%;
    margin-top: 30px;

    h3 {
      font-size: 28px;
      margin: 0;
      font-weight: 500;
    }

    p {
      font-size: 14px;
      margin: 0 0 20px;
      font-weight: 400;
      line-height: 1.5;
    }
  }
}

#single-post .grid .conteudo .leia-tambem {
  margin-top: 40px
}

#single-post .grid .conteudo .leia-tambem .titulo {
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 15px;
    font-weight: 600;
    color: var(--brand-green);
    display: inline-block;
}

#single-post .grid .conteudo .leia-tambem .posts {
  display: grid;
  gap: 15px
}

#single-post .grid .conteudo .leia-tambem .posts .post a {
  
}

#single-post .grid .conteudo .leia-tambem .posts .post a h3 {
  font-size: 16px;
  margin: 0;
  color: var(--ink);
  background: var(--off);
    padding: 10px 15px;
    border-radius: 10px;
    border: none;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    &:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-md);
    }
}

.relacionados {
  margin-top: 40px;
  background: var(--off);
    padding: 30px 0;

  .titulo {
    font-weight: 600;
    margin-bottom: 40px;
    font-size: 22px;
  }

  .posts {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(3, 1fr);

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

  }

  .post {
      display: flex;
      flex-direction: column;
      gap: 5px;
      padding: 24px 16px;
      border-radius: 24px;
      background: var(--paper);
      transition: transform 0.3s ease, box-shadow 0.3s ease;

      &:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
      }

      img {
        border-radius: 8px;
        height: 200px;
        object-fit: cover;
        width: 100%;
      }

      .meta-info {
        font-size: 13px;
        font-weight: 600;
        color: var(--brand-green);
        display: inline-block;
      }

      p {
        color: #55566c;
        margin: 10px 0 20px;
    font-size: 14px;
      }

      h3 {
        color: #1d1f3a;
        font-size: 16px;
        margin: 0;
      }

      .blog-permalink {
        display: inline-flex;
        width: fit-content;
          align-items: center;
          gap: 6px;
          padding: 10px 22px;
          border-radius: 980px;
          font-size: 15px;
          font-weight: 400;
          text-decoration: none;
          transition: all 0.2s ease;
          cursor: pointer;
          border: none;
          font-family: inherit;
          white-space: nowrap;
          letter-spacing: -0.003em;
          line-height: 1.2;
          background: var(--brand);
          color: #FFFFFF !important;
          margin-top: auto;
      }
      
      .blog-permalink:hover {
        background-color: #70b22b;
        color: #fff;
        gap: 15px;
        transition: all .2s linear
      }
  }
}

.center {
  text-align: center;

  .img-up {
    max-width: 100%;
    height: auto;
  }
}