:root {
    --blue: #0c5fa8;
    --blue-dark: #073f75;
    --blue-deep: #052b51;
    --lime: #b5d516;
    --lime-soft: #d6e665;
    --orange: #f5a800;
    --ink: #12283d;
    --muted: #5b6e7f;
    --paper: #f7f8f3;
    --white: #fff;
    --line: rgba(18, 40, 61, .12);
    --shadow: 0 24px 70px rgba(6, 43, 81, .15);
    --radius: 28px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 112px 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 999; background: var(--white); color: var(--blue); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 16px; }

.site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 20;
    color: var(--white);
    border-bottom: 1px solid rgba(255,255,255,.15);
}
.header-inner { height: 96px; display: flex; align-items: center; justify-content: space-between; }
.brand img { width: 166px; height: 76px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 700; }
.main-nav a { opacity: .88; transition: .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible { opacity: 1; color: var(--lime-soft); }
.main-nav .nav-cta { border: 1px solid rgba(255,255,255,.5); padding: 10px 18px; border-radius: 999px; }
.menu-toggle { display: none; border: 0; background: none; padding: 8px; }
.menu-toggle span { display: block; width: 26px; height: 2px; margin: 6px 0; background: var(--white); transition: .25s; }

.hero {
    position: relative;
    min-height: 850px;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 8% 20%, rgba(181,213,22,.16), transparent 24%),
        linear-gradient(125deg, var(--blue-deep), var(--blue) 64%, #2477ba);
    padding: 156px 0 66px;
}
.hero::after { content: ""; position: absolute; top: 120px; right: -130px; width: 620px; height: 620px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .25; }
.hero-orb-one { width: 380px; height: 380px; right: 9%; top: 20%; border: 70px solid var(--lime); }
.hero-orb-two { width: 180px; height: 180px; left: -70px; bottom: 10%; background: var(--orange); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 800; }
.eyebrow span { width: 34px; height: 3px; background: var(--lime); border-radius: 4px; }
.eyebrow-blue { color: var(--blue); }
.eyebrow-blue span { background: var(--blue); }
h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 700; line-height: .98; letter-spacing: -.035em; }
h1 { font-size: clamp(58px, 7vw, 94px); }
h1 em, h2 em { color: var(--lime-soft); font-weight: 500; }
.hero-lead { max-width: 650px; margin: 28px 0 34px; color: rgba(255,255,255,.82); font-size: 19px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; min-height: 52px; padding: 0 23px; border-radius: 999px; font-size: 14px; font-weight: 800; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--lime); color: var(--blue-deep); }
.button-ghost { border: 1px solid rgba(255,255,255,.34); color: var(--white); }
.hero-facts { display: flex; gap: 32px; padding: 0; margin: 52px 0 0; list-style: none; }
.hero-facts li { display: flex; align-items: center; gap: 10px; }
.hero-facts strong { color: var(--lime-soft); font-family: Georgia, serif; font-size: 38px; line-height: 1; }
.hero-facts span { color: rgba(255,255,255,.72); font-size: 11px; line-height: 1.4; text-transform: uppercase; letter-spacing: .06em; }
.hero-portrait { position: relative; padding: 20px 0 0 25px; }
.portrait-frame { position: relative; height: 610px; overflow: hidden; border-radius: 48% 48% 20px 20px; background: #d8deea; box-shadow: var(--shadow); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 27%; }
.portrait-frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -100px 100px rgba(5,43,81,.2); pointer-events: none; }
.portrait-badge { position: absolute; left: 0; bottom: 36px; display: flex; align-items: center; gap: 13px; padding: 13px 20px 13px 13px; border-radius: 16px; color: var(--blue-deep); background: rgba(255,255,255,.94); box-shadow: 0 16px 40px rgba(0,0,0,.18); backdrop-filter: blur(10px); }
.badge-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--lime); font-family: Georgia, serif; font-size: 25px; font-weight: 900; }
.portrait-badge small, .portrait-badge strong { display: block; line-height: 1.35; }
.portrait-badge small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.portrait-badge strong { font-size: 14px; }
.graphic-band { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 58px; background: rgba(255,255,255,.96) url('../images/grafismo-maranhao.png') center 48% / auto 205px repeat-x; mix-blend-mode: normal; }

