:root {
  --fc-blue-950: #092033;
  --fc-blue-900: #0d2f4c;
  --fc-blue-800: #12466f;
  --fc-blue-700: #0f6ba8;
  --fc-blue-100: #eaf6ff;
  --fc-green-600: #16a06f;
  --fc-green-500: #21b982;
  --fc-green-100: #e7fbf2;
  --fc-yellow-100: #fff8dd;
  --fc-white: #ffffff;
  --fc-slate-900: #17202a;
  --fc-slate-700: #3d4b5c;
  --fc-slate-500: #6b7a8a;
  --fc-slate-200: #dce6ef;
  --fc-slate-100: #f5f8fb;
  --fc-danger: #b3261e;
  --fc-radius-sm: 12px;
  --fc-radius: 22px;
  --fc-radius-lg: 32px;
  --fc-shadow: 0 22px 70px rgba(9, 32, 51, 0.14);
  --fc-shadow-soft: 0 14px 38px rgba(9, 32, 51, 0.10);
  --fc-container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--fc-slate-900);
  background: #f7fbff;
  line-height: 1.55;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 32px, var(--fc-container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(220, 230, 239, 0.9);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: -0.04em;
  color: var(--fc-blue-950);
  font-size: 1.18rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--fc-blue-800), var(--fc-green-500));
  box-shadow: 0 12px 26px rgba(15, 107, 168, 0.28);
  flex: 0 0 42px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 700;
  color: var(--fc-slate-700);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--fc-blue-700);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  border: 0;
  border-radius: 999px;
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--fc-green-500), var(--fc-blue-700));
  color: white;
  box-shadow: 0 18px 34px rgba(22, 160, 111, 0.28);
}

.btn-secondary {
  background: var(--fc-blue-100);
  color: var(--fc-blue-900);
}

.btn-light {
  background: white;
  color: var(--fc-blue-900);
  box-shadow: var(--fc-shadow-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--fc-blue-900);
  border: 1px solid var(--fc-slate-200);
}

.btn-full {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 50px;
  background:
    radial-gradient(circle at 80% 10%, rgba(33, 185, 130, 0.22), transparent 34%),
    radial-gradient(circle at 10% 20%, rgba(15, 107, 168, 0.20), transparent 32%),
    linear-gradient(135deg, #f8fcff 0%, #eef8ff 55%, #ffffff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: rgba(22, 160, 111, 0.08);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--fc-blue-800);
  font-weight: 850;
  border: 1px solid rgba(15, 107, 168, 0.12);
  box-shadow: 0 12px 26px rgba(9, 32, 51, 0.06);
}

.hero h1,
.page-hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.45rem, 6vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.075em;
  color: var(--fc-blue-950);
}

.hero p.lead,
.page-hero p.lead {
  margin: 0 0 26px;
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  color: var(--fc-slate-700);
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 26px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: white;
  border: 1px solid var(--fc-slate-200);
  color: var(--fc-slate-700);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 750;
}

.visual-card {
  background: linear-gradient(155deg, var(--fc-blue-950), var(--fc-blue-800));
  color: white;
  border-radius: var(--fc-radius-lg);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--fc-shadow);
  position: relative;
  overflow: hidden;
}

.visual-card::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  top: -90px;
  right: -80px;
  background: rgba(33, 185, 130, 0.22);
}

.visual-card > * {
  position: relative;
  z-index: 1;
}

.phone-preview {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 28px;
  padding: 18px;
  max-width: 380px;
  margin-left: auto;
  backdrop-filter: blur(12px);
}

.phone-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.76);
  font-size: 0.84rem;
  font-weight: 800;
}

.mini-card {
  background: white;
  color: var(--fc-slate-900);
  border-radius: 20px;
  padding: 18px;
  margin-bottom: 12px;
}

.mini-card strong {
  display: block;
  font-size: 1.55rem;
  letter-spacing: -0.05em;
  color: var(--fc-blue-950);
}

.mini-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--fc-green-600);
  font-weight: 850;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fc-green-500);
  box-shadow: 0 0 0 6px rgba(33,185,130,0.16);
}

.section {
  padding: 74px 0;
}

.section-tight {
  padding: 46px 0;
}

.section-title {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-title.center {
  margin-inline: auto;
  text-align: center;
}

.section-title h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  color: var(--fc-blue-950);
}

.section-title p {
  margin: 0;
  color: var(--fc-slate-700);
  font-size: 1.05rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.card {
  background: white;
  border: 1px solid rgba(220, 230, 239, 0.95);
  border-radius: var(--fc-radius);
  padding: 24px;
  box-shadow: 0 16px 36px rgba(9,32,51,0.06);
}

.card-number {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--fc-blue-100);
  color: var(--fc-blue-800);
  font-weight: 900;
  margin-bottom: 14px;
}

