/* Lucas Redecker — layout responsivo
   Breakpoints: mobile <768 | tablet 768–1023 | desktop ≥1024 */

/* Effra Trial (títulos). Trocar pelos arquivos licenciados em produção. */
@font-face {
  font-family: 'Effra';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/Effra_Trial_Lt.ttf') format('truetype');
}
@font-face {
  font-family: 'Effra';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Effra_Trial_Rg.ttf') format('truetype');
}
@font-face {
  font-family: 'Effra';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Effra_Trial_Md.ttf') format('truetype');
}
@font-face {
  font-family: 'Effra';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Effra_Trial_SBd.ttf') format('truetype');
}
@font-face {
  font-family: 'Effra';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Effra_Trial_Bd.ttf') format('truetype');
}
@font-face {
  font-family: 'Effra';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/Effra_Trial_XBd.ttf') format('truetype');
}

:root {
  /* Manual de identidade 2026 */
  --lr-navy: #003281;
  --lr-blue: #003281;
  --lr-yellow: #FFCB20;
  --lr-cream: #F3F3F3;
  --lr-gray: #D9E5F7;
  --lr-green: #008F65;
  --lr-red: #EA1D36;
  --lr-whatsapp: #12A150;
  --lr-body: #3C4757;
  --lr-muted: #6B7688;
  --lr-border: #E4E7EC;

  /* Manual de identidade 2026, em mescla:
     estrutura em branco/F3F3F3 alternando com azul; amarelo só como destaque
     (grifos, números, botões); verde e vermelho como acento pontual.
     Títulos e ênfase em azul; corpo de texto em cinza neutro. */
  --lr-ink: #003281;
  --lr-ink-70: #454545;
  --lr-ink-50: #6E6E6E;
  --lr-rule: #DEDEDE;
  --lr-rule-soft: #EAEAEA;
  --lr-font-display: 'Effra', 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --lr-font-body: 'Roboto', 'Segoe UI', system-ui, sans-serif;
  --lr-pad-x: 20px;
  --lr-max: 1240px;
  --lr-max-hero: 1320px;
}

@media (min-width: 768px) {
  :root { --lr-pad-x: 32px; }
}

@media (min-width: 1024px) {
  :root { --lr-pad-x: 56px; }
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--lr-font-body);
  color: var(--lr-navy);
  background: #FFFFFF;
  text-wrap: pretty;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; }

a { color: var(--lr-blue); text-decoration: none; }
a:hover { color: var(--lr-yellow); }

.lr-page { font-family: var(--lr-font-body); color: var(--lr-navy); background: #FFFFFF; }

h1, h2, h3, .lr-h2, .lr-display-name, .lr-display-brand, .lr-display-number,
.lr-stats__value {
  font-family: var(--lr-font-display);
}

.lr-container {
  width: 100%;
  max-width: var(--lr-max);
  margin: 0 auto;
  padding-left: var(--lr-pad-x);
  padding-right: var(--lr-pad-x);
  box-sizing: border-box;
}

.lr-section {
  padding-top: 48px;
  padding-bottom: 48px;
  position: relative;
}

.lr-section--flush-x {
  /* quando o container interno já tem pad */
  padding-left: 0;
  padding-right: 0;
}

@media (min-width: 1024px) {
  .lr-section {
    padding-top: 96px;
    padding-bottom: 96px;
  }
}

/* Tipografia fluida — substitui 82px / 150px / 38px fixos */
.lr-display-name {
  font-size: clamp(40px, 10vw, 82px);
  font-weight: 300;
  line-height: 0.9;
  color: var(--lr-yellow);
}

.lr-display-brand {
  display: block;
  font-size: clamp(36px, 9vw, 104px);
  font-weight: 800;
  color: #FFFFFF;
  margin-top: 2px;
  letter-spacing: -0.03em;
  /* nowrap só no desktop — ver .lr-hero */
}

.lr-display-number {
  font-size: clamp(64px, 18vw, 150px);
  font-weight: 800;
  color: var(--lr-yellow);
  line-height: 0.8;
  letter-spacing: -0.03em;
}

.lr-hero {
  position: relative;
  background: var(--lr-navy);
  overflow: hidden;
  padding: 0;
}

.lr-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url(../photos/optimized/hero-bg.webp);
  background-size: cover;
  background-position: right 25%;
}

.lr-hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,50,129,0.94) 0%, rgba(0,50,129,0.82) 50%, rgba(0,50,129,0.35) 100%);
}

.lr-hero__pattern {
  position: absolute;
  inset: 0;
  background-image: url(../patterns/diagonal-pattern.png);
  background-size: cover;
  opacity: 0.18;
}

