/* Landing pages de anúncios da Fazfy. Segue o visual de fazfy.com.br (novo-site/styles.css). */
:root {
  --night: #080d1b;
  --ink: #13203e;
  --muted: #65708a;
  --blue: #2563eb;
  --line: #dfe5ee;
  --lime: #b9ff00;
  --font: 'Figtree', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 84px;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: auto;
}

/* Topo */
.topbar {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo img {
  display: block;
  width: 112px;
  height: auto;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

/* Botão principal */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  color: var(--night);
  background: var(--lime);
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 12px 30px -18px #6c9d00;
  transition:
    transform 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.cta:hover {
  transform: translateY(-2px);
  background: #c8ff3f;
  box-shadow: 0 18px 34px -18px #6c9d00;
}
.cta b {
  font-size: 21px;
  line-height: 0;
}

/* Hero */
.hero {
  position: relative;
  padding: 36px 0 0;
  text-align: center;
  overflow: hidden;
}
.hero:before {
  position: absolute;
  z-index: -1;
  top: -240px;
  left: 50%;
  width: 1100px;
  height: 640px;
  content: '';
  background: radial-gradient(ellipse at center, #e3edff 0%, rgba(255, 255, 255, 0) 68%);
  transform: translateX(-50%);
}
.kicker,
.eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.kicker {
  color: #70809f;
}
.kicker span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 8px 1px 0;
  border-radius: 50%;
  background: var(--blue);
}
h1 {
  max-width: 850px;
  margin: 0 auto 20px;
  font-size: clamp(38px, 6vw, 72px);
  letter-spacing: -0.07em;
  line-height: 0.99;
  text-wrap: balance;
}
h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4vw, 49px);
  letter-spacing: -0.055em;
  line-height: 1.04;
  text-wrap: balance;
}
.hero-text {
  max-width: 610px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
}
.hero .cta {
  margin-top: 28px;
}
.subcta {
  margin: 14px 0 0;
  color: #5d6a86;
  font-size: 14px;
}
.subcta b {
  color: #173b99;
}

/* Palco: celular com a conversa e o personagem */
.stage {
  position: relative;
  min-height: 470px;
  margin: 34px auto 0;
  isolation: isolate;
  background: radial-gradient(
    ellipse 58% 50% at 50% 46%,
    #d9e6ff 0%,
    rgba(235, 241, 255, 0.6) 36%,
    rgba(255, 255, 255, 0) 72%
  );
}
.orbit {
  position: absolute;
  z-index: -1;
  left: 50%;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 50%;
  transform: translateX(-50%);
}
.orbit-a {
  top: 60px;
  width: 680px;
  height: 340px;
}
.orbit-b {
  top: 0;
  width: 460px;
  height: 450px;
}
.phone {
  position: absolute;
  z-index: 2;
  bottom: -1px;
  left: 50%;
  width: 300px;
  height: 440px;
  padding: 12px;
  border: 8px solid #0c1325;
  border-bottom: 0;
  border-radius: 46px 46px 0 0;
  background: #0c1325;
  box-shadow: 0 30px 80px -30px rgba(11, 26, 70, 0.45);
  transform: translateX(-50%);
}
.notch {
  position: absolute;
  z-index: 3;
  top: 13px;
  left: 50%;
  width: 98px;
  height: 20px;
  border-radius: 0 0 14px 14px;
  background: #0c1325;
  transform: translateX(-50%);
}
.phone-screen {
  height: 100%;
  padding: 35px 14px 15px;
  border-radius: 27px 27px 0 0;
  background: linear-gradient(165deg, #f6f9ff, #e6efff);
}
.app-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #26355a;
  text-align: left;
  font-size: 13px;
}
.app-head span:nth-child(2) {
  display: grid;
  line-height: 1.1;
}
.app-head small {
  color: #71809d;
  font-size: 10px;
}
.app-head i {
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-radius: 50%;
  background: #35b880;
}
.app-mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  color: #fff;
  background: var(--blue);
  font-weight: 800;
}
.conversation {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin-top: 24px;
  text-align: left;
}
.conversation p {
  width: fit-content;
  max-width: 88%;
  margin: 0;
  padding: 9px 11px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.35;
}
.customer {
  margin-left: auto !important;
  border-bottom-right-radius: 3px !important;
  color: #fff;
  background: #2563eb;
}
.assistant {
  border-bottom-left-radius: 3px !important;
  background: #fff;
  color: #374666;
}
.typing {
  display: flex;
  gap: 4px;
  margin: 11px 0 0 3px;
}
.typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9ab0dc;
}
.stage-character {
  position: absolute;
  z-index: 3;
  right: calc(50% - 330px);
  bottom: 0;
  width: 200px;
  height: auto;
  filter: drop-shadow(0 14px 14px rgba(32, 67, 140, 0.18));
}
.float-note {
  position: absolute;
  z-index: 3;
  padding: 8px 14px;
  border: 1px solid #e0e7f4;
  border-radius: 999px;
  color: #4d6089;
  background: #fff;
  box-shadow: 0 10px 24px -17px rgba(30, 58, 125, 0.5);
  font-size: 13px;
  font-weight: 700;
}
.note-a {
  top: 110px;
  left: calc(50% - 360px);
}
.note-b {
  top: 210px;
  left: calc(50% - 330px);
}