.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 120px; align-items: start; }
.section-heading { position: sticky; top: 36px; }
.section-heading h2, .info-heading h2 { max-width: 540px; font-size: clamp(44px, 5vw, 66px); }
.section-heading h2 em, .info-heading h2 em { color: var(--blue); }
.about-copy { border-left: 1px solid var(--line); padding-left: 52px; color: var(--muted); font-size: 18px; }
.about-copy .lead { margin-top: 0; color: var(--ink); font-size: 27px; line-height: 1.4; font-weight: 600; }
.signature { margin-top: 42px; color: var(--blue); font-family: Georgia, serif; font-size: 26px; font-style: italic; }
.signature span { display: block; color: var(--muted); font-family: "Segoe UI", sans-serif; font-size: 11px; font-style: normal; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }

.cause { color: var(--white); background: linear-gradient(135deg, var(--blue-deep), var(--blue-dark)); }
.cause-card { display: grid; grid-template-columns: 190px 1fr; gap: 58px; align-items: start; }
.cause-number { color: transparent; font-family: Georgia, serif; font-size: 150px; line-height: .8; -webkit-text-stroke: 1px rgba(255,255,255,.25); }
.cause-content { max-width: 780px; }
.cause-content h2, .profile-card h2, .contact h2 { font-size: clamp(44px, 5vw, 70px); }
.cause-content p:not(.eyebrow) { margin: 28px 0; color: rgba(255,255,255,.76); font-size: 19px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-row span { padding: 9px 15px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-size: 12px; font-weight: 700; }

.info { background: #eef1e7; }
.info-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: start; }
.info-heading { position: sticky; top: 40px; }
.info-heading > p:last-child { max-width: 320px; color: var(--muted); font-size: 18px; }
.notice-card { padding: 44px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.notice-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.notice-tag { color: var(--blue); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.notice-status { padding: 6px 11px; border-radius: 999px; color: #765200; background: #fff0c9; font-size: 11px; font-weight: 800; }
.notice-card p { color: var(--muted); }
.notice-card .notice-intro { color: var(--ink); font-size: 23px; line-height: 1.45; font-weight: 650; }
.alert { display: flex; align-items: flex-start; gap: 17px; margin: 28px 0; padding: 22px; border-left: 4px solid var(--orange); border-radius: 0 14px 14px 0; background: #fff9eb; }
.alert-mark { flex: 0 0 30px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--white); background: var(--orange); font-weight: 900; }
.alert p { margin: 0; color: var(--ink); }
.notice-footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.notice-footer p { margin: 0; font-size: 14px; line-height: 1.5; }
.share-button { border: 0; border-radius: 999px; padding: 12px 18px; color: var(--white); background: var(--blue); font-size: 13px; font-weight: 800; cursor: pointer; }

.profile { background: var(--paper); }
.profile-card { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding: 70px; border-radius: 34px; color: var(--white); background: var(--blue); box-shadow: var(--shadow); }
.profile-card .eyebrow { color: var(--lime-soft); }
.profile-list { padding: 0; margin: 0; list-style: none; }
.profile-list li { display: grid; grid-template-columns: 38px 1fr; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.17); }
.profile-list span { color: var(--lime-soft); font-family: Georgia, serif; font-size: 13px; }
.profile-list strong { font-size: 17px; }

.contact { position: relative; overflow: hidden; color: var(--white); text-align: center; background: var(--blue-deep); }
.contact::before { content: "R"; position: absolute; left: 50%; top: 52%; transform: translate(-50%,-50%); color: transparent; font-family: Georgia, serif; font-size: 620px; font-weight: 900; line-height: 1; -webkit-text-stroke: 1px rgba(255,255,255,.05); }
.contact-inner { position: relative; z-index: 1; }
.contact .eyebrow { justify-content: center; }
.contact h2 em { color: var(--lime-soft); }
.contact-inner > p:not(.eyebrow) { margin: 28px auto 34px; color: rgba(255,255,255,.7); font-size: 18px; }
.contact-email { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: center; width: min(100%, 580px); margin: auto; padding: 22px 25px; border: 1px solid rgba(255,255,255,.25); border-radius: 18px; text-align: left; transition: .2s; }
.contact-email:hover { border-color: var(--lime); background: rgba(181,213,22,.08); transform: translateY(-2px); }
.contact-email small { color: rgba(255,255,255,.58); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.contact-email strong { font-size: 18px; overflow-wrap: anywhere; }
.contact-email span { grid-column: 2; grid-row: 1 / 3; color: var(--lime-soft); font-size: 28px; }
.instagram-link { display: flex; align-items: center; gap: 14px; width: max-content; max-width: 100%; margin: 18px auto 0; padding: 11px 18px 11px 12px; border-radius: 999px; color: var(--blue-deep); background: var(--lime); text-align: left; transition: transform .2s, background .2s; }
.instagram-link:hover { transform: translateY(-2px); background: var(--lime-soft); }
.instagram-icon { display: grid; place-items: center; width: 36px; height: 36px; border: 2px solid var(--blue-deep); border-radius: 11px; font-size: 26px; line-height: 1; }
.instagram-link small, .instagram-link strong { display: block; line-height: 1.25; }
.instagram-link small { font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.instagram-link strong { font-size: 14px; }
.instagram-arrow { margin-left: 8px; font-size: 19px; }

.site-footer { color: var(--white); background: #031f3b; }
.footer-top { display: flex; align-items: center; justify-content: space-between; padding-top: 52px; padding-bottom: 42px; }
.footer-top img { width: 168px; height: 78px; object-fit: contain; object-position: left; }
.footer-links { display: flex; flex-wrap: wrap; gap: 28px; font-size: 13px; font-weight: 700; }
.footer-links a { color: rgba(255,255,255,.72); }
.legal { display: flex; justify-content: space-between; gap: 30px; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.46); font-size: 10px; letter-spacing: .03em; }
.legal p { margin: 0; }
.toast { position: fixed; z-index: 50; right: 24px; bottom: 24px; padding: 12px 18px; border-radius: 10px; color: var(--white); background: var(--ink); box-shadow: var(--shadow); font-size: 13px; font-weight: 700; opacity: 0; transform: translateY(14px); pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: none; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal-delay { transition-delay: .12s; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
    .section { padding: 84px 0; }
    .site-header { position: absolute; }
    .menu-toggle { display: block; z-index: 3; cursor: pointer; }
    .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .main-nav { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 28px; color: var(--white); background: rgba(5,43,81,.98); font-size: 22px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .25s; }
    .main-nav.open { opacity: 1; visibility: visible; transform: none; }
    .main-nav .nav-cta { padding: 10px 22px; }
    .hero { min-height: auto; padding-top: 140px; }
    .hero-grid { grid-template-columns: 1fr; gap: 52px; }
    .hero-copy { text-align: center; }
    .hero-copy .eyebrow, .hero-actions, .hero-facts { justify-content: center; }
    .hero-lead { margin-inline: auto; }
    .hero-portrait { width: min(100%, 520px); margin: auto; }
    .portrait-frame { height: 580px; }
    .about-grid, .info-grid, .profile-card { grid-template-columns: 1fr; gap: 50px; }
    .section-heading, .info-heading { position: static; }
    .about-copy { padding-left: 0; border-left: 0; }
    .cause-card { grid-template-columns: 100px 1fr; gap: 30px; }
    .cause-number { font-size: 90px; }
    .profile-card { padding: 48px; }
}

@media (max-width: 600px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .section { padding: 70px 0; }
    .header-inner { height: 82px; }
    .brand img { width: 145px; }
    .hero { padding: 124px 0 58px; }
    h1 { font-size: 54px; }
    .hero-lead { font-size: 17px; }
    .hero-actions { flex-direction: column; }
    .button { width: 100%; }
    .hero-facts { gap: 14px; justify-content: space-between; }
    .hero-facts li { display: block; text-align: center; }
    .hero-facts strong, .hero-facts span { display: block; }
    .hero-facts strong { font-size: 30px; margin-bottom: 7px; }
    .hero-facts span { font-size: 9px; }
    .hero-portrait { padding-left: 0; }
    .portrait-frame { height: 475px; border-radius: 45% 45% 18px 18px; }
    .portrait-badge { left: 50%; bottom: 18px; transform: translateX(-50%); width: max-content; }
    .graphic-band { height: 42px; background-size: auto 160px; }
    .section-heading h2, .info-heading h2, .cause-content h2, .profile-card h2, .contact h2 { font-size: 43px; }
    .about-copy { font-size: 16px; }
    .about-copy .lead { font-size: 22px; }
    .cause-card { grid-template-columns: 1fr; }
    .cause-number { font-size: 72px; }
    .notice-card { padding: 26px 20px; }
    .notice-card .notice-intro { font-size: 20px; }
    .notice-footer { align-items: stretch; flex-direction: column; }
    .share-button { align-self: flex-start; }
    .profile-card { padding: 34px 22px; }
    .profile-list strong { font-size: 15px; }
    .contact-email strong { font-size: 14px; }
    .footer-top { align-items: flex-start; flex-direction: column; gap: 28px; }
    .footer-links { gap: 15px 22px; }
    .legal { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