.lr-hero__grid {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--lr-max-hero);
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: end;
  box-sizing: border-box;
}

.lr-hero__copy {
  padding: 72px 0 24px;
  min-width: 0;
}

.lr-hero__title {
  margin: 0;
  line-height: 0;
}

.lr-hero__logo {
  display: block;
  width: min(100%, 420px);
  height: auto;
  max-width: 100%;
}

.lr-hero__tagline {
  margin: 18px 0 0;
  font-size: clamp(18px, 4vw, 25px);
  line-height: 1.35;
  font-weight: 300;
  color: #FFFFFF;
  width: min(100%, 420px);
  text-align: left;
}

.lr-hero__media {
  display: flex;
  justify-content: center;
  pointer-events: none;
  max-height: min(92vh, 860px);
  margin-inline: -4%;
}

.lr-hero__media picture {
  display: flex;
  justify-content: center;
  width: 100%;
}

.lr-hero__img {
  width: 112%;
  max-width: none;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  display: block;
}

@media (min-width: 768px) {
  .lr-hero__media {
    max-height: min(84vh, 860px);
    margin-inline: 0;
  }
  .lr-hero__img {
    width: 100%;
    max-width: min(100%, 820px);
  }
}

@media (min-width: 1024px) {
  .lr-hero__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
    gap: 12px;
    align-items: end;
    justify-content: center;
  }

  .lr-hero__copy {
    padding: 80px 0 56px;
    transform: translateY(-120px);
  }

  .lr-hero__logo {
    width: min(100%, 560px);
  }

  .lr-hero__tagline {
    width: min(100%, 560px);
  }

  .lr-hero__media {
    max-height: none;
    justify-content: flex-end;
    margin-right: calc(var(--lr-pad-x) * -0.8);
    transform: translateX(6%);
  }

  .lr-hero__img {
    max-width: none;
    width: 118%;
    max-height: min(92vh, 980px);
    object-fit: contain;
    object-position: bottom right;
  }

  .lr-hero__gradient {
    background: linear-gradient(180deg, rgba(0,50,129,0.92) 0%, rgba(0,50,129,0.78) 45%, rgba(0,50,129,0.25) 100%);
  }
}

.lr-stats {
  background: var(--lr-navy);
  border-top: 4px solid var(--lr-yellow);
}

.lr-stats__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.lr-stats__item {
  padding: 24px 16px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.lr-stats__item:nth-child(2n) { border-right: none; }
.lr-stats__item:nth-child(n+3) { border-bottom: none; }

.lr-stats__item--highlight {
  background: rgba(255, 203, 32, 0.1);
}
.lr-stats__item--highlight .lr-stats__label {
  color: var(--lr-yellow);
  font-weight: 700;
}

.lr-stats__value {
  font-size: clamp(26px, 6vw, 40px);
  font-weight: 800;
  color: var(--lr-yellow);
  letter-spacing: -0.02em;
  line-height: 1;
}

.lr-stats__label {
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 8px;
  letter-spacing: 0.02em;
}

@media (min-width: 1024px) {
  .lr-stats__grid { grid-template-columns: repeat(4, 1fr); }
  .lr-stats__item {
    padding: 34px 28px;
    border-bottom: none;
  }
  .lr-stats__item:nth-child(2n) { border-right: 1px solid rgba(255, 255, 255, 0.16); }
  .lr-stats__item:last-child { border-right: none; }
}

.lr-h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 20px;
  color: var(--lr-navy);
}

.lr-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: var(--lr-navy);
  padding: 7px 14px;
  font-weight: 700;
  margin-bottom: 18px;
}

.lr-sobre__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: end;
}

.lr-sobre__photo {
  overflow: visible;
  background: transparent;
  margin: 0 auto -20px;
  justify-self: center;
  width: min(100%, 420px);
}

.lr-sobre__photo picture {
  display: block;
  width: 100%;
}

.lr-sobre__photo img {
  display: block;
  width: 108%;
  max-width: none;
  height: auto;
  margin-left: -4%;
  object-fit: contain;
  object-position: center bottom;
  background: transparent;
}

