/*
 * CERTFACT — EXTENSION ONBOARDING V1
 * CSS reconstruído em recuperação de staging.
 *
 * Escopo:
 * - somente apresentação visual;
 * - nenhuma lógica de captura;
 * - nenhum pareamento;
 * - nenhum pagamento;
 * - nenhum endpoint;
 * - nenhum estado de sessão.
 */

/* =========================================================
   MODAL DA EXTENSAO
   ========================================================= */

#certfactExtensionModalV1,
#certfactExtensionModalV1 * {
  box-sizing: border-box;
}

#certfactExtensionModalV1 {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: auto;
  background: rgba(19, 24, 20, .62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

#certfactExtensionModalV1.open {
  display: flex;
}

#certfactExtensionModalV1 .cfExtModalCardV1 {
  position: relative;
  width: min(620px, 100%);
  max-height: min(760px, calc(100vh - 32px));
  overflow: auto;
  border: 1px solid var(--cfs-line, #d9d8ce);
  border-radius: 20px;
  background: var(--cfs-paper, #fffefb);
  color: var(--cfs-ink, #252620);
  box-shadow:
    0 30px 80px rgba(19, 24, 20, .24),
    0 8px 24px rgba(19, 24, 20, .10);
  font-family:
    var(--cfs-font, Inter),
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

#certfactExtensionModalV1 .cfExtModalTopV1 {
  position: relative;
  padding: 31px 72px 25px 30px;
  border-bottom: 1px solid var(--cfs-line, #d9d8ce);
  background: #f2f1e8;
}

#certfactExtensionModalV1 .cfExtModalTopV1 > span {
  display: inline-block;
  margin: 0 0 9px;
  color: #6b5d34;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: .11em;
  text-transform: uppercase;
}

#certfactExtensionModalV1 .cfExtModalTopV1 h3 {
  margin: 0;
  max-width: 460px;
  color: var(--cfs-ink, #252620);
  font-size: clamp(23px, 3vw, 30px);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -.035em;
  outline: 0;
}

#certfactExtensionModalV1 .cfExtModalTopV1 p {
  margin: 13px 0 0;
  max-width: 490px;
  color: var(--cfs-muted, #696b61);
  font-size: 14px;
  line-height: 1.65;
}

#certfactExtensionModalV1 .cfExtModalCloseV1 {
  position: absolute;
  top: 17px;
  right: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 72px;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid #b7bdab;
  border-radius: 8px;
  background: #fffefb;
  color: #252620;
  font: inherit;
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
}

#certfactExtensionModalV1 .cfExtModalCloseV1 span {
  font-size: 17px;
  line-height: 1;
}

#certfactExtensionModalV1 .cfExtModalBodyV1 {
  display: grid;
  gap: 13px;
  padding: 24px 30px 7px;
}

#certfactExtensionModalV1 .cfExtReqV1 {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 15px;
  border: 1px solid #e2e1d7;
  border-radius: 13px;
  background: #fbfaf5;
}

#certfactExtensionModalV1 .cfExtReqIconV1 {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #e2cf8e;
  border-radius: 11px;
  background: #f7e4a7;
  color: #5a4b22;
  font-size: 14px;
  font-weight: 800;
}

#certfactExtensionModalV1 .cfExtReqV1 strong {
  display: block;
  margin: 1px 0 5px;
  color: var(--cfs-ink, #252620);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

#certfactExtensionModalV1 .cfExtReqV1 small {
  display: block;
  color: var(--cfs-muted, #696b61);
  font-size: 12px;
  line-height: 1.55;
}

#certfactExtensionModalV1 .cfExtTransitionV1 {
  margin-top: 2px;
  padding: 13px 15px;
  border-left: 3px solid var(--cfs-gold, #e8c44f);
  border-radius: 8px;
  background: #f7f4e9;
  color: #5c5c52;
  font-size: 11px;
  line-height: 1.65;
}

#certfactExtensionModalV1 .cfExtModalActionsV1 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 19px 30px 28px;
}

#certfactExtensionModalV1 .cfExtBtnV1 {
  display: inline-flex;
  flex: 1 1 210px;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 17px;
  border: 1px solid var(--cfs-gold, #e8c44f);
  border-radius: 9px;
  background: var(--cfs-gold, #e8c44f);
  color: var(--cfs-ink, #252620);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform .16s ease,
    box-shadow .16s ease,
    background .16s ease;
}

#certfactExtensionModalV1 .cfExtBtnV1:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 7px 16px rgba(116, 91, 14, .15);
}

#certfactExtensionModalV1 .cfExtBtnV1:disabled {
  opacity: .62;
  cursor: progress;
  transform: none;
  box-shadow: none;
}

