/* Extensão FAACE — estilos compartilhados (index.html e etapa-2.html) */
:root {
  --navy-900: #0B1530;
  --navy-850: #0E1932;
  --navy-800: #13213F;
  --navy-700: #22325A;
  --blue: #0B4495;
  --blue-dark: #082F68;
  --blue-50: #EEF3FB;
  --orange: #F09A2E;
  --orange-soft: #F6B762;
  --orange-text: #A85F00;
  --ink: #121826;
  --ink-2: #2A3142;
  --muted: #4B5568;
  --muted-dark: #C3CCDD;
  --line: #E3E7EF;
  --soft: #F6F8FC;
  --white: #FFFFFF;
  --green: #17653A;
  --green-50: #E9F6EE;
  --error: #B42318;
  --radius: 20px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3, p { margin: 0; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: 12px;
  font: 800 16px/1 "Manrope", system-ui, sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--orange-soft); outline-offset: 3px; }
.btn--orange { background: var(--orange); color: var(--ink); }
.btn--orange:hover { background: #E68A17; color: var(--ink); box-shadow: 0 10px 24px rgba(240,154,46,.35); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--blue-dark); color: var(--white); }
.btn--pill { border-radius: 999px; min-height: 46px; font-size: 15px; padding: 0 20px; }
.btn--block { width: 100%; min-height: 56px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.site-header .logo { height: 48px; width: auto; }

/* Rótulos e títulos de seção */
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-text); }
.eyebrow--light { color: var(--orange-soft); }
.section { padding: 96px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--navy-900); color: var(--white); }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; display: grid; gap: 14px; }
.h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
.lead { font-size: 18px; line-height: 1.55; color: var(--muted); }
.section--dark .lead { color: var(--muted-dark); }

/* Hero */
.hero {
  background-color: var(--navy-850);
  background-image:
    linear-gradient(90deg, rgba(11,21,48,.92) 0%, rgba(11,21,48,.72) 40%, rgba(11,21,48,0) 60%),
    url("banner-faace.jpg");
  background-size: cover;
  background-position: 75% center;
  background-repeat: no-repeat;
  scroll-margin-top: 80px;
}
.hero .container { padding-top: 64px; padding-bottom: 72px; }
.hero__content { max-width: 600px; display: grid; gap: 20px; }
.hero__tag {
  justify-self: start; font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--orange-soft);
  border: 1px solid rgba(246,183,98,.5); border-radius: 999px; padding: 7px 14px;
}
.hero h1 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; color: var(--white); }
.hero__sub { font-size: 18px; line-height: 1.55; color: #D3DBE9; }

/* Formulários */
.form-card {
  background: var(--white); border-radius: var(--radius); padding: 22px;
  display: grid; gap: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.28); margin-top: 4px;
}
.form-card__title { font-size: 19px; font-weight: 800; color: var(--ink); }
.fields { display: flex; flex-wrap: wrap; gap: 10px; }
.field { flex: 1 1 150px; display: grid; align-content: start; gap: 5px; font-size: 13px; font-weight: 700; color: var(--ink-2); min-width: 0; }
.field--full { flex-basis: 100%; }
.field input, .field select {
  height: 48px; width: 100%; min-width: 0; border: 1px solid #CDD3DF; border-radius: 10px; padding: 0 12px;
  font: 500 15px "Manrope", system-ui, sans-serif; color: var(--ink); background: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11,68,149,.15); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--error); }
.field__error { font-size: 12px; font-weight: 600; color: var(--error); min-height: 0; }
.field__error:empty { display: none; }
.field .optional { font-weight: 500; color: var(--muted); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.45; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--blue); }
.consent.is-invalid { color: var(--error); }
.form-status { font-size: 13px; font-weight: 600; color: var(--error); }
.form-status:empty { display: none; }
.btn[disabled] { opacity: .7; cursor: wait; transform: none; }