.lr-sobre__chips {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

.lr-sobre__quote {
  margin: 0;
  background: var(--lr-navy);
  padding: 24px 20px;
}

.lr-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.lr-watermark {
  position: absolute;
  font-size: clamp(96px, 28vw, 230px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.8;
  pointer-events: none;
  user-select: none;
}

.lr-sobre__watermark {
  left: 8px;
  top: -10px;
  color: rgba(0, 50, 129, 0.07);
}

.lr-ranking__watermark {
  right: 24px;
  bottom: -30px;
  color: rgba(0, 50, 129, 0.08);
}

.lr-frentes__watermark {
  left: 20px;
  top: -24px;
  color: rgba(255, 203, 32, 0.11);
}

.lr-ranking__cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 0;
}

@media (min-width: 768px) {
  .lr-sobre__chips { grid-template-columns: 1fr 1fr; }
  .lr-sobre__quote { padding: 36px 40px; }
}

@media (min-width: 1024px) {
  .lr-two-col {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .lr-two-col--wide-gap { gap: 64px; }

  .lr-ranking__cards { padding-top: 52px; }

  .lr-sobre__grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: end;
  }

  .lr-sobre__photo {
    width: 100%;
    max-width: 480px;
    margin: 0 0 -28px;
    justify-self: start;
  }

  .lr-sobre__photo img {
    width: 112%;
    margin-left: -4%;
  }
}

.lr-cta-wa {
  background: var(--lr-whatsapp);
  padding: 32px 0;
}

.lr-cta-wa__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
  justify-items: start;
}

.lr-cta-wa__btn {
  background: var(--lr-navy);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  padding: 17px 30px;
  display: inline-block;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  cursor: pointer;
  text-decoration: none;
}

.lr-cta-wa__btn:hover {
  background: var(--lr-blue);
  color: #FFFFFF;
}

@media (min-width: 768px) {
  .lr-cta-wa__btn { width: auto; }
}

@media (min-width: 1024px) {
  .lr-cta-wa__grid {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 28px;
  }
  .lr-cta-wa__btn { white-space: nowrap; }
}

.lr-avatar-cta {
  background: linear-gradient(165deg, #003281 0%, #001f54 55%, #00153a 100%);
  position: relative;
  overflow: hidden;
}

.lr-avatar-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(255, 203, 32, 0.16), transparent 55%),
    radial-gradient(ellipse 45% 40% at 0% 100%, rgba(0, 143, 101, 0.12), transparent 50%);
  pointer-events: none;
}

.lr-avatar-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #008F65 0 33.33%, #FFCB20 33.33% 66.66%, #EA1D36 66.66%);
  pointer-events: none;
}

.lr-avatar-cta__grid {
  position: relative;
  display: grid;
  gap: 36px;
  align-items: center;
}

.lr-avatar-cta__eyebrow {
  background: var(--lr-yellow);
  color: var(--lr-navy);
  margin-bottom: 16px;
}

.lr-avatar-cta__lead {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 251, 237, 0.8);
  margin: 0 0 24px;
  max-width: 480px;
}

.lr-avatar-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  background: var(--lr-yellow);
  color: var(--lr-navy);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  border-radius: 0;
  box-shadow: 0 12px 28px rgba(255, 203, 32, 0.22);
  transition:
    filter 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.lr-avatar-cta__btn:hover {
  filter: brightness(1.05);
  color: var(--lr-navy);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(255, 203, 32, 0.3);
}

.lr-avatar-cta__previews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.lr-avatar-cta__previews img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 36px rgba(0, 10, 40, 0.35);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.lr-avatar-cta__previews img:hover {
  transform: translateY(-4px);
}

@media (min-width: 768px) {
  .lr-avatar-cta__btn { width: auto; }
  .lr-avatar-cta__previews { gap: 16px; }
}

@media (min-width: 1024px) {
  .lr-avatar-cta__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 48px;
  }
}

.lr-balanco__years {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(140px, 1fr);
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.lr-balanco__years > button {
  scroll-snap-align: center;
  min-width: 140px;
}

.lr-balanco__years {
  border-bottom: 1px solid var(--lr-rule-soft);
  margin-bottom: 40px;
}

.lr-balanco__panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.lr-recursos__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 44px;
}

.lr-recursos__value,
.lr-bar__value {
  overflow-wrap: anywhere;
}

.lr-recursos__bars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lr-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.lr-bar__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.lr-bar__label,
.lr-bar__value {
  font-size: 15px;
  font-weight: 700;
}

.lr-bar__label {
  color: #FFFFFF;
}

.lr-bar__value {
  color: var(--lr-yellow);
  text-align: right;
}

.lr-bar__track,
.lr-bar__fill {
  height: 10px;
}

.lr-bar__track {
  background: rgba(255, 255, 255, 0.1);
}

.lr-bar__fill {
  background: var(--lr-yellow);
}

.lr-news {
  padding: 0;
  background: #FFFFFF;
}

.lr-news__card {
  background: var(--lr-yellow);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: none;
}

