/* =========================================================
   Criança Cidadã de Santo André - clean vibrante
   ========================================================= */

:root {
    /* Paleta da marca (logo) */
    --blue:        #1f5fd0;
    --blue-dark:   #163f8f;
    --blue-soft:   #eaf1ff;
    --yellow:      #ffc222;
    --yellow-soft: #fff5d6;
    --red:         #ec3b3b;
    --red-soft:    #ffe7e7;
    --purple:      #7a4fcf;
    --purple-soft: #f0eafc;
    --green:       #2bb673;
    --green-soft:  #e1f6ec;

    --ink:    #1d2533;
    --muted:  #5b6678;
    --line:   #e7ebf2;
    --paper:  #ffffff;
    --cream:  #fffaf2;

    --radius:    18px;
    --radius-lg: 28px;
    --shadow:    0 10px 30px rgba(27, 43, 84, .08);
    --shadow-lg: 0 22px 50px rgba(27, 43, 84, .14);

    --container: 1180px;
    --font-head: 'Fredoka', sans-serif;
    --font-body: 'Nunito', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; overflow-x: hidden; max-width: 100%; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; font-weight: 600; color: var(--ink); }

a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-dark); }

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

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 999;
    background: var(--blue); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Botões ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .5em;
    font-family: var(--font-head); font-weight: 600; font-size: 1rem;
    padding: 13px 26px; border-radius: 999px; border: none; cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .2s;
    box-shadow: 0 8px 18px rgba(31, 95, 208, .18);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 26px rgba(31, 95, 208, .28); }
