/* ==========================================================================
   Instituto Viver — site de doações
   Tokens, layout e componentes. Sem dependências externas.
   ========================================================================== */

:root {
    --cream: #faf6ef;
    --paper: #ffffff;
    --sand: #f1e7d7;
    --sage: #e2ebe2;
    --ink: #10231c;
    --ink-soft: #3f524a;
    --green: #10564a;
    --green-deep: #0a3b32;
    --coral: #c9482c;
    --coral-dark: #a93a22;
    --line: rgba(16, 35, 28, 0.13);

    --radius-lg: 30px;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow-sm: 0 1px 2px rgba(16, 35, 28, 0.05), 0 10px 26px -18px rgba(16, 35, 28, 0.35);
    --shadow-lg: 0 34px 70px -42px rgba(10, 59, 50, 0.6);

    --max: 1140px;
    --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

/* --------------------------------- reset --------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img,
svg,
canvas {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.015em;
}

p {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
    color: inherit;
}

:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 3px;
    border-radius: 4px;
}

::selection {
    background: rgba(201, 72, 44, 0.22);
}

/* ------------------------------- utilitários ----------------------------- */
.container {
    width: 100%;
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: 24px;
}

.section {
    padding-block: clamp(64px, 9vw, 112px);
}

.section--tight {
    padding-block: clamp(48px, 6vw, 76px);
}

.section__head {
    max-width: 44rem;
    margin-bottom: clamp(32px, 4vw, 52px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--coral-dark);
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: currentColor;
    opacity: 0.6;
}

.h2 {
    font-size: clamp(1.75rem, 3.4vw, 2.85rem);
    text-wrap: balance;
}

.lede {
    margin-top: 18px;
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    color: var(--ink-soft);
    max-width: 38rem;
}

.muted {
    color: var(--ink-soft);
}

.u-small {
    margin-top: 8px;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--ink-soft);
}

.u-mt {
    margin-top: 26px;
}

.section__head--center {
    margin-inline: auto;
    text-align: center;
}

.section__head--center .eyebrow {
    justify-content: center;
}

.link-underline {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 100;
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--cream);
    font-weight: 600;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 16px;
}

/* --------------------------------- botões -------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    background: transparent;
    font-weight: 650;
    font-size: 0.95rem;
    letter-spacing: 0.005em;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease,
        border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn--primary {
    background: var(--coral);
    color: #fff;
    box-shadow: 0 14px 30px -16px rgba(201, 72, 44, 0.9);
}

.btn--primary:hover {
    background: var(--coral-dark);
}

.btn--ghost {
    border-color: var(--line);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.6);
}

.btn--ghost:hover {
    border-color: var(--green);
    color: var(--green);
}

.btn--block {
    width: 100%;
}

.btn[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

/* --------------------------------- header -------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 246, 239, 0.86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 12px 30px -26px rgba(16, 35, 28, 0.7);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 76px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.brand__mark {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--green);
    color: var(--sand);
    flex: none;
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand__name {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
}

.brand__tag {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav a {
    position: relative;
    padding: 10px 14px;
    font-size: 0.93rem;
    font-weight: 550;
    color: var(--ink-soft);
    border-radius: 999px;
    transition: color 0.18s ease, background 0.18s ease;
}

.nav a:hover {
    color: var(--ink);
    background: rgba(16, 86, 74, 0.07);
}

.header__cta {
    padding: 12px 22px;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
    content: "";
    position: relative;
}

.nav-toggle__bars::before {
    top: -6px;
}

.nav-toggle__bars::after {
    top: 4px;
}

.site-header.is-open .nav-toggle__bars {
    background: transparent;
}

.site-header.is-open .nav-toggle__bars::before {
    top: 0;
    transform: rotate(45deg);
}

.site-header.is-open .nav-toggle__bars::after {
    top: -2px;
    transform: rotate(-45deg);
}

/* ---------------------------------- hero --------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(48px, 7vw, 92px) clamp(56px, 8vw, 104px);
    background:
        radial-gradient(920px 520px at 88% -8%, rgba(16, 86, 74, 0.13), transparent 70%),
        radial-gradient(620px 420px at 4% 12%, rgba(201, 72, 44, 0.09), transparent 68%);
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.03fr 0.97fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.hero__title {
    margin-top: 6px;
    font-size: clamp(2.4rem, 5.4vw, 4rem);
    text-wrap: balance;
}

.hero__accent {
    background: linear-gradient(transparent 63%, rgba(201, 72, 44, 0.24) 63%);
    padding-inline: 2px;
}

.hero__text {
    margin-top: 22px;
    font-size: clamp(1.02rem, 1.5vw, 1.16rem);
    color: var(--ink-soft);
    max-width: 34rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hero__note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.86rem;
    color: var(--ink-soft);
}

.hero__note svg {
    flex: none;
    color: var(--green);
}

/* cartão de impacto */
.hero-card {
    position: relative;
    padding: 32px;
    border-radius: var(--radius-lg);
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: linear-gradient(90deg, var(--green), var(--green) 45%, var(--coral));
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 13px;
    border-radius: 999px;
    background: var(--sage);
    color: var(--green-deep);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-card__title {
    margin-top: 18px;
    font-size: clamp(1.3rem, 2.2vw, 1.62rem);
    line-height: 1.25;
}

.hero-card__title em {
    font-style: normal;
    color: var(--coral-dark);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 26px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.stats__item strong {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    font-weight: 600;
    line-height: 1;
}

.stats__item span {
    display: block;
    margin-top: 8px;
    font-size: 0.78rem;
    line-height: 1.4;
    color: var(--ink-soft);
}

.hero-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 0.9rem;
    font-weight: 650;
    color: var(--green);
}

.hero-card__link:hover {
    gap: 12px;
}

/* --------------------------------- causa --------------------------------- */
.causa {
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.causa__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}

.prose p + p {
    margin-top: 18px;
}

.prose {
    margin-top: 22px;
    color: var(--ink-soft);
    font-size: 1.02rem;
}

.realities {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--cream);
    border: 1px solid var(--line);
}

