/* Layout: página única inspirada na estrutura da APAE (menu, doação, áreas, transparência, parceiros, contato).
   Menu rosa fixo, logo branca, seções alternando fundo claro e rosado. */
:root {
  --rosa: #D81B4E;
  --rosa-escuro: #B01440;
  --azul: #1B8FCB;
  --bg: #FCFAFB;
  --surface: #FFFFFF;
  --tint: #FBEBF0;
  --fg: #2B1F26;
  --muted: #6B5A63;
  --line: #EBDDE3;
  --accent-text: #C4163F;
  --blue-text: #0F7AB5;
  --nav: #D81B4E;
  --foot: #2B1F26;
  --font-display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
:root {
  --bs-body-bg: var(--bg); --bs-body-color: var(--fg); --bs-border-color: var(--line);
  --bs-secondary-color: var(--muted); --bs-body-font-family: var(--font-body);
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; padding-inline: 0; }
h1, h2, h3, h4, .display-font { font-family: var(--font-display); letter-spacing: -0.01em; text-wrap: balance; }
a { color: var(--accent-text); }
section[id] { scroll-margin-top: 5.5rem; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: #fff; color: #000; padding: .5rem 1rem; border-radius: .25rem; z-index: 2000; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 2px; }

/* placeholders: dados que a associação deve trocar */
.ph { border-bottom: 1.5px dashed currentColor; opacity: .92; }

/* menu */
.site-nav { background: var(--nav); padding-block: .5rem; position: sticky; top: env(safe-area-inset-top, 0px); z-index: 1030; box-shadow: 0 2px 0 rgba(0,0,0,.08); }
.site-nav .navbar-brand img { height: 56px; width: auto; display: block; }
.site-nav .nav-link, .site-nav .dropdown-toggle { color: #fff; font-weight: 600; padding: .6rem .85rem; }
.site-nav .nav-link:hover, .site-nav .nav-link:focus { color: #fff; text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 2px; }
.site-nav .navbar-toggler { border-color: rgba(255,255,255,.7); }
.site-nav .navbar-toggler-icon { filter: invert(1) brightness(2); }
.site-nav .dropdown-menu { border-radius: .5rem; border-color: var(--line); }
.site-nav .dropdown-item:active { background: var(--rosa); color: #fff; }
.btn-doe { --bs-btn-bg: #fff; --bs-btn-color: var(--rosa-escuro); --bs-btn-border-color: #fff; --bs-btn-hover-bg: #FFE3EB; --bs-btn-hover-color: var(--rosa-escuro); --bs-btn-hover-border-color: #FFE3EB; --bs-btn-active-bg: #FFD0DD; --bs-btn-active-color: var(--rosa-escuro); font-weight: 700; border-radius: 999px; padding-inline: 1.25rem; }
@media (max-width: 575.98px) { .site-nav .navbar-brand img { height: 46px; } }

/* botões */
.btn-ame { --bs-btn-bg: var(--rosa); --bs-btn-color: #fff; --bs-btn-border-color: var(--rosa); --bs-btn-hover-bg: var(--rosa-escuro); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: var(--rosa-escuro); --bs-btn-active-bg: var(--rosa-escuro); --bs-btn-active-color: #fff; --bs-btn-active-border-color: var(--rosa-escuro); font-weight: 700; border-radius: 999px; padding: .7rem 1.5rem; }
.btn-ame-line { --bs-btn-color: var(--accent-text); --bs-btn-border-color: var(--accent-text); --bs-btn-hover-bg: var(--rosa); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: var(--rosa); --bs-btn-active-bg: var(--rosa-escuro); --bs-btn-active-color: #fff; font-weight: 700; border-radius: 999px; padding: .7rem 1.5rem; }

/* tipografia de seção */
.eyebrow { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: .5rem; }
.section-title { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); font-weight: 700; line-height: 1.15; margin-bottom: 1rem; }
.lead-soft { color: var(--muted); max-width: 62ch; }
.section-pad { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.bg-tint { background: var(--tint); }

/* hero */
.hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem); overflow: hidden; }
.hero h1 { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4rem); font-weight: 800; line-height: 1.05; margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; color: var(--accent-text); }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 18rem; }
.hero-visual::before { content: ""; position: absolute; inset: 6% 2% 6% 8%; background: var(--tint); border-radius: 38% 62% 55% 45% / 48% 40% 60% 52%; }
.hero-logo { position: relative; width: min(100%, 26rem); background: var(--surface); border-radius: 1.25rem; padding: 1.5rem 1.75rem; box-shadow: 0 18px 40px -22px rgba(120, 20, 60, .45); border: 1px solid var(--line); }
.hero-logo img { width: 100%; height: auto; display: block; }
.hero-note { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 2rem; color: var(--muted); font-size: .95rem; }
.hero-note span::before { content: ""; display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: var(--azul); margin-right: .5rem; }

/* sobre */
.mvv dt { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--accent-text); }
.mvv dd { margin-bottom: 1.25rem; color: var(--fg); }
.valores { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; margin: 0; }
.valores li { background: var(--tint); color: var(--fg); border-radius: 999px; padding: .3rem .9rem; font-weight: 600; font-size: .95rem; }
.person { display: flex; gap: .9rem; align-items: center; }
.person .avatar { flex: none; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--tint); color: var(--accent-text); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }
.person small { color: var(--muted); display: block; line-height: 1.2; }

/* áreas */
.area { display: flex; gap: 1rem; align-items: flex-start; height: 100%; }
.area .ico { flex: none; width: 3rem; height: 3rem; border-radius: 50%; background: var(--tint); color: var(--accent-text); display: grid; place-items: center; }
.area .ico svg { width: 1.45rem; height: 1.45rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.area h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .25rem; }
.area p { margin: 0; color: var(--muted); }

/* doação */
.pix-card { background: var(--surface); border: 2px solid var(--rosa); border-radius: 1.25rem; padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); }
.pix-key { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; background: var(--tint); border-radius: .75rem; padding: .85rem 1rem; margin-block: 1rem; }
.pix-key code { font-size: 1.15rem; font-weight: 700; color: var(--fg); background: none; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.bank dt { color: var(--muted); font-weight: 500; font-size: .875rem; }
.bank dd { font-weight: 600; margin-bottom: .6rem; font-variant-numeric: tabular-nums; }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; padding: 1.5rem; height: 100%; display: flex; flex-direction: column; }
.tier .price { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--accent-text); line-height: 1.1; }
.tier .price small { font-family: var(--font-body); font-weight: 500; font-size: .95rem; color: var(--muted); }
.tier h3 { font-size: 1.2rem; font-weight: 700; }
.tier p { color: var(--muted); flex: 1; }
.ways { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.ways li { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; }
.ways li::before { content: ""; width: .7rem; height: .7rem; margin-top: .5rem; border-radius: 50%; background: var(--rosa); }
.ways strong { display: block; }
.ways span { color: var(--muted); }

/* transparência */
.accordion { --bs-accordion-bg: var(--surface); --bs-accordion-border-color: var(--line); --bs-accordion-btn-bg: var(--surface); --bs-accordion-btn-color: var(--fg); --bs-accordion-active-bg: var(--tint); --bs-accordion-active-color: var(--accent-text); --bs-accordion-color: var(--fg); --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(27,143,203,.35); }
.accordion-button { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.doc-row { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between; padding-block: .7rem; border-bottom: 1px solid var(--line); }
.doc-row:last-child { border-bottom: 0; }
.doc-row .name { min-width: 0; }
.doc-row .tag { font-size: .8rem; color: var(--muted); }

/* novidades */
.post { background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.post .cover { background: var(--tint); aspect-ratio: 16 / 7; display: grid; place-items: center; color: var(--accent-text); max-width: 100%; }
.post .cover svg { width: 2.2rem; height: 2.2rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.post .body { padding: 1.25rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.post time { font-size: .875rem; color: var(--muted); }
.post h3 { font-size: 1.2rem; font-weight: 700; margin: 0; }
.post p { color: var(--muted); margin: 0; flex: 1; }

/* parceiros */
.partner { border: 2px dashed var(--line); border-radius: 1rem; min-height: 6.5rem; display: grid; place-items: center; text-align: center; padding: 1rem; color: var(--muted); font-weight: 600; background: var(--surface); }

/* contato */
.contact dt { color: var(--muted); font-weight: 500; font-size: .875rem; }
.contact dd { font-weight: 600; margin-bottom: 1rem; overflow-wrap: anywhere; }
.form-control, .form-select { background-color: var(--surface); color: var(--fg); border-color: var(--line); border-radius: .6rem; padding: .7rem .9rem; }
.form-control:focus { border-color: var(--azul); box-shadow: 0 0 0 .2rem rgba(27,143,203,.3); background-color: var(--surface); color: var(--fg); }
.form-label { font-weight: 600; }

/* rodapé */
.site-foot { background: var(--foot); color: #EBDDE3; padding-block: 3rem 2rem; }
.site-foot img { height: 72px; width: auto; max-width: 100%; }
.site-foot a { color: #fff; }
.site-foot h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: #FFB3C6; font-family: var(--font-body); font-weight: 700; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.site-foot .small { color: #BBA8B2; }
