:root {
  /* Extraídos da logo Martins Crédito */
  --navy: #102850;
  --navy-deep: #0a1a36;
  --teal: #186888;
  --teal-bright: #1f7a9a;
  --gold: #e0c070;
  --gold-rich: #d4b05a;
  --ink: #102850;
  --muted: #5a6d82;
  --line: rgba(16, 40, 80, 0.12);
  --paper: #f3f6f9;
  --white: #ffffff;
  --hero-bg: #eef4f7;
  --radius: 16px;
  --header-h: 84px;
  --font: "Figtree", system-ui, sans-serif;
  --display: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0 0 1rem; }

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.55em;
}

.container {
  width: min(1080px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.container.narrow {
  width: min(860px, calc(100% - 2.4rem));
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 0.7rem 1rem;
  z-index: 1000;
}

.skip-link:focus { left: 1rem; top: 1rem; }

/* Header claro — logo navy/teal com contraste */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
}

.site-header.is-scrolled {
  position: fixed;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(16, 40, 80, 0.06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  width: 178px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a:not(.btn) {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.82;
  transition: opacity 0.2s;
}

.nav a:not(.btn):hover { opacity: 1; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.78rem 1.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
}

.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 0.95rem 1.55rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-gold {
  background: linear-gradient(180deg, #ebc97a, var(--gold-rich));
  color: var(--navy-deep);
  box-shadow: 0 10px 28px rgba(212, 176, 90, 0.32);
}

.btn-gold:hover { background: linear-gradient(180deg, #f0d28a, #ebc97a); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: rgba(16, 40, 80, 0.28);
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(24, 104, 136, 0.05);
}

/* Hero claro — logo navy/teal/ouro aparece */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: calc(var(--header-h) + 1.5rem) 0 3.5rem;
  color: var(--navy);
  background:
    radial-gradient(ellipse 55% 45% at 15% 85%, rgba(224, 192, 112, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 45% at 90% 20%, rgba(24, 104, 136, 0.16), transparent 55%),
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 255, 255, 0.9), transparent 60%),
    linear-gradient(180deg, #f7fafc 0%, #eaf2f5 48%, #e4eef2 100%);
  text-align: center;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.7;
}

.hero-glow-gold {
  width: min(480px, 65vw);
  height: min(480px, 65vw);
  left: -10%;
  bottom: -20%;
  background: rgba(224, 192, 112, 0.35);
  animation: glowPulse 7s ease-in-out infinite;
}

.hero-glow-teal {
  width: min(420px, 55vw);
  height: min(420px, 55vw);
  right: -8%;
  top: 18%;
  background: rgba(24, 104, 136, 0.22);
  animation: glowPulse 8s ease-in-out infinite reverse;
}

.hero-center {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 740px;
}

.partner-badge {
  margin: 0 0 1.2rem;
  padding: 0.45rem 1rem;
  border: 1px solid rgba(16, 40, 80, 0.2);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(255, 255, 255, 0.65);
}

.hero-logo {
  width: min(300px, 72vw);
  margin-bottom: 0.35rem;
  animation: floatSoft 6s ease-in-out infinite;
}

.hero-logo img {
  margin-inline: auto;
  filter: drop-shadow(0 18px 36px rgba(16, 40, 80, 0.18));
}

.hero-role {
  margin: 0.15rem 0 1.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}

.hero h1 {
  font-size: clamp(1.85rem, 4.4vw, 2.75rem);
  font-weight: 700;
  max-width: 16ch;
  margin-bottom: 1rem;
  color: var(--navy);
}

.hero h1 em {
  display: block;
  margin-top: 0.12em;
  font-family: var(--display);
  font-style: normal;
  font-weight: 800;
  font-size: 1.22em;
  color: #b8923a;
  letter-spacing: -0.02em;
}

.hero-lead {
  max-width: 38rem;
  margin: 0 auto 1.7rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.6rem;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-pills li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot.gold { background: var(--gold-rich); }
.dot.teal { background: var(--teal); }
.dot.navy { background: var(--navy); }

/* Sections */
.section { padding: 5rem 0; }

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--navy);
}

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
  margin-inline: auto;
}

.process { background: var(--white); }

.steps { display: grid; gap: 0.9rem; }

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  color: var(--navy);
  background: var(--gold);
}

.steps h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.criteria {
  background: linear-gradient(160deg, var(--navy-deep), var(--navy) 55%, #143a5c);
  color: var(--white);
}

.criteria .eyebrow { color: var(--gold); }
.criteria .section-head h2 { color: var(--white); }
.criteria .section-lead { color: rgba(255, 255, 255, 0.72); }

.criteria-cards {
  display: grid;
  gap: 0.9rem;
}

.criteria-cards li {
  display: grid;
  gap: 0.3rem;
  padding: 1.3rem 1.4rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.criteria-cards strong {
  font-family: var(--display);
  font-size: 1.15rem;
}

.criteria-cards span {
  color: rgba(255, 255, 255, 0.72);
}

.security { background: var(--paper); }

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.security-grid article {
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  text-align: center;
}

.security-grid h3 {
  font-size: 1.1rem;
  color: var(--navy);
}

.security-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.trust { background: var(--white); }

.trust-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.trust-list article {
  padding: 1.4rem 1.3rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--teal);
  background: var(--paper);
}

.trust-list h3 {
  font-size: 1.1rem;
  color: var(--navy);
}

.trust-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.contact {
  background:
    radial-gradient(ellipse 45% 40% at 10% 90%, rgba(224, 192, 112, 0.14), transparent 55%),
    linear-gradient(180deg, #f0f5f8 0%, #eaf1f5 100%);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

.contact-intro h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.5rem);
  color: var(--navy);
}

.contact-intro > p {
  color: var(--muted);
  max-width: 32ch;
}

.checklist {
  display: grid;
  gap: 0.6rem;
  margin: 1.5rem 0 1.8rem;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

.checklist li::before {
  content: "✓";
  color: var(--gold-rich);
  font-weight: 800;
  flex: 0 0 auto;
}

.btn-whatsapp {
  gap: 0.55rem;
  background: #22a355;
  color: var(--white);
  box-shadow: 0 12px 28px rgba(34, 163, 85, 0.28);
}

.btn-whatsapp:hover { background: #1e9048; }

.contact-email {
  margin: 1.1rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.contact-email a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form {
  position: relative;
  background: var(--white);
  color: var(--ink);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 45px rgba(16, 40, 80, 0.08);
}

.btn[disabled] {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.req { color: #c0392b; }

.form-row {
  margin-bottom: 1rem;
  border: 0;
  padding: 0;
  min-inline-size: 0;
}

.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-row label,
.form-row legend {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.82rem 0.9rem;
  background: #f7f9fb;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-row textarea {
  resize: vertical;
  min-height: 130px;
  font-family: inherit;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(24, 104, 136, 0.14);
}

.form-row input.is-invalid,
.form-row select.is-invalid,
.form-row textarea.is-invalid {
  border-color: #c0392b;
}

.form-note {
  min-height: 1.35em;
  margin: 0.3rem 0 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-note.is-error { color: #c0392b; }
.form-note.is-success { color: var(--teal); }

.form-legal {
  margin: 0.8rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 3rem 0 1.8rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand img {
  width: 140px;
  margin-bottom: 0.9rem;
}

.site-footer h3 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.footer-list {
  display: grid;
  gap: 0.5rem;
}

.footer-list a:hover { color: var(--gold); }

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.3rem;
}

.footer-legal p {
  font-size: 0.8rem;
  line-height: 1.55;
  max-width: 88ch;
}

.copyright {
  margin-top: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
}

.fab-whatsapp {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: white;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
  z-index: 40;
  transition: transform 0.2s var(--ease);
}

.fab-whatsapp:hover { transform: scale(1.06); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.05); }
}

@media (max-width: 900px) {
  .security-grid,
  .trust-list,
  .contact-wrap,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root { --header-h: 72px; }

  .brand-logo { width: 148px; }

  .hero-logo { width: min(240px, 78vw); }

  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    inset: 0 0 auto 0;
    padding: calc(var(--header-h) + 0.5rem) 1.25rem 1.1rem;
    display: grid;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav a:not(.btn) {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }

  .nav-cta {
    margin-top: 0.7rem;
    width: 100%;
  }

  .hero {
    padding-top: calc(var(--header-h) + 1.2rem);
    min-height: auto;
  }

  .hero h1 { max-width: none; }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn { width: 100%; }

  .form-row.two-col { grid-template-columns: 1fr; }

  .section { padding: 4rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .btn, .hero-logo, .hero-glow {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