.realities h3 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--coral-dark);
}

.realities ul {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.realities li {
    display: flex;
    gap: 12px;
    font-size: 0.98rem;
    line-height: 1.5;
}

.realities li::before {
    content: "";
    flex: none;
    width: 7px;
    height: 7px;
    margin-top: 9px;
    border-radius: 50%;
    background: var(--coral);
}

.pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: clamp(40px, 5vw, 60px);
}

.card {
    padding: 28px;
    border-radius: var(--radius);
    background: var(--paper);
    border: 1px solid var(--line);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
    transform: translateY(-3px);
    border-color: rgba(16, 86, 74, 0.28);
    box-shadow: var(--shadow-sm);
}

.card__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: var(--sage);
    color: var(--green-deep);
}

.card h3 {
    font-size: 1.16rem;
}

.card p {
    margin-top: 10px;
    font-size: 0.95rem;
    color: var(--ink-soft);
    line-height: 1.6;
}

/* -------------------------------- impacto -------------------------------- */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.impact {
    display: flex;
    flex-direction: column;
    padding: 26px 24px;
    border-radius: var(--radius);
    background: var(--paper);
    border: 1px solid var(--line);
    border-top: 3px solid var(--green);
}

.impact:nth-child(3n + 2) {
    border-top-color: var(--coral);
}

.impact:nth-child(3n + 3) {
    border-top-color: #c8922f;
}

.impact strong {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 2.6vw, 2rem);
    font-weight: 600;
    color: var(--green-deep);
}

.impact span {
    margin-top: 10px;
    font-size: 0.94rem;
    line-height: 1.55;
    color: var(--ink-soft);
}

/* --------------------------------- doação -------------------------------- */
.doar {
    position: relative;
    overflow: hidden;
    background: var(--green-deep);
    color: var(--cream);
}

.doar::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(620px 420px at 92% 6%, rgba(226, 235, 226, 0.16), transparent 65%),
        radial-gradient(520px 380px at 4% 96%, rgba(201, 72, 44, 0.22), transparent 68%);
    pointer-events: none;
}

.doar .container {
    position: relative;
}

.doar .eyebrow {
    color: #f0b39f;
}

.doar .h2 {
    color: #fff;
}

.doar .lede {
    color: rgba(250, 246, 239, 0.78);
}