/* Selos */
.stats { border-bottom: 1px solid var(--line); }
.stats .container { padding-top: 36px; padding-bottom: 28px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { padding: 8px 20px; border-left: 3px solid var(--orange); }
.stat__value { font-size: 40px; font-weight: 800; line-height: 1; color: var(--blue); letter-spacing: -0.02em; }
.stat__label { font-size: 15px; font-weight: 600; color: var(--muted); margin-top: 6px; }
.stats__note { font-size: 13px; color: var(--muted); margin-top: 18px; }

/* Cards da virada de chave */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; align-content: start; }
.card__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--blue-50); display: flex; align-items: center; justify-content: center; }
.card h3 { font-size: 19px; font-weight: 800; }
.card p { font-size: 16px; line-height: 1.5; color: var(--muted); }

/* Mecanismos */
.mech-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; }
.mech-head > div { flex: 1 1 520px; max-width: 720px; display: grid; gap: 14px; }
.mech-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mech { background: var(--navy-800); border: 1px solid var(--navy-700); border-radius: 18px; padding: 26px; display: grid; gap: 10px; align-content: start; }
.mech__num { font-size: 14px; font-weight: 800; color: var(--orange-soft); }
.mech h3 { font-size: 20px; font-weight: 800; }
.mech p { font-size: 15px; line-height: 1.5; color: var(--muted-dark); }
.mech--highlight { grid-column: span 2; background: var(--orange); border-color: var(--orange); color: var(--ink); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.mech--highlight > div { display: grid; gap: 10px; flex: 1 1 240px; }
.mech--highlight .mech__num { color: var(--ink); }
.mech--highlight p { color: #2A2112; }
.mech__big { font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }

/* Etapas */
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps::before { content: ""; position: absolute; top: 27px; left: 12.5%; right: 12.5%; height: 2px; background: var(--line); }
.step { position: relative; display: grid; justify-items: center; text-align: center; gap: 12px; align-content: start; }
.step__num { width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: var(--white); font-size: 18px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px var(--white); }
.step__num--orange { background: var(--orange); color: var(--ink); }
.step h3 { font-size: 19px; font-weight: 800; }
.step p { font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 240px; }

/* Barreira competitiva */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.split__intro { display: grid; gap: 14px; }
.split__intro .h2 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.1; }
.rows { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.row { display: flex; gap: 20px; padding: 26px 28px; }
.row + .row { border-top: 1px solid var(--line); }
.row__num { font-size: 32px; font-weight: 800; color: var(--blue); line-height: 1; flex: none; width: 48px; }
.row h3 { font-size: 19px; font-weight: 800; }
.row p { font-size: 16px; line-height: 1.5; color: var(--muted); margin-top: 6px; }

/* Tabela */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 16px; }
.compare th { text-align: left; padding: 20px 24px; font-size: 13px; letter-spacing: .06em; color: var(--muted); font-weight: 800; border-bottom: 1px solid var(--line); }
.compare th.is-faace { background: var(--blue); color: var(--white); border-bottom-color: var(--blue); }
.compare td { padding: 18px 24px; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-weight: 700; }
.compare td:nth-child(2) { color: var(--muted); }
.compare td.is-faace { font-weight: 700; background: var(--blue-50); border-bottom-color: #DCE5F4; }
.compare td.is-zero { font-weight: 800; color: var(--blue); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-size: 17px; font-weight: 800; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 700; color: var(--blue); flex: none; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq summary:focus-visible { outline: 3px solid var(--orange-soft); outline-offset: 2px; border-radius: 16px; }
.faq details p { padding: 0 24px 22px; font-size: 16px; line-height: 1.55; color: var(--muted); }

/* CTAs finais */
.cta-hero {
  color: var(--white);
  background-color: var(--navy-850);
  background-image:
    linear-gradient(90deg, rgba(11,21,48,.95) 0%, rgba(11,21,48,.8) 45%, rgba(11,21,48,.15) 70%),
    url("banner-faace.jpg");
  background-size: cover; background-position: 75% 30%; background-repeat: no-repeat;
}
.cta-hero .container { padding-top: 104px; padding-bottom: 104px; }
.cta-hero__content { max-width: 560px; display: grid; gap: 18px; justify-items: start; }
.cta-hero h2 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
.cta-hero p { font-size: 18px; line-height: 1.55; color: #D3DBE9; }
.cta-strip { padding: 56px 0; }
.cta-strip__box { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 36px; background: var(--soft); }
.cta-strip__text { display: flex; gap: 18px; align-items: center; flex: 1 1 480px; }
.cta-strip__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--blue); display: flex; align-items: center; justify-content: center; flex: none; }
.cta-strip h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.cta-strip p { font-size: 16px; color: var(--muted); margin-top: 4px; }

/* Rodapé */
.site-footer { background: var(--navy-900); color: var(--muted-dark); font-size: 14px; }
.site-footer a { color: var(--muted-dark); }
.site-footer a:hover { color: var(--white); }
.footer__top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-top: 56px; padding-bottom: 28px; }
.footer__about { flex: 1 1 320px; max-width: 380px; display: grid; gap: 16px; line-height: 1.55; }
.footer__logo { justify-self: start; background: var(--white); border-radius: 12px; padding: 8px 12px; }
.footer__logo img { height: 40px; width: auto; }
.footer__col { flex: 0 1 220px; display: grid; gap: 10px; align-content: start; }
.footer__title { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--white); }
.footer__bottom { border-top: 1px solid var(--navy-700); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 20px; padding-bottom: 32px; font-size: 13px; }