/* Faixa escura */
.signal {
  color: #dbe5fc;
  background: var(--night);
}
.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.signal p {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 24px 30px;
  border-left: 1px solid rgba(158, 180, 226, 0.18);
}
.signal p:first-child {
  border-left: 0;
  padding-left: 0;
}
.signal b {
  color: #fff;
  font-size: 15px;
}
.signal span {
  color: #99a9c9;
  font-size: 13px;
}

/* Seções */
.section {
  padding: 104px 0;
}
.eyebrow {
  color: var(--blue);
}
.intro {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 94px;
  align-items: center;
}
.section-copy > p:last-child {
  max-width: 470px;
  color: var(--muted);
  font-size: 18px;
}
.flow {
  display: grid;
  border-top: 1px solid var(--line);
}
.flow div {
  display: grid;
  grid-template-columns: 60px 1fr;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.flow span {
  grid-row: span 2;
  color: var(--blue);
  font: 600 12px var(--mono);
}
.flow b {
  font-size: 19px;
}
.flow p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 15px;
}

/* Serviços com personagem */
.services {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 40px;
  align-items: center;
  padding: 104px 0;
  border-top: 1px solid var(--line);
}
.services-copy {
  max-width: 640px;
}
.services-copy .cta {
  display: none;
}
.services-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}
.service-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 12px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 18px;
  overflow: hidden;
  border: 1px solid #dfe7f5;
  border-radius: 20px;
  background: linear-gradient(145deg, #fff, #f4f8ff);
  box-shadow: 0 18px 36px -34px rgba(20, 56, 131, 0.6);
  transition:
    transform 0.22s,
    border-color 0.22s,
    box-shadow 0.22s;
}
.service-card:hover {
  border-color: #a9c3ff;
  box-shadow: 0 22px 38px -29px rgba(26, 77, 190, 0.46);
  transform: translateY(-4px);
}
.service-card h3 {
  margin: 0 0 4px;
  font-size: 17px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.service-card p {
  margin: 0;
  color: #71809a;
  font-size: 13px;
}
.service-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 12px;
  color: var(--blue);
  background: #e6efff;
}
.service-icon svg {
  width: 20px;
  height: 20px;
}
.service-feature {
  grid-row: span 2;
  justify-content: space-between;
  min-height: 290px;
  color: #fff;
  border-color: transparent;
  background: radial-gradient(circle at 80% 100%, #3a6df0 0%, #1d3fa8 48%, #14275f 100%);
}
.service-feature h3 {
  font-size: 24px;
  letter-spacing: -0.045em;
}
.service-feature p {
  max-width: 13em;
  color: #c9d8fb;
  font-size: 14px;
}
.service-feature > div {
  position: relative;
  z-index: 1;
}
.service-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--night);
  background: var(--lime);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.service-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 42%);
  column-gap: 6px;
  align-items: end;
}
.service-feature > div {
  align-self: start;
}
.service-card img {
  display: block;
  justify-self: end;
  width: 100%;
  max-width: 190px;
  height: auto;
  margin: 0 -8px -18px 0;
  filter: drop-shadow(0 10px 12px rgba(5, 15, 50, 0.35));
}
.service-other {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  color: var(--night);
  border: 0;
  background: var(--lime);
  box-shadow: 0 12px 30px -18px #6c9d00;
}
.service-other:hover {
  background: #c8ff3f;
  border-color: transparent;
}
.service-other b {
  font-weight: 800;
}
.service-other i {
  font-style: normal;
  font-size: 22px;
  font-weight: 800;
}
/* Bloco escuro: comparar propostas */
.dark-feature {
  color: #fff;
  background: var(--night);
}
.feature-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  padding: 108px 0;
}
.dark-feature .eyebrow {
  color: #8aacff;
}
.feature-copy p:not(.eyebrow) {
  max-width: 450px;
  color: #aebbd4;
  font-size: 18px;
}
.light-link {
  display: inline-flex;
  gap: 10px;
  margin-top: 12px;
  color: var(--lime);
  font-weight: 800;
}
.dashboard {
  padding: 15px;
  border: 1px solid rgba(160, 181, 230, 0.22);
  border-radius: 21px;
  background: linear-gradient(135deg, #141f3d, #0b1225);
  box-shadow: 0 35px 70px -35px #000;
}
.dash-head {
  display: flex;
  justify-content: space-between;
  padding: 10px 9px 15px;
  color: #fff;
  font-weight: 700;
}
.dash-head small {
  color: #8090b0;
  font-weight: 500;
}
.dash-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 14px;
  border: 1px solid rgba(160, 181, 230, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}
.dash-item.active {
  border-color: rgba(138, 172, 255, 0.5);
  background: rgba(37, 99, 235, 0.16);
}
.dash-item {
  padding: 16px;
  gap: 14px;
}
.dash-item i {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #8aacff;
  background: #1c2a52;
}
.dash-item i svg {
  width: 22px;
  height: 22px;
}
.dash-item.active i {
  color: #fff;
  background: var(--blue);
}
.dash-item > span {
  display: grid;
  gap: 8px;
  line-height: 1.2;
}
.dash-item b {
  font-size: 16px;
}
.dash-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dash-fields u {
  padding: 3px 10px;
  border-radius: 999px;
  color: #aebbd4;
  background: rgba(255, 255, 255, 0.07);
  font-size: 12px;
  text-decoration: none;
}
.dash-item.active .dash-fields u {
  color: #dbe7ff;
  background: rgba(138, 172, 255, 0.22);
}
.dash-item em {
  margin-left: auto;
  color: #8aacff;
  font: 600 12px var(--mono);
  font-style: normal;
}
.dash-item .dash-choose {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--night);
  background: var(--lime);
  font: 800 13px var(--font);
}
.dash-foot {
  margin: 14px 9px 6px;
  color: #8090b0;
  font-size: 13px;
}