.card h3 {
  margin: 0 0 8px;
  color: var(--fc-blue-950);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.card p,
.card li {
  color: var(--fc-slate-700);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 11px;
}

.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.check {
  color: var(--fc-green-600);
  font-weight: 950;
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 44px;
  align-items: center;
}

.info-panel {
  background: var(--fc-blue-950);
  color: white;
  border-radius: var(--fc-radius-lg);
  padding: clamp(26px, 4vw, 42px);
  box-shadow: var(--fc-shadow);
}

.info-panel h2,
.info-panel h3 {
  color: white;
  margin-top: 0;
}

.info-panel p {
  color: rgba(255,255,255,0.78);
}

.info-panel .feature-list li {
  color: rgba(255,255,255,0.9);
}

.cta-band {
  padding: 42px;
  border-radius: var(--fc-radius-lg);
  background:
    radial-gradient(circle at 90% 0%, rgba(33, 185, 130, 0.22), transparent 34%),
    linear-gradient(135deg, var(--fc-blue-950), var(--fc-blue-800));
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--fc-shadow);
}

.cta-band h2 {
  margin: 0 0 6px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.cta-band p {
  margin: 0;
  color: rgba(255,255,255,0.76);
}

.quiz-page-wrap {
  min-height: 100vh;
  padding: 36px 0;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 12% 14%, rgba(33, 185, 130, 0.18), transparent 32%),
    radial-gradient(circle at 90% 20%, rgba(15, 107, 168, 0.18), transparent 34%),
    #f7fbff;
}

.quiz-shell {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 28px;
  align-items: stretch;
}

.quiz-aside {
  padding: 32px;
  border-radius: var(--fc-radius-lg);
  background: linear-gradient(150deg, var(--fc-blue-950), var(--fc-blue-800));
  color: white;
  box-shadow: var(--fc-shadow);
}

.quiz-aside h1 {
  margin: 18px 0 12px;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.quiz-aside p {
  color: rgba(255,255,255,0.76);
}

.quiz-card {
  background: white;
  border-radius: var(--fc-radius-lg);
  box-shadow: var(--fc-shadow);
  border: 1px solid rgba(220,230,239,0.9);
  overflow: hidden;
}

.quiz-progress {
  height: 8px;
  background: var(--fc-blue-100);
}

.quiz-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--fc-green-500), var(--fc-blue-700));
  transition: width .25s ease;
}

.quiz-inner {
  padding: clamp(24px, 4vw, 40px);
}

