/* ========================================
   CRISTECH - PÁGINA SERVIÇOS
======================================== */

.servicos-page {
  --sv-bg: #100b13;
  --sv-bg-alt: #180f1d;
  --sv-surface: #211525;
  --sv-surface-hover: #2d1930;
  --sv-text: #fff4fb;
  --sv-muted: #c6b6c5;
  --sv-pink: #f04fa3;
  --sv-pink-light: #ff8bc6;
  --sv-border: rgba(255, 125, 190, 0.16);
  --sv-glow: rgba(240, 79, 163, 0.15);

  background: var(--sv-bg);
  color: var(--sv-text);
  font-family: "Arial", sans-serif;
  overflow: hidden;
  transition:
    background 0.35s,
    color 0.35s;
}

.servicos-page *,
.servicos-page *::before,
.servicos-page *::after {
  box-sizing: border-box;
}

.servicos-page a {
  text-decoration: none;
}

.servicos-page button,
.servicos-page a {
  -webkit-tap-highlight-color: transparent;
}

.servicos-page a:focus-visible {
  outline: 2px solid var(--sv-pink);
  outline-offset: 5px;
}

.servicos-container {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
}

.servicos-page h1,
.servicos-page h2,
.servicos-page h3,
.servicos-page p {
  margin-top: 0;
}

.servicos-page h1,
.servicos-page h2,
.servicos-page h3 {
  color: var(--sv-text);
}

.servicos-page h1,
.servicos-page h2 {
  letter-spacing: -1.4px;
}

.servicos-page h2 span,
.servicos-page h1 span {
  color: var(--sv-pink-light);
}

.servicos-section-label {
  display: inline-block;
  color: var(--sv-pink-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.5px;
  margin-bottom: 18px;
}

/* ========================================
   BOTÕES
======================================== */

.servicos-btn-primary,
.servicos-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 25px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 14px;
  transition: 0.3s ease;
}

.servicos-btn-primary {
  color: #fff !important;
  background: linear-gradient(135deg, #e73d91, #b72b77);
  box-shadow: 0 10px 28px rgba(231, 61, 145, 0.2);
}

.servicos-btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 38px rgba(231, 61, 145, 0.35);
}

.servicos-btn-outline {
  color: var(--sv-text);
  border: 1px solid var(--sv-border);
  background: rgba(255, 255, 255, 0.025);
}

.servicos-btn-outline:hover {
  border-color: var(--sv-pink);
  background: var(--sv-glow);
  transform: translateY(-4px);
}

.servicos-btn-primary svg,
.servicos-btn-outline svg {
  width: 18px;
  height: 18px;
}

/* ========================================
   HERO
======================================== */

.servicos-hero {
  min-height: 650px;
  display: flex;
  align-items: center;
  position: relative;
  padding: 105px 0;
  background:
    radial-gradient(
      circle at 85% 30%,
      rgba(211, 52, 137, 0.15),
      transparent 38%
    ),
    var(--sv-bg);
}

.servicos-hero-glow {
  position: absolute;
  width: 430px;
  height: 430px;
  right: -210px;
  top: -100px;
  border-radius: 50%;
  background: var(--sv-glow);
  filter: blur(110px);
  pointer-events: none;
}

.servicos-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 75px;
  position: relative;
  z-index: 1;
}

.servicos-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border: 1px solid var(--sv-border);
  border-radius: 30px;
  color: var(--sv-pink-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 30px;
}

.servicos-eyebrow svg {
  width: 15px;
  height: 15px;
}

.servicos-hero h1 {
  font-size: clamp(37px, 4.3vw, 63px);
  line-height: 1.13;
  font-weight: 800;
  margin-bottom: 25px;
}

.servicos-hero h1 span {
  display: block;
}

.servicos-hero-content > p {
  font-size: 16px;
  color: var(--sv-muted);
  line-height: 1.9;
  max-width: 520px;
  margin-bottom: 34px;
}

.servicos-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.servicos-hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  color: var(--sv-muted);
  font-size: 12px;
}

.servicos-hero-note svg {
  width: 17px;
  color: var(--sv-pink);
}

/* ========================================
   HERO - ILUSTRAÇÃO
======================================== */