.btn--blue   { background: var(--blue);   color: #fff; }
.btn--blue:hover { color:#fff; }
.btn--red    { background: var(--red);    color: #fff; box-shadow: 0 8px 18px rgba(236, 59, 59, .26); }
.btn--red:hover { color:#fff; box-shadow: 0 14px 26px rgba(236, 59, 59, .34); }
.btn--yellow { background: var(--yellow); color: #4a3500; box-shadow: 0 8px 18px rgba(255, 194, 34, .35); }
.btn--yellow:hover { color:#4a3500; }
.btn--purple { background: var(--purple); color: #fff; box-shadow: 0 8px 18px rgba(122, 79, 207, .26); }
.btn--purple:hover { color:#fff; }
.btn--ghost { background: transparent; color: var(--blue); box-shadow: none; border: 2px solid var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; }
.btn--ghost-light { background: rgba(255,255,255,.14); color: #fff; border: 2px solid rgba(255,255,255,.6); box-shadow: none; }
.btn--ghost-light:hover { background: #fff; color: var(--blue); }

/* ---------- Topbar ---------- */
.topbar { background: var(--blue-dark); color: #dce7ff; font-size: .85rem; }
.topbar__inner { display: flex; align-items: center; gap: 14px; min-height: 40px; flex-wrap: wrap; }
.topbar__item { color: #dce7ff; }
a.topbar__item:hover { color: #fff; }
.topbar__sep { opacity: .5; }
.topbar__social { margin-left: auto; display: flex; gap: 8px; }
.topbar__social a {
    width: 26px; height: 26px; display: grid; place-items: center;
    background: rgba(255,255,255,.12); border-radius: 50%; color: #fff;
    transition: background .2s, color .2s;
}
.topbar__social a svg { width: 14px; height: 14px; display: block; }
.topbar__social a:hover { background: var(--yellow); color: var(--blue-dark); }

/* ---------- Header ---------- */
.header {
    position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
    transition: box-shadow .25s;
}
.header.is-scrolled { box-shadow: var(--shadow); }
.header__inner { display: flex; align-items: center; gap: 20px; min-height: 78px; }
.brand__logo { height: 58px; width: auto; }

.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; flex-wrap: nowrap; align-items: center; gap: 2px; }
.nav__link {
    display: inline-block; font-family: var(--font-head); font-weight: 500; color: var(--ink);
    padding: 9px 12px; border-radius: 10px; font-size: .94rem; line-height: 1.1; white-space: nowrap;
    background: none; border: none; cursor: pointer;
}
.nav__link:hover { background: var(--blue-soft); color: var(--blue-dark); }
.nav__link.is-active { color: var(--blue); background: var(--blue-soft); }

.nav__dropdown { position: relative; }
.nav__submenu {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 210px; list-style: none;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
    padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s;
}
.nav__dropdown:hover .nav__submenu,
.nav__dropdown:focus-within .nav__submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sublink { display: block; padding: 9px 12px; border-radius: 9px; color: var(--ink); font-weight: 600; font-size: .92rem; }
.nav__sublink:hover { background: var(--blue-soft); color: var(--blue-dark); }
.nav__sublink.is-active { color: var(--blue); }
.nav__cta-wrap { margin-left: 10px; }
.nav__cta { padding: 10px 20px; font-size: .92rem; white-space: nowrap; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-toggle span { width: 26px; height: 3px; background: var(--blue-dark); border-radius: 3px; transition: .25s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Seções genéricas ---------- */
section { position: relative; }
.section { padding: 76px 0; }
.section--cream { background: var(--cream); }
.section--blue-soft { background: var(--blue-soft); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head--left { margin-inline: 0; text-align: left; }
.eyebrow {
    display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .8rem;
    text-transform: uppercase; letter-spacing: .12em; color: var(--blue);
    background: var(--blue-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; }
.section-subtitle { color: var(--muted); margin-top: 14px; font-size: 1.08rem; }

/* ---------- Page hero (cabeçalho das páginas internas) ---------- */
.page-hero {
    background: linear-gradient(120deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: #fff; padding: 56px 0 70px; text-align: center; position: relative; overflow: hidden;
}
.page-hero::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 40px;
    background: var(--paper); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.page-hero--cream::after { background: var(--cream); }
.page-hero__inner { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; }
.page-hero p { color: #d7e3ff; max-width: 640px; margin: 14px auto 0; font-size: 1.1rem; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: .9rem; margin-bottom: 18px; color: #bcd0ff; }
.breadcrumb a { color: #fff; opacity: .85; }
.breadcrumb a:hover { opacity: 1; }
.page-hero .blob { position: absolute; opacity: .14; }
.page-hero .blob--1 { width: 240px; top: -60px; right: -40px; }
.page-hero .blob--2 { width: 180px; bottom: -40px; left: -30px; }

/* ---------- HOME: Hero ---------- */
.hero { position: relative; background: var(--cream); overflow: hidden; padding: 70px 0 90px; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero__badge {
    display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line);
    padding: 5px 18px 5px 5px; border-radius: 999px; font-family: var(--font-head); font-weight: 600;
    font-size: .9rem; color: var(--blue-dark); box-shadow: var(--shadow); margin-bottom: 22px;
}
.hero__badge-year {
    display: inline-flex; align-items: center; background: var(--blue); color: #fff;
    padding: 5px 14px; border-radius: 999px; font-weight: 700; letter-spacing: .01em;
}
.hero__badge .dot { width: 9px; height: 9px; background: var(--green); border-radius: 50%; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; }
.hero h1 .hl-blue { color: var(--blue); }
.hero h1 .hl-red { color: var(--red); }
.hero h1 .hl-yellow { position: relative; white-space: nowrap; }
.hero h1 .hl-yellow::after {
    content: ""; position: absolute; left: -2%; right: -2%; bottom: 6%; height: 36%;
    background: var(--yellow); opacity: .45; border-radius: 6px; z-index: -1;
}
.hero__lead { color: var(--muted); font-size: 1.15rem; margin: 22px 0 30px; max-width: 540px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero__stat strong { display: block; font-family: var(--font-head); font-size: 1.9rem; color: var(--blue); font-weight: 700; }
.hero__stat span { font-size: .9rem; color: var(--muted); }

.hero__media { position: relative; }
/* Slideshow do hero (crossfade automático) */
.hero__slideshow {
    position: relative; width: 100%; aspect-ratio: 1 / 1; max-height: 560px;
    border-radius: var(--radius-lg); border: 6px solid #fff; box-shadow: var(--shadow-lg);
    overflow: hidden; background: var(--cream);
}
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero__photo {
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 1 / 1;
    max-height: 560px; object-fit: cover; object-position: center 30%; border: 6px solid #fff; background: var(--cream);
}
.hero__media .blob-bg {
    position: absolute; inset: -8% -10% auto auto; width: 70%; aspect-ratio: 1; z-index: -1;
    background: radial-gradient(circle at 30% 30%, var(--yellow), transparent 70%); filter: blur(8px); opacity: .6;
}
.hero__float {
    position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
    padding: 12px 16px; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem;
}
.hero__float .ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 1.2rem; }
.hero__float--1 { bottom: 26px; left: -22px; }
.hero__float--1 .ico { background: var(--red-soft); }
.hero__float--2 { top: 26px; right: -16px; }
.hero__float--2 .ico { background: var(--green-soft); }

/* ---------- Mascote Scott ---------- */
.hero__float--scott { bottom: 22px; left: -26px; max-width: 250px; line-height: 1.25; font-weight: 600; align-items: center; }
.scott-mini { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; object-position: 42% 30%; flex: 0 0 50px; border: 2px solid var(--yellow); }
.hero__float--scott span { font-size: .82rem; color: var(--ink); }
.scott-section { background: linear-gradient(180deg, #fff 0%, var(--yellow-soft) 100%); }
/* Efeito "Scott saindo da bolinha" (cabeça pula pra fora do círculo) */
.scott-pop { position: relative; display: inline-block; width: 48px; height: 48px; flex: 0 0 48px; }
.scott-pop__ring {
    position: absolute; inset: 0; border-radius: 50%;
    background: radial-gradient(circle at 50% 32%, #ffe7a0 0%, var(--yellow) 82%);
    border: 2px solid #fff; box-shadow: var(--shadow);
}
.scott-pop__dog {
    position: absolute; left: 50%; bottom: 1px; transform: translateX(-50%);
    width: 44px; height: auto; filter: drop-shadow(0 2px 2px rgba(0,0,0,.22));
    transition: transform .25s ease;
}
.scott-pop:hover .scott-pop__dog { transform: translateX(-50%) translateY(-3px) scale(1.04); }
.scott-pop--lg { width: 60px; height: 60px; flex-basis: 60px; }
.scott-pop--lg .scott-pop__dog { width: 56px; }

/* Scott guiando as seções (balãozinho ao lado dos títulos) */
.scott-guide { display: flex; align-items: center; gap: 11px; width: fit-content; max-width: 100%; margin: 0 auto 18px; }
.scott-guide__ava { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; object-fit: cover; object-position: 42% 30%; border: 2px solid var(--yellow); box-shadow: var(--shadow); }
.scott-guide__bubble {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 8px 15px; font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--ink);
    box-shadow: var(--shadow); text-align: left;
}
.scott-guide__bubble::before {
    content: ""; position: absolute; left: -7px; top: 50%; transform: translateY(-50%);
    border: 6px solid transparent; border-right-color: #fff;
}
.section-head--left .scott-guide,
.about-split__text .scott-guide { margin-inline: 0; }
.scott-photo {
    width: 100%; max-width: 440px; margin-inline: auto; aspect-ratio: 4/5; object-fit: cover; object-position: center top;
    border-radius: var(--radius-lg); border: 6px solid #fff; box-shadow: var(--shadow-lg);
}

.hero__wave { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; }
.hero__wave svg { width: 100%; height: 70px; }

/* ---------- Cards de serviços ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 24px 30px;
    text-align: center; transition: transform .25s, box-shadow .25s, border-color .25s; position: relative;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--c, var(--blue)) 45%, var(--line)); }
.service-card__ico {
    width: 78px; height: 78px; margin: 0 auto 20px; border-radius: 24px; display: grid; place-items: center;
    background: var(--cb, var(--blue-soft)); transition: transform .25s;
}
.service-card:hover .service-card__ico { transform: scale(1.06) rotate(-3deg); }
.service-card__ico img { width: 44px; height: 44px; object-fit: contain; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: .98rem; }
.service-card.c-blue   { --c: var(--blue);   --cb: var(--blue-soft); }
.service-card.c-red    { --c: var(--red);    --cb: var(--red-soft); }
.service-card.c-yellow { --c: var(--yellow); --cb: var(--yellow-soft); }
.service-card.c-purple { --c: var(--purple); --cb: var(--purple-soft); }
.service-card.c-green  { --c: var(--green);  --cb: var(--green-soft); }

/* ---------- Sobre (home) ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-split__media img {
    width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: center;
    border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
/* Imagem decorativa de mãozinhas: enquadra na parte colorida (base) */
.about-split__media img.img-hands { object-position: center bottom; background: var(--cream); }
/* Foto vertical (retrato): mantém proporção alta e centraliza na coluna */
.about-split__media img.img-portrait { aspect-ratio: 3 / 4; max-width: 440px; margin-inline: auto; object-position: center; }
.about-list { list-style: none; margin-top: 24px; display: grid; gap: 14px; }
.about-list li { display: flex; gap: 12px; align-items: flex-start; }
.about-list .chk {
    flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--green-soft);
    color: var(--green); display: grid; place-items: center; font-weight: 800; margin-top: 2px;
}

/* ---------- Valores (chips) ---------- */
.values-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.value-chip {
    background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 12px 22px;
    font-family: var(--font-head); font-weight: 600; box-shadow: var(--shadow);
}
.value-chip span { color: var(--blue); }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 820px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 6px; bottom: 6px; width: 2px; background: var(--blue-soft); border-radius: 3px; }
.tl-item { position: relative; padding: 0 0 30px 56px; }
.tl-item::before {
    content: ""; position: absolute; left: 10px; top: 4px; width: 20px; height: 20px; border-radius: 50%;
    background: var(--blue); border: 4px solid #fff; box-shadow: 0 0 0 2px var(--blue-soft);
}
.tl-item:nth-child(2n)::before { background: var(--red); box-shadow: 0 0 0 2px var(--red-soft); }
.tl-year { font-family: var(--font-head); font-weight: 700; color: var(--blue); font-size: 1.15rem; }
.tl-item:nth-child(2n) .tl-year { color: var(--red); }
.tl-text { color: var(--muted); }

/* ---------- Equipe ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.team-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; text-align: center;
    transition: transform .2s, box-shadow .2s;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.team-avatar {
    width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center;
    font-family: var(--font-head); font-weight: 700; font-size: 1.8rem; color: #fff;
}
.team-card h3 { font-size: 1.12rem; }
.team-card .role { color: var(--blue); font-weight: 700; font-size: .9rem; margin-top: 4px; }
.team-card .vol { display: inline-block; margin-top: 8px; font-size: .72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .05em; color: var(--green); background: var(--green-soft); padding: 3px 10px; border-radius: 999px; }

/* ---------- Cards genéricos / grid ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
    box-shadow: var(--shadow);
}
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card__ico { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 16px; }

.prose { max-width: 820px; }
.prose p { margin-bottom: 18px; color: #38414f; }
.prose h2 { font-size: 1.7rem; margin: 36px 0 14px; }
.prose h3 { font-size: 1.3rem; margin: 28px 0 10px; }
.prose ul { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 8px; }

/* ---------- FAQ (accordion) ---------- */
.faq { max-width: 840px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s; }
.faq-item.is-open { box-shadow: var(--shadow); }
.faq-q {
    width: 100%; text-align: left; background: none; border: none; cursor: pointer;
    font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--ink);
    padding: 22px 56px 22px 24px; position: relative;
}
.faq-q::after {
    content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
    font-size: 1.6rem; color: var(--blue); transition: transform .25s;
}
.faq-item.is-open .faq-q::after { content: "−"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 24px 24px; color: var(--muted); margin: 0; }

/* ---------- Transparência (documentos) ---------- */
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.doc-card {
    display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 18px 20px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.doc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue); }
.doc-card .doc-ico {
    flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px; background: var(--red-soft); color: var(--red);
    display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .72rem;
}
.doc-card .doc-name { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.doc-card .doc-sub { font-size: .82rem; color: var(--muted); }
.doc-card .doc-arrow { margin-left: auto; color: var(--blue); font-size: 1.3rem; }

/* ---------- Como ajudar ---------- */
.help-nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 50px; }
.help-nav a {
    background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 11px 22px;
    font-family: var(--font-head); font-weight: 600; color: var(--ink);
}
.help-nav a:hover { border-color: var(--blue); color: var(--blue); }
.help-block { scroll-margin-top: 110px; padding: 40px 0; border-bottom: 1px dashed var(--line); }
.help-block:last-child { border-bottom: none; }
.help-block__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.help-block__num { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 16px; display: grid; place-items: center;
    font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: #fff; }
.donate-options { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.donate-pill {
    background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 18px 24px; text-align: center;
    min-width: 120px; transition: transform .2s, border-color .2s;
}
.donate-pill:hover { transform: translateY(-4px); border-color: var(--green); }
.donate-pill strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--green); }
.donate-pill span { font-size: .82rem; color: var(--muted); }
.bank-box { background: var(--blue-soft); border-radius: var(--radius); padding: 24px; display: grid; gap: 8px; margin-top: 18px; }
.bank-box dl { display: grid; grid-template-columns: 160px 1fr; gap: 6px 16px; margin: 0; }
.bank-box dt { font-weight: 700; color: var(--blue-dark); }
.bank-box dd { margin: 0; font-family: var(--font-head); }

/* ---------- Cesta Solidária (Real Cestas) ---------- */
.cesta-box {
    background: linear-gradient(135deg, var(--yellow-soft) 0%, #fff 70%);
    border: 1px solid var(--yellow); border-radius: var(--radius-lg); padding: 26px 28px; margin-top: 6px;
}
.cesta-perks { list-style: none; margin: 16px 0 0; display: grid; gap: 10px; padding: 0; }
.cesta-perks li { display: flex; align-items: flex-start; gap: 10px; color: #4a3f20; }
.cesta-perks li span { flex: 0 0 auto; }
.cesta-partner { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--yellow); }
.cesta-partner span { font-size: .82rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.cesta-partner img { display: block; }
/* Card destaque na home */
.cesta-feature {
    display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
    background: linear-gradient(120deg, var(--yellow) 0%, #ffd75e 100%); border-radius: var(--radius-lg);
    padding: 28px 34px; margin-bottom: 24px; box-shadow: var(--shadow); color: #4a3500;
    transition: transform .2s, box-shadow .2s;
}
.cesta-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: #4a3500; }
.cesta-feature__body { flex: 1 1 380px; }
.cesta-feature__tag { display: inline-block; background: rgba(255,255,255,.6); border-radius: 999px;
    padding: 4px 13px; font-family: var(--font-head); font-weight: 700; font-size: .8rem; margin-bottom: 12px; }
.cesta-feature h3 { font-size: 1.45rem; margin-bottom: 8px; color: #3d2c00; }
.cesta-feature p { color: #5a4a1c; }
.cesta-feature__side { display: flex; flex-direction: column; align-items: center; gap: 14px; flex: 0 0 auto; }
.cesta-feature__side img { background: #fff; padding: 10px 18px; border-radius: 12px; height: 34px; box-sizing: content-box; box-shadow: var(--shadow); }

/* ---------- Galeria ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; aspect-ratio: 4/3; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-grid figure:hover img { transform: scale(1.07); }
.placeholder-tile {
    border-radius: var(--radius); aspect-ratio: 4/3; display: grid; place-items: center; text-align: center;
    background: repeating-linear-gradient(45deg, var(--blue-soft), var(--blue-soft) 14px, #fff 14px, #fff 28px);
    color: var(--blue); font-family: var(--font-head); font-weight: 600; border: 2px dashed var(--blue);
}

/* ---------- Parceiros ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px; align-items: center; }
.partner-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; height: 120px;
    display: grid; place-items: center; transition: transform .2s, box-shadow .2s; filter: grayscale(.2);
}
.partner-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); filter: none; }
.partner-card img { max-height: 70px; width: auto; object-fit: contain; }

/* ---------- Notícias ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-card__media { aspect-ratio: 16/10; overflow: hidden; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { padding: 22px; }
.news-card__date { font-size: .8rem; color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.news-card__body h3 { font-size: 1.2rem; margin: 8px 0 10px; }
.news-card__body p { color: var(--muted); font-size: .95rem; }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 18px; }
.contact-info__item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.contact-info__ico { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-size: 1.3rem; }
.contact-info__item h3 { font-size: 1.05rem; }
.contact-info__item p, .contact-info__item a { color: var(--muted); font-size: .96rem; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 7px; color: var(--ink); }
.field input, .field select, .field textarea {
    width: 100%; padding: 13px 15px; border: 2px solid var(--line); border-radius: 12px; font-family: inherit; font-size: 1rem;
    background: #fbfcfe; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.consent { display: flex; align-items: flex-start; gap: 11px; margin: 4px 0 20px; cursor: pointer;
    font-size: .9rem; line-height: 1.5; color: var(--muted); }
.consent input[type="checkbox"] {
    flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; cursor: pointer;
    accent-color: var(--blue); border: 2px solid var(--line); border-radius: 5px;
}
.consent a { font-weight: 700; }
.consent .req { color: var(--red); font-weight: 700; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 600; }
.alert--ok { background: var(--green-soft); color: #14794a; }
.alert--err { background: var(--red-soft); color: #b51f1f; }

/* ---------- Mapa ---------- */
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; }
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- CTA band ---------- */
.cta-band {
    background: linear-gradient(120deg, var(--red) 0%, #c91e1e 100%); color: #fff; padding: 56px 0;
    position: relative; overflow: hidden;
}
.cta-band::before { content: "❤"; position: absolute; font-size: 18rem; right: -40px; top: -70px; opacity: .08; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; }
.cta-band__title { color: #fff; font-size: 2rem; }
.cta-band__text { color: #ffe2e2; max-width: 540px; margin-top: 8px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: #14233f; color: #b9c5db; padding-top: 60px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 44px; }
.footer__logo { height: 64px; background: #fff; padding: 8px 12px; border-radius: 12px; margin-bottom: 16px; }
.footer__brand p { color: #93a3bf; }
.footer__social { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.footer__social a { background: rgba(255,255,255,.08); color: #dbe5f5; padding: 7px 14px; border-radius: 999px; font-size: .85rem; font-weight: 700; }
.footer__social a:hover { background: var(--blue); color: #fff; }
.footer__title { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer__links, .footer__contact { list-style: none; display: grid; gap: 10px; }
.footer__links a { color: #b9c5db; }
.footer__links a:hover { color: var(--yellow); }
.footer__contact li { color: #93a3bf; }
.footer__contact span { font-size: .85rem; }
.footer__contact a { color: #b9c5db; }
.footer__contact a:hover { color: var(--yellow); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #7e8eaa; }

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
    background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg);
    transition: transform .2s;
}
.whats-float:hover { transform: scale(1.1); color: #fff; }

/* ---------- Utilidades ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
/* Conteúdo SEMPRE visível (sem ocultar por JS) para garantir que
   revisores/robôs do Google vejam todo o conteúdo, mesmo sem rolar a página.
   Mantém-se um leve deslize de entrada apenas, sem nunca zerar a opacidade. */
.js .reveal { transform: translateY(14px); transition: transform .5s ease; will-change: transform; }
.js .reveal.is-visible { transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { transform: none; transition: none; } }

/* ---------- Responsivo ---------- */
/* Navegação: vira menu lateral (hambúrguer) já em telas médias, evitando aperto */
@media (max-width: 1040px) {
    .nav-toggle { display: flex; }
    /* Remove backdrop-filter no mobile: ele criava containing-block e prendia
       o menu fixo (drawer) dentro do cabeçalho, cortando os itens. */
    .header { backdrop-filter: none; -webkit-backdrop-filter: none; }
    .nav {
        position: fixed; inset: 0 0 0 auto; width: min(330px, 88vw); background: #fff; z-index: 200;
        box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .32s ease;
        padding: 96px 24px 34px; overflow-y: auto; margin: 0;
    }
    .nav.is-open { transform: translateX(0); }
    .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
    .nav__link { width: 100%; font-size: 1.02rem; padding: 12px 14px; }
    .nav__dropdown-btn { display: none; }
    .nav__submenu {
        position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
        border: none; display: block; padding: 2px 0 6px 14px; margin-left: 6px; border-left: 2px solid var(--blue-soft);
    }
    .nav__cta-wrap { margin: 16px 0 0; }
    .nav__cta { width: 100%; justify-content: center; padding: 13px 20px; font-size: 1rem; }
    .nav-backdrop { position: fixed; inset: 0; background: rgba(20,35,63,.45); opacity: 0; visibility: hidden;
        transition: opacity .3s; z-index: 99; }
    .nav-backdrop.is-open { opacity: 1; visibility: visible; }
}
@media (max-width: 980px) {
    .hero__inner, .about-split, .contact-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-3, .news-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .hero__media { order: -1; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .topbar__inner .topbar__item:first-child { display: none; }
}
@media (max-width: 760px) {
    .grid-2, .grid-3, .news-grid, .gallery-grid, .form__row, .bank-box dl { grid-template-columns: 1fr; }
    .section { padding: 56px 0; }
    .cta-band__inner { flex-direction: column; text-align: center; }
    .footer__grid { grid-template-columns: 1fr; }
    .bank-box dl { gap: 2px; }
}
@media (max-width: 560px) {
    /* selos flutuantes menores e totalmente dentro da tela */
    .hero__float { font-size: .78rem; padding: 8px 12px; max-width: 62%; }
    .hero__float .ico { width: 30px; height: 30px; font-size: 1rem; }
    .hero__float--1 { left: 8px; bottom: 12px; }
    .hero__float--2 { right: 8px; top: 12px; }
    .hero__media .blob-bg { display: none; }
}
@media (max-width: 460px) {
    .services-grid { grid-template-columns: 1fr; }
}

/* ---------- Pop-up de campanha (Ação entre Amigos) ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none !important; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(16, 26, 48, .62); backdrop-filter: blur(2px); animation: modalFade .25s ease; }
.modal__box {
    position: relative; z-index: 1; width: min(520px, 100%); max-height: calc(100vh - 40px); overflow-y: auto;
    background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    text-align: center; animation: modalUp .32s cubic-bezier(.2, .9, .3, 1.2);
}
.modal__close {
    position: absolute; top: 12px; right: 14px; z-index: 2; width: 38px; height: 38px; border: none; cursor: pointer;
    border-radius: 50%; background: rgba(255, 255, 255, .85); color: var(--ink);
    font-size: 1.7rem; line-height: 1; display: grid; place-items: center; transition: background .2s, transform .2s;
}
.modal__close:hover { background: #fff; transform: rotate(90deg); }
.modal__art {
    position: relative; height: 120px; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
    display: grid; place-items: center; overflow: hidden;
}
.modal__ticket { font-size: 3.4rem; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .22)); }
.modal__dog { position: absolute; right: 18px; bottom: -6px; width: 78px; height: auto; }
.modal__body { padding: 26px 30px 30px; }
.modal__selo {
    display: inline-block; background: var(--yellow-soft); color: #a87b00; font-family: var(--font-head); font-weight: 600;
    font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px;
}
.modal__titulo { font-size: clamp(1.5rem, 4.4vw, 1.9rem); margin: 14px 0 10px; }
.modal__texto { color: var(--muted); font-size: .98rem; }
.modal__datas { list-style: none; display: flex; justify-content: center; gap: 12px; margin: 20px 0 22px; flex-wrap: wrap; }
.modal__datas li { background: var(--blue-soft); border-radius: 14px; padding: 10px 18px; min-width: 132px; }
.modal__datas strong { display: block; font-family: var(--font-head); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--blue); }
.modal__datas span { font-weight: 700; color: var(--ink); }
.modal__cta { width: 100%; justify-content: center; }
.modal__depois {
    display: block; margin: 14px auto 0; background: none; border: none; cursor: pointer;
    color: var(--muted); font-family: var(--font-body); font-size: .9rem; text-decoration: underline;
}
.modal__depois:hover { color: var(--ink); }
@keyframes modalFade { from { opacity: 0; } }
@keyframes modalUp { from { opacity: 0; transform: translateY(24px) scale(.96); } }
@media (prefers-reduced-motion: reduce) {
    .modal__backdrop, .modal__box { animation: none; }
    .modal__close:hover { transform: none; }
}
@media (max-width: 480px) {
    .modal__art { height: 96px; }
    .modal__ticket { font-size: 2.8rem; }
    .modal__dog { width: 60px; right: 10px; }
    .modal__body { padding: 22px 20px 26px; }
    .modal__datas li { flex: 1 1 120px; min-width: 0; padding: 9px 12px; }
}
