/* Site novo Casa Brasil Barrie — mesmas fontes, tamanhos e cores do site WordPress (Roboto, azul #1e4f9a, verde #009b3a, marinho #14345d, amarelo #f2d21b) */
:root {
  --blue: #1e4f9a; --navy: #14345d; --green: #009b3a; --yellow: #f2d21b; --ink: #1a1a1a; --text: #333; --muted: #666; --gray: #f9f9f9;
  --font: Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.right { display: flex; justify-content: flex-end; }
.admin-bar { background: var(--yellow); color: var(--navy); text-align: center; font-weight: 700; font-size: 14px; padding: 8px 16px; position: relative; z-index: 50; }
.admin-bar a { color: var(--navy); }

/* Tela de entrada ("Toque para entrar") */
.splash { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: radial-gradient(circle at 50% 35%, #1e4f9a 0%, #14345d 55%, #0b2346 100%); color: #fff; cursor: pointer; transition: opacity .5s; text-align: center; padding: 20px; }
.splash.out { opacity: 0; pointer-events: none; }
.splash[hidden], [hidden] { display: none !important; }
.splash-ring { width: 260px; height: 260px; border-radius: 50%; display: grid; place-items: center; position: relative; }
.splash-ring::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 4px solid rgba(255,255,255,.25); border-top-color: var(--yellow); border-left-color: var(--green); animation: spin 2.4s linear infinite; }
.splash-ring img { width: 230px; height: 230px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 6px rgba(255,255,255,.9); }
.splash b { font-size: 34px; font-weight: 900; letter-spacing: 2px; color: var(--yellow); text-shadow: 0 2px 10px rgba(0,0,0,.3); }
.splash span { font-size: 16px; font-weight: 700; }
.splash-bar { display: block; width: 220px; height: 5px; background: rgba(255,255,255,.2); border-radius: 5px; overflow: hidden; }
.splash-bar i { display: block; height: 100%; width: 60%; background: linear-gradient(90deg, var(--green), var(--yellow)); animation: load 1.6s ease-in-out infinite alternate; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes load { from { width: 15%; } to { width: 100%; } }

/* Topo */
.hero { position: relative; min-height: 790px; color: #fff; background: linear-gradient(90deg, #14345d 0%, rgba(20,52,93,.96) 28%, rgba(20,52,93,.55) 45%, rgba(20,52,93,0) 62%), var(--bg) right center / cover no-repeat, var(--navy); display: flex; flex-direction: column; }
.hero-top { display: flex; justify-content: space-between; align-items: center; padding: 30px 40px 0; gap: 20px; }
.logo img { width: 330px; height: auto; }
.top-links { display: flex; align-items: center; gap: 14px; }
.top-links a:not(.flag) { color: #fff; text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 4px; border-bottom: 2px solid transparent; }
.top-links a:not(.flag):hover { border-color: var(--yellow); }
.flag { display: block; border-radius: 4px; opacity: .75; transition: .15s; }
.flag img { width: 32px; height: 32px; object-fit: contain; }
.flag.on, .flag:hover { opacity: 1; }
.flag.on { outline: 2px solid var(--yellow); outline-offset: 2px; }
.hero-in { padding: 40px 40px 80px; max-width: 560px; }
.hero h1 { font-size: 58px; font-weight: 800; line-height: 58px; letter-spacing: .7px; text-transform: uppercase; color: #fff; }
.hero-line { width: 180px; height: 3px; background: var(--yellow); border: 0; margin: 26px 0 30px; }
.hero p { font-size: 32px; line-height: 29px; font-weight: 400; max-width: 420px; }

/* Doações */
.donate { padding: 110px 0 70px; }
.donate-in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.donate-in img { width: 100%; height: auto; border-radius: 22px; }
.donate h2 { font-size: 41px; line-height: 41px; font-weight: 600; color: var(--blue); margin-bottom: 30px; }
.donate p { font-size: 23px; line-height: 24px; color: var(--blue); }
.donate .p2 { margin-top: 38px; margin-bottom: 40px; }
.btn-donate { display: inline-block; background: var(--blue); color: #fff; font-size: 15px; font-weight: 500; padding: 12px 24px; border: 4px solid var(--yellow); border-radius: 9px; text-decoration: none; min-width: 190px; text-align: center; transition: .15s; }
.btn-donate:hover { background: #163c78; transform: translateY(-1px); }

/* Títulos de secção */
.sec-title { font-size: 41px; line-height: 41px; font-weight: 600; color: var(--blue); text-align: center; margin-bottom: 30px; }
.sec-sub { text-align: center; color: var(--muted); font-size: 18px; margin: -14px 0 30px; }

/* Carrossel das aulas */
.classes { padding: 40px 0 60px; }
.carousel { position: relative; width: min(1140px, 100% - 40px); margin-inline: auto; }
.c-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.c-track::-webkit-scrollbar { display: none; }
.c-slide { flex: 0 0 calc((100% - 20px) / 2); scroll-snap-align: start; padding: 0; border: 0; background: none; display: block; }
.c-slide img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0; }
.c-arrow { position: absolute; top: calc(50% - 24px); z-index: 2; width: 44px; height: 44px; border: 0; background: rgba(0,0,0,.25); color: #fff; font-size: 34px; line-height: 40px; cursor: pointer; border-radius: 50%; }
.c-arrow.prev { left: 10px; } .c-arrow.next { right: 10px; }
.c-arrow:hover { background: rgba(0,0,0,.45); }
.c-dots { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.c-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: #d5d5d5; padding: 0; cursor: pointer; }
.c-dots button.on { background: #000; }

/* Eventos (4 últimos do blog) */
.events { padding: 50px 0 70px; }
.ev-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-bottom: 36px; }
.ev-card { background: #fff; border-radius: 16px; box-shadow: rgba(0,0,0,.12) 0 8px 24px; overflow: hidden; padding-bottom: 20px; text-decoration: none; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
a.ev-card:hover { transform: translateY(-4px); box-shadow: rgba(0,0,0,.18) 0 14px 30px; }
.ev-img { position: relative; display: block; height: 220px; background: #eee; overflow: hidden; }
.ev-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
a.ev-card:hover .ev-img img { transform: scale(1.04); }
.ev-date { position: absolute; left: 14px; top: 14px; background: #fff; color: var(--blue); border-radius: 10px; padding: 6px 10px; text-align: center; font-size: 12px; font-weight: 700; line-height: 1.1; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.ev-date b { display: block; font-size: 20px; font-weight: 800; }
.ev-card h3 { font-size: 20px; line-height: 26px; font-weight: 700; color: var(--ink); padding: 20px 24px 4px; }
.ev-card p { font-size: 15px; line-height: 22.5px; color: var(--muted); padding: 0 24px; }

/* Galeria moderna (mosaico) */
.gallery { padding: 40px 0 90px; background: linear-gradient(180deg, #fff 0%, #f4f7fb 100%); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.tile { position: relative; padding: 0; border: 0; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: #e9edf3; box-shadow: 0 10px 24px -14px rgba(20,52,93,.45); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .4s; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20,52,93,.75)); opacity: 0; transition: opacity .3s; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.07); }
.tile:hover::after, .tile:focus-visible::after { opacity: 1; }
.tile .cap { position: absolute; left: 16px; right: 50px; bottom: 14px; z-index: 1; color: #fff; font-weight: 700; text-align: left; opacity: 0; transform: translateY(6px); transition: .3s; }
.tile .zoom { position: absolute; right: 12px; bottom: 12px; z-index: 1; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--navy); display: grid; place-items: center; font-size: 18px; opacity: 0; transform: scale(.8); transition: .3s; }
.tile:hover .cap, .tile:hover .zoom, .tile:focus-visible .cap, .tile:focus-visible .zoom { opacity: 1; transform: none; }
.tile:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.bento .tile:first-child { grid-column: span 2; grid-row: span 2; }
.bento.n5 .tile:nth-child(4) { grid-column: span 1; }
.bento.n6 .tile:nth-child(6), .bento.n9 .tile:nth-child(6) { grid-column: span 2; }
.bento.n7 .tile:nth-child(7) { grid-column: span 2; }
.bento.n3 .tile:nth-child(2), .bento.n3 .tile:nth-child(3) { grid-column: span 2; }
.bento.n2 { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 360px; }
.bento.n2 .tile:first-child { grid-column: span 1; grid-row: span 1; }
.bento.n1 { grid-template-columns: 1fr; grid-auto-rows: 440px; }
.bento.n1 .tile:first-child { grid-column: span 1; grid-row: span 1; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(6,16,34,.92); backdrop-filter: blur(4px); }
.lightbox figure { margin: 0; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox figcaption { color: #dfe7f5; text-align: center; font-size: 14px; margin-top: 12px; }
.lb-x { position: fixed; top: 14px; right: 20px; background: none; border: 0; color: #fff; font-size: 42px; cursor: pointer; line-height: 1; }
.lb-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 30px; cursor: pointer; }
.lb-nav:hover { background: rgba(255,255,255,.28); }
.lb-nav.prev { left: 18px; } .lb-nav.next { right: 18px; }

/* Sobre / Missão / Voluntário (metade verde, metade imagem) */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split-green { background: var(--green); color: #fff; padding: 51px 80px 60px; }
.split-green h2 { font-size: 50px; line-height: 50px; font-weight: 800; color: #fff; margin-bottom: 20px; }
.split-green p { font-size: 20px; line-height: 30px; margin-bottom: 14px; }
.split-green strong { font-weight: 700; }
.split-img { background: var(--gray) center / cover no-repeat; min-height: 420px; }
.split-img.top { background-position: center top; }
.split.vol .split-green { padding: 40px 53px 28px 60px; }
.split.vol .split-green p { line-height: 23px; margin-bottom: 14px; }
.btn-vol { display: inline-block; background: var(--blue); color: #fff; font-size: 15px; font-weight: 500; text-transform: uppercase; padding: 12px 24px; border-radius: 3px; text-decoration: none; box-shadow: 0 6px 14px rgba(0,0,0,.25); margin-top: 16px; min-width: 190px; text-align: center; }
.btn-vol:hover { background: #163c78; }

/* Valores */
.values { padding: 70px 0 40px; }
.values h2 { font-size: 50px; line-height: 50px; font-weight: 800; color: var(--blue); text-align: center; margin-bottom: 30px; }
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.value { border-radius: 16px; padding: 25px; color: #fff; box-shadow: 0 6px 12px rgba(0,0,0,.25); min-height: 380px; transition: transform .2s; }
.value:hover { transform: translateY(-6px); }
.value h3 { font-size: 22px; line-height: 22px; font-weight: 800; margin-bottom: 20px; }
.value p { font-size: 16px; line-height: 24px; }
.c-navy { background: var(--navy); } .c-green { background: var(--green); }
.c-yellow { background: var(--yellow); color: #333; }

/* Rodapé */
footer .banner { padding: 16px 20px; }
footer .banner img { width: min(800px, 100%); margin: 0 auto; }
.foot-bar { background: var(--green); padding: 18px 10px; text-align: center; }
.foot-bar h2 { font-size: 19px; line-height: 19px; font-weight: 300; color: #fff; }

/* Tablet */
@media (max-width: 1024px) {
  .hero { min-height: 700px; }
  .hero-top, .hero-in { padding-left: 24px; padding-right: 24px; }
  .logo img { width: 260px; }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .split-green { padding: 44px 40px 50px; }
  .bento { grid-template-columns: repeat(3, 1fr); }
  .bento .tile:first-child { grid-column: span 2; }
}
/* Telemóvel */
@media (max-width: 900px) { .ev-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) {
  .hero { min-height: 640px; background: linear-gradient(180deg, rgba(20,52,93,.85) 0%, rgba(20,52,93,.75) 60%, rgba(20,52,93,.9) 100%), var(--bg) center / cover no-repeat, var(--navy); }
  .hero-top { padding-top: 20px; flex-wrap: wrap; }
  .logo img { width: 210px; }
  .top-links { gap: 10px; }
  .top-links a:not(.flag) { font-size: 14px; }
  .flag img { width: 26px; height: 26px; }
  .hero h1 { font-size: 40px; line-height: 42px; }
  .hero p { font-size: 22px; line-height: 26px; }
  .donate { padding: 60px 0 40px; }
  .donate-in, .split { grid-template-columns: 1fr; }
  .split.rev .split-img { order: 2; }
  .donate h2, .sec-title { font-size: 32px; line-height: 36px; }
  .donate p { font-size: 20px; line-height: 26px; }
  .c-slide { flex-basis: 88%; }
  .ev-grid { grid-template-columns: 1fr; }
  .split-green { padding: 40px 24px; }
  .split-green h2, .values h2 { font-size: 38px; line-height: 40px; }
  .split-green p { font-size: 18px; line-height: 27px; }
  .split-img { min-height: 280px; }
  .values-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .value { min-height: 0; padding: 20px; }
  .value h3 { font-size: 19px; line-height: 22px; }
  .value p { font-size: 15px; line-height: 22px; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
  .bento .tile:first-child { grid-column: span 2; grid-row: span 2; }
  .bento .tile { grid-column: span 1 !important; }
  .bento .tile:first-child { grid-column: span 2 !important; }
  .tile .zoom, .tile .cap { opacity: 1; transform: none; }
  .tile::after { opacity: .6; }
  .foot-bar h2 { font-size: 15px; line-height: 20px; }
}
@media (max-width: 420px) { .values-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Leque de artigos recentes que abre por trás da foto (hover, só desktop) */
.fan-stack { position: relative; }
.fan-stack > .fan-front { position: relative; z-index: 2; }
.fan { display: none; }
@media (hover: hover) and (min-width: 760px) {
  .fan-row:hover, .fan-row:focus-within { position: relative; z-index: 5; }
  .fan-stack.has-fan .fan { display: block; position: absolute; left: 0; right: 0; top: 0; height: 100%; z-index: 1; pointer-events: none; }
  .fan__card { position: absolute; left: 50%; top: 0; width: 116px; display: flex; flex-direction: column; gap: .32rem; padding: .34rem .34rem .44rem; background: #fff; border-radius: 11px; text-decoration: none;
    box-shadow: 0 0 0 1px rgba(0,0,0,.07), 0 12px 26px rgba(0,0,0,.22); transform: translate(-50%, 2%) rotate(0deg) scale(.88); opacity: 0;
    transition: transform .5s cubic-bezier(.22,.9,.3,1), opacity .3s ease, box-shadow .25s ease; transition-delay: calc(var(--i,0) * 55ms); }
  .fan__card:nth-child(1) { z-index: 1; } .fan__card:nth-child(2) { z-index: 2; } .fan__card:nth-child(3) { z-index: 3; } .fan__card:nth-child(4) { z-index: 4; }
  .fan__img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 8px; display: block; }
  .fan__ph { background: linear-gradient(135deg, #009b3a, #1e4f9a); }
  .fan__t { font-size: .7rem; line-height: 1.24; font-weight: 600; color: #1a1a1a; text-align: center; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .fan__card--more { justify-content: center; align-items: center; gap: .22rem; min-height: 107px; background: #009b3a; box-shadow: 0 12px 26px rgba(0,155,58,.34); }
  .fan__card--more .fan__t { color: #fff; -webkit-line-clamp: 4; font-size: .66rem; font-weight: 700; }
  .fan__more { font-size: .56rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #f2d21b; line-height: 1.25; text-align: center; }
  .fan-stack.has-fan:hover .fan, .fan-stack.has-fan:focus-within .fan { pointer-events: auto; }
  .fan-stack.has-fan:hover .fan__card, .fan-stack.has-fan:focus-within .fan__card { opacity: 1; }
  .fan-stack.has-fan:hover .fan__card:nth-child(1), .fan-stack.has-fan:focus-within .fan__card:nth-child(1) { transform: translate(calc(-50% - 162px), -92%) rotate(-8deg); }
  .fan-stack.has-fan:hover .fan__card:nth-child(2), .fan-stack.has-fan:focus-within .fan__card:nth-child(2) { transform: translate(calc(-50% - 55px), -104%) rotate(-2.5deg); }
  .fan-stack.has-fan:hover .fan__card:nth-child(3), .fan-stack.has-fan:focus-within .fan__card:nth-child(3) { transform: translate(calc(-50% + 55px), -104%) rotate(2.5deg); }
  .fan-stack.has-fan:hover .fan__card:nth-child(4), .fan-stack.has-fan:focus-within .fan__card:nth-child(4) { transform: translate(calc(-50% + 162px), -92%) rotate(8deg); }
  .fan__card:hover { box-shadow: 0 0 0 1px rgba(0,0,0,.07), 0 22px 44px rgba(0,0,0,.3); z-index: 9; }
  .fan__card:focus-visible { outline: 2px solid #1e4f9a; outline-offset: 3px; z-index: 9; }
}
@media (prefers-reduced-motion: reduce) { .fan__card { transition: opacity .2s; } }

/* Cabeçalho fixo (como o do Worker) + faixa de últimos eventos */
.site-head { position: fixed; left: 0; right: 0; top: 0; z-index: 40; color: #fff; transition: background .3s, box-shadow .3s; background: linear-gradient(180deg, rgba(11,42,91,.75), rgba(11,42,91,0)); }
.site-head.solid { background: rgba(11,42,91,.97); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.sh-in { max-width: 1240px; margin: 0 auto; padding: 0 24px; height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-head .logo img { width: 230px; height: auto; display: block; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav > a:not(.nav-cta) { color: #fff; text-decoration: none; font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav > a:not(.nav-cta):hover { border-color: var(--yellow); }
.nav-cta { background: var(--green); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; padding: 10px 22px; border-radius: 999px; border: 2px solid var(--yellow); box-shadow: 0 6px 18px rgba(0,155,58,.35); transition: .15s; }
.nav-cta:hover { background: #008431; }
.flags { display: inline-flex; gap: 10px; align-items: center; padding: 4px 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; }
.flags .flag img { width: 24px; height: 24px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.4); border-radius: 12px; background: transparent; position: relative; cursor: pointer; }
.burger i, .burger i::before, .burger i::after { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px; content: ""; transition: .25s; }
.burger i { top: 21px; } .burger i::before { left: 0; right: 0; top: -7px; } .burger i::after { left: 0; right: 0; top: 7px; }
.site-head.open .burger i { background: transparent; }
.site-head.open .burger i::before { top: 0; transform: rotate(45deg); }
.site-head.open .burger i::after { top: 0; transform: rotate(-45deg); }

.tick { display: flex; align-items: stretch; height: 46px; background: rgba(8,20,40,.62); backdrop-filter: blur(8px); border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); overflow: hidden; }
.site-head.solid .tick { background: rgba(8,20,40,.9); }
.tick-lbl { flex: 0 0 auto; display: flex; align-items: center; gap: 9px; padding: 0 30px 0 22px; background: var(--green); color: #fff; font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; white-space: nowrap; clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }
.tick-lbl:hover { background: #008431; }
.tick-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgba(242,210,27,.7); animation: tickPulse 1.8s infinite; }
@keyframes tickPulse { 70% { box-shadow: 0 0 0 8px rgba(242,210,27,0); } 100% { box-shadow: 0 0 0 0 rgba(242,210,27,0); } }
.tick-vp { flex: 1; overflow: hidden; display: flex; align-items: center; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.tick-track { display: flex; align-items: center; gap: 22px; white-space: nowrap; width: max-content; animation: tickMove var(--dur, 60s) linear infinite; padding-left: 22px; }
.tick:hover .tick-track, .tick:focus-within .tick-track { animation-play-state: paused; }
@keyframes tickMove { to { transform: translateX(-50%); } }
.tick-it { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 14px; font-weight: 500; }
a.tick-it:hover span { text-decoration: underline; text-decoration-color: var(--yellow); }
.tick-new { background: var(--yellow); color: var(--navy); font-size: 10px; font-weight: 800; letter-spacing: .08em; padding: 3px 7px; border-radius: 999px; text-transform: uppercase; }
.tick-go { width: 20px; height: 20px; border-radius: 50%; background: var(--green); display: inline-grid; place-items: center; font-style: normal; font-size: 12px; }
.tick-sep { color: var(--yellow); font-style: normal; font-size: 10px; }
.tick-all { flex: 0 0 auto; display: flex; align-items: center; padding: 0 22px; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; border-left: 1px solid rgba(255,255,255,.12); }
.tick-all:hover { color: var(--yellow); }
.hero { padding-top: 130px; }
.hero-in { padding-top: 60px; }
.admin-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; }
html { scroll-padding-top: 140px; }

/* Eventos na página inicial: carrossel de cartões (estilo "Latest from our blog") */
.ev-head { text-align: center; margin-bottom: 36px; }
.ev-head .sec-title { margin-bottom: 12px; }
.ev-lead { font-size: 18px; color: var(--muted); }
.evc-track { list-style: none; margin: 0; padding: 8px 4px 24px; display: grid; grid-auto-flow: column; grid-auto-columns: calc(25% - 18px); gap: 24px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.evc-track::-webkit-scrollbar { display: none; }
.evc-card { scroll-snap-align: start; min-width: 0; }
.evc-link { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid #e2e0dc; border-radius: 22px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.08); color: inherit; text-decoration: none; transition: transform .3s ease, box-shadow .3s; }
a.evc-link:hover, a.evc-link:focus-visible { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11,42,91,.18); }
.evc-media { position: relative; display: block; aspect-ratio: 4/3; background: #e9edf3; overflow: hidden; }
.evc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
a.evc-link:hover .evc-media img { transform: scale(1.05); }
.evc-new { position: absolute; left: 12px; top: 12px; background: var(--green); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; box-shadow: 0 4px 10px rgba(0,0,0,.2); }
.evc-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 22px; flex: 1; }
.evc-meta { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #555; line-height: 1.5; }
.evc-cat { color: var(--green); font-weight: 700; }
.evc-title { font-size: 20px; line-height: 1.25; font-weight: 700; color: var(--ink); }
.evc-ex { font-size: 15px; line-height: 1.45; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.evc-more { margin-top: auto; padding-top: 12px; font-size: 15px; font-weight: 700; color: var(--blue); }
.evc-ctrl { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 18px; }
.evc-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid #ddd; background: #fff; color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.08); transition: .15s; }
.evc-arrow:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.evc-arrow:disabled { opacity: .35; cursor: default; box-shadow: none; }

@media (max-width: 1100px) {
  .main-nav { gap: 18px; }
  .evc-track { grid-auto-columns: calc(33.333% - 16px); }
}
@media (max-width: 960px) {
  .burger { display: block; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: rgba(11,42,91,.98); padding: 10px 24px 22px; display: none; box-shadow: 0 16px 30px rgba(0,0,0,.25); }
  .site-head.open .main-nav { display: flex; }
  .site-head.open { background: rgba(11,42,91,.98); }
  .main-nav > a:not(.nav-cta) { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-cta { margin-top: 16px; text-align: center; }
  .flags { margin-top: 16px; align-self: center; }
  .evc-track { grid-auto-columns: calc(50% - 12px); }
}
@media (max-width: 767px) {
  .sh-in { height: 70px; }
  .site-head .logo img { width: 180px; }
  .tick { height: 40px; }
  .tick-lbl { padding: 0 22px 0 14px; font-size: 11px; }
  .tick-lbl span { display: none; }
  .tick-all { display: none; }
  .hero { padding-top: 110px; }
  .hero-in { padding-top: 30px; }
  .evc-track { grid-auto-columns: 82%; }
  html { scroll-padding-top: 120px; }
}

/* Topo: título em 4 linhas e texto em até 4 linhas, aproveitando melhor a largura */
.hero-in { max-width: 660px; }
.hero h1 { max-width: 470px; }
@media (max-width: 767px) { .hero h1 { max-width: none; } }
.hero p { max-width: 600px; font-size: 30px; line-height: 34px; }
@media (max-width: 767px) { .hero p { font-size: 21px; line-height: 27px; } }

/* Botão "Doe/Doar" do cabeçalho em destaque: amarelo, coração a pulsar e brilho */
@keyframes donatePulse { 0% { box-shadow: 0 8px 20px -8px rgba(242,210,27,.9), 0 0 0 0 rgba(242,210,27,.65); } 70% { box-shadow: 0 8px 20px -8px rgba(242,210,27,.9), 0 0 0 12px rgba(242,210,27,0); } 100% { box-shadow: 0 8px 20px -8px rgba(242,210,27,.9), 0 0 0 0 rgba(242,210,27,0); } }
@keyframes heartBeat { 0%, 40%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1.1); } }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, #ffe14d, #f2d21b 55%, #e8c200); color: #0b2a5b; font-weight: 800; border: 2px solid #fff; padding: 10px 22px; font-size: 15px; box-shadow: none; border-radius: 999px; text-decoration: none; animation: donatePulse 2.2s ease-out infinite; transition: transform .2s; }
.nav-cta:hover { color: #0b2a5b; background: linear-gradient(135deg, #fff06a, #ffe14d); transform: translateY(-1px) scale(1.05); }
.nav-cta .heart { width: 17px; height: 17px; fill: #d7263d; animation: heartBeat 1.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .nav-cta, .nav-cta .heart { animation: none; } }
@media (max-width: 960px) { .nav-cta { justify-content: center; } }

/* Aulas na página inicial (mesmos cartões dos eventos; cartaz quadrado inteiro) */
.aulas-home { background: #f7f9fc; }
.evc-media.sq { aspect-ratio: 1 / 1; }
.aulas-home .evc-ex { -webkit-line-clamp: 3; }
.aulas-home .evc-more { color: var(--green); }

/* Carrossel de fotos 3D abaixo do topo (gerido no painel: Site novo → Carrossel de fotos) */
.cflow { position: relative; overflow: hidden; padding: 48px 0 30px; background: #0b1f40; isolation: isolate; }
.cf-bg { position: absolute; inset: -40px; z-index: -1; background: center / cover no-repeat; filter: blur(40px) saturate(1.3) brightness(.55); transform: scale(1.1); transition: background-image .8s ease; }
.cflow::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, transparent 30%, rgba(7,20,45,.75) 100%); }
.cf-stage { position: relative; height: clamp(300px, 34vw, 440px); perspective: 1400px; outline: none; touch-action: pan-y; user-select: none; }
.cf-item { position: absolute; left: 50%; top: 50%; width: clamp(240px, 30vw, 400px); aspect-ratio: 1 / 1; padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: #13294d; cursor: pointer;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); transition: transform .8s cubic-bezier(.22,.9,.3,1), opacity .6s ease, filter .6s ease; will-change: transform; }
.cf-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 6s ease; }
.cf-item.on { cursor: zoom-in; box-shadow: 0 40px 80px -20px rgba(0,0,0,.7), 0 0 0 3px rgba(242,210,27,.9); }
.cf-item.on img { transform: scale(1.06); }
.cf-zoom { position: absolute; right: 14px; top: 14px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; opacity: 0; transform: scale(.8); transition: .3s; }
.cf-zoom svg { width: 22px; height: 22px; fill: #0b2a5b; }
.cf-item.on:hover .cf-zoom, .cf-item.on:focus-visible .cf-zoom { opacity: 1; transform: none; }
.cf-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 18px 16px; color: #fff; font-size: 15px; font-weight: 500; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.75)); opacity: 0; transition: opacity .4s; }
.cf-item.on .cf-cap { opacity: 1; }
.cf-ui { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; }
.cf-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.1); backdrop-filter: blur(6px); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; transition: .2s; }
.cf-arrow:hover { background: #f2d21b; color: #0b2a5b; border-color: #f2d21b; }
.cf-dots { display: flex; gap: 8px; }
.cf-dots button { position: relative; width: 26px; height: 6px; padding: 0; border: 0; border-radius: 6px; background: rgba(255,255,255,.3); overflow: hidden; cursor: pointer; transition: width .3s; }
.cf-dots button.on { width: 48px; }
.cf-dots button i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #f2d21b; }
.cf-dots button.on i { animation: cfTick var(--tick, 5000ms) linear forwards; }
.cflow.paused .cf-dots button.on i { animation-play-state: paused; }
@keyframes cfTick { to { width: 100%; } }
@media (max-width: 767px) { .cflow { padding: 30px 0 22px; } .cf-stage { height: 300px; } .cf-item { width: 230px; } .cf-arrow { width: 42px; height: 42px; } }
@media (prefers-reduced-motion: reduce) { .cf-item, .cf-item img { transition: none; } .cf-dots button i { animation: none; } }

/* Visualizador de fotos (lightbox) moderno */
.lightbox::backdrop { background: rgba(4,10,24,.94); backdrop-filter: blur(6px); }
.lightbox[open] { animation: lbIn .35s cubic-bezier(.22,.9,.3,1); }
.lightbox img { animation: lbImg .45s ease; }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes lbImg { from { opacity: .2; } to { opacity: 1; } }
.lb-thumbs { display: flex; gap: 8px; justify-content: center; margin: 14px auto 0; max-width: 92vw; overflow-x: auto; padding: 4px; scrollbar-width: thin; }
.lb-thumbs button { flex: 0 0 auto; width: 68px; height: 50px; padding: 0; border: 2px solid transparent; border-radius: 9px; overflow: hidden; opacity: .5; cursor: pointer; background: none; transition: .2s; }
.lb-thumbs button:hover { opacity: .85; }
.lb-thumbs button.on { border-color: #f2d21b; opacity: 1; transform: translateY(-2px); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; max-width: none; max-height: none; border-radius: 0; box-shadow: none; animation: none; }
.lightbox img { max-height: 76vh; }

/* Mural de fotos (abaixo dos eventos): polaroides presas com fita na parede */
.mural { position: relative; padding: 70px 0 80px; background:
  radial-gradient(circle at 20% 10%, rgba(242,210,27,.10), transparent 40%),
  radial-gradient(circle at 85% 90%, rgba(0,155,58,.10), transparent 40%),
  radial-gradient(rgba(20,52,93,.07) 1px, transparent 1.4px) 0 0 / 18px 18px,
  #fbf7ee; overflow: hidden; }
.mural-head { text-align: center; margin-bottom: 44px; }
.mural-kicker { display: inline-block; font-family: "Caveat", cursive; font-size: 28px; font-weight: 700; color: var(--green); transform: rotate(-2deg); margin-bottom: 2px; }
.mural-head .sec-title { margin-bottom: 10px; }
.mural-wall { columns: 4 230px; column-gap: 34px; padding: 10px 6px 0; }
.pola { position: relative; break-inside: avoid; display: inline-block; width: 100%; margin: 0 0 38px; padding: 12px 12px 0; background: #fff; border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 14px 28px -12px rgba(20,30,50,.35); transform: rotate(var(--r)) translateY(30px) scale(.94); opacity: 0;
  transition: transform .7s cubic-bezier(.22,.9,.3,1) var(--d), opacity .6s ease var(--d), box-shadow .3s; }
.pola.in { transform: rotate(var(--r)); opacity: 1; }
.pola.in:hover { transform: rotate(0) scale(1.06); z-index: 3; box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 30px 50px -16px rgba(20,30,50,.45); transition-delay: 0s; }
.pola .photo { display: block; width: 100%; padding: 0; border: 0; background: #eee; cursor: zoom-in; overflow: hidden; border-radius: 2px; }
.pola img { width: 100%; height: auto; display: block; transition: transform .6s ease, filter .6s; filter: saturate(.95) contrast(1.02); }
.pola:hover img { transform: scale(1.04); filter: saturate(1.1); }
.pola figcaption { font-family: "Caveat", cursive; font-size: 22px; line-height: 1.1; color: #2c3440; text-align: center; padding: 12px 6px 14px; }
.pola-tape { position: absolute; top: -12px; left: 50%; width: 92px; height: 26px; transform: translateX(-50%) rotate(-4deg); z-index: 2; opacity: .85;
  background: linear-gradient(90deg, rgba(255,255,255,.35), rgba(255,255,255,0) 30%, rgba(255,255,255,.3)), rgba(242,210,27,.75); box-shadow: 0 1px 3px rgba(0,0,0,.12);
  -webkit-mask: linear-gradient(90deg, transparent 0 3px, #000 3px calc(100% - 3px), transparent 0); mask: linear-gradient(90deg, transparent 0 3px, #000 3px calc(100% - 3px), transparent 0); }
.pola-tape.t1 { background-color: rgba(0,155,58,.6); transform: translateX(-50%) rotate(5deg); width: 80px; }
.pola-tape.t2 { background-color: rgba(30,79,154,.55); left: 18%; transform: rotate(-38deg); width: 70px; top: -6px; }
.mural-more { margin-top: 10px; cursor: pointer; font: inherit; font-weight: 600; }
@media (max-width: 767px) { .mural { padding: 50px 0 60px; } .mural-wall { columns: 2 140px; column-gap: 16px; } .pola { padding: 7px 7px 0; margin-bottom: 22px; } .pola figcaption { font-size: 17px; padding: 8px 4px 10px; } .pola-tape { width: 60px; height: 20px; } }
@media (prefers-reduced-motion: reduce) { .pola { transition: none; opacity: 1; transform: rotate(var(--r)); } }
/* Mural centrado, qualquer quantidade de fotos */
.mural-wall { columns: auto; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 38px 34px; }
.mural-wall .pola { width: 250px; margin: 0; }
.mural-wall .pola:nth-child(even) { margin-top: 26px; }
@media (max-width: 767px) { .mural-wall { gap: 22px 16px; } .mural-wall .pola { width: calc(50% - 8px); } .mural-wall .pola:nth-child(even) { margin-top: 14px; } }

/* Faixa de fotos discreta abaixo do topo (o destaque fica para o mural) */
.strip { background: #fff; padding: 26px 0 18px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.strip-track { display: flex; gap: 14px; width: max-content; animation: stripMove var(--dur, 40s) linear infinite; }
.strip:hover .strip-track, .strip:focus-within .strip-track { animation-play-state: paused; }
@keyframes stripMove { to { transform: translateX(calc(-1 * var(--shift, 50%))); } }
.strip-item { flex: 0 0 auto; width: 170px; height: 120px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: #eef1f6; opacity: .92; transition: opacity .3s, transform .3s; }
.strip-item:hover { opacity: 1; transform: translateY(-2px); }
.strip-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 767px) { .strip { padding: 16px 0 10px; } .strip-item { width: 130px; height: 92px; } .strip-track { gap: 10px; } }
.strip-track { will-change: transform; }
@media (prefers-reduced-motion: reduce) { .strip { overflow-x: auto; } .strip-track { animation: none; } }
.pola .photo img { max-height: 340px; object-fit: cover; }
@media (max-width: 767px) { .pola .photo img { max-height: 240px; } }

/* ---------- Página da galeria (/novo/galeria/) ---------- */
.gal-hero { position: relative; padding: 170px 0 70px; text-align: center; color: #fff; overflow: hidden;
  background: radial-gradient(ellipse at 20% 0%, #1e4f9a 0%, #0b2a5b 55%, #071a3a 100%); }
.gal-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, #009b3a 0 33%, #f2d21b 33% 66%, #1e4f9a 66%); }
.gal-hero .mural-kicker { color: #f2d21b; }
.gal-hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.05; font-weight: 800; margin: 4px 0 14px; color: #fff; }
.gal-hero p { max-width: 640px; margin: 0 auto 18px; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.85); }
.gal-count { display: inline-block; padding: 6px 16px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); font-weight: 700; font-size: 14px; }
.gal-back { position: absolute; left: 24px; top: 150px; color: rgba(255,255,255,.8); text-decoration: none; font-weight: 600; font-size: 14px; }
.gal-back:hover { color: #f2d21b; }
.main-nav > a.on { border-color: var(--yellow); }
.mural-page { padding-top: 60px; }

/* Troca de página: as polaroides saem em leque e as novas caem na parede */
.pola.off { display: none; }
.pola.leave { transform: translate(var(--dx, 80px), -50px) rotate(calc(var(--r) * 5)) scale(.82); opacity: 0;
  transition: transform .5s cubic-bezier(.55,0,.8,.2) var(--d), opacity .4s ease var(--d); }
.pola.enter { transform: translate(var(--dx, -80px), -70px) rotate(calc(var(--r) * -4)) scale(.88); opacity: 0; transition: none; }
.pola.enter.in { transform: rotate(var(--r)); opacity: 1; transition: transform .85s cubic-bezier(.2,1.35,.4,1) var(--d), opacity .45s ease var(--d); }

/* Paginação moderna: setas redondas e números com indicador que desliza */
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 50px; }
.pg-arrow { width: 50px; height: 50px; border-radius: 50%; border: 2px solid #0b2a5b; background: #fff; color: #0b2a5b; font-size: 28px; line-height: 1; cursor: pointer; transition: .2s; box-shadow: 0 8px 20px -10px rgba(11,42,91,.5); }
.pg-arrow:hover:not(:disabled) { background: #0b2a5b; color: #f2d21b; transform: scale(1.06); }
.pg-arrow:disabled { opacity: .3; cursor: default; box-shadow: none; }
.pg-nums { position: relative; display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: #fff; box-shadow: 0 10px 26px -14px rgba(11,42,91,.45), 0 0 0 1px rgba(11,42,91,.08); }
.pg-nums button { position: relative; z-index: 1; min-width: 42px; height: 42px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; color: #0b2a5b; font: 700 16px/1 inherit; font-family: inherit; cursor: pointer; transition: color .3s; }
.pg-nums button.on { color: #0b2a5b; }
.pg-ind { position: absolute; left: 0; top: 5px; height: 42px; border-radius: 999px; background: linear-gradient(135deg, #ffe14d, #f2d21b); box-shadow: 0 6px 14px -6px rgba(242,210,27,.9); transition: transform .45s cubic-bezier(.3,1.3,.5,1), width .3s; }
.pg-label { text-align: center; margin-top: 12px; color: var(--muted); font-size: 14px; }

/* Amostra na página inicial: polaroide "ver galeria" */
.pola-cta { display: flex !important; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; min-height: 290px; background: #0b2a5b !important; color: #fff; cursor: pointer; }
.cta-stack { position: relative; width: 150px; height: 120px; margin: 10px 0 18px; }
.cta-stack img { position: absolute; left: 50%; top: 50%; width: 100px; height: 80px; object-fit: cover; border: 4px solid #fff; border-radius: 3px; box-shadow: 0 8px 18px rgba(0,0,0,.35);
  transform: translate(-50%, -50%) rotate(calc((var(--k) - 1) * 12deg)) translateX(calc((var(--k) - 1) * 26px)); transition: transform .5s cubic-bezier(.2,1.3,.4,1); }
.pola-cta:hover .cta-stack img { transform: translate(-50%, -50%) rotate(calc((var(--k) - 1) * 18deg)) translateX(calc((var(--k) - 1) * 40px)) translateY(-6px); }
.cta-txt { display: flex; flex-direction: column; align-items: center; font-family: "Caveat", cursive; font-size: 22px; line-height: 1.1; padding-bottom: 16px; }
.cta-txt b { font-family: inherit; font-size: 44px; color: #f2d21b; }
.cta-txt em { font-style: normal; font-family: Roboto, sans-serif; font-size: 14px; font-weight: 700; margin-top: 10px; padding: 8px 16px; border-radius: 999px; background: #f2d21b; color: #0b2a5b; }
.mural-go { margin-top: 14px; }
@media (max-width: 767px) {
  .gal-hero { padding: 130px 0 50px; } .gal-back { top: 116px; left: 16px; }
  .pager { gap: 8px; } .pg-arrow { width: 42px; height: 42px; } .pg-nums button { min-width: 36px; height: 36px; font-size: 14px; } .pg-ind { height: 36px; }
  .pola-cta { min-height: 200px; } .cta-stack { transform: scale(.8); margin: 0; }
}

/* Perguntas frequentes na página inicial (abaixo do voluntariado); perguntas vêm do painel (FAQ do site) */
.faq-home { padding: 80px 0; background: #f7f9fc; }
.faq-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.faq-head { position: sticky; top: 150px; }
.faq-head .sec-title { text-align: left; margin: 2px 0 12px; }
.faq-head .ev-lead { margin: 0 0 22px; }
.faq-box.cbw-faq { display: flex; flex-direction: column; gap: 12px; max-width: none; margin: 0; font-family: inherit; }
.faq-box details { background: #fff; border: 1px solid #e3e8f0; border-radius: 16px; padding: 0; box-shadow: 0 10px 24px -20px rgba(11,42,91,.5); transition: box-shadow .25s, border-color .25s; overflow: hidden; }
.faq-box details[open] { border-color: #009b3a; box-shadow: 0 16px 34px -22px rgba(0,155,58,.55); }
.faq-box summary { list-style: none; cursor: pointer; position: relative; padding: 20px 60px 20px 22px; font-size: 17px; font-weight: 700; color: #0b2a5b; line-height: 1.4; }
.faq-box summary::-webkit-details-marker { display: none; }
.faq-box summary::after { content: "+"; position: absolute; right: 18px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: #eef4ff; color: #1e4f9a; font-size: 22px; font-weight: 500; line-height: 30px; text-align: center; transition: transform .3s, background .3s, color .3s; }
.faq-box details[open] summary::after { transform: rotate(45deg); background: #009b3a; color: #fff; }
.faq-box .a { padding: 0 22px 20px; font-size: 16px; line-height: 1.65; color: #444; white-space: pre-line; animation: faqIn .35s ease; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .faq-in { grid-template-columns: 1fr; gap: 26px; } .faq-head { position: static; text-align: center; } .faq-head .sec-title { text-align: center; } .faq-home { padding: 56px 0; } }

/* ---------- Páginas "Sobre nós" e "Voluntários" ---------- */
.page-hero { position: relative; padding: 180px 0 90px; text-align: center; color: #fff; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse at 20% 0%, #1e4f9a 0%, #0b2a5b 55%, #071a3a 100%); }
.page-hero.vol-hero { background: linear-gradient(180deg, rgba(7,26,58,.72), rgba(7,26,58,.86)), var(--bg) center 30% / cover no-repeat, #0b2a5b; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, #009b3a 0 33%, #f2d21b 33% 66%, #1e4f9a 66%); }
.page-hero .mural-kicker { color: #f2d21b; }
.page-hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.05; font-weight: 800; margin: 4px 0 16px; color: #fff; }
.page-hero p { max-width: 680px; margin: 0 auto 26px; font-size: 19px; line-height: 1.6; color: rgba(255,255,255,.88); }
.eyebrow-g { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.pg-head { margin-bottom: 34px; } .pg-head.center { text-align: center; }
.btn-cta { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 999px; font-weight: 800; font-size: 16px; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.btn-cta:hover { transform: translateY(-2px); }
.btn-cta.y { background: linear-gradient(135deg, #ffe14d, #f2d21b); color: #0b2a5b; box-shadow: 0 12px 26px -12px rgba(242,210,27,.9); }
.btn-cta.w { background: #fff; color: #0b2a5b; }
.btn-cta.g { background: #009b3a; color: #fff; box-shadow: 0 12px 26px -12px rgba(0,155,58,.8); }
.btn-cta.sm { padding: 11px 22px; font-size: 15px; margin-top: 8px; }

.pg-intro { padding: 90px 0; }
.pg-intro-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 60px; align-items: center; }
.pg-text h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.15; font-weight: 800; color: var(--blue); margin: 0 0 20px; }
.pg-text p { font-size: 18px; line-height: 1.75; color: #3a4250; margin: 0 0 16px; }
.pg-bold { font-weight: 700; color: #0b2a5b !important; border-left: 4px solid #f2d21b; padding-left: 16px; }
.pg-collage { position: relative; min-height: 420px; }
.pg-collage img { position: absolute; object-fit: cover; border: 8px solid #fff; border-radius: 6px; box-shadow: 0 24px 50px -22px rgba(11,42,91,.6); }
.pg-collage .c0 { width: 72%; height: 64%; left: 0; top: 0; transform: rotate(-3deg); }
.pg-collage .c1 { width: 58%; height: 50%; right: 0; top: 22%; transform: rotate(4deg); z-index: 2; }
.pg-collage .c2 { width: 50%; height: 44%; left: 14%; bottom: 0; transform: rotate(-1deg); z-index: 3; }
.pg-collage .solo { width: 100%; height: 100%; position: relative; transform: rotate(-2deg); min-height: 380px; }

.pg-stats { background: #0b2a5b; color: #fff; padding: 46px 0; }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat b { display: block; font-size: clamp(32px, 4vw, 46px); font-weight: 900; color: #f2d21b; line-height: 1.1; }
.stat span { font-size: 15px; color: rgba(255,255,255,.85); }

.pg-mv { padding: 90px 0 40px; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv-card { position: relative; border-radius: 24px; padding: 40px 38px 34px; color: #fff; overflow: hidden; box-shadow: 0 30px 60px -34px rgba(11,42,91,.7); }
.mv-card.mission { background: linear-gradient(135deg, #009b3a, #007a2e); }
.mv-card.vision { background: linear-gradient(135deg, #1e4f9a, #0b2a5b); }
.mv-card h2 { font-size: 34px; font-weight: 800; margin: 0 0 16px; color: #fff; }
.mv-card p { font-size: 17px; line-height: 1.7; margin: 0 0 12px; color: rgba(255,255,255,.95); }
.mv-ic { position: absolute; right: 24px; top: 16px; font-size: 80px; line-height: 1; color: rgba(255,255,255,.12); }

.pg-do { padding: 70px 0 90px; }
.do-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.do-card { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid #e6ebf2; border-radius: 20px; padding: 28px 24px; text-decoration: none; color: inherit; box-shadow: 0 16px 34px -28px rgba(11,42,91,.6); transition: transform .25s, box-shadow .25s, border-color .25s; }
a.do-card:hover { transform: translateY(-6px); border-color: #009b3a; box-shadow: 0 26px 44px -26px rgba(0,155,58,.55); }
.do-ic { width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, #009b3a, #1e4f9a); display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 22px; }
.do-ic svg { width: 26px; height: 26px; fill: #fff; }
.do-card h3 { font-size: 20px; font-weight: 800; color: #0b2a5b; margin: 6px 0 0; }
.do-card p { font-size: 15.5px; line-height: 1.6; color: #555; margin: 0; flex: 1; }
.do-card em { font-style: normal; font-weight: 800; color: #009b3a; font-size: 15px; }

.pg-cta { padding: 80px 0; text-align: center; color: #fff; background: radial-gradient(ellipse at 80% 0%, #00b246 0%, #009b3a 45%, #007a2e 100%); }
.pg-cta h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin: 0 0 12px; color: #fff; }
.pg-cta p { max-width: 640px; margin: 0 auto 26px; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.92); }
.cta-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.pg-cta .btn-cta.g { background: #0b2a5b; }

.pg-areas { padding: 80px 0; background: #f7f9fc; }
.areas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.areas li { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 18px 20px; font-weight: 700; color: #0b2a5b; box-shadow: 0 10px 24px -20px rgba(11,42,91,.6); border: 1px solid #e6ebf2; transition: transform .2s; }
.areas li:hover { transform: translateY(-3px); }
.areas li span { font-size: 26px; }
.pg-steps { padding: 90px 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; position: relative; }
.steps li { position: relative; text-align: center; padding: 0 12px; }
.steps li b { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: #f2d21b; color: #0b2a5b; font-size: 26px; font-weight: 900; box-shadow: 0 0 0 8px rgba(242,210,27,.25); position: relative; z-index: 1; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 32px; left: calc(50% + 44px); right: calc(-50% + 44px); border-top: 3px dashed #cfd8e6; }
.steps h3 { font-size: 21px; font-weight: 800; color: #0b2a5b; margin: 0 0 8px; }
.steps p { font-size: 16px; line-height: 1.6; color: #555; margin: 0; }
.pg-form { padding: 90px 0; background: linear-gradient(135deg, #0b2a5b, #14345d); color: #fff; scroll-margin-top: 130px; }
.form-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 50px; align-items: center; }
.pg-form .mural-kicker { color: #f2d21b; }
.pg-form h2 { font-size: clamp(32px, 4vw, 46px); font-weight: 800; margin: 2px 0 14px; color: #fff; }
.pg-form p { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.88); }
.form-card { background: #fff; color: #1a1a1a; border-radius: 22px; padding: 26px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.form-card .cbw-form { max-width: none; margin: 0; }

@media (max-width: 1100px) { .main-nav { gap: 14px; } .main-nav > a:not(.nav-cta) { font-size: 13.5px; } }
@media (max-width: 960px) {
  .pg-intro-in, .form-in, .mv-grid { grid-template-columns: 1fr; gap: 36px; }
  .do-grid, .areas { grid-template-columns: 1fr 1fr; } .stats-in { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; } .steps li::after { display: none; }
  .pg-collage { min-height: 340px; }
}
@media (max-width: 560px) { .do-grid, .areas { grid-template-columns: 1fr; } .page-hero { padding: 130px 0 60px; } .pg-intro, .pg-mv, .pg-do, .pg-steps, .pg-form, .pg-areas { padding: 56px 0; } .mv-card { padding: 30px 24px; } }
/* Ícones de linha sóbrios nas áreas de voluntariado e na missão/visão */
.areas li .area-ic { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: #eef6f1; color: #007a2e; display: grid; place-items: center; font-size: 0; }
.areas li .area-ic svg { width: 22px; height: 22px; }
.areas li:hover .area-ic { background: #0b2a5b; color: #f2d21b; }
.mv-ic { width: 96px; height: 96px; right: 20px; top: 18px; color: rgba(255,255,255,.16); font-size: 0; }
.mv-ic svg { width: 100%; height: 100%; }

/* Doações (página inicial) */
.donate2 { position: relative; padding: 100px 0; overflow: hidden; background:
  radial-gradient(circle at 12% 20%, rgba(242,210,27,.18), transparent 38%),
  radial-gradient(circle at 90% 85%, rgba(0,155,58,.12), transparent 40%), #fff; }
.d2-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.d2-visual { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.d2-card { position: relative; width: 100%; padding: 22px; border-radius: 30px; background: linear-gradient(135deg, #0b2a5b, #1e4f9a); box-shadow: 0 40px 70px -40px rgba(11,42,91,.8); transform: rotate(-2deg); transition: transform .5s cubic-bezier(.2,1.2,.4,1); }
.d2-card::before { content: ""; position: absolute; inset: -10px; border-radius: 36px; border: 2px dashed rgba(242,210,27,.6); transform: rotate(3deg); z-index: -1; }
.d2-card:hover { transform: rotate(0) scale(1.02); }
.d2-card img { width: 100%; height: auto; display: block; border-radius: 18px; }
.d2-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; }
.d2-trust li { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #3a4556; }
.d2-trust svg { width: 18px; height: 18px; color: #009b3a; }
.d2-kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #009b3a; margin-bottom: 12px; }
.d2-body h2 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.1; font-weight: 800; color: #0b2a5b; margin: 0 0 16px; }
.d2-lead { font-size: 19px; line-height: 1.6; color: #3a4556; margin: 0 0 24px; }
.d2-impact { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; }
.d2-impact li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: #f5f8fc; border: 1px solid #e6ebf2; transition: transform .2s, border-color .2s; }
.d2-impact li:hover { transform: translateX(4px); border-color: #009b3a; }
.d2-ic { flex: 0 0 42px; height: 42px; border-radius: 12px; background: #0b2a5b; color: #f2d21b; display: grid; place-items: center; }
.d2-ic svg { width: 22px; height: 22px; }
.d2-impact b { display: block; font-size: 16px; color: #0b2a5b; margin-bottom: 2px; }
.d2-impact li > span:last-child { font-size: 15px; line-height: 1.5; color: #555; }
.d2-join { font-size: 17px; font-weight: 700; color: #1e4f9a; margin: 0 0 20px; }
.d2-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.d2-donate { display: inline-flex; align-items: center; gap: 10px; padding: 16px 34px; border-radius: 999px; background: linear-gradient(135deg, #ffe14d, #f2d21b 55%, #e8c200); color: #0b2a5b; font-weight: 900; font-size: 18px; text-decoration: none; border: 2px solid #0b2a5b; animation: donatePulse 2.2s ease-out infinite; transition: transform .2s; }
.d2-donate:hover { transform: translateY(-2px) scale(1.03); }
.d2-donate .heart { width: 20px; height: 20px; fill: #d7263d; animation: heartBeat 1.4s ease-in-out infinite; }
.d2-vol { color: #0b2a5b; font-weight: 700; text-decoration: none; border-bottom: 2px solid #f2d21b; padding-bottom: 2px; }
.d2-vol:hover { color: #009b3a; }
@media (max-width: 960px) { .d2-in { grid-template-columns: 1fr; gap: 40px; } .donate2 { padding: 64px 0; } .d2-card { max-width: 560px; } }
@media (prefers-reduced-motion: reduce) { .d2-donate, .d2-donate .heart { animation: none; } }
.d2-card { background: #fff; border: 1px solid #e6ebf2; box-shadow: 0 40px 70px -42px rgba(11,42,91,.55); padding: 18px; }

/* Valores (página Sobre): cartões claros com ícone de linha, número e barra de cor */
.values2 { padding: 90px 0; background: #f7f9fc; }
.v2-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 22px; }
.v2-card { position: relative; display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid #e6ebf2; border-radius: 20px; padding: 24px 26px 22px; box-shadow: 0 14px 30px -26px rgba(11,42,91,.6); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.v2-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: #0b2a5b; }
.v2-card.t1::before { background: #009b3a; } .v2-card.t2::before { background: #f2d21b; }
.v2-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -26px rgba(11,42,91,.55); border-color: #cfd8e6; }
.v2-ic { flex: 0 0 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: #0b2a5b; color: #f2d21b; transition: transform .3s; }
.v2-card.t1 .v2-ic { background: #009b3a; color: #fff; } .v2-card.t2 .v2-ic { background: #f2d21b; color: #0b2a5b; }
.v2-card:hover .v2-ic { transform: rotate(-6deg) scale(1.06); }
.v2-ic svg { width: 26px; height: 26px; }
.v2-n { display: block; font-size: 12px; font-weight: 800; letter-spacing: .12em; color: #9aa6b8; margin-bottom: 2px; }
.v2-card h3 { font-size: 20px; line-height: 1.25; font-weight: 800; color: #0b2a5b; margin: 0 0 8px; }
.v2-card p { font-size: 15.5px; line-height: 1.65; color: #4a5566; margin: 0; }
@media (max-width: 860px) { .v2-grid { grid-template-columns: 1fr; } .values2 { padding: 60px 0; } }

/* Valores numa só tela: 10 botões à esquerda e o valor escolhido em destaque à direita */
.values3 { padding: 70px 0; background: #f7f9fc; }
.values3 .pg-head { margin-bottom: 26px; }
.v3 { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 28px; align-items: stretch; }
.v3-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.v3-tab { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid #e3e8f0; border-radius: 14px; background: #fff; color: #0b2a5b; font: 700 15.5px/1.25 inherit; font-family: inherit; text-align: left; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .2s; }
.v3-tab:hover { transform: translateX(3px); border-color: #cfd8e6; }
.v3-ic { flex: 0 0 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #eef2f8; color: #0b2a5b; transition: .25s; }
.v3-ic svg { width: 20px; height: 20px; }
.v3-tab.on { background: #0b2a5b; color: #fff; border-color: #0b2a5b; box-shadow: 0 14px 26px -16px rgba(11,42,91,.8); }
.v3-tab.on .v3-ic { background: #f2d21b; color: #0b2a5b; }
.v3-tab.t1.on { background: #009b3a; border-color: #009b3a; } .v3-tab.t1.on .v3-ic { background: #fff; color: #009b3a; }
.v3-tab.t2.on { background: #f2d21b; border-color: #f2d21b; color: #0b2a5b; } .v3-tab.t2.on .v3-ic { background: #0b2a5b; color: #f2d21b; }
.v3-panel { position: relative; border-radius: 24px; overflow: hidden; min-height: 320px; background: #0b2a5b; color: #fff; box-shadow: 0 30px 60px -34px rgba(11,42,91,.8); }
.v3-item { position: absolute; inset: 0; padding: 36px 36px 40px; display: flex; flex-direction: column; justify-content: flex-end; opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s ease; pointer-events: none;
  background: radial-gradient(circle at 85% 15%, rgba(242,210,27,.22), transparent 45%), linear-gradient(135deg, #0b2a5b, #1e4f9a); }
.v3-item.t1 { background: radial-gradient(circle at 85% 15%, rgba(242,210,27,.25), transparent 45%), linear-gradient(135deg, #007a2e, #009b3a); }
.v3-item.t2 { background: radial-gradient(circle at 85% 15%, rgba(255,255,255,.35), transparent 45%), linear-gradient(135deg, #e8c200, #f2d21b); color: #0b2a5b; }
.v3-item.on { opacity: 1; transform: none; pointer-events: auto; }
.v3-big { position: absolute; right: 22px; top: 18px; width: 120px; height: 120px; opacity: .22; }
.v3-big svg { width: 100%; height: 100%; }
.v3-n { font-size: 13px; font-weight: 800; letter-spacing: .12em; opacity: .75; margin-bottom: 6px; }
.v3-item h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; font-weight: 800; margin: 0 0 12px; color: inherit; }
.v3-item p { font-size: 17px; line-height: 1.65; margin: 0; opacity: .95; max-width: 520px; }
.v3-bar { position: absolute; left: 0; bottom: 0; height: 5px; width: 100%; background: #f2d21b; transform-origin: left; animation: v3Tick 6s linear forwards; z-index: 2; }
.v3.paused .v3-bar { animation-play-state: paused; }
@keyframes v3Tick { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 960px) {
  .v3 { grid-template-columns: 1fr; }
  .v3-tabs { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: none; }
  .v3-tab { flex: 0 0 auto; }
  .v3-panel { min-height: 300px; }
}
@media (max-width: 960px) { .v3-panel { min-height: 380px; } .v3-item { padding: 28px 24px 32px; } .v3-big { width: 80px; height: 80px; } }
.v3-tab { font-size: 15.5px; font-weight: 700; }

/* Seletor de idioma: pílula dividida em dois botões; o lado ativo fica preenchido */
.flags { position: relative; display: inline-grid !important; grid-template-columns: 1fr 1fr; gap: 0 !important; align-items: stretch !important; padding: 3px !important; border: 1px solid rgba(255,255,255,.35) !important; border-radius: 999px; background: rgba(255,255,255,.06); isolation: isolate; }
.flags::before { content: ""; position: absolute; z-index: -1; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--yellow); box-shadow: 0 4px 14px rgba(242,210,27,.35); transition: transform .3s cubic-bezier(.4,1.3,.5,1); }
.flags:has(.flag:last-child.on)::before { transform: translateX(100%); }
.flags:not(:has(.flag.on))::before { opacity: 0; }
.flags .flag { display: grid !important; place-items: center; padding: 5px 14px !important; border-radius: 999px !important; outline: 0 !important; opacity: .7; transition: opacity .2s, background .2s; }
.flags .flag:not(.on):hover { opacity: 1; background: rgba(255,255,255,.12); }
.flags .flag.on { opacity: 1; }
.flags .flag img { width: 24px !important; height: 24px !important; display: block; filter: drop-shadow(0 1px 2px rgba(0,0,0,.25)); }

/* Aulas e eventos na home: carrossel infinito (um card por vez) */
.evc.loop { overflow: hidden; margin: 0 -8px; padding: 0 8px; }
.evc.loop .evc-track { overflow: visible; scroll-snap-type: none; will-change: transform; }

/* Selo da agência no canto do rodapé: pequeno, discreto, girando no próprio eixo */
.credit { display: inline-grid; place-items: center; width: 30px; height: 30px; perspective: 200px; opacity: .6; transition: opacity .2s; text-decoration: none; flex: none; }
.credit:hover { opacity: 1; }
.credit-coin { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; animation: credit-spin 6s linear infinite; }
.credit-coin img { width: 100%; height: 100%; object-fit: contain; }
.credit-coin b { width: 100%; height: 100%; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); color: #fff; font: 700 13px/1 system-ui, sans-serif; }
@keyframes credit-spin { to { transform: rotateY(360deg); } }
@media (prefers-reduced-motion: reduce) { .credit-coin { animation: none; } }
.foot-bar { position: relative; }
.foot-bar .credit { position: absolute; right: 18px; top: 50%; margin-top: -15px; }
@media (max-width: 600px) { .foot-bar { padding-right: 50px; } }

/* ===================== Versão mobile (UX/UI) ===================== */
.faq-home .faq-box details > summary { padding: 20px 64px 20px 22px; }
@media (max-width: 960px) {
  /* Menu em tela cheia, fundo sólido, links grandes com entrada suave */
  .site-head.open .main-nav { display: flex; position: fixed; left: 0; right: 0; top: 70px; bottom: 0; height: auto; overflow-y: auto; background: linear-gradient(180deg, #0b2a5b 0%, #0a2250 100%); padding: 12px 24px calc(28px + env(safe-area-inset-bottom)); box-shadow: none; z-index: 60; }
  .site-head.open .tick { visibility: hidden; }
  .main-nav > a:not(.nav-cta) { font-size: 19px; padding: 17px 4px; display: flex; justify-content: space-between; align-items: center; letter-spacing: .6px; }
  .main-nav > a:not(.nav-cta)::after { content: "›"; font-size: 24px; opacity: .45; font-weight: 400; }
  .main-nav > a.on { color: #f2d21b; }
  .site-head.open .main-nav > * { animation: m-in .38s cubic-bezier(.2,.8,.2,1) both; }
  .site-head.open .main-nav > *:nth-child(2) { animation-delay: .03s } .site-head.open .main-nav > *:nth-child(3) { animation-delay: .06s }
  .site-head.open .main-nav > *:nth-child(4) { animation-delay: .09s } .site-head.open .main-nav > *:nth-child(5) { animation-delay: .12s }
  .site-head.open .main-nav > *:nth-child(6) { animation-delay: .15s } .site-head.open .main-nav > *:nth-child(7) { animation-delay: .18s }
  .site-head.open .main-nav > *:nth-child(n+8) { animation-delay: .22s }
  .nav-cta { margin-top: 22px; padding: 15px 22px; font-size: 17px; display: flex; justify-content: center; align-items: center; gap: 8px; }
  .main-nav .flags { margin-top: 18px; align-self: center; }
  body:has(.site-head.open) { overflow: hidden; }
  body:has(.site-head.open) .cbw-fab { display: none; }
}
@keyframes m-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 767px) {
  .gal-hero { padding: 150px 0 46px; } .gal-back { top: 120px; left: 16px; font-size: 13px; }
  .page-hero { padding: 150px 0 60px; }
  .cta-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 420px; margin: 0 auto; }
  .cta-btns .btn-cta { margin: 0; text-align: center; justify-content: center; }
  .cta-btns .btn-cta:first-child { grid-column: 1 / -1; }
  .pg-cta, .faq-home { padding: 56px 0; }
  .faq-home .faq-box details > summary { font-size: 16px; padding: 18px 58px 18px 18px; }
  .evc-ctrl { gap: 10px; }
  .evc-arrow { width: 42px; height: 42px; font-size: 22px; }
  .evc-title { font-size: 18px; }
  .foot-bar h2 { text-align: left; }
}
@media (hover: none) { a.evc-link:hover { transform: none; } }

/* ===== Menu do celular: abre em círculo a partir do botão, páginas em destaque e redes sociais embaixo ===== */
.m-social { display: none; }
@media (max-width: 960px) {
  .main-nav { display: flex !important; position: fixed !important; inset: 0 !important; top: 0 !important; height: 100dvh !important; z-index: 1 !important; flex-direction: column; align-items: stretch; gap: 0 !important; overflow-y: auto; padding: 96px 28px calc(26px + env(safe-area-inset-bottom)) !important; border: 0 !important; box-shadow: none !important;
    background: radial-gradient(circle at 110% -10%, rgba(0,155,58,.35), transparent 45%), radial-gradient(circle at -20% 110%, rgba(242,210,27,.18), transparent 45%), #0a2250 !important;
    clip-path: circle(0 at calc(100% - 44px) 36px); visibility: hidden; transition: clip-path .65s cubic-bezier(.7,0,.2,1), visibility 0s linear .65s; counter-reset: mi; }
  .site-head.open .main-nav { clip-path: circle(150vmax at calc(100% - 44px) 36px); visibility: visible; transition: clip-path .7s cubic-bezier(.7,0,.2,1), visibility 0s; }
  .main-nav > * { animation: none !important; opacity: 0; transform: translateY(26px); transition: opacity .3s, transform .3s; }
  .site-head.open .main-nav > * { opacity: 1; transform: none; transition: opacity .5s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1); }
  .site-head.open .main-nav > *:nth-child(1) { transition-delay: .18s } .site-head.open .main-nav > *:nth-child(2) { transition-delay: .23s } .site-head.open .main-nav > *:nth-child(3) { transition-delay: .28s }
  .site-head.open .main-nav > *:nth-child(4) { transition-delay: .33s } .site-head.open .main-nav > *:nth-child(5) { transition-delay: .38s } .site-head.open .main-nav > *:nth-child(6) { transition-delay: .43s }
  .site-head.open .main-nav > *:nth-child(7) { transition-delay: .48s } .site-head.open .main-nav > *:nth-child(8) { transition-delay: .53s } .site-head.open .main-nav > *:nth-child(n+9) { transition-delay: .58s }
  .main-nav > a:not(.nav-cta) { counter-increment: mi; display: flex !important; align-items: baseline; gap: 14px; justify-content: flex-start !important; padding: 11px 2px !important; border: 0 !important; border-bottom: 1px solid rgba(255,255,255,.07) !important; color: #fff !important; font-size: 27px !important; font-weight: 800 !important; letter-spacing: .2px !important; text-transform: none !important; line-height: 1.15; }
  .main-nav > a:not(.nav-cta)::before { content: counter(mi, decimal-leading-zero); font-size: 12px; font-weight: 700; letter-spacing: .1em; color: rgba(242,210,27,.75); min-width: 20px; }
  .main-nav > a:not(.nav-cta)::after { content: "" !important; margin-left: auto; width: 9px; height: 9px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: .35; align-self: center; transition: .2s; }
  .main-nav > a:not(.nav-cta).on, .main-nav > a:not(.nav-cta):active { color: #f2d21b !important; }
  .main-nav > a:not(.nav-cta).on::after { opacity: 1; }
  .main-nav .flags { align-self: flex-start !important; margin-top: 22px !important; }
  .main-nav .nav-cta { margin-top: 18px !important; align-self: stretch; justify-content: center; }
  .m-social { display: block; margin-top: auto; padding-top: 26px; }
  .m-social > span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 12px; }
  .m-social > div { display: flex; gap: 12px; flex-wrap: wrap; }
  .m-social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); transition: background .2s, color .2s, transform .2s; }
  .m-social a:active, .m-social a:hover { background: #f2d21b; color: #0b2a5b; transform: translateY(-2px); }
  .m-social svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
}
@media (max-width: 960px) {
  .site-head .logo, .site-head .burger { position: relative; z-index: 2; }
  .site-head.open { background: transparent !important; box-shadow: none !important; }
  .site-head.open .tick { visibility: hidden; }
  .burger { transition: border-color .3s, background .3s; }
  .site-head.open .burger { border-color: rgba(242,210,27,.6); background: rgba(255,255,255,.06); }
}

/* ===== Menu do celular v2: painel com 75% da tela à direita, fundo embaçado e Instagram em destaque ===== */
.m-scrim { display: none; }
@media (max-width: 960px) {
  .main-nav { left: auto !important; right: 0 !important; width: 75vw !important; max-width: 460px; min-width: 280px; padding: 92px 22px calc(22px + env(safe-area-inset-bottom)) !important; z-index: 3 !important; border-radius: 26px 0 0 26px; box-shadow: -24px 0 60px rgba(0,0,0,.35) !important; }
  .main-nav > a:not(.nav-cta):not(.btn-donate) { font-size: 23px !important; gap: 12px; }
  .m-scrim { display: block; position: fixed; inset: 0; z-index: 1; background: rgba(6,18,42,.38); backdrop-filter: blur(9px) saturate(.9); -webkit-backdrop-filter: blur(9px) saturate(.9); opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; cursor: pointer; }
  .site-head.open .m-scrim { opacity: 1; visibility: visible; transition: opacity .45s ease, visibility 0s; }
  .site-head .burger { z-index: 4 !important; }
  .m-ig { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; text-decoration: none; color: #fff; margin-bottom: 18px; background: linear-gradient(120deg, #feda75 -10%, #fa7e1e 20%, #d62976 50%, #962fbf 78%, #4f5bd5 110%); box-shadow: 0 10px 26px rgba(214,41,118,.35); font-weight: 800; font-size: 15px; line-height: 1.2; }
  .m-ig small { display: block; font-size: 11px; font-weight: 600; opacity: .9; letter-spacing: .02em; }
  .m-ig-ic { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.2); display: grid; place-items: center; flex: none; }
  .m-ig-ic svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .m-ig i { margin-left: auto; font-style: normal; font-size: 18px; opacity: .9; }
  .m-ig:active { transform: scale(.98); }
}
@media (max-width: 960px) {
  .site-head .logo { z-index: 0 !important; }
  .site-head.open .burger { border-color: rgba(242,210,27,.7); background: #0a2250; }
}
@media (max-width: 1060px) {
  .m-social a.m-ig { width: auto; height: auto; display: flex; border: 0; border-radius: 16px; place-items: initial; background: linear-gradient(120deg, #feda75 -10%, #fa7e1e 20%, #d62976 50%, #962fbf 78%, #4f5bd5 110%); color: #fff; }
  .m-social a.m-ig:hover, .m-social a.m-ig:active { background: linear-gradient(120deg, #feda75 -10%, #fa7e1e 20%, #d62976 50%, #962fbf 78%, #4f5bd5 110%); color: #fff; transform: translateY(-1px); }
  .m-ig > span:nth-child(2) { display: block; }
}
@media (max-width: 1060px) {
  .m-social a.m-ig { font-size: 14px; padding: 11px 12px; gap: 10px; }
  .m-ig > span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .m-ig i { margin-left: 0 !important; }
}
@media (max-width: 400px) { .m-ig > span:nth-child(2) { font-size: 13px; } .m-ig-ic { width: 34px !important; height: 34px !important; } }

/* ===== Página inicial no celular: capa em tela cheia, impactante ===== */
.hero-kick, .hero-ctas, .hero-scroll { display: none; }
@media (max-width: 767px) {
  .hero { min-height: 100vh; min-height: 100svh; padding: 0 !important; background: var(--navy) !important; justify-content: flex-end; overflow: hidden; isolation: isolate; }
  .hero::before { content: ""; position: absolute; inset: -4%; z-index: -2; background: var(--bg) 62% center / cover no-repeat; animation: hero-kb 18s ease-in-out infinite alternate; }
  .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
      linear-gradient(180deg, rgba(8,24,54,.72) 0%, rgba(8,24,54,.18) 26%, rgba(8,24,54,.25) 45%, rgba(8,24,54,.88) 72%, #0a2250 100%),
      radial-gradient(120% 60% at 0% 100%, rgba(0,155,58,.35), transparent 60%),
      radial-gradient(90% 50% at 100% 85%, rgba(242,210,27,.16), transparent 60%); }
  .hero-in { padding: 0 22px calc(92px + env(safe-area-inset-bottom)) !important; max-width: none; }
  .hero-kick { display: inline-flex; align-items: center; gap: 4px; padding: 7px 12px 7px 10px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 12px; font-weight: 700; letter-spacing: .04em; margin-bottom: 16px; animation: hero-up .7s .1s cubic-bezier(.2,.8,.2,1) both; }
  .hero-kick i { width: 7px; height: 7px; border-radius: 50%; background: #009b3a; } .hero-kick i:nth-child(2) { background: #f2d21b; } .hero-kick i:nth-child(3) { background: #3b7be0; margin-right: 6px; }
  .hero h1 { font-size: clamp(36px, 11.2vw, 50px) !important; line-height: .98 !important; letter-spacing: -.5px !important; max-width: none !important; text-shadow: 0 4px 30px rgba(0,0,0,.35); animation: hero-up .8s .2s cubic-bezier(.2,.8,.2,1) both; }
  .hero-line { width: 0; margin: 18px 0 16px !important; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #009b3a, #f2d21b 60%, #3b7be0); animation: hero-line .9s .65s cubic-bezier(.2,.8,.2,1) forwards; }
  .hero p { font-size: 17px !important; line-height: 1.5 !important; max-width: 36ch !important; color: rgba(255,255,255,.9); animation: hero-up .8s .45s cubic-bezier(.2,.8,.2,1) both; }
  .hero-ctas { display: flex; gap: 10px; margin-top: 24px; animation: hero-up .8s .65s cubic-bezier(.2,.8,.2,1) both; }
  .hero-ctas a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 14px; border-radius: 16px; font-weight: 800; font-size: 15px; text-decoration: none; text-align: center; line-height: 1.15; }
  .hc-main { flex: 1.25 !important; background: linear-gradient(135deg, #ffe45c, #f2d21b 55%, #e6bf00); color: #0b2a5b; box-shadow: 0 12px 28px rgba(242,210,27,.35); }
  .hc-main i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: #0b2a5b; color: #f2d21b; display: grid; place-items: center; font-size: 14px; }
  .hc-ghost { color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .hero-ctas a:active { transform: scale(.97); }
  .hero-scroll { display: grid; place-items: center; position: absolute; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); width: 30px; height: 48px; margin-left: -15px; border: 2px solid rgba(255,255,255,.55); border-radius: 18px; animation: hero-up .8s 1s both; }
  .hero-scroll span { width: 4px; height: 9px; border-radius: 3px; background: #f2d21b; animation: hero-wheel 1.8s ease-in-out infinite; }
  .admin-bar { font-size: 12px; padding: 6px 12px; }
}
@keyframes hero-kb { from { transform: scale(1.02) translate3d(0,0,0); } to { transform: scale(1.14) translate3d(-2%, -1.5%, 0); } }
@keyframes hero-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes hero-line { to { width: 120px; } }
@keyframes hero-wheel { 0% { transform: translateY(-7px); opacity: 0; } 30% { opacity: 1; } 70% { transform: translateY(7px); opacity: 1; } 100% { transform: translateY(9px); opacity: 0; } }
@media (max-width: 767px) and (prefers-reduced-motion: reduce) { .hero::before, .hero-scroll span { animation: none; } .hero-line { width: 120px; animation: none; } }
@media (max-width: 767px) and (max-height: 640px) { .hero-scroll { display: none; } .hero-in { padding-bottom: 28px !important; } }

/* ===== Chave de idioma com bandeiras (SVG) ===== */
.flags .flag { display: inline-flex !important; align-items: center; gap: 7px; color: #fff; text-decoration: none; }
.flags .flag svg.fl { width: 26px; height: 18px; display: block; border-radius: 3px; box-shadow: 0 1px 3px rgba(0,0,0,.35); }
.flags .flag b { display: none; font-size: 13px; font-weight: 800; letter-spacing: .06em; }
.flags .flag.on b { color: #0b2a5b; }
@media (max-width: 1060px) {
  .m-lang .flags, nav .flags { width: 100%; max-width: 260px; }
  nav .flags .flag { padding: 9px 12px !important; justify-content: center; }
  nav .flags .flag b { display: inline; }
  nav .flags .flag svg.fl { width: 30px; height: 20px; }
}
.site-nav .flags .flag, .main-nav .flags .flag { display: inline-flex !important; flex-direction: row; }
@media (max-width: 1060px) {
  .main-nav .flags, .site-nav .flags { order: 1; } .main-nav .nav-cta, .site-nav .btn-donate { order: 2; } .m-social { order: 3; }
}
@media (max-width: 767px) {
  .cbw-fab { transition: opacity .35s, transform .35s, bottom .3s !important; }
  /* Na capa do celular o chat continua visível, logo acima do cartão de texto */
  body.at-hero .cbw-fab { bottom: calc(var(--mhs, 300px) + 14px); }
}

/* Menu do celular: painel com 85% da tela */
@media (max-width: 1060px) { .main-nav, .site-nav { width: 85vw !important; max-width: 520px !important; } }

/* ===================== Capa do celular (opção 3) ===================== */
.mhero { display: none; }
@media (max-width: 767px) {
  .hero { display: none !important; }
  .mhero { display: block; position: relative; height: 100vh; height: 100svh; min-height: 580px; overflow: hidden; background: #071a3a; isolation: isolate; color: #fff; }
  .mh-cam { position: absolute; inset: -60px -30px; transform-origin: 50% 40%; animation: mh-cam 2.6s cubic-bezier(.7,0,.2,1) both; }
  @keyframes mh-cam { 0% { transform: scale(3.2) rotate(0deg); } 100% { transform: scale(1) rotate(-6deg); } }
  .mh-mural { position: absolute; inset: 0; display: flex; gap: 8px; overflow: hidden; }
  .mh-mural .mc { flex: 1; min-width: 0; }
  .mh-mural .mt { display: flex; flex-direction: column; gap: 8px; animation: mh-mv linear infinite; will-change: transform; }
  @keyframes mh-mv { to { transform: translateY(calc(-50% - 4px)); } }
  .mh-mural figure { margin: 0; flex: none; aspect-ratio: 3/4; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, #123d7c, #0b2a5b 60%, #0f4d3a); }
  .mh-mural img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .6s; }
  .mh-mural figure.ok img { opacity: 1; }
  .mh-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,26,58,.8), rgba(7,26,58,.25) 25%, rgba(7,26,58,.35) 50%, rgba(7,26,58,.8)); pointer-events: none; }
  .mh-fade { position: absolute; inset: 0; background: #071a3a; z-index: 3; animation: mh-bf 1.6s .6s forwards; pointer-events: none; }
  @keyframes mh-bf { to { opacity: 0; visibility: hidden; } }
  .mh-stage { position: absolute; left: 0; right: 0; top: var(--mh-top, 96px); bottom: calc(var(--mh-sh, 330px) - 20px); display: grid; place-items: center; z-index: 4; }
  .mh-logo { --s: min(38vw, 20svh, 180px); position: relative; width: var(--s); height: var(--s); padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .mh-in { position: absolute; inset: 0; animation: mh-z 3s cubic-bezier(.3,0,.3,1) both; }
  .mh-logo:active .mh-in img { transform: scale(.94); }
  .mh-in img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #0b2a5b; box-shadow: 0 0 0 5px rgba(255,255,255,.95), 0 24px 60px rgba(0,0,0,.5); transition: transform .15s; }
  @keyframes mh-z { 0% { transform: scale(.15); opacity: 0; filter: blur(14px); } 8% { opacity: 1; } 24% { transform: scale(1.9); filter: blur(0); } 40% { transform: scale(1.9); } 55% { transform: scale(.8,.86); } 60% { transform: scale(.9,.82); } 70% { transform: scale(1.16,1.22); } 80% { transform: scale(.92,.88); } 87% { transform: scale(1.06,1.08); } 94% { transform: scale(.98); } 100% { transform: scale(1); } }
  .mh-glow { position: absolute; inset: -45%; border-radius: 50%; background: radial-gradient(closest-side, rgba(242,210,27,.55), rgba(0,155,58,.2) 60%, transparent); z-index: -1; animation: mh-gw 1.2s .1s ease-out both; }
  @keyframes mh-gw { 0% { opacity: 0; transform: scale(.3); } 60% { opacity: 1; } 100% { opacity: 0; transform: scale(1.1); } }
  .mh-fl { position: absolute; inset: -30%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,228,92,.9), rgba(242,210,27,.35) 55%, transparent); opacity: 0; animation: mh-fl .6s 1.65s ease-out forwards; z-index: -1; }
  .mh-fl.f2 { animation-delay: 2.4s; }
  @keyframes mh-fl { 0% { opacity: 0; transform: scale(.6); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.3); } }
  .mh-imp { position: absolute; inset: 0; border-radius: 50%; border: 5px solid #f2d21b; opacity: 0; animation: mh-im .7s 1.65s ease-out forwards; }
  .mh-imp.i2 { border-color: #009b3a; animation-delay: 2.4s; }
  @keyframes mh-im { 0% { opacity: 1; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.9); } }
  .mh-glass { position: absolute; inset: -18px; border-radius: 50%; background: rgba(255,255,255,.1); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.25); opacity: 0; animation: mh-gi .8s 3s cubic-bezier(.2,1.4,.4,1) forwards; }
  @keyframes mh-gi { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
  .mh-wv { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(242,210,27,.75); opacity: 0; animation: mh-wv 2.8s 3.2s ease-out infinite; pointer-events: none; }
  .mh-wv:nth-child(3) { animation-delay: 4.13s; border-color: rgba(0,155,58,.75); } .mh-wv:nth-child(4) { animation-delay: 5.06s; border-color: rgba(59,123,224,.8); }
  @keyframes mh-wv { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
  /* Fotos em bolha em volta do logo (a cada toque) */
  .mh-orbit { position: absolute; inset: 0; z-index: 3; pointer-events: none; animation: mh-spin 40s linear infinite; }
  @keyframes mh-spin { to { transform: rotate(360deg); } }
  .mh-bub { position: absolute; left: 50%; top: 50%; width: var(--b); height: var(--b); margin: calc(var(--b) / -2) 0 0 calc(var(--b) / -2); transform: rotate(var(--a)) translateY(calc(var(--r) * -1)) rotate(calc(var(--a) * -1)); transition: transform .8s cubic-bezier(.2,1.5,.4,1), opacity .4s; }
  .mh-bub.new { transform: rotate(var(--a)) translateY(0) rotate(calc(var(--a) * -1)) scale(.2); opacity: 0; }
  .mh-bub.out { opacity: 0; transform: rotate(var(--a)) translateY(calc(var(--r) * -1)) rotate(calc(var(--a) * -1)) scale(.3); }
  .mh-bub i { display: block; width: 100%; height: 100%; border-radius: 50%; background: #123d7c center / cover; box-shadow: 0 0 0 3px #fff, 0 10px 24px rgba(0,0,0,.45); animation: mh-counter 40s linear infinite reverse; }
  @keyframes mh-counter { to { transform: rotate(360deg); } }
  .mh-hint { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); white-space: nowrap; opacity: 0; animation: mh-gi .6s 3.6s forwards; transition: opacity .4s; }
  .mhero.tapped .mh-hint { opacity: 0 !important; animation: none; }
  .mh-sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; border-radius: 32px 32px 0 0; padding: 12px 22px calc(24px + env(safe-area-inset-bottom)); background: rgba(8,28,62,.5); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border: 1px solid rgba(255,255,255,.18); border-bottom: 0; box-shadow: 0 -10px 60px rgba(0,0,0,.35); animation: mh-shu 1s 2.7s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes mh-shu { from { transform: translateY(105%); } }
  .mh-handle { width: 44px; height: 5px; border-radius: 5px; background: rgba(255,255,255,.4); margin: 0 auto 14px; }
  .mh-sheet h1 { font-size: clamp(26px, 7.8vw, 36px); line-height: 1.05; font-weight: 900; letter-spacing: -.4px; margin: 0; color: #fff; text-transform: none; }
  .mh-sheet h1 em { font-style: normal; position: relative; color: #f2d21b; white-space: nowrap; }
  .mh-sheet h1 em svg { position: absolute; left: -2%; bottom: -8px; width: 104%; height: 12px; overflow: visible; }
  .mh-sheet h1 em path { stroke: #009b3a; stroke-width: 4; fill: none; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 220; animation: mh-dr 1s 3.4s forwards; }
  @keyframes mh-dr { to { stroke-dashoffset: 0; } }
  .mh-sheet p { margin: 8px 0 14px; font-size: 14.5px; line-height: 1.45; color: rgba(255,255,255,.85); }
  .mh-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
  .mh-chips a { font-size: 12px; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); color: #fff; text-decoration: none; }
  .mh-ctas { display: grid; grid-template-columns: 1.45fr 1fr; gap: 10px; }
  .mh-ctas a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 12px; border-radius: 16px; font-weight: 800; font-size: clamp(13.5px, 3.9vw, 15.5px); white-space: nowrap; text-decoration: none; transition: transform .15s; }
  .mh-ctas a:active { transform: scale(.97); }
  .mh-b1 { background: linear-gradient(135deg, #ffe45c, #f2d21b 55%, #e6bf00); color: #0b2a5b; box-shadow: 0 12px 30px rgba(242,210,27,.35); }
  .mh-b1 b { width: 28px; height: 28px; border-radius: 50%; background: #0b2a5b; color: #f2d21b; display: grid; place-items: center; font-size: 14px; }
  .mh-b2 { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.32); color: #fff; }
  /* Cabeçalho com mais respiro no topo; a faixa de eventos some enquanto a capa está na tela */
  .sh-in { height: auto !important; padding-top: calc(24px + env(safe-area-inset-top)) !important; padding-bottom: 10px !important; }
  body.at-hero:has(.mhero) .tick { display: none; }
  body.at-hero:has(.mhero) .site-head:not(.solid) { background: linear-gradient(180deg, rgba(7,26,58,.85), rgba(7,26,58,0)); }
}
@media (max-width: 767px) and (max-height: 680px) { .mh-sheet p, .mh-chips { display: none; } }
@media (max-width: 767px) and (prefers-reduced-motion: reduce) { .mh-cam, .mh-in, .mh-mural .mt, .mh-orbit, .mh-bub i { animation: none !important; } .mh-fade { display: none; } .mh-glass, .mh-sheet, .mh-hint { animation-duration: .01s !important; animation-delay: 0s !important; } }

/* Capa do celular: logo central maior e em alta qualidade; cabeçalho mais baixo e logo do topo maior só durante a capa */
@media (max-width: 767px) {
  .mh-logo { --s: min(46vw, 24svh, 210px); }
  .mh-in img { image-rendering: -webkit-optimize-contrast; }
  .site-head .logo img { transition: width .45s cubic-bezier(.2,.8,.2,1); }
  .sh-in { transition: padding .45s cubic-bezier(.2,.8,.2,1); }
  body.at-hero:has(.mhero) .sh-in { padding-top: calc(38px + env(safe-area-inset-top)) !important; }
  body.at-hero:has(.mhero) .site-head .logo img { width: 220px; }
}
@media (max-width: 767px) and (max-height: 700px) { .mh-logo { --s: min(40vw, 22svh, 180px); } body.at-hero:has(.mhero) .sh-in { padding-top: calc(28px + env(safe-area-inset-top)) !important; } }

/* ===== Menu do celular v3: 90% da tela, X estilizado, chave de idioma na largura total, espaçamento equilibrado ===== */
@media (max-width: 1060px) {
  .main-nav, .site-nav { width: 90vw !important; max-width: 560px !important; padding-bottom: calc(40px + env(safe-area-inset-bottom)) !important; }
  .main-nav .flags, .site-nav .flags { width: 100% !important; max-width: none !important; align-self: stretch !important; margin-top: 22px !important; }
  .main-nav .flags .flag, .site-nav .flags .flag { padding: 11px 12px !important; }
  .main-nav .nav-cta, .site-nav .btn-donate { margin-top: 12px !important; min-height: 54px; }
  .m-social { margin-top: 12px !important; padding-top: 0 !important; }
  .m-social a.m-ig { margin-bottom: 18px; min-height: 58px; }
  .m-social > span { margin-bottom: 10px; }
}
/* Botão de fechar (X) no mesmo estilo dos ícones: círculo de vidro com X amarelo */
@media (max-width: 960px) {
  .burger { transition: border-color .35s, background .35s, border-radius .35s, transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
  .site-head.open .burger { border-radius: 50% !important; border-color: rgba(242,210,27,.6) !important; background: rgba(255,255,255,.1) !important; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 0 0 4px rgba(242,210,27,.12), 0 8px 22px rgba(0,0,0,.35); transform: rotate(90deg); }
  .site-head.open .burger i::before, .site-head.open .burger i::after { background: #f2d21b; height: 2.5px; }
}
@media (max-width: 1060px) {
  .site-head .burger { transition: border-color .35s, background .35s, transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .35s; border: 1px solid transparent; border-radius: 12px; }
  .nav-toggle:checked ~ .burger { width: 46px; height: 46px; padding: 0 !important; justify-content: center; align-items: center; border-radius: 50% !important; border-color: rgba(242,210,27,.6); background: rgba(255,255,255,.1) !important; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 0 0 4px rgba(242,210,27,.12), 0 8px 22px rgba(0,0,0,.35); transform: rotate(90deg); }
  .nav-toggle:checked ~ .burger span { background: #f2d21b; width: 20px; height: 2.5px; }
}

/* Capa do celular: o logo começa no centro da tela e sobe junto com a folha de vidro */
@media (max-width: 767px) {
  .mh-stage { animation: mh-up 1s 2.7s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes mh-up { from { transform: translateY(var(--mh-dy, 80px)); } to { transform: none; } }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) { .mh-stage { animation: none; } }

/* Seta discreta para voltar ao topo (todas as páginas, computador e celular) */
.to-top { position: fixed; left: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 99970; width: 46px; height: 46px; border: 0; padding: 0; border-radius: 50%; cursor: pointer; background: rgba(11,42,91,.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #f2d21b; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.25); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .35s, transform .35s cubic-bezier(.2,.8,.2,1), background .2s; }
.to-top.show { opacity: .9; transform: none; pointer-events: auto; }
.to-top:hover { opacity: 1; background: #0b2a5b; }
.to-top svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top svg.ring circle { fill: none; stroke-width: 2.5; }
.to-top svg.ring .bg { stroke: rgba(255,255,255,.15); }
.to-top svg.ring .pg { stroke: #f2d21b; stroke-linecap: round; stroke-dasharray: 125.7; stroke-dashoffset: 125.7; transition: stroke-dashoffset .15s linear; }
.to-top svg.ar { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; position: relative; }
@media (max-width: 767px) { .to-top { left: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); width: 42px; height: 42px; } body.has-msignup .to-top { bottom: 92px; } }
body:has(.site-head.open) .to-top, body:has(.nav-toggle:checked) .to-top { opacity: 0; pointer-events: none; }
@media print { .to-top { display: none; } }

@media (max-width: 767px) { .foot-bar { padding-bottom: calc(72px + env(safe-area-inset-bottom)) !important; } }

/* ===== Galeria no celular: abertura com fotos (estilo abertura de cinema) + fotos caindo + "Bem-vindo à nossa história" ===== */
.gi { position: fixed; inset: 0; z-index: 100000; background: #071a3a; overflow: hidden; color: #fff; transition: opacity .7s ease, transform .9s cubic-bezier(.7,0,.2,1); }
.gi.out { opacity: 0; transform: translateY(-4%) scale(1.04); pointer-events: none; }
.gi-flip { position: absolute; inset: 0; }
.gi-flip i { position: absolute; inset: -6%; background: #123d7c center / cover no-repeat; opacity: 0; }
.gi-flip i.on { opacity: 1; animation: gi-cut var(--d, .2s) linear both; }
@keyframes gi-cut { from { transform: translateX(var(--x, 3%)) scale(1.12); filter: brightness(1.15) contrast(1.1); } to { transform: translateX(calc(var(--x, 3%) * -1)) scale(1.02); filter: none; } }
.gi-flip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,26,58,.35), rgba(7,26,58,.1) 40%, rgba(7,26,58,.6)); }
.gi.phase2 .gi-flip { filter: blur(8px) brightness(.45); transition: filter .8s ease; }
.gi-stack { position: absolute; left: 50%; top: 40%; width: min(58vw, 250px); aspect-ratio: 4/5; transform: translate(-50%, -50%); }
.gi-card { position: absolute; inset: 0; background: #fff; padding: 8px 8px 30px; border-radius: 4px; box-shadow: 0 18px 40px rgba(0,0,0,.45); transform: translateY(-140vh) rotate(var(--r)); animation: gi-drop .75s cubic-bezier(.3,1.4,.5,1) forwards; }
.gi-card i { display: block; width: 100%; height: 100%; background: #dfe6ef center / cover no-repeat; }
.gi-card::after { content: ""; position: absolute; top: -9px; left: 50%; width: 56px; height: 18px; margin-left: -28px; background: rgba(242,210,27,.8); transform: rotate(var(--t, -4deg)); }
@keyframes gi-drop { 0% { transform: translateY(-140vh) rotate(calc(var(--r) * 3)); } 70% { transform: translateY(2%) rotate(var(--r)); } 100% { transform: translate(var(--dx, 0), 0) rotate(var(--r)); } }
.gi-title { position: absolute; left: 0; right: 0; bottom: calc(14svh + env(safe-area-inset-bottom)); text-align: center; padding: 0 18px; opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .8s cubic-bezier(.16,1,.3,1); }
.gi.phase3 .gi-title { opacity: 1; transform: none; }
.gi-pre { display: block; font-family: Caveat, cursive; font-size: 32px; color: #f2d21b; transform: rotate(-3deg); }
.gi-word { position: relative; display: inline-block; margin-top: 4px; padding: 10px 16px 12px; background: #009b3a; border-radius: 6px; box-shadow: 0 16px 40px rgba(0,0,0,.45); overflow: hidden; }
.gi-word b { position: relative; display: block; font-size: clamp(34px, 11vw, 52px); line-height: .95; font-weight: 900; letter-spacing: -1px; color: transparent; background: var(--gi-img, linear-gradient(135deg, #f2d21b, #fff)) center / cover; -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 1px rgba(255,255,255,.9); transition: background-image .12s; }
.gi.settled .gi-word b { background: #fff; -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 0; transition: background .5s; }
.gi-word .gi-fill { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform: translateX(-100%); }
.gi.settled .gi-fill { animation: gi-shine 1s .1s ease forwards; }
@keyframes gi-shine { to { transform: translateX(100%); } }
.gi-sub { display: block; margin-top: 10px; font-size: 12px; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.gi-skip { position: absolute; right: 16px; top: calc(16px + env(safe-area-inset-top)); z-index: 3; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font: 700 13px Roboto, sans-serif; padding: 8px 14px; border-radius: 999px; }
@media (min-width: 768px) { .gi { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .gi { display: none !important; } }

/* Galeria no celular: abertura só com as cartas caindo, sobre fundo azul translúcido (a galeria aparece desfocada atrás) */
.gi { background: rgba(11,42,91,.72) !important; backdrop-filter: blur(6px) saturate(1.1); -webkit-backdrop-filter: blur(6px) saturate(1.1); }
.gi-flip { display: none; }
.gi-stack { top: 42%; }
.gi-card { animation-duration: .85s; animation-timing-function: cubic-bezier(.25,1.25,.5,1); box-shadow: 0 20px 44px rgba(0,0,0,.4); }

/* Galeria no celular: nova animação do texto "Bem-vindo à NOSSA HISTÓRIA" (letras subindo uma a uma + linha tricolor) */
.gi-title { transition: opacity .4s ease; transform: none !important; }
.gi-pre { opacity: 0; transform: translateY(10px) rotate(-3deg); transition: opacity .6s ease, transform .8s cubic-bezier(.16,1,.3,1); }
.gi.phase3 .gi-pre { opacity: 1; transform: rotate(-3deg); }
.gi-word { background: none !important; box-shadow: none !important; padding: 2px 0 16px !important; overflow: visible !important; }
.gi-word .gi-fill { display: none !important; }
.gi-word b { color: #fff !important; background: none !important; -webkit-text-stroke: 0 !important; font-size: clamp(38px, 12vw, 56px) !important; letter-spacing: -.5px !important; text-shadow: 0 6px 30px rgba(0,0,0,.45); }
.gi-w { display: inline-block; white-space: nowrap; }
.gi-l { display: inline-block; opacity: 0; transform: translateY(.55em); filter: blur(6px); }
.gi.phase3 .gi-l { animation: gi-l .8s cubic-bezier(.16,1,.3,1) forwards; animation-delay: calc(.25s + var(--k) * 45ms); }
@keyframes gi-l { to { opacity: 1; transform: none; filter: blur(0); } }
.gi-word::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 2px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #009b3a 0 33%, #f2d21b 33% 66%, #3b7be0 66%); transform: scaleX(0); transform-origin: 50% 50%; }
.gi.settled .gi-word::after { transform: scaleX(1); transition: transform .8s cubic-bezier(.16,1,.3,1); }
.gi-sub { opacity: 0; transform: translateY(6px); transition: opacity .6s ease .15s, transform .6s ease .15s; }
.gi.settled .gi-sub { opacity: 1; transform: none; }

/* ===== Newsletter no rodapé (todas as páginas) ===== */
.nl-band { background: linear-gradient(120deg, #0b2a5b 0%, #123d7c 60%, #0f4d3a 100%); color: #fff; border-top: 4px solid #f2d21b; }
.nl-in { max-width: 1180px; margin: 0 auto; padding: 26px 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; }
.nl-txt { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1 1 320px; }
.nl-ic { width: 48px; height: 48px; border-radius: 14px; flex: none; display: grid; place-items: center; background: rgba(242,210,27,.16); color: #f2d21b; }
.nl-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nl-txt b { display: block; font-size: 19px; font-weight: 800; line-height: 1.2; }
.nl-txt p { margin: 3px 0 0; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.8); }
.nl-form { position: relative; display: flex; gap: 8px; flex: 1 1 380px; max-width: 480px; flex-wrap: wrap; }
.nl-form input[type=email] { flex: 1 1 200px; min-width: 0; height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: #fff; font: 500 15px Roboto, system-ui, sans-serif; outline: 0; transition: border-color .2s, background .2s; }
.nl-form input[type=email]::placeholder { color: rgba(255,255,255,.6); }
.nl-form input[type=email]:focus { border-color: #f2d21b; background: rgba(255,255,255,.16); }
.nl-form button { height: 50px; padding: 0 20px; border: 0; border-radius: 14px; cursor: pointer; font: 800 15px Roboto, system-ui, sans-serif; color: #0b2a5b; background: linear-gradient(135deg, #ffe45c, #f2d21b 55%, #e6bf00); box-shadow: 0 10px 24px rgba(242,210,27,.3); transition: transform .15s; white-space: nowrap; }
.nl-form button:active { transform: scale(.97); }
.nl-form button:disabled { opacity: .6; }
.nl-msg { flex-basis: 100%; margin: 2px 4px 0; font-size: 13px; min-height: 0; }
.nl-msg.ok { color: #9ff0bd; font-weight: 700; } .nl-msg.err { color: #ffc2c2; }
.nl-form.done input[type=email] { border-color: #2ee66b; }
.nl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nl-form .cbw-hp { position: absolute !important; left: -9999px !important; width: 0; height: 0; opacity: 0; }
@media (max-width: 767px) {
  .nl-in { padding: 20px 16px; gap: 14px; }
  .nl-ic { width: 40px; height: 40px; border-radius: 12px; }
  .nl-txt b { font-size: 17px; } .nl-txt p { font-size: 13px; }
  .nl-form { max-width: none; }
  .nl-form input[type=email], .nl-form button { height: 48px; }
  .nl-form button { flex: 1 1 100%; }
}

/* ===== Doação (opção 8): centralizada, cabe numa tela; laterais = 4 publicações mais vistas ===== */
.donate3 { position: relative; overflow: hidden; min-height: calc(100svh - 130px); display: flex; align-items: center; justify-content: center; padding: 1.8vh 6vw; text-align: center; scroll-margin-top: 130px;
  background: radial-gradient(55% 60% at 50% 45%, #fff 0%, rgba(255,255,255,0) 70%), linear-gradient(180deg, #fffdf4, #fff8e0); }
.d3-side { position: absolute; top: 50%; width: clamp(150px, 15vw, 240px); display: flex; flex-direction: column; gap: 16px; z-index: 0; }
.d3-side.l { left: -2.5vw; transform: translateY(-50%) rotate(-5deg); }
.d3-side.r { right: -2.5vw; transform: translateY(-50%) rotate(5deg); }
.d3-side a, .d3-side span { display: block; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 50px -24px rgba(11,42,91,.55); border: 6px solid #fff; background: #e9eef6; transition: transform .35s cubic-bezier(.2,.9,.3,1.2), box-shadow .35s; }
.d3-side img { display: block; width: 100%; aspect-ratio: 3 / 4; height: auto; max-height: 34vh; object-fit: cover; }
.d3-side a:hover { transform: scale(1.04) rotate(0deg); box-shadow: 0 30px 60px -22px rgba(11,42,91,.6); }
.d3-side.l > :nth-child(2), .d3-side.r > :nth-child(1) { margin-left: 18%; }
.d3-mid { position: relative; z-index: 1; max-width: 900px; display: flex; flex-direction: column; align-items: center; gap: min(14px, 1.6vh); }
.d3-mid .d2-kicker { margin: 0; }
.d3-mid h2 { font-size: clamp(26px, min(3.4vw, 5.4vh), 50px); line-height: 1.06; font-weight: 900; color: #0b2a5b; margin: 0; letter-spacing: -.5px; }
.d3-art { padding: 10px; border-radius: 26px; background: #fff; border: 1px solid #eee3b8; box-shadow: 0 30px 60px -32px rgba(11,42,91,.6); transform: rotate(-1.5deg); transition: transform .5s cubic-bezier(.2,1.2,.4,1); }
.d3-art:hover { transform: rotate(0) scale(1.02); }
.d3-art img { display: block; height: auto; width: min(540px, 70vw, 48vh); border-radius: 18px; }
.d3-lead { font-size: clamp(14.5px, min(1.2vw, 2.2vh), 19px); line-height: 1.5; color: #3a4556; margin: 0; max-width: 720px; }
.d3-impact { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.d3-impact li { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 13px; line-height: 1.4; color: #5b6784; }
.d3-impact b { font-size: 15.5px; color: #0b2a5b; }
.d3-ic { width: 36px; height: 36px; border-radius: 50%; background: #0b2a5b; color: #f2d21b; display: grid; place-items: center; margin-bottom: 2px; }
.d3-ic svg { width: 21px; height: 21px; }
.d3-btns { justify-content: center; }
.d3-vol { display: inline-flex; align-items: center; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 2px solid #d5dbe7; color: #0b2a5b; font-weight: 700; text-decoration: none; transition: border-color .2s, color .2s; }
.d3-vol:hover { border-color: #009b3a; color: #009b3a; }
.d3-trust { justify-content: center; }
@media (max-width: 1100px) { .d3-side { width: 13vw; } .d3-side.l { left: -4vw; } .d3-side.r { right: -4vw; } }
@media (max-width: 900px) {
  .donate3 { min-height: 0; padding: 44px 16px 50px; flex-direction: row; flex-wrap: wrap; align-content: flex-start; }
  .d3-mid { order: 1; width: 100%; }
  .d3-side { position: static; transform: none !important; width: 50%; max-width: 290px; flex-direction: row; gap: 8px; order: 2; margin-top: 26px; padding: 0 4px; }
  .d3-side a, .d3-side span { flex: 1; border-width: 3px; border-radius: 14px; margin: 0 !important; }
  .d3-side img { aspect-ratio: 3 / 4; max-height: none; }
  .d3-side.l > :nth-child(1) { transform: rotate(-4deg); } .d3-side.l > :nth-child(2) { transform: rotate(2deg) translateY(8px); }
  .d3-side.r > :nth-child(1) { transform: rotate(-2deg) translateY(8px); } .d3-side.r > :nth-child(2) { transform: rotate(4deg); }
  .d3-impact { grid-template-columns: 1fr; gap: 10px; text-align: left; width: 100%; }
  .d3-impact li { display: grid; grid-template-columns: 38px 1fr; column-gap: 12px; row-gap: 1px; align-items: center; padding: 10px 12px; border-radius: 16px; background: #fff; border: 1px solid #efe6c4; }
  .d3-ic { grid-row: span 2; margin: 0; }
  .d3-art { width: 100%; max-width: 520px; } .d3-art img { width: 100%; }
  .d3-btns { flex-direction: column; width: 100%; } .d3-btns .d2-donate, .d3-vol { justify-content: center; width: 100%; max-width: 360px; }
}

/* Capa mobile: as etiquetas (Dança, Capoeira…) ficam sempre numa linha, em qualquer idioma e largura
   (o tamanho da letra é ajustado sozinho para caber, sem cortar palavras) */
@media (max-width: 767px) {
  .mh-chips { flex-wrap: nowrap; gap: clamp(3px, 1.3vw, 6px); }
  .mh-chips a { flex: 0 0 auto; white-space: nowrap; font-size: var(--chip-fs, 12px); padding: 6px var(--chip-px, 11px); }
}
/* Doação: fotos laterais mais suaves para destacar o centro (voltam ao normal ao passar o mouse) */
@media (min-width: 901px) {
  .d3-side a, .d3-side span { opacity: .45; filter: saturate(.75); transition: opacity .35s, filter .35s, transform .35s cubic-bezier(.2,.9,.3,1.2), box-shadow .35s; }
  .d3-side a:hover { opacity: 1; filter: none; }
}

/* Galeria: a mesma abertura (cartas caindo + "Bem-vindo à nossa história") também no computador */
@media (min-width: 768px) {
  .gi { display: block !important; }
  .gi[hidden] { display: none !important; }
  .gi-stack { width: min(24vw, 330px, 34vh); top: 38%; }
  .gi-card { padding: 12px 12px 42px; }
  .gi-card::after { width: 80px; height: 24px; margin-left: -40px; top: -12px; }
  .gi-title { bottom: 9vh; }
  .gi-pre { font-size: 44px; }
  .gi-word b { font-size: clamp(56px, 6.2vw, 104px) !important; }
  .gi-sub { font-size: 14px; }
  .gi-skip { right: 28px; top: 24px; font-size: 14px; padding: 10px 18px; cursor: pointer; }
}

/* Redes sociais no rodapé (todas as páginas) */
.fsoc { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.fsoc-ig { display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #fff; text-decoration: none; transition: background .2s, transform .2s, border-color .2s; }
.fsoc-ig:hover { background: rgba(255,255,255,.13); border-color: rgba(242,210,27,.5); transform: translateY(-2px); }
.fsoc-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); box-shadow: 0 8px 18px -8px rgba(214,36,159,.8); }
.fsoc-ic svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fsoc-ic svg circle[fill] { fill: #fff; }
.fsoc-tx { display: flex; flex-direction: column; font-weight: 800; font-size: 15px; line-height: 1.2; }
.fsoc-tx small { font-size: 11.5px; font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,.7); }
.fsoc-row { display: flex; gap: 8px; }
.fsoc-row a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; transition: background .2s, color .2s, transform .2s; }
.fsoc-row a:hover { background: #f2d21b; color: #0b2a5b; transform: translateY(-2px); }
.fsoc-row svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.foot-social { background: #0b2a5b; padding: 22px 16px; }
.foot-social .fsoc { justify-content: center; margin: 0; }
/* Galeria no computador: as cartas caem no centro da tela e sobem quando o texto aparece */
@media (min-width: 768px) {
  .gi-stack { top: 50%; transition: top .9s cubic-bezier(.16,1,.3,1); }
  .gi.phase3 .gi-stack { top: 37%; }
}

/* Galeria: botões das categorias (criadas no painel) */
.gal-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px auto 0; max-width: 900px; }
.gal-cats a { padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); transition: background .2s, color .2s, transform .2s; }
.gal-cats a:hover { background: rgba(255,255,255,.2); transform: translateY(-1px); }
.gal-cats a.on { background: #f2d21b; color: #0b2a5b; border-color: #f2d21b; }
.mural-page { scroll-margin-top: 130px; }
@media (max-width: 767px) {
  .gal-cats { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding: 2px 16px 6px; margin: 18px -16px 0; scrollbar-width: none; }
  .gal-cats::-webkit-scrollbar { display: none; }
  .gal-cats a { flex: none; font-size: 13px; padding: 8px 14px; }
}

/* ===== Rodapé padrão e compacto (todas as páginas) ===== */
.cbf { background: #0a1a33; color: #c6d2e8; font-family: Roboto, system-ui, sans-serif; }
.cbf-in { max-width: 1240px; margin: 0 auto; padding: 22px 24px; display: flex; align-items: center; gap: 18px 32px; flex-wrap: wrap; }
.cbf-logo { flex: none; display: block; }
.cbf-logo img { display: block; height: 46px; width: auto; }
.cbf-logo b { color: #f2d21b; font-size: 18px; }
.cbf-nav { flex: 1 1 360px; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.cbf-nav a { color: #dfe7f5; text-decoration: none; font-size: 14px; font-weight: 600; }
.cbf-nav a:hover { color: #f2d21b; }
.cbf-soc { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cbf-ig { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #fff; text-decoration: none; transition: background .2s, transform .2s, border-color .2s; }
.cbf-ig:hover { background: rgba(255,255,255,.13); border-color: rgba(242,210,27,.5); transform: translateY(-2px); }
.cbf-ig-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.cbf-ig-ic svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cbf-ig-ic svg circle[fill] { fill: #fff; }
.cbf-ig > span:last-child { display: flex; flex-direction: column; font-weight: 800; font-size: 14px; line-height: 1.2; }
.cbf-ig small { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.7); }
.cbf-lt { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 18px; border-radius: 14px; background: #43e660; color: #0b2a5b; font-weight: 800; font-size: 14px; text-decoration: none; transition: transform .2s, filter .2s; }
.cbf-lt:hover { transform: translateY(-2px); filter: brightness(1.05); }
.cbf-lt svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.cbf-bot { border-top: 1px solid rgba(255,255,255,.08); max-width: 1240px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; font-size: 13px; color: #8fa0bd; }
.cbf-bot > span { flex: 1 1 auto; }
.cbf-bot a[data-cb-chat] { color: #dfe7f5; text-decoration: none; font-weight: 600; }
.cbf-bot a[data-cb-chat]:hover { color: #f2d21b; }
@media (max-width: 767px) {
  .cbf-in { padding: 20px 16px 14px; gap: 14px; }
  .cbf-logo img { height: 40px; }
  .cbf-nav { flex-basis: 100%; gap: 6px 16px; }
  .cbf-nav a { font-size: 13.5px; }
  .cbf-soc { width: 100%; }
  .cbf-ig { flex: 1 1 auto; }
  .cbf-lt { height: 50px; }
  .cbf-bot { padding: 12px 16px calc(78px + env(safe-area-inset-bottom)); font-size: 12px; }
}
.cbf-bot > span { flex: 0 1 auto; } .cbf-bot a[data-cb-chat] { margin-left: auto; } .cbf-bot .credit { margin: 0; }
@media (max-width: 767px) { .cbf-soc { flex-wrap: nowrap; } .cbf-ig { min-width: 0; } .cbf-lt { flex: none; padding: 0 14px; } .cbf-bot { padding-bottom: calc(64px + env(safe-area-inset-bottom)); } .cbf-bot > span { flex-basis: 100%; } .cbf-bot a[data-cb-chat] { margin-left: 0; margin-right: auto; } }
.cbf-bot .credit { margin: 0 !important; flex: none !important; width: 30px !important; position: static !important; }
@media (max-width: 420px) { .cbf-soc { flex-wrap: wrap; } .cbf-ig { flex: 1 1 100%; } .cbf-lt { flex: 1 1 100%; justify-content: center; height: 46px; } }

/* ===== Menu mobile: modelo 2 (grade com ícones), painel com no máximo 85% da tela ===== */
@media (max-width: 960px) {
  .site-head .main-nav {
    width: 85vw !important; max-width: 85vw !important; min-width: 0 !important;
    display: grid !important; grid-template-columns: 1fr 1fr; grid-auto-rows: min-content; align-content: start;
    gap: 10px !important; padding: 84px 16px calc(18px + env(safe-area-inset-bottom)) !important;
    border-radius: 26px 0 0 26px; clip-path: none !important;
    transform: translateX(105%); visibility: hidden;
    transition: transform .55s cubic-bezier(.2,.8,.2,1), visibility 0s linear .55s !important;
  }
  .site-head.open .main-nav { transform: none; visibility: visible; transition: transform .55s cubic-bezier(.2,.8,.2,1), visibility 0s !important; }

  .site-head .main-nav > * { transform: translateY(16px) scale(.96); }
  .site-head.open .main-nav > * { transform: none; }

  .site-head .main-nav > a:not(.nav-cta) {
    --mi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12H3l9-9 9 9h-2M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-7'/%3E%3Cpath d='M9 21v-6h6v6'/%3E%3C/svg%3E");
    display: flex !important; flex-direction: column; align-items: flex-start !important; justify-content: flex-start !important;
    gap: 10px !important; min-height: 90px; padding: 16px 14px !important; margin: 0 !important;
    border: 0 !important; border-radius: 16px; background: rgba(255,255,255,.08);
    font-size: 16px !important; font-weight: 700 !important; line-height: 1.2; color: #fff !important;
  }
  .site-head .main-nav > a:not(.nav-cta).on { background: #f2d21b; color: #0a2250 !important; }
  .site-head .main-nav > a:not(.nav-cta).on::before { color: #0a2250; }
  .site-head .main-nav > a:not(.nav-cta)::after { content: none !important; display: none !important; }
  .site-head .main-nav > a:not(.nav-cta)::before {
    content: "" !important; display: block; width: 24px; height: 24px; min-width: 24px;
    background: currentColor; -webkit-mask: var(--mi) center / contain no-repeat; mask: var(--mi) center / contain no-repeat;
  }
  .site-head .main-nav > a[href*="sobre"] { --mi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8h.01M11 12h1v4h1'/%3E%3C/svg%3E"); }
  .site-head .main-nav > a[href*="eventos"] { --mi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M4 11h16M8 15h2v2H8z'/%3E%3C/svg%3E"); }
  .site-head .main-nav > a[href*="aulas"] { --mi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='17' r='3'/%3E%3Ccircle cx='16' cy='17' r='3'/%3E%3Cpath d='M9 17V4h10v13M9 8h10'/%3E%3C/svg%3E"); }
  .site-head .main-nav > a[href*="galeria"] { --mi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='3'/%3E%3Cpath d='M3 16l5-5c1-1 2-1 3 0l5 5M14 14l1-1c1-1 2-1 3 0l3 3M15 8h.01'/%3E%3C/svg%3E"); }
  .site-head .main-nav > a[href*="voluntarios"] { --mi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M3 21v-2a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v2M16 3.1a4 4 0 0 1 0 7.8M21 21v-2a4 4 0 0 0-3-3.9'/%3E%3C/svg%3E"); }
  .site-head .main-nav > a[href*="patrocinador"] { --mi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.5 12.6 12 20l-7.5-7.4A5 5 0 1 1 12 6a5 5 0 1 1 7.5 6.6'/%3E%3Cpath d='M12 6 8.7 9.3a1 1 0 0 0 0 1.4l.5.5c.6.6 1.6.6 2.2 0l1-1a3.2 3.2 0 0 1 4.5 0l2.2 2.2M12.5 15.5l2 2M15 13l2 2'/%3E%3C/svg%3E"); }
  .site-head .main-nav > a:has(+ .nav-cta):nth-of-type(odd) { grid-column: 1 / -1; flex-direction: row; align-items: center !important; min-height: 0; }

  .site-head .main-nav .nav-cta {
    grid-column: 1 / -1; margin: 6px 0 0 !important; justify-content: center; min-height: 0;
    background: #009b3a !important; color: #fff !important; border: 0 !important; border-radius: 16px !important;
    padding: 15px !important; font-size: 16px !important; box-shadow: none !important;
  }
  .site-head .main-nav .flags { grid-column: 1 / -1; justify-self: stretch; align-self: auto !important; margin: 0 !important; }
  .site-head .m-social { grid-column: 1 / -1; display: flex !important; align-items: stretch; gap: 10px; margin: 0 !important; padding: 0 !important; }
  .site-head .m-social > span { display: none !important; }
  .site-head .m-social .m-ig { flex: 1; min-width: 0; }
  .site-head .m-social > div { display: flex; margin: 0 !important; }
  .site-head .m-social > div a { width: 58px; display: flex; align-items: center; justify-content: center; border-radius: 16px; background: rgba(255,255,255,.08); color: #fff; }
}
@media (max-width: 960px) and (prefers-reduced-motion: reduce) {
  .site-head .main-nav, .site-head .main-nav > * { transition: none !important; transform: none !important; }
}

/* ===== Cabeçalho mobile: fica mais baixo ao rolar a página ===== */
@media (max-width: 960px) {
  .site-head .sh-in, .site-head .logo img, .site-head .burger { transition: padding .35s ease, width .35s ease, height .35s ease !important; }
  .site-head.solid .sh-in { padding-top: calc(6px + env(safe-area-inset-top)) !important; padding-bottom: 6px !important; }
  .site-head.solid .logo img { width: 128px !important; height: auto !important; }
  .site-head.solid .burger { width: 38px !important; height: 38px !important; }
}
