/* Serviços (segmento) */
.pagina-servicos main { --texto-cinza: #333; }
.serv-btn {
  display: inline-flex; align-items: center; justify-content: center; padding: 1rem 1.5rem; border-radius: 1rem;
  background: var(--azul); color: var(--branco); font-size: .9375rem; font-weight: 600; line-height: 1; transition: background .2s, color .2s;
}
.serv-btn--verde { background: var(--verde); color: #000; }
.serv-btn--verde:hover, .serv-btn--verde:focus-visible { background: #00FF37; color: var(--marinho); }

/* Topo */
.serv-hero {
  position: relative; overflow: hidden;
  background: var(--azul-bebe) url("../../img/hero-serv.webp") right top / cover no-repeat;
}
.serv-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--azul-gelo) 40%, rgba(222, 239, 250, 0) 80%); }
.serv-hero__conteudo { position: relative; min-height: 32.5rem; padding-block: 2rem 9.5rem; display: flex; align-items: center; }
.serv-hero__texto { width: 50%; display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; }
.serv-hero__titulo { font-size: 1.8125rem; font-weight: 700; line-height: 1.2; color: var(--marinho); }
.serv-hero__desc { font-weight: 600; color: var(--marinho); }
.serv-hero__desc p { margin-bottom: .9rem; }