.lr-news__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.lr-news__form input {
  width: 100%;
  box-sizing: border-box;
  padding: 15px 20px;
  border: 1.5px solid rgba(0, 50, 129, 0.25);
  background: #FFFFFF;
  color: var(--lr-navy);
  font-family: var(--lr-font-body);
  font-size: 16px;
}

.lr-news__form button {
  background: var(--lr-navy);
  color: #FFFFFF;
  border: none;
  padding: 15px 26px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--lr-font-body);
  cursor: pointer;
  width: 100%;
}

@media (min-width: 768px) {
  .lr-news__card {
    padding: 44px 48px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    transform: translateY(-48px);
  }

  .lr-news__form {
    flex-direction: row;
    width: auto;
  }

  .lr-news__form input { width: 260px; }
  .lr-news__form button { width: auto; }
}

@media (min-width: 768px) {
  .lr-recursos__cards {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .lr-balanco__years {
    grid-auto-flow: unset;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-columns: unset;
    overflow: visible;
  }

  .lr-balanco__panels {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

.lr-footer {
  background: var(--lr-navy);
  color: var(--lr-cream);
  padding: 48px 0 28px;
  position: relative;
  overflow: hidden;
}

.lr-footer__inner {
  position: relative;
}

.lr-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.lr-footer__logo {
  display: block;
  max-width: 260px;
  width: 100%;
  margin-bottom: 20px;
}

.lr-footer__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.lr-footer__tagline {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255, 251, 237, 0.7);
  max-width: 300px;
  margin: 0;
}

.lr-footer__heading {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0 0 18px;
  font-weight: 700;
}

.lr-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.lr-footer__link {
  color: rgba(255, 251, 237, 0.72);
  font-size: 14px;
}

.lr-footer__social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.lr-footer__social-link {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.lr-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 251, 237, 0.5);
}

.lr-footer__watermark {
  right: 24px;
  bottom: -18px;
  color: rgba(255, 255, 255, 0.085);
}

@media (min-width: 768px) {
  .lr-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .lr-footer__bottom {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .lr-footer {
    padding: 72px 0 32px;
  }

  .lr-footer__grid {
    grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
    gap: 44px;
  }
}

@keyframes runTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Modal WhatsApp — bottom sheet mobile, card tablet+ */
.lr-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 50, 129, 0.72);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.lr-modal {
  position: relative;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #FFFFFF;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 24px 80px rgba(0, 50, 129, 0.35);
  padding-bottom: env(safe-area-inset-bottom);
}

.lr-modal__pad {
  padding: 24px 20px;
}

.lr-modal__pad--head {
  padding-bottom: 8px;
}

.lr-modal__pad--body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lr-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: none;
  background: rgba(0, 50, 129, 0.06);
  color: var(--lr-navy);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.lr-modal__input {
  min-height: 52px;
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid var(--lr-border);
  border-radius: 4px;
  padding: 0 16px;
  font-size: 16px;
  font-family: var(--lr-font-body);
  color: var(--lr-navy);
}

.lr-modal__suggestions {
  border: 1px solid var(--lr-border);
  border-radius: 4px;
  overflow: hidden;
  max-height: min(240px, 40vh);
  overflow-y: auto;
}

@media (min-width: 768px) {
  .lr-modal-backdrop {
    align-items: center;
    padding: 20px;
  }

  .lr-modal {
    max-width: 480px;
    border-radius: 4px;
  }

  .lr-modal__pad {
    padding: 32px;
  }

  .lr-modal__pad--head {
    padding-bottom: 8px;
  }

  .lr-modal__close {
    top: 16px;
    right: 16px;
  }
}

/* ==========================================================================
   Camada de componentes — substitui os style="" inline do HTML.
   Fundos de seção, tipografia de conteúdo, cards, listas e blocos temáticos.
   ========================================================================== */

/* --- Fundos de seção (ritmo claro > amarelo > cinza > azul) --------------- */
.lr-bg-white  { background: #FFFFFF; }
.lr-bg-gray   { background: var(--lr-gray); }
.lr-bg-yellow { background: var(--lr-yellow); }
.lr-bg-navy   { background: var(--lr-navy); }

.lr-bg-navy .lr-h2,
.lr-bg-navy .lr-card__title { color: #FFFFFF; }

/* Em fundo azul a tarja azul some: vira amarela — mas os modificadores mandam. */
.lr-bg-navy .lr-eyebrow { background: var(--lr-yellow); color: var(--lr-navy); }
.lr-bg-navy .lr-eyebrow--green { background: var(--lr-green); color: #FFFFFF; }
.lr-bg-navy .lr-eyebrow--red   { background: var(--lr-red); color: #FFFFFF; }
.lr-bg-navy .lr-areas__title { color: #FFFFFF; }

/* --- Cabeçalho de seção --------------------------------------------------- */
.lr-head { max-width: 700px; margin-bottom: 40px; }
.lr-head--wide { max-width: 860px; }
.lr-head--center { margin-left: auto; margin-right: auto; text-align: center; }

@media (min-width: 1024px) {
  .lr-head { margin-bottom: 56px; }
}

.lr-eyebrow--green { background: var(--lr-green); color: #FFFFFF; }
.lr-eyebrow--red   { background: var(--lr-red); color: #FFFFFF; }
.lr-eyebrow--dark  { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; }
.lr-eyebrow--soft  { background: var(--lr-gray); color: var(--lr-ink); }

/* --- Tipografia de conteúdo ---------------------------------------------- */
.lr-lead {
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.6;
  color: var(--lr-ink-70);
  margin: 0 0 20px;
  font-weight: 400;
}

.lr-p {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--lr-ink-70);
  margin: 0 0 16px;
}

.lr-p:last-child { margin-bottom: 0; }
.lr-p--small { font-size: 15px; line-height: 1.7; }
.lr-p--note { font-size: 13px; color: var(--lr-ink-50); }

.lr-bg-navy .lr-lead,
.lr-bg-navy .lr-p { color: rgba(255, 255, 255, 0.82); }

.lr-hl { color: var(--lr-ink); font-weight: 700; }
.lr-bg-navy .lr-hl { color: var(--lr-yellow); }

/* Marca-texto amarelo — o destaque da marca sem virar bloco inteiro */
.lr-mark {
  background: linear-gradient(180deg, transparent 58%, var(--lr-yellow) 58%);
  padding: 0 2px;
}

/* --- Cards --------------------------------------------------------------- */
.lr-card {
  background: #FFFFFF;
  border: 1px solid var(--lr-rule-soft);
  padding: 30px 28px;
  box-sizing: border-box;
}

.lr-card--rule    { border-top: 5px solid var(--lr-yellow); }
.lr-card--green   { border-top: 5px solid var(--lr-green); }
.lr-card--red     { border-top: 5px solid var(--lr-red); }
.lr-card--plain   { border: none; background: var(--lr-gray); }
.lr-card--onDark  {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.lr-card__title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 10px;
  color: var(--lr-ink);
}

.lr-card__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--lr-ink-70);
  margin: 0 0 12px;
}

.lr-card__text:last-child { margin-bottom: 0; }

.lr-card--onDark .lr-card__title { color: #FFFFFF; }
.lr-card--onDark .lr-card__text { color: rgba(255, 255, 255, 0.78); }

@media (min-width: 1024px) {
  .lr-card { padding: 34px 32px; }
}

/* --- Grades genéricas ---------------------------------------------------- */
.lr-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }

@media (min-width: 768px) {
  .lr-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .lr-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .lr-grid { gap: 20px; }
}

@media (min-width: 1024px) {
  .lr-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .lr-grid { gap: 24px; }
}

/* --- Os três pilares ------------------------------------------------------ */
.lr-pillar {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid var(--lr-rule-soft);
  border-top: 6px solid var(--lr-yellow);
  padding: 30px 26px 28px;
}

.lr-pillar--familia  { border-top-color: var(--lr-green); }
.lr-pillar--trabalho { border-top-color: var(--lr-yellow); }
.lr-pillar--vida     { border-top-color: var(--lr-red); }

.lr-pillar__num {
  font-family: var(--lr-font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--lr-ink-50);
  margin-bottom: 14px;
}

.lr-pillar__title {
  font-family: var(--lr-font-display);
  font-size: clamp(24px, 3.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--lr-ink);
  margin: 0 0 12px;
}

.lr-pillar__text {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--lr-ink-70);
  margin: 0 0 20px;
}

.lr-pillar__list {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  border-top: 1px solid var(--lr-rule-soft);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lr-pillar__list li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--lr-ink-70);
}

.lr-pillar__list li::before {
  content: '';
  flex: 0 0 auto;
  width: 4px;
  height: 16px;
  margin-top: 3px;
  background: var(--lr-yellow);
}

.lr-pillar--familia .lr-pillar__list li::before { background: var(--lr-green); }
.lr-pillar--vida .lr-pillar__list li::before { background: var(--lr-red); }

/* --- Linha do tempo da trajetória ---------------------------------------- */
.lr-tl {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lr-tl__item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 0;
  align-items: start;
}

.lr-tl__year {
  font-family: var(--lr-font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--lr-ink);
  padding-top: 1px;
  line-height: 1.5;
}

.lr-tl__body {
  position: relative;
  border-left: 2px solid var(--lr-rule);
  padding: 0 0 24px 22px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--lr-ink-70);
}

.lr-tl__item:last-child .lr-tl__body { border-left-color: transparent; padding-bottom: 0; }

.lr-tl__body::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lr-yellow);
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 0 1px var(--lr-rule);
}

