/* AtendePraVocê — componentes premium unificados v2
   Camada incremental: footer, heros visuais, FAQ e superfícies recorrentes.
   Carregada por último em todas as páginas públicas. */

:root {
  --apv-premium-paper: #f5f2eb;
  --apv-premium-surface: #fffdfa;
  --apv-premium-ink: #171a1d;
  --apv-premium-muted: #5e6863;
  --apv-premium-line: rgba(23, 26, 29, .12);
  --apv-premium-dark: #191d20;
  --apv-premium-dark-2: #121517;
  --apv-premium-light-on-dark: #f8f6f0;
  --apv-premium-muted-on-dark: rgba(248, 246, 240, .64);
  --apv-premium-mint: #71d3a4;
  --apv-pvc-blue: #031e3c;
  --apv-pvc-blue-soft: #9fc4e8;
}

/* --------------------------------------------------------------------------
   HERO VISUAL — o conteúdo flutua; não existe mais uma caixa escura atrás.
   -------------------------------------------------------------------------- */
body.page-home .hero-visual-wrap {
  position: relative;
  min-height: 390px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 18px;
  padding: 22px 4px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.page-home .hero-visual-wrap::before,
body.page-home .hero-visual-wrap::after {
  content: none;
  display: none;
}

body.page-home .hv-card,
body.page-home .hv-card.c1,
body.page-home .hv-card.c2,
body.page-home .hv-card.c3,
body.page-home .hv-card.c4 {
  position: relative;
  width: auto;
  min-height: 142px;
  padding: 20px 21px;
  border: 1px solid rgba(255, 255, 255, .085);
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 5%, rgba(113, 211, 164, .08), transparent 42%),
    var(--apv-premium-dark);
  color: var(--apv-premium-light-on-dark);
  box-shadow: 0 18px 44px rgba(18, 21, 23, .16);
  backdrop-filter: none;
}
body.page-home .hv-card.c1 { transform: translateY(-14px); }
body.page-home .hv-card.c2 { transform: translateY(16px); }
body.page-home .hv-card.c3 { transform: translateY(-2px); }
body.page-home .hv-card.c4 { transform: translateY(28px); }
body.page-home .hvc-top { margin-bottom: 23px; }
body.page-home .hvc-label { color: rgba(248, 246, 240, .64); }
body.page-home .hvc-val,
body.page-home .hvc-val.is-muted { color: var(--apv-premium-light-on-dark); }
body.page-home .hvc-sub { color: rgba(248, 246, 240, .48); }
body.page-home .hvc-dot { background: var(--apv-premium-mint); box-shadow: 0 0 0 5px rgba(113, 211, 164, .1); }
body.page-home .hvc-dot.off { background: #818885; box-shadow: none; }

/* Lembretes + Google Calendar: mesmo princípio visual da Home. */
body.page-premium.page-product .zapcalendar-landing .hero-visual {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: 360px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 16px !important;
  padding: 18px 2px !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.page-premium.page-product .zapcalendar-landing .floating-card,
body.page-premium.page-product .zapcalendar-landing .floating-card.card-1,
body.page-premium.page-product .zapcalendar-landing .floating-card.card-2,
body.page-premium.page-product .zapcalendar-landing .floating-card.card-3,
body.page-premium.page-product .zapcalendar-landing .floating-card.card-4 {
  position: relative !important;
  inset: auto !important;
  width: min(92%, 340px) !important;
  max-width: 340px !important;
  min-height: 104px !important;
  padding: 18px 19px !important;
  transform: none !important;
  animation: none !important;
  border: 1px solid rgba(255, 255, 255, .085) !important;
  border-radius: 17px !important;
  background:
    radial-gradient(circle at 94% 4%, rgba(113, 211, 164, .075), transparent 44%),
    var(--apv-premium-dark) !important;
  box-shadow: 0 18px 42px rgba(18, 21, 23, .15) !important;
}
body.page-premium.page-product .zapcalendar-landing .floating-card.card-1 { align-self: flex-start !important; }
body.page-premium.page-product .zapcalendar-landing .floating-card.card-2 { align-self: flex-end !important; }
body.page-premium.page-product .zapcalendar-landing .floating-card.card-3 { align-self: center !important; }
body.page-premium.page-product .zapcalendar-landing .floating-card.card-4 { align-self: flex-start !important; }
body.page-premium.page-product .zapcalendar-landing .floating-card .card-header {
  color: var(--apv-premium-light-on-dark) !important;
}
body.page-premium.page-product .zapcalendar-landing .floating-card .card-content p {
  color: var(--apv-premium-muted-on-dark) !important;
}
body.page-premium.page-product .zapcalendar-landing .status-dot {
  background: #818885 !important;
}
body.page-premium.page-product .zapcalendar-landing .status-dot.active {
  background: var(--apv-premium-mint) !important;
  box-shadow: 0 0 0 5px rgba(113, 211, 164, .1) !important;
}

/* --------------------------------------------------------------------------
   AGENDA — apenas os cards, sem placas/fundos por trás dos grids.
   -------------------------------------------------------------------------- */
body.page-premium.page-agenda .quick-benefits {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto 36px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
body.page-premium.page-agenda .qb-item {
  padding: 9px 14px;
  border: 1px solid var(--apv-premium-line);
  border-radius: 999px;
  background: rgba(255, 253, 250, .88);
  color: var(--apv-premium-ink);
  box-shadow: 0 8px 22px rgba(23, 26, 29, .045);
}
body.page-premium.page-agenda .qb-item svg { color: #118454; }

body.page-premium.page-agenda .steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}
body.page-premium.page-agenda .step {
  min-width: 0;
  padding: 30px 26px;
  border: 1px solid var(--apv-premium-line);
  border-radius: 16px;
  background: rgba(255, 253, 250, .9);
  box-shadow: none;
}
body.page-premium.page-agenda .step:hover {
  border-color: rgba(17, 132, 84, .28);
  background: #fff;
  transform: translateY(-2px);
}
body.page-premium.page-agenda .step h3 { color: var(--apv-premium-ink); }
body.page-premium.page-agenda .step p { color: var(--apv-premium-muted); }
body.page-premium.page-agenda .step-num {
  width: auto;
  height: auto;
  padding: 0;
  background: transparent;
  color: rgba(17, 132, 84, .2);
}
body.page-premium.page-agenda .step-icon {
  color: #08633e;
  background: #dff2e9;
  border-color: rgba(17, 132, 84, .12);
}

/* --------------------------------------------------------------------------
   FAQ — um único contrato visual, centralizado e confortável em toda landing.
   -------------------------------------------------------------------------- */
body.page-home .home-faq,
body.page-premium #faq.ai-section,
body.page-premium .faq-section,
body.page-premium.page-agenda section#faq {
  padding-top: 92px !important;
  padding-bottom: 92px !important;
  background: var(--apv-premium-surface) !important;
}

body.page-home .home-faq .section-in,
body.page-premium.page-agenda section#faq .section-inner,
body.page-premium .faq-section > .container,
body.page-premium #faq.ai-section > .ai-container {
  width: min(920px, calc(100% - 48px)) !important;
  max-width: 920px !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}

body.page-home .home-faq .sec-label,
body.page-home .home-faq h2,
body.page-premium.page-agenda section#faq > .section-inner > .section-label,
body.page-premium.page-agenda section#faq > .section-inner > h2,
body.page-premium.page-agenda section#faq > .section-inner > .section-desc,
body.page-premium .faq-section .section-header,
body.page-premium #faq .ai-section__head,
body.page-premium.page-blog h2#faq {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.page-home .home-faq h2,
body.page-premium.page-agenda section#faq > .section-inner > h2,
body.page-premium .faq-section .section-header h2,
body.page-premium #faq .ai-section__head h2,
body.page-premium.page-blog h2#faq {
  max-width: 760px !important;
}

