/* ConexPass — site institucional
   Paleta: #0863BF #142033 #606B7D #D9E2EC #E9F1FF #FFFFFF */

:root {
  --blue: #0863BF;
  --navy: #142033;
  --slate: #606B7D;
  --mist: #D9E2EC;
  --ice: #E9F1FF;
  --white: #FFFFFF;

  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body: 'Instrument Sans', 'Segoe UI', system-ui, sans-serif;

  --wrap: 1160px;
  --gutter: 24px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(72px, 10vw, 128px); }

/* ---------- Rótulo de seção ---------- */
.label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}
.label::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 0;
  border-radius: 6px;
  font: 600 1rem/1 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--ice); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--navy); }
.btn-sm { padding: 11px 18px; font-size: 0.9375rem; }
.link-arrow {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
.link-arrow:hover { text-decoration-thickness: 2px; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(233, 241, 255, .14);
}
.header .wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}
.logo { display: block; margin-right: auto; }
.logo img { height: 34px; width: auto; filter: brightness(0) invert(1); }

.nav ul { display: flex; gap: 28px; }
.nav a {
  color: var(--mist);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  padding-block: 6px;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav a:hover { color: var(--white); border-bottom-color: var(--blue); }

.menu-btn {
  display: none;
  padding: 10px 0 10px 14px;
  background: none;
  border: 0;
  color: var(--white);
  font: 600 0.9375rem var(--body);
  cursor: pointer;
}

@media (max-width: 900px) {
  .header .wrap { gap: 16px; }
  .header .btn { display: none; }
  .menu-btn { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--navy);
    border-bottom: 1px solid rgba(233, 241, 255, .14);
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; }
  .nav a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid rgba(233, 241, 255, .12);
    font-size: 1.0625rem;
  }
  .nav a:hover { border-bottom-color: rgba(233, 241, 255, .12); }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: var(--mist);
  padding-block: clamp(56px, 9vw, 112px) clamp(72px, 10vw, 128px);
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}
.hero .label { color: var(--mist); }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero h1 em { font-style: normal; color: var(--mist); }
.hero .lead {
  max-width: 34rem;
  margin-top: 28px;
  font-size: 1.1875rem;
  color: var(--mist);
}
.hero .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 40px;
}
.hero .link-arrow { color: var(--white); }

/* Captura de tela do app */
.shot {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 360px;
  margin: 0;
}
.shot::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  background: var(--blue);
  border-radius: 18px;
}
.shot img {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: 18px;
  background: var(--ice);
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .shot { justify-self: start; margin-right: 22px; max-width: 320px; }
}

/* ---------- Faixa ---------- */
.strip { background: var(--ice); border-bottom: 1px solid var(--mist); }
.strip ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip li {
  padding: 22px 20px;
  font-family: var(--display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
  border-left: 1px solid var(--mist);
}
.strip li:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 700px) {
  .strip ul { grid-template-columns: 1fr 1fr; }
  .strip li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .strip li:nth-child(n+3) { border-top: 1px solid var(--mist); }
}

/* ---------- O ConexPass ---------- */
.about .wrap {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.about-mark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--blue);
  color: var(--white);
  border-radius: 10px;
  padding: clamp(28px, 4vw, 44px);
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.about-mark picture,
.about-mark img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}
.about-mark img { object-fit: cover; object-position: 40% 50%; }
/* faixa azul da marca sobre a foto, para o texto ficar legível */
.about-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 99, 191, .82) 0%, rgba(8, 99, 191, .18) 38%, rgba(20, 32, 51, 0) 55%, rgba(20, 32, 51, .88) 100%);
}
.about-mark strong {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5.4vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.04em;
}
.about-mark p { max-width: 16rem; font-size: 1.125rem; color: var(--white); }
.about h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.about .intro { margin-top: 22px; max-width: 38rem; }
.rows { margin-top: 36px; border-top: 1px solid var(--mist); }
.rows li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--mist);
  color: var(--navy);
  font-weight: 500;
}
.rows li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 9px;
  background: var(--blue);
}
@media (max-width: 900px) {
  .about .wrap { grid-template-columns: 1fr; }
  .about-mark { min-height: 340px; }
}