.lr-tl__body strong { color: var(--lr-ink); font-weight: 700; }

.lr-bg-navy .lr-tl__year { color: #FFFFFF; }
.lr-bg-navy .lr-tl__body {
  border-left-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.78);
}
.lr-bg-navy .lr-tl__body::before { border-color: var(--lr-navy); box-shadow: none; }
.lr-bg-navy .lr-tl__body strong { color: #FFFFFF; }

/* --- A carta -------------------------------------------------------------- */
.lr-letter__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.lr-letter__photo {
  width: 100%;
  background: var(--lr-gray);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.lr-letter__body { border-left: 6px solid var(--lr-yellow); padding-left: 26px; }

.lr-letter__pull {
  font-family: var(--lr-font-display);
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--lr-ink);
  margin: 0 0 24px;
}

.lr-letter__text {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--lr-ink-70);
  margin: 0 0 16px;
}

.lr-letter__sign {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--lr-rule);
}

.lr-letter__sign strong {
  display: block;
  font-family: var(--lr-font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--lr-ink);
}

.lr-letter__sign span {
  font-size: 14px;
  color: var(--lr-ink-50);
}

@media (min-width: 1024px) {
  .lr-letter__grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 56px;
  }
  .lr-letter__body { padding-left: 34px; }
}