.doar__grid {
    display: grid;
    grid-template-columns: 1fr 0.92fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

.steps {
    display: grid;
    gap: 22px;
    margin-top: 36px;
    counter-reset: step;
}

.steps li {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 16px;
    align-items: start;
}

.steps li::before {
    counter-increment: step;
    content: counter(step);
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(250, 246, 239, 0.34);
    font-family: var(--font-serif);
    font-size: 1rem;
    color: #fff;
}

.steps strong {
    display: block;
    font-size: 1rem;
    font-weight: 650;
}

.steps p {
    margin-top: 4px;
    font-size: 0.94rem;
    line-height: 1.55;
    color: rgba(250, 246, 239, 0.72);
}

.bank {
    margin-top: 34px;
    border-top: 1px solid rgba(250, 246, 239, 0.18);
    padding-top: 22px;
}

.bank summary {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.93rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    list-style: none;
}

.bank summary::-webkit-details-marker {
    display: none;
}

.bank summary::after {
    content: "+";
    margin-left: auto;
    font-size: 1.2rem;
    line-height: 1;
    color: #f0b39f;
    transition: transform 0.2s ease;
}

.bank[open] summary::after {
    transform: rotate(45deg);
}

.bank__rows {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    padding: 18px 20px;
    border-radius: var(--radius-sm);
    background: rgba(250, 246, 239, 0.07);
}

.bank__rows div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.9rem;
}

.bank__rows dt {
    color: rgba(250, 246, 239, 0.66);
}

.bank__rows dd {
    margin: 0;
    font-weight: 600;
    text-align: right;
}

.bank__note {
    margin-top: 16px;
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(250, 246, 239, 0.72);
}

/* campanha em destaque */
.campanha {
    background: var(--paper);
    border-top: 1px solid var(--line);
}

.campanha__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(28px, 5vw, 60px);
    align-items: center;
}

.campanha__foto {
    margin: 0;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--sand);
    box-shadow: var(--shadow-lg);
}

.campanha__foto img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    color: var(--ink-soft);
    font-size: 0.85rem;
}

.campanha__foto.sem-foto {
    display: grid;
    place-items: center;
    padding: 24px;
    border: 1px dashed var(--line);
}

.campanha__foto.sem-foto::after {
    content: "Foto de Lurdes";
    font-size: 0.8rem;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.campanha__texto .h2 em {
    color: var(--coral);
    font-style: normal;
}

.campanha__texto .btn {
    margin-top: 24px;
}

.campanha__nota {
    margin-top: 14px;
    max-width: 34rem;
}

@media (max-width: 960px) {
    .campanha__grid {
        grid-template-columns: 1fr;
    }

    .campanha__foto {
        width: 100%;
        max-width: 360px;
        margin-inline: auto;
    }
}

/* cartão de doação */
.donate-card {
    padding: clamp(22px, 3vw, 32px);
    border-radius: var(--radius-lg);
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.55);
}

.donate-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.donate-card__head h3 {
    font-size: 1.35rem;
}

.donate-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--sage);
    color: var(--green-deep);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.chips {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 22px;
}

.chip {
    padding: 12px 6px;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    font-size: 0.9rem;
    font-weight: 650;
    cursor: pointer;
    transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.chip:hover {
    border-color: var(--green);
    color: var(--green);
}

.chip[aria-pressed="true"] {
    background: var(--green-deep);
    border-color: var(--green-deep);
    color: var(--cream);
}

.field {
    display: block;
    margin-top: 18px;
}

.field__label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.field__box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--cream);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field__box:focus-within {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(16, 86, 74, 0.12);
}

.field__box span {
    font-weight: 650;
    color: var(--ink-soft);
}

.field__box input {
    width: 100%;
    border: 0;
    background: transparent;
    font-weight: 650;
    outline: none;
}

.field__box input::placeholder {
    font-weight: 500;
    color: rgba(63, 82, 74, 0.55);
}

.impact-line {
    min-height: 2.6em;
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: var(--cream);
    border-left: 3px solid var(--coral);
    font-size: 0.87rem;
    line-height: 1.45;
    color: var(--ink-soft);
}

.impact-line.is-error {
    border-left-color: #b3261e;
    color: #8c1d18;
}

.qr {
    display: grid;
    place-items: center;
    min-height: 208px;
    margin-top: 18px;
    padding: 14px;
    border-radius: var(--radius-sm);
    background: var(--paper);
    border: 1px dashed var(--line);
}

.qr canvas,
.qr img {
    border-radius: 6px;
}

.qr__empty {
    font-size: 0.85rem;
    color: var(--ink-soft);
    text-align: center;
    padding-inline: 12px;
}

.code-box {
    width: 100%;
    margin-top: 6px;
    padding: 12px 14px;
    min-height: 74px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    background: #f7f9f7;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.76rem;
    line-height: 1.5;
    color: var(--ink-soft);
    word-break: break-all;
    resize: none;
}

.donate-card .btn--primary {
    margin-top: 14px;
}

.donate-card__foot {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 14px;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--ink-soft);
}

