/* ============================================================
   TECGRUP — Landing Page (Google Ads) — estilos exclusivos
   Reaproveita tokens e componentes de styles.css; só adiciona
   o que é específico da LP. Prefixo .lp- para não colidir.
   ============================================================ */

/* ---------- Header enxuto (logo + WhatsApp) ---------- */
/* ---------- Header: telefone segue o tema do header principal ---------- */
.lp-header__phone{
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--ink); text-decoration: none; font-size: 15px;
  margin-right: clamp(12px, 2.5vw, 28px);
  transition: color .35s var(--ease);
}
.lp-header__phone svg{ width: 18px; height: 18px; color: var(--accent); }
.lp-header__phone span{ display: none; }
@media (min-width: 760px){ .lp-header__phone span{ display: inline; } }

/* ---------- HERO ---------- */
.lp-hero{
  position: relative; overflow: hidden;
  background: var(--bg-deep);
  color: #eef4fb;
  padding-top: var(--header-h);
  --ink: #eef4fb; --mist: #a6b8cd; --line: rgba(233,241,227,.12);
}
.lp-hero__media{ position: absolute; inset: 0; z-index: 0; }
.lp-hero__media img{ width: 100%; height: 100%; object-fit: cover; }
.lp-hero__scrim{
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(6,16,28,.62) 0%, rgba(6,16,28,.72) 60%, rgba(6,16,28,.92) 100%),
    linear-gradient(100deg, rgba(6,16,28,.92) 0%, rgba(6,16,28,.55) 55%, rgba(6,16,28,.18) 100%);
}
.lp-hero__inner{
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: clamp(16px, 2.4vw, 26px) clamp(16px, 4vw, 40px) clamp(28px, 4vw, 48px);
}
.lp-hero__grid{ display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 940px){ .lp-hero__grid{ grid-template-columns: 1.05fr .95fr; } }