/* --- Lista de conquistas (AME, enchentes) -------------------------------- */
.lr-checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lr-checks li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.lr-checks li::before {
  content: '\2713';
  width: 22px;
  height: 22px;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lr-green);
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.lr-checks--light li { color: var(--lr-ink-70); }

/* Bloco "próximo desafio" — o único uso do vermelho em área grande */
.lr-next {
  background: var(--lr-red);
  padding: 30px 28px;
  color: #FFFFFF;
}

.lr-next__kicker {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.85);
}

.lr-next__title {
  font-family: var(--lr-font-display);
  font-size: clamp(21px, 2.8vw, 26px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 12px;
  color: #FFFFFF;
}

.lr-next__text {
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

/* --- Citação destacada ---------------------------------------------------- */
.lr-quote {
  margin: 0;
  border-left: 6px solid var(--lr-yellow);
  padding: 4px 0 4px 24px;
}

.lr-quote p {
  font-family: var(--lr-font-display);
  font-size: clamp(19px, 2.6vw, 25px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--lr-ink);
  margin: 0 0 12px;
}

.lr-quote footer {
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lr-ink-50);
  font-weight: 600;
}

.lr-bg-navy .lr-quote p { color: #FFFFFF; }
.lr-bg-navy .lr-quote footer { color: var(--lr-yellow); }

/* --- Ranking -------------------------------------------------------------- */
.lr-rank__scores {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--lr-rule-soft);
  border: 1px solid var(--lr-rule-soft);
  margin-bottom: 32px;
}

.lr-rank__score {
  background: #FFFFFF;
  padding: 24px 20px;
}

.lr-rank__score b {
  display: block;
  font-family: var(--lr-font-display);
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--lr-ink);
}

.lr-rank__score span {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: var(--lr-ink-50);
  margin-top: 8px;
}

.lr-method { display: flex; flex-direction: column; gap: 16px; }

.lr-method__row { display: grid; grid-template-columns: 1fr; gap: 6px; }

.lr-method__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.lr-method__name { font-size: 14.5px; font-weight: 700; color: var(--lr-ink); }
.lr-method__pct  { font-size: 14.5px; font-weight: 800; color: var(--lr-ink); }
.lr-method__desc { font-size: 13.5px; line-height: 1.55; color: var(--lr-ink-50); }

.lr-method__track { height: 8px; background: rgba(16, 16, 16, 0.08); }
.lr-method__fill  { height: 8px; background: var(--lr-yellow); }

.lr-years { display: flex; flex-wrap: wrap; gap: 8px; }

.lr-year-chip {
  background: var(--lr-ink);
  color: var(--lr-yellow);
  font-family: var(--lr-font-display);
  font-weight: 800;
  font-size: 15px;
  padding: 9px 16px;
}

@media (min-width: 768px) {
  .lr-rank__scores { grid-template-columns: repeat(4, 1fr); }
  .lr-rank__score { padding: 28px 24px; }
}

