/* WhatsApp + IA, chamadas para o app ao longo da página e barra fixa do mobile. */
:root {
  --wa: #25d366;
  --wa-dark: #0b141a;
  --wa-panel: #1f2c34;
  --wa-out: #005c4b;
}

/* Hero */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 6px 13px 6px 6px;
  border: 1px solid #1d5a4a;
  border-radius: 999px;
  background: #06231f;
  color: #c9f5e6;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.hero-pill span {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--wa);
  color: #04261a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.hero-pill b {
  color: var(--wa);
}
.hero-pill:hover {
  border-color: var(--wa);
  background: #083028;
}
.hero-login {
  margin-top: 10px;
  color: #748197;
  font-size: 12px;
}
.hero-login a {
  color: #8fe9d4;
  font-weight: 700;
  text-decoration: none;
}
.hero-login a:hover {
  text-decoration: underline;
}

/* Seção WhatsApp + IA */
.whatsapp-section {
  padding: 116px 0 104px;
  background:
    radial-gradient(circle at 78% 30%, #0c5a3f40, transparent 42%),
    linear-gradient(180deg, #050b16, #061714 70%, #050b16);
  border-block: 1px solid #12382f;
}
.whatsapp {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}
.whatsapp-section .eyebrow i {
  background: var(--wa);
}
.whatsapp h2 {
  max-width: 560px;
  margin: 18px 0;
}
.whatsapp h2 span {
  background: linear-gradient(110deg, var(--wa), #17b8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.whatsapp-lead {
  max-width: 540px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.input-modes {
  display: grid;
  gap: 12px;
  margin: 30px 0;
}
.input-modes article {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid #184538;
  border-radius: 14px;
  background: linear-gradient(150deg, #0a221d, #08141a);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.input-modes article:hover {
  border-color: var(--wa);
  transform: translateX(3px);
}
.input-modes b {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid #1f6b52;
  border-radius: 12px;
  background: #0b3a2d;
  font-size: 20px;
}
.input-modes h3 {
  margin-bottom: 4px;
  font-size: 15px;
}
.input-modes p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}
.whatsapp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
}
.whatsapp-actions .button {
  background: linear-gradient(135deg, #1fbf5b, #00a88c);
  box-shadow: 0 14px 28px #0aa85a40;
}
.whatsapp-actions .button:hover {
  background: linear-gradient(135deg, #34d870, #10c2a2);
}

/* Celular com a conversa */
.wa-phone {
  justify-self: center;
  width: min(100%, 340px);
  margin: 0;
}
.wa-chat {
  overflow: hidden;
  padding: 0;
  border: 3px solid #2f4a45;
  border-radius: 42px;
  background: var(--wa-dark);
  box-shadow: 0 30px 70px #000b, 0 0 0 8px #0b1f1b;
}
.wa-header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 34px 18px 13px;
  background: var(--wa-panel);
}
.wa-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00b99c, #078ee8);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}
.wa-header div {
  display: grid;
  gap: 2px;
}
.wa-header b {
  font-size: 13px;
}
.wa-header small {
  color: #8696a0;
  font-size: 10px;
}
.wa-body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 16px 13px;
  background:
    radial-gradient(circle at 20% 20%, #ffffff06 1px, transparent 1.5px) 0 0 / 14px 14px,
    var(--wa-dark);
}
.wa-msg {
  max-width: 80%;
  padding: 8px 11px;
  border-radius: 10px;
  color: #e9edef;
  font-size: 11.5px;
  line-height: 1.5;
}
.wa-msg small {
  color: #9fb0b9;
  font-size: 10px;
}
.wa-out {
  align-self: flex-end;
  background: var(--wa-out);
  border-top-right-radius: 3px;
}
.wa-in {
  align-self: flex-start;
  background: var(--wa-panel);
  border-top-left-radius: 3px;
}
.wa-in b {
  color: #fff;
}
.wa-audio {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 170px;
}
.wa-play {
  color: #d1f4e6;
  font-size: 12px;
}
.wa-wave {
  flex: 1;
  height: 18px;
  background: repeating-linear-gradient(
    90deg,
    #9fdcc6 0 2px,
    transparent 2px 5px
  );
  -webkit-mask: linear-gradient(
    90deg,
    #000 0 8%,
    #0006 8% 12%,
    #000 12% 30%,
    #0005 30% 36%,
    #000 36% 62%,
    #0006 62% 70%,
    #000 70% 100%
  );
  mask: linear-gradient(
    90deg,
    #000 0 8%,
    #0006 8% 12%,
    #000 12% 30%,
    #0005 30% 36%,
    #000 36% 62%,
    #0006 62% 70%,
    #000 70% 100%
  );
  border-radius: 3px;
}
.wa-photo {
  display: grid;
  gap: 5px;
  padding: 5px 5px 7px;
}
.wa-photo small {
  padding-left: 4px;
  color: #cfe9df;
}
.wa-receipt {
  display: grid;
  gap: 6px;
  width: 128px;
  padding: 12px 12px 16px;
  border-radius: 7px;
  background: #f4f1e8;
  transform: rotate(-2deg);
}
.wa-receipt i {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: #b9b3a3;
}
.wa-receipt i:nth-child(2) {
  width: 70%;
}
.wa-receipt i:nth-child(3) {
  width: 85%;
}
.wa-receipt i:last-child {
  width: 45%;
  margin-left: auto;
  height: 6px;
  background: #4b4636;
}
.wa-input {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px 20px;
  background: var(--wa-dark);
}
.wa-input span {
  flex: 1;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--wa-panel);
  color: #8696a0;
  font-size: 11px;
}
.wa-input b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--wa);
  font-size: 14px;
}
.wa-phone figcaption {
  margin-top: 18px;
  color: #718099;
  font-size: 10px;
  text-align: center;
}

/* Faixa de recursos da IA */
.ai-strip {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 26px;
  align-items: center;
  margin-top: 64px;
  padding: 22px 26px;
  border: 1px solid #1a4a5c;
  border-radius: 18px;
  background: linear-gradient(120deg, #08202b, #071320);
}
.ai-strip-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ai-strip-title b {
  font-size: 14px;
  line-height: 1.35;
}
.ai-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #00c7a5, #17b8ff);
  color: #04202a;
  font-size: 13px;
  font-weight: 800;
}
.ai-strip ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ai-strip li {
  display: grid;
  gap: 4px;
  padding-left: 14px;
  border-left: 2px solid #17607a;
}
.ai-strip li b {
  font-size: 12.5px;
}
.ai-strip li span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

/* Chamadas para o app no meio da página */
.inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  margin-top: 44px;
  padding: 22px 26px;
  border: 1px solid #1c4569;
  border-radius: 16px;
  background:
    radial-gradient(circle at 0 50%, #007fc026, transparent 50%), #081625;
}
.inline-cta p {
  display: grid;
  gap: 4px;
}
.inline-cta p b {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.inline-cta p span {
  color: var(--muted);
  font-size: 13px;
}
.faq-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 13px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.swipe-hint {
  display: none;
}

/* Barra fixa (só no mobile) */
.mobile-cta {
  display: none;
}

@media (max-width: 1000px) {
  .whatsapp {
    gap: 40px;
  }
  .ai-strip {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .ai-strip ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .hero-pill {
    margin-bottom: 18px;
    font-size: 11.5px;
  }
  .hero-login {
    text-align: center;
  }

  .whatsapp-section {
    padding-block: 56px;
  }
  .whatsapp {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .whatsapp-lead {
    font-size: 14px;
  }
  .input-modes {
    gap: 8px;
    margin: 22px 0;
  }
  .input-modes article {
    gap: 12px;
    padding: 12px 14px;
  }
  .input-modes b {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }
  .input-modes h3 {
    font-size: 14px;
  }
  .input-modes p {
    font-size: 12px;
  }
  .whatsapp-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .whatsapp-actions .button {
    width: 100%;
    gap: 10px;
    font-size: 12.5px;
  }
  .whatsapp-actions .link {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .wa-phone {
    width: min(100%, 300px);
  }
  .ai-strip {
    margin-top: 40px;
    padding: 18px;
  }
  .ai-strip ul {
    gap: 14px 12px;
  }

  .inline-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 30px;
    padding: 18px;
    text-align: center;
  }
  .inline-cta p b {
    font-size: 16px;
  }
  .inline-cta .button {
    width: 100%;
  }
  .faq-more {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .faq-more .button {
    min-height: 46px;
  }
  .cta-actions {
    flex-direction: column;
  }
  .cta-actions .button {
    width: 100%;
  }

  .swipe-hint {
    display: block;
    margin-top: 12px;
    color: #72e7cd;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
  }

  .mobile-cta {
    position: fixed;
    z-index: 40;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #1a3857;
    background: #050b16eb;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transform: translateY(110%);
    transition: transform 0.25s ease;
  }
  .mobile-cta.is-visible {
    transform: translateY(0);
  }
  .mobile-cta .button {
    flex: 1;
    min-height: 46px;
    gap: 10px;
  }
  .mobile-cta-login {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    min-height: 46px;
    border: 1px solid #24628c;
    border-radius: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
  }
  body.has-mobile-cta .to-top {
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }
  body > footer {
    padding-bottom: 70px;
  }
}