body.page-home .home-faq .sec-label,
body.page-premium.page-agenda section#faq > .section-inner > .section-label,
body.page-premium #faq .ai-kicker {
  display: block !important;
  margin-bottom: 10px !important;
}

body.page-premium.page-agenda section#faq > .section-inner > .section-desc,
body.page-premium .faq-section .section-header p,
body.page-premium #faq .ai-section__intro {
  max-width: 650px !important;
  margin-top: 14px !important;
  margin-bottom: 0 !important;
  color: var(--apv-premium-muted) !important;
}

body.page-home .home-faq__list,
body.page-premium.page-agenda section#faq .faq-list,
body.page-premium .faq-section .faq-list,
body.page-premium #faq .ai-faq,
body.page-premium.page-blog .faq {
  width: 100% !important;
  max-width: 860px !important;
  margin: 34px auto 0 !important;
  padding: 0 26px !important;
  overflow: hidden !important;
  border: 1px solid var(--apv-premium-line) !important;
  border-radius: 18px !important;
  background: rgba(255, 253, 250, .72) !important;
  box-shadow: none !important;
}

body.page-home .home-faq details,
body.page-premium #faq .ai-faq details,
body.page-premium.page-agenda section#faq .faq-item,
body.page-premium .faq-section .faq-item,
body.page-premium.page-blog .faq .faq-item {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--apv-premium-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.page-home .home-faq details:last-child,
body.page-premium #faq .ai-faq details:last-child,
body.page-premium.page-agenda section#faq .faq-item:last-child,
body.page-premium .faq-section .faq-item:last-child,
body.page-premium.page-blog .faq .faq-item:last-child {
  border-bottom: 0 !important;
}

body.page-home .home-faq summary,
body.page-premium #faq .ai-faq summary,
body.page-premium.page-agenda section#faq .faq-q,
body.page-premium .faq-section .faq-question,
body.page-premium.page-blog .faq .faq-q {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 22px 48px 22px 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--apv-premium-ink) !important;
  font: inherit !important;
  font-size: 16px !important;
  font-weight: 750 !important;
  line-height: 1.45 !important;
  text-align: left !important;
  cursor: pointer !important;
  list-style: none !important;
}
body.page-home .home-faq summary::-webkit-details-marker,
body.page-premium #faq .ai-faq summary::-webkit-details-marker { display: none; }

