/* =========================================================
   SERVIÇOS - FILIPE ASSIS | DEV
========================================================= */

:root {
  --servicos-red: #e10600;
  --services-nav-height: 66px;
}


/* =========================================================
   HERO / ABERTURA
========================================================= */

.servicos-hero {
  position: relative;

  width: 100%;
  height: 50svh;

  min-height: 390px;
  max-height: 480px;

  display: flex;
  align-items: center;

  background: #ffffff;
  color: #080808;

  overflow: hidden;

  isolation: isolate;
}


/* =========================================================
   CONTAINER HERO
========================================================= */

.servicos-hero__container {
  position: relative;

  z-index: 2;

  width: 100%;
  max-width: none;

  margin: 0;

  padding-left: clamp(32px, 9vw, 155px);
  padding-right: 40px;
}


/* =========================================================
   CONTEÚDO HERO
========================================================= */

.servicos-hero__content {
  position: relative;

  z-index: 3;

  width: min(620px, 48vw);

  padding: 0;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
}


/* =========================================================
   EYEBROW HERO
========================================================= */

.servicos-hero__eyebrow {
  display: inline-flex;
  align-items: center;

  gap: 10px;

  margin: 0 0 14px;

  font-family: "Inter", sans-serif;

  font-size: 0.7rem;
  font-weight: 600;

  line-height: 1;

  letter-spacing: 0.18em;

  text-transform: uppercase;

  color: #666666;
}

.servicos-hero__eyebrow::before {
  content: "";

  width: 8px;
  height: 8px;

  flex-shrink: 0;

  border-radius: 50%;

  background: var(--servicos-red);
}


/* =========================================================
   TÍTULO HERO
========================================================= */

.servicos-hero__title {
  width: 100%;
  max-width: 620px;

  margin: 0;

  font-family: "Inter", sans-serif;

  font-size: clamp(2.65rem, 3.75vw, 4rem);
  font-weight: 600;

  line-height: 0.96;

  letter-spacing: -0.055em;

  color: #080808;
}

.servicos-hero__title span {
  display: block;

  margin-top: 4px;

  color: var(--servicos-red);
}


/* =========================================================
   TEXTO HERO
========================================================= */

.servicos-hero__text {
  width: 100%;
  max-width: 570px;

  margin: 18px 0 0;

  font-family: "Inter", sans-serif;

  font-size: 0.94rem;
  font-weight: 400;

  line-height: 1.6;

  color: #555555;
}


/* =========================================================
   AÇÕES HERO
========================================================= */

.servicos-hero__actions {
  display: flex;
  align-items: center;

  flex-wrap: wrap;

  gap: 10px;

  margin-top: 22px;
}


/* =========================================================
   BOTÕES HERO
========================================================= */

.servicos-hero__button {
  min-height: 46px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 14px;

  padding: 0 21px;

  border-radius: 999px;

  font-family: "Inter", sans-serif;

  font-size: 0.86rem;
  font-weight: 500;

  line-height: 1;

  text-decoration: none;

  white-space: nowrap;

  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.servicos-hero__button span {
  font-size: 0.95rem;

  transition: transform 0.25s ease;
}


/* =========================================================
   BOTÃO PRINCIPAL HERO
========================================================= */

.servicos-hero__button--primary {
  background: #080808;

  color: #ffffff;

  border: 1px solid #080808;
}

.servicos-hero__button--primary:hover {
  transform: translateY(-2px);

  background: #1b1b1b;

  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.servicos-hero__button--primary:hover span {
  transform: translateY(3px);
}


/* =========================================================
   BOTÃO SECUNDÁRIO HERO
========================================================= */

.servicos-hero__button--secondary {
  background: transparent;

  color: #080808;

  border: 1px solid #d4d4d4;
}

.servicos-hero__button--secondary:hover {
  transform: translateY(-2px);

  border-color: #080808;

  background: #f5f5f5;
}

.servicos-hero__button--secondary:hover span {
  transform: translate(3px, -3px);
}


/* =========================================================
   LOGO / MARCA D'ÁGUA
========================================================= */

.servicos-hero__watermark {
  position: absolute;

  top: 28px;
  right: -50px;

  width: clamp(600px, 45vw, 850px);

  z-index: 1;

  pointer-events: none;

  user-select: none;

  opacity: 0.075;
}

.servicos-hero__watermark img {
  display: block;

  width: 100%;
  height: auto;

  object-fit: contain;

  filter: brightness(0);
}


/* =========================================================
   GLOW HERO
========================================================= */

.servicos-hero::after {
  content: "";

  position: absolute;

  right: -170px;
  top: 70px;

  width: 440px;
  height: 440px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(0, 0, 0, 0.025) 0%,
      rgba(0, 0, 0, 0) 72%
    );

  z-index: 0;

  pointer-events: none;
}


/* =========================================================
   NAVEGAÇÃO INTERNA DOS SERVIÇOS
========================================================= */

.services-nav {
  position: sticky;

  top: var(--header-height, 76px);

  z-index: 950;

  width: 100%;
  height: var(--services-nav-height);

  background: rgba(255, 255, 255, 0.98);

  border-top: 1px solid #ececec;
  border-bottom: 1px solid #e5e5e5;

  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);

  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.02),
    0 7px 22px rgba(0, 0, 0, 0.035);
}