.lp-hero h1{
  font-family: var(--font-display);
  font-weight: 900; line-height: 1.02; letter-spacing: -.02em;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  color: #fff; margin: 14px 0 0; text-wrap: balance;
}
.lp-hero h1 .text-accent{ color: var(--accent); }
.lp-hero__sub{
  margin: 16px 0 0; max-width: 600px;
  font-size: clamp(1rem, 1.35vw, 1.12rem); line-height: 1.55; color: #cdd9e7;
}
.lp-hero__sub strong{ color: #fff; font-weight: 700; }
.lp-hero__cta{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.lp-hero__micro{
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px;
  font-size: 13.5px; color: #b6c5d6;
}
.lp-hero__micro span{ display: inline-flex; align-items: center; gap: 7px; }
.lp-hero__micro svg{ width: 15px; height: 15px; color: var(--wa); }
/* micro abaixo do card de números, centralizado */
.lp-hero__aside .lp-hero__micro{ justify-content: flex-start; text-align: left; }

/* Hero proof card */
.lp-hero__card{
  background: rgba(10,26,44,.5);
  border: 1px solid rgba(233,241,227,.14);
  border-radius: 14px;
  backdrop-filter: blur(6px);
  display: grid; grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.lp-hero__card .si{
  padding: 22px 22px;
  display: flex; flex-direction: column; justify-content: center;
  border-top: 1px solid rgba(233,241,227,.1);
  border-left: 1px solid rgba(233,241,227,.1);
}
.lp-hero__card .si:nth-child(1), .lp-hero__card .si:nth-child(2){ border-top: 0; }
.lp-hero__card .si:nth-child(odd){ border-left: 0; }
.lp-hero__card .si b{
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2rem, 4vw, 2.6rem); color: #fff; line-height: 1;
  display: flex; align-items: baseline; gap: 2px;
}
.lp-hero__card .si b .u{ color: var(--accent); font-size: .55em; }
.lp-hero__card .si > span{ font-size: 13px; color: #b6c5d6; display: block; margin-top: 8px; line-height: 1.35; }

/* ---------- Faixa de logos placeholder ---------- */
.lp-logos{ padding-block: clamp(28px, 4vw, 44px); }
.lp-logos__row{
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  border: 1px solid rgba(11,31,56,.1); background: rgba(11,31,56,.1);
  border-radius: 12px; overflow: hidden;
}
@media (min-width: 620px){ .lp-logos__row{ grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 940px){ .lp-logos__row{ grid-template-columns: repeat(6, 1fr); } }
.lp-logos__slot{ background: var(--surface); display: grid; place-items: center; padding: 20px 18px; min-height: 66px; }
.lp-logos__ph{
  width: 100%; max-width: 96px; height: 30px; border-radius: 5px;
  background: repeating-linear-gradient(135deg, rgba(11,31,56,.07) 0 7px, rgba(11,31,56,.12) 7px 14px);
}
.lp-logos__cap{ text-align: center; margin-top: 22px; font-size: 12.5px; color: var(--mist-dim); letter-spacing: .04em; }

/* ---------- Espaçamento de seção padronizado (só na LP) ---------- */
.lp-page .section{ padding-block: clamp(48px, 7vw, 80px); }

/* ---------- Rodapé enxuto da LP (2 colunas, sem sobra) ---------- */
.lp-page .footer__top{ grid-template-columns: 1fr auto; gap: clamp(32px, 5vw, 64px); }
.lp-page .footer__brand p{ max-width: 420px; }
.lp-page .footer__contact li{ margin-bottom: 4px; }
.lp-page .footer__bottom{ padding-right: 96px; }
@media (max-width: 760px){
  .lp-page .footer__top{ grid-template-columns: 1fr; }
  .lp-page .footer__bottom{ padding-right: 0; }
}

/* ---------- A DOR INVISÍVEL ---------- */
.lp-pain{ background: var(--surface); }
.lp-pain__grid{ display: grid; gap: 22px; margin-top: 40px; }
@media (min-width: 820px){ .lp-pain__grid{ grid-template-columns: repeat(3, 1fr); } }
.lp-pain__card{
  border: 1px solid var(--line); border-radius: 12px; padding: 28px 24px;
  background: var(--bg);
}
.lp-pain__ico{
  width: 46px; height: 46px; border-radius: 10px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(240,64,79,.1); color: var(--accent);
}
.lp-pain__ico svg{ width: 24px; height: 24px; }
.lp-pain__card h4{ font-size: 1.12rem; margin: 0 0 6px; }
.lp-pain__card p{ color: var(--mist); font-size: 15px; line-height: 1.55; margin: 0; }

/* ---------- BANDEIRA BRANCA (faixa escura) ---------- */
.lp-band{
  background: linear-gradient(120deg, #0e2740 0%, #081a2d 100%);
  color: #eef4fb;
}
.lp-band__inner{ display: grid; gap: 26px; align-items: center; }
@media (min-width: 880px){ .lp-band__inner{ grid-template-columns: 1.3fr .7fr; } }
.lp-band h2{ color: #fff; }
.lp-band p{ color: #c6d3e2; }
.lp-band .lp-band__cta{ display: flex; flex-wrap: wrap; gap: 14px; }
@media (min-width: 880px){ .lp-band .lp-band__cta{ justify-content: flex-end; } }

/* ---------- COMO FUNCIONA (grid de etapas) ---------- */
.lp-steps{ display: grid; gap: 16px; margin-top: 40px; counter-reset: step; }
@media (min-width: 680px){ .lp-steps{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px){ .lp-steps{ grid-template-columns: repeat(3, 1fr); } }
.lp-step{
  position: relative; border: 1px solid var(--line); border-radius: 12px;
  padding: 26px 24px 24px; background: var(--surface);
  transition: border-color .3s, box-shadow .3s var(--ease);
}
.lp-step:hover{ border-color: var(--accent); box-shadow: 0 16px 38px -24px rgba(6,18,31,.5); }
.lp-step__n{
  font-family: var(--font-display); font-weight: 900; font-size: 1.05rem;
  width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center;
  background: var(--accent); color: #fff; margin-bottom: 16px;
}
.lp-step h4{ margin: 0 0 6px; font-size: 1.08rem; }
.lp-step p{ margin: 0; color: var(--mist); font-size: 14.5px; line-height: 1.5; }

/* ---------- FAQ ---------- */
.lp-faq{ max-width: 860px; margin: 40px auto 0; display: grid; gap: 12px; }
.lp-faq__item{ border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }
.lp-faq__q{
  width: 100%; text-align: left; cursor: pointer; border: 0; background: none;
  font-family: var(--font-body); font-weight: 700; color: var(--ink);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  padding: 22px 56px 22px 24px; position: relative;
}
.lp-faq__q::after{
  content: ""; position: absolute; right: 24px; top: 50%;
  width: 12px; height: 12px; margin-top: -6px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); transition: transform .35s var(--ease);
}
.lp-faq__item.is-open .lp-faq__q::after{ transform: rotate(-135deg); }
.lp-faq__item.is-open .lp-faq__q{ color: var(--accent); }
/* animated open/close — max-height definido inline pelo JS (à prova de cache) */
.lp-faq__aw{ display: block; }
.lp-faq__a{ overflow: hidden; max-height: 0; padding: 0 24px; color: var(--mist); font-size: 15px; line-height: 1.62; transition: max-height .4s var(--ease); }
.lp-faq__a > p{ margin: 0; padding-bottom: 22px; }

/* ---------- Reforço de confiança ---------- */
.lp-trust{
  display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center;
  margin-top: 22px; font-size: 14px; color: var(--mist);
}
.lp-trust span{ display: inline-flex; align-items: center; gap: 8px; }
.lp-trust svg{ width: 16px; height: 16px; color: var(--wa); }

/* ---------- Barra de CTA fixa (mobile) ---------- */
.lp-stickybar{
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none;
  grid-template-columns: 1fr; gap: 8px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(11,31,56,.12);
  box-shadow: 0 -10px 30px -18px rgba(6,18,31,.4);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.lp-stickybar.is-on{ transform: translateY(0); }
@media (max-width: 760px){ .lp-stickybar{ display: grid; } }

/* hide the desktop floating WhatsApp on mobile (sticky bar replaces it) */
@media (max-width: 760px){ .wa-float{ display: none; } }

/* ---------- Before/after-free showcase image ---------- */
.lp-shot{ position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); height: 100%; min-height: 320px; }
.lp-shot img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-shot__chip{
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 12.5px;
  letter-spacing: .04em; padding: 7px 13px; border-radius: 999px;
}
/* Hero: rótulo de imagem placeholder (canto inferior direito) */
.lp-hero__phlabel{
  position: absolute; right: clamp(14px, 3vw, 28px); bottom: clamp(14px, 3vw, 26px); z-index: 1;
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: rgba(233,241,227,.62);
  border: 1px dashed rgba(233,241,227,.3); background: rgba(6,16,28,.42);
  padding: 8px 12px; border-radius: 5px; max-width: 260px; text-align: right;
}
@media (max-width: 760px){ .lp-hero__phlabel{ display: none; } }

/* Hero: frase-gancho dos "3 segundos" */
.lp-hero__big{
  margin: 18px 0 0; max-width: 600px;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.14;
  letter-spacing: -.01em; color: #fff; text-wrap: balance;
}
.lp-hero__big::before{
  content: ""; display: inline-block; vertical-align: middle;
  width: 28px; height: 3px; background: var(--accent); border-radius: 2px; margin-right: 12px;
}

/* give last section breathing room above the mobile sticky bar */
@media (max-width: 760px){ .footer{ padding-bottom: 96px; } }

/* ---------- Logos: rótulo de texto no slot ---------- */
.lp-logos__tag{
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: rgba(11,31,56,.34);
  border: 1px dashed rgba(11,31,56,.18); border-radius: 5px;
  padding: 8px 12px; white-space: nowrap; transition: color .3s, border-color .3s;
}
.lp-logos__slot:hover .lp-logos__tag{ color: rgba(11,31,56,.5); border-color: rgba(11,31,56,.3); }
/* Logotipos reais dos clientes */
.lp-logos__img{
  max-width: 100%; max-height: 38px; width: auto; height: auto;
  object-fit: contain; display: block;
}
/* Logos compactos (quase quadrados) ganham mais altura p/ equilibrar */
.lp-logos__img[src$="gulf.png"]{ max-height: 56px; }

/* ---------- Solução: título em destaque maior ---------- */
.lp-page .pkg__title{ font-size: clamp(2.1rem, 4vw, 3.15rem); line-height: 1.02; }
.lp-page .pkg .eyebrow{ font-size: 13.5px; }

/* ---------- Cases: slider antes/depois (arrastar) ---------- */
.cases__grid--ba{ display: grid; gap: 24px; margin-top: 40px; }
@media (min-width: 820px){ .cases__grid--ba{ grid-template-columns: repeat(3, 1fr); } }
.ba__stage{
  position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); cursor: ew-resize; user-select: none; touch-action: none;
  -webkit-user-select: none; -webkit-touch-callout: none;
  --p: 16%;
}
.ba__ph{
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; text-align: center;
}
.ba__ph--after{
  background-color: #0c2740;
  background-image: repeating-linear-gradient(135deg, rgba(233,241,227,.06) 0 2px, transparent 2px 24px);
  color: rgba(233,241,227,.5);
}
.ba__before{ position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.ba__img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ba__ph--before{
  background-color: #241512;
  background-image: repeating-linear-gradient(135deg, rgba(255,220,200,.06) 0 2px, transparent 2px 24px);
  color: rgba(255,220,200,.55);
}
.ba__tag{
  position: absolute; top: 12px; z-index: 3;
  font-family: var(--font-body); font-size: 10.5px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px;
  color: #fff;
}
.ba__tag--after{ right: 12px; background: var(--accent); }
.ba__tag--before{ left: 12px; background: rgba(0,0,0,.5); }
.ba__handle{
  position: absolute; top: 0; bottom: 0; left: var(--p); z-index: 4;
  width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(6,18,31,.15);
  display: grid; place-items: center; pointer-events: none;
}
.ba__handle svg{
  position: absolute; top: 50%; left: 50%; margin: -19px 0 0 -19px;
  width: 26px; height: 26px; padding: 6px; box-sizing: content-box;
  background: #fff; color: var(--ink); border-radius: 999px;
  box-shadow: 0 6px 18px -6px rgba(6,18,31,.5);
  transition: color .18s ease, box-shadow .18s ease;
}
/* Feedback de clique: as setinhas ficam vermelhas enquanto arrasta */
.ba__stage.is-dragging .ba__handle svg{ color: var(--accent); box-shadow: 0 6px 20px -5px rgba(201,42,57,.6); }
/* Dica de "arraste": o ícone balança suavemente até a 1ª interação */
@media (prefers-reduced-motion: no-preference){
  .ba__stage:not(.ba-touched) .ba__handle svg{ animation: ba-nudge 2.6s ease-in-out infinite; }
  /* Desencontra o balanço entre os três sliders */
  .cases__grid--ba .ba:nth-child(2) .ba__stage:not(.ba-touched) .ba__handle svg{ animation-duration: 3.2s; animation-delay: .4s; }
  .cases__grid--ba .ba:nth-child(3) .ba__stage:not(.ba-touched) .ba__handle svg{ animation-duration: 2.2s; animation-delay: .9s; }
}
@keyframes ba-nudge{
  0%, 55%, 100%{ transform: translateX(0); }
  18%{ transform: translateX(-5px); }
  36%{ transform: translateX(5px); }
}
.ba__cap{ margin-top: 14px; }
.ba__cap b{ display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.ba__cap span{ display: block; margin-top: 3px; font-size: 13.5px; color: var(--mist); }

/* ---------- Formulário intermediário ---------- */
.lp-midform{ background: linear-gradient(120deg, #0e2740 0%, #081a2d 100%); color: #eef4fb; }
.lp-midform__inner{ display: grid; gap: 30px; align-items: center; }
@media (min-width: 880px){ .lp-midform__inner{ grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 72px); } }
.lp-midform h2{ color: #fff; }
.lp-midform p{ color: #c6d3e2; }
.lp-midform__form{
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 14px;
  box-shadow: 0 30px 70px -40px rgba(0,0,0,.6);
}
.lp-midform__form .btn{ margin-top: 4px; }

/* ---------- Conversão: WhatsApp e formulário com o mesmo peso ---------- */
.lp-page .convert__grid{ grid-template-columns: 1fr 1fr; }
@media (max-width: 900px){ .lp-page .convert__grid{ grid-template-columns: 1fr; } }
.wacard__micro{ margin-top: 12px; font-size: 13.5px; color: #8fc4a8; position: relative; }

/* ícone usado no lugar de um número na faixa de grandeza */
.stat__num--ico{ display: inline-flex; align-items: center; line-height: 1; }
.stat__num--ico svg{ width: .92em; height: .92em; color: var(--accent); display: block; }

/* ============================================================
   MOBILE / RESPONSIVO (LP)
   ============================================================ */
@media (max-width: 760px){
  /* Header enxuto: logo + WhatsApp; telefone vira só ícone (já oculta o texto) */
  .lp-page .header__inner{ gap: 12px; }
  .lp-header__phone{ margin-right: 0; }
  .lp-header__phone svg{ width: 20px; height: 20px; }
  .lp-page .header__cta{ gap: 12px; }

  /* Hero: respiro e tipografia ajustados ao toque */
  .lp-hero__inner{ padding-top: clamp(14px, 5vw, 22px); padding-bottom: clamp(28px, 7vw, 40px); }
  .lp-hero__grid{ gap: 26px; }
  .lp-hero h1{ font-size: clamp(1.9rem, 8vw, 2.5rem); }
  .lp-hero__sub{ font-size: 1rem; }
  /* CTAs em coluna e largura total — alvo de toque grande */
  .lp-hero__cta{ flex-direction: column; align-items: stretch; gap: 10px; }
  .lp-hero__cta .btn{ width: 100%; }
  /* micro alinhado à esquerda da coluna, abaixo do card */
  .lp-hero__aside .lp-hero__micro{ margin-top: 16px; }

  /* Showcase image: altura menor quando empilhada */
  .lp-shot{ min-height: 220px; }

  /* Card de números: respiro interno menor */
  .lp-hero__card .si{ padding: 16px 16px; }
  .lp-hero__card .si b{ font-size: clamp(1.7rem, 7vw, 2.2rem); }

  /* Banda bandeira branca: CTA à esquerda e largura total */
  .lp-band__cta{ justify-content: flex-start; }
  .lp-band__cta .btn{ width: 100%; }

  /* FAQ: padding lateral menor */
  .lp-faq__q{ padding: 18px 48px 18px 18px; font-size: 1rem; }
  .lp-faq__a{ padding: 0 18px; }

  /* Logos: 3 colunas no tablet/mobile largo */
  .lp-logos__row{ grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px){
  /* Header: esconde o telefone para sobrar espaço ao logo + WhatsApp */
  .lp-header__phone{ display: none; }
  .brand img{ height: 30px; }
  .btn--wa{ padding-inline: 16px; }

  /* Hero card: mantém 2 colunas, mas mais compacto */
  .lp-hero__card .si{ padding: 14px 12px; }
  .lp-hero__card .si > span{ font-size: 12px; }

  /* Dor: ícones e cards um pouco menores */
  .lp-pain__card{ padding: 22px 20px; }

  /* Logos: 2 colunas no celular */
  .lp-logos__row{ grid-template-columns: repeat(2, 1fr); }

  /* Trust: centralizado e compacto */
  .lp-trust{ gap: 8px 16px; font-size: 13px; }

  /* Reduz folga das seções no celular */
  .lp-page .section{ padding-block: clamp(40px, 11vw, 56px); }
}

/* Eyebrow em destaque: "A SOLUÇÃO" sobre quadrado vermelho da marca */.eyebrow--badge{
  gap: 0;
  color: #fff;
  font-size: 15px;
  letter-spacing: .22em;
  background: var(--accent);
  padding: 10px 16px;
  border-radius: 6px;
  box-shadow: 0 10px 26px -14px rgba(201,42,57,.75);
}
.eyebrow--badge::before{ display: none; }

/* Palavra em destaque: texto branco sobre tarja vermelha da marca */
.mark-red{
  color: #fff;
  background: var(--accent);
  padding: 0 .18em;
  border-radius: 5px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.pkg__cta--lp{ margin-top: 26px; justify-content: center; }


/* ============================================================
   RESPONSIVO — blindagem das landing pages
   ============================================================ */
@media (max-width: 520px){
  .lp-hero__cta{ flex-direction: column; align-items: stretch; }
  .lp-hero__cta .btn{ width: 100%; }
  .lp-hero__card{ padding: 20px 18px; }
  .lp-logos__row{ gap: 10px; }
}
@media (max-width: 440px){
  .lp-hero__card .si b{ font-size: 1.7rem; }
  .lp-shot{ min-height: 220px; }
}
/* Hero da LP: cabe acima da dobra no celular */
@media (max-width: 560px){
  .lp-hero{ padding-bottom: 48px; }
  .lp-hero__grid{ gap: 24px; }
  .lp-hero__sub{ margin-top: 14px; }
  .lp-hero__cta{ margin-top: 22px; }
  .lp-hero__card{ padding: 18px 16px; }
  .lp-hero__micro{ gap: 8px; }
}
/* Barra fixa respeita a área segura do iPhone */
.lp-stickybar{ padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 760px){ .footer{ padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); } }
