:root {
  --navy: #082b5c;
  --navy-2: #0d3f79;
  --green: #15965f;
  --green-dark: #0b7046;
  --gold: #f1b82d;
  --ink: #14243a;
  --muted: #637286;
  --soft: #f4f8fb;
  --border: #dce6ee;
  --radius: 1.35rem;
  --shadow: 0 22px 55px rgba(8, 43, 92, .12);
}

html { scroll-behavior: smooth; }
body { color: var(--ink); background: #fff; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 2000; padding: .75rem 1rem; background: white; color: var(--navy); border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.navbar { transition: box-shadow .2s ease; }
.navbar.scrolled { box-shadow: 0 10px 30px rgba(8, 43, 92, .09); }
.navbar-brand img { width: 186px; height: auto; }
.nav-link { color: #2c4662; font-weight: 650; }
.nav-link:hover, .nav-link:focus, .nav-link.active { color: var(--green-dark); }
.btn { border-radius: .8rem; font-weight: 750; padding: .75rem 1.1rem; }
.btn-primary { --bs-btn-bg: var(--green); --bs-btn-border-color: var(--green); --bs-btn-hover-bg: var(--green-dark); --bs-btn-hover-border-color: var(--green-dark); }
.btn-outline-primary { --bs-btn-color: var(--navy); --bs-btn-border-color: rgba(8,43,92,.35); --bs-btn-hover-bg: var(--navy); --bs-btn-hover-border-color: var(--navy); }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .43rem .72rem; border-radius: 999px; font-size: .78rem; font-weight: 850; letter-spacing: .055em; text-transform: uppercase; }
.eyebrow.light { color: white; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16); }
.eyebrow.soft { color: var(--green-dark); background: #e8f7ef; }

.hero { min-height: 690px; position: relative; display: grid; align-items: center; overflow: hidden; background: var(--navy); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("banner-fonrocha.jpg") center right / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3,24,53,.98), rgba(5,31,66,.9) 42%, rgba(5,31,66,.22) 75%, rgba(5,31,66,.06)); }
.hero-content { padding: 9rem 0 8rem; }
.hero h1 { max-width: 760px; color: #fff; margin: 1rem 0; font-size: clamp(2.75rem, 6vw, 5.1rem); line-height: .98; letter-spacing: -.055em; font-weight: 850; }
.hero h1 span { color: #77dfb1; }
.hero p { max-width: 640px; color: rgba(255,255,255,.84); font-size: clamp(1.05rem, 2vw, 1.22rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.btn-glass { color: white; border: 1px solid rgba(255,255,255,.44); background: rgba(255,255,255,.08); }
.btn-glass:hover { color: var(--navy); background: white; }

.journey-wrap { position: relative; margin-top: -66px; z-index: 4; }
.journey-card { height: 100%; padding: clamp(1.5rem, 3vw, 2.25rem); background: white; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.journey-card.member { border-top: 5px solid var(--green); }
.journey-card.credit { border-top: 5px solid var(--gold); }
.journey-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 1rem; font-size: 1.55rem; color: white; }
.member .journey-icon { background: linear-gradient(135deg, var(--green), #27bd7c); }
.credit .journey-icon { color: var(--navy); background: linear-gradient(135deg, var(--gold), #ffd96d); }
.journey-card p, .line-card p, .info-card p { color: var(--muted); line-height: 1.65; }
.mini-list { list-style: none; padding: 0; display: grid; gap: .55rem; }
.mini-list li { display: flex; gap: .55rem; align-items: flex-start; color: #41556d; }
.mini-list i { color: var(--green); margin-top: .15rem; }

.section-pad { padding: 6rem 0; }
.section-soft { background: var(--soft); }
.section-title { max-width: 760px; }
.section-title h2 { margin-top: .8rem; color: var(--navy); font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -.04em; font-weight: 830; }
.section-title p { color: var(--muted); font-size: 1.06rem; line-height: 1.75; }
.line-card, .info-card, .step-card { height: 100%; padding: 1.5rem; background: white; border: 1px solid var(--border); border-radius: 1.15rem; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.line-card:hover, .info-card:hover, .step-card:hover { transform: translateY(-5px); border-color: rgba(21,150,95,.35); box-shadow: 0 17px 40px rgba(8,43,92,.09); }
.line-icon, .info-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: .95rem; color: var(--green-dark); background: #e8f7ef; font-size: 1.3rem; }
.line-card a { color: var(--green-dark); font-weight: 750; text-decoration: none; }
.line-card a:hover { text-decoration: underline; }

.page-hero { padding: 9rem 0 5rem; background: radial-gradient(circle at 80% 15%, rgba(117,223,177,.24), transparent 28%), linear-gradient(140deg, #061e40, var(--navy-2)); color: white; }
.page-hero h1 { max-width: 820px; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -.05em; font-weight: 850; }
.page-hero p { max-width: 710px; color: rgba(255,255,255,.8); font-size: 1.15rem; line-height: 1.7; }
.back-link { color: rgba(255,255,255,.8); text-decoration: none; }
.back-link:hover { color: white; }
.step-number { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--navy); font-weight: 850; }
.notice { padding: 1rem 1.1rem; border-left: 4px solid var(--gold); border-radius: .7rem; background: #fff9e8; color: #664f13; }

.line-filter { display: flex; flex-wrap: wrap; gap: .55rem; }
.line-filter button { border: 1px solid var(--border); background: white; color: #34506d; border-radius: 999px; padding: .55rem .9rem; font-weight: 700; }
.line-filter button.active, .line-filter button:hover { color: white; background: var(--navy); border-color: var(--navy); }
.line-item[hidden] { display: none !important; }

.cta { position: relative; overflow: hidden; padding: clamp(2rem,5vw,4rem); border-radius: var(--radius); background: linear-gradient(135deg, var(--green-dark), var(--green)); color: white; }
.cta::after { content: ""; position: absolute; width: 260px; height: 260px; right: -80px; top: -105px; border-radius: 50%; border: 52px solid rgba(255,255,255,.09); }
.modal-content { border: 0; border-radius: 1.3rem; overflow: hidden; }
.modal-header { color: white; background: var(--navy); border: 0; }
.modal-header .btn-close { filter: invert(1); }
.form-control { min-height: 50px; border-color: var(--border); border-radius: .8rem; }
.captcha { min-height: 50px; display: flex; align-items: center; justify-content: center; gap: .5rem; border: 1px dashed #90a3b7; border-radius: .8rem; background: #f4f7fa; color: var(--navy); font-weight: 850; }
footer { color: rgba(255,255,255,.72); background: #061d3d; }
footer a { color: rgba(255,255,255,.78); text-decoration: none; }
footer a:hover { color: white; }
.footer-logo { width: 185px; filter: brightness(0) invert(1); }

@media (max-width: 991.98px) {
  .navbar-brand img { width: 164px; }
  .hero::before { background-position: 65% center; }
  .hero::after { background: linear-gradient(90deg, rgba(3,24,53,.97), rgba(5,31,66,.82) 70%, rgba(5,31,66,.42)); }
  .navbar-collapse { padding: 1rem 0; }
}
@media (max-width: 767.98px) {
  .hero { min-height: 670px; }
  .hero::after { background: rgba(3,24,53,.82); }
  .hero-content { padding: 8rem 0 7rem; }
  .hero h1 { font-size: clamp(2.6rem, 13vw, 4.1rem); }
  .hero-actions .btn { width: 100%; }
  .journey-wrap { margin-top: -40px; }
  .section-pad { padding: 4.5rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