/* =========================================================
   CONTAINER NAVEGAÇÃO
========================================================= */

.services-nav__container {
  width: 100%;
  height: 100%;

  max-width: none;

  margin: 0;

  padding-left: clamp(32px, 9vw, 155px);
  padding-right: clamp(32px, 9vw, 155px);
}


/* =========================================================
   LISTA NAVEGAÇÃO
========================================================= */

.services-nav__list {
  width: 100%;
  height: 100%;

  display: flex;
  align-items: stretch;
  justify-content: space-between;

  gap: 20px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.services-nav__item {
  position: relative;

  display: flex;

  flex: 0 1 auto;

  min-width: 0;
}


/* =========================================================
   LINKS NAVEGAÇÃO
========================================================= */

.services-nav__link {
  position: relative;

  height: 100%;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 9px;

  padding: 0 4px;

  font-family: "Inter", sans-serif;

  font-size: 0.82rem;
  font-weight: 500;

  line-height: 1;

  color: #555555;

  text-decoration: none;

  white-space: nowrap;

  transition:
    color 0.22s ease,
    opacity 0.22s ease;
}

.services-nav__link::after {
  content: "";

  position: absolute;

  left: 50%;
  bottom: -1px;

  width: 0;
  height: 2px;

  background: var(--servicos-red);

  transform: translateX(-50%);

  transition: width 0.25s ease;
}


/* =========================================================
   ÍCONES NAVEGAÇÃO
========================================================= */

.services-nav__icon {
  width: 19px;
  height: 19px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  color: #777777;

  transition:
    color 0.22s ease,
    transform 0.22s ease;
}

.services-nav__icon svg {
  display: block;

  width: 100%;
  height: 100%;
}


/* =========================================================
   ESTADOS NAVEGAÇÃO
========================================================= */

.services-nav__link:hover {
  color: #080808;
}

.services-nav__link:hover .services-nav__icon {
  color: var(--servicos-red);

  transform: translateY(-1px);
}

.services-nav__link:hover::after {
  width: 100%;
}

.services-nav__link.is-active,
.services-nav__link[aria-current="true"] {
  color: #080808;

  font-weight: 600;
}

.services-nav__link.is-active .services-nav__icon,
.services-nav__link[aria-current="true"] .services-nav__icon {
  color: var(--servicos-red);
}

.services-nav__link.is-active::after,
.services-nav__link[aria-current="true"]::after {
  width: 100%;
}

.services-nav__link:focus-visible {
  outline: 2px solid var(--servicos-red);

  outline-offset: -5px;

  border-radius: 4px;
}


/* =========================================================
   ÁREA DOS SERVIÇOS
========================================================= */

.servicos {
  position: relative;

  width: 100%;

  background: #080808;

  overflow: hidden;
}


/* =========================================================
   SEÇÕES

   Compactas. Sem altura artificial.
========================================================= */

.service-section {
  position: relative;

  width: 100%;

  padding: 44px 0;

  scroll-margin-top:
    calc(
      var(--header-height, 76px) +
      var(--services-nav-height)
    );
}


/* =========================================================
   FUNDO DAS SEÇÕES
========================================================= */

.service-section--criacao,
.service-section--institucional,
.service-section--manutencao {
  background: #080808;

  color: #ffffff;
}

.service-section--landing,
.service-section--seo {
  background: #ffffff;

  color: #080808;
}


/* =========================================================
   CONTAINER DAS SEÇÕES
========================================================= */

.service-section > .container {
  width: 100%;
  max-width: none;

  margin: 0;

  padding-left: clamp(32px, 9vw, 155px);
  padding-right: clamp(32px, 9vw, 155px);
}


/* =========================================================
   BLOCO
========================================================= */

.service-block {
  position: relative;

  width: 100%;
}


/* =========================================================
   GRID

   Esquerda mais larga.
   Card menor e mais compacto.
========================================================= */

.service-block__grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.48fr)
    minmax(365px, 0.78fr);

  align-items: center;

  gap: clamp(55px, 7vw, 115px);
}