body.page-premium.page-agenda section#faq .faq-q > svg,
body.page-premium .faq-section .faq-question .faq-icon,
body.page-premium.page-blog .faq .faq-q > svg,
body.page-premium.page-blog .faq .faq-q > span[aria-hidden="true"] {
  display: none !important;
}

body.page-home .home-faq summary::after,
body.page-premium #faq .ai-faq summary::after,
body.page-premium.page-agenda section#faq .faq-q::after,
body.page-premium .faq-section .faq-question::after,
body.page-premium.page-blog .faq .faq-q::after {
  content: "+" !important;
  position: absolute !important;
  top: 50% !important;
  right: 4px !important;
  width: 28px !important;
  height: 28px !important;
  display: grid !important;
  place-items: center !important;
  margin: 0 !important;
  transform: translateY(-50%) !important;
  border: 1px solid rgba(17, 132, 84, .14) !important;
  border-radius: 50% !important;
  background: #dff2e9 !important;
  color: #08633e !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}
body.page-home .home-faq details[open] summary::after,
body.page-premium #faq .ai-faq details[open] summary::after,
body.page-premium.page-agenda section#faq .faq-item.open .faq-q::after,
body.page-premium .faq-section .faq-item.open .faq-question::after,
body.page-premium.page-blog .faq .faq-item.open .faq-q::after {
  content: "−" !important;
  background: #118454 !important;
  color: #fff !important;
}

body.page-home .home-faq details p,
body.page-premium #faq .ai-faq details p,
body.page-premium.page-agenda section#faq .faq-a,
body.page-premium .faq-section .faq-answer,
body.page-premium .faq-section .faq-answer p,
body.page-premium.page-blog .faq .faq-a {
  margin: 0 !important;
  padding-right: 48px !important;
  color: var(--apv-premium-muted) !important;
  font-size: 15px !important;
  line-height: 1.72 !important;
}
body.page-home .home-faq details[open] p,
body.page-premium #faq .ai-faq details[open] p,
body.page-premium.page-agenda section#faq .faq-item.open .faq-a,
body.page-premium .faq-section .faq-item.open .faq-answer,
body.page-premium.page-blog .faq .faq-item.open .faq-a {
  padding-bottom: 22px !important;
}

/* --------------------------------------------------------------------------
   ASSISTENTE IA — seções escuras com contraste consistente com a Home.
   -------------------------------------------------------------------------- */
body.page-premium .ai-section--dark {
  color: #fff !important;
  background:
    radial-gradient(circle at 82% 0, rgba(113, 211, 164, .11), transparent 30rem),
    var(--apv-premium-dark) !important;
}
body.page-premium .ai-section--dark :is(h2, h3) { color: #fff !important; }
body.page-premium .ai-section--dark .ai-kicker { color: var(--apv-premium-mint) !important; }
body.page-premium .ai-section--dark :is(.ai-section__intro, .ai-step p) {
  color: rgba(255, 255, 255, .64) !important;
}
body.page-premium .ai-section--dark .ai-step::before { color: var(--apv-premium-mint) !important; }
body.page-premium .ai-section--dark .ai-step:not(:last-child)::after { background: rgba(255, 255, 255, .13) !important; }

body.page-premium .ai-final {
  padding: 96px 24px !important;
  color: #fff !important;
  background:
    radial-gradient(circle at 78% 0, rgba(113, 211, 164, .12), transparent 28rem),
    var(--apv-premium-dark) !important;
  border-top: 1px solid rgba(255, 255, 255, .06) !important;
}
body.page-premium .ai-final h2 { color: #fff !important; }
body.page-premium .ai-final p { color: rgba(255, 255, 255, .64) !important; }
body.page-premium .ai-final .ai-button--light {
  border-color: #fff !important;
  background: #fff !important;
  color: var(--apv-premium-ink) !important;
}
body.page-premium .ai-final .ai-button--light:hover {
  border-color: #f0eee9 !important;
  background: #f0eee9 !important;
  color: var(--apv-premium-ink) !important;
}
body.page-premium .ai-final .ai-button--ghost.ai-button--on-green {
  border-color: rgba(255, 255, 255, .24) !important;
  background: rgba(255, 255, 255, .04) !important;
  color: #fff !important;
}
body.page-premium .ai-final .ai-button--ghost.ai-button--on-green:hover {
  border-color: rgba(255, 255, 255, .4) !important;
  background: rgba(255, 255, 255, .09) !important;
  color: #fff !important;
}

/* --------------------------------------------------------------------------
   FOOTER — um único footer em toda a landing, com logo PVC invertida.
   -------------------------------------------------------------------------- */
.apv-site-footer {
  padding: 58px 24px 30px !important;
  border: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, .07) !important;
  background: var(--apv-premium-dark-2) !important;
  color: rgba(255, 255, 255, .68) !important;
  text-align: left !important;
}
.apv-site-footer__inner {
  width: min(1180px, 100%) !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
}
.apv-site-footer__content {
  display: grid !important;
  grid-template-columns: 1.55fr repeat(3, minmax(0, 1fr)) !important;
  gap: 38px !important;
  margin-bottom: 42px !important;
}
.apv-site-footer__brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 11px !important;
  margin-bottom: 14px !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}
.apv-site-footer__logo {
  display: block !important;
  width: 38px !important;
  height: 38px !important;
  flex: 0 0 38px !important;
  border: 0 !important;
  border-radius: 11px !important;
  object-fit: contain !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .14) !important;
}
.apv-site-footer__accent { color: var(--apv-pvc-blue-soft) !important; }
.apv-site-footer__description {
  max-width: 350px !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, .6) !important;
  font-size: 13px !important;
  line-height: 1.68 !important;
}
.apv-site-footer .apv-site-footer__section h2 {
  margin: 4px 0 16px !important;
  color: rgba(255, 255, 255, .9) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
}
.apv-site-footer__section a:not(.apv-site-footer__brand),
.apv-site-footer__section button {
  display: block !important;
  width: auto !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: rgba(255, 255, 255, .62) !important;
  font: inherit !important;
  font-size: 14px !important;
  text-align: left !important;
  text-decoration: none !important;
  cursor: pointer !important;
}
.apv-site-footer__section a:not(.apv-site-footer__brand):hover,
.apv-site-footer__section button:hover,
.apv-site-footer__section a:not(.apv-site-footer__brand):focus-visible,
.apv-site-footer__section button:focus-visible {
  color: #fff !important;
}
.apv-site-footer .apv-site-footer__social {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 17px !important;
}
.apv-site-footer .apv-site-footer__social a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 7px 11px !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .045) !important;
  color: rgba(255, 255, 255, .7) !important;
  font-size: 12px !important;
  font-weight: 750 !important;
}
.apv-site-footer .apv-site-footer__social a:hover {
  border-color: rgba(255, 255, 255, .2) !important;
  background: rgba(255, 255, 255, .08) !important;
  color: #fff !important;
}
.apv-site-footer__bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  padding-top: 24px !important;
  border-top: 1px solid rgba(255, 255, 255, .09) !important;
  color: rgba(255, 255, 255, .48) !important;
  font-size: 13px !important;
}
.apv-site-footer__bottom p { margin: 0 !important; color: inherit !important; }