/* --- Recursos (agora em fundo amarelo) ----------------------------------- */
/* Bloco do total: único ponto amarelo chapado da seção, com tipo em azul. */
.lr-total {
  background: var(--lr-yellow);
  color: var(--lr-navy);
  padding: 32px 28px;
}

.lr-total__kicker {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(0, 50, 129, 0.7);
  margin: 0 0 12px;
}

.lr-total__value {
  font-family: var(--lr-font-display);
  font-size: clamp(30px, 5.6vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  overflow-wrap: anywhere;
  margin: 0;
}

.lr-subtotal {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 26px 24px;
}

.lr-subtotal__kicker {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--lr-yellow);
  margin: 0 0 10px;
}

.lr-subtotal__value {
  font-family: var(--lr-font-display);
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #FFFFFF;
  overflow-wrap: anywhere;
  margin: 0;
}

.lr-bar__fill--green { background: var(--lr-green) !important; }

.lr-areas__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 30px;
  margin-bottom: 26px;
}

.lr-areas__title {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.lr-bg-navy .lr-p--note { color: rgba(255, 255, 255, 0.55); }

.lr-recursos__cards--lead { margin-bottom: 8px; }

.lr-recursos__note { margin-top: 26px; }

@media (min-width: 768px) {
  .lr-recursos__cards--lead .lr-total { max-width: 420px; }
}

/* --- Balanço ano a ano ---------------------------------------------------- */
.lr-year-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--lr-font-body);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.lr-year-btn__dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--lr-rule);
  box-sizing: border-box;
}

.lr-year-btn__dot--on {
  background: var(--lr-yellow);
  border: 4px solid var(--lr-ink);
}

.lr-year-btn__label {
  font-family: var(--lr-font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--lr-ink);
  letter-spacing: -0.01em;
}

.lr-year-btn__sub {
  font-size: 12.5px;
  color: var(--lr-ink-50);
  margin-top: -8px;
}

.lr-panel { border: 1px solid var(--lr-rule-soft); padding: 32px 28px; }
.lr-panel--soft { border: none; background: var(--lr-gray); }

.lr-panel__title {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lr-ink);
  margin: 0 0 22px;
  font-weight: 700;
}

.lr-items { display: flex; flex-direction: column; gap: 18px; }

.lr-item__title {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 5px;
  color: var(--lr-ink);
}

.lr-item__text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--lr-ink-70);
  margin: 0;
}

.lr-panel--onDark { border-color: rgba(255, 255, 255, 0.14); }
.lr-panel--onDark .lr-panel__title { color: var(--lr-yellow); }
.lr-panel--onDark .lr-item__title { color: #FFFFFF; }
.lr-panel--onDark .lr-item__text { color: rgba(255, 255, 255, 0.78); }

@media (min-width: 1024px) {
  .lr-panel { padding: 36px 34px; }
}

/* --- Bloco de estatísticas em fundo escuro (CREDN) ----------------------- */
.lr-credn {
  background: var(--lr-navy);
  padding: 34px 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.lr-panel-figure {
  background: #FFFFFF;
  border-top: 5px solid var(--lr-yellow);
  padding: 24px 26px;
  margin-top: 20px;
}

.lr-panel-figure b {
  display: block;
  font-family: var(--lr-font-display);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  color: var(--lr-ink);
}

.lr-panel-figure span {
  display: block;
  font-size: 14px;
  line-height: 1.55;
  color: var(--lr-ink-70);
  margin-top: 8px;
}

.lr-credn__kicker {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--lr-yellow);
  margin: 0 0 12px;
}

.lr-credn__title {
  font-size: 23px;
  font-weight: 800;
  line-height: 1.2;
  color: #FFFFFF;
  margin: 0 0 14px;
}

.lr-credn__text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

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

.lr-credn__stat { border-left: 3px solid var(--lr-yellow); padding-left: 14px; }

.lr-credn__stat b {
  display: block;
  font-family: var(--lr-font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--lr-yellow);
  line-height: 1;
}

.lr-credn__stat span {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 6px;
}

@media (min-width: 1024px) {
  .lr-credn { grid-template-columns: 1fr 1.15fr; gap: 40px; padding: 38px 36px; }
}

/* --- Frentes parlamentares ------------------------------------------------ */
.lr-front {
  background: #FFFFFF;
  border: 1px solid var(--lr-rule-soft);
  border-left: 6px solid var(--lr-yellow);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}

.lr-front--green { border-left-color: var(--lr-green); }
.lr-front--red   { border-left-color: var(--lr-red); }

.lr-front__kicker {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--lr-ink-50);
  margin: 0 0 10px;
}

.lr-front__title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.22;
  color: var(--lr-ink);
  margin: 0 0 12px;
}

