/* =============================================================================
   INFRA — Página: Serviços
   CSS de override escopado para ajustes finos (fundo sólido, espaçamentos
   e efeito no título — underline maior com animação).
   -----------------------------------------------------------------------------
   Usar SOMENTE em /servicos.html
============================================================================= */

/* ---------- Fundo sólido (remover faixas/gradientes visuais entre seções) --- */
.section--headline-card,
.section--cards,
.section { background:#fff !important; }
main { background:#fff !important; }

/* ---------- Espaçamentos ---------------------------------------------------- */
/* Aproxima o bloco "impulsione..." do HERO */
.section--headline-card .container{
  padding-top:6px !important;   /* ajuste fino: 6–12px */
  padding-bottom:0 !important;
}

/* Espaço entre o texto e os cards (aumente/diminua) */
.section--cards{ margin-top:18px !important; }

/* Remove linhas/resíduos visuais de transição */
.section--headline-card::before,
.section--headline-card::after,
.section--cards::before,
.section--cards::after{
  background:transparent !important;
  box-shadow:none !important;
}

/* ---------- FX: Headline com underline MAIOR ------------------------------- */
/* Largura alvo do sublinhado */
:root{ --underline-width:240px; } /* maior que o padrão */

.section--headline-card h2{
  position:relative;
  display:inline-block;
  margin:0 0 12px 0;             /* espaço entre título e subtítulo */
  font-weight:800;
  line-height:1.25;
  text-wrap:balance;
  text-shadow:0 0 1px rgba(0,0,0,.05);
  opacity:0;
  transform:translateY(8px);
  animation:fx-reveal 520ms ease-out forwards 80ms;
}

/* Sublinhado animado */
.section--headline-card h2::after{
  content:"";
  position:absolute;
  left:0; bottom:-6px;
  height:3px; width:0;
  border-radius:999px;
  background:linear-gradient(90deg,#3b82f6,#8b5cf6);
  animation:fx-underline 800ms cubic-bezier(.22,.9,.25,1) forwards 140ms;
}

/* Subtítulo com reveal sutil */
.section--headline-card p{
  opacity:0;
  transform:translateY(8px);
  animation:fx-reveal 520ms ease-out forwards 160ms;
}

/* Animações */
@keyframes fx-reveal{ to{ opacity:1; transform:translateY(0) } }
@keyframes fx-underline{ to{ width:var(--underline-width) } }

/* Acessibilidade: reduz movimento */
@media (prefers-reduced-motion:reduce){
  .section--headline-card h2,
  .section--headline-card p{
    animation:none !important;
    opacity:1 !important;
    transform:none !important;
  }
  .section--headline-card h2::after{ width:var(--underline-width); }
}

/* Responsivo */
@media (max-width:768px){
  .section--cards{ margin-top:14px !important; }
  .section--headline-card h2::after{ bottom:-5px; }
}
@media (max-width:480px){
  :root{ --underline-width:56vw; }
}


/* ===========================
   Duo Banners – Consultoria & PABX em /servicos
   =========================== */

.section--duo-banners {
  margin-top: -8px;
  padding-top: 0.1rem;
  padding-bottom: 0.3rem;
}


/* Subtítulo mais próximo dos cards (Serviços) */
section[aria-label="Mensagem de valor"] .section-subtitle{
  margin-top: 0;
  margin-bottom: 0;
}


.section--duo-banners .container {
  max-width: 1200px;
  margin: 0 auto;
}

.duo-banners {
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem;
}


.duo-banner {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
  position: relative;
  isolation: isolate;

  display: flex;
  flex-direction: column;
}


/* Coluna de texto, alinhada aos demais cards */
.duo-banner__content {
  grid-area: content;
  position: relative;
  z-index: 1;
  padding: 16px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #111827;
}

.duo-banner__content-top {
  margin-bottom: 2px;
}

.duo-banner__content-bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Tipografia alinhada com cards-servicos */
.duo-banner__eyebrow {
  margin: 0 0 4px;
  font-size: 12px;
  color: #1d4ed8;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.duo-banner__title {
  margin: 2px 0 6px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  color: #0f172a;
}

.duo-banner__text {
  margin: 0 0 4px;
  font-size: 14px;
  color: #374151;
}

.duo-banner__list {
  margin: 4px 0 8px;
  padding-left: 1.1rem;
  font-size: 14px;
  color: #111827;
}

.duo-banner__list li {
  margin-bottom: 3px;
}

/* CTA próximo aos botões dos cards */
.duo-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  align-self: center;
  padding: 7px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #facc15, #eab308);
  color: #111827;
  box-shadow: 0 14px 30px rgba(234, 179, 8, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}


.duo-banner__cta--secondary {
  background: linear-gradient(135deg, #facc15, #eab308);
  box-shadow: 0 14px 30px rgba(234, 179, 8, 0.4);
  color: #111827;
}


.duo-banner__cta .icon {
  display: none;
}


.duo-banner__cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.duo-banner__cta:hover .icon {
  transform: none;
}


/* Coluna da imagem */
.duo-banner__media {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #e5e7eb;
}

.duo-banner__media img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.03);
  border-radius: 18px;
}


.duo-banner__media img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.03);
  border-radius: 18px;
}

/* Responsivo: em mobile, conteúdo em cima e imagem embaixo */
@media (max-width: 980px) {
  .duo-banners {
    grid-template-columns: minmax(0, 1fr);
  }
}

}