.quiz-kicker {
  color: var(--fc-blue-700);
  font-weight: 900;
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.quiz-step h2 {
  margin: 0 0 10px;
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
  color: var(--fc-blue-950);
}

.quiz-step p {
  color: var(--fc-slate-700);
  margin-top: 0;
}

.form-grid {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.two-cols {
  grid-template-columns: repeat(2, 1fr);
}

.form-field label {
  display: block;
  margin: 0 0 7px;
  color: var(--fc-blue-950);
  font-weight: 850;
  font-size: 0.95rem;
}

.form-field input,
.form-field select {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--fc-slate-200);
  border-radius: 16px;
  padding: 0 15px;
  outline: none;
  background: #fff;
  color: var(--fc-slate-900);
  transition: border .2s ease, box-shadow .2s ease;
}

.form-field input:focus,
.form-field select:focus {
  border-color: rgba(15,107,168,0.7);
  box-shadow: 0 0 0 4px rgba(15,107,168,0.12);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.choice-btn {
  border: 1px solid var(--fc-slate-200);
  border-radius: 20px;
  background: white;
  color: var(--fc-blue-950);
  min-height: 68px;
  font-weight: 900;
  font-size: 1.05rem;
  box-shadow: 0 10px 24px rgba(9,32,51,0.05);
}

.choice-btn:hover {
  border-color: rgba(22,160,111,0.65);
  background: var(--fc-green-100);
}

.quiz-error {
  margin-top: 16px;
  color: var(--fc-danger);
  background: #fff1ef;
  border: 1px solid #ffd2cc;
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 750;
}

.result-box {
  border-radius: 24px;
  padding: 22px;
  margin-top: 20px;
  background: var(--fc-green-100);
  border: 1px solid rgba(22,160,111,0.22);
}

.result-box.warning {
  background: var(--fc-yellow-100);
  border-color: rgba(170, 136, 36, 0.25);
}

.small-note {
  display: block;
  margin-top: 12px;
  color: var(--fc-slate-500);
  font-size: 0.9rem;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(9, 32, 51, 0.72);
  display: grid;
  place-items: center;
  padding: 22px;
}

.modal-box {
  width: min(100%, 760px);
  max-height: min(92vh, 880px);
  overflow: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--fc-blue-100);
  color: var(--fc-blue-900);
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: white;
  border: 1px solid var(--fc-slate-200);
  border-radius: 18px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  background: white;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  font-weight: 850;
  color: var(--fc-blue-950);
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  color: var(--fc-slate-700);
}

.faq-item.is-open .faq-answer {
  display: block;
}

.site-footer {
  padding: 42px 0;
  background: var(--fc-blue-950);
  color: rgba(255,255,255,0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.site-footer strong,
.site-footer h4 {
  color: white;
}

.site-footer p,
.site-footer li {
  color: rgba(255,255,255,0.72);
}

.site-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.debug-panel {
  margin-top: 28px;
  padding: 18px;
  border-radius: 18px;
  background: #f1f6fa;
  border: 1px dashed var(--fc-slate-200);
}

.debug-panel pre {
  max-height: 260px;
  overflow: auto;
  background: var(--fc-blue-950);
  color: white;
  padding: 14px;
  border-radius: 14px;
  font-size: 0.82rem;
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .quiz-shell,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .visual-card .phone-preview {
    margin-left: 0;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 22px, var(--fc-container));
  }

  .header-inner {
    min-height: 66px;
  }

  .header-actions .btn-secondary {
    display: none;
  }

  .hero {
    padding: 44px 0 34px;
  }

  .section {
    padding: 52px 0;
  }

  .hero-actions,
  .choice-grid,
  .two-cols {
    grid-template-columns: 1fr;
  }

  .choice-grid {
    display: grid;
  }

  .hero-actions .btn,
  .cta-band .btn {
    width: 100%;
  }

  .quiz-page-wrap {
    padding: 14px 0;
  }

  .quiz-aside {
    padding: 24px;
  }

  .quiz-inner {
    padding: 24px 18px;
  }

  .modal-overlay {
    padding: 10px;
    align-items: start;
  }

  .modal-box {
    max-height: 96vh;
  }
}

/* V4 - identidade visual FaciliteCred aplicada ao bloco de simulação */
.quick-sim-section {
  padding: 0 0 34px;
  margin-top: -8px;
  position: relative;
  z-index: 2;
}

.quick-sim-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 6%, rgba(33, 185, 130, 0.18), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f0fbf7 48%, #eaf6ff 100%);
  color: var(--fc-blue-950);
  border-radius: 22px;
  padding: 28px clamp(22px, 4vw, 42px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  box-shadow: 0 22px 54px rgba(9, 32, 51, 0.12);
  border: 1px solid rgba(33, 185, 130, 0.24);
}

.quick-sim-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: linear-gradient(180deg, var(--fc-green-500), var(--fc-blue-700));
}

.quick-sim-card h2 {
  margin: 0;
  color: var(--fc-blue-950);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.quick-sim-card p {
  margin: 4px 0 0;
  color: var(--fc-slate-700);
  font-size: 1.05rem;
}

.quick-sim-form {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quick-sim-form input {
  min-height: 42px;
  width: min(100vw, 240px);
  border-radius: 12px;
  border: 1px solid rgba(18, 70, 111, 0.20);
  background: rgba(255,255,255,0.98);
  color: var(--fc-blue-950);
  padding: 0 14px;
  outline: none;
  box-shadow: 0 12px 26px rgba(9, 32, 51, 0.08);
}

.quick-sim-form input:focus {
  border-color: var(--fc-green-500);
  box-shadow: 0 0 0 4px rgba(33, 185, 130, 0.16);
}

.quick-sim-form input::placeholder {
  color: rgba(61,75,92,0.62);
}

.quick-sim-form .btn {
  min-height: 42px;
  min-width: 160px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--fc-green-500), var(--fc-blue-700));
  color: white;
  box-shadow: 0 14px 30px rgba(22, 160, 111, 0.24);
}

.content-split {
  align-items: start;
}

.text-content {
  color: var(--fc-slate-700);
  font-size: 1.05rem;
}

.text-content p:first-child {
  margin-top: 0;
}

.text-content .btn {
  margin-top: 14px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.benefit-grid .card {
  min-height: 190px;
}

.center-actions {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 26px;
}

.light-panel {
  background: white;
  color: var(--fc-blue-950);
  border: 1px solid rgba(220,230,239,0.95);
  box-shadow: var(--fc-shadow-soft);
}

.light-panel h3 {
  color: var(--fc-blue-950);
}

.light-panel .feature-list li,
.light-panel p {
  color: var(--fc-slate-700);
}

.quiz-kicker {
  display: none;
}

.quiz-shell.aside-hidden {
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
}

.quiz-shell.aside-hidden .quiz-aside {
  display: none;
}

.quiz-aside h1 {
  font-size: clamp(2rem, 4.6vw, 3.7rem);
}

.result-box .btn {
  margin-top: 16px;
}

@media (max-width: 1100px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  .quick-sim-card,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .quick-sim-form {
    width: 100%;
  }

  .quick-sim-form input {
    flex: 1;
  }
}

@media (max-width: 640px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .quick-sim-card {
    padding: 24px 18px;
  }

  .quick-sim-form {
    flex-direction: column;
    align-items: stretch;
  }

  .quick-sim-form input,
  .quick-sim-form .btn,
  .center-actions .btn {
    width: 100%;
  }
}


/* V5 - logo FaciliteCred aplicado nas marcas do topo, rodapé e quiz. */