/* ---------- Como funciona ---------- */
.steps { background: var(--ice); }
.section-head { max-width: 40rem; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.section-head p { margin-top: 16px; font-size: 1.125rem; }
.steps ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li { border-top: 2px solid var(--navy); padding-top: 20px; }
.steps .n {
  display: block;
  margin-bottom: 36px;
  font-family: var(--display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--blue);
}
.steps h3 { font-size: 1.75rem; margin-bottom: 12px; }
@media (max-width: 800px) {
  .steps ol { grid-template-columns: 1fr; }
  .steps .n { margin-bottom: 14px; }
}

/* ---------- Para negócios ---------- */
.business { background: var(--blue); color: var(--ice); }
.business .wrap {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.business .label { color: var(--ice); }
.business h2 { color: var(--white); font-size: clamp(1.9rem, 3.6vw, 3rem); }
.business .intro { margin-top: 20px; font-size: 1.125rem; max-width: 30rem; }
.business .btn { margin-top: 36px; }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 48px); }
.benefits li { padding: 22px 0 30px; border-top: 1px solid rgba(255, 255, 255, .4); }
.benefits h3 { font-size: 1.375rem; color: var(--white); margin-bottom: 8px; }
.benefits p { font-size: 1rem; }
@media (max-width: 900px) { .business .wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq .wrap {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.faq .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 40px); }
.qa { border-top: 1px solid var(--mist); }
.qa:last-child { border-bottom: 1px solid var(--mist); }
.qa summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+";
  flex: none;
  font: 400 1.75rem/1 var(--body);
  color: var(--blue);
}
.qa[open] summary::after { content: "\2212"; }
.qa summary:hover { color: var(--blue); }
.qa p { padding: 0 48px 24px 0; max-width: 40rem; }
@media (max-width: 900px) {
  .faq .wrap { grid-template-columns: 1fr; }
  .faq .section-head { position: static; margin-bottom: 8px; }
}

/* ---------- Contato ---------- */
.contact { background: var(--ice); border-top: 1px solid var(--mist); }
.contact .wrap {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.contact h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
.contact .intro { margin-top: 20px; max-width: 28rem; }
.contact .notes { margin-top: 36px; border-top: 1px solid var(--mist); }
.contact .notes li {
  padding: 16px 0;
  border-bottom: 1px solid var(--mist);
  color: var(--navy);
  font-weight: 600;
}

.form {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: 10px;
  padding: clamp(24px, 4vw, 40px);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.875rem; font-weight: 600; color: var(--navy); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  font: 400 1rem/1.4 var(--body);
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: 6px;
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--slate); opacity: .75; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--slate); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--ice), 0 0 0 4px var(--blue);
}
.field select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23606B7D' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field textarea { resize: vertical; min-height: 120px; }
.form .btn { width: 100%; padding-block: 16px; }
.form-status { min-height: 1.5em; margin-top: 16px; font-size: 0.9375rem; font-weight: 600; }
.form-status.ok { color: var(--blue); }
.form-status.err { color: var(--navy); }
.form-status.err::before { content: "! "; color: var(--blue); }

/* Campo-isca anti-spam (Netlify honeypot) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 900px) { .contact .wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Rodapé ---------- */
.footer { background: var(--navy); color: var(--mist); padding-block: 64px 28px; }
.footer .top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr) minmax(0, .6fr);
  gap: 40px;
}
.footer .logo img { height: 32px; }
.footer .about-text { max-width: 26rem; margin-top: 20px; font-size: 1rem; }
.footer h4 {
  margin-bottom: 18px;
  font-family: var(--body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}
.footer li + li { margin-top: 10px; }
.footer li a { color: var(--mist); text-decoration: none; }
.footer li a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer .copy {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid rgba(233, 241, 255, .16);
  font-size: 0.875rem;
}
@media (max-width: 760px) {
  .footer .top { grid-template-columns: 1fr 1fr; }
  .footer .top > :first-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}