/* ============================================================
   Laboral — página "Soluções". Estilos específicos.
   Reaproveita css/home.css (tokens, header, footer, botões,
   selo, .lab-wave, .lab-cta, reveal, parallax). Aqui só o novo.
   ============================================================ */

/* ---- Page hero ----------------------------------------------------- */

.sol-hero {
  position: relative;
  overflow: hidden;
  padding: var(--hero-pad);
  background:
    linear-gradient(104deg, rgba(6, 34, 56, 0.97) 0%, rgba(9, 47, 75, 0.9) 43%, rgba(12, 64, 100, 0.58) 100%),
    url("../img/imgi_32_653927668_18084170813599409_7778948028019313982_n.webp") center 50% / cover no-repeat;
  color: var(--white);
}

.sol-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 80% at 88% 6%, rgba(255, 255, 255, 0.12), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(0, 0, 0, 0.2), transparent 60%);
  pointer-events: none;
}

.sol-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 40px;
}

.sol-hero-copy {
  max-width: 640px;
}

.sol-hero h1 {
  text-transform: uppercase;
  color: var(--white);
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}

.sol-hero p {
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 34px;
}

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

.sol-hero-seal {
  justify-self: end;
  width: clamp(200px, 24vw, 300px);
  color: rgba(255, 255, 255, 0.9);
  will-change: transform;
}

/* ---- Eyebrow (linhas nas laterais) --------------------------------- */

.sol-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.sol-eyebrow::before,
.sol-eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
}

.sol-eyebrow--ink {
  color: var(--blue);
}

.sol-eyebrow--ink::before,
.sol-eyebrow--ink::after {
  background: var(--blue);
}

/* ---- Especialidades (cards com imagem) ----------------------------- */

.sol-specs {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 7vw, 100px) 0 clamp(112px, 12vw, 164px);
  background: var(--white);
}

.sol-specs .lab-shell {
  position: relative;
  z-index: 1;
}

/* onda soft na base (entrando em sol-tech soft) */
.sol-specs::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: -2px;
  right: -2px;
  height: clamp(68px, 8vw, 128px);
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 128' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 128V54C236 84 454 84 654 60C854 36 1050 22 1440 50V128H0Z' fill='%23eef4f8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% 100%;
}

.sol-specs .lab-head {
  margin: 0 auto clamp(40px, 4.5vw, 62px);
}

.sol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.sol-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.sol-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(12, 52, 82, 0.18);
}

.sol-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.sol-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.sol-card:hover .sol-card-media img {
  transform: scale(1.07);
}

.sol-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(8, 40, 66, 0.44));
}

.sol-card-ic {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 15px;
  background: linear-gradient(140deg, var(--blue-bright), var(--blue));
  color: var(--white);
  box-shadow: 0 12px 24px rgba(22, 101, 150, 0.34);
  transition: transform 0.35s var(--ease);
}

.sol-card:hover .sol-card-ic {
  transform: translateY(-4px) rotate(-4deg);
}

.sol-card-ic svg {
  width: 30px;
  height: 32px;
}

.sol-card-body {
  flex: 1;
  padding: 22px 24px 26px;
}

.sol-card-body h3 {
  text-transform: uppercase;
  color: var(--blue);
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}

.sol-card-body p {
  color: var(--body);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---- Tecnologia & fluxo (cards de ícone) --------------------------- */

.sol-tech {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 7vw, 100px) 0 clamp(112px, 12vw, 164px);
  background: var(--soft);
}

.sol-tech .lab-shell {
  position: relative;
  z-index: 1;
}

/* onda azul-profundo na base (entrando em sol-promise dark) */
.sol-tech::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: -2px;
  right: -2px;
  height: clamp(68px, 8vw, 128px);
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 128' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 128V72C236 36 454 36 720 60C940 84 1200 108 1440 72V128H0Z' fill='%230e4f76'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% 100%;
}

.sol-tech .lab-head {
  margin: 0 auto clamp(40px, 4.5vw, 58px);
}

.sol-tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.sol-feature {
  padding: 32px 26px;
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.sol-feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px rgba(12, 52, 82, 0.16);
}

.sol-feature-ic {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(42, 134, 192, 0.14), rgba(22, 101, 150, 0.12));
  color: var(--blue);
  transition: transform 0.35s var(--ease);
}

.sol-feature:hover .sol-feature-ic {
  transform: translateY(-4px) rotate(-4deg);
}

.sol-feature-ic svg {
  width: 30px;
  height: 32px;
}

.sol-feature h3 {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.sol-feature p {
  color: var(--body);
  font-size: 0.89rem;
  line-height: 1.6;
}

/* ---- Faixa de compromisso (azul) ----------------------------------- */

.sol-promise {
  background: linear-gradient(120deg, var(--blue-deep), var(--blue) 70%, var(--blue-bright));
  color: var(--white);
}

/* sol-promise já é escuro; CTA também é escuro → sem onda branca entre eles */
.sol-promise + .lab-cta::before {
  background-image: none;
}

.sol-promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: clamp(46px, 5.5vw, 70px) 0;
}

.sol-promise-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.sol-promise-item + .sol-promise-item::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 4px;
  height: calc(100% - 8px);
  width: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.sol-promise-ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  color: var(--white);
}

.sol-promise-ic svg {
  width: 26px;
  height: 28px;
}

.sol-promise-item h4 {
  color: var(--white);
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 7px;
}

.sol-promise-item p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---- Responsivo ----------------------------------------------------- */

@media (max-width: 1024px) {
  .sol-hero-inner {
    grid-template-columns: 1fr;
  }

  /* diamante girando visível no mobile, centralizado e baixo na hero */
  .sol-hero-seal {
    top: auto;
    bottom: clamp(74px, 18vw, 120px);
    left: 0;
    right: 0;
    margin: 0 auto;
    transform: none;
    width: clamp(150px, 42vw, 210px);
    color: rgba(255, 255, 255, 0.22);
  }

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

  .sol-tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sol-promise-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .sol-promise-item + .sol-promise-item::before {
    display: none;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100vw - 28px);
  }

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

  .sol-tech-grid {
    grid-template-columns: 1fr;
  }
}

/* o CTA vem logo após a faixa azul de compromisso: sem onda branca no topo */
.sol-promise + .lab-cta::before {
  display: none;
}