/* =========================================================
   COLUNA ESQUERDA
========================================================= */

.service-block__main {
  width: 100%;

  max-width: 760px;
}


/* =========================================================
   ÍCONE
========================================================= */

.service-block__icon-box {
  width: 54px;
  height: 54px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 17px;

  border-radius: 15px;

  background: var(--servicos-red);

  color: #ffffff;

  box-shadow:
    0 12px 30px rgba(225, 6, 0, 0.16);
}

.service-block__icon-box svg {
  width: 24px;
  height: 24px;
}


/* =========================================================
   TÍTULO
========================================================= */

.service-block__title {
  width: 100%;
  max-width: 750px;

  margin: 0;

  font-family: "Inter", sans-serif;

  font-size: clamp(2rem, 2.55vw, 2.75rem);
  font-weight: 600;

  line-height: 1.07;

  letter-spacing: -0.045em;
}


/* PRETO */

.service-section--criacao .service-block__title,
.service-section--institucional .service-block__title,
.service-section--manutencao .service-block__title {
  color: #ffffff;
}


/* BRANCO */

.service-section--landing .service-block__title,
.service-section--seo .service-block__title {
  color: #080808;
}


/* =========================================================
   TEXTO PRINCIPAL
========================================================= */

.service-block__text {
  width: 100%;
  max-width: 720px;

  margin: 14px 0 0;

  font-family: "Inter", sans-serif;

  font-size: 0.92rem;
  font-weight: 400;

  line-height: 1.6;
}


/* PRETO */

.service-section--criacao .service-block__text,
.service-section--institucional .service-block__text,
.service-section--manutencao .service-block__text {
  color: #a5a5a5;
}


/* BRANCO */

.service-section--landing .service-block__text,
.service-section--seo .service-block__text {
  color: #5f5f5f;
}


/* =========================================================
   PARA QUEM É
========================================================= */

.service-block__audience {
  position: relative;

  width: 100%;
  max-width: 720px;

  margin-top: 17px;

  padding: 2px 0 2px 18px;

  border-left: 2px solid var(--servicos-red);
}

.service-block__audience p {
  margin: 0;

  font-family: "Inter", sans-serif;

  font-size: 0.86rem;
  font-weight: 400;

  line-height: 1.55;
}

.service-block__audience strong {
  font-weight: 600;
}


/* PRETO */

.service-section--criacao .service-block__audience p,
.service-section--institucional .service-block__audience p,
.service-section--manutencao .service-block__audience p {
  color: #8f8f8f;
}

.service-section--criacao .service-block__audience strong,
.service-section--institucional .service-block__audience strong,
.service-section--manutencao .service-block__audience strong {
  color: #ffffff;
}


/* BRANCO */

.service-section--landing .service-block__audience p,
.service-section--seo .service-block__audience p {
  color: #626262;
}

.service-section--landing .service-block__audience strong,
.service-section--seo .service-block__audience strong {
  color: #080808;
}


/* =========================================================
   AÇÕES
========================================================= */

.service-block__actions {
  display: flex;
  align-items: center;

  margin-top: 20px;
}


/* =========================================================
   BOTÃO
========================================================= */