/* Etapa 2 */
.progress { height: 4px; background: var(--line); }
.progress__bar { height: 4px; width: 50%; background: var(--orange); transition: width .4s ease; }
.progress__bar.is-done { width: 100%; }
.step2 { background: var(--soft); min-height: calc(100vh - 77px); }
.step2 .container { max-width: 1100px; padding-top: 56px; padding-bottom: 72px; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 36px; }
.badge-ok { justify-self: start; display: inline-flex; gap: 8px; align-items: center; background: var(--green-50); color: var(--green); font-size: 13px; font-weight: 800; padding: 8px 14px; border-radius: 999px; }
.step2 h1 { font-size: 32px; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
.step2 .lead { font-size: 17px; margin-top: 10px; }
.step2 .field { font-size: 14px; }
.step2 .field input, .step2 .field select { height: 50px; border-radius: 12px; }
.success { display: grid; gap: 16px; justify-items: start; padding: 24px 0; }
.success__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--green-50); display: flex; align-items: center; justify-content: center; }
.next { background: var(--navy-900); color: var(--white); border-radius: 24px; padding: 32px; }
.next ol { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 20px; }
.next li { display: flex; gap: 14px; }
.next__num { width: 32px; height: 32px; border-radius: 50%; background: var(--navy-700); color: var(--white); font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none; }
.next__num--active { background: var(--orange); color: var(--ink); }
.next li strong { display: block; font-size: 16px; }
.next li div span { display: block; font-size: 14px; line-height: 1.5; color: var(--muted-dark); margin-top: 4px; }
.note { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: flex; gap: 14px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--muted); }
.aside { display: grid; gap: 16px; }
[hidden] { display: none !important; }

/* Responsivo */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .step2 .container { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .site-header .logo { height: 40px; }
  .site-header .btn--pill { font-size: 14px; padding: 0 16px; }
  .hero {
    background-image:
      linear-gradient(180deg, rgba(14,25,50,0) 0px, rgba(14,25,50,.4) 220px, var(--navy-850) 330px),
      url("banner-faace.jpg");
    background-size: auto 350px;
    background-position: 72% top;
  }
  .hero .container { padding-top: 270px; padding-bottom: 56px; }
  .cards, .mech-grid { grid-template-columns: minmax(0, 1fr); }
  .mech--highlight { grid-column: auto; }
  .stat__value { font-size: 34px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps::before { display: none; }
  .cta-hero { background-image: linear-gradient(0deg, rgba(11,21,48,.92), rgba(11,21,48,.85)), url("banner-faace.jpg"); }
  .cta-hero .container { padding-top: 80px; padding-bottom: 80px; }
  .cta-strip__box { padding: 28px 24px; }
  .panel { padding: 26px 22px; }
  .step2 .container { padding-top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .progress__bar { transition: none; }
}
