* {
  font-family: "Nunito Sans", sans-serif;
}

:root {
  --cinza: #484848;
  --titulos: #1c1c1c;
  --sombra: 4px 4px 20px 2px #56596759;
  --speed-red: #e63228;
}

/* Paginação padrão dos sliders (bolinhas) */
.swiper-pagination {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;

  .swiper-pagination-bullet {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: #e3c9c7;
    opacity: 1;
    margin: 0;
    transition:
      background-color 0.2s ease,
      width 0.2s ease;
  }

  .swiper-pagination-bullet-active {
    width: 1.75rem;
    background: var(--speed-red);
  }
}

.swiper-pagination.swiper-pagination-white {
  .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.45);
  }

  .swiper-pagination-bullet-active {
    background: #ffffff;
  }
}

.banner-pagination {
  position: absolute;
  bottom: 1.25rem;
  left: 0;
  right: 0;
  z-index: 5;
  margin-top: 0;
}

/* Revelação suave ao rolar a página */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-group.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-group > * {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-group.is-visible > *:nth-child(1) {
  transition-delay: 0s;
}
.reveal-group.is-visible > *:nth-child(2) {
  transition-delay: 0.08s;
}
.reveal-group.is-visible > *:nth-child(3) {
  transition-delay: 0.16s;
}
.reveal-group.is-visible > *:nth-child(4) {
  transition-delay: 0.24s;
}
.reveal-group.is-visible > *:nth-child(5) {
  transition-delay: 0.32s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-group > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

h1,
h2,
h3,
h4,
h5,
h6,
nav,
.btn,
.btn-speed,
.card-combo-btn {
  font-family: "Montserrat", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--titulos);
  font-weight: 600;
}

em {
  color: #e91a2f;
  font-style: italic;
  font-weight: 700;
}

p {
  font-size: 20px;
}

.hero-breadcrumb a {
  color: white;
}

a {
  color: inherit;
}

body.page-id-6:not(.page-template-page-home) {
  height: 100dvh;
  overflow: hidden;
  header {
    height: 0;
    display: none;
    visibility: hidden;
    pointer-events: none;
  }
}

html {
  margin: 0 !important;
}
#wpadminbar {
  height: 0;
  display: none;
  visibility: hidden;
  pointer-events: none;
}
section.hero {
  margin: 56px 0;
  padding: 0;
  position: relative;

  @media (min-width: 768px) {
    /* margin: 64px 0; */
  }
}
section {
  padding: 32px 0;

  @media (min-width: 768px) {
    padding: 56px 0;
  }
}
.hero-interna {
  padding: 0;
  position: relative;
}

section.hero::before,
.hero-interna::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -8%;
  width: 26rem;
  height: 26rem;
  background: radial-gradient(circle, rgba(230, 50, 40, 0.14), rgba(230, 50, 40, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

section.hero > .container,
.hero-interna > .container,
.hero-interna > .swiper {
  position: relative;
  z-index: 1;
}

/* Botão CTA padronizado */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  gap: 0.5rem;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  padding: 16px 32px;
  border-radius: 0.75rem;
  border: 2px solid var(--speed-red);
  background-color: var(--speed-red);
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(230, 50, 40, 0.22);
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;

  &:hover {
    background-color: #c81525;
    border-color: #c81525;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(230, 50, 40, 0.3);
  }

  &:active {
    transform: translateY(0);
  }

  &.btn-cta-outline {
    background-color: #ffffff;
    border-color: var(--speed-red);
    color: var(--speed-red);
    box-shadow: 0 4px 14px rgba(230, 50, 40, 0.12);

    &:hover {
      background-color: var(--speed-red);
      color: #ffffff;
      box-shadow: 0 12px 26px rgba(230, 50, 40, 0.28);
    }
  }

  @media (max-width: 767.98px) {
    width: 100%;
    text-align: center;
  }
}

header {
  nav {
    a.menu-item {
      color: var(--titulos);
      font-size: 18px;
      &.gray {
        color: var(--titulos);
      }
    }
  }
}

@media (min-width: 768px) {
  .md\:col-start-5 {
    grid-column-start: 5;
  }
  .md\:col-start-6 {
    grid-column-start: 6;
  }
}

@media (max-width: 991.98px) {
  .card-portfolio {
    aspect-ratio: auto;
    max-height: none;
  }
  .card-portfolio:nth-child(odd) {
    height: 60dvh;
  }
  .card-portfolio:nth-child(even) {
    height: 40dvh;
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: #1b1c1c;
  background-image: radial-gradient(60% 45% at 50% 0%, rgba(230, 50, 40, 0.18), rgba(230, 50, 40, 0) 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
  padding: 4rem 1.5rem 3rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-16px);
  transition:
    opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.mobile-menu__brand img {
  height: 44px;
  width: auto;
}

.mobile-menu__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu__close span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: #ffffff;
  position: absolute;
  transition: background-color 0.2s ease;
}

.mobile-menu__close span:first-child {
  transform: rotate(45deg);
}

.mobile-menu__close span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu__close:hover span {
  background-color: var(--speed-red);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.25rem;
}

.mobile-menu__nav a {
  color: #ffffff;
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  font-weight: 400;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.35s ease,
    color 0.2s ease,
    transform 0.35s ease;
  text-decoration: none;
}

.mobile-menu__nav a:hover {
  color: var(--speed-red);
}

.mobile-menu__nav a.mobile-menu__cta {
  letter-spacing: normal;
  margin-top: 0.5rem;
}

.mobile-menu__nav a.mobile-menu__cta:hover {
  color: #ffffff;
}

.mobile-menu.is-open .mobile-menu__nav a:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}
.mobile-menu.is-open .mobile-menu__nav a:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.18s;
}
.mobile-menu.is-open .mobile-menu__nav a:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.26s;
}
.mobile-menu.is-open .mobile-menu__nav a:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.34s;
}
.mobile-menu.is-open .mobile-menu__nav a:nth-child(5) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.42s;
}