#certfactExtensionModalV1 :is(
  a,
  button,
  [tabindex]
):focus-visible {
  outline: 3px solid #8b7428;
  outline-offset: 3px;
}

/* =========================================================
   BLOCO DE ORIENTACAO / CAPTURA
   ========================================================= */

body.cfLandingPluginV8 .cf6Hero {
  margin: 28px 0;
  padding: 30px;
  border: 1px solid var(--cfs-line, #d9d8ce);
  border-radius: 18px;
  background: #fffefb;
  box-shadow: 0 12px 35px rgba(37, 38, 32, .055);
}

body.cfLandingPluginV8 .cf6Eyebrow {
  display: block;
  margin: 0 0 9px;
  color: #706037;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .11em;
  text-transform: uppercase;
}

body.cfLandingPluginV8 .cf6Hero h2 {
  margin: 0;
  color: var(--cfs-ink, #252620);
  font-size: clamp(27px, 4vw, 38px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -.04em;
}

body.cfLandingPluginV8 .cf6HeroText {
  max-width: 760px;
  margin: 13px 0 0;
  color: var(--cfs-muted, #696b61);
  font-size: 15px;
  line-height: 1.7;
}

body.cfLandingPluginV8 .cf6Pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 19px 0 0;
}

body.cfLandingPluginV8 .cf6Pill {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 6px 10px;
  border: 1px solid #dedbcf;
  border-radius: 999px;
  background: #f7f5ed;
  color: #55574e;
  font-size: 11px;
  font-weight: 650;
}

body.cfLandingPluginV8 .cf6Actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

body.cfLandingPluginV8 .cf6Btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 17px;
  border: 1px solid #c8c5b8;
  border-radius: 10px;
  background: #fffefb;
  color: var(--cfs-ink, #252620);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

body.cfLandingPluginV8 .cf6Btn:first-child,
body.cfLandingPluginV8 .cfYellowActionV6 {
  border-color: var(--cfs-gold, #e8c44f);
  background: var(--cfs-gold, #e8c44f);
}

body.cfLandingPluginV8 .cf6Essentials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 21px;
}

body.cfLandingPluginV8 .cf6Essential {
  min-width: 0;
  padding: 16px;
  border: 1px solid #e1dfd5;
  border-radius: 12px;
  background: #faf9f3;
  color: #55574e;
  font-size: 12px;
  line-height: 1.55;
}

body.cfLandingPluginV8 .cf6Essential strong {
  display: block;
  margin-bottom: 5px;
  color: var(--cfs-ink, #252620);
  font-size: 13px;
}

/* =========================================================
   FAQ
   ========================================================= */

body.cfLandingPluginV8 .cf6Faq {
  margin: 30px 0;
  padding: 28px;
  border: 1px solid var(--cfs-line, #d9d8ce);
  border-radius: 18px;
  background: #fffefb;
}

body.cfLandingPluginV8 .cf6FaqSub {
  margin: 5px 0 20px;
  color: var(--cfs-muted, #696b61);
  font-size: 13px;
  line-height: 1.65;
}

body.cfLandingPluginV8 .cf6FaqList {
  display: grid;
}

body.cfLandingPluginV8 .cf6FaqItem {
  border-top: 1px solid #e3e1d7;
}

body.cfLandingPluginV8 .cf6FaqItem:last-child {
  border-bottom: 1px solid #e3e1d7;
}

body.cfLandingPluginV8 .cf6FaqButton {
  position: relative;
  width: 100%;
  min-height: 55px;
  padding: 15px 38px 15px 0;
  border: 0;
  background: transparent;
  color: var(--cfs-ink, #252620);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}

body.cfLandingPluginV8 .cf6FaqButton::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  color: #6f653f;
  font-size: 21px;
  font-weight: 400;
}

body.cfLandingPluginV8 .cf6FaqItem.open .cf6FaqButton::after {
  content: "−";
}

body.cfLandingPluginV8 .cf6FaqPanel {
  display: none;
  padding: 0 35px 18px 0;
  color: var(--cfs-muted, #696b61);
  font-size: 13px;
  line-height: 1.7;
}

body.cfLandingPluginV8 .cf6FaqItem.open .cf6FaqPanel {
  display: block;
}

/* =========================================================
   DIAGRAMA VISUAL
   ========================================================= */

body.cfLandingPluginV8 .cfpVisual {
  min-width: 0;
  padding: 23px;
  border: 1px solid #d8d7cc;
  border-radius: 18px;
  background: #f8f7f1;
  box-shadow: 8px 8px 0 rgba(226, 225, 214, .75);
}

body.cfLandingPluginV8 .cfpVisualTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

body.cfLandingPluginV8 .cfpVisualTag {
  color: #696b61;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}

body.cfLandingPluginV8 .cfpDiagram {
  display: grid;
  gap: 12px;
}

body.cfLandingPluginV8 .cfpSource,
body.cfLandingPluginV8 .cfpDelivery,
body.cfLandingPluginV8 .cfpOutputIcon {
  border: 1px solid #deddd2;
  border-radius: 11px;
  background: #fffefb;
}

body.cfLandingPluginV8 .cfpSource {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  color: #4f5148;
  font-size: 11px;
  font-weight: 650;
}

body.cfLandingPluginV8 .cfpSourceIcon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  border-radius: 8px;
  background: #f3f1e7;
}

body.cfLandingPluginV8 .cfpConnections {
  display: flex;
  justify-content: center;
  gap: 8px;
  min-height: 18px;
}

body.cfLandingPluginV8 .cfpConnectionGold {
  width: 36px;
  height: 2px;
  margin: auto 0;
  background: var(--cfs-gold, #e8c44f);
}

body.cfLandingPluginV8 .cfpBrandHalo,
body.cfLandingPluginV8 .cfpBrandNode {
  margin-inline: auto;
  border-radius: 50%;
}

body.cfLandingPluginV8 .cfpBrandHalo {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  background: rgba(232, 196, 79, .14);
}

body.cfLandingPluginV8 .cfpBrandNode {
  width: 54px;
  height: 54px;
  border: 1px solid #d8bd61;
  background: #f3cf58;
  box-shadow: 0 8px 22px rgba(128, 97, 10, .14);
}

body.cfLandingPluginV8 .cfpDelivery {
  padding: 15px;
}

body.cfLandingPluginV8 .cfpDeliveryHeading {
  margin-bottom: 10px;
  color: var(--cfs-ink, #252620);
  font-size: 12px;
  font-weight: 700;
}

body.cfLandingPluginV8 .cfpOutputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

body.cfLandingPluginV8 .cfpOutputIcon {
  min-height: 48px;
  padding: 10px;
  color: #5c5e54;
  font-size: 10px;
  line-height: 1.4;
  text-align: center;
}

/* =========================================================
   UTILITARIOS
   ========================================================= */

body.cfExtMinimalV6 .cfYellowActionV6,
body.cfLandingPluginV8 .cfYellowActionV6 {
  background: var(--cfs-gold, #e8c44f) !important;
  border-color: var(--cfs-gold, #e8c44f) !important;
  color: var(--cfs-ink, #252620) !important;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {
  #certfactExtensionModalV1 {
    align-items: flex-end;
    padding: 10px;
  }

  #certfactExtensionModalV1 .cfExtModalCardV1 {
    width: 100%;
    max-height: calc(100dvh - 20px);
    border-radius: 18px;
  }

  #certfactExtensionModalV1 .cfExtModalTopV1 {
    padding: 27px 58px 21px 21px;
  }

  #certfactExtensionModalV1 .cfExtModalTopV1 h3 {
    font-size: 23px;
  }

  #certfactExtensionModalV1 .cfExtModalTopV1 p {
    font-size: 13px;
  }

  #certfactExtensionModalV1 .cfExtModalCloseV1 {
    top: 13px;
    right: 13px;
    min-width: 42px;
    padding-inline: 8px;
    font-size: 0;
  }

  #certfactExtensionModalV1 .cfExtModalCloseV1 span {
    font-size: 21px;
  }

  #certfactExtensionModalV1 .cfExtModalBodyV1 {
    padding: 19px 20px 5px;
  }

  #certfactExtensionModalV1 .cfExtReqV1 {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 11px;
    padding: 13px;
  }

  #certfactExtensionModalV1 .cfExtReqIconV1 {
    width: 34px;
    height: 34px;
  }

  #certfactExtensionModalV1 .cfExtModalActionsV1 {
    display: grid;
    padding: 17px 20px 22px;
  }

  #certfactExtensionModalV1 .cfExtBtnV1 {
    width: 100%;
    min-height: 50px;
  }

  body.cfLandingPluginV8 .cf6Hero,
  body.cfLandingPluginV8 .cf6Faq {
    padding: 22px 19px;
    border-radius: 15px;
  }

  body.cfLandingPluginV8 .cf6Essentials {
    grid-template-columns: 1fr;
  }

  body.cfLandingPluginV8 .cf6Actions {
    display: grid;
  }

  body.cfLandingPluginV8 .cf6Btn {
    width: 100%;
  }

  body.cfLandingPluginV8 .cfpOutputs {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  #certfactExtensionModalV1 *,
  body.cfLandingPluginV8 .cf6FaqPanel,
  body.cfLandingPluginV8 .cf6Btn {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
