/* Rodapé comum e páginas legais, na identidade Car Academy. */
.site-footer { background: #151515; border-top: 1px solid #ffffff12; color: #b9b9bd; }
.site-footer a:focus-visible { outline-color: #ff6378; }
.site-footer-main { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 64px; align-items: center; padding-block: 70px; }
.site-footer-identity .brand { width: 176px; padding: 12px 16px; background: #fff; border-radius: 5px; }
.site-footer-identity p { margin: 20px 0 0; font-size: 14px; line-height: 1.7; color: #b9b9bd; }
.site-footer-nav { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.site-footer-nav a, .site-footer-current { display: flex; align-items: center; min-height: 44px; font-size: 14px; }
.site-footer-current { color: #fff; }
.site-footer a:hover { color: #fff; }
.site-footer-social { display: flex; gap: 12px; }
.site-footer-social a { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #ffffff13; border-radius: 10px; background: #202020; transition: background .2s; }
.site-footer-social a:hover { background: #333; }
.site-footer-social svg { width: 21px; height: 21px; }
.site-footer-bottom { border-top: 1px solid #ffffff12; }
.site-footer-bottom > .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; }
.site-footer-bottom p { margin: 0; color: #b9b9bd; font-size: 12px; }
.complaints-link { display: inline-flex; flex-shrink: 0; align-items: center; min-height: 44px; padding: 8px; background: #fff; }
.complaints-link img { width: 120px; height: auto; }
.credentials-section { background: #fff; padding-block: 40px; border-top: 1px solid var(--line); }
.credentials-section .certification { background: transparent; border: 0; }
.credentials-section .certification-inner { padding: 0 0 30px; }
.credentials-section .funding { display: block; margin: 0; padding: 26px 0 0; border-top: 1px solid var(--line); }
.credentials-section .funding-statement { color: #55595c; }
.funding-project { display: inline-flex; min-height: 44px; align-items: center; margin-top: 12px; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.legal-page { background: #101112; color: #f5f5f6; }
.legal-main { padding-block: 64px 80px; }
.legal-container { width: min(760px, calc(100% - 64px)); margin-inline: auto; }
.legal-heading { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid #ffffff20; }
.legal-heading .eyebrow { color: #ff6378; margin-bottom: 20px; }
.legal-heading h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.12; letter-spacing: -1.6px; margin-bottom: 18px; }
.legal-heading p { color: #aeb0b5; font-size: 13px; margin: 0; }
.legal-scope { padding: 22px 24px; border-left: 3px solid var(--red); background: #1b1c1e; margin-bottom: 32px; }
.legal-scope h2 { font-size: 16px; letter-spacing: 0; margin-bottom: 12px; }
.legal-scope p { font-size: 14px; color: #c1c3c7; margin-bottom: 12px; }
.legal-scope p:last-child { margin-bottom: 0; }
.legal-copy { font-size: 15px; line-height: 1.8; color: #c1c3c7; overflow-wrap: anywhere; }
.legal-copy p { font-size: inherit; line-height: inherit; color: inherit; margin: 0 0 20px; }
.legal-copy h2 { font-size: 21px; line-height: 1.4; letter-spacing: -.3px; color: #f5f5f6; margin: 38px 0 20px; padding-bottom: 14px; border-bottom: 1px solid #ffffff20; }
.legal-copy h3 { font-size: 16px; color: #f5f5f6; margin: 26px 0 12px; }
.legal-copy ul { padding-left: 22px; margin: 0 0 24px; }
.legal-copy li { padding-left: 4px; margin-bottom: 10px; }
.legal-copy li::marker { color: #ff6378; }
.legal-copy a, .legal-scope a { color: #ff8494; text-decoration: underline; text-underline-offset: 3px; }
.legal-copy a:hover, .legal-scope a:hover { color: #fff; }
.legal-back { border-top: 1px solid #ffffff20; margin-top: 40px; padding-top: 28px; }
.legal-back a { display: inline-flex; align-items: center; min-height: 44px; gap: 14px; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
.legal-page .header { color: var(--ink); }
@media (max-width: 1024px) {
  .site-footer-main { grid-template-columns: minmax(0, 1fr) auto; gap: 32px; padding-block: 48px; }
  .site-footer-social { grid-column: 1 / -1; display: flex; }
  .legal-main { padding-block: 44px 56px; }
}
@media (max-width: 580px) {
  .site-footer-main { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .site-footer-nav { align-items: flex-start; }
  .site-footer-social { grid-column: auto; }
  .site-footer-bottom > .container { align-items: flex-start; flex-direction: column; gap: 20px; }
  .legal-container { width: calc(100% - 40px); }
  .legal-heading h1 { font-size: clamp(30px, 9vw, 40px); letter-spacing: -1px; }
  .legal-copy { font-size: 14px; }
  .legal-copy h2 { font-size: 19px; }
  .legal-scope { padding: 18px; }
}

/* Marcas de certificação e financiamento nas páginas institucionais. */
.institution-mark { display: inline-block; max-width: 100%; padding: 24px; margin: 0 0 24px; background: #fff; }
.institution-mark img { width: auto; height: auto; max-width: 100%; filter: none; mix-blend-mode: normal; }
.certification-dgert img { height: 90px; width: auto; max-width: none; }
.certification-apa img { width: 220px; }
.certification-imt img { width: 320px; }
.project-funding-mark { display: block; }
.project-funding-mark img { width: 100%; }
.project-divider { border: 0; border-top: 1px solid #ffffff20; margin: 38px 0; }
.prr-funding-strip { display: block; width: 100%; height: auto; margin-bottom: 32px; }
.legal-copy .prr-investment { font-size: clamp(26px, 5vw, 34px); font-weight: 700; color: var(--ink); }

/* Barra oficial inteira: escala proporcional, sem cortes nem scroll horizontal. */
.funding-enlarge { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin: 4px 24px 0 0; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 580px) {
  .funding-enlarge { display: flex; width: fit-content; max-width: 100%; margin-right: 0; }
  .funding-project { margin-top: 0; }
}