.mobile-menu__social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.mobile-menu.is-open .mobile-menu__social {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

section {
  h1 {
    line-height: 110%;
    font-size: 40px;
    span {
      color: #e91a2f;
      font-style: italic;
    }

    @media (min-width: 768px) {
      font-size: 68px;
    }
  }
  h2 {
    line-height: 1.3;
    font-size: 32px;
    span {
      color: #e91a2f;
      font-style: italic;
    }

    @media (min-width: 768px) {
      line-height: auto;
      font-size: 42px;
    }
  }
  p {
    @media (max-width: 767.98px) {
      font-size: 20px;
      line-height: 1.6;
    }
  }
}
.title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.card-combo {
  position: relative;
  padding: 24px 20px 28px;
  border-radius: 1.5rem;
  border: 1px solid #ececec;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 18px rgba(28, 20, 20, 0.06);
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease;

  @media (min-width: 768px) {
    padding: 40px 32px 36px;
  }

  &:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(28, 20, 20, 0.12);
    border-color: #f3d4d1;
  }

  .card-combo-tag {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #ff5b4d, var(--speed-red));
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 0.5rem 1.35rem;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(230, 50, 40, 0.35);

    &::before {
      content: "★";
      font-size: 0.7rem;
      line-height: 1;
    }
  }

  .card-combo-header {
    border-radius: 1.1rem;
    background: linear-gradient(160deg, #fff3f2 0%, #ffffff 65%);
    padding: 1.1rem 1.1rem 1.25rem;
    margin: 0.35rem -0.2rem 0;
  }

  .card-combo-label {
    display: block;
    color: #595959;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0.35rem;
  }

  .card-combo-price {
    .card-combo-speed {
      color: var(--speed-red);
      font-size: 40px;
      font-weight: 800;
      line-height: 1;

      b {
        font-size: 32px;
        font-weight: 800;
        color: var(--titulos);
        margin-left: 0.15rem;
      }

      @media (min-width: 768px) {
        font-size: 56px;

        b {
          font-size: 48px;
        }
      }
    }

    .card-combo-cost-old {
      color: #a9a9a9;
      font-size: 13px;
      text-decoration: line-through;
      margin-top: 0.5rem;
    }

    .card-combo-cost {
      color: #595959;
      font-size: 14px;
      margin-top: 0.15rem;

      strong {
        color: var(--speed-red);
        font-weight: 800;
        font-size: 1.05em;
      }
    }
  }

  .card-combo-brands {
    display: flex;
    align-items: center;
    gap: 0.75rem;

    img {
      height: 20px;
      width: auto;
    }
  }

  .card-combo-brand-text {
    display: inline-block;
    font-weight: 800;
    font-style: italic;
    color: var(--speed-red);
    font-size: 1.05rem;
  }

  .card-combo-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;

    li {
      display: flex;
      align-items: flex-start;
      gap: 0.6rem;
      font-size: 14px;
      font-weight: 600;
      color: #2b2b2b;

      .icon-check {
        flex-shrink: 0;
        margin-top: 0.1rem;
      }
    }
  }

  .card-combo-footer {
    .card-combo-btn {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      width: 100%;
      padding: 0.95rem 1.5rem;
      border-radius: 0.85rem;
      border: none;
      background: var(--speed-red);
      color: #ffffff;
      font-weight: 700;
      text-decoration: none;
      box-shadow: 0 10px 20px rgba(230, 50, 40, 0.22);
      transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;

      &::after {
        content: "→";
        transition: transform 0.2s ease;
      }

      &:hover {
        background: #c81525;
        transform: translateY(-2px);
        box-shadow: 0 14px 26px rgba(230, 50, 40, 0.32);

        &::after {
          transform: translateX(3px);
        }
      }
    }
  }

  &.is-featured {
    border-color: rgba(230, 50, 40, 0.35);
    box-shadow: 0 20px 44px rgba(230, 50, 40, 0.2);
    z-index: 2;

    .card-combo-header {
      background: linear-gradient(160deg, #ffe6e3 0%, #fff8f7 70%);
    }

    &:hover {
      box-shadow: 0 26px 52px rgba(230, 50, 40, 0.28);
    }
  }
}

section.combos {
  background: radial-gradient(120% 140% at 50% 0%, #fff5f4 0%, #ffffff 55%);
  overflow: hidden;

  .title h2 {
    text-align: center;
  }
}

.combos-carousel {
  position: relative;
  padding: 1.5rem 1.25rem 0.5rem;

  @media (max-width: 767.98px) {
    padding: 0.5rem 0 0;
  }

  .swiper.combos {
    padding: 2.5rem 0;
    overflow: visible;

    @media (max-width: 767.98px) {
      overflow: visible;
    }

    .swiper-wrapper {
      align-items: flex-end;
      transition-property: transform, height;
    }

    .swiper-slide {
      height: auto;
      opacity: 0.55;
      transition: opacity 0.3s ease;
    }

    .swiper-slide-active,
    .swiper-slide-visible {
      opacity: 1;
    }
  }

  .combos-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #f0d9d7;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    box-shadow: 0 8px 20px rgba(28, 20, 20, 0.12);
    transition:
      transform 0.2s ease,
      background-color 0.2s ease,
      border-color 0.2s ease,
      opacity 0.2s ease;

    svg path {
      stroke: var(--speed-red);
      transition: stroke 0.2s ease;
    }

    &:hover {
      background: var(--speed-red);
      border-color: var(--speed-red);
      transform: translateY(-50%) scale(1.08);

      svg path {
        stroke: #ffffff;
      }
    }

    &.swiper-button-disabled {
      opacity: 0.35;
      cursor: default;

      &:hover {
        transform: translateY(-50%);
        background: #ffffff;
        border-color: #f0d9d7;

        svg path {
          stroke: var(--speed-red);
        }
      }
    }

    @media (max-width: 767.98px) {
      display: none;
    }
  }

  .combos-carousel-prev {
    left: 0;
  }

  .combos-carousel-next {
    right: 0;
  }

  .combos-pagination {
    position: static;
    margin-top: 1.5rem;
  }

  .swiper-slide-active {
    transition: 300ms all ease-in-out;

    .card-combo {
      transform: scale(1.04);
      box-shadow: 0 26px 52px rgba(28, 20, 20, 0.14);
      transition: 300ms all ease-in-out;

      .card-combo-tag {
        font-size: 0.9rem;
      }

      .card-combo-label {
        font-size: 18px;
      }

      .card-combo-price {
        .card-combo-speed {
          font-size: 60px;

          b {
            font-size: 44px;
          }
        }

        .card-combo-cost {
          font-size: 18px;
        }
      }

      .card-combo-brand-text {
        font-size: 1.25rem;
      }

      .card-combo-features li {
        font-size: 16px;
      }

      .card-combo-btn {
        font-size: 1.05rem;
      }

      &.is-featured {
        box-shadow: 0 32px 60px rgba(230, 50, 40, 0.3);
      }
    }
  }
}

.diferenciais {
  .diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 1.5rem;

    @media (min-width: 768px) {
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
    }
  }

  .diferencial-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 0 1.25rem;

    @media (min-width: 768px) {
      border-left: 1px solid #ececec;
    }

    &:first-child {
      border-left: none;
    }
  }

  .diferencial-icone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    color: var(--speed-red);

    svg,
    img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
  }

  h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--titulos);
  }

  p {
    color: var(--cinza);
  }
}