/* Perguntas */
.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  padding: 104px 0;
}
.accordion details {
  border-bottom: 1px solid var(--line);
}
.accordion details:first-child {
  border-top: 1px solid var(--line);
}
summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary:after {
  content: '+';
  color: var(--blue);
  font-size: 22px;
  line-height: 1;
}
details[open] summary:after {
  content: '–';
}
details p {
  margin: 0;
  padding: 0 22px 20px 0;
  color: var(--muted);
}

/* Fechamento */
.closing {
  position: relative;
  padding: 96px 0 0;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background: radial-gradient(circle at 50% 100%, #244cbb 0%, #131f43 42%, var(--night) 78%);
}
.closing .kicker {
  color: #94a6ca;
}
.closing .kicker span {
  background: var(--lime);
}
.closing h2 {
  max-width: 660px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(36px, 5vw, 58px);
}
.closing p:not(.kicker) {
  max-width: 540px;
  margin: 0 auto;
  color: #b8c6e1;
  font-size: 18px;
}
.closing .cta {
  margin-top: 26px;
}
.closing small {
  display: block;
  margin-top: 14px;
  color: #8fa1c5;
  font-size: 13px;
}
.closing img {
  display: block;
  width: 230px;
  height: auto;
  margin: 34px auto 0;
  filter: drop-shadow(0 -6px 30px rgba(120, 160, 255, 0.25));
}

/* Rodapé */
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 25px;
  padding: 28px 0;
  color: #71809a;
  font-size: 13px;
}
.footer img {
  width: 100px;
  height: auto;
}
.footer a {
  color: #3e526f;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer p {
  margin: 0;
}
.footer p:last-child {
  margin-left: auto;
}

/* Barra fixa no celular */
.sticky {
  position: fixed;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.sticky .cta {
  display: flex;
  width: 100%;
  min-height: 52px;
}

@media (max-width: 900px) {
  .intro,
  .services,
  .feature-layout,
  .faq {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .section,
  .services,
  .faq {
    padding: 72px 0;
  }
  .feature-layout {
    padding: 72px 0;
  }
  .note-a,
  .note-b {
    display: none;
  }
  .stage-character {
    right: calc(50% - 190px);
    width: 150px;
  }
}
@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .topbar {
    height: 72px;
  }
  .hero {
    padding-top: 20px;
  }
  .hero-text {
    font-size: 17px;
  }
  .hero .cta {
    width: 100%;
  }
  .services-copy .cta,
  .closing .cta {
    display: none;
  }
  .stage {
    min-height: 430px;
    margin-top: 28px;
  }
  .orbit-a {
    width: 560px;
  }
  .phone {
    width: 270px;
    height: 400px;
  }
  .stage-character {
    right: -6px;
    width: 124px;
  }
  .m-hide {
    display: none;
  }
  .signal-grid {
    grid-template-columns: 1fr;
  }
  .signal p,
  .signal p:first-child {
    padding: 14px 0;
    border-left: 0;
    border-top: 1px solid rgba(158, 180, 226, 0.18);
  }
  .signal p:first-child {
    border-top: 0;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-feature {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 190px;
  }
  .service-feature img {
    max-width: 140px;
  }
  .service-other {
    flex-direction: row;
  }
  .dash-item {
    padding: 14px;
  }
  .sticky {
    display: block;
  }
  .footer p:last-child {
    margin-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
