/* Ajustes exclusivos da home: preserva a paleta definida no tema principal. */
.home-refined .main-menu ul li a {
  border-radius: 999px;
  padding: 10px 16px;
}

.home-refined .main-menu ul.sub-menu {
  border-radius: 12px;
  overflow: hidden;
}

.home-refined .homepage-slider,
.home-refined .single-homepage-slider {
  min-height: 68vh;
}

.home-refined .single-homepage-slider {
  display: flex;
  align-items: center;
  padding: 88px 0;
}

.home-refined .homepage-slider .hero-text-tablecell {
  width: 100%;
}

.home-refined .hero-text h2 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.18;
  text-wrap: balance;
}

.home-refined .hero-text p.subtitle {
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.home-refined .hero-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.7;
  margin: 18px auto 0;
  max-width: 720px;
}

.home-refined .hero-btns {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

.home-refined .hero-btns .hero-btn {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  margin: 0;
  min-height: 48px;
  padding: 13px 22px;
}

.home-refined .ragnatela-services-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(16, 230, 80, 0.07), transparent 28rem),
    radial-gradient(circle at 88% 86%, rgba(19, 121, 49, 0.12), transparent 25rem),
    #031016;
}

.home-refined .ragnatela-services-section .section-title {
  margin-bottom: 44px;
}

.home-refined .ragnatela-services-section .row:nth-of-type(2) .col-lg-4 {
  display: flex;
  margin-bottom: 24px;
}

.home-refined .list-box {
  width: 100%;
  min-height: 150px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px 18px 18px 4px;
  padding: 28px 26px;
  background: rgba(3, 16, 22, 0.55);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.home-refined .list-box::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: #10e650;
  box-shadow: 8px 0 14px rgba(16, 230, 80, 0.24);
}

.home-refined .list-box::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 112px;
  height: 112px;
  right: -84px;
  bottom: -92px;
  border: 1px solid rgba(16, 230, 80, 0.25);
  border-radius: 50%;
  opacity: 0.6;
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .home-refined .list-box {
    background: rgba(3, 16, 22, 0.58);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}

.home-refined .list-box:hover {
  transform: translateY(-7px) translateX(3px);
  border-color: rgba(16, 230, 80, 0.46);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
}

.home-refined .list-box .content h3,
.home-refined .list-box .content h5 {
  margin-bottom: 10px;
  line-height: 1.25;
}

.home-refined .list-box .content p {
  font-size: 15px;
  line-height: 1.58;
}

.home-refined .list-box .list-icon i {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  background: rgba(16, 230, 80, 0.06);
  width: 52px;
  height: 52px;
  line-height: 50px;
  border-radius: 999px;
  font-size: 20px;
}

