:root {
  --re-navy: #062b5b;
  --re-green: #00c389;
  --re-ink: #142e47;
  --re-muted: #465c70;
  --re-surface: #f3f7fa;
  --re-line: #d6e1e9;
  --re-mint: #e1f6ef;
}
.re-wrap, .re-header-inner {
  width: min(100% - 2.5rem, 76rem);
  margin-inline: auto;
}
.re-header, .re-footer {
  font-family: Montserrat, Arial, sans-serif;
  line-height: 1.5;
}
.re-header {
  position: relative;
  z-index: 5;
  background: #fff;
  border-bottom: 1px solid var(--re-line);
  color: var(--re-navy);
}
.re-header-inner { display: flex; align-items: center; min-height: 5rem; gap: clamp(.6rem, 1.4vw, 1.45rem); }
.re-brand { flex: 0 0 auto; }
.re-brand img, .re-footer img { display: block; width: clamp(8.6rem, 13vw, 12rem); height: auto; }
.re-nav { flex: 1; }
.re-nav ul { margin: 0; padding: 0; list-style: none; }
.re-nav > ul { display: flex; align-items: center; justify-content: center; gap: clamp(.35rem, .9vw, 1rem); }
.re-nav a, .re-nav button, .re-mobile-toggle, .re-account {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--re-navy);
  text-decoration: none;
  font: 700 clamp(.77rem, 1.08vw, .93rem)/1.3 Montserrat, Arial, sans-serif;
}
.re-nav a:hover, .re-nav button:hover, .re-nav a[aria-current] { text-decoration: underline; text-underline-offset: .25em; }
.re-nav button, .re-mobile-toggle { background: none; border: 0; padding: 0; gap: .35rem; cursor: pointer; }
.re-mobile-toggle { padding: .35rem .65rem; border: 1px solid var(--re-line); border-radius: .4rem; }
.re-account { border: 1px solid var(--re-line); flex: 0 0 auto; padding: .4rem .85rem; border-radius: .4rem; }
.re-account:hover, .re-mobile-toggle:hover { background: var(--re-mint); }
.re-service-menu { position: relative; }
.re-service-menu ul { background: #fff; }
.re-service-menu ul a { display: flex; padding-inline: .85rem; }
.re-interactive .re-service-menu ul {
  position: absolute; inset: 100% auto auto -.85rem; min-width: 12rem;
  border: 1px solid var(--re-line); border-radius: .5rem; box-shadow: 0 .5rem 2rem #062b5b1f;
}
.re-header [hidden], .re-page [hidden] { display: none !important; }
.re-header :focus-visible, .re-footer :focus-visible, .re-page :focus-visible {
  outline: 3px solid #087a5e; outline-offset: .18rem;
}
.re-footer { background: var(--re-navy); color: #f4f9fd; padding: 3.5rem 0; overflow-wrap: anywhere; }
.re-footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.1fr; gap: 1.5rem; }
.re-footer nav { display: grid; align-content: start; gap: .75rem; }
.re-footer a { color: #f4f9fd; text-decoration: underline; text-underline-offset: .2em; font-size: .9rem; }
.re-footer p, .re-footer small { max-width: 32ch; }
.re-footer :focus-visible, .re-call :focus-visible { outline-color: #8df9d9; }
.re-page { color: var(--re-ink); background: #fff; font: 400 1rem/1.7 Montserrat, Arial, sans-serif; }
.re-page main a:not([class]) { color: var(--re-navy); text-underline-offset: .22em; }
.re-page h1, .re-page h2, .re-page h3, .re-academy h1 {
  color: var(--re-navy); font-weight: 700; margin: 0 0 .65em; line-height: 1.13; letter-spacing: -.035em;
}
.re-page h1, .re-academy h1 { font-size: clamp(2rem, 5vw, 4.15rem); margin-bottom: .38em; text-wrap: balance; }
.re-page h2 { font-size: clamp(1.65rem, 3.2vw, 2.65rem); }
.re-page h3 { font-size: clamp(1.12rem, 2vw, 1.4rem); }
.re-hero { padding: clamp(3rem, 6vw, 6rem) 0; background: var(--re-surface); }
.re-inicio .re-hero { background: var(--re-navy); color: #fff; }
.re-inicio .re-hero h1 { color: #fff; font-size: clamp(2rem, 4.1vw, 3.5rem); text-wrap: initial; }
.re-hero .re-lead, .re-intro { max-width: 66ch; font-size: clamp(1rem, 1.6vw, 1.17rem); margin-bottom: 1.35rem; }
.re-inicio .re-hero .re-lead { color: #e1effa; }
.re-kicker { margin: 0 0 1.1rem; font-size: .85rem; text-transform: uppercase; font-weight: 700; letter-spacing: .105em; color: #0b6a54; }
.re-inicio .re-hero .re-kicker { color: #8df9d9; }
.re-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 1.35rem; }
.re-page .re-button, .re-academy .re-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.85rem;
  padding: .65rem 1.05rem; border: 1px solid transparent; border-radius: .47rem;
  color: var(--re-navy); background: var(--re-green); font-weight: 700; text-decoration: none;
}
.re-page .re-button:hover, .re-academy .re-button:hover { background: #91ead0; border-color: var(--re-navy); }
.re-page .re-outline, .re-academy .re-outline { border-color: currentColor; background: transparent; }
.re-inicio .re-hero .re-outline, .re-page .re-call .re-outline { color: #fff; }
.re-inicio .re-hero .re-outline:hover, .re-page .re-call .re-outline:hover { color: var(--re-navy); }
.re-note { max-width: 60ch; color: var(--re-muted); margin: 1.4rem 0 0; }
.re-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(1.35rem, 5vw, 5rem); }
.re-feature-image, .re-hero-art { display: block; width: 100%; height: auto; border-radius: .75rem; }
.re-section, .re-academy { padding: clamp(2.8rem, 6vw, 5.5rem) 0; scroll-margin-top: 1rem; }
.re-section + .re-section { border-top: 1px solid var(--re-line); }
.re-section-carteira, .re-section-como-funciona, .re-section-como-comecar, .re-section-materiais { background: var(--re-surface); }
.re-section-escola, .re-academy { background: var(--re-mint); }
.re-school-art { display: grid; place-items: center; padding: clamp(1rem, 5vw, 4rem); background: #fff url('/assets/escola/padrao.svg') center/22rem; border: 1px solid var(--re-line); border-radius: .75rem; }
.re-school-art img { display: block; width: 100%; max-width: 25rem; height: auto; }
.re-cards, .re-steps, .re-comparison { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(15rem,100%),1fr)); margin: 1.5rem 0; }
.re-card, .re-comparison article { padding: clamp(1rem, 3vw, 1.6rem); border: 1px solid var(--re-line); border-radius: .7rem; background: #fff; overflow-wrap: anywhere; }
.re-card p { margin: .65rem 0; }
.re-card-link { display: inline-block; color: var(--re-navy); font-weight: 700; margin-top: .7rem; text-underline-offset: .22em; }
.re-split-copy .re-cards { grid-template-columns: 1fr; }
.re-split-copy .re-card { padding: .55rem 0 .8rem; border: 0; border-bottom: 1px solid var(--re-line); border-radius: 0; background: transparent; }
.re-points { padding-left: 1.25rem; }
.re-points li { margin-bottom: .45rem; }
.re-steps { list-style: none; padding: 0; counter-reset: re-step; }
.re-steps li { border-top: 3px solid var(--re-green); padding: 1rem 0; }
.re-steps li::before { counter-increment: re-step; content: counter(re-step); display: block; margin-bottom: .65rem; color: #0b6a54; font-weight: 700; }
.re-comparison dt { font-weight: 700; margin-top: .75rem; }
.re-comparison dd { margin-left: 0; }
.re-faq { max-width: 55rem; }
.re-faq details { border-bottom: 1px solid var(--re-line); padding: .85rem 0; }
.re-faq summary { font-weight: 700; cursor: pointer; }
.re-faq p { max-width: 70ch; margin-bottom: 0; }
.re-call { padding: clamp(2.7rem, 7vw, 5.75rem) 0; background: var(--re-navy); color: #e1effa; }
.re-page .re-call h2 { color: white; }
.re-profile-links { display: flex; gap: .6rem 1.4rem; flex-wrap: wrap; list-style: none; padding: 0; }
.re-legacy-mentorship { padding-block: clamp(2rem, 7vw, 6rem); }
@media (max-width: 70rem) {
  .re-header-inner { flex-wrap: wrap; gap: .45rem .8rem; padding: .65rem 0; min-height: 0; }
  .re-mobile-toggle { margin-left: auto; }
  .re-nav { flex: 1 0 100%; order: 4; }
  .re-nav > ul { display: grid; align-items: stretch; justify-content: stretch; padding: .4rem 0; gap: 0; }
  .re-nav a, .re-nav button, .re-account, .re-mobile-toggle { font-size: .87rem; }
  .re-nav > ul > li { border-top: 1px solid var(--re-line); }
  .re-interactive .re-service-menu ul { position: static; min-width: 0; border: 0; border-left: 2px solid var(--re-green); border-radius: 0; box-shadow: none; margin: 0 0 .45rem .35rem; }
  .re-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 42rem) {
  .re-split, .re-footer-grid { grid-template-columns: 1fr; }
  .re-header-inner { width: calc(100% - 1.5rem); }
  .re-brand img { width: 7.25rem; }
  .re-account { padding-inline: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .re-page *, .re-header *, .re-footer * { scroll-behavior: auto !important; transition: none !important; }
}