.donate-card__foot svg {
    flex: none;
    margin-top: 2px;
    color: var(--green);
}

/* estados da cobrança */
[hidden] {
    display: none !important;
}

.donate-card__status {
    margin-top: 10px;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--ink-soft);
}

.donate-card__status:empty {
    display: none;
}

.donate-card__status.is-erro {
    color: #8c1d18;
}

.donate-card__status.is-aviso {
    color: #8a4a17;
}

.pagamento {
    margin-top: 18px;
    padding-top: 2px;
    border-top: 1px solid var(--line);
}

.pagamento:focus:not(:focus-visible),
.sucesso:focus:not(:focus-visible) {
    outline: none;
}

.pagamento:focus-visible,
.sucesso:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 6px;
    border-radius: var(--radius-sm);
}

.pagamento__nota,
.pagamento__estado {
    margin-top: 12px;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--ink-soft);
}

.pagamento__estado {
    font-weight: 650;
    color: var(--green);
}

.pagamento__estado:empty {
    display: none;
}

.pagamento__estado.is-erro {
    color: #8c1d18;
}

.pagamento .field {
    margin-top: 14px;
}

.pagamento .btn--ghost {
    margin-top: 8px;
}

.sucesso {
    margin-top: 18px;
    padding: 24px 18px;
    border-radius: var(--radius-sm);
    background: var(--sage);
    text-align: center;
}

.sucesso__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: var(--green-deep);
    color: var(--cream);
    font-size: 1.35rem;
    line-height: 1;
}

.sucesso__title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
}

.sucesso__text {
    margin-top: 6px;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--ink-soft);
}

.sucesso .btn {
    margin-top: 16px;
}

/* ----------------------------- transparência ----------------------------- */
.transparencia {
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.panel {
    padding: clamp(26px, 4vw, 44px);
    border-radius: var(--radius-lg);
    background: var(--cream);
    border: 1px solid var(--line);
}

.metrics {
    display: grid;
    gap: 22px;
}

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

.metric__top strong {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--green-deep);
}

.metric__top span {
    font-size: 0.86rem;
    color: var(--ink-soft);
    text-align: right;
}

.bar {
    height: 8px;
    margin-top: 10px;
    border-radius: 999px;
    background: rgba(16, 35, 28, 0.09);
    overflow: hidden;
}

.bar i {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--green);
}

.metric:nth-child(2) .bar i {
    background: var(--coral);
}

.metric:nth-child(3) .bar i {
    background: #c8922f;
}

.transparencia__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
}

.note-box {
    display: flex;
    gap: 12px;
    margin-top: 26px;
    padding: 18px;
    border-radius: var(--radius-sm);
    background: var(--paper);
    border: 1px solid var(--line);
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--ink-soft);
}

.note-box svg {
    flex: none;
    margin-top: 2px;
    color: var(--green);
}

/* -------------------------------- histórias ------------------------------ */
.quotes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.quote {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
    padding: clamp(24px, 3vw, 34px);
    border-radius: var(--radius-lg);
    background: var(--paper);
    border: 1px solid var(--line);
}

.quote blockquote {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 1.9vw, 1.45rem);
    line-height: 1.45;
    color: var(--ink);
}

.quote__author {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.86rem;
    color: var(--ink-soft);
}

.avatar {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--sage);
    color: var(--green-deep);
    font-family: var(--font-serif);
    font-weight: 600;
    flex: none;
}

/* história em destaque, com foto */
.historia {
    display: grid;
    grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 52px);
    align-items: center;
    margin-bottom: clamp(30px, 4vw, 52px);
}

.historia__foto {
    margin: 0;
    max-width: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.historia--reverso {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr);
}

.historia--reverso .historia__foto {
    max-width: 320px;
    justify-self: end;
}

.historia__foto img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    color: var(--ink-soft);
    font-size: 0.8rem;
}

.historia__foto figcaption {
    padding: 12px 16px 14px;
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--ink-soft);
}

.historia__foto.sem-foto {
    display: grid;
    place-items: center;
    min-height: 260px;
    padding: 24px;
    border-style: dashed;
}

.historia__foto.sem-foto::after {
    content: "Foto de criança em cuidado";
    font-size: 0.8rem;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.historia__texto h3 {
    margin: 6px 0 14px;
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink);
}

.historia__texto p {
    margin: 0 0 14px;
    color: var(--ink-soft);
    line-height: 1.65;
}

.historia__texto .btn {
    margin-top: 10px;
}