.service-block__button {
  min-height: 44px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 18px;

  padding: 0 23px;

  border: 1px solid var(--servicos-red);

  border-radius: 999px;

  background: var(--servicos-red);

  color: #ffffff;

  font-family: "Inter", sans-serif;

  font-size: 0.83rem;
  font-weight: 600;

  line-height: 1;

  text-decoration: none;

  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.service-block__button span {
  font-size: 0.95rem;

  transition: transform 0.25s ease;
}

.service-block__button:hover {
  transform: translateY(-2px);

  background: #f11913;
  border-color: #f11913;

  box-shadow:
    0 12px 28px rgba(225, 6, 0, 0.2);
}

.service-block__button:hover span {
  transform: translateX(4px);
}


/* =========================================================
   CARD
========================================================= */

.service-block__panel {
  position: relative;

  width: 100%;

  padding: 24px 27px 23px;

  border-radius: 19px;

  overflow: hidden;
}


/* =========================================================
   CARD PRETO
========================================================= */

.service-section--criacao .service-block__panel,
.service-section--institucional .service-block__panel,
.service-section--manutencao .service-block__panel {
  border: 1px solid rgba(255, 255, 255, 0.1);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.018)
    );

  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   CARD BRANCO
========================================================= */

.service-section--landing .service-block__panel,
.service-section--seo .service-block__panel {
  border: 1px solid #dedede;

  background:
    linear-gradient(
      145deg,
      #ffffff,
      #fafafa
    );

  box-shadow:
    0 16px 45px rgba(0, 0, 0, 0.07);
}


/* =========================================================
   DETALHE SUPERIOR
========================================================= */

.service-block__panel::before {
  content: "";

  position: absolute;

  top: 0;
  left: 27px;

  width: 44px;
  height: 2px;

  background: var(--servicos-red);
}


/* =========================================================
   GLOW
========================================================= */

.service-block__panel::after {
  content: "";

  position: absolute;

  right: -120px;
  bottom: -140px;

  width: 240px;
  height: 240px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(225, 6, 0, 0.07) 0%,
      rgba(225, 6, 0, 0) 70%
    );

  pointer-events: none;
}


/* =========================================================
   EYEBROW CARD
========================================================= */

.service-block__panel-eyebrow {
  position: relative;

  z-index: 2;

  display: inline-flex;
  align-items: center;

  gap: 8px;

  margin-bottom: 16px;

  font-family: "Inter", sans-serif;

  font-size: 0.65rem;
  font-weight: 600;

  line-height: 1;

  letter-spacing: 0.16em;

  text-transform: uppercase;
}

.service-block__panel-eyebrow::before {
  content: "";

  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: var(--servicos-red);
}


/* PRETO */

.service-section--criacao .service-block__panel-eyebrow,
.service-section--institucional .service-block__panel-eyebrow,
.service-section--manutencao .service-block__panel-eyebrow {
  color: #b5b5b5;
}


/* BRANCO */

.service-section--landing .service-block__panel-eyebrow,
.service-section--seo .service-block__panel-eyebrow {
  color: #505050;
}


/* =========================================================
   LISTA
========================================================= */

.service-block__features {
  position: relative;

  z-index: 2;

  display: flex;
  flex-direction: column;

  gap: 10px;

  margin: 0;
  padding: 0;

  list-style: none;
}


/* =========================================================
   ITENS
========================================================= */

.service-block__features li {
  position: relative;

  margin: 0;

  padding-left: 25px;

  font-family: "Inter", sans-serif;

  font-size: 0.84rem;
  font-weight: 400;

  line-height: 1.42;
}


/* PRETO */

.service-section--criacao .service-block__features li,
.service-section--institucional .service-block__features li,
.service-section--manutencao .service-block__features li {
  color: #d1d1d1;
}


/* BRANCO */

.service-section--landing .service-block__features li,
.service-section--seo .service-block__features li {
  color: #303030;
}


/* =========================================================
   CHECK
========================================================= */

.service-block__features li::before {
  content: "✓";

  position: absolute;

  left: 0;
  top: 0;

  color: var(--servicos-red);

  font-size: 0.91rem;
  font-weight: 700;
}


/* =========================================================
   DESKTOP MENOR
========================================================= */