.servicos-hero-visual {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.servicos-visual-main {
  width: min(100%, 350px);
  min-height: 285px;
  border: 1px solid rgba(255, 139, 198, 0.3);
  border-radius: 23px;
  padding: 38px 30px;
  background: linear-gradient(
    145deg,
    rgba(226, 67, 149, 0.2),
    rgba(29, 16, 36, 0.95)
  );
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(15px);
  position: relative;
  z-index: 2;
  transform: rotate(-3deg);
}

.servicos-visual-icon {
  width: 65px;
  height: 65px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(135deg, #f04fa3, #a52070);
  margin-bottom: 28px;
}

.servicos-visual-icon svg {
  width: 32px;
  height: 32px;
}

.servicos-visual-main > span {
  color: #ff9dce;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 800;
}

.servicos-visual-main h2 {
  color: #fff4fb;
  font-size: 25px;
  line-height: 1.35;
  margin: 12px 0 24px;
}

.servicos-visual-line {
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
  margin-bottom: 20px;
}

.servicos-visual-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.servicos-visual-tags span {
  color: #ffb2d9;
  border: 1px solid rgba(255, 139, 198, 0.25);
  border-radius: 20px;
  padding: 7px 10px;
  font-size: 9px;
  letter-spacing: 1px;
}

.servicos-visual-orbit {
  position: absolute;
  border: 1px solid rgba(238, 78, 161, 0.17);
  border-radius: 50%;
}

.orbit-um {
  width: 450px;
  height: 450px;
}

.orbit-dois {
  width: 350px;
  height: 350px;
}

.servicos-floating-icon {
  width: 65px;
  height: 65px;
  position: absolute;
  display: grid;
  place-items: center;
  background: var(--sv-surface);
  border: 1px solid var(--sv-border);
  border-radius: 17px;
  color: var(--sv-pink-light);
  z-index: 3;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
  animation: svFloat 5s ease-in-out infinite;
}

.servicos-floating-icon svg {
  width: 28px;
  height: 28px;
}

.floating-um {
  top: 25px;
  right: 35px;
}

.floating-dois {
  bottom: 20px;
  left: 12px;
  animation-delay: 1s;
}

.floating-tres {
  bottom: 45px;
  right: 5px;
  animation-delay: 2s;
}

@keyframes svFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-13px);
  }
}

/* ========================================
   INTRODUÇÃO
======================================== */

.servicos-intro {
  padding: 100px 0 65px;
  text-align: center;
}

.servicos-intro-content {
  max-width: 760px;
}

.servicos-intro h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.2;
  margin-bottom: 22px;
}

.servicos-intro p {
  color: var(--sv-muted);
  font-size: 16px;
  line-height: 1.9;
  max-width: 690px;
  margin: 0 auto;
}

/* ========================================
   CARDS DE SERVIÇOS
======================================== */

.servicos-catalogo {
  padding: 50px 0 115px;
}

.servicos-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 42px;
}

.servicos-section-heading h2 {
  font-size: clamp(29px, 3vw, 43px);
  line-height: 1.2;
  max-width: 550px;
  margin-bottom: 0;
}

.servicos-section-heading > p {
  color: var(--sv-muted);
  max-width: 330px;
  line-height: 1.8;
  font-size: 14px;
  margin-bottom: 3px;
}

.servicos-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 23px;
}

.servicos-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--sv-surface);
  border: 1px solid var(--sv-border);
  border-radius: 19px;
  transition:
    transform 0.35s,
    border-color 0.35s,
    box-shadow 0.35s;
}

.servicos-card:hover {
  transform: translateY(-9px);
  border-color: rgba(240, 79, 163, 0.6);
  box-shadow: 0 20px 50px var(--sv-glow);
}

.servicos-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 27px;
}

.servicos-card-icon {
  width: 65px;
  height: 65px;
  display: grid;
  place-items: center;
  color: var(--sv-pink-light);
  background: var(--sv-glow);
  border: 1px solid var(--sv-border);
  border-radius: 16px;
}

.servicos-card-icon svg {
  width: 31px;
  height: 31px;
}

.servicos-card-number {
  font-size: 13px;
  font-weight: 800;
  color: var(--sv-pink-light);
  opacity: 0.75;
}

.servicos-card h3 {
  font-size: 21px;
  line-height: 1.35;
  margin-bottom: 16px;
}