.indique {
  position: relative;
  overflow: hidden;
}

.indique-media {
  position: relative;

  &::before {
    content: "";
    position: absolute;
    inset: -0.75rem auto auto -0.75rem;
    width: 70%;
    height: 70%;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(230, 50, 40, 0.16), rgba(255, 209, 24, 0.12));
    z-index: 0;
  }

  img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.5rem;
    box-shadow: 0 24px 48px rgba(28, 20, 20, 0.16);
  }
}

footer .title,
footer .description,
footer ul li a,
footer .social a {
  color: #ffffff;
}

.tabs-toggle {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.35rem;
  background: #f2ede9;
  border-radius: 999px;
  margin: 0 auto 2rem;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.tabs-toggle-btn {
  border: none;
  cursor: pointer;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #595959;
  background: transparent;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.15s ease;

  &:hover:not(.is-active) {
    background: rgba(230, 50, 40, 0.08);
    color: var(--speed-red);
  }

  &.is-active {
    background: var(--speed-red);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(230, 50, 40, 0.35);
  }

  &:active {
    transform: scale(0.97);
  }
}

@keyframes tabsPanelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tabs-panel {
  display: none;

  &.is-active {
    display: block;
    animation: tabsPanelIn 0.35s ease both;
  }
}

footer .btn {
  color: var(--speed-red);
}
