/* ══════════════════════════════════════════════
   INVESTCAR — páginas internas (sistema novo)
   ══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #F4F7FB;
  --white: #FFFFFF;
  --black: #0B0D10;
  --ink: #071A2E;
  --navy: #0E2A4A;
  --blue: #1453A8;
  --baby: #B7D4F0;
  --mist: #DCE8F4;
  --line: rgba(7,26,46,.12);
  --muted: rgba(7,26,46,.58);
  --nav-h: 96px;
  /* aliases legados */
  --green-deep: var(--ink);
  --green-ink: var(--black);
  --green-forest: var(--navy);
  --green-live: var(--blue);
  --gold: var(--baby);
  --gold-dark: var(--blue);
  --gold-light: var(--baby);
  --ivory: var(--bg);
}

html { scroll-behavior: smooth; }
body {
  font-family: "Sora", sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: var(--blue); transition: color .2s; }
a:hover { color: var(--navy); }
img { max-width: 100%; }

/* Navbar flutuante-like nas internas */
.navbar-custom {
  background: rgba(244,247,251,.9);
  height: var(--nav-h);
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(7,26,46,.06);
}
.navbar-inner {
  max-width: 1240px; width: calc(100% - 32px);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 12px 12px 26px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 999px;
  box-shadow: 0 18px 50px -24px rgba(7,26,46,.35);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.navbar-brand { display: flex; align-items: center; }
.navbar-brand img {
  height: var(--logo-nav-h, 56px);
  width: auto;
  max-width: none;
  object-fit: contain;
}
.navbar-back {
  color: var(--ink) !important;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .04em;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--mist);
}
.navbar-back:hover { background: var(--baby); color: var(--ink) !important; }

/* Header da página — largura da home */
.page-header {
  background:
    radial-gradient(900px 340px at 50% 0%, rgba(183,212,240,.45), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--white) 100%);
  padding: 130px 24px 56px;
  margin-top: var(--nav-h);
  text-align: left;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-header::before { display: none; }
.page-header h1 {
  font-family: "Bodoni Moda", serif;
  color: var(--black);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.02em;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
  text-align: left;
}
.page-header p {
  color: var(--muted);
  font-size: 16.5px;
  margin: 16px auto 0;
  max-width: 720px;
  width: 100%;
  line-height: 1.7;
  font-weight: 300;
  text-align: left;
}