.servicos-card p {
  color: var(--sv-muted);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 23px;
}

.servicos-card ul {
  padding: 0;
  margin: 0 0 30px;
  list-style: none;
}

.servicos-card li {
  color: var(--sv-muted);
  font-size: 13px;
  padding: 7px 0 7px 20px;
  position: relative;
}

.servicos-card li::before {
  content: "✓";
  color: var(--sv-pink);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.servicos-card-link {
  margin-top: auto;
  padding-top: 19px;
  border-top: 1px solid var(--sv-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--sv-pink-light);
  font-size: 13px;
  font-weight: 700;
  transition: 0.3s;
}

.servicos-card-link svg {
  width: 19px;
  height: 19px;
  transition: transform 0.3s;
}

.servicos-card-link:hover {
  color: var(--sv-text);
}

.servicos-card-link:hover svg {
  transform: translate(3px, -3px);
}

/* ========================================
   DIFERENCIAIS
======================================== */

.servicos-diferenciais {
  padding: 105px 0;
  background: var(--sv-bg-alt);
}

.servicos-diferenciais-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.servicos-diferenciais-text h2 {
  font-size: clamp(31px, 3.5vw, 47px);
  line-height: 1.2;
  margin-bottom: 25px;
}

.servicos-diferenciais-text p {
  color: var(--sv-muted);
  line-height: 1.9;
  font-size: 15px;
  margin-bottom: 32px;
}

.servicos-beneficios-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.servicos-beneficio {
  padding: 27px 21px;
  background: var(--sv-surface);
  border: 1px solid var(--sv-border);
  border-radius: 17px;
  transition: 0.3s;
}

.servicos-beneficio:hover {
  border-color: var(--sv-pink);
  transform: translateY(-5px);
}

.servicos-beneficio > svg {
  width: 30px;
  height: 30px;
  color: var(--sv-pink-light);
  margin-bottom: 19px;
}

.servicos-beneficio h3 {
  font-size: 17px;
  margin-bottom: 12px;
}

.servicos-beneficio p {
  color: var(--sv-muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

/* ========================================
   PROCESSO
======================================== */

.servicos-processo {
  padding: 115px 0;
}

.servicos-processo-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.servicos-processo-heading h2 {
  font-size: clamp(30px, 3.5vw, 45px);
  line-height: 1.2;
  margin-bottom: 20px;
}

.servicos-processo-heading p {
  color: var(--sv-muted);
  font-size: 15px;
  line-height: 1.8;
}

.servicos-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
}

.servicos-step {
  text-align: center;
  position: relative;
}

.servicos-step-number {
  font-size: 13px;
  color: var(--sv-pink);
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.servicos-step-icon {
  width: 85px;
  height: 85px;
  margin: 0 auto 25px;
  display: grid;
  place-items: center;
  color: var(--sv-pink-light);
  background: var(--sv-surface);
  border: 1px solid var(--sv-border);
  border-radius: 23px;
  transition: 0.3s;
}

.servicos-step-icon svg {
  width: 36px;
  height: 36px;
}

.servicos-step:hover .servicos-step-icon {
  background: var(--sv-glow);
  transform: translateY(-5px);
}

.servicos-step h3 {
  font-size: 18px;
  margin-bottom: 13px;
}

.servicos-step p {
  color: var(--sv-muted);
  font-size: 13px;
  line-height: 1.8;
  max-width: 240px;
  margin: 0 auto;
}

/* ========================================
   ORÇAMENTO / CTA
======================================== */

.servicos-orcamento {
  padding: 30px 0 115px;
}

.servicos-orcamento-box {
  min-height: 350px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: linear-gradient(130deg, #43132e, #291124 55%, #180e1d);
  border: 1px solid rgba(255, 139, 198, 0.25);
  border-radius: 25px;
  padding: 65px;
}

.servicos-orcamento-glow {
  position: absolute;
  width: 350px;
  height: 350px;
  right: -80px;
  top: -50px;
  background: rgba(240, 79, 163, 0.22);
  border-radius: 50%;
  filter: blur(80px);
}

.servicos-orcamento-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.servicos-orcamento h2 {
  font-size: clamp(33px, 4vw, 51px);
  line-height: 1.2;
  color: #fff;
  margin-bottom: 19px;
}

.servicos-orcamento h2 span {
  color: #ff8bc6;
}

.servicos-orcamento-content > p:not(.servicos-interesse) {
  color: #e6cddc;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 27px;
}

.servicos-interesse {
  color: #ffc6e3;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
}

.servicos-orcamento-decoration {
  position: absolute;
  right: 65px;
  top: 50%;
  transform: translateY(-50%) rotate(-12deg);
  opacity: 0.12;
  color: #ff8bc6;
}

.servicos-orcamento-decoration svg {
  width: 230px;
  height: 230px;
  stroke-width: 1;
}

/* ========================================
   ANIMAÇÕES DE ENTRADA
======================================== */

.servicos-reveal {
  opacity: 1;
  transform: none;
}

.servicos-page.servicos-animacoes .servicos-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.servicos-page.servicos-animacoes .servicos-reveal.sv-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   TEMA CLARO
   Compatível com diferentes classes
   utilizadas em botões de tema.
======================================== */

:is(
    body.light,
    body.light-mode,
    body.light-theme,
    body.tema-claro,
    body[data-theme="light"],
    html.light body,
    html.light-mode body,
    html.light-theme body,
    html[data-theme="light"] body
  )
  .servicos-page {
  --sv-bg: #fff8fc;
  --sv-bg-alt: #fceaf3;
  --sv-surface: #ffffff;
  --sv-surface-hover: #fff0f7;
  --sv-text: #321426;
  --sv-muted: #71586a;
  --sv-pink: #d52d80;
  --sv-pink-light: #b62570;
  --sv-border: rgba(194, 46, 116, 0.17);
  --sv-glow: rgba(226, 67, 149, 0.09);
}

:is(
    body.light,
    body.light-mode,
    body.light-theme,
    body.tema-claro,
    body[data-theme="light"],
    html.light body,
    html.light-mode body,
    html.light-theme body,
    html[data-theme="light"] body
  )
  .servicos-visual-main {
  background: linear-gradient(145deg, #f9d4e8, #fff2f9);
}

:is(
    body.light,
    body.light-mode,
    body.light-theme,
    body.tema-claro,
    body[data-theme="light"],
    html.light body,
    html.light-mode body,
    html.light-theme body,
    html[data-theme="light"] body
  )
  .servicos-visual-main
  h2 {
  color: #321426;
}

:is(
    body.light,
    body.light-mode,
    body.light-theme,
    body.tema-claro,
    body[data-theme="light"],
    html.light body,
    html.light-mode body,
    html.light-theme body,
    html[data-theme="light"] body
  )
  .servicos-visual-main
  > span,
:is(
    body.light,
    body.light-mode,
    body.light-theme,
    body.tema-claro,
    body[data-theme="light"],
    html.light body,
    html.light-mode body,
    html.light-theme body,
    html[data-theme="light"] body
  )
  .servicos-visual-tags
  span {
  color: #a7256a;
}

:is(
    body.light,
    body.light-mode,
    body.light-theme,
    body.tema-claro,
    body[data-theme="light"],
    html.light body,
    html.light-mode body,
    html.light-theme body,
    html[data-theme="light"] body
  )
  .servicos-visual-line {
  background: rgba(110, 40, 80, 0.16);
}

/* ========================================
   RESPONSIVO - ATÉ 1100PX
======================================== */

@media (max-width: 1100px) {
  .servicos-hero-grid {
    gap: 35px;
  }

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

  .servicos-diferenciais-grid {
    gap: 45px;
  }

  .servicos-steps {
    gap: 15px;
  }

  .servicos-visual-orbit.orbit-um {
    width: 350px;
    height: 350px;
  }
}

/* ========================================
   RESPONSIVO - TABLETS
======================================== */

@media (max-width: 900px) {
  .servicos-hero {
    padding: 80px 0;
  }

  .servicos-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .servicos-hero-content > p {
    margin-left: auto;
    margin-right: auto;
  }

  .servicos-hero-actions,
  .servicos-hero-note {
    justify-content: center;
  }

  .servicos-hero-visual {
    margin-top: 30px;
  }

  .servicos-diferenciais-grid {
    grid-template-columns: 1fr;
  }

  .servicos-diferenciais-text {
    text-align: center;
    max-width: 650px;
    margin: auto;
  }

  .servicos-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 45px;
  }

  .servicos-section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .servicos-section-heading > p {
    max-width: 580px;
  }
}

/* ========================================
   RESPONSIVO - CELULARES
======================================== */

@media (max-width: 600px) {
  .servicos-container {
    width: calc(100% - 34px);
  }

  .servicos-hero {
    min-height: auto;
    padding: 75px 0 65px;
  }

  .servicos-hero h1 {
    font-size: 38px;
    letter-spacing: -1px;
  }

  .servicos-hero-content > p {
    font-size: 14px;
    line-height: 1.8;
  }

  .servicos-hero-actions {
    flex-direction: column;
  }

  .servicos-hero-actions a {
    width: 100%;
  }

  .servicos-hero-visual {
    min-height: 335px;
  }

  .servicos-visual-main {
    width: 80%;
    min-height: 250px;
    padding: 28px 23px;
  }

  .servicos-visual-main h2 {
    font-size: 21px;
  }

  .servicos-visual-orbit.orbit-um {
    width: 310px;
    height: 310px;
  }

  .servicos-visual-orbit.orbit-dois {
    width: 240px;
    height: 240px;
  }

  .servicos-floating-icon {
    width: 48px;
    height: 48px;
  }

  .servicos-floating-icon svg {
    width: 23px;
    height: 23px;
  }

  .floating-um {
    right: 0;
  }

  .floating-dois {
    left: 0;
  }

  .floating-tres {
    right: 5px;
    bottom: 5px;
  }

  .servicos-intro {
    padding: 75px 0 35px;
  }

  .servicos-intro h2 {
    font-size: 31px;
  }

  .servicos-intro p {
    font-size: 14px;
  }

  .servicos-catalogo {
    padding: 35px 0 80px;
  }

  .servicos-section-heading h2 {
    font-size: 31px;
  }

  .servicos-cards-grid {
    grid-template-columns: 1fr;
  }

  .servicos-card {
    padding: 27px 24px;
  }

  .servicos-diferenciais {
    padding: 75px 0;
  }

  .servicos-diferenciais-text h2 {
    font-size: 32px;
  }

  .servicos-beneficios-grid {
    gap: 12px;
  }

  .servicos-beneficio {
    padding: 21px 15px;
  }

  .servicos-beneficio h3 {
    font-size: 15px;
  }

  .servicos-beneficio p {
    font-size: 12px;
  }

  .servicos-processo {
    padding: 80px 0;
  }

  .servicos-steps {
    gap: 38px 12px;
  }

  .servicos-step h3 {
    font-size: 16px;
  }

  .servicos-step p {
    font-size: 12px;
  }

  .servicos-step-icon {
    width: 70px;
    height: 70px;
  }

  .servicos-orcamento {
    padding: 10px 0 80px;
  }

  .servicos-orcamento-box {
    padding: 45px 26px;
    text-align: center;
    justify-content: center;
  }

  .servicos-orcamento h2 {
    font-size: 32px;
  }

  .servicos-orcamento-content > p {
    font-size: 14px;
  }

  .servicos-orcamento-decoration {
    right: -70px;
  }
}

/* ========================================
   RESPONSIVO - TELAS PEQUENAS
======================================== */

@media (max-width: 400px) {
  .servicos-container {
    width: calc(100% - 30px);
  }

  .servicos-hero h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .servicos-eyebrow {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .servicos-visual-main {
    width: 83%;
    padding: 25px 18px;
  }

  .servicos-visual-main h2 {
    font-size: 19px;
  }

  .servicos-visual-orbit.orbit-um {
    width: 270px;
    height: 270px;
  }

  .servicos-intro h2,
  .servicos-section-heading h2,
  .servicos-diferenciais-text h2,
  .servicos-processo-heading h2 {
    font-size: 28px;
  }

  .servicos-beneficios-grid {
    grid-template-columns: 1fr;
  }

  .servicos-steps {
    grid-template-columns: 1fr;
  }

  .servicos-orcamento h2 {
    font-size: 28px;
  }
}

/* ========================================
   ACESSIBILIDADE
======================================== */

@media (prefers-reduced-motion: reduce) {
  .servicos-page *,
  .servicos-page *::before,
  .servicos-page *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .servicos-page.servicos-animacoes .servicos-reveal {
    opacity: 1;
    transform: none;
  }
}
