/* ==========================================================================
   Aliah · Página inicial
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
}

.hero .bg-grid {
  -webkit-mask-image: radial-gradient(ellipse 65% 70% at 72% 42%, #000 5%, transparent 72%);
  mask-image: radial-gradient(ellipse 65% 70% at 72% 42%, #000 5%, transparent 72%);
}

.hero__glow {
  top: -22%;
  right: -18%;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  min-height: min(calc(100svh - var(--header-h) - 110px), 780px);
  padding-block: clamp(48px, 7vw, 96px) clamp(48px, 6vw, 80px);
}

.hero__title {
  margin: 28px 0;
  max-width: 13.5ch;
}

.hero__lead {
  max-width: 560px;
  margin: 0 0 14px;
}

.hero__text {
  max-width: 540px;
  margin: 0;
  color: var(--mist);
  line-height: 1.75;
}

.hero__actions {
  margin-top: 40px;
}

.hero__visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  justify-self: center;
  padding: 7%;
}

.hero__parallax {
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform 1.4s var(--ease-out);
}

.hero__chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 7px;
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--r-pill);
  background: rgba(11, 35, 64, 0.62);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.6);
  color: #e9eef3;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  animation: chip-float 8s var(--ease-in-out) infinite;
}

.hero__chip-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(201, 164, 92, 0.14);
  color: var(--gold-300);
}

.hero__chip-icon .icon {
  width: 16px;
  height: 16px;
}

.hero__chip--1 {
  top: 12%;
  left: -2%;
}

.hero__chip--2 {
  top: 48%;
  right: -4%;
  animation-delay: -2.6s;
}

.hero__chip--3 {
  bottom: 9%;
  left: 6%;
  animation-delay: -5.2s;
}

@keyframes chip-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

/* --------------------------------------------------------------------------
   Diferenciais
   -------------------------------------------------------------------------- */
.trust {
  position: relative;
  padding-bottom: clamp(40px, 5vw, 72px);
}

.trust__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  overflow: hidden;
  overflow: clip;
  list-style: none;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.02);
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px clamp(18px, 2vw, 28px);
  color: #e2e8ef;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.trust__item + .trust__item {
  border-left: 1px solid var(--line-dark);
}

.trust__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border: 1px solid var(--line-gold);
  border-radius: 12px;
  background: rgba(201, 164, 92, 0.06);
  color: var(--gold-300);
}

/* --------------------------------------------------------------------------
   Serviços
   -------------------------------------------------------------------------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  grid-column: span 2;
  min-height: 300px;
}

.service-card--feature,
.service-card--wide {
  grid-column: span 3;
  min-height: 330px;
}

.service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  margin-bottom: auto;
  padding-bottom: 48px;
}

.service-card__index {
  font-variant-numeric: lining-nums;
  color: var(--ink-mute);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
}

.service-card h3 {
  font-size: 1.375rem;
}

.service-card--feature h3,
.service-card--wide h3 {
  font-size: clamp(1.5rem, 1.25rem + 0.6vw, 1.75rem);
}

.service-card p {
  max-width: 38ch;
}

.service-card__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
}

/* Card de destaque em azul institucional */
.service-card--feature {
  border-color: rgba(201, 164, 92, 0.35);
  background: linear-gradient(160deg, #143656 0%, var(--navy) 70%);
  color: var(--white);
}

.service-card--feature::before {
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 0%),
    rgba(201, 164, 92, 0.2),
    transparent 55%
  );
}

.service-card--feature::after {
  content: "";
  position: absolute;
  top: -45%;
  right: -25%;
  z-index: -1;
  width: 75%;
  aspect-ratio: 1;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(201, 164, 92, 0.03),
    0 0 0 96px rgba(201, 164, 92, 0.02);
  transition: transform 1.2s var(--ease-out);
}

.service-card--feature:hover::after {
  transform: scale(1.08);
}

.service-card--feature p {
  color: var(--mist);
}

.service-card--feature .icon-badge {
  border-color: var(--line-gold);
  background: rgba(201, 164, 92, 0.1);
  color: var(--gold-300);
}

.service-card--feature:hover .icon-badge {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
}

.service-card--feature .service-card__index {
  color: var(--gold-300);
}

.service-card--feature .service-card__cta {
  border-top-color: var(--line-dark-strong);
  color: var(--white);
}

.service-card--feature .arrow-chip {
  border-color: var(--line-dark-strong);
  color: var(--white);
}

.services__more {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* --------------------------------------------------------------------------
   Por que escolher
   -------------------------------------------------------------------------- */
.why__glow {
  top: 5%;
  left: -30%;
}

.why__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(40px, 7vw, 112px);
}

.why__visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  padding: clamp(40px, 5vw, 64px) clamp(24px, 4vw, 48px);
  border: 1px solid var(--line-gold);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, #143656 0%, #0a2140 50%, #06162a 100%);
  box-shadow: var(--shadow-dark), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.why__visual .bg-grid {
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%);
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%);
}

.why__emblem {
  max-width: 340px;
}

.why__tag {
  position: absolute;
  left: 0;
  right: 0;
  color: var(--gold-300);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-align: center;
  text-transform: uppercase;
}

.why__tag--top {
  top: 28px;
}

.why__tag--bottom {
  bottom: 28px;
}

.why__content {
  display: grid;
  justify-items: start;
  gap: 22px;
}

.why__content .title {
  margin-bottom: 6px;
}

.why__lead {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
  font-weight: 500;
  line-height: 1.35;
}

.why__text {
  max-width: 580px;
  margin: 0;
  color: var(--mist);
  font-size: 1.0625rem;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   Responsivo
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero__chip--1 {
    left: -6%;
  }

  .hero__chip--2 {
    right: -8%;
  }
}

@media (max-width: 960px) {
  .trust__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust__item:nth-child(odd) {
    border-left: 0;
  }

  .trust__item:nth-child(n + 3) {
    border-top: 1px solid var(--line-dark);
  }

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

  .service-card,
  .service-card--feature,
  .service-card--wide {
    grid-column: auto;
    min-height: 290px;
  }

  .service-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 40px;
  }

  .hero__title {
    max-width: 14ch;
  }

  .hero__visual {
    max-width: 440px;
    padding: 8% 12%;
  }

  .hero__chip--1 {
    left: 0;
  }

  .hero__chip--2 {
    right: 0;
  }

  .section-head--split {
    grid-template-columns: 1fr;
  }

  .why__grid {
    grid-template-columns: 1fr;
  }

  .why__visual {
    order: 2;
    aspect-ratio: 16 / 11;
  }

  .why__emblem {
    max-width: 260px;
  }
}

@media (max-width: 560px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__visual {
    padding: 10% 6%;
  }

  .hero__chip {
    font-size: 0.75rem;
    padding-right: 12px;
  }

  .hero__chip--2 {
    top: 52%;
  }

  .trust__list {
    grid-template-columns: 1fr;
  }

  .trust__item + .trust__item {
    border-left: 0;
    border-top: 1px solid var(--line-dark);
  }

  .trust__item {
    padding: 18px 20px;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .service-card:last-child {
    grid-column: auto;
  }

  .service-card,
  .service-card--feature,
  .service-card--wide {
    min-height: 0;
  }

  .service-card__top {
    padding-bottom: 36px;
  }

  .why__visual {
    aspect-ratio: 1;
  }
}

@media (max-width: 360px) {
  .hero__chip-icon {
    display: none;
  }

  .hero__chip {
    padding: 8px 12px;
  }
}