/* Conteúdo — coluna de leitura central (estilo markdown editorial) */
.content {
  max-width: 1240px;
  width: calc(100% - 48px);
  margin: 40px auto 100px;
  padding: clamp(48px, 6vw, 72px) clamp(28px, 5vw, 64px);
  background: var(--white);
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -30px rgba(7,26,46,.18);
  position: relative;
  z-index: 2;
}
.content > * {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.content > .steps,
.content > .sidebar-nav,
.content > .contact-card,
.content > .feature-grid,
.content > .btn-wrap { max-width: 920px; }
.content h2 {
  font-family: "Bodoni Moda", serif;
  color: var(--black);
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
  font-weight: 500;
  margin: 48px auto 18px;
  padding-bottom: 14px;
  position: relative;
  letter-spacing: -.015em;
  text-align: left;
}
.content h2:first-child { margin-top: 0; }
.content h2::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 42px; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--baby));
  border-radius: 99px;
}
.content h3 {
  font-family: "Bodoni Moda", serif;
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 28px auto 12px;
  text-align: left;
}
.content h4 {
  color: var(--navy);
  margin: 20px auto 10px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: left;
}
.content p {
  font-size: 16px;
  line-height: 1.85;
  margin: 0 auto 18px;
  color: var(--muted);
  font-weight: 300;
  text-align: left;
}
.content ul, .content ol {
  margin: 8px auto 24px;
  padding: 18px 22px 18px 40px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.content li {
  font-size: 15.5px;
  line-height: 1.8;
  margin-bottom: 10px;
  color: var(--muted);
}
.content li:last-child { margin-bottom: 0; }
.content li::marker { color: var(--blue); font-weight: 700; }
.content strong { color: var(--ink); font-weight: 600; }
.content em { font-family: "Bodoni Moda", serif; font-style: italic; color: var(--blue); }
.content .notice {
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
  border-radius: 0 16px 16px 0;
}
.content .btn-wrap { text-align: center; margin: 36px auto; }
.type-block {
  margin: 0 auto 18px;
  max-width: 720px;
  padding: 20px 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.type-block h3 { text-align: left; margin-top: 0; }

/* Botões pill */
.btn-wrap { margin: 32px 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  color: #fff !important;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .04em;
  font-family: "Sora", sans-serif;
  box-shadow: 0 10px 28px rgba(11,13,16,.15);
  transition: transform .25s, box-shadow .25s, background .25s;
}
.btn:hover {
  transform: translateY(-2px);
  background: var(--blue);
  box-shadow: 0 16px 40px rgba(20,83,168,.28);
  color: #fff !important;
}

.notice {
  background: linear-gradient(120deg, rgba(183,212,240,.35), rgba(220,232,244,.7));
  border-left: 3px solid var(--blue);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 28px;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(7,26,46,.85);
}
.contact-card {
  background: var(--ink);
  border: none;
  border-radius: 24px;
  padding: 30px 32px;
  margin: 24px 0 32px;
  color: rgba(255,255,255,.85);
}
.contact-card h3 {
  color: var(--baby);
  margin-top: 0;
  font-family: "Bodoni Moda", serif;
  font-weight: 400;
}
.contact-card p { color: rgba(255,255,255,.75); }
.contact-card a { color: var(--baby); }
.contact-card a:hover { color: #fff; }
.contact-card strong { color: #fff; }
.info-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 11px 0;
  font-size: 14.5px;
  line-height: 1.65;
}
.info-row + .info-row { border-top: 1px solid rgba(255,255,255,.1); }
.info-row i {
  color: var(--baby);
  font-size: 16px;
  margin-top: 4px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 26px 0 34px;
}
.step-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 22px;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(7,26,46,.08); }
.step-card h4 {
  font-family: "Bodoni Moda", serif;
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 8px;
  color: var(--black);
}
.step-card p { font-size: 13.5px; margin-bottom: 0; }
.step-number {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--blue);
  font-family: "Sora", sans-serif;
  font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.sidebar-nav {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px 28px;
  margin-bottom: 36px;
}
.sidebar-nav h3 {
  margin-top: 0; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  font-family: "Sora", sans-serif; font-weight: 700; color: var(--ink);
}
.sidebar-nav ul { margin: 12px 0 0 0; list-style: none; columns: 2; column-gap: 32px; }
.sidebar-nav li { margin-bottom: 8px; font-size: 14px; break-inside: avoid; }
.sidebar-nav a { color: var(--blue); font-weight: 500; }
.sidebar-nav a:hover { color: var(--navy); }

/* Footer */
#footer { padding: 0; background: transparent; margin: 0; }
.footer-accent-bar {
  height: 1px;
  background: var(--line);
  width: 100%;
}
.footer-main { background: var(--black); padding: 56px 0 8px; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 15px; width: 100%; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; overflow: hidden; }
.col-5th { flex: 0 0 20%; max-width: 20%; padding: 0 15px; }
.footer-columns.row { align-items: flex-start; }
#footer h4 {
  color: #fff;
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
}
#footer .footer-brand-logo {
  height: var(--logo-footer-h, 52px);
  width: auto;
  margin-bottom: 14px;
  object-fit: contain;
}
#footer .footer-address { color: rgba(255,255,255,.55); font-size: 13px; line-height: 1.7; margin: 0; max-width: 260px; font-weight: 300; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links li a { color: rgba(255,255,255,.62); font-size: 13px; }
.footer-links li a:hover { color: var(--baby); }
#footer .footer-contact-lines { display: flex; flex-direction: column; gap: 12px; }
#footer .footer-contact-line {
  margin: 0; font-size: 13px; line-height: 1.6;
  color: rgba(255,255,255,.62);
  display: flex; align-items: flex-start; gap: 10px;
}
#footer .footer-contact-line i { margin-top: 3px; color: var(--baby); flex-shrink: 0; width: 16px; text-align: center; }
#footer .footer-contact-line a { color: rgba(255,255,255,.62); word-break: break-word; }
#footer .footer-contact-line a:hover { color: var(--baby); }
.footer-social {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
  gap: 13px;
  padding: 34px 0 10px;
  margin-top: 12px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer-social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(183,212,240,.35);
  display: flex; align-items: center; justify-content: center;
  color: var(--baby);
  transition: background .25s, color .25s;
}
.footer-social a:hover {
  background: var(--blue);
  color: #fff;
}
.footer-social a i { font-size: 17px; }
.footer-bottom { background: var(--black); padding: 20px 15px 26px; text-align: center; }
.footer-bottom p { margin: 0; font-size: 12px; color: rgba(255,255,255,.38); }

@media (max-width: 991px) {
  .footer-col { margin-bottom: 30px; }
  .steps { grid-template-columns: 1fr; }
  .sidebar-nav ul { columns: 1; }
}
@media (max-width: 768px) {
  #footer { overflow: hidden; }
  .footer-col { text-align: center; }
  #footer .footer-address { text-align: center; margin: 0 auto; }
  #footer .footer-contact-lines { align-items: center; }
  #footer .footer-contact-line { justify-content: center; text-align: left; }
  #footer h4 { margin-top: 15px; }
  .col-5th { flex: 0 0 50%; max-width: 50%; margin-bottom: 8px; }
  .content { width: calc(100% - 32px); margin: 28px auto 72px; border-radius: 22px; padding: 28px 20px; }
  .page-header { text-align: left; padding: 110px 20px 40px; }
  .navbar-inner { width: calc(100% - 24px); }
}
@media (max-width: 480px) {
  .col-5th { flex: 0 0 100%; max-width: 100%; }
  .footer-main { padding: 36px 0 8px; }
  .navbar-brand img { height: 30px; }
  .navbar-back { font-size: 11px; }
}