@media (max-width: 1280px) {

  .servicos-hero__container {
    padding-left: clamp(32px, 7vw, 100px);
  }

  .servicos-hero__content {
    width: min(570px, 50vw);
  }

  .servicos-hero__title {
    font-size: clamp(2.45rem, 3.7vw, 3.65rem);
  }

  .servicos-hero__watermark {
    width: clamp(480px, 43vw, 650px);

    right: -40px;
    top: 28px;
  }


  /* Navegação */

  .services-nav__container {
    padding-left: clamp(32px, 7vw, 100px);
    padding-right: clamp(32px, 7vw, 100px);
  }

  .services-nav__list {
    gap: 16px;
  }

  .services-nav__link {
    font-size: 0.78rem;
  }


  /* Seções */

  .service-section {
    padding: 42px 0;
  }

  .service-section > .container {
    padding-left: clamp(32px, 7vw, 100px);
    padding-right: clamp(32px, 7vw, 100px);
  }

  .service-block__grid {
    grid-template-columns:
      minmax(0, 1.35fr)
      minmax(345px, 0.78fr);

    gap: clamp(45px, 5vw, 75px);
  }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

  :root {
    --services-nav-height: 62px;
  }


  /* Hero */

  .servicos-hero {
    height: auto;

    min-height: 430px;
    max-height: none;
  }

  .servicos-hero__container {
    padding-left: 40px;
    padding-right: 40px;
  }

  .servicos-hero__content {
    width: min(540px, 58%);

    padding: 50px 0;
  }

  .servicos-hero__title {
    font-size: clamp(2.3rem, 4.6vw, 3.35rem);
  }

  .servicos-hero__text {
    max-width: 500px;
  }

  .servicos-hero__watermark {
    width: clamp(360px, 42vw, 500px);

    right: -30px;
    top: 26px;

    opacity: 0.06;
  }


  /* Navegação */

  .services-nav {
    overflow: hidden;
  }

  .services-nav__container {
    padding-left: 40px;
    padding-right: 0;

    overflow-x: auto;
    overflow-y: hidden;

    scrollbar-width: none;

    -webkit-overflow-scrolling: touch;
  }

  .services-nav__container::-webkit-scrollbar {
    display: none;
  }

  .services-nav__list {
    width: max-content;
    min-width: 100%;

    justify-content: flex-start;

    gap: 32px;

    padding-right: 40px;
  }

  .services-nav__item {
    flex: 0 0 auto;
  }


  /* Seções */

  .service-section {
    padding: 48px 0;
  }

  .service-section > .container {
    padding-left: 40px;
    padding-right: 40px;
  }

  .service-block__grid {
    grid-template-columns: 1fr;

    gap: 34px;
  }

  .service-block__main,
  .service-block__panel {
    max-width: 760px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

  :root {
    --services-nav-height: 58px;
  }


  /* Hero */

  .servicos-hero {
    height: auto;

    min-height: auto;

    align-items: flex-start;
  }

  .servicos-hero__container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .servicos-hero__content {
    width: 100%;

    padding: 72px 0 60px;
  }

  .servicos-hero__title {
    font-size: clamp(2.15rem, 10vw, 3.4rem);
  }

  .servicos-hero__watermark {
    width: 270px;

    right: -80px;
    top: 24px;

    opacity: 0.04;
  }


  /* Navegação */

  .services-nav__container {
    padding-left: 24px;
  }

  .services-nav__list {
    gap: 28px;

    padding-right: 24px;
  }

  .services-nav__link {
    font-size: 0.78rem;
  }


  /* Seções */

  .service-section {
    padding: 42px 0;
  }

  .service-section > .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .service-block__grid {
    gap: 30px;
  }

  .service-block__title {
    font-size: clamp(1.85rem, 7vw, 2.5rem);
  }

  .service-block__panel {
    padding: 25px 24px;
  }

  .service-block__panel::before {
    left: 24px;
  }

}


/* =========================================================
   MOBILE PEQUENO
========================================================= */

@media (max-width: 520px) {

  :root {
    --services-nav-height: 56px;
  }


  .servicos-hero__container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .servicos-hero__content {
    padding: 64px 0 54px;
  }

  .servicos-hero__actions {
    width: 100%;

    flex-direction: column;

    align-items: stretch;
  }

  .servicos-hero__button {
    width: 100%;
  }


  /* Navegação */

  .services-nav__container {
    padding-left: 20px;
  }

  .services-nav__list {
    gap: 25px;

    padding-right: 20px;
  }


  /* Seções */

  .service-section {
    padding: 38px 0;
  }

  .service-section > .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .service-block__title {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
  }

  .service-block__button {
    width: 100%;
  }

}


/* =========================================================
   REDUÇÃO DE MOVIMENTO
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .servicos-hero__button,
  .servicos-hero__button span,
  .services-nav__link,
  .services-nav__link::after,
  .services-nav__icon,
  .service-block__button,
  .service-block__button span {
    transition: none;
  }

}