@media (max-width: 960px) {
    .historia,
    .historia--reverso {
        grid-template-columns: 1fr;
    }

    .historia__foto,
    .historia--reverso .historia__foto {
        width: 100%;
        max-width: 360px;
        margin-inline: auto;
        justify-self: center;
    }
}

/* ----------------------------------- faq --------------------------------- */
.faq {
    max-width: 46rem;
    margin-inline: auto;
}

.faq__item {
    border-bottom: 1px solid var(--line);
}

.faq__item summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 0;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.faq__item summary::-webkit-details-marker {
    display: none;
}

.faq__item summary::after {
    content: "+";
    margin-left: auto;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    line-height: 1;
    color: var(--coral);
    transition: transform 0.22s ease;
}

.faq__item[open] summary::after {
    transform: rotate(45deg);
}

.faq__item p {
    padding: 0 40px 24px 0;
    font-size: 0.96rem;
    line-height: 1.65;
    color: var(--ink-soft);
}

/* --------------------------------- contato ------------------------------- */
.contato {
    background: var(--sand);
    border-top: 1px solid var(--line);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: clamp(28px, 4vw, 44px);
}

.contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 26px;
    border-radius: var(--radius);
    background: var(--paper);
    border: 1px solid var(--line);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.contact:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.contact__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--coral-dark);
}

.contact__value {
    font-weight: 650;
    font-size: 1rem;
    overflow-wrap: anywhere;
}

.contact__hint {
    font-size: 0.85rem;
    color: var(--ink-soft);
}

.support-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 26px;
    padding: clamp(24px, 3vw, 32px);
    border-radius: var(--radius-lg);
    background: var(--green-deep);
    color: var(--cream);
}

.support-box p {
    max-width: 34rem;
    font-size: 0.98rem;
    line-height: 1.6;
    color: rgba(250, 246, 239, 0.82);
}

.support-box strong {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
}

.support-box .btn {
    background: var(--cream);
    color: var(--green-deep);
}

/* --------------------------------- footer -------------------------------- */
.site-footer {
    padding-block: 56px 32px;
    background: var(--ink);
    color: rgba(250, 246, 239, 0.72);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
}

.site-footer .brand__name {
    color: var(--cream);
}

.site-footer .brand__mark {
    background: var(--cream);
    color: var(--green-deep);
}

.site-footer .brand__tag {
    color: rgba(250, 246, 239, 0.55);
}

.footer__about {
    margin-top: 18px;
    max-width: 26rem;
    font-size: 0.9rem;
    line-height: 1.65;
}

.footer__title {
    margin-bottom: 14px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(250, 246, 239, 0.5);
}

.footer__links {
    display: grid;
    gap: 10px;
    font-size: 0.92rem;
}

.footer__links a:hover {
    color: var(--cream);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid rgba(250, 246, 239, 0.14);
    font-size: 0.8rem;
    color: rgba(250, 246, 239, 0.55);
}

/* --------------------------------- toast --------------------------------- */
.toast {
    position: fixed;
    left: 50%;
    bottom: 26px;
    z-index: 80;
    transform: translate(-50%, 20px);
    padding: 13px 22px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--cream);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* ------------------------------- animações -------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .btn:hover,
    .card:hover,
    a.contact:hover {
        transform: none;
    }
}

/* -------------------------------- responsivo ----------------------------- */
@media (max-width: 960px) {
    .hero__inner,
    .causa__grid,
    .doar__grid,
    .transparencia__grid {
        grid-template-columns: 1fr;
    }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer__about-col {
        grid-column: 1 / -1;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav {
        position: absolute;
        left: 12px;
        right: 12px;
        top: calc(100% + 8px);
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px;
        border-radius: var(--radius);
        background: var(--paper);
        border: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    }

    .site-header.is-open .nav {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav a {
        padding: 13px 16px;
        border-radius: var(--radius-sm);
        font-size: 1rem;
    }

    .header__actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .header__cta {
        display: none;
    }
}

@media (max-width: 720px) {
    .pillars,
    .quotes,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .stats__item {
        display: flex;
        align-items: baseline;
        gap: 10px;
    }

    .stats__item span {
        margin-top: 0;
    }

    .footer__grid {
        grid-template-columns: 1fr;
    }

    .hero__actions .btn {
        flex: 1 1 100%;
    }
}

@media (max-width: 460px) {
    .chips {
        grid-template-columns: repeat(2, 1fr);
    }

    .container {
        padding-inline: 18px;
    }

    .support-box .btn {
        width: 100%;
    }
}