@media (max-width: 640px) {
  .section--duo-banners {
    padding-top: 1.8rem;
    padding-bottom: 0.2rem;
  }
  .duo-banner__content {
    padding: 14px 14px 12px;
  }
  .duo-banner__title {
    font-size: 18px;
  }
  .duo-banner__text,
  .duo-banner__list {
    font-size: 13px;
  }
}



/* Tipografia exclusiva dos cards CONSULTORIA EM T.I e PABX VIRTUAL alinhada à curva 20 / 16 / 14 */
.duo-banner--consultoria .duo-banner__title,
.duo-banner--pabx .duo-banner__title {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.duo-banner--consultoria .duo-banner__text,
.duo-banner--pabx .duo-banner__text {
  font-size: 16px;
  line-height: 1.5;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.duo-banner--consultoria .duo-banner__list,
.duo-banner--pabx .duo-banner__list {
  font-size: 14px;
  line-height: 1.5;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.duo-banner--consultoria .duo-banner__eyebrow,
.duo-banner--pabx .duo-banner__eyebrow {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- /* ---------- Destaque exclusivo para os banners Consultoria / PABX ------------- */

/* Estado base: destaque forte, porém mais suave que a versão anterior */
.duo-banner--consultoria,
.duo-banner--pabx {
  position: relative;
  box-shadow: 0 20px 56px rgba(15, 23, 42, 0.18);
  border-color: rgba(37, 99, 235, 0.55);
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.16), transparent 60%),
    radial-gradient(circle at bottom right, rgba(147, 51, 234, 0.12), transparent 65%),
    #ffffff;
  transition:
    transform 0.20s ease-out,
    box-shadow 0.20s ease-out,
    border-color 0.20s ease-out,
    background 0.20s ease-out;
  z-index: 0;
}

/* Halo discreto em volta dos cards */
.duo-banner--consultoria::before,
.duo-banner--pabx::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.24), transparent 55%),
    radial-gradient(circle at bottom right, rgba(147, 51, 234, 0.18), transparent 60%);
  opacity: 0.55;
  z-index: -1;
  transition:
    opacity 0.20s ease-out,
    filter 0.20s ease-out;
}

/* Faixa de energia mais fina na base do card */
.duo-banner--consultoria::after,
.duo-banner--pabx::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 10px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, #7c3aed, #0ea5e9);
  opacity: 0.75;
  transform: scaleX(0.55);
  transform-origin: center;
  transition:
    transform 0.20s ease-out,
    opacity 0.20s ease-out,
    filter 0.20s ease-out;
}

/* Hover: elevação moderada + halo levemente intensificado */
.duo-banner--consultoria:hover,
.duo-banner--pabx:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.22);
  border-color: rgba(37, 99, 235, 0.80);
}

.duo-banner--consultoria:hover::before,
.duo-banner--pabx:hover::before {
  opacity: 0.9;
  filter: brightness(1.04);
}

.duo-banner--consultoria:hover::after,
.duo-banner--pabx:hover::after {
  transform: scaleX(0.95);
  opacity: 0.98;
  filter: brightness(1.06);
}

Depoimentos técnicos – proximidade com a HERO + destaque cards --- */

/* Aproxima a seção "Quem já contratou nossa T.I" da imagem da hero na página Serviços */
.section--testimonials{
  margin-top: clamp(-52px, -5.2vh, -28px);
  padding-top: clamp(1rem, 2.2vh, 1.35rem);
}

/* Grid de depoimentos: mantém responsividade e dá um leve respiro vertical */
.section--testimonials > .container{
  max-width: 1180px;
}

/* Cards de depoimentos com maior presença visual (estado padrão marcante) */
.section--testimonials .testimonial-card{
  position: relative;
  border-radius: 14px;
  border-color: rgba(37,99,235,0.18) !important;
  box-shadow: 0 20px 50px rgba(15,23,42,0.18);
  background: radial-gradient(circle at top left, rgba(59,130,246,0.10), transparent 60%), #ffffff;
  transition:
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out,
    border-color 0.18s ease-out,
    background 0.18s ease-out;
}

/* Tipografia dos depoimentos — mais legível e com presença */
.section--testimonials .testimonial-card p:first-of-type{
  font-size: 0.92rem;
  line-height: 1.55;
  color: #0f172a;
}

.section--testimonials .testimonial-card p:nth-of-type(2){
  color: #0f172a;
}

/* Glow suave em overlay */
.section--testimonials .testimonial-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:radial-gradient(circle at top left, rgba(37,99,235,0.18), transparent 65%);
  opacity:0;
  pointer-events:none;
  transition:opacity 0.18s ease-out;
}

/* Hover com elevação */
.section--testimonials .testimonial-card:hover{
  transform:translateY(-4px);
  box-shadow:0 26px 70px rgba(15,23,42,0.18);
  border-color:rgba(37,99,235,0.45) !important;
}

/* Hover: ativa glow */
.section--testimonials .testimonial-card:hover::before{
  opacity:1;
}

/* Acessibilidade: reduz movimento quando preferido pelo usuário */
@media (prefers-reduced-motion: reduce){
  .section--testimonials .testimonial-card{
    transition:none;
  }
  .section--testimonials .testimonial-card:hover{
    transform:none;
  }
}