/* --------------------------------------------------------------------------
   Responsividade e motion.
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  body.page-premium.page-agenda .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apv-site-footer__content { grid-template-columns: 1.4fr 1fr 1fr !important; }
  .apv-site-footer__content > .apv-site-footer__section:last-child { grid-column: 2 / -1; }
}

@media (max-width: 640px) {
  body.page-home .hero-visual-wrap {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px 0 0;
  }
  body.page-home .hv-card.c1,
  body.page-home .hv-card.c2,
  body.page-home .hv-card.c3,
  body.page-home .hv-card.c4 { transform: none; min-height: 104px; }
  body.page-home .hvc-top { margin-bottom: 13px; }

  body.page-premium.page-product .zapcalendar-landing .hero-visual {
    min-height: auto !important;
    padding-top: 8px !important;
  }
  body.page-premium.page-product .zapcalendar-landing .floating-card,
  body.page-premium.page-product .zapcalendar-landing .floating-card.card-1,
  body.page-premium.page-product .zapcalendar-landing .floating-card.card-2,
  body.page-premium.page-product .zapcalendar-landing .floating-card.card-3,
  body.page-premium.page-product .zapcalendar-landing .floating-card.card-4 {
    width: 100% !important;
    max-width: none !important;
    align-self: stretch !important;
  }

  body.page-premium.page-agenda .steps-grid { grid-template-columns: 1fr; }
  body.page-premium.page-agenda .step { padding: 25px 22px; }

  body.page-home .home-faq .section-in,
  body.page-premium.page-agenda section#faq .section-inner,
  body.page-premium .faq-section > .container,
  body.page-premium #faq.ai-section > .ai-container {
    width: min(100% - 30px, 920px) !important;
  }
  body.page-home .home-faq__list,
  body.page-premium.page-agenda section#faq .faq-list,
  body.page-premium .faq-section .faq-list,
  body.page-premium #faq .ai-faq,
  body.page-premium.page-blog .faq {
    padding-inline: 18px !important;
    border-radius: 15px !important;
  }
  body.page-home .home-faq summary,
  body.page-premium #faq .ai-faq summary,
  body.page-premium.page-agenda section#faq .faq-q,
  body.page-premium .faq-section .faq-question,
  body.page-premium.page-blog .faq .faq-q {
    padding: 19px 42px 19px 0 !important;
    font-size: 15px !important;
  }

  .apv-site-footer { padding: 48px 20px 26px !important; }
  .apv-site-footer__content { grid-template-columns: 1fr !important; gap: 27px !important; }
  .apv-site-footer__content > .apv-site-footer__section:last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: no-preference) {
  body.page-home .hv-card,
  body.page-premium.page-product .zapcalendar-landing .floating-card {
    transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s ease, border-color .25s ease;
  }
  body.page-home .hv-card:hover {
    border-color: rgba(113, 211, 164, .22);
    box-shadow: 0 24px 52px rgba(18, 21, 23, .2);
  }
  body.page-premium.page-product .zapcalendar-landing .floating-card:hover {
    border-color: rgba(113, 211, 164, .22) !important;
    box-shadow: 0 24px 52px rgba(18, 21, 23, .2) !important;
  }
}