.lr-front__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--lr-ink-70);
  margin: 0 0 18px;
}

.lr-front__facts {
  list-style: none;
  padding: 16px 0 0;
  margin: 0;
  border-top: 1px solid var(--lr-rule-soft);
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--lr-ink-70);
}

.lr-front__facts li { display: flex; gap: 10px; }
.lr-front__facts li::before { content: '—'; color: var(--lr-ink-50); flex: 0 0 auto; }

/* --- Módulo da moldura de foto ------------------------------------------- */
/* As molduras da campanha são quadradas (tarja embaixo): recorte redondo
   comeria os cantos da tarja e prometeria um formato que não existe. */
.lr-avatar-cta__previews {
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
}

.lr-avatar-cta__previews img {
  border-radius: 4px;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.06);
}

/* --- Faixa de CTA do WhatsApp -------------------------------------------- */
.lr-cta-wa__copy { min-width: 0; }

.lr-cta-wa__title {
  font-family: var(--lr-font-display);
  font-size: clamp(19px, 3vw, 23px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: #FFFFFF;
  text-wrap: pretty;
  margin: 0 0 6px;
}

.lr-cta-wa__text {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

/* Em fundo escuro o grifo amarelo derruba o contraste: vira só cor. */
.lr-bg-navy .lr-mark,
.lr-avatar-cta .lr-mark {
  background: none;
  padding: 0;
  color: var(--lr-yellow);
}

.lr-avatar-cta__title { color: #FFFFFF; margin: 0 0 12px; }

.lr-avatar-cta__steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.lr-avatar-cta__steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
}

.lr-avatar-cta__steps li::before {
  counter-increment: step;
  content: counter(step);
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lr-yellow);
  color: var(--lr-navy);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Rodapé: redes e informações legais ---------------------------------- */
.lr-footer__social {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lr-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  transition: border-color 0.18s ease, color 0.18s ease;
}

.lr-footer__social-link svg { display: block; }

.lr-footer__social-link:hover { border-color: var(--lr-yellow); color: var(--lr-yellow); }

.lr-footer__legal {
  flex: 1 0 100%;
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.42);
  max-width: 760px;
  margin: 0;
}

/* Identificação eleitoral: é exigência legal, então não pode virar letra miúda. */
.lr-footer__legal--cnpj {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

/* --- Marca d'água: só uma por página, bem discreta ------------------------ */
.lr-watermark { color: rgba(16, 16, 16, 0.05); }
.lr-sobre__watermark { color: rgba(16, 16, 16, 0.05); }
.lr-footer__watermark { color: rgba(255, 255, 255, 0.06); }

/* --- Entrada dos blocos ao rolar ----------------------------------------- */
/* .js-reveal e .lr-reveal só são aplicadas por assets/js/reveal.js. Sem JS,
   nada fica escondido.

   Esta primeira regra evita o piscar entre o React montar o bloco e o script
   ligá-lo. Ela precisa vir antes das demais: todas têm a mesma especificidade,
   então quem estiver por último é que vence. */
.js-reveal [data-reveal] { opacity: 0; }

.lr-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.lr-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Em grade, quem entra em cascata são os filhos, não o container. */
.lr-reveal[data-reveal="stagger"] {
  opacity: 1;
  transform: none;
}

.lr-reveal[data-reveal="stagger"] > * {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i, 0) * 60ms);
}

.lr-reveal[data-reveal="stagger"].is-in > * {
  opacity: 1;
  transform: none;
}

/* Barras: crescem da esquerda, preservando a largura inline de cada uma. */
.lr-reveal .lr-method__fill,
.lr-reveal .lr-bar__fill {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.lr-reveal.is-in .lr-method__fill,
.lr-reveal.is-in .lr-bar__fill { transform: scaleX(1); }

/* --- Entrada do topo ----------------------------------------------------- */
@keyframes lrHeroIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.lr-hero__logo {
  animation: lrHeroIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.lr-hero__img {
  animation: lrHeroIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

/* --- Micro-interações ---------------------------------------------------- */
.lr-card {
  transition:
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.lr-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 50, 129, 0.1);
}

.lr-card--onDark:hover {
  box-shadow: 0 18px 40px rgba(0, 10, 40, 0.35);
}

.lr-year-chip {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.lr-year-chip:hover { transform: translateY(-2px); }

/* Acessibilidade: reduzir movimento se o usuário pedir */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }

  .lr-reveal,
  .lr-reveal[data-reveal="stagger"] > * {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .lr-reveal .lr-method__fill,
  .lr-reveal .lr-bar__fill { transform: scaleX(1); transition: none; }
}