.serv-numeros { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; }
.serv-numeros ul {
  position: relative; display: inline-flex; gap: 3.5rem; padding: 1.5rem clamp(7rem, 22vw, 20rem) 1rem 1rem; color: var(--branco);
  background: url("../../img/blue-bg-2.svg") right center / auto 100% no-repeat;
}
.serv-numeros ul::before { content: ""; position: absolute; top: 0; bottom: 0; right: calc(100% - 1px); width: 100vw; background: #1F93FA; }
.serv-numeros ul::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -1px; right: 6rem; background: #1F93FA; }
.serv-numeros strong { display: block; font-size: 1.625rem; font-weight: 600; line-height: 1.2; }
.serv-numeros span { display: block; font-size: 1rem; line-height: 2; font-weight: 500; }
.serv-numeros li { position: relative; z-index: 1; }

/* Rentabilidade */
.serv-rent { margin-top: 4rem; text-align: center; }
.serv-rent__titulo { font-size: 2.3125rem; font-weight: 600; line-height: 1.2; color: var(--marinho); margin-bottom: 1.25rem; }
.serv-rent__texto { max-width: 69%; margin: 0 auto 2rem; font-weight: 400; color: var(--texto-cinza); }
.serv-rent__lista { width: 70%; margin: 0 auto 2rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; justify-items: center; align-items: center; }
.serv-rent__lista li { display: flex; align-items: center; gap: .9375rem; text-align: left; }
.serv-rent__ico { flex: none; display: grid; place-items: center; width: 3.375rem; height: 3.375rem; padding: .75rem; border-radius: 1rem; background: var(--branco); color: #000050; }
.serv-rent__ico svg { width: 1.875rem; height: 1.875rem; }
.serv-rent__lista h3 { font-size: .9375rem; font-weight: 400; line-height: 1.2; color: var(--texto-cinza); }

/* Por que empresas de serviços */
.serv-porque { background: var(--azul); margin-top: 1rem; padding-block: 2rem; }
.serv-porque__titulo { font-size: 2.25rem; font-weight: 600; line-height: 1.2; color: var(--branco); text-align: center; margin-bottom: 2rem; }
.serv-porque__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.serv-porque__card { display: flex; align-items: center; gap: .9375rem; background: var(--branco); border: 2px solid var(--cinza); padding: 1.5rem; transition: transform .3s, opacity .6s ease; }
.serv-porque__card.visivel:hover { transform: scale(1.05); }
.serv-porque__ico { flex: none; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; padding: .5rem; border-radius: 1rem; background: #E5F3FF; fill: #07DF00; }
.serv-porque__ico svg { width: 2.5rem; height: 2.5rem; }
.serv-porque__card h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.2; color: var(--azul); }

/* O que sua operação ganha */
.serv-ganhos { padding-block: 2rem 4rem; }
.serv-ganhos__titulo { font-size: 3rem; font-weight: 500; line-height: 1.3; text-align: center; margin-bottom: 2rem; }
.serv-ganhos__titulo b { font-weight: 700; }
.serv-ganhos__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.serv-ganhos__card { display: flex; align-items: center; gap: 1.5rem; background: var(--branco); border: 2px solid var(--cinza); padding: 1.5rem; transition: transform .3s, opacity .6s ease; }
.serv-ganhos__card.visivel:hover { transform: scale(1.05); }
.serv-ganhos__ico { flex: none; padding-right: 1.5rem; border-right: 2px solid var(--cinza); }
.serv-ganhos__ico svg { box-sizing: content-box; width: 3.5rem; height: 3.5rem; padding: .5rem; border-radius: 50%; background: #E5EEFF; fill: var(--marinho); }
.serv-ganhos__card p { margin: 0; font-size: .9375rem; font-weight: 600; line-height: 1.45; }

/* Caixas com foto (desafios / como conduzimos) */
.serv-caixa-sec { padding-inline: 2rem; margin-bottom: 8rem; }
.serv-caixa { position: relative; max-width: calc(var(--container) + 12rem); margin-inline: auto; min-height: clamp(28rem, 50vh, 40rem); padding-block: 4rem; display: flex; align-items: center; }
.serv-caixa::before { content: ""; position: absolute; inset: 0; }
.serv-caixa > .container { position: relative; display: flex; flex-direction: column; gap: 1.5rem; }
.serv-caixa--desafios { background: var(--marinho) url("../../img/2-serv.webp") left center / 100% auto no-repeat; color: var(--branco); }
.serv-caixa--desafios::before { background: linear-gradient(-90deg, var(--marinho) 67%, rgba(1, 17, 50, 0) 100%); }
.serv-caixa--conduz { background: var(--azul-ceu) url("../../img/3-serv.webp") right center / contain no-repeat; color: var(--marinho); }
.serv-caixa--conduz::before { background: linear-gradient(90deg, var(--azul-bebe) 58%, rgba(137, 209, 255, 0) 74%); }
.serv-caixa__texto { width: 50%; display: flex; flex-direction: column; gap: 1.5rem; }
.serv-caixa__texto--direita { align-self: flex-end; margin-top: -2rem; }
.serv-caixa__texto h2 { font-size: 2.625rem; font-weight: 400; line-height: 1.3; }
.serv-caixa__texto h2 b { font-weight: 700; }
.serv-caixa__texto p { font-weight: 500; line-height: 1.7; margin: 0; }
.serv-caixa__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: -10rem; }
.serv-caixa__grid--direita > :first-child { grid-column: 2; }
.serv-lista { display: flex; flex-direction: column; gap: 1.5rem; background: var(--branco); border: 2px solid var(--cinza); padding: 1.5rem; color: var(--texto-cinza); }
.serv-lista li { display: flex; align-items: center; gap: .625rem; }
.serv-lista svg { flex: none; width: 2.625rem; height: 2.625rem; color: var(--verde); }
.serv-lista h3 { font-size: .9375rem; font-weight: 400; line-height: 1.2; }
.serv-lista--etapas li { align-items: flex-start; }
.serv-lista--etapas h3 { margin: .35rem 0 .25rem; }
.serv-lista--etapas h3 b { font-weight: 700; }
.serv-lista--etapas p { font-size: .625rem; font-weight: 500; line-height: 1.5; margin: 0; }

/* Faixa CTA */
.serv-faixa-sec { margin-bottom: 4rem; }
.serv-faixa { grid-template-columns: minmax(0, 1fr) minmax(15rem, 30%); }
.serv-faixa .faixa-cta__texto { padding: 2rem; display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.serv-faixa h2 { font-size: 2.5rem; font-weight: 600; line-height: 1.2; color: var(--marinho); }
.serv-faixa p { font-size: 1.125rem; font-weight: 500; margin: 0; }
.serv-faixa .faixa-cta__botao { justify-content: center; gap: 2.5rem; padding: 1rem; font-size: 2rem; transition: background .3s, transform .3s; }
.serv-faixa .faixa-cta__botao:hover { background: #075E54; }
.serv-faixa .faixa-cta__botao svg { width: 2.5rem; height: 2.5rem; }

/* Por que Blue Ocean */
.serv-bo { background: var(--azul); padding-block: 4rem; }
.serv-bo__titulo { font-size: 2.375rem; font-weight: 400; line-height: 1.2; color: var(--branco); text-align: center; margin-bottom: 1.5rem; }
.serv-bo__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.serv-bo__card { background: var(--branco); border: 2px solid var(--cinza); padding: 2rem; display: flex; flex-direction: column; gap: 1.5rem; transition: transform .3s, opacity .6s ease; }
.serv-bo__card.visivel:hover { transform: scale(1.05); }
.serv-bo__topo { display: flex; align-items: center; gap: .9375rem; }
.serv-bo__ico { flex: none; display: grid; place-items: center; width: 5.5rem; height: 5.5rem; padding: 1rem; border-radius: .25rem; background: #E5F3FF; fill: var(--azul); }
.serv-bo__ico svg { width: 3.5rem; height: 3.5rem; }
.serv-bo__topo h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.2; color: var(--texto-cinza); }
.serv-bo__card p { margin: 0; font-weight: 500; }

/* CTA final */
.serv-final { padding-inline: 2rem; margin-block: 1rem 4rem; }
.serv-final__caixa { position: relative; max-width: calc(var(--container) + 12rem); margin-inline: auto; padding-block: 4rem; background: var(--marinho) url("../../img/rodape-servicos.webp") right top / contain no-repeat; color: var(--branco); }
.serv-final__caixa::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--marinho) 54%, rgba(1, 17, 50, 0) 87%); }
.serv-final__texto { position: relative; width: 50%; display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.serv-final__texto h2 { font-size: 2.625rem; font-weight: 400; line-height: 1.3; }
.serv-final__texto h2 b { font-weight: 700; }
.serv-final__texto p { font-weight: 400; line-height: 1.7; margin: 0; }
.serv-final__texto .serv-btn { margin-top: .5rem; }

@media (max-width: 1366px) {
  .serv-hero__titulo { font-size: 1.875rem; }
  .serv-rent__titulo { font-size: 2.1875rem; }
  .serv-porque__titulo { font-size: 1.8125rem; }
  .serv-ganhos__titulo { font-size: 2rem; }
  .serv-ganhos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .serv-caixa--conduz { background-size: cover; }
  .serv-faixa h2 { font-size: 1.9375rem; }
  .serv-faixa p { font-size: 1rem; }
  .serv-faixa .faixa-cta__botao { font-size: 1.5rem; }
  .serv-final__texto h2 { font-size: 2.25rem; }
}
@media (max-width: 1024px) {
  .serv-hero__conteudo { min-height: 37.5rem; }
  .serv-hero__texto { width: 75%; }
  .serv-hero::before { opacity: .75; }
  .serv-porque__titulo { font-size: 2.5rem; }
  .serv-caixa::before { opacity: .75; }
  .serv-caixa__texto { width: 100%; }
  .serv-caixa__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .serv-caixa__grid--direita > :first-child { grid-column: auto; }
  .serv-faixa { grid-template-columns: minmax(0, 1fr); }
  .serv-faixa .faixa-cta__botao { justify-content: space-between; flex-direction: row-reverse; border-radius: 0 0 2rem 2rem; }
  .serv-bo__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .serv-final__texto { width: 100%; }
}
@media (max-width: 767px) {
  .serv-hero::before { background: var(--azul-gelo); opacity: .8; }
  .serv-hero__conteudo { min-height: 0; padding-block: 3rem 2rem; }
  .serv-hero__texto { width: 100%; gap: 1.5rem; padding-inline: .875rem; }
  .serv-hero__titulo { font-size: 1.5rem; }
  .serv-hero__desc { font-size: 1.0625rem; }
  .serv-hero__texto .serv-btn { width: 100%; }
  .serv-numeros { position: relative; }
  .serv-numeros ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; width: 100%; padding: 1.5rem 0; text-align: center; background: none; }
  .serv-numeros { background: #1F93FA; }
  .serv-numeros ul::before, .serv-numeros ul::after { display: none; }
  .serv-numeros strong { font-size: 1.5rem; }
  .serv-rent { margin-top: 4rem; }
  .serv-rent .container { padding-inline: 1.75rem; }
  .serv-rent__titulo { font-size: 1.5625rem; }
  .serv-rent__texto { max-width: 69%; font-size: 1.0625rem; }
  .serv-rent__lista { width: 100%; grid-template-columns: minmax(0, 1fr); }
  .serv-rent__lista li { flex-direction: column; text-align: center; }
  .serv-porque { padding-block: 3rem 2rem; }
  .serv-porque .container { padding-inline: 2.125rem; }
  .serv-porque__titulo { font-size: 1.5625rem; }
  .serv-porque__grid { grid-template-columns: minmax(0, 1fr); }
  .serv-porque__card { flex-direction: column; align-items: flex-start; }
  .serv-ganhos { padding-block: 3rem 2rem; }
  .serv-ganhos .container { padding-inline: 1rem; }
  .serv-ganhos__titulo { font-size: 1.9375rem; text-align: left; }
  .serv-ganhos__grid { grid-template-columns: minmax(0, 1fr); }
  .serv-ganhos__card { flex-wrap: wrap; }
  .serv-ganhos__ico { padding: 0; border: 0; }
  .serv-caixa-sec { padding-inline: 0; }
  .serv-caixa { min-height: 0; padding: 2rem 0; }
  .serv-caixa > .container { padding-inline: 2rem; }
  .serv-caixa__texto--direita { margin-top: 1rem; }
  .serv-caixa__texto h2 { font-size: 2rem; }
  .serv-caixa__grid { grid-template-columns: minmax(0, 1fr); margin-bottom: -8rem; }
  .serv-caixa-sec { margin-bottom: 10rem; }
  .serv-lista li, .serv-lista--etapas li { flex-direction: column; align-items: flex-start; }
  .serv-lista { padding: 1.5rem; }
  .serv-faixa-sec .container { padding-inline: 3rem; }
  .serv-faixa .faixa-cta__texto { padding: 2rem; }
  .serv-faixa h2 { font-size: 1.375rem; }
  .serv-faixa .faixa-cta__botao { flex-direction: column; align-items: flex-start; gap: 2.5rem; font-size: 1.375rem; padding: 1rem; }
  .serv-bo .container { padding-inline: 3rem; }
  .serv-bo__titulo { font-size: 1.5625rem; text-align: left; }
  .serv-bo__grid { grid-template-columns: minmax(0, 1fr); }
  .serv-bo__topo { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .serv-final { padding-inline: 0; margin-bottom: 0; }
  .serv-final__caixa > .container { padding-inline: 2rem; }
  .serv-final__texto h2 { font-size: 1.5625rem; }
}