.home-refined .single-testimonial-slider,
.home-refined .single-latest-news {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.home-refined .single-testimonial-slider {
  background: rgba(3, 16, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .home-refined .single-testimonial-slider {
    background: rgba(3, 16, 22, 0.58);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}

.home-refined .home-service-finder {
  background:
    radial-gradient(circle at 12% 8%, rgba(16, 230, 80, 0.08), transparent 24rem),
    linear-gradient(180deg, #f7fbfd 0%, #edf6f9 100%);
  padding: 88px 0;
}

.home-refined .service-finder-title {
  margin-bottom: 34px;
}

.home-refined .service-finder-title h3 {
  margin-bottom: 14px;
}

.home-refined .service-finder-title h3::after {
  left: 0;
  margin-left: 0;
}

.home-refined .service-finder-title p {
  color: #516976;
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
  max-width: 650px;
}

.home-refined .service-eyebrow {
  color: #0fa046;
  display: inline-block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.home-refined .service-finder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-bottom: 42px;
}

.home-refined .service-finder-tags span {
  background: #fff;
  border: 1px solid rgba(7, 31, 43, 0.12);
  border-radius: 999px;
  color: #071f2b;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 13px;
}

.home-refined .service-card-grid {
  row-gap: 24px;
}

.home-refined .service-card-link {
  color: inherit;
  display: block;
  height: 100%;
  text-decoration: none;
}

.home-refined .service-card {
  background: #fff;
  border: 1px solid rgba(7, 31, 43, 0.10);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(7, 31, 43, 0.09);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.home-refined .service-card-link:hover .service-card,
.home-refined .service-card-link:focus .service-card {
  border-color: rgba(16, 230, 80, 0.55);
  box-shadow: 0 24px 52px rgba(7, 31, 43, 0.14);
  transform: translateY(-5px);
}

.home-refined .service-card-media {
  align-items: flex-start;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.22), transparent 8rem),
    linear-gradient(135deg, #071f2b, #0e3542);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  position: relative;
  width: 100%;
}

.home-refined .service-card-media::after {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  content: "";
  height: 86px;
  position: absolute;
  right: -22px;
  top: -24px;
  width: 86px;
}

.home-refined .service-card-media i {
  align-items: center;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  display: inline-flex;
  font-size: 26px;
  height: 52px;
  justify-content: center;
  width: 52px;
}

.home-refined .service-card-media span {
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.home-refined .service-card-media--cloud {
  background:
    radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.22), transparent 8rem),
    linear-gradient(135deg, #071f2b, #0788a4);
}

.home-refined .service-card-media--security {
  background:
    radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.20), transparent 8rem),
    linear-gradient(135deg, #071f2b, #0fa046);
}

.home-refined .service-card-media--chat {
  background:
    radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.22), transparent 8rem),
    linear-gradient(135deg, #071f2b, #2557a7);
}

.home-refined .service-card-media--meet {
  background:
    radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.22), transparent 8rem),
    linear-gradient(135deg, #071f2b, #6b4aa5);
}

.home-refined .service-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.home-refined .service-card-kicker {
  align-items: center;
  color: #0fa046;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 7px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.home-refined .service-card h4 {
  color: #071f2b;
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.home-refined .service-card p {
  color: #516976;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 18px;
}

.home-refined .service-card strong {
  align-items: center;
  color: #071f2b;
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  gap: 8px;
  margin-top: auto;
}

html[data-theme="dark"] body.home-refined .home-service-finder {
  background:
    radial-gradient(circle at 12% 8%, rgba(16, 230, 80, 0.14), transparent 24rem),
    radial-gradient(circle at 82% 72%, rgba(51, 216, 255, 0.10), transparent 22rem),
    linear-gradient(180deg, #03151f 0%, #020f16 100%) !important;
  color: #eef9f2;
}

html[data-theme="dark"] body.home-refined .service-finder-title h3,
html[data-theme="dark"] body.home-refined .service-finder-title h3 span:not(.orange-text) {
  color: #f7fbff !important;
}

html[data-theme="dark"] body.home-refined .service-finder-title p {
  color: #b8cbd2 !important;
}

html[data-theme="dark"] body.home-refined .service-eyebrow,
html[data-theme="dark"] body.home-refined .service-card-kicker {
  color: #39df76 !important;
}

html[data-theme="dark"] body.home-refined .service-finder-tags span {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(188, 229, 221, 0.16) !important;
  color: #f2fbf6 !important;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.20);
}

html[data-theme="dark"] body.home-refined .service-card {
  background: #082330 !important;
  border-color: rgba(188, 229, 221, 0.16) !important;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28) !important;
  color: #d6e7e8 !important;
}

html[data-theme="dark"] body.home-refined .service-card-link:hover .service-card,
html[data-theme="dark"] body.home-refined .service-card-link:focus .service-card {
  border-color: rgba(57, 223, 118, 0.48) !important;
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.34) !important;
}

html[data-theme="dark"] body.home-refined .service-card-body {
  background: #082330 !important;
}

html[data-theme="dark"] body.home-refined .service-card h4,
html[data-theme="dark"] body.home-refined .service-card strong {
  color: #f7fbff !important;
}

html[data-theme="dark"] body.home-refined .service-card p {
  color: #b8cbd2 !important;
}

.home-refined .abt-bg {
  min-height: 430px;
  border-radius: 16px;
}

.home-refined .shop-banner {
  background:
    radial-gradient(circle at 18% 18%, rgba(16, 230, 80, 0.10), transparent 22rem),
    radial-gradient(circle at 82% 72%, rgba(7, 136, 164, 0.10), transparent 20rem),
    linear-gradient(180deg, #eff8fb 0%, #e7f3f7 100%);
  padding-top: 58px;
  padding-bottom: 58px;
  text-align: center;
}

.home-refined .innovation-typing-content {
  margin: 0 auto;
  max-width: 980px;
  padding: 0 20px;
}

.home-refined .innovation-kicker {
  color: #0fa046;
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.home-refined .innovation-typing-section h3 {
  color: #071f2b;
  display: grid;
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 900;
  gap: 6px;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0 auto;
}

.home-refined .innovation-type-line {
  align-items: center;
  color: #0b7f38;
  display: inline-flex;
  justify-content: center;
  min-width: 0;
  min-height: 1.12em;
  white-space: nowrap;
}

.home-refined .innovation-type-rotator {
  color: #0b7f38;
  display: inline-grid;
  font-size: 0.9em;
  min-width: 7.8em;
  place-items: center;
  position: relative;
}

/* ⚠️ NOC 15/08/2026 — TERCEIRA versao desta animacao, e agora com a regra certa.
   1a: animava `max-width` — forcava recalculo de layout a cada quadro (1,87 s de
       Style & Layout + Rendering na home).
   2a: troquei por `clip-path`, supondo que fosse composta. NAO E: o Lighthouse continuou
       acusando "animacoes nao compostas" nos mesmos 7 elementos, agora com
       "propriedade CSS incompativel: clip-path".
   As UNICAS propriedades que o navegador anima sem tocar em layout nem em pintura sao
   `transform` e `opacity`. E so o que se usa aqui: o texto e revelado por uma mascara que
   ESCORREGA (translateX), nao por um recorte que muda de forma. */
.home-refined .innovation-type-rotator span {
  animation: innovationWordFade 14s linear infinite;
  animation-delay: calc(var(--i) * 2s);
  display: inline-block;
  grid-area: 1 / 1;
  opacity: 0;
  padding-right: 0.12em;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
/* a mascara: um retangulo da cor do fundo que desliza para a direita, revelando o texto.
   Só `transform` — composta, roda na GPU, nao invalida layout. */
.home-refined .innovation-type-rotator span::before {
  content: "";
  position: absolute;
  inset: 0 0 0 0;
  background: #f4f8f5;
  transform: translateX(0);
  animation: innovationWordMask 14s linear infinite;
  animation-delay: calc(var(--i) * 2s);
  z-index: 1;
}
.home-refined .innovation-type-rotator span::after {
  content: "";
  position: absolute;
  top: 0.1em;
  right: 0;
  width: 0.08em;
  height: 1em;
  background: #0fa046;
  animation: innovationCaret 0.9s steps(2, end) infinite;
  z-index: 2;
}
@media (prefers-reduced-motion: reduce) {
  .home-refined .innovation-type-rotator span,
  .home-refined .innovation-type-rotator span::before,
  .home-refined .innovation-type-rotator span::after { animation: none; }
  .home-refined .innovation-type-rotator span:first-child { opacity: 1; }
  .home-refined .innovation-type-rotator span:first-child::before { transform: translateX(101%); }
}
}

/* 21/08/2026 - o dono leu esta linha como "branca, quase apagada". Ela passava no
   criterio da WCAG (5,05:1 sobre #e7f3f7), mas passar no minimo nao e o mesmo que
   ser legivel: 15px em cinza medio, logo abaixo de um titulo preto de 54px, some.
   Escurecido para 10,5:1 e corpo de 16px. E a linha que EXPLICA o que a empresa faz -
   a mais cara do site para se perder. */
.home-refined .innovation-typing-content p {
  color: #173a4b;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.65;
  margin: 18px auto 0;
  max-width: 620px;
}

html[data-theme="dark"] body.home-refined .shop-banner.innovation-typing-section {
  background:
    radial-gradient(circle at 18% 18%, rgba(16, 230, 80, 0.12), transparent 22rem),
    radial-gradient(circle at 82% 72%, rgba(7, 136, 164, 0.12), transparent 20rem),
    linear-gradient(180deg, #020f16 0%, #03151f 100%) !important;
}

html[data-theme="dark"] body.home-refined .innovation-typing-section h3,
html[data-theme="dark"] body.home-refined .innovation-typing-section h3 > span:first-child {
  color: #f7fbff !important;
}

html[data-theme="dark"] body.home-refined .innovation-kicker,
html[data-theme="dark"] body.home-refined .innovation-type-line,
html[data-theme="dark"] body.home-refined .innovation-type-rotator {
  color: #39df76 !important;
}

html[data-theme="dark"] body.home-refined .innovation-type-rotator span {
  border-right-color: #39df76 !important;
}

html[data-theme="dark"] body.home-refined .innovation-typing-content p {
  color: #b8cbd2 !important;
}

@keyframes innovationWordFade {
  0%, 13.99%   { opacity: 1; }
  14%, 100%    { opacity: 0; }
}
@keyframes innovationWordMask {
  0%           { transform: translateX(0); }
  5%, 11%      { transform: translateX(101%); }
  14%          { transform: translateX(0); }
  14.01%, 100% { transform: translateX(0); }
}
}
@keyframes innovationCaret {
  0%, 49%   { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@media (max-width: 991.96px) {
  .home-refined .list-box {
    padding: 20px;
  }

  .home-refined .home-service-finder {
    padding: 70px 0;
  }

  .home-refined .service-finder-tags {
    justify-content: flex-start;
    margin-bottom: 28px;
  }

  .home-refined .innovation-typing-section h3 {
    font-size: clamp(30px, 7vw, 46px);
  }
}

@media (max-width: 767.96px) {
  .home-refined .single-homepage-slider {
    min-height: 64vh;
    padding: 64px 0;
  }

  .home-refined .hero-text h2 {
    font-size: 2.15rem;
  }

  .home-refined .hero-text p.subtitle {
    letter-spacing: 2px;
  }

  .home-refined .hero-description {
    font-size: 1rem;
  }

  .home-refined .hero-btns {
    align-items: stretch;
    flex-direction: column;
  }

  .home-refined .hero-btns .hero-btn {
    width: 100%;
  }

  .home-refined .service-finder-title {
    margin-bottom: 24px;
  }

  .home-refined .service-finder-title h3 {
    font-size: 2rem;
  }

  .home-refined .service-card-body {
    padding: 18px;
  }

  .home-refined .shop-banner {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .home-refined .innovation-typing-section h3 {
    font-size: clamp(28px, 9vw, 38px);
  }

  .home-refined .innovation-type-line {
    min-width: 0;
    white-space: normal;
  }

  .home-refined .innovation-type-rotator {
    font-size: 0.92em;
    min-width: 7.2em;
  }

  .home-refined .innovation-typing-content p {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-refined .innovation-type-rotator span {
    animation: none;
  }

  .home-refined .innovation-type-rotator span:first-child {
    max-width: 12em;
    opacity: 1;
  }
}

/* 21/08/2026 - linha de apresentacao da pagina Sobre. Cor medida: 10,5:1 sobre
   fundo claro. Corpo 17px porque e a primeira frase que o visitante le sobre a
   empresa - se ela nao for lida, o resto da pagina nao e lido. */
.sobre-lead {
  color: #173a4b;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.7;
  margin: 0 0 34px;
  max-width: 760px;
}
html[data-theme="dark"] body .sobre-lead { color: #cfe0e5; }